WO2017147758A1 - 一种页面滑动方法、装置及用户终端 - Google Patents

一种页面滑动方法、装置及用户终端 Download PDF

Info

Publication number
WO2017147758A1
WO2017147758A1 PCT/CN2016/074865 CN2016074865W WO2017147758A1 WO 2017147758 A1 WO2017147758 A1 WO 2017147758A1 CN 2016074865 W CN2016074865 W CN 2016074865W WO 2017147758 A1 WO2017147758 A1 WO 2017147758A1
Authority
WO
WIPO (PCT)
Prior art keywords
sliding
page
pressing
pressure value
preset
Prior art date
Application number
PCT/CN2016/074865
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to CN201680004614.4A priority Critical patent/CN107111435A/zh
Priority to US16/080,777 priority patent/US20190056845A1/en
Priority to EP16891951.2A priority patent/EP3416036A4/en
Priority to PCT/CN2016/074865 priority patent/WO2017147758A1/zh
Publication of WO2017147758A1 publication Critical patent/WO2017147758A1/zh

Links

Images

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Definitions

  • the present invention relates to the field of touch sensing technologies, and in particular, to a page sliding method, device, and user terminal.
  • user terminals such as mobile phones and tablet computers
  • user terminals have become an indispensable communication tool for people's lives.
  • the user can obtain information anytime, anywhere, for example, browsing news or web pages, reading e-books, flipping through chat records, and the like.
  • the display size of the user terminal is fixed, the amount of information displayed by the user terminal for the user is fixed and limited each time. If the user wants to obtain more information, the user needs to slide the screen of the display screen of the user terminal to scroll or update the current display. The content of the page. For a page with a large content, the user needs to continuously slide the screen to complete the browsing of the content of the page. Therefore, the existing page sliding process is cumbersome for the user; for the user terminal, The slide page is swiped according to the user input, which lacks flexibility and intelligence.
  • the embodiment of the invention provides a page sliding method, device and user terminal, which can reduce the operation steps of the user and improve the flexibility and intelligence of the user terminal.
  • a first aspect of the embodiments of the present invention provides a page sliding method, including:
  • the pressing characteristic information including a pressing position or a change trend of the pressing pressure value
  • the page sliding speed and the page sliding direction are determined according to the pressing pressure value and the pressing feature information of the pressing signal, and the sliding of the pressing control page can be realized without the user inputting the sliding operation, thereby improving the flexibility and intelligence of the user terminal. Sexuality, adaptability.
  • the page sliding speed is calculated by a formula and the pressing pressure value: in order to facilitate distinguishing from other pressing signals, detecting whether the pressing pressure value is greater than a first preset pressure threshold; if the pressing pressure value is greater than The first preset pressure threshold is calculated according to the pressing pressure value and the first calculation formula;
  • the page sliding direction is determined according to the pressing position according to the first aspect of the embodiment of the present invention or the first possible implementation manner of the first aspect:
  • the first preset direction is opposite to the second preset direction, that is, the first preset direction is upward, and the second preset direction is downward.
  • a second possible implementation manner of the first aspect of the present invention is applicable to the case where the first touch area and the second touch area are provided, and the pressing position is determined by detecting to determine the page sliding direction.
  • the page is determined according to the change trend of the pressing pressure value Sliding direction:
  • the first preset direction is opposite to the second preset direction.
  • a third possible implementation manner of the first aspect of the embodiment of the present invention is applicable to a case where the pressing pressure value changes within a preset time period, or is applicable to not providing the first touch area and the second The situation of the touch area.
  • a fourth possible implementation manner of the first aspect of the embodiment of the present invention if the pressing signal is interrupted, the control is performed.
  • the display page is decelerated to slide in the sliding direction of the page at a second preset sliding speed.
  • a fourth possible implementation manner of the first aspect of the embodiment of the present invention does not stop sliding immediately after the pressing signal is interrupted, but decelerates sliding at the second preset sliding speed to improve the user experience.
  • a second aspect of the embodiments of the present invention provides another method for page sliding, including:
  • the sliding feature information including a sliding direction and a sliding speed
  • the page sliding speed and the sliding direction of the page are determined according to the touch pressure value, the sliding speed, and the sliding direction of the sliding signal, and the sliding pressure value and the sliding speed of the sliding signal are not required to be input by the user multiple times.
  • the combination determines the sliding speed, reduces the user's operating steps, and improves the flexibility and intelligence of the user terminal.
  • the page sliding speed is calculated according to the touch pressure value, the sliding speed, and the second calculation formula
  • f(x, y) is a sliding pressure function.
  • the sliding speed of the page is calculated according to the touch pressure value and the sliding speed, and factors affecting the sliding speed of the page are increased, so that the page sliding speed is Not only is it controlled by the sliding speed entered by the user.
  • the sliding direction of the page is the sliding direction of the sliding signal.
  • the control is performed.
  • the display page is decelerated to slide in the sliding direction of the page at a second preset sliding speed.
  • a second possible implementation manner of the second aspect of the embodiment of the present invention does not stop sliding immediately after the sliding signal is interrupted, but decelerates the sliding at the second preset sliding speed to improve the user experience.
  • a third aspect of the embodiments of the present invention provides a page sliding device, including:
  • An information acquiring unit configured to acquire a pressing pressure value and a pressing feature information of the pressing signal when receiving a pressing signal input to the display page, where the pressing characteristic information includes a pressing position or a change trend of the pressing pressure value;
  • a speed determining unit configured to determine a page sliding speed according to the pressing pressure value
  • a direction determining unit configured to determine a page sliding direction according to the changing position of the pressing position or the pressing pressure value
  • a sliding control unit configured to control the display page to slide along the sliding direction of the page at the sliding speed of the page.
  • the page sliding device provided by the third aspect of the embodiment of the present invention is used to implement the page sliding method provided by the first aspect of the present invention.
  • a fourth aspect of the embodiments of the present invention provides another page sliding apparatus, including:
  • An information acquiring unit configured to acquire a touch pressure value and a sliding feature information of the sliding signal when the sliding signal input to the display page is received, where the sliding feature information includes a sliding direction and a sliding speed;
  • a speed determining unit configured to determine a page sliding speed according to the touch pressure value and the sliding speed
  • a direction determining unit configured to determine a page sliding direction according to the sliding direction
  • a sliding control unit configured to control the display page to slide along the sliding direction of the page at the sliding speed of the page.
  • the page sliding device provided by the fourth aspect of the embodiment of the present invention is used to implement the page sliding method provided by the second aspect of the embodiment of the present invention.
  • a fifth aspect of the embodiments of the present invention provides a user terminal, including the page sliding device provided by the third aspect of the embodiment of the present invention, and the page sliding device provided by the fourth aspect.
  • the page sliding speed and the page sliding direction are determined according to different touch signals. If the touch signal is a pressing signal, the page sliding speed and the page sliding direction are determined according to the pressing pressure value of the pressing signal, according to the pressing signal. The pressing position of the pressing position or the pressing pressure value determines the sliding direction of the page; if the touch signal is a sliding signal, the touch pressure value and the sliding speed according to the sliding signal The degree of page sliding speed is determined, and the sliding direction of the page is determined according to the sliding direction, which can reduce the operation steps of the user and improve the flexibility and intelligence of the user terminal.
  • FIG. 1 is a schematic structural diagram of hardware of a user terminal that implements an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a page sliding method according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic flowchart of a page sliding method according to Embodiment 2 of the present invention.
  • FIG. 4 is a display interface diagram of setting a first preset pressure threshold according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an interface of a display page according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic flowchart diagram of a page sliding method according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic diagram of an interface of a display page according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of a page sliding device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a page sliding device according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of hardware of a user terminal according to an embodiment of the present invention.
  • the user terminal 100 may include a communication bus 110, a wireless communication module 120, an output module 130, an interface module 140, a power supply module 150, a processor 160, an input module 170, a memory 180, and the like.
  • Figure 1 illustrates a user terminal having various components, but it should be understood that not all of the components presented may be implemented, and more or fewer components may be implemented instead.
  • the communication bus 110 is used to implement connection communication between these components.
  • the wireless communication module 120 typically includes one or more components for implementing the user terminal 100 and none Wireless communication between the line communication system or the network, as shown in FIG. 1, the wireless communication module 120 includes a broadcast receiving unit 121, a mobile communication unit 122, a wireless internet unit 123, a short-range communication unit 124, a location information unit 125, and the like.
  • the broadcast receiving unit 121 receives a broadcast signal and/or broadcast associated information from an external broadcast management server through a broadcast channel.
  • the broadcast channel can include a satellite channel and/or a terrestrial channel.
  • the broadcast signal may include, but is not limited to, a television broadcast signal, a radio broadcast signal, a data broadcast signal, and the like.
  • the mobile communication unit 122 is configured to transmit radio signals to base stations (e.g., access points, network nodes, etc.), external terminals, and servers that receive radio signals.
  • the radio signal may include a voice call signal, a video call signal or other data.
  • the wireless internet module 123 is configured to implement the user terminal accessing the wireless internet through the wireless internet access technology.
  • the short range communication unit 124 is for supporting short range communication, such as Bluetooth communication, near field communication, and the like.
  • the location information module 125 is configured to check or acquire location information of the user terminal.
  • the output module 130 is configured to output text, voice, video, and the like, and includes a display unit 131, an audio output unit 132, an alarm unit 133, and the like.
  • the display unit 131 is configured to display information processed by the user terminal 100 or the processor 160.
  • the display unit 131 includes a user interface, a graphical user interface, and the like, and presents various information to the user.
  • the audio output unit 132 is configured to convert audio data received by the wireless communication module 120 or stored in the memory 180 when the user terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like. It is an audio signal and is output as sound.
  • the alarm unit 133 is configured to notify the user terminal 100 of the occurrence of certain events, such as the occurrence of events such as call reception, message reception, touch input, and the like.
  • the interface module 140 is used to implement the connection of the user terminal 100 with an external device, and may include a wired or wireless headphone port, an external power port, a wired or wireless data port, a memory card port, an audio input/output port, and the like.
  • the power module 150 is used to provide the required power to the various components of the user terminal 100.
  • the processor 160 is used to control various operations of the user terminal and implementation of various functions.
  • the input module 170 is configured to receive various operations of the user as well as audio or video signals, including an A/V input unit 171 and a user input unit 172, and the like.
  • the A/V input unit 171 is configured to receive an audio or video signal, and may include a camera and a microphone. The image information captured by the camera is displayed by the display unit 131 under the control of the processor 160.
  • the user input unit 172 is configured to receive various operations input by the user, such as a pressing operation, a sliding operation, and the like, and identify the sliding operations, generate corresponding commands, and transmit the corresponding commands to the processor 160, and the processor 160 controls the execution of the corresponding operations or The implementation of the corresponding function.
  • the user input unit 172 is configured to receive a touch signal input by the user for the sliding display interface displayed by the display unit 131.
  • the touch signal is a touch operation, and is a pressing operation or a sliding operation.
  • the user input unit 172 includes various sensors such as a pressure sensor and the like.
  • the memory 180 stores program code for the processor 160 to perform processing or control operations, or temporarily stores certain data such as an address book, an image, a video, and the like.
  • the memory 180 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the page sliding method, device, and user terminal provided by the embodiments of the present invention may be applied to a scenario for controlling a sliding of a display page.
  • the display page may include, but is not limited to, a news web page, a address book page, a chat record page, an application icon list page, and a date. Select pages, e-book pages, and more.
  • the user terminal in the embodiment of the present invention may include, but is not limited to, an electronic device of a specific touch display screen such as a mobile phone, a PAD (tablet computer), a smart wearable device, and the like.
  • FIG. 2 is a schematic flowchart diagram of a page sliding method according to Embodiment 1 of the present invention.
  • a set of program codes is stored in the memory 180, and the processor 160 calls the program code stored in the memory 180 for executing the page sliding method, which may include the following steps 101-105.
  • the user input unit 172 can receive the touch signal input by the user for the display page.
  • the display page may include, but is not limited to, a news page, a contact page, a chat record page, an application icon list page, a date selection page, an e-book page, and the like, and the display unit 131 cannot All the content to which the display page belongs is presented to the user at one time, so the display unit 131 sequentially presents all the content to which the display page belongs to the user in a scrolling manner, so that the user can browse and obtain the complete information. If the content of the display interface can be presented to the user at one time, the user does not need to control the sliding of the displayed page.
  • the memory 180 stores code for the display unit 131 to implement scroll display, with Android
  • the system is a scroll bar Scroller code and a speed tracking Velocity Tracker code.
  • the Scroller is used to record the sliding track and drive the sliding of the page.
  • the Velocity Tracker is used to track the speed of the sliding operation input by the user, and the processor 160 calls these two.
  • the code control display page slides at the speed tracked by the Velocity Tracker.
  • the sliding of the display page is only driven by the sliding operation input by the user. Therefore, the Velocity Tracker only tracks the speed of the sliding operation.
  • the sliding of the display page is not only a sliding operation, but also other The touch operation, for example, the pressing operation, therefore, in the embodiment of the present invention, the Velocity Tracker can not only track the speed but also have other functions, such as calculating the speed.
  • the user input unit 172 identifies the touch signal when receiving the touch signal input by the user for the display page of the display unit 131, and determines whether the touch signal is a pressing signal or a sliding signal. signal.
  • the user input unit 172 performs the identification according to the position change relationship of the touch signal. If the touch signal does not change the position, the touch signal is the pressing signal; if the touch signal is When a position change occurs, the touch signal is the sliding signal.
  • the touch signal is transmitted to the processor 160, and the processor 160 receives the touch signal.
  • the touch signal is identified, and the touch signal is determined to be a press signal or a slide signal.
  • the processor 160 acquires a position conversion relationship of the touch signal by using the user input unit 172. If the touch signal does not change position, the touch signal is the pressing signal; When the control signal changes position, the touch signal is the sliding signal.
  • the processor 160 acquires a pressing pressure value and pressing characteristic information of the pressing signal through the user input unit 172, and the pressing characteristic information includes a changing trend of the pressing pressure value.
  • the pressing pressure value of the pressing signal is acquired by using a pressure touch technology.
  • a pressure touch technology is only a two-dimensional human-computer interaction, and the shear force is determined according to the multi-touch technology, that is, the force applied parallel to the plane of the display unit 131.
  • the pressure touch technology is a three-dimensional human-computer interaction, which can determine the shear force and determine the vertical force.
  • the vertical force is the strength of the plane input by the user input unit 172 perpendicular to the display unit 131.
  • the processor 160 can The vertical force determined by the pressure touch technology performs corresponding operations, such as weighing.
  • the pressure touch technology is introduced by pressing the touch panel Force Touch as an example.
  • Force Touch It is a touch sensing technology.
  • the Force Touch is provided with four pressure-sensitive sensors at the corners of the touch panel of the user terminal, and the pressure of the finger or the touch member pressed against the touch panel is sensed by the four pressure-sensitive sensors to measure and input the pressure value.
  • the pressing pressure value may be a pressure value measured by a pressure touch technology or a vertical pressure value measured by a pressure touch technology.
  • the processor 160 detects the pressing pressure value acquired by the user input unit 172, and detects whether the pressing pressure value is greater than a first preset pressure threshold, and further determines the pressing pressure value and the first preset.
  • the first preset pressure threshold is a pressure value set by the user at the user terminal, and is used to trigger sliding of the display page.
  • 4 is a display interface diagram for setting the first preset pressure threshold according to an embodiment of the present invention. It should be noted that FIG. 4 only uses a display interface of a mobile phone for example, and the actual setting is described.
  • the display interface of a preset pressure threshold is set by the manufacturer of the user terminal, which is not limited herein.
  • the processor 160 measures the pressure value of the pressing operation, and controls the display unit 131 to display the corresponding pressure value in the dial in the display interface, while The pressure value is stored as the first preset pressure threshold.
  • the first preset pressure threshold is used to distinguish a pressing signal that triggers the sliding of the display page from other pressing signals.
  • the pressing signal can trigger the display page to slide, and the processor 160 calculates a page according to the first calculation formula and the pressing pressure value.
  • the sliding speed, the first calculation formula is as follows:
  • v is the page sliding speed, that is, the required page sliding speed.
  • a first default page v 0 is the sliding speed, the system for the user terminal preset sliding speed, in particular the value is not limited herein.
  • P is the pressing pressure value.
  • P 0 is the first preset pressure threshold, that is, the pressure value that triggers the sliding of the displayed page.
  • f(x) is a pressing pressure function, which is set by the manufacturer of the user terminal, and is not limited herein. It should be noted that if the pressing pressure value changes, the page sliding speed also changes. In the embodiment of the present invention, the page sliding speed is mainly determined by the pressing pressure value, and the larger the pressing pressure value, the faster the page sliding speed. At this time, although the sliding of the display page is triggered and the page sliding speed is calculated, the page sliding direction is not determined, so the display page does not slide at this time.
  • the pressing feature information includes a change trend of the pressing pressure value, and the changing trend of the pressing pressure value is the preset time period.
  • the trend of change within If the change trend of the pressing pressure value is the same as the first preset trend, it is determined that the page sliding direction is the first preset direction. For example, the first preset trend is gradually decreasing, and the pressure value changing trend is also gradually decreasing, and the first preset direction is upward or forward or leftward.
  • the page sliding direction is the second preset direction.
  • the second preset trend is gradually increasing, and the pressing pressure value changing trend is also gradually increasing, and the second preset direction is downward or backward or rightward.
  • the first preset direction is opposite to the second preset direction, but the specific upward increase corresponding to the upward or downward direction is not limited herein.
  • the processor 160 controls the display page to slide along the page sliding direction at the page sliding speed, thereby implementing sliding of the display page. It is convenient for the user to browse the content of the displayed page. In the embodiment of the present invention, the user only needs to input a pressing operation and control the user terminal to achieve sliding of the sliding display interface when the pressing pressure value exceeds the first preset pressure threshold, thereby reducing the user's operation steps. To enhance the user experience.
  • the processor 160 preferentially identifies the sliding operation, acquires the sliding speed of the sliding operation, and according to the pressing The pressure value fine-tunes the sliding speed.
  • the user input unit 172 detects whether the pressing signal is interrupted during the sliding of the display page, that is, detecting whether the user's finger or the touch component leaves the display unit 131;
  • the processor 160 detects whether the pressing signal is interrupted by a pressure touch technology, that is, whether the pressing pressure value of the pressing signal becomes zero. If the user input unit 172 detects that the pressing signal is interrupted or the processor 160 detects that the pressing signal is interrupted, the processor 160 controls the display page to slide toward the deceleration at the second preset sliding speed.
  • the second preset sliding speed is used to control the deceleration of the display page, which is determined by the system of the user terminal, and the specific value is set by the manufacturer of the user terminal, which is not limited herein.
  • the pressing pressure value and the pressing characteristic information of the pressing signal are acquired, and the pressing characteristic information includes a change trend of the pressing pressure value, and is determined according to the pressing pressure value.
  • the sliding speed of the page determines the sliding direction of the page according to the change trend of the pressing pressure value, and controls the display page to slide along the sliding direction of the page at the sliding speed of the page, thereby realizing the control of the display page according to the change trend of the pressing pressure value and the pressing pressure value of the pressing signal. Sliding, no need for the user to input the sliding operation, only one pressing operation, thereby reducing the user's operation steps and improving the intelligence of the user terminal.
  • FIG. 3 is a schematic flowchart diagram of a page sliding method according to Embodiment 3 of the present invention.
  • the page sliding method provided by the second embodiment of the present invention is a specific description of the sliding signal for the touch signal.
  • a set of program codes is stored in the memory 180, and the processor 160 calls the program code stored in the memory 180 for executing the page sliding method, which may include the following steps 201-205.
  • 201 Acquire a pressing pressure value and pressing characteristic information of the pressing signal when receiving a pressing signal input to a display page, and the pressing characteristic information includes a pressing position.
  • the processor 160 acquires the pressing pressure value and the pressing characteristic information of the pressing signal through the user input unit 172, and the pressing characteristic information includes the pressing position.
  • the processor 160 detects the pressing pressure value acquired by the user input unit 172, and detects whether the pressing pressure value is greater than a first preset pressure threshold, and further determines the pressing pressure value and the first preset.
  • the first preset pressure threshold is a pressure value set by the user at the user terminal, and is used to trigger sliding of the display page.
  • 4 is a display interface diagram for setting the first preset pressure threshold according to an embodiment of the present invention. It should be noted that FIG. 4 is only The display interface of the first preset pressure threshold is set by the manufacturer of the user terminal, which is not limited herein. The identifiers at the top of FIG.
  • the processor 160 measures the pressure value of the pressing operation, and controls the display unit 131 to display the corresponding pressure value in the dial in the display interface, while The pressure value is stored as the first preset pressure threshold.
  • the first preset pressure threshold is used to distinguish a pressing signal that triggers the sliding of the display page from other pressing signals.
  • the pressing signal can trigger the display page to slide, and the processor 160 calculates a page according to the first calculation formula and the pressing pressure value.
  • the sliding speed, the first calculation formula is as follows:
  • v is the page sliding speed, that is, the required page sliding speed.
  • v 0 is the first preset page sliding speed, which is the preset sliding speed of the user terminal system, and the specific value is not limited herein.
  • P is the pressing pressure value.
  • P 0 is the first preset pressure threshold, that is, the pressure value that triggers the sliding of the displayed page.
  • f(x) is a pressing pressure function, which is set by the manufacturer of the user terminal, and is not limited herein. It should be noted that if the pressing pressure value changes, the page sliding speed also changes. In the embodiment of the present invention, the page sliding speed is mainly determined by the pressing pressure value, and the larger the pressing pressure value, the faster the page sliding speed. At this time, although the sliding of the display page is triggered and the page sliding speed is calculated, the page sliding direction is not determined, so the display page does not slide at this time.
  • the user input unit 172 determines the page sliding direction according to the acquired pressing position. If the pressing position is located in the first touch area, determining that the page sliding direction is the first preset direction.
  • 5 is a schematic diagram of an interface for displaying a page according to Embodiment 2 of the present invention. It should be noted that FIG. 5 is an example of a display page with a selected date. Other display pages are different from those of FIG. The determination of the sliding direction of the page is similar. FIG. 5 includes two gray rectangular areas, 51 and 52, 51 being the first touch area, and 52 being the second touch area. The first touch area and the second touch area are located at the edge of the display unit 131, as shown in FIG. 5, located at the right edge of FIG.
  • the positions of the first touch area and the second touch area are not limited to the position shown in FIG. 5, and may be located at the right edge of the horizontal screen.
  • the first touch area and the second touch area are not displayed in the current display interface, when the pressing pressure value is greater than
  • the first preset pressure threshold is used and the touch position is in the first touch area or the second touch area
  • the first touch area and the second touch area are displayed at the current In the display interface.
  • neither the first touch area nor the second touch area is displayed in the current display interface.
  • the processor 160 determines that the page sliding direction is the first preset direction, that is, up or forward or left, and the pressing position points to the user terminal. The direction of the top end of the display screen, or from the pressed position, to the left side of the user holding the user terminal.
  • the processor 160 determines that the page sliding direction is the second preset direction, that is, downward or backward or toward Right, from the pressing position to the direction of the bottom end of the display screen of the user terminal, or from the pressing position to the right side of the user holding the user terminal.
  • the processor 160 controls the display page to slide along the page sliding direction at the page sliding speed, thereby implementing sliding of the display page. It is convenient for the user to browse the content of the displayed page. In the embodiment of the present invention, the user only needs to input a pressing operation and control the user terminal to achieve sliding of the sliding display interface when the pressing pressure value exceeds the first preset pressure threshold, thereby reducing the user's operation steps. To enhance the user experience.
  • the processor 160 preferentially identifies the sliding operation, acquires the sliding speed of the sliding operation, and according to the pressing The pressure value fine-tunes the sliding speed.
  • the user input unit 172 detects whether the pressing signal is interrupted during the sliding of the display page, that is, whether the user's finger or the touch component is removed from the display unit 131; or the processor 160 detects the location by using a pressure touch technology. Whether the pressing signal is interrupted, that is, whether the pressing position of the pressing signal is still located in the first touch area or the second touch area, if When the pressing position is not located in the first touch area or the second touch area during the sliding of the display page, it is determined that the pressing signal is interrupted. If the user input unit 172 detects that the pressing signal is interrupted or the processor 160 detects that the pressing signal is interrupted, the processor 160 controls the display page to slide toward the deceleration at the second preset sliding speed. The second preset sliding speed is used to control the deceleration of the display page, which is determined by the system of the user terminal, and the specific value is set by the manufacturer of the user terminal, which is not limited herein.
  • the pressing feature information includes the pressing position
  • the page sliding speed is determined according to the pressing pressure value
  • the sliding direction of the page is determined according to the pressing position
  • the display page is controlled to slide in the sliding direction of the page at the sliding speed of the page, thereby realizing the sliding of the display page according to the pressing pressure value of the pressing signal and the pressing position, without the user inputting the sliding operation, only one pressing Operation, thereby reducing the user's operating steps and improving the intelligence of the user terminal.
  • the user terminal provides the first touch area and the second touch area, performing the method in the second embodiment of the present invention; if the user terminal does not provide the first
  • the method of the first embodiment of the present invention is performed by changing the touch area and the second touch area, or the pressing pressure value changes within the preset time period. If the user terminal provides the first touch area and the second touch area, but the pressed positions are not in the first touch area and the second touch area, performing the implementation of the present invention The method described in Example 1.
  • FIG. 6 is a schematic flowchart diagram of a page sliding method according to Embodiment 3 of the present invention.
  • the page sliding method provided by the second embodiment of the present invention is a specific description of the sliding signal for the touch signal.
  • a set of program codes is stored in the memory 180, and the processor 160 calls the program code stored in the memory 180 for executing the page sliding method, which may include the following steps 301-305.
  • the processor 160 acquires the touch pressure value and the sliding feature information of the sliding signal through the user input unit 172.
  • the sliding feature information includes a sliding direction and a sliding speed.
  • the processor 160 calls the corresponding code in the memory to acquire the sliding signal by using a pressure touch technology.
  • Touch pressure value is a pressure value at which the sliding signal is initially in contact with the display unit 131, that is, a pressure value when the user inputs a sliding operation.
  • the process of obtaining the touch pressure value of the sliding signal is the same as the pressing pressure value of obtaining the pressing signal in the first embodiment of the present invention, and details are not described herein again.
  • the sliding direction of the sliding signal is the direction in which the user inputs the sliding operation.
  • the processor 160 calculates a calculation page sliding speed according to the touch pressure value of the sliding signal, the sliding speed, and a second calculation formula, where the second calculation formula is as follows:
  • v is the page sliding speed, that is, the required page sliding speed.
  • v 0 is the sliding speed, that is, the sliding speed of the sliding operation input by the user.
  • P is the touch pressure value of the sliding signal.
  • P 0 is a second preset pressure threshold, which is a preset pressure threshold of the user terminal system, and specific values are not limited herein.
  • f(x, y) is a sliding pressure function, a function of a relationship between the sliding pressure value and the second preset pressure threshold, for example, a function of a proportional relationship between the two, specifically by a user terminal Manufacturer's settings are not limited here.
  • FIG. 7 is a schematic diagram of an interface for displaying a page according to Embodiment 3 of the present invention. It should be noted that FIG. 7 is an example of a display page with a selected date. Other display pages are different from those of FIG. 7 .
  • the determination of the sliding direction of the page is similar. In Fig. 7, the direction indicated by the arrow can be expressed as the sliding direction, that is, the sliding direction of the page. In actual implementation, the arrow in Fig. 7 does not exist.
  • the processor 160 controls the display page to slide along the page sliding direction at the page sliding speed, thereby implementing sliding of the display page. It is convenient for the user to browse the content of the displayed page. In the embodiment of the present invention, the user does not need to input the sliding operation multiple times, and only needs to input the sliding operation once, thereby reducing the operation steps of the user and improving the user experience.
  • the user input unit 172 detects the sliding letter during the sliding of the display page. Whether the number of interruptions is detected, that is, whether the finger or the touch of the user is removed from the display unit 131; or the processor 160 detects whether the sliding signal is interrupted by the pressure touch technology, that is, whether the touch pressure value of the sliding signal is changed. Zero. If the user input unit 172 detects the slip signal interruption or the processor 160 detects the slip signal interruption, the processor 160 controls the display page to slide toward the deceleration at the second preset sliding speed.
  • the second preset sliding speed is used to control the deceleration of the display page, which is determined by the system of the user terminal, and the specific value is set by the manufacturer of the user terminal, which is not limited herein.
  • the touch pressure value and the sliding feature information of the touch pressure value are acquired, and the sliding feature information includes a sliding direction and a sliding speed, and according to the touch
  • the pressure value and the sliding speed determine the sliding speed of the page, determine the sliding direction of the page according to the touch characteristic information of the sliding direction, and control the display page to slide along the sliding direction of the page at the sliding speed of the page, thereby realizing the touch pressure value and the sliding direction according to the sliding signal. Controlling the sliding of the display page does not require the user to input the sliding operation multiple times, thereby reducing the user's operation steps and improving the intelligence of the user terminal.
  • FIG. 8 is a schematic structural diagram of a page sliding device provided by the present invention.
  • the page sliding device 80 may include: an information acquiring unit 801, a speed determining unit 802, a direction determining unit 803, and a sliding control unit 804.
  • the information acquiring unit 801 is configured to acquire a pressing pressure value and a pressing characteristic information of the pressing signal when receiving a pressing signal input to the display page, where the pressing characteristic information includes a pressing position or a change trend of the pressing pressure value .
  • the speed determining unit 802 is configured to determine a page sliding speed according to the pressing pressure value.
  • the direction determining unit 803 is configured to determine a page sliding direction according to the pressing position or a change trend of the pressing pressure value.
  • the slide control unit 804 is configured to control the display page to slide along the page sliding direction at the page sliding speed.
  • the speed determining unit 802 includes a pressure detecting unit and a speed calculating unit, which are not indicated in FIG.
  • a pressure detecting unit configured to detect whether the pressing pressure value is greater than a first preset pressure threshold
  • a speed calculation unit configured to: if the pressing pressure value is greater than the first preset pressure threshold, Calculating a page sliding speed according to the pressing pressure value and the first calculation formula;
  • the direction determining unit 803 is configured to determine that the page sliding direction is the first preset direction if the pressing position is located in the first touch area, and the direction determining unit 803 is further configured to: if the pressing position is located in the second touch Control the area, determining that the page sliding direction is the second preset direction;
  • the first preset direction is opposite to the second preset direction.
  • the direction determining unit 803 is further configured to: if the change trend of the pressing pressure value is the same as the first preset trend, determine that the page sliding direction is the first preset direction;
  • the direction determining unit 803 is further configured to determine that the page sliding direction is the second preset direction if the change trend of the pressing pressure value is the same as the second preset trend.
  • the first preset direction is opposite to the second preset direction.
  • the sliding control unit is further configured to control the display page to decelerate and slide in the sliding direction of the page at a second preset sliding speed if the pressing signal is detected to be interrupted.
  • FIG. 9 is a schematic structural diagram of another page sliding device provided by the present invention.
  • the page sliding device 90 may include: an information acquiring unit 901, a speed determining unit 902, a direction determining unit 903, and a sliding control unit 904.
  • the information acquiring unit 901 is configured to acquire a touch pressure value and a sliding feature information of the sliding signal when the sliding signal input to the display page is received, where the sliding feature information includes a sliding direction and a sliding speed;
  • the speed determining unit 902 is configured to determine a page sliding speed according to the touch pressure value and the sliding speed;
  • a direction determining unit 903 configured to determine a page sliding direction according to the sliding direction
  • the slide control unit 904 is configured to control the display page to slide along the page sliding direction at the page sliding speed.
  • the speed determining unit 902 is configured to use the touch pressure value, the sliding speed, and the second The calculation formula calculates the page sliding speed
  • f(x, y) is a sliding pressure function.
  • the sliding control unit 904 is further configured to control the display page to decelerate and slide in the sliding direction of the page at a second preset sliding speed if the sliding signal is detected to be interrupted.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a program, and the program includes the method according to the first embodiment, the method described in the second embodiment, or the method described in the third embodiment. .
  • the embodiment of the present invention further provides a user terminal, including the page sliding device shown in FIG. 8 and the page sliding device shown in FIG. 9.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • the computer readable medium may include a random access memory (RAM), a read-only memory (ROM), and an electrically erasable programmable read-only memory (Electrically Erasable Programmable).
  • EEPROM Electrically Error Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • Any connection may suitably be a computer readable medium.
  • the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, Then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, wireless and microwave are included in the fixing of the associated medium.
  • DSL Digital Subscriber Line
  • a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种页面滑动方法、装置及用户设备,其中方法包括:当接收到针对显示页面输入的按压信号时,获取按压信号的按压压力值和按压位置或按压压力值的变化趋势;根据按压压力值确定页面滑动速度,并根据按压位置或按压压力值的变化趋势确定页面滑动方向;控制显示页面以页面滑动速度沿页面滑动方向滑动;当接收到针对显示页面输入的滑动信号时,获取滑动信号的触控压力值、滑动方向和滑动速度;根据触控压力值以及滑动速度确定页面滑动速度,并根据滑动方向确定页面滑动方向;控制显示页面以页面滑动速度沿页面滑动方向滑动。本发明实施例能够减少用户的操作步骤,并提高用户终端的灵活性、智能性。

Description

一种页面滑动方法、装置及用户终端 技术领域
本发明涉及触摸传感技术领域,尤其涉及一种页面滑动方法、装置及用户终端。
背景技术
随着手机、平板电脑等用户终端的快速发展以及逐渐普及,用户终端已成为人们生活必不可少的通信工具。通过用户终端,用户可以随时随地的获取信息,例如,浏览新闻或网页、阅读电子书、翻阅聊天记录等。
由于用户终端的显示屏大小固定,因此用户终端每次为用户展现的信息数量固定并有限,若用户想要获取更多的信息,则需要用户滑动用户终端显示屏的屏幕以滚动或更新当前显示页面的内容。对于某个内容较多的页面,用户需要不停地滑动屏幕以完成对该页面内容的浏览,由此可见,现有的页面滑动过程对用户而言,操作较为繁琐;对用户终端而言,根据用户输入的滑动操作滑动页面,缺乏灵活性、智能性。
发明内容
本发明实施例提供了一种页面滑动方法、装置及用户终端,能够减少用户的操作步骤,并提高用户终端的灵活性、智能性。
本发明实施例第一方面提供一种页面滑动方法,包括:
当接收到针对显示页面输入的按压信号时,获取所述按压信号的按压压力值和按压特征信息,所述按压特征信息包括按压位置或所述按压压力值的变化趋势;
根据所述按压压力值确定页面滑动速度,并根据所述按压位置或所述按压压力值的变化趋势确定页面滑动方向;
控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
本发明实施例第一方面,根据按压信号的按压压力值和按压特征信息确定页面滑动速度和页面滑动方向,无需用户输入滑动操作,即可实现按压控制页面滑动,提高用户终端的灵活性、智能性、适应性。
基于本发明实施例第一方面,在本发明实施例第一方面的第一种可能实现 的方式中,通过公式以及所述按压压力值计算所述页面滑动速度:为了便于与其它按压信号进行区分,检测所述按压压力值是否大于第一预设压力阈值;若所述按压压力值大于所述第一预设压力阈值,则根据所述按压压力值和第一计算公式计算页面滑动速度;
其中,所述第一计算公式为:v=v0×f(P-P0),v为所述页面滑动速度,v0为第一预设页面滑动速度,P为所述按压压力值,P0为所述第一预设压力阈值,f(x)为按压压力函数。
基于本发明实施例第一方面或第一方面的第一种可能实现的方式,在本发明实施例第一方面的第二种可能实现的方式中,根据所述按压位置确定页面滑动方向:
若所述按压位置位于第一触控区域,则确定页面滑动方向为第一预设方向;
若所述按压位置位于第二触控区域,则确定页面滑动方向为第二预设方向;
其中,所述第一预设方向与所述第二预设方向相反,即所述第一预设方向为向上,则所述第二预设方向为向下。
本发明实施例第一方面的第二种可能实现的方式适用于提供了所述第一触控区域和所述第二触控区域的情况,通过检测确定按压位置进而确定页面滑动方向。
基于本发明实施例第一方面或第一方面的第一种可能实现的方式,在本发明实施例第一方面的第三种可能实现的方式中,根据所述按压压力值的变化趋势确定页面滑动方向:
若所述按压压力值的变化趋势与第一预设趋势相同,则确定页面滑动方向为第一预设方向;
若所述按压压力值的变化趋势与第二预设趋势相同,则确定页面滑动方向为第二预设方向;
其中,所述第一预设方向与所述第二预设方向相反。
本发明实施例第一方面的第三种可能实现的方式适用于所述按压压力值在预设时间段内发生变化的情况,或者适用于未提供所述第一触控区域和所述第二触控区域的情况。
基于本发明实施例第一方面的第一种至第三种可能实现的方式,在本发明实施例第一方面的第四种可能实现的方式中,若检测到所述按压信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
本发明实施例第一方面的第四种可能实现的方式,在按压信号中断后并没有立即停止滑动,而是以第二预设滑动速度减速滑动,提升用户体验。
本发明实施例第二方面提供另一种页面滑动方法,包括:
当接收到针对显示页面输入的滑动信号时,获取所述滑动信号的触控压力值和滑动特征信息,所述滑动特征信息包括滑动方向和滑动速度;
根据所述触控压力值以及所述滑动速度确定页面滑动速度,并根据所述滑动方向确定页面滑动方向;
控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
本发明实施例第二方面,根据滑动信号的触控压力值、滑动速度以及滑动方向确定页面滑动速度和页面滑动方向,无需用户多次输入滑动操作,将滑动信号的触控压力值与滑动速度相结合确定滑动速度,减少用户的操作步骤,提高用户终端的灵活性、智能性。
基于本发明实施例第二方面,在本发明实施例第二方面的第一种可能实现的方式中,根据所述触控压力值、所述滑动速度以及第二计算公式计算页面滑动速度;
其中,所述第二计算公式为:v=v0×f(P,P0),v为所述页面滑动速度,v0为所述滑动速度,P为所述触控压力值,P0为第二预设压力阈值,f(x,y)为滑动压力函数。
本发明实施例第二方面的第一种可能实现的方式,利用公式并根据所述触控压力值以及所述滑动速度计算所述页面滑动速度,增加影响页面滑动速度的因素,使得页面滑动速度不仅仅受用户输入的滑动速度的控制。
所述页面滑动方向即为所述滑动信号的滑动方向。
基于本发明实施例第二方面或第一方面的第一种可能实现的方式,在本发明实施例第二方面的第二种可能实现的方式中,若检测到所述滑动信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
本发明实施例第二方面的第二种可能实现的方式,在滑动信号中断后并没有立即停止滑动,而是以第二预设滑动速度减速滑动,提升用户体验。
本发明实施例第三方面提供一种页面滑动装置,包括:
信息获取单元,用于当接收到针对显示页面输入的按压信号时,获取所述按压信号的按压压力值和按压特征信息,所述按压特征信息包括按压位置或所述按压压力值的变化趋势;
速度确定单元,用于根据所述按压压力值确定页面滑动速度;
方向确定单元,用于根据所述按压位置或所述按压压力值的变化趋势确定页面滑动方向;
滑动控制单元,用于控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
本发明实施例第三方面提供的页面滑动装置用于实现本发明实施例第一方面提供的页面滑动方法,具体实现过程可参见第一方面的具体描述,在此不再赘述。
本发明实施例第四方面提供另一种页面滑动装置,包括:
信息获取单元,用于当接收到针对显示页面输入的滑动信号时,获取所述滑动信号的触控压力值和滑动特征信息,所述滑动特征信息包括滑动方向和滑动速度;
速度确定单元,用于根据所述触控压力值以及所述滑动速度确定页面滑动速度;
方向确定单元,用于根据所述滑动方向确定页面滑动方向;
滑动控制单元,用于控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
本发明实施例第四方面提供的页面滑动装置用于实现本发明实施例第二方面提供的页面滑动方法,具体实现过程可参见第二方面的具体描述,在此不再赘述。
本发明实施例第五方面提供一种用户终端,包括本发明实施例第三方面提供的页面滑动装置和第四方面提供的页面滑动装置。
在本发明实施例中,根据不同的触控信号确定页面滑动速度和页面滑动方向,若触控信号为按压信号,则根据按压信号的按压压力值确定页面滑动速度和页面滑动方向,根据按压信号的按压位置或按压压力值的变化趋势确定页面滑动方向;若触控信号为滑动信号,则根据滑动信号的触控压力值以及滑动速 度确定页面滑动速度,根据滑动方向确定页面滑动方向,能够减少用户的操作步骤,提高用户终端的灵活性、智能性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为实现本发明实施例的用户终端的硬件结构示意图;
图2为本发明实施例一提供的页面滑动方法的流程示意图;
图3为本发明实施例二提供的页面滑动方法的流程示意图;
图4为本发明实施例提供的设置第一预设压力阈值的显示界面图;
图5为本发明实施例二提供的显示页面的界面示意图;
图6为本发明实施例三提供的页面滑动方法的流程示意图;
图7为本发明实施例三提供的显示页面的界面示意图;
图8为本发明实施例提供的一种页面滑动装置的结构示意图;
图9为本发明实施例提供的一种页面滑动装置的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参见图1,为实现本发明实施例的用户终端的硬件结构示意图。用户终端100可以包括通信总线110、无线通信模块120、输出模块130、接口模块140、电源模块150、处理器160、输入模块170和存储器180等等。图1展现了具有各种组件的用户终端,但是应理解的是,并不要求实施所有展现的组件,可以替代地实施更多或更少的组件。其中,通信总线110用于实现这些组件之间的连接通信。
无线通信模块120通常包括一个或多个组件,用于实现用户终端100与无 线通信系统或网络之间的无线通信,如图1所示,无线通信模块120包括广播接收单元121、移动通信单元122、无线互联网单元123、短程通信单元124和位置信息单元125等等。广播接收单元121通过广播信道从外部广播管理服务器接收广播信号和/或广播相关信息。广播信道可以包括卫星信道和/地面信道。广播信号可以包括但不限于电视广播信号、无线电广播信号、数据广播信号等等。移动通信单元122用于将无线电信号发送到基站(例如,接入点、网络节点等等)、外部终端以及接收无线电信号的服务器。其中,无线电信号可以包括语音通话信号、视频通话信号或者其它数据。无线互联网模块123用于实现用户终端通过无线互联网接入技术接入无线互联网。短程通信单元124用于支持短距离通信,例如蓝牙通信、近场通信等等。位置信息模块125用于检查或获取用户终端的位置信息。
输出模块130用于输出文字、语音、视频等数据,包括显示单元131、音频输出单元132和报警单元133等等。其中,显示单元131用于显示用户终端100或处理器160处理的信息。显示单元131包括用户界面、图形用户界面等等,向用户展现各种信息。音频输出单元132用于在用户终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等模式下时,将无线通信模块120接收的或者在存储器180中存储的音频数据转换为音频信号并输出为声音。报警单元133用于通知用户终端100某些事件的发生,例如,呼叫接收、消息接收、触摸输入等事件的发生。
接口模块140用于实现用户终端100与外部装置的连接,可以包括有线或无线耳机端口、外部电源端口、有线或无线数据端口、存储卡端口、音频输入/输出端口等等。
电源模块150用于向用户终端100的各个组件提供所需的电量。
处理器160用于控制用户终端的各种操作以及各项功能的实现。
输入模块170用于接收用户的各项操作以及音频或视频信号,包括A/V输入单元171和用户输入单元172等等。其中,A/V输入单元171用于接收音频或视频信号,可以包括相机和麦克风,相机采集的图像信息在处理器160的控制下由显示单元131显示。用户输入单元172用于接收用户输入的各种操作,例如按压操作、滑动操作等,并对这些滑动操作进行识别、生成相应的命令传递至处理器160,由处理器160控制相应操作的执行或相应功能的实现。 在本发明实施例中用户输入单元172用于接收用户针对显示单元131显示的滑动显示界面输入的触控信号,所述触控信号即为触控操作,为按压操作或滑动操作。用户输入单元172包括各种传感器,例如压力传感器等。
存储器180存储着用于处理器160执行处理或控制操作的程序代码,或者暂时存储某些数据,例如通信录、图像、视频等等。存储器180可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。
本发明实施例提供的页面滑动方法、装置及用户终端,可以应用于控制显示页面滑动的场景,显示页面可以包括但不限于新闻网页页面、通信录页面、聊天记录页面、应用图标列表页面、日期选择页面、电子书页面等页面。本发明实施例中的用户终端可以包括但不限于手机、PAD(平板电脑)、智能可穿戴设备等具体触控显示屏的电子设备。
下面将结合附图1-附图7对本发明实施例提供的页面滑动方法进行详细介绍。
请参见图2,为本发明实施例一提供的页面滑动方法的流程示意图。结合图1所示的用户终端,存储器180中存储一组程序代码,且处理器160调用存储器180中存储的程序代码,用于执行所述页面滑动方法,可以包括以下步骤101-步骤105。
101,当接收到针对显示页面输入的按压信号时,获取所述按压信号的按压压力值和按压特征信息,所述按压特征信息包括所述按压压力值的变化趋势。
具体的,当显示单元131处于显示状态时,用户输入单元172可接收用户针对显示页面输入的触控信号。其中,显示页面可以包括但不限于新闻网页页面、通信录页面、聊天记录页面、应用图标列表页面、日期选择页面、电子书页面等可以滑动的页面,可以理解的是,显示单元131无法将所述显示页面所属的所有内容一次性地呈现给用户,因此显示单元131以滚动的方式向用户依次呈现显示页面所属的所有内容,以便用户能够浏览获取完整信息。若所述显示界面的内容可以一次性地呈现给用户,则用户无需控制所述显示页面的滑动。通常,存储器180存储着用于显示单元131实现滚动显示的代码,以安卓 系统为例,该代码为滚动条Scroller代码和速度跟踪Velocity Tracker代码,Scroller用于记录滑动轨迹并带动页面的滑动,Velocity Tracker用于跟踪用户输入的滑动操作的速度,进而处理器160调用这两个代码控制显示页面按照Velocity Tracker跟踪的速度进行滑动。现有技术中,显示页面的滑动仅由用户输入的滑动操作驱动,因此Velocity Tracker仅跟踪滑动操作的速度,在本发明实施例中,驱动显示页面滑动的不仅仅是滑动操作,还可以是其他的触控操作,例如,按压操作,因此在本发明实施例中Velocity Tracker不仅仅可以跟踪速度,还具有其他功能,例如,计算速度。
在一种可能实现的方式中,用户输入单元172在接收用户针对显示单元131的显示页面输入的触控信号时,对所述触控信号进行识别,判断所述触控信号为按压信号还是滑动信号。可选的,用户输入单元172根据所述触控信号的位置变化关系进行识别,若所述触控信号未发生位置变化,则所述触控信号为所述按压信号;若所述触控信号发生位置变化,则所述触控信号为所述滑动信号。在另一种可能实现的方式中,用户输入单元172在接收到用户针对显示单元131的显示页面输入的触控信号时,将所述触控信号传递至处理器160,处理器160在接收到所述触控信号时,对所述触控信号进行识别,判断所述触控信号为按压信号还是滑动信号。可选的,处理器160通过用户输入单元172获取所述触控信号的位置变换关系,若所述触控信号未发生位置变化,则所述触控信号为所述按压信号;若所述触控信号发生位置变化,则所述触控信号为所述滑动信号。
当所述触控信号为所述按压信号时,处理器160通过用户输入单元172获取所述按压信号的按压压力值和按压特征信息,所述按压特征信息包括所述按压压力值的变化趋势。
在本发明实施例中,采用压力触控技术获取所述按压信号的按压压力值。目前,大多数用户终端采用多点触控技术,多点触控技术只是二维层面的人机交互,根据多点触控技术确定剪力,即平行于显示单元131的平面所施加的力,而压力触控技术则是三维层面的人机交互,既能确定剪力也能确定垂直力度,垂直力度即用户向用户输入单元172所输入的垂直于显示单元131的平面的力度,处理器160可通过压力触控技术确定的垂直力度执行相应的操作,例如称重等操作。压力触控技术以按压触控Force Touch为例进行介绍。Force Touch 是一项触摸传感技术,通过Force Touch,用户终端可以感知轻压以及重压的力度,并调出不同的对应功能。Force Touch在用户终端的触摸面板的四周角落设置4个压触感应器,透过4个压触感应器感受到手指或触控件按压在触摸面板的力度不同而进行定位以及测量输入的压力值。本发明实施例中所述按压压力值可为压力触控技术测量到的三维层面的压力值,也可为压力触控技术测量到的垂直压力值。目前市面上的用户终端采用Force Touch实现的功能比较有限,例如导航、称重等基础功能,并未采用Force Touch实现页面滑动的功能。
102,根据所述按压压力值确定页面滑动速度。
具体的,处理器160对用户输入单元172获取的所述按压压力值进行检测,检测所述按压压力值是否大于第一预设压力阈值,进而确定所述按压压力值与所述第一预设压力阈值之间的关系。其中,所述第一预设压力阈值为用户在用户终端设置的压力值,用于触发显示页面的滑动。请参见图4,为本发明实施例提供的设置所述第一预设压力阈值的显示界面图,需要说明的是,图4只是采用某个手机的显示界面进行举例说明,实际设置所述第一预设压力阈值的显示界面由用户终端的制造厂商设定,在此不做限定。图4顶部的标识,例如运行商标识、电量标识、时间等,在本发明实施例中不做限定,视具体情况而定。当用户在图4中的“按压这里”输入按压操作时,处理器160对该按压操作的压力值进行测量,并控制显示单元131在该显示界面内的刻度盘中显示对应的压力值,同时对该压力值进行存储,作为所述第一预设压力阈值。所述第一预设压力阈值用于将触发所述显示页面滑动的按压信号与其它按压信号进行区分。
若所述按压压力值大于所述第一预设压力阈值,可以理解的是所述按压信号能够触发所述显示页面滑动,此时处理器160根据第一计算公式以及所述按压压力值计算页面滑动速度,所述第一计算公式如下:
v=v0×f(P-P0)
其中,v为所述页面滑动速度,即为所需的页面滑动速度。v0为第一预设页面滑动速度,为用户终端系统预设的滑动速度,具体数值在此不作限定。P为所述按压压力值。P0为所述第一预设压力阈值,即触发所述显示页面滑动的压力值。f(x)为按压压力函数,由用户终端的制造厂商设定,在此不做限定。 需要说明的是,若所述按压压力值发生变化,则所述页面滑动速度也随之变化。在本发明实施例中,所述页面滑动速度主要由所述按压压力值确定,所述按压压力值越大,所述页面滑动速度越快。此时,虽然触发了所述显示页面的滑动并计算得到了所述页面滑动速度,但是并未确定页面滑动方向,因此此时所述显示页面并未发生滑动。
103,根据所述按压压力值的变化趋势确定页面滑动方向。
具体的,若所述按压压力值在预设时间段内发生变化,则所述按压特征信息包括所述按压压力值的变化趋势,所述按压压力值的变化趋势即为所述预设时间段内的变化趋势。若所述按压压力值的变化趋势与第一预设趋势相同,则确定页面滑动方向为第一预设方向。例如,所述第一预设趋势为逐渐减少,所述压力值变化趋势也为逐渐减少,则所述第一预设方向为向上或向前或向左。
若所述按压压力值变化趋势与第二预设趋势相同,则确定页面滑动方向为第二预设方向。例如,所述第二预设趋势为逐渐增大,所述按压压力值变化趋势也为逐渐增大,则所述第二预设方向为向下或向后或向右。需要说明的是,所述第一预设方向与所述第二预设方向相反,但是具体逐渐增大对应向上还是向下在此不做限定。
104,控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
具体的,在确定所述页面滑动速度和所述页面滑动方向后,处理器160控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动,从而实现对所述显示页面的滑动,便于用户浏览所述显示页面的内容。在本发明实施例中,用户只需输入按压操作并在按压压力值超过所述第一预设压力阈值的情况下,即可控制用户终端实现对滑动显示界面的滑动,从而减少用户的操作步骤,提升用户体验。
可选的,若在所述显示页面滑动的过程中,用户输入单元172接收到用户输入的滑动操作,则处理器160优先识别该滑动操作,获取该滑动操作的滑动速度,并根据所述按压压力值对该滑动速度进行微调。
105,若检测到所述按压信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
具体的,用户输入单元172在所述显示页面滑动的过程中检测所述按压信号是否发生中断,即检测用户的手指或触控件是否离开显示单元131;或者处 理器160通过压力触控技术检测所述按压信号是否发生中断,即检测所述按压信号的按压压力值是否变为零。若用户输入单元172检测到所述按压信号中断或处理器160检测到所述按压信号中断,则处理器160控制所述显示页面以第二预设滑动速度向减速滑动。所述第二预设滑动速度用于控制所述显示页面减速,由用户终端的系统决定,具体数值由用户终端的制造厂商设定,在此不做限定。
在本发明实施例中,通过在接收到针对滑动显示界面输入的按压信号时,获取按压信号的按压压力值和按压特征信息,按压特征信息包括按压压力值的变化趋势,并根据按压压力值确定页面滑动速度,根据按压压力值的变化趋势确定页面滑动方向,并控制显示页面以页面滑动速度沿页面滑动方向滑动,从而实现根据按压信号的按压压力值和按压压力值的变化趋势控制显示页面的滑动,无需用户输入滑动操作,只需一个按压操作,从而减少用户的操作步骤,提高用户终端的智能性。
请参见图3,为本发明实施例三提供的页面滑动方法的流程示意图。本发明实施例二提供的页面滑动方法针对触控信号为滑动信号的具体描述。结合图1所示的用户终端,存储器180中存储一组程序代码,且处理器160调用存储器180中存储的程序代码,用于执行所述页面滑动方法,可以包括以下步骤201-步骤205。
201,当接收到针对显示页面输入的按压信号时,获取所述按压信号的按压压力值和按压特征信息,所述按压特征信息包括按压位置。
具体的,当用户输入单元172接收到针对显示页面输入的按压信号时,处理器160通过用户输入单元172获取按压信号的按压压力值和按压特征信息,所述按压特征信息包括按压位置。
202,根据所述按压压力值确定页面滑动速度。
具体的,处理器160对用户输入单元172获取的所述按压压力值进行检测,检测所述按压压力值是否大于第一预设压力阈值,进而确定所述按压压力值与所述第一预设压力阈值之间的关系。其中,所述第一预设压力阈值为用户在用户终端设置的压力值,用于触发显示页面的滑动。请参见图4,为本发明实施例提供的设置所述第一预设压力阈值的显示界面图,需要说明的是,图4只是 采用某个手机的显示界面进行举例说明,实际设置所述第一预设压力阈值的显示界面由用户终端的制造厂商设定,在此不做限定。图4顶部的标识,例如运行商标识、电量标识、时间等,在本发明实施例中不做限定,视具体情况而定。当用户在图4中的“按压这里”输入按压操作时,处理器160对该按压操作的压力值进行测量,并控制显示单元131在该显示界面内的刻度盘中显示对应的压力值,同时对该压力值进行存储,作为所述第一预设压力阈值。所述第一预设压力阈值用于将触发所述显示页面滑动的按压信号与其它按压信号进行区分。
若所述按压压力值大于所述第一预设压力阈值,可以理解的是所述按压信号能够触发所述显示页面滑动,此时处理器160根据第一计算公式以及所述按压压力值计算页面滑动速度,所述第一计算公式如下:
v=v0×f(P-P0)
其中,v为所述页面滑动速度,即为所需的页面滑动速度。v0为第一预设页面滑动速度,为用户终端系统预设的滑动速度,具体数值在此不作限定。P为所述按压压力值。P0为所述第一预设压力阈值,即触发所述显示页面滑动的压力值。f(x)为按压压力函数,由用户终端的制造厂商设定,在此不做限定。需要说明的是,若所述按压压力值发生变化,则所述页面滑动速度也随之变化。在本发明实施例中,所述页面滑动速度主要由所述按压压力值确定,所述按压压力值越大,所述页面滑动速度越快。此时,虽然触发了所述显示页面的滑动并计算得到了所述页面滑动速度,但是并未确定页面滑动方向,因此此时所述显示页面并未发生滑动。
203,根据所述按压位置确定页面滑动方向。
具体的,用户输入单元172根据获取到的所述按压位置确定所述页面滑动方向。若所述按压位置位于第一触控区域,则确定所述页面滑动方向为第一预设方向。请参见图5,为本发明实施例二提供的显示页面的界面示意图,需要说明的是,图5以选择日期的显示页面为例进行介绍,其它显示页面与图5只是显示内容有所不同,所述页面滑动方向的确定类似。图5中包括两个灰色矩形区域,51和52,51即为所述第一触控区域,52即为第二触控区域。所述第一触控区域和所述第二触控区域位于显示单元131的边缘处,如图5所示,位于图5的右边缘,与显示单元131的相对位置关系在本发明实施例中不做限 定。需要说明的是,所述第一触控区域和所述第二触控区域的位置并不局限于图5所示的位置,也可以位于横屏时的右边缘。可选的,在用户输入单元172未接收到所述按压信号时,所述第一触控区域和所述第二触控区域并未显示在当前显示界面中,当所述按压压力值大于所述第一预设压力阈值且所述触控位置位于所述第一触控区域或所述第二触控区域内时,所述第一触控区域和所述第二触控区域显示在当前显示界面中。可选的,所述第一触控区域和所述第二触控区域均未显示在所述当前显示界面中。当所述按压位置位于所述第一触控区域时,处理器160确定所述页面滑动方向为所述第一预设方向,即向上或向前或向左,由所述按压位置指向用户终端显示屏的顶端的方向,或由所述按压位置指向握持用户终端用户的左边。
当所述按压位置位于所述第二触控区域时,即图5中的52内时,处理器160确定所述页面滑动方向为所述第二预设方向,即向下或向后或向右,由所述按压位置指向用户终端显示屏的底端的方向,或由所述按压位置指向握持用户终端用户的右边。
204,控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
具体的,在确定所述页面滑动速度和所述页面滑动方向后,处理器160控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动,从而实现对所述显示页面的滑动,便于用户浏览所述显示页面的内容。在本发明实施例中,用户只需输入按压操作并在按压压力值超过所述第一预设压力阈值的情况下,即可控制用户终端实现对滑动显示界面的滑动,从而减少用户的操作步骤,提升用户体验。
可选的,若在所述显示页面滑动的过程中,用户输入单元172接收到用户输入的滑动操作,则处理器160优先识别该滑动操作,获取该滑动操作的滑动速度,并根据所述按压压力值对该滑动速度进行微调。
205,若检测到所述按压信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
具体的,用户输入单元172在所述显示页面滑动的过程中检测所述按压信号是否发生中断,即检测用户的手指或触控件是否离开显示单元131;或者处理器160通过压力触控技术检测所述按压信号是否发生中断,即检测所述按压信号的按压位置是否还位于所述第一触控区域或所述第二触控区域,若在所述 显示页面滑动的过程中所述按压位置不位于所述第一触控区域或所述第二触控区域,则确定所述按压信号发生中断。若用户输入单元172检测到所述按压信号中断或所述处理器160检测到所述按压信号中断,则处理器160控制所述显示页面以第二预设滑动速度向减速滑动。所述第二预设滑动速度用于控制所述显示页面减速,由用户终端的系统决定,具体数值由用户终端的制造厂商设定,在此不做限定。
在本发明实施例中,通过在接收到针对滑动显示界面输入的按压信号时,获取按压信号的按压压力值和按压特征信息,按压特征信息包括按压位置,并根据按压压力值确定页面滑动速度,根据按压位置确定页面滑动方向,并控制显示页面以页面滑动速度沿页面滑动方向滑动,从而实现根据按压信号的按压压力值和按压位置控制显示页面的滑动,无需用户输入滑动操作,只需一个按压操作,从而减少用户的操作步骤,提高用户终端的智能性。
需要说明的是,若用户终端提供了所述第一触控区域和所述第二触控区域,则执行本发明实施例二所述的方法;若所述用户终端并未提供所述第一触控区域和所述第二触控区域,或所述按压压力值在所述预设时间段内发生变化,则执行本发明实施例一所述的方法。若用户终端提供了所述第一触控区域和所述第二触控区域,但是所述按压位置均不在所述第一触控区域和所述第二触控区域内,则执行本发明实施例一所述的方法。
请参见图6,为本发明实施例三提供的页面滑动方法的流程示意图。本发明实施例二提供的页面滑动方法针对触控信号为滑动信号的具体描述。结合图1所示的用户终端,存储器180中存储一组程序代码,且处理器160调用存储器180中存储的程序代码,用于执行所述页面滑动方法,可以包括以下步骤301-步骤305。
301,当接收到针对显示页面输入的滑动信号时,获取所述滑动信号的触控压力值和和滑动特征信息,所述滑动特征信息包括滑动方向和滑动速度。
具体的,当用户输入单元172接收到用户针对显示单元131显示的显示页面输入的滑动信号时,处理器160通过用户输入单元172获取所述滑动信号的触控压力值和和滑动特征信息,所述滑动特征信息包括滑动方向和滑动速度。处理器160调用存储器中相应的代码采用压力触控技术获取所述滑动信号的 触控压力值。所述滑动信号的触控压力值为所述滑动信号与显示单元131初始接触的压力值,即用户输入滑动操作时的压力值。获取所述滑动信号的触控压力值的过程与本发明实施例一中获取按压信号的按压压力值相同,在此不再赘述。所述滑动信号的滑动方向即为用户输入滑动操作的方向。
302,根据所述触控压力值以及所述滑动速度确定页面滑动速度。
具体的,处理器160根据所述滑动信号的触控压力值、所述滑动速度以及第二计算公式计算计算页面滑动速度,所述第二计算公式如下:
v=v0×f(P,P0)
其中,v为所述页面滑动速度,即为所需的页面滑动速度。v0为所述滑动速度,即为用户输入的滑动操作的滑动速度。P为所述滑动信号的触控压力值。P0为第二预设压力阈值,为用户终端系统预设的压力阈值,具体数值在此不做限定。f(x,y)为滑动压力函数,为关于所述滑动压力值与所述第二预设压力阈值之间关系的函数,例如关于两者之间比例关系的函数,具体的由用户终端的制造厂商设定,在此不做限定。
303,根据所述滑动方向确定页面滑动方向。
具体的,处理器160根据所述滑动向确定页面滑动方向,所述页面滑动方向与所述滑动方向相同。请参见图7,为本发明实施例三提供的显示页面的界面示意图,需要说明的是,图7以选择日期的显示页面为例进行介绍,其它显示页面与图7只是显示内容有所不同,所述页面滑动方向的确定类似。图7中,箭头所指的方向可表示为所述滑动方向,即表示所述页面滑动方向,实际实现过程中,图7中的箭头并不存在。
304,控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
具体的,在确定所述页面滑动速度和所述页面滑动方向后,处理器160控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动,从而实现对所述显示页面的滑动,便于用户浏览所述显示页面的内容。在本发明实施例中,用户无需多次输入滑动操作,只需输入一次滑动操作即可,从而减少用户的操作步骤,提升用户体验。
305,若检测到所述滑动信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
具体的,用户输入单元172在所述显示页面滑动的过程中检测所述滑动信 号是否发生中断,即检测用户的手指或触控件是否离开显示单元131;或者处理器160通过压力触控技术检测所述滑动信号是否发生中断,即检测所述滑动信号的触控压力值是否变为零。若用户输入单元172检测到所述滑动信号中断或处理器160检测到所述滑动信号中断,则处理器160控制所述显示页面以第二预设滑动速度向减速滑动。所述第二预设滑动速度用于控制所述显示页面减速,由用户终端的系统决定,具体数值由用户终端的制造厂商设定,在此不做限定。
在本发明实施例中,通过在接收到针对滑动显示界面输入的滑动信号时,获取触控压力值的触控压力值和滑动特征信息,滑动特征信息包括滑动方向和滑动速度,并根据触控压力值和滑动速度确定页面滑动速度,根据滑动方向的触控特征信息确定页面滑动方向,并控制显示页面以页面滑动速度沿页面滑动方向滑动,从而实现根据滑动信号的触控压力值和滑动方向控制显示页面的滑动,无需用户多次输入滑动操作,从而减少用户的操作步骤,提高用户终端的智能性。
请参见图8,为本发明提供的一种页面滑动装置的结构示意图,该页面滑动装置80可包括:信息获取单元801、速度确定单元802、方向确定单元803和滑动控制单元804。
信息获取单元801,用于当接收到针对显示页面输入的按压信号时,获取所述按压信号的按压压力值和按压特征信息,所述按压特征信息包括按压位置或所述按压压力值的变化趋势。
速度确定单元802,用于根据所述按压压力值确定页面滑动速度。
方向确定单元803,用于根据所述按压位置或所述按压压力值的变化趋势确定页面滑动方向。
滑动控制单元804,用于控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
所述速度确定单元802包括:压力检测单元和速度计算单元,未在图8中标明。
压力检测单元,用于检测所述按压压力值是否大于第一预设压力阈值;
速度计算单元,用于若所述按压压力值大于所述第一预设压力阈值,则根 据所述按压压力值和第一计算公式计算页面滑动速度;
其中,所述第一计算公式为:v=v0×f(P-P0),v为所述页面滑动速度,v0为第一预设页面滑动速度,P为所述按压压力值,P0为所述第一预设压力阈值,f(x)为按压压力函数。
所述方向确定单元803用于若所述按压位置位于第一触控区域,则确定页面滑动方向为第一预设方向;所述方向确定单元803还用于若所述按压位置位于第二触控区域,则确定页面滑动方向为第二预设方向;
其中,所述第一预设方向与所述第二预设方向相反。
所述方向确定单元803还用于若所述按压压力值的变化趋势与第一预设趋势相同,则确定页面滑动方向为第一预设方向;
所述方向确定单元803还用于若所述按压压力值的变化趋势与第二预设趋势相同,则确定页面滑动方向为第二预设方向。
其中,所述第一预设方向与所述第二预设方向相反。
所述滑动控制单元,还用于若检测到所述按压信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
本发明实施例和图2、图3所示方法实施例基于同一构思,其带来的技术效果也相同,具体原理请参照图2、图3所示实施例的描述,此处不再赘述。
请参见图9,为本发明提供的另一种页面滑动装置的结构示意图,该页面滑动装置90可包括:信息获取单元901、速度确定单元902、方向确定单元903和滑动控制单元904。
信息获取单元901,用于当接收到针对显示页面输入的滑动信号时,获取所述滑动信号的触控压力值和滑动特征信息,所述滑动特征信息包括滑动方向和滑动速度;
速度确定单元902,用于根据所述触控压力值以及所述滑动速度确定页面滑动速度;
方向确定单元903,用于根据所述滑动方向确定页面滑动方向;
滑动控制单元904,用于控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
所述速度确定单元902用于根据所述触控压力值、所述滑动速度以及第二 计算公式计算页面滑动速度;
其中,所述第二计算公式为:v=v0×f(P,P0),v为所述页面滑动速度,v0为所述滑动速度,P为所述触控压力值,P0为第二预设压力阈值,f(x,y)为滑动压力函数。
所述滑动控制单元904还用于若检测到所述滑动信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
本发明实施例和图6所示方法实施例基于同一构思,其带来的技术效果也相同,具体原理请参照图6所示实施例的描述,此处不再赘述。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质存储有程序,所述程序执行时包括实施例一所述的方法、实施例二所述的方法或实施例三所述的方法。本发明实施例还提供一种用户终端,包括图8所示的页面滑动装置和图9所示的页面滑动装置。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为根据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。本领域的技术人员可以将本说明书中描述的不同实施例以及不同实施例的特征进行结合或组合。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个 或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(Digital Subscriber Line,DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。
总之,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (19)

  1. 一种页面滑动方法,其特征在于,包括:
    当接收到针对显示页面输入的按压信号时,获取所述按压信号的按压压力值和按压特征信息,所述按压特征信息包括按压位置或所述按压压力值的变化趋势;
    根据所述按压压力值确定页面滑动速度,并根据所述按压位置或所述按压压力值的变化趋势确定页面滑动方向;
    控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述按压压力值确定页面滑动速度,包括:
    检测所述按压压力值是否大于第一预设压力阈值;
    若所述按压压力值大于所述第一预设压力阈值,则根据所述按压压力值和第一计算公式计算页面滑动速度;
    其中,所述第一计算公式为:v=v0×f(P-P0),v为所述页面滑动速度,v0为第一预设页面滑动速度,P为所述按压压力值,P0为所述第一预设压力阈值,f(x)为按压压力函数。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述按压位置确定页面滑动方向,包括:
    若所述按压位置位于第一触控区域,则确定页面滑动方向为第一预设方向;
    若所述按压位置位于第二触控区域,则确定页面滑动方向为第二预设方向;
    其中,所述第一预设方向与所述第二预设方向相反。
  4. 根据权利要求1或2所述的方法,其特征在于,所述根据所述按压压力值的变化趋势确定页面滑动方向,包括:
    若所述按压压力值的变化趋势与第一预设趋势相同,则确定页面滑动方向为第一预设方向;
    若所述按压压力值的变化趋势与第二预设趋势相同,则确定页面滑动方向为第二预设方向;
    其中,所述第一预设方向与所述第二预设方向相反。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动之后,还包括:
    若检测到所述按压信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
  6. 一种页面滑动方法,其特征在于,包括:
    当接收到针对显示页面输入的滑动信号时,获取所述滑动信号的触控压力值和滑动特征信息,所述滑动特征信息包括滑动方向和滑动速度;
    根据所述触控压力值以及所述滑动速度确定页面滑动速度,并根据所述滑动方向确定页面滑动方向;
    控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
  7. 根据权利要求6所述的方法,其特征在于,所述根据所述触控压力值以及所述滑动速度确定页面滑动速度,包括:
    根据所述触控压力值、所述滑动速度以及第二计算公式计算页面滑动速度;
    其中,所述第二计算公式为:v=v0×f(P,P0),v为所述页面滑动速度,v0为所述滑动速度,P为所述触控压力值,P0为第二预设压力阈值,f(x,y)为滑动压力函数。
  8. 根据权利要求6或7所述的方法,其特征在于,所述控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动之后,还包括:
    若检测到所述滑动信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
  9. 一种页面滑动装置,其特征在于,包括;
    信息获取单元,用于当接收到针对显示页面输入的按压信号时,获取所述按压信号的按压压力值和按压特征信息,所述按压特征信息包括按压位置或所述按压压力值的变化趋势;
    速度确定单元,用于根据所述按压压力值确定页面滑动速度;
    方向确定单元,用于根据所述按压位置或所述按压压力值的变化趋势确定页面滑动方向;
    滑动控制单元,用于控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
  10. 根据权利要求9所述的装置,其特征在于,所述速度确定单元包括:
    压力检测单元,用于检测所述按压压力值是否大于第一预设压力阈值;
    速度计算单元,用于若所述按压压力值大于所述第一预设压力阈值,则根据所述按压压力值和第一计算公式计算页面滑动速度;
    其中,所述第一计算公式为:v=v0×f(P-P0),v为所述页面滑动速度,v0为第一预设页面滑动速度,P为所述按压压力值,P0为所述第一预设压力阈值,f(x)为按压压力函数。
  11. 根据权利要求9或10所述的装置,其特征在于,所述方向确定单元用于若所述按压位置位于第一触控区域,则确定页面滑动方向为第一预设方向;
    所述方向确定单元还用于若所述按压位置位于第二触控区域,则确定页面滑动方向为第二预设方向;
    其中,所述第一预设方向与所述第二预设方向相反。
  12. 根据权利要求9或10所述的装置,其特征在于,所述方向确定单元还用于若所述按压压力值的变化趋势与第一预设趋势相同,则确定页面滑动方向为第一预设方向;
    所述方向确定单元还用于若所述按压压力值的变化趋势与第二预设趋势 相同,则确定页面滑动方向为第二预设方向;
    其中,所述第一预设方向与所述第二预设方向相反。
  13. 根据权利要求9-12任一项所述的装置,其特征在于,所述滑动控制单元还用于若检测到所述按压信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
  14. 一种页面滑动装置,其特征在于,包括:
    信息获取单元,用于当接收到针对显示页面输入的滑动信号时,获取所述滑动信号的触控压力值和滑动特征信息,所述滑动特征信息包括滑动方向和滑动速度;
    速度确定单元,用于根据所述触控压力值以及所述滑动速度确定页面滑动速度;
    方向确定单元,用于根据所述滑动方向确定页面滑动方向;
    滑动控制单元,用于控制所述显示页面以所述页面滑动速度沿所述页面滑动方向滑动。
  15. 根据权利要求14所述的装置,其特征在于,所述速度确定单元用于根据所述触控压力值、所述滑动速度以及第二计算公式计算页面滑动速度;
    其中,所述第二计算公式为:v=v0×f(P,P0),v为所述页面滑动速度,v0为所述滑动速度,P为所述触控压力值,P0为第二预设压力阈值,f(x,y)为滑动压力函数。
  16. 根据权利要求14或15所述的装置,其特征在于,所述滑动控制单元还用于若检测到所述滑动信号中断,则控制所述显示页面以第二预设滑动速度沿所述页面滑动方向减速滑动。
  17. 一种页面滑动装置,其特征在于,所述页面滑动装置包括输入模块、存储器以及处理器,其中,存储器中存储一组程序代码,且处理器用于调用存储器中存储的程序代码,使得所述页面滑动装置执行如权利要求1-5任一项所 述的方法或执行如权利要求6-8任一项所述的方法。
  18. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有程序,所述程序执行时包括权利要求1-5任一项所述的步骤或权利要求或权利要求6-8任一项所述的步骤。
  19. 一种用户终端,包括权利要求9-17所述的页面滑动装置。
PCT/CN2016/074865 2016-02-29 2016-02-29 一种页面滑动方法、装置及用户终端 WO2017147758A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201680004614.4A CN107111435A (zh) 2016-02-29 2016-02-29 一种页面滑动方法、装置及用户终端
US16/080,777 US20190056845A1 (en) 2016-02-29 2016-02-29 Page Sliding Method And Apparatus, And User Terminal
EP16891951.2A EP3416036A4 (en) 2016-02-29 2016-02-29 METHOD AND DEVICE FOR SLIDING PAGE, AND USER TERMINAL
PCT/CN2016/074865 WO2017147758A1 (zh) 2016-02-29 2016-02-29 一种页面滑动方法、装置及用户终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/074865 WO2017147758A1 (zh) 2016-02-29 2016-02-29 一种页面滑动方法、装置及用户终端

Publications (1)

Publication Number Publication Date
WO2017147758A1 true WO2017147758A1 (zh) 2017-09-08

Family

ID=59676452

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074865 WO2017147758A1 (zh) 2016-02-29 2016-02-29 一种页面滑动方法、装置及用户终端

Country Status (4)

Country Link
US (1) US20190056845A1 (zh)
EP (1) EP3416036A4 (zh)
CN (1) CN107111435A (zh)
WO (1) WO2017147758A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116360666A (zh) * 2023-05-31 2023-06-30 Tcl通讯科技(成都)有限公司 页面滑动方法、装置、电子设备及计算机存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656652B (zh) * 2017-10-26 2021-03-26 沈阳中科创达软件有限公司 滑动操作的速度补偿方法、装置、计算机设备和存储介质
CN109800353A (zh) * 2019-01-04 2019-05-24 上海上湖信息技术有限公司 一种基于用户浏览行为的实时推荐的方法及系统
CN112083853A (zh) * 2020-09-02 2020-12-15 北京字节跳动网络技术有限公司 账号举报方法、审核方法、装置、电子设备和存储介质
CN114911564B (zh) * 2022-06-16 2023-08-22 北京有竹居网络技术有限公司 一种页面移动处理方法、装置、设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162420A (zh) * 2007-11-29 2008-04-16 天津津科电子系统工程有限公司 基于触摸屏的旋转式连续变速浏览与检索方法
US20130268858A1 (en) * 2012-04-10 2013-10-10 Samsung Electronics Co., Ltd. System and method for providing feedback associated with e-book in mobile device
CN103809891A (zh) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 页面切换方法和装置
US20140317492A1 (en) * 2013-04-22 2014-10-23 Naver Business Platform Corp. Method and apparatus for controlling scrolling on terminal, and computer-readable recording medium thereof
CN105094643A (zh) * 2015-07-30 2015-11-25 努比亚技术有限公司 页面显示控制方法及装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100746874B1 (ko) * 2006-03-16 2007-08-07 삼성전자주식회사 이동 단말기에서 터치패드를 이용한 서비스 제공 장치 및방법
US9152258B2 (en) * 2008-06-19 2015-10-06 Neonode Inc. User interface for a touch screen
JP5157969B2 (ja) * 2009-03-09 2013-03-06 ソニー株式会社 情報処理装置、閾値設定方法及びそのプログラム
JP2011053974A (ja) * 2009-09-02 2011-03-17 Sony Corp 操作制御装置、操作制御方法およびコンピュータプログラム
KR20110028834A (ko) * 2009-09-14 2011-03-22 삼성전자주식회사 터치스크린을 구비한 휴대 단말기의 터치 압력을 이용한 사용자 인터페이스 제공 방법 및 장치
US9262002B2 (en) * 2010-11-03 2016-02-16 Qualcomm Incorporated Force sensing touch screen
US9285976B2 (en) * 2011-07-22 2016-03-15 Kddi Corporation User interface device capable of image scrolling not accompanying finger movement, image scrolling method, and program
US20140152581A1 (en) * 2012-11-30 2014-06-05 Lenovo (Singapore) Pte. Ltd. Force as a device action modifier
US9246961B2 (en) * 2013-11-27 2016-01-26 Facebook, Inc. Communication user interface systems and methods
KR101749933B1 (ko) * 2015-11-12 2017-06-22 엘지전자 주식회사 이동 단말기 및 그 제어방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162420A (zh) * 2007-11-29 2008-04-16 天津津科电子系统工程有限公司 基于触摸屏的旋转式连续变速浏览与检索方法
US20130268858A1 (en) * 2012-04-10 2013-10-10 Samsung Electronics Co., Ltd. System and method for providing feedback associated with e-book in mobile device
CN103809891A (zh) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 页面切换方法和装置
US20140317492A1 (en) * 2013-04-22 2014-10-23 Naver Business Platform Corp. Method and apparatus for controlling scrolling on terminal, and computer-readable recording medium thereof
CN105094643A (zh) * 2015-07-30 2015-11-25 努比亚技术有限公司 页面显示控制方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3416036A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116360666A (zh) * 2023-05-31 2023-06-30 Tcl通讯科技(成都)有限公司 页面滑动方法、装置、电子设备及计算机存储介质
CN116360666B (zh) * 2023-05-31 2023-09-19 Tcl通讯科技(成都)有限公司 页面滑动方法、装置、电子设备及计算机存储介质

Also Published As

Publication number Publication date
EP3416036A4 (en) 2019-01-16
EP3416036A1 (en) 2018-12-19
US20190056845A1 (en) 2019-02-21
CN107111435A (zh) 2017-08-29

Similar Documents

Publication Publication Date Title
WO2017147758A1 (zh) 一种页面滑动方法、装置及用户终端
US9201521B2 (en) Storing trace information
US11567725B2 (en) Data processing method and mobile device
CN104123093A (zh) 信息处理方法及装置
CN105739857A (zh) 控制移动终端的方法及装置
US10019148B2 (en) Method and apparatus for controlling virtual screen
CN105630337A (zh) 控件控制方法及装置
TW201626204A (zh) 相機觸控拍攝方法及其觸控終端
WO2019127439A1 (zh) 一种计算器的运行方法以及终端
KR20150051292A (ko) 컨텐츠 공유 방법 및 그 전자 장치
CN103885712A (zh) 网页调整方法、装置及电子设备
KR101951480B1 (ko) 전자 기기 및 전자 기기의 제어 방법
CN111124206B (zh) 位置调整方法及电子设备
KR102165445B1 (ko) 디지털 디바이스 및 그 제어 방법
CN105677314A (zh) 滚动事件的处理方法、装置和设备
EP3575945B1 (en) Information display method and mobile terminal
CN105335061A (zh) 信息的显示方法、装置及终端
WO2019047129A1 (zh) 一种移动应用图标的方法及终端
US10779148B2 (en) Data transmission method and first electronic device
KR20210005508A (ko) 터치신호의 처리방법, 장치 및 매체
CN110333803B (zh) 一种多媒体对象选择方法及终端设备
CN105512278A (zh) 网页显示方法及装置
US20210096728A1 (en) Control Method and Electronic Device
CN105549883A (zh) 操作控制的方法及装置
WO2021088754A1 (zh) 一种重命名方法及电子设备

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016891951

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016891951

Country of ref document: EP

Effective date: 20180910

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

Ref document number: 16891951

Country of ref document: EP

Kind code of ref document: A1