WO2016197743A2 - Touch screen control method and device, and terminal - Google Patents

Touch screen control method and device, and terminal Download PDF

Info

Publication number
WO2016197743A2
WO2016197743A2 PCT/CN2016/080529 CN2016080529W WO2016197743A2 WO 2016197743 A2 WO2016197743 A2 WO 2016197743A2 CN 2016080529 W CN2016080529 W CN 2016080529W WO 2016197743 A2 WO2016197743 A2 WO 2016197743A2
Authority
WO
WIPO (PCT)
Prior art keywords
information
touch
touch screen
determining
scrolling
Prior art date
Application number
PCT/CN2016/080529
Other languages
French (fr)
Chinese (zh)
Other versions
WO2016197743A3 (en
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 WO2016197743A2 publication Critical patent/WO2016197743A2/en
Publication of WO2016197743A3 publication Critical patent/WO2016197743A3/en

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/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
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04805Virtual magnifying lens, i.e. window or frame movable on top of displayed information to enlarge it for better reading or selection
    • 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/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/0416Control or interface arrangements specially adapted for digitisers

Definitions

  • the present application relates to, but is not limited to, the field of human-computer interaction technology, and in particular, to a touch screen control method, device and terminal.
  • Scroll bars are widely used in a large number of data display scenes.
  • Scroll bars based on ordinary touch screens support both touch and drag operations.
  • the scroll bar When tapping a position in the scroll bar area, the scroll bar calculates its X coordinate offset by the horizontal scroll bar, and the vertical scroll bar calculates the Y coordinate offset of the touch; then the calculated offset value is The maximum value of the scroll bar is compared to obtain the scroll percentage, and then the control terminal display interface jumps to the corresponding percentage position to display the corresponding data.
  • Dragging the scroll bar takes advantage of the superimposed effect of the high-frequency automatic repeat tap operation.
  • the terminal acquires points on the touch track path at a fixed high frequency and applies a tap operation for each point.
  • a disadvantage of the solution in the related art is that the scroll bar operation is based on a fixed scale enlargement operation effect. If there is large-scale data, or the list to be displayed, the length of the page is particularly long, the zoom effect of the scroll bar will be particularly obvious; reflected on the user interface, a slight click or drag operation on the scroll bar will cause the page to be Long-distance scrolling results in inaccurate positioning. In addition, when the drag operation, the user's finger slides too fast, or the track is greatly offset from the scroll bar area, it is easy to cause the scroll bar to not reflect the update in time, or does not meet the user's intention. Therefore, it is necessary to introduce a new, accurate and controllable scroll bar control technology to enhance the user experience.
  • the present invention provides a control method, device and terminal for a touch screen, which can solve the problem that the scroll bar operation in the related art is based on a fixed scale enlargement operation, which is easy to cause accurate positioning, and the user sliding speed is too fast or the offset track is large, which is easy to cause scrolling.
  • Article does not reflect updates in a timely manner, does not meet user intent The problem.
  • Embodiments of the present invention provide a method for controlling a touch screen, including:
  • the determining, according to the pressure information, the operation type corresponding to the touch operation includes:
  • controlling the display interface of the touch screen to perform a corresponding action according to the operation type and the location information corresponding to the touch operation comprises:
  • the determining the scroll rate according to the currently detected pressure information includes:
  • an area of the display interface of the touch screen that controls information scrolling includes: a scroll bar;
  • Determining the scroll direction according to the location information includes:
  • determining a direction in which the scroll bar moves toward the position indicated by the position information is the scroll direction
  • controlling the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction comprises:
  • the display interface that controls the touch screen scrolls toward the scroll direction according to the scroll bar with the scroll bar, and Scrolling stops when the scroll bar reaches the position indicated by the position information.
  • the area in which the control information is scrolled in the display interface of the touch screen further includes: two end indication areas indicating opposite ends of the area where the control information is scrolled;
  • the determining the scroll direction according to the location information further includes:
  • controlling the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction comprises:
  • the display interface controlling the touch screen scrolls to the scroll direction according to the scroll rate with the scroll bar. And scrolling to stop when the scroll bar reaches one end of the end indication area indication.
  • control method further includes:
  • a timer is started, wherein a timing of the timer is greater than a preset number of sampling periods, where the sampling period refers to a period of detecting a touch event of the touch screen, and the user touches the area where the control information is scrolled in the display interface of the touch screen.
  • the operation is a touch event
  • the display interface controlling the touch screen exits the controlled scroll state; when the touch event is detected within the timing time of the timer, the pressure information of the touch point is continuously detected.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
  • the embodiment of the invention further provides a control device for a touch screen, comprising:
  • the acquiring module is configured to: when detecting a user performing a touch operation on an area where the information is scrolled in the display interface of the touch screen, acquiring position information and pressure information of the touch point;
  • Determining a module configured to: determine, according to the pressure information, an operation type corresponding to the touch operation;
  • the control module is configured to: control the display interface of the touch screen to perform a corresponding action according to the operation type and the position information corresponding to the touch operation.
  • the determining module includes:
  • the first determining unit is configured to: determine whether the pressure value of the pressure information is less than a preset first pressure threshold, and determine that the touch operation is light when the pressure value of the pressure information is less than the first pressure threshold Touch operation
  • the second determining unit is configured to: determine whether the pressure value of the pressure information is greater than a preset second pressure threshold, and determine that the touch operation is pressing when the pressure value of the pressure information is greater than the second pressure threshold Operation, wherein the second pressure threshold is greater than or equal to the first pressure threshold.
  • control module includes:
  • a first control unit configured to: when the touch operation is a pressing operation, control a display interface of the touch screen to enter a controlled scrolling state;
  • the detecting unit is configured to: after the display interface of the touch screen enters the controlled scrolling state, continue to detect the pressure information of the touch point;
  • a third determining unit configured to: determine a scrolling rate according to the currently detected pressure information, and determine a scrolling direction according to the position information;
  • the second control unit is configured to: control the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction.
  • the third determining unit includes:
  • the determining subunit is configured to: determine whether the pressure value of the currently detected pressure information is less than the first pressure threshold, and obtain a determination result;
  • a first determining subunit configured to: when the determining result is no, determining a result of dividing the pressure value of the newly detected pressure information by a preset standard pressure value as a rate factor, and determining the rate factor and the pre-determination
  • the product of the set standard rate is the scroll rate
  • the second determining subunit is configured to: when the determination result is YES, determine that scrolling does not occur.
  • an area of the display interface of the touch screen that controls information scrolling includes: a scroll bar;
  • the third determining unit includes:
  • a third determining subunit configured to: when the position indicated by the position information is in an area other than the scroll bar, determining a direction in which the scroll bar moves to a position indicated by the position information is Rolling direction
  • the fourth determining subunit is configured to determine that scrolling does not occur when the position indicated by the position information is on the scroll bar.
  • the second control unit includes:
  • a first control subunit configured to: when determining a direction in which the scroll bar moves to a position indicated by the position information is the scroll direction, control a display interface of the touch screen to follow the scroll bar according to the scrolling The rate scrolls in the scrolling direction and scrolls until the scroll bar reaches the position indicated by the position information.
  • the area in which the control information is scrolled in the display interface of the touch screen further includes: two end indication areas indicating opposite ends of the area where the control information is scrolled;
  • the third determining unit further includes:
  • a fifth determining subunit configured to: when the position indicated by the position information is within the end indicating area, determine a direction in which the scroll bar moves toward an end indicated by the end indicating area as the scrolling direction.
  • the second control unit includes:
  • a second control subunit configured to: when determining that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction, the display interface that controls the touch screen follows the scroll bar Scrolling rate scrolls in the scrolling direction and scrolls to the scroll bar to reach the Stop when the end indicates the end of the area indication.
  • control device further includes:
  • the startup module is configured to: start a timer, where the timing of the timer is greater than a preset number of sampling periods, where the sampling period refers to a period of detecting a touch event of the touch screen, and the user controls the information in the display interface of the touch screen
  • the touch area performs one touch operation as one touch event
  • the determining module is configured to: determine whether a touch event is detected in the timing time of the timer, and when the touch event is not detected within the timing time of the timer, control the display interface of the touch screen to exit the controlled scrolling state When the touch event is detected within the timing time of the timer, the pressure information of the touch point is continuously detected.
  • the embodiment of the invention further provides a terminal, comprising: the control device of the touch screen as described above.
  • the control method of the touch screen of the embodiment of the present invention when detecting that the user performs a touch operation on the area where the information is scrolled in the display interface of the touch screen, the position information and the pressure information of the touch point are acquired; and the touch operation is determined according to the pressure information.
  • the operation type; according to the operation type and position information corresponding to the touch operation, the display interface of the touch screen is controlled to perform the corresponding action.
  • the method combines the pressure information to control the scrolling action of the display interface, can realize flexible control of the touch screen scrolling mode, improves the positioning precision, and can fully satisfy the user's intention, facilitates the use of the user, and enhances the user experience.
  • the scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to not reflect the update in time, and does not meet the user's intention.
  • FIG. 1 is a flowchart of a method for controlling a touch screen according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a touch screen applied to a method for controlling a touch screen according to an embodiment of the present invention
  • FIG. 3 is a flowchart of an optional implementation manner of a method for controlling a touch screen according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a control device for a touch screen according to an embodiment of the present invention.
  • the touch screen control method of the embodiment of the invention combined with the pressure information to control the scrolling operation of the display interface, can realize flexible control of the touch screen scrolling mode, facilitates the use of the user, and enhances the user experience.
  • a method for controlling a touch screen includes:
  • Step 101 When detecting that the user performs a touch operation on an area where the information is scrolled in the display interface of the touch screen, the position information and the pressure information of the touch point are acquired.
  • the control method of the embodiment of the present invention may be applied to a terminal, where the terminal may include a touch screen display device that can detect a touch pressure and a touch position, and the display area of the touch screen may include a software interface area that can display valid data information and is set to control information scrolling. Software interface area.
  • the obtained position information and pressure information can be converted into digital signals for further processing of subsequent steps.
  • Step 102 Determine, according to the pressure information, an operation type corresponding to the touch operation.
  • the touch pressure corresponding to different strengths may be set with different operation types, such as light touch, pressing, etc., according to the detected pressure information, the operation type corresponding to the touch operation may be accurately determined.
  • Step 103 Control a display interface of the touch screen to perform a corresponding action according to the operation type and the location information corresponding to the touch operation.
  • the display interface of the touch screen can be controlled to perform corresponding actions, such as scrolling at a fixed speed or controlled scrolling in a certain direction, thereby implementing flexible control of the touch screen.
  • the control method of the touch screen according to the embodiment of the invention can realize flexible control of the scrolling mode of the touch screen, improve the positioning accuracy, and fully satisfy the user's intention, which is convenient for the user to use and enhances. user experience.
  • the scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to fail to reflect the update in time, and does not meet the user's intention. problem.
  • the foregoing step 102 may include:
  • Step 1021 Determine whether the pressure value of the pressure information is less than a preset first pressure threshold. When the pressure value of the pressure information is less than the first pressure threshold, determine that the touch operation is a tap operation.
  • the first pressure threshold may be marked as P1. If the pressure value of the touch operation by the user is less than P1, the pressure of the user's touch operation is small, and the touch may be determined as a light touch.
  • the first pressure threshold P1 can be set according to an empirical value.
  • Step 1022 determining whether the pressure value of the pressure information is greater than a preset second pressure threshold.
  • determining that the touch operation is a pressing operation wherein The second pressure threshold is greater than or equal to the first pressure threshold.
  • the second pressure threshold may be marked as P2. If the pressure value of the touch operation by the user is greater than P2, the pressure of the user's touch operation is large, and the pressure may be determined as pressing.
  • the threshold value (second pressure threshold value P2) for performing the press determination is greater than or equal to the threshold value (first pressure threshold value P1) at which the tap determination is performed, that is, P2 ⁇ P1.
  • the second pressure threshold P2 can also be set based on empirical values.
  • the operation type of the user performing the touch operation can be accurately distinguished, and the corresponding operation action is performed according to the operation type, thereby laying a foundation for realizing different operation effects.
  • the foregoing step 103 may include:
  • Step 1031 When the touch operation is a pressing operation, the display interface of the touch screen is controlled to enter a controlled scrolling state.
  • the scrolling effect of the touch screen can be adjusted in real time by changing the touch pressure, etc., thereby fully satisfying the needs of the user.
  • Step 1032 after the display interface of the touch screen enters a controlled scroll state, continue to detect the location The pressure information of the touch point.
  • the pressure of the user performing the touch operation may change, so it may be necessary to continue to detect the pressure information of the touch point to adjust the operation effect according to the user operation in real time.
  • Step 1033 Determine a scrolling rate according to the currently detected pressure information, and determine a scrolling direction according to the position information.
  • the scrolling rate is determined according to the currently newly detected pressure information, real-time adjustment of the scrolling rate by the combined pressure information is realized, and combined with the position information, the touchscreen can be controlled to scroll to the designated position.
  • Step 1034 Control a display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction.
  • the scrolling rate is determined by the pressure information, and the scrolling direction is determined by the position information, and the display interface of the touch screen can be controlled to scroll according to the user operation, thereby realizing the real-time adjustment of the rolling effect of the touch screen, improving the practicability and convenience, and improving The user experience.
  • the determining the scroll rate according to the currently detected pressure information may include:
  • Step 10331 Determine whether the pressure value of the currently detected pressure information is less than the first pressure threshold, and obtain a determination result.
  • the touch screen after the touch screen enters the controlled scroll state, it may continue to determine whether the pressure value of the touch operation by the user is greater than the first pressure threshold P1, and adjust the scroll state of the touch screen according to the determination result.
  • Step 10332 when the determination result is no, determining a result of dividing the pressure value of the newly detected pressure information by a preset standard pressure value as a rate factor, and determining a product of the rate factor and a preset standard rate. For the scroll rate.
  • the scroll rate can be controlled based on the newly detected pressure information.
  • the standard pressure value can be labeled P3 and the standard rate labeled R0.
  • the result of dividing the newly detected pressure value by the standard pressure value P3 may be used as the rate factor, and the rate factor is multiplied by the standard rate R0 to obtain the actual rolling rate. In this way, strong pressure can produce high rolling rates, weak Pressure can produce a low scroll rate, which facilitates user control of the scroll rate.
  • Step 10333 when the result of the determination is YES, it is determined that scrolling does not occur.
  • the user can realize real-time adjustment of the scrolling rate of the touch screen by a simple operation, thereby facilitating the use of the user, fully satisfying the user's intention, and improving the practicability and convenience.
  • an area in the display interface of the touch screen that controls information scrolling may include: a scroll bar.
  • the determining the scroll direction according to the location information may include:
  • Step 10334 when the location indicated by the location information is in an area other than the scroll bar, determining a direction in which the scroll bar moves toward the position indicated by the location information is the scroll direction.
  • the position at which the user performs the touch operation is in an area other than the scroll bar, it may be determined that the direction in which the scroll bar moves to the position indicated by the touch operation is the page scroll direction.
  • Step 10335 when the position indicated by the location information is on the scroll bar, it is determined that scrolling does not occur.
  • scrolling may not occur.
  • the initial position of the user performing the touch operation is not on the scroll bar
  • the scroll bar moves to the position indicated by the touch operation, and moves to the position indicated by the touch operation to end the scroll; the other is performed by the user.
  • the scroll bar does not scroll.
  • step of step 1034 above may include:
  • Step 10341 when it is determined that the direction of movement of the scroll bar to the position indicated by the position information is the scroll direction, the display interface of the touch screen is controlled to the scroll direction according to the scroll bar according to the scroll bar. Scrolling and scrolling stops when the scroll bar reaches the position indicated by the location information.
  • the top end of the area where the control information is scrolled may be set as the origin, and the position offset L0 of the touch point is calculated, the current top position offset L1 (ie, the top position of the scroll bar) and the current page are respectively calculated.
  • the bottom position is offset by L2 (ie, the bottom end position of the scroll bar). If L0 is less than L1, Then the direction of controlled scrolling is from bottom to top; if L0 is greater than L2, the direction of controlled scrolling is from top to bottom.
  • L1 and L2 can be updated in real time according to the content display page position.
  • the user can scroll the page to the proper position by a simple operation, thereby facilitating the user's use, fully satisfying the user's intention, and improving the practicability and convenience.
  • the area in which the control information is scrolled in the display interface of the touch screen may further include: two end indication areas indicating opposite ends of the area where the control information is scrolled.
  • the scroll bar for the longitudinal direction may have two end indication areas A0 and A1 indicating the top of the page and the bottom of the page, respectively.
  • the determining the scroll direction according to the location information may further include:
  • Step 10336 when the position indicated by the position information is within the end indication area, determining that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction.
  • the foregoing step 1034 may include:
  • Step 10342 when it is determined that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction, the display interface controlling the touch screen is scrolled according to the scroll bar according to the scroll rate. The direction scrolls and scrolls until the scroll bar reaches one end of the end indication area indication.
  • the scroll bar set in the longitudinal direction is taken as an example.
  • the target area of the scroll may be the top or bottom end of the page of the touch screen display interface. That is, when the A0 area is touched, regardless of the exact value of the touch position offset, the position offset L0 of the touch point can always be set to the top offset position of the display interface; when the A1 area is touched, regardless of the precise touch The value of the offset position is set, and the position offset L0 of the touch point can always be set to the bottom offset position of the display interface. Therefore, when the A0 or A1 area is touched, the touch screen display interface can be scrolled to the top or bottom of the page, respectively.
  • the page can be scrolled to the top or bottom of the page through the end indication area, thereby facilitating the user's operation and improving the usability and convenience.
  • control The method can also include:
  • Step 104 Start a timer, where the timing of the timer is greater than a preset number of sampling periods, where the sampling period refers to a period of detecting a touch event of the touch screen, and the user scrolls the control information in the display interface of the touch screen.
  • a touch operation is a touch event.
  • the timer when the first touch event is detected and it is determined that the touch event is a press, the timer may be started.
  • the timing time of the timer is marked as T0, and the preset number is marked as C0, T0.
  • the value is greater than the basic sampling number threshold C0, that is, T0 is greater than C0 sampling periods.
  • C0 can take 3.
  • Step 105 Determine whether a touch event is detected in the timing time of the timer. When no touch event is detected within the timing time of the timer, the display interface of the touch screen is controlled to exit the controlled scroll state; When the touch event is detected within the timing time of the timer, the pressure information of the touch point is continuously detected.
  • the touch screen can enter the controlled scrolling state for a period of time, and can automatically exit without detecting the user's touch operation, thereby improving the practicability and intelligence.
  • the foregoing step 103 may include:
  • Step 1035 when the touch operation is a tap operation, perform a normal touch operation, such as controlling a display interface of the touch screen to scroll to a position indicated by the position information.
  • a normal touch operation such as controlling a display interface of the touch screen to scroll to a position indicated by the position information.
  • the scroll bar can be controlled to perform a normal touch action even if the display interface scrolls to the position indicated by the touch point.
  • FIG. 3 is a flowchart of an optional implementation manner of a method for controlling a touch screen according to an embodiment of the present invention. As shown in FIG. 3, the process includes:
  • Step 301 Acquire location information and pressure information of the touch point when detecting that the user performs a touch operation on the area where the information is scrolled in the display interface of the touch screen.
  • the pressure touch screen is in a normal working state, and the user touches the touch screen. Will be detected.
  • the position information and the pressure information of the captured event occurrence position can be converted into a digital signal.
  • the area in which the control information is scrolled in the display interface of the touch screen may include a scroll bar, and may further include two end indication areas at opposite ends of the area indicating the scrolling of the control information.
  • Step 302 Determine whether the pressure value of the pressure information is less than a preset first pressure threshold P1. When the pressure value of the pressure information is less than the first pressure threshold P1, determine that the touch operation is a tap operation.
  • the pressing force parameter of the touch event can be compared with the first pressure threshold P1, and if the pressing force is less than P1, a "tap" flag can be added for the touch event.
  • Step 303 Determine whether the pressure value of the pressure information is greater than a preset second pressure threshold P2.
  • P2 determine that the touch operation is a pressing operation.
  • P2 ⁇ P1.
  • the pressing force parameter of the touch event can be continuously compared with P2. If the pressing force is greater than P2, a "press" flag can be added for the touch event, and other events do not set the flag.
  • Step 304 when the touch event is marked as "tap”, scroll the display interface of the touch screen to the position indicated by the touch point.
  • Step 305 when the touch event is marked as "press", the display interface of the touch screen is brought into a controlled scroll state.
  • Step 306 after the display interface enters the controlled scroll state, continues to detect the pressure information of the touch point.
  • Step 307 Determine a scroll rate according to the currently detected pressure information.
  • the determination result is no, the result of dividing the currently detected pressure value by the standard pressure value P3 may be used as the rate factor, and the rate factor is multiplied by the standard rate R0. The result is taken as the actual scroll rate.
  • the result of the determination is YES, it can be determined that scrolling does not occur, but can still remain in a controlled scrolling state.
  • Step 308 determining a scroll direction according to the location information.
  • the display interface of the touch screen is controlled to scroll in the scroll direction according to the scroll rate. Scrolling stops when the scroll bar reaches the position indicated by the position information.
  • the display interface controlling the touch screen is scrolled to the scroll direction according to the scroll rate. , scrolls to the end when the scroll bar reaches the end indicated by the end indication area.
  • the longitudinally arranged scroll bar for the vertically arranged scroll bar, there are two end indication areas A0 and A1, which respectively indicate the top of the page and the bottom of the page.
  • the top end of the area where the control information is scrolled may be set as the origin, and the position offset L0 of the touch point is calculated, the current top position offset L1 (ie, the top position of the scroll bar) and the current bottom position offset L2 (ie, the scroll bar) The bottom position)).
  • L0 is less than L1
  • L1 the direction of controlled scrolling is from bottom to top
  • L0 is greater than L2
  • the direction of controlled scrolling is from top to bottom.
  • L1 and L2 can be updated in real time according to the content display page position.
  • controlled scrolling can end.
  • the touch screen display interface can be scrolled to the top or bottom of the page, respectively.
  • Step 309 After the display interface enters the controlled scroll state, a timer is started, wherein the timer time T0 of the timer is greater than C0 (eg, 3) sampling periods.
  • the sampling period refers to the period of detecting a touch event of the touch screen.
  • Step 310 When no touch event is detected within the timing time of the timer, the display interface of the control touch screen exits the controlled scroll state; when the touch event is detected within the timing time of the timer, the above step 306 is continued. Until 308, until the scrolling stops.
  • control method of the touch screen according to the embodiment of the present invention combined with the pressure information to control the scrolling action of the display interface, can realize flexible control of the scrolling mode of the touch screen, improve the positioning accuracy, and fully satisfy the user's intention, and facilitate the use of the user. , enhance the user experience.
  • the scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to not reflect the update in time, and does not meet the user's intention.
  • the user can press hard on the vicinity of the expected location, waiting for the content page to gradually scroll to the desired location. If you are not satisfied with the rate of scrolling, you can switch between different scrolling rates by adjusting the force of the press to meet multiple needs.
  • the user can also scroll the page completely by pressing the top or bottom end indication area. Go to the top or bottom for full content browsing.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
  • an embodiment of the present invention further provides a control device for a touch screen, including:
  • the acquiring module is configured to: when detecting a user performing a touch operation on an area where the information is scrolled in the display interface of the touch screen, acquiring position information and pressure information of the touch point;
  • Determining a module configured to: determine, according to the pressure information, an operation type corresponding to the touch operation;
  • the control module is configured to: control the display interface of the touch screen to perform a corresponding action according to the operation type and the position information corresponding to the touch operation.
  • the touch screen control device of the embodiment of the invention combines the pressure information to control the scrolling action of the display interface, can realize flexible control of the touch screen scrolling mode, improves the positioning precision, and can fully satisfy the user's intention, and is convenient for the user to use and enhances. user experience.
  • the scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to not reflect the update in time, and does not meet the user's intention.
  • the determining module may include:
  • the first determining unit is configured to: determine whether the pressure value of the pressure information is less than a preset first pressure threshold, and determine that the touch operation is light when the pressure value of the pressure information is less than the first pressure threshold Touch operation
  • the second determining unit is configured to: determine whether the pressure value of the pressure information is greater than a preset second pressure threshold, and determine that the touch operation is pressing when the pressure value of the pressure information is greater than the second pressure threshold Operation, wherein the second pressure threshold is greater than or equal to the first pressure threshold.
  • control module may include:
  • a first control unit configured to: when the touch operation is a pressing operation, control a display interface of the touch screen to enter a controlled scrolling state;
  • the detecting unit is configured to: after the display interface of the touch screen enters the controlled scrolling state, continue to detect the pressure information of the touch point;
  • a third determining unit configured to: determine a scrolling rate according to the currently detected pressure information, and determine a scrolling direction according to the position information;
  • the second control unit is configured to: control the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction.
  • the third determining unit may include:
  • the determining subunit is configured to: determine whether the pressure value of the currently detected pressure information is less than the first pressure threshold, and obtain a determination result;
  • a first determining subunit configured to: when the determining result is no, determining a result of dividing the pressure value of the newly detected pressure information by a preset standard pressure value as a rate factor, and determining the rate factor and the pre-determination
  • the product of the set standard rate is the scroll rate
  • the second determining subunit is configured to: when the determination result is YES, determine that scrolling does not occur.
  • the area in which the control information is scrolled in the display interface of the touch screen includes: a scroll bar;
  • the third determining unit may include:
  • a third determining subunit configured to: when the position indicated by the position information is in an area other than the scroll bar, determining a direction in which the scroll bar moves to a position indicated by the position information is Rolling direction
  • the fourth determining subunit is configured to determine that scrolling does not occur when the position indicated by the position information is on the scroll bar.
  • the second control unit may include:
  • a first control subunit configured to: when determining a direction in which the scroll bar moves to a position indicated by the position information is the scroll direction, control a display interface of the touch screen to follow the scroll bar according to the scrolling The rate scrolls in the scrolling direction and scrolls until the scroll bar reaches the position indicated by the position information.
  • the area in which the control information is scrolled in the display interface of the touch screen further includes: two end indication areas indicating opposite ends of the area where the control information is scrolled;
  • the third determining unit may further include:
  • a fifth determining subunit configured to: when the position indicated by the position information is within the end indicating area, determine a direction in which the scroll bar moves toward an end indicated by the end indicating area as the scrolling direction.
  • the second control unit may include:
  • a second control subunit configured to: when determining that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction, the display interface that controls the touch screen follows the scroll bar The scroll rate scrolls in the scroll direction and scrolls until the scroll bar reaches one end of the end indication area indication.
  • control device may further include:
  • the startup module is configured to: start a timer, where the timing of the timer is greater than a preset number of sampling periods, where the sampling period refers to a period of detecting a touch event of the touch screen, and the user controls the information in the display interface of the touch screen
  • the touch area performs one touch operation as one touch event
  • the determining module is configured to: determine whether a touch event is detected in the timing time of the timer, and when the touch event is not detected within the timing time of the timer, control the display interface of the touch screen to exit the controlled scrolling state When the touch event is detected within the timing time of the timer, the pressure information of the touch point is continuously detected.
  • control module may include:
  • the third control unit is configured to: when the touch operation is a tap operation, perform a normal touch operation, such as controlling a display interface of the touch screen to scroll to a position indicated by the position information.
  • the touch screen control device of the embodiment of the invention combines the pressure information to control the scrolling action of the display interface, can realize flexible control of the touch screen scrolling mode, improves the positioning precision, and can fully satisfy the user's intention, and is convenient for the user to use and enhances. user experience.
  • the scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to not reflect the update in time, and does not meet the user's intention.
  • control device of the touch screen is a device corresponding to the control method of the touch panel, and all the implementation manners in the foregoing method embodiments are applicable to the embodiment of the device, and the same technical effects can be achieved.
  • the control device of the touch screen of the embodiment of the present invention can be applied to the terminal. Therefore, the embodiment of the present invention further provides a terminal, including: the control device of the touch screen as described in the foregoing embodiment. Wherein the implementation embodiments of the control device of the touch screen are applicable to the embodiment of the terminal, Can also achieve the same technical effect.
  • the terminal in the embodiment of the present invention may be a mobile electronic device such as a mobile phone or a tablet computer.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the control method of the touch screen of the embodiment of the present invention when detecting that the user performs a touch operation on the area where the information is scrolled in the display interface of the touch screen, the position information and the pressure information of the touch point are acquired; and the touch operation is determined according to the pressure information.
  • the operation type; according to the operation type and position information corresponding to the touch operation, the display interface of the touch screen is controlled to perform the corresponding action.
  • the method combines the pressure information to control the scrolling action of the display interface, can realize flexible control of the touch screen scrolling mode, improves the positioning precision, and can fully satisfy the user's intention, facilitates the use of the user, and enhances the user experience.
  • the scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to not reflect the update in time, and does not meet the user's intention.

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)
  • Position Input By Displaying (AREA)

Abstract

A touch screen control method, comprising: when detecting that a user is performing a touch operation on an area in a display interface of a touch screen, the area controlling the scrolling of information, obtaining position information and pressure information of a touch point; according to the pressure information, determining an operation type corresponding to the touch operation; according to the operation type corresponding to the touch operation and the position information, controlling the display interface of the touch screen to execute a corresponding action.

Description

一种触摸屏的控制方法、装置及终端Touch screen control method, device and terminal 技术领域Technical field
本申请涉及但不限于人机交互技术领域,尤其一种触摸屏的控制方法、装置及终端。The present application relates to, but is not limited to, the field of human-computer interaction technology, and in particular, to a touch screen control method, device and terminal.
背景技术Background technique
滚动条广泛应用于大量数据显示场景,通常情况下,基于普通触摸屏实现的滚动条支持轻触和拖动两种操作。当轻触滚动条区域某一位置时,滚动条按其方向属性,横向滚动条计算触击的X坐标偏移,纵向滚动条计算触击的Y坐标偏移;然后将计算的偏移值与滚动条的最大值进行比较,获得滚动百分比,然后控制终端显示界面跳转到相应的百分比位置,显示对应的数据。拖动滚动条则利用高频率的自动重复轻触操作所产生的叠加效果。终端以固定的高频率采集触摸轨迹路径上的点,并针对每一个点应用轻触操作。Scroll bars are widely used in a large number of data display scenes. Generally, scroll bars based on ordinary touch screens support both touch and drag operations. When tapping a position in the scroll bar area, the scroll bar calculates its X coordinate offset by the horizontal scroll bar, and the vertical scroll bar calculates the Y coordinate offset of the touch; then the calculated offset value is The maximum value of the scroll bar is compared to obtain the scroll percentage, and then the control terminal display interface jumps to the corresponding percentage position to display the corresponding data. Dragging the scroll bar takes advantage of the superimposed effect of the high-frequency automatic repeat tap operation. The terminal acquires points on the touch track path at a fixed high frequency and applies a tap operation for each point.
相关技术中方案的缺点是,滚动条操作是基于固定比例放大操作效果的。如果存在较大规模的数据,或者需要显示的列表、页面长度特别长,滚动条的放大效益会特别明显;反映到用户界面上,对滚动条的轻微点击或是拖动操作,都会引起页面的长距离滚动,导致无法精确定位。此外,当拖动操作时,用户的手指滑动速度过快,或者轨迹较大偏移了滚动条区域,都容易造成滚动条不能及时反映更新,或者不符合用户的意图。因此有必要引入一种新的,精确且可控的滚动条控制技术,增强用户体验。A disadvantage of the solution in the related art is that the scroll bar operation is based on a fixed scale enlargement operation effect. If there is large-scale data, or the list to be displayed, the length of the page is particularly long, the zoom effect of the scroll bar will be particularly obvious; reflected on the user interface, a slight click or drag operation on the scroll bar will cause the page to be Long-distance scrolling results in inaccurate positioning. In addition, when the drag operation, the user's finger slides too fast, or the track is greatly offset from the scroll bar area, it is easy to cause the scroll bar to not reflect the update in time, or does not meet the user's intention. Therefore, it is necessary to introduce a new, accurate and controllable scroll bar control technology to enhance the user experience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提供一种触摸屏的控制方法、装置及终端,能够解决相关技术中滚动条操作基于固定比例放大操作效果,易导致无法精确定位,且用户滑动速度过快或偏移轨迹较大,易造成滚动条不能及时反映更新,不符合用户意图 的问题。The present invention provides a control method, device and terminal for a touch screen, which can solve the problem that the scroll bar operation in the related art is based on a fixed scale enlargement operation, which is easy to cause accurate positioning, and the user sliding speed is too fast or the offset track is large, which is easy to cause scrolling. Article does not reflect updates in a timely manner, does not meet user intent The problem.
本发明实施例提供一种触摸屏的控制方法,包括:Embodiments of the present invention provide a method for controlling a touch screen, including:
在检测到用户在触摸屏的显示界面中控制信息滚动的区域进行触摸操作时,获取触击点的位置信息和压力信息;Obtaining location information and pressure information of the touch point when detecting that the user performs a touch operation in an area where the information is scrolled in the display interface of the touch screen;
根据所述压力信息,确定所述触摸操作对应的操作类型;Determining, according to the pressure information, an operation type corresponding to the touch operation;
根据所述触摸操作对应的操作类型和所述位置信息,控制所述触摸屏的显示界面执行相应的动作。Controlling the display interface of the touch screen to perform a corresponding action according to the operation type corresponding to the touch operation and the location information.
可选地,所述根据所述压力信息,确定所述触摸操作对应的操作类型包括:Optionally, the determining, according to the pressure information, the operation type corresponding to the touch operation includes:
判断所述压力信息的压力值是否小于预设的第一压力阈值,当所述压力信息的压力值小于所述第一压力阈值时,确定所述触摸操作为轻触操作;Determining whether the pressure value of the pressure information is less than a preset first pressure threshold, and determining that the touch operation is a tap operation when the pressure value of the pressure information is less than the first pressure threshold;
判断所述压力信息的压力值是否大于预设的第二压力阈值,当所述压力信息的压力值大于所述第二压力阈值时,确定所述触摸操作为按压操作,其中,所述第二压力阈值大于或等于所述第一压力阈值。Determining whether the pressure value of the pressure information is greater than a preset second pressure threshold. When the pressure value of the pressure information is greater than the second pressure threshold, determining that the touch operation is a pressing operation, wherein the second The pressure threshold is greater than or equal to the first pressure threshold.
可选地,所述根据所述触摸操作对应的操作类型和所述位置信息,控制所述触摸屏的显示界面执行相应的动作包括:Optionally, the controlling the display interface of the touch screen to perform a corresponding action according to the operation type and the location information corresponding to the touch operation comprises:
当所述触摸操作为按压操作时,控制所述触摸屏的显示界面进入受控滚动状态;When the touch operation is a pressing operation, controlling a display interface of the touch screen to enter a controlled scrolling state;
在所述触摸屏的显示界面进入受控滚动状态后,继续检测所述触击点的压力信息;After the display interface of the touch screen enters the controlled scroll state, the pressure information of the touch point is continuously detected;
根据当前检测到的压力信息,确定滚动速率,并根据所述位置信息,确定滚动方向;Determining a scrolling rate according to the currently detected pressure information, and determining a scrolling direction according to the position information;
根据所述滚动速率和所述滚动方向,控制所述触摸屏的显示界面进行滚动。Controlling the display interface of the touch screen to scroll according to the scroll rate and the scroll direction.
可选地,所述根据当前检测到的压力信息,确定滚动速率包括:Optionally, the determining the scroll rate according to the currently detected pressure information includes:
判断当前检测到的压力信息的压力值是否小于所述第一压力阈值,得到判断结果;Determining whether the pressure value of the currently detected pressure information is less than the first pressure threshold, and obtaining a determination result;
当所述判断结果为否时,确定新检测到的压力信息的压力值除以预设的标准压力值的结果为速率因子,并确定所述速率因子与预设的标准速率的乘 积为所述滚动速率;When the determination result is no, determining a result of dividing the pressure value of the newly detected pressure information by a preset standard pressure value as a rate factor, and determining a multiplication of the rate factor by a preset standard rate The product is the scroll rate;
当所述判断结果为是时,确定不发生滚动。When the result of the determination is YES, it is determined that scrolling does not occur.
可选地,所述触摸屏的显示界面中控制信息滚动的区域包括:滚动条;Optionally, an area of the display interface of the touch screen that controls information scrolling includes: a scroll bar;
所述根据所述位置信息,确定滚动方向包括:Determining the scroll direction according to the location information includes:
当所述位置信息所指示的位置在除所述滚动条之外的区域时,确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向;When the position indicated by the position information is in an area other than the scroll bar, determining a direction in which the scroll bar moves toward the position indicated by the position information is the scroll direction;
当所述位置信息所指示的位置在所述滚动条上时,确定不发生滚动。When the position indicated by the position information is on the scroll bar, it is determined that scrolling does not occur.
可选地,所述根据所述滚动速率和所述滚动方向,控制所述触摸屏的显示界面进行滚动包括:Optionally, the controlling the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction comprises:
当确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述位置信息所指示的位置时停止。When it is determined that the direction in which the scroll bar moves toward the position indicated by the position information is the scroll direction, the display interface that controls the touch screen scrolls toward the scroll direction according to the scroll bar with the scroll bar, and Scrolling stops when the scroll bar reaches the position indicated by the position information.
可选地,所述触摸屏的显示界面中控制信息滚动的区域还包括:指示该控制信息滚动的区域相对两端的两个端部指示区域;Optionally, the area in which the control information is scrolled in the display interface of the touch screen further includes: two end indication areas indicating opposite ends of the area where the control information is scrolled;
所述根据所述位置信息,确定滚动方向还包括:The determining the scroll direction according to the location information further includes:
当所述位置信息所指示的位置在所述端部指示区域内时,确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向。When the position indicated by the position information is within the end indication area, determining that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction.
可选地,所述根据所述滚动速率和所述滚动方向,控制所述触摸屏的显示界面进行滚动包括:Optionally, the controlling the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction comprises:
当确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述端部指示区域指示的一端时停止。When it is determined that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction, the display interface controlling the touch screen scrolls to the scroll direction according to the scroll rate with the scroll bar. And scrolling to stop when the scroll bar reaches one end of the end indication area indication.
可选地,所述在所述触摸屏的显示界面进入受控滚动状态后,所述控制方法还包括:Optionally, after the display interface of the touch screen enters a controlled scroll state, the control method further includes:
启动一定时器,其中所述定时器的定时时间大于预设数目个采样周期,所述采样周期指检测触摸屏的触摸事件的周期,用户在触摸屏的显示界面中对控制信息滚动的区域进行一次触摸操作为一次触摸事件;A timer is started, wherein a timing of the timer is greater than a preset number of sampling periods, where the sampling period refers to a period of detecting a touch event of the touch screen, and the user touches the area where the control information is scrolled in the display interface of the touch screen. The operation is a touch event;
判断所述定时器的定时时间内是否检测到触摸事件,当在所述定时器的 定时时间内没有检测到触摸事件时,控制所述触摸屏的显示界面退出受控滚动状态;当在所述定时器的定时时间内检测到触摸事件时,继续检测所述触击点的压力信息。Determining whether a touch event is detected within a timing time of the timer, when at the timer When the touch event is not detected within the time limit, the display interface controlling the touch screen exits the controlled scroll state; when the touch event is detected within the timing time of the timer, the pressure information of the touch point is continuously detected.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述触摸屏的控制方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
本发明实施例还提供一种触摸屏的控制装置,包括:The embodiment of the invention further provides a control device for a touch screen, comprising:
获取模块,设置为:在检测到用户在触摸屏的显示界面中控制信息滚动的区域进行触摸操作时,获取触击点的位置信息和压力信息;The acquiring module is configured to: when detecting a user performing a touch operation on an area where the information is scrolled in the display interface of the touch screen, acquiring position information and pressure information of the touch point;
确定模块,设置为:根据所述压力信息,确定所述触摸操作对应的操作类型;Determining a module, configured to: determine, according to the pressure information, an operation type corresponding to the touch operation;
控制模块,设置为:根据所述触摸操作对应的操作类型和所述位置信息,控制所述触摸屏的显示界面执行相应的动作。The control module is configured to: control the display interface of the touch screen to perform a corresponding action according to the operation type and the position information corresponding to the touch operation.
可选地,所述确定模块包括:Optionally, the determining module includes:
第一确定单元,设置为:判断所述压力信息的压力值是否小于预设的第一压力阈值,当所述压力信息的压力值小于所述第一压力阈值时,确定所述触摸操作为轻触操作;The first determining unit is configured to: determine whether the pressure value of the pressure information is less than a preset first pressure threshold, and determine that the touch operation is light when the pressure value of the pressure information is less than the first pressure threshold Touch operation
第二确定单元,设置为:判断所述压力信息的压力值是否大于预设的第二压力阈值,当所述压力信息的压力值大于所述第二压力阈值时,确定所述触摸操作为按压操作,其中,所述第二压力阈值大于或等于所述第一压力阈值。The second determining unit is configured to: determine whether the pressure value of the pressure information is greater than a preset second pressure threshold, and determine that the touch operation is pressing when the pressure value of the pressure information is greater than the second pressure threshold Operation, wherein the second pressure threshold is greater than or equal to the first pressure threshold.
可选地,所述控制模块包括:Optionally, the control module includes:
第一控制单元,设置为:当所述触摸操作为按压操作时,控制所述触摸屏的显示界面进入受控滚动状态;a first control unit, configured to: when the touch operation is a pressing operation, control a display interface of the touch screen to enter a controlled scrolling state;
检测单元,设置为:在所述触摸屏的显示界面进入受控滚动状态后,继续检测所述触击点的压力信息;The detecting unit is configured to: after the display interface of the touch screen enters the controlled scrolling state, continue to detect the pressure information of the touch point;
第三确定单元,设置为:根据当前检测到的压力信息,确定滚动速率,并根据所述位置信息,确定滚动方向;a third determining unit, configured to: determine a scrolling rate according to the currently detected pressure information, and determine a scrolling direction according to the position information;
第二控制单元,设置为:根据所述滚动速率和所述滚动方向,控制所述触摸屏的显示界面进行滚动。 The second control unit is configured to: control the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction.
可选地,所述第三确定单元包括:Optionally, the third determining unit includes:
判断子单元,设置为:判断当前检测到的压力信息的压力值是否小于所述第一压力阈值,得到判断结果;The determining subunit is configured to: determine whether the pressure value of the currently detected pressure information is less than the first pressure threshold, and obtain a determination result;
第一确定子单元,设置为:当所述判断结果为否时,确定新检测到的压力信息的压力值除以预设的标准压力值的结果为速率因子,并确定所述速率因子与预设的标准速率的乘积为所述滚动速率;a first determining subunit, configured to: when the determining result is no, determining a result of dividing the pressure value of the newly detected pressure information by a preset standard pressure value as a rate factor, and determining the rate factor and the pre-determination The product of the set standard rate is the scroll rate;
第二确定子单元,设置为:当所述判断结果为是时,确定不发生滚动。The second determining subunit is configured to: when the determination result is YES, determine that scrolling does not occur.
可选地,所述触摸屏的显示界面中控制信息滚动的区域包括:滚动条;Optionally, an area of the display interface of the touch screen that controls information scrolling includes: a scroll bar;
所述第三确定单元包括:The third determining unit includes:
第三确定子单元,设置为:当所述位置信息所指示的位置在除所述滚动条之外的区域时,确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向;a third determining subunit, configured to: when the position indicated by the position information is in an area other than the scroll bar, determining a direction in which the scroll bar moves to a position indicated by the position information is Rolling direction
第四确定子单元,设置为:当所述位置信息所指示的位置在所述滚动条上时,确定不发生滚动。The fourth determining subunit is configured to determine that scrolling does not occur when the position indicated by the position information is on the scroll bar.
可选地,所述第二控制单元包括:Optionally, the second control unit includes:
第一控制子单元,设置为:当确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述位置信息所指示的位置时停止。a first control subunit, configured to: when determining a direction in which the scroll bar moves to a position indicated by the position information is the scroll direction, control a display interface of the touch screen to follow the scroll bar according to the scrolling The rate scrolls in the scrolling direction and scrolls until the scroll bar reaches the position indicated by the position information.
可选地,所述触摸屏的显示界面中控制信息滚动的区域还包括:指示该控制信息滚动的区域相对两端的两个端部指示区域;Optionally, the area in which the control information is scrolled in the display interface of the touch screen further includes: two end indication areas indicating opposite ends of the area where the control information is scrolled;
所述第三确定单元还包括:The third determining unit further includes:
第五确定子单元,设置为:当所述位置信息所指示的位置在所述端部指示区域内时,确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向。a fifth determining subunit, configured to: when the position indicated by the position information is within the end indicating area, determine a direction in which the scroll bar moves toward an end indicated by the end indicating area as the scrolling direction.
可选地,所述第二控制单元包括:Optionally, the second control unit includes:
第二控制子单元,设置为:当确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述 端部指示区域指示的一端时停止。a second control subunit, configured to: when determining that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction, the display interface that controls the touch screen follows the scroll bar Scrolling rate scrolls in the scrolling direction and scrolls to the scroll bar to reach the Stop when the end indicates the end of the area indication.
可选地,所述控制装置还包括:Optionally, the control device further includes:
启动模块,设置为:启动一定时器,其中所述定时器的定时时间大于预设数目个采样周期,所述采样周期指检测触摸屏的触摸事件的周期,用户在触摸屏的显示界面中对控制信息滚动的区域进行一次触摸操作为一次触摸事件;The startup module is configured to: start a timer, where the timing of the timer is greater than a preset number of sampling periods, where the sampling period refers to a period of detecting a touch event of the touch screen, and the user controls the information in the display interface of the touch screen The touch area performs one touch operation as one touch event;
判断模块,设置为:判断所述定时器的定时时间内是否检测到触摸事件,当在所述定时器的定时时间内没有检测到触摸事件时,控制所述触摸屏的显示界面退出受控滚动状态;当在所述定时器的定时时间内检测到触摸事件时,继续检测所述触击点的压力信息。The determining module is configured to: determine whether a touch event is detected in the timing time of the timer, and when the touch event is not detected within the timing time of the timer, control the display interface of the touch screen to exit the controlled scrolling state When the touch event is detected within the timing time of the timer, the pressure information of the touch point is continuously detected.
本发明实施例还提供一种终端,包括:如上所述的触摸屏的控制装置。The embodiment of the invention further provides a terminal, comprising: the control device of the touch screen as described above.
通过本发明实施例的触摸屏的控制方法,在检测到用户在触摸屏的显示界面中控制信息滚动的区域进行触摸操作时,获取触击点的位置信息和压力信息;根据压力信息,确定触摸操作对应的操作类型;根据触摸操作对应的操作类型和位置信息,控制触摸屏的显示界面执行相应的动作。该方法结合压力信息控制显示界面的滚动动作,可实现对触摸屏滚动方式的灵活控制,提高了定位精度,且能充分满足用户意图,方便了用户的使用,增强了用户体验。解决了相关技术中滚动条操作基于固定比例放大操作效果,易导致无法精确定位,且用户滑动速度过快或偏移轨迹较大,易造成滚动条不能及时反映更新,不符合用户意图的问题。According to the control method of the touch screen of the embodiment of the present invention, when detecting that the user performs a touch operation on the area where the information is scrolled in the display interface of the touch screen, the position information and the pressure information of the touch point are acquired; and the touch operation is determined according to the pressure information. The operation type; according to the operation type and position information corresponding to the touch operation, the display interface of the touch screen is controlled to perform the corresponding action. The method combines the pressure information to control the scrolling action of the display interface, can realize flexible control of the touch screen scrolling mode, improves the positioning precision, and can fully satisfy the user's intention, facilitates the use of the user, and enhances the user experience. The scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to not reflect the update in time, and does not meet the user's intention.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例的触摸屏的控制方法的流程图;1 is a flowchart of a method for controlling a touch screen according to an embodiment of the present invention;
图2为本发明实施例的触摸屏的控制方法所应用于的一触摸屏的结构示意图;2 is a schematic structural diagram of a touch screen applied to a method for controlling a touch screen according to an embodiment of the present invention;
图3为本发明实施例的触摸屏的控制方法的一可选实施方式的流程图;3 is a flowchart of an optional implementation manner of a method for controlling a touch screen according to an embodiment of the present invention;
图4为本发明实施例的触摸屏的控制装置的结构示意图。 FIG. 4 is a schematic structural diagram of a control device for a touch screen according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下面结合附图对本发明的实施方式进行描述。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。Embodiments of the present invention will be described below with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the various manners in the embodiments may be combined with each other without conflict.
本发明实施例的触摸屏的控制方法,结合压力信息控制显示界面的滚动操作,可实现对触摸屏滚动方式的灵活控制,方便了用户的使用,增强了用户体验。The touch screen control method of the embodiment of the invention, combined with the pressure information to control the scrolling operation of the display interface, can realize flexible control of the touch screen scrolling mode, facilitates the use of the user, and enhances the user experience.
如图1所示,本发明实施例的触摸屏的控制方法包括:As shown in FIG. 1 , a method for controlling a touch screen according to an embodiment of the present invention includes:
步骤101,在检测到用户在触摸屏的显示界面中控制信息滚动的区域进行触摸操作时,获取触击点的位置信息和压力信息。Step 101: When detecting that the user performs a touch operation on an area where the information is scrolled in the display interface of the touch screen, the position information and the pressure information of the touch point are acquired.
本发明实施例的控制方法可以应用于终端,终端可包括可以检测触摸压力和触击位置的触摸屏显示装置,触摸屏的显示区域可包括可以显示有效的数据信息的软件界面区域和设置为控制信息滚动的软件界面区域。The control method of the embodiment of the present invention may be applied to a terminal, where the terminal may include a touch screen display device that can detect a touch pressure and a touch position, and the display area of the touch screen may include a software interface area that can display valid data information and is set to control information scrolling. Software interface area.
本步骤中,可将获取到的位置信息和压力信息转换为数字信号,以便于后续步骤的进一步处理。In this step, the obtained position information and pressure information can be converted into digital signals for further processing of subsequent steps.
步骤102,根据所述压力信息,确定所述触摸操作对应的操作类型。Step 102: Determine, according to the pressure information, an operation type corresponding to the touch operation.
本步骤中,对应不同力度的触摸压力可以设置有不同的操作类型,比如轻触、按压等,根据检测到的压力信息可以准确判断触摸操作对应的操作类型。In this step, the touch pressure corresponding to different strengths may be set with different operation types, such as light touch, pressing, etc., according to the detected pressure information, the operation type corresponding to the touch operation may be accurately determined.
步骤103,根据所述触摸操作对应的操作类型和所述位置信息,控制所述触摸屏的显示界面执行相应的动作。Step 103: Control a display interface of the touch screen to perform a corresponding action according to the operation type and the location information corresponding to the touch operation.
本步骤中,根据触摸操作对应的操作类型和位置信息,可控制触摸屏的显示界面执行相应的动作,比如向一定方向按照固定速度滚动或者受控滚动,从而实现了对触摸屏的灵活控制。In this step, according to the operation type and position information corresponding to the touch operation, the display interface of the touch screen can be controlled to perform corresponding actions, such as scrolling at a fixed speed or controlled scrolling in a certain direction, thereby implementing flexible control of the touch screen.
本发明实施例的触摸屏的控制方法,结合压力信息控制显示界面的滚动动作,可实现对触摸屏滚动方式的灵活控制,提高了定位精度,且能充分满足用户意图,方便了用户的使用,增强了用户体验。解决了相关技术中滚动条操作基于固定比例放大操作效果,易导致无法精确定位,且用户滑动速度过快或偏移轨迹较大,易造成滚动条不能及时反映更新,不符合用户意图的 问题。The control method of the touch screen according to the embodiment of the invention, combined with the pressure information to control the scrolling action of the display interface, can realize flexible control of the scrolling mode of the touch screen, improve the positioning accuracy, and fully satisfy the user's intention, which is convenient for the user to use and enhances. user experience. The scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to fail to reflect the update in time, and does not meet the user's intention. problem.
可选地,上述步骤102可包括:Optionally, the foregoing step 102 may include:
步骤1021,判断所述压力信息的压力值是否小于预设的第一压力阈值,当所述压力信息的压力值小于所述第一压力阈值时,确定所述触摸操作为轻触操作。Step 1021: Determine whether the pressure value of the pressure information is less than a preset first pressure threshold. When the pressure value of the pressure information is less than the first pressure threshold, determine that the touch operation is a tap operation.
本步骤中,通过将用户进行触摸操作的压力值与预设的第一压力阈值进行比较,可判断用户的触摸操作是否为轻触。本文中为便于说明可将第一压力阈值标记为P1,若用户进行触摸操作的压力值小于P1,则用户此次触摸操作的压力较小,可确定为轻触。In this step, by comparing the pressure value of the touch operation performed by the user with the preset first pressure threshold, it can be determined whether the touch operation of the user is a light touch. For convenience of description, the first pressure threshold may be marked as P1. If the pressure value of the touch operation by the user is less than P1, the pressure of the user's touch operation is small, and the touch may be determined as a light touch.
其中,第一压力阈值P1可根据经验值进行设定。The first pressure threshold P1 can be set according to an empirical value.
步骤1022,判断所述压力信息的压力值是否大于预设的第二压力阈值,当所述压力信息的压力值大于所述第二压力阈值时,确定所述触摸操作为按压操作,其中,所述第二压力阈值大于或等于所述第一压力阈值。Step 1022, determining whether the pressure value of the pressure information is greater than a preset second pressure threshold. When the pressure value of the pressure information is greater than the second pressure threshold, determining that the touch operation is a pressing operation, wherein The second pressure threshold is greater than or equal to the first pressure threshold.
本步骤中,通过将用户进行触摸操作的压力值与预设的第二压力阈值进行比较,可判断用户的触摸操作是否为按压。本文中为便于说明可将第二压力阈值标记为P2,若用户进行触摸操作的压力值大于P2,则用户此次触摸操作的压力较大,可确定为按压。In this step, by comparing the pressure value of the user's touch operation with the preset second pressure threshold, it can be determined whether the user's touch operation is a press. For convenience of description, the second pressure threshold may be marked as P2. If the pressure value of the touch operation by the user is greater than P2, the pressure of the user's touch operation is large, and the pressure may be determined as pressing.
其中,进行按压判断的门限值(第二压力阈值P2)大于或等于进行轻触判断的门限值(第一压力阈值P1),即P2≥P1。第二压力阈值P2也可根据经验值进行设定。The threshold value (second pressure threshold value P2) for performing the press determination is greater than or equal to the threshold value (first pressure threshold value P1) at which the tap determination is performed, that is, P2 ≥ P1. The second pressure threshold P2 can also be set based on empirical values.
此时,通过预设的第一压力阈值和第二压力阈值,可准确区分用户进行触摸操作的操作类型,为接下来根据操作类型执行对应的操作动作,以实现不同的操作效果打下了基础。At this time, through the preset first pressure threshold and the second pressure threshold, the operation type of the user performing the touch operation can be accurately distinguished, and the corresponding operation action is performed according to the operation type, thereby laying a foundation for realizing different operation effects.
可选地,上述步骤103可包括:Optionally, the foregoing step 103 may include:
步骤1031,当所述触摸操作为按压操作时,控制所述触摸屏的显示界面进入受控滚动状态。Step 1031: When the touch operation is a pressing operation, the display interface of the touch screen is controlled to enter a controlled scrolling state.
这里,在触摸屏的显示界面进入受控滚动状态后,可通过改变触摸压力等方式对触摸屏的滚动效果实时进行调整,从而充分满足了用户的需求。Here, after the display interface of the touch screen enters the controlled scrolling state, the scrolling effect of the touch screen can be adjusted in real time by changing the touch pressure, etc., thereby fully satisfying the needs of the user.
步骤1032,在所述触摸屏的显示界面进入受控滚动状态后,继续检测所 述触击点的压力信息。Step 1032, after the display interface of the touch screen enters a controlled scroll state, continue to detect the location The pressure information of the touch point.
这里,在触摸屏进入受控滚动状态后,用户进行触摸操作的压力有可能发生变动,因此可以需要继续检测触击点的压力信息,以实时根据用户操作进行操作效果的调整。Here, after the touch screen enters the controlled scroll state, the pressure of the user performing the touch operation may change, so it may be necessary to continue to detect the pressure information of the touch point to adjust the operation effect according to the user operation in real time.
步骤1033,根据当前检测到的压力信息,确定滚动速率,并根据所述位置信息,确定滚动方向。Step 1033: Determine a scrolling rate according to the currently detected pressure information, and determine a scrolling direction according to the position information.
这里,在受控滚动状态下,根据当前新检测到的压力信息确定滚动速率,实现了结合压力信息对滚动速率的实时调整,并结合位置信息,可控制触摸屏滚动到指定位置。Here, in the controlled scrolling state, the scrolling rate is determined according to the currently newly detected pressure information, real-time adjustment of the scrolling rate by the combined pressure information is realized, and combined with the position information, the touchscreen can be controlled to scroll to the designated position.
步骤1034,根据所述滚动速率和所述滚动方向,控制所述触摸屏的显示界面进行滚动。Step 1034: Control a display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction.
此时,通过压力信息确定滚动速率,并通过位置信息确定滚动方向,可控制触摸屏的显示界面按照用户操作进行滚动,从而实现了对触摸屏滚动效果的实时调整,提高了实用性和便利性,提升了用户体验。At this time, the scrolling rate is determined by the pressure information, and the scrolling direction is determined by the position information, and the display interface of the touch screen can be controlled to scroll according to the user operation, thereby realizing the real-time adjustment of the rolling effect of the touch screen, improving the practicability and convenience, and improving The user experience.
可选地,上述步骤1033中,所述根据当前检测到的压力信息,确定滚动速率可包括:Optionally, in step 1033, the determining the scroll rate according to the currently detected pressure information may include:
步骤10331,判断当前检测到的压力信息的压力值是否小于所述第一压力阈值,得到判断结果。Step 10331: Determine whether the pressure value of the currently detected pressure information is less than the first pressure threshold, and obtain a determination result.
本步骤中,在触摸屏进入受控滚动状态后,可继续判断用户进行触摸操作的压力值是否大于第一压力阈值P1,并根据判断结果对触摸屏的滚动状态进行调整。In this step, after the touch screen enters the controlled scroll state, it may continue to determine whether the pressure value of the touch operation by the user is greater than the first pressure threshold P1, and adjust the scroll state of the touch screen according to the determination result.
步骤10332,当所述判断结果为否时,确定新检测到的压力信息的压力值除以预设的标准压力值的结果为速率因子,并确定所述速率因子与预设的标准速率的乘积为所述滚动速率。Step 10332, when the determination result is no, determining a result of dividing the pressure value of the newly detected pressure information by a preset standard pressure value as a rate factor, and determining a product of the rate factor and a preset standard rate. For the scroll rate.
这里,如果新检测到的压力信息的压力值不小于第一压力阈值P1,则可根据新检测到的压力信息控制滚动速率。本文中为便于说明可将标准压力值标记为P3,并将标准速率标记为R0。在新检测到的压力值大于或等于P1时,可使用新检测的压力值除以标准压力值P3的结果作为速率因子,速率因子乘以标准速率R0之后得到实际滚动速率。这样,强压力可产生高滚动速率,弱 压力可产生低滚动速率,从而方便了用户对滚动速率的控制。Here, if the pressure value of the newly detected pressure information is not less than the first pressure threshold P1, the scroll rate can be controlled based on the newly detected pressure information. For ease of illustration, the standard pressure value can be labeled P3 and the standard rate labeled R0. When the newly detected pressure value is greater than or equal to P1, the result of dividing the newly detected pressure value by the standard pressure value P3 may be used as the rate factor, and the rate factor is multiplied by the standard rate R0 to obtain the actual rolling rate. In this way, strong pressure can produce high rolling rates, weak Pressure can produce a low scroll rate, which facilitates user control of the scroll rate.
步骤10333,当所述判断结果为是时,确定不发生滚动。Step 10333, when the result of the determination is YES, it is determined that scrolling does not occur.
本步骤中,如果新检测到的压力值小于P1,则可以不执行任何动作,但滚动条可以仍然保持在受控滚动状态,即在用户施加的压力值大于P1时,触摸屏可立即进行受控滚动。In this step, if the newly detected pressure value is less than P1, no action can be performed, but the scroll bar can still remain in the controlled scroll state, that is, when the pressure value applied by the user is greater than P1, the touch screen can be immediately controlled. scroll.
此时,用户可通过简单的操作实现对触摸屏滚动速率的实时调整,从而方便了用户的使用,能够充分满足用户意图,提高了实用性和便利性。At this time, the user can realize real-time adjustment of the scrolling rate of the touch screen by a simple operation, thereby facilitating the use of the user, fully satisfying the user's intention, and improving the practicability and convenience.
可选地,所述触摸屏的显示界面中控制信息滚动的区域可包括:滚动条。Optionally, an area in the display interface of the touch screen that controls information scrolling may include: a scroll bar.
上述步骤1033中,所述根据所述位置信息,确定滚动方向可包括:In the above step 1033, the determining the scroll direction according to the location information may include:
步骤10334,当所述位置信息所指示的位置在除所述滚动条之外的区域时,确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向。Step 10334, when the location indicated by the location information is in an area other than the scroll bar, determining a direction in which the scroll bar moves toward the position indicated by the location information is the scroll direction.
本步骤中,如果用户进行触摸操作的位置在除滚动条之外的区域,则可确定滚动条向触摸操作指示的位置运动的方向为页面滚动方向。In this step, if the position at which the user performs the touch operation is in an area other than the scroll bar, it may be determined that the direction in which the scroll bar moves to the position indicated by the touch operation is the page scroll direction.
步骤10335,当所述位置信息所指示的位置在所述滚动条上时,确定不发生滚动。Step 10335, when the position indicated by the location information is on the scroll bar, it is determined that scrolling does not occur.
本步骤中,如果用户进行触摸操作的位置在滚动条上,则可以不发生滚动。这里可包括两种情况,一种是用户进行触摸操作的初始位置不在滚动条上,滚动条向触摸操作指示的位置运动,并运动到触摸操作指示的位置后结束滚动;另一种是用户进行触摸操作的初始位置在滚动条上,则滚动条不发生滚动。In this step, if the position where the user performs the touch operation is on the scroll bar, scrolling may not occur. There may be two cases here, one is that the initial position of the user performing the touch operation is not on the scroll bar, the scroll bar moves to the position indicated by the touch operation, and moves to the position indicated by the touch operation to end the scroll; the other is performed by the user. When the initial position of the touch operation is on the scroll bar, the scroll bar does not scroll.
可选地,上述步骤1034的步骤可以包括:Optionally, the step of step 1034 above may include:
步骤10341,当确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述位置信息所指示的位置时停止。Step 10341, when it is determined that the direction of movement of the scroll bar to the position indicated by the position information is the scroll direction, the display interface of the touch screen is controlled to the scroll direction according to the scroll bar according to the scroll bar. Scrolling and scrolling stops when the scroll bar reaches the position indicated by the location information.
其中,对于纵向设置的滚动条,可设置控制信息滚动的区域的顶端为原点,分别计算触击点的位置偏移L0,当前页顶位置偏移L1(即滚动条的顶端位置)和当前页底位置偏移L2(即滚动条的底端位置)。如果L0小于L1, 那么受控滚动的方向是由底向上;如果L0大于L2,那么受控滚动的方向是由顶向下。滚动过程中,可实时根据内容显示页面位置更新L1和L2。当滚动满足L1<L0<L2时,受控滚动可以结束。Wherein, for the vertically arranged scroll bar, the top end of the area where the control information is scrolled may be set as the origin, and the position offset L0 of the touch point is calculated, the current top position offset L1 (ie, the top position of the scroll bar) and the current page are respectively calculated. The bottom position is offset by L2 (ie, the bottom end position of the scroll bar). If L0 is less than L1, Then the direction of controlled scrolling is from bottom to top; if L0 is greater than L2, the direction of controlled scrolling is from top to bottom. During the scrolling process, L1 and L2 can be updated in real time according to the content display page position. When scrolling satisfies L1 < L0 < L2, controlled scrolling can end.
此时,在受控滚动状态下,用户可通过简单的操作使得页面滚动到恰当的位置,从而方便了用户的使用,能够充分满足用户意图,提高了实用性和便利性。At this time, in the controlled scrolling state, the user can scroll the page to the proper position by a simple operation, thereby facilitating the user's use, fully satisfying the user's intention, and improving the practicability and convenience.
可选地,所述触摸屏的显示界面中控制信息滚动的区域还可包括:指示该控制信息滚动的区域相对两端的两个端部指示区域。Optionally, the area in which the control information is scrolled in the display interface of the touch screen may further include: two end indication areas indicating opposite ends of the area where the control information is scrolled.
其中,如图2所示,对于纵向设置的滚动条可具有两个端部指示区域A0和A1,分别指示页面顶端和页面底端。Wherein, as shown in FIG. 2, the scroll bar for the longitudinal direction may have two end indication areas A0 and A1 indicating the top of the page and the bottom of the page, respectively.
上述步骤1033中,所述根据所述位置信息,确定滚动方向还可以包括:In the above step 1033, the determining the scroll direction according to the location information may further include:
步骤10336,当所述位置信息所指示的位置在所述端部指示区域内时,确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向。Step 10336, when the position indicated by the position information is within the end indication area, determining that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction.
可选地,上述步骤1034可以包括:Optionally, the foregoing step 1034 may include:
步骤10342,当确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述端部指示区域指示的一端时停止。Step 10342, when it is determined that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction, the display interface controlling the touch screen is scrolled according to the scroll bar according to the scroll rate. The direction scrolls and scrolls until the scroll bar reaches one end of the end indication area indication.
本步骤中,以纵向设置的滚动条为例,若触摸操作指示的位置在端部指示区域,则滚动的目标区域可以是触摸屏显示界面的页面顶端或者底端。即当触击A0区域时,无论精确的触击位置偏移为何值,触击点的位置偏移L0可以始终设置为显示界面的顶部偏移位置;当触击A1区域时,无论精确的触击偏移位置为何值,触击点的位置偏移L0可以始终设置为显示界面的底部偏移位置。因此,当触击A0或A1区域时,触摸屏显示界面可以分别滚动至页面顶部或者底部。In this step, the scroll bar set in the longitudinal direction is taken as an example. If the position indicated by the touch operation is in the end indication area, the target area of the scroll may be the top or bottom end of the page of the touch screen display interface. That is, when the A0 area is touched, regardless of the exact value of the touch position offset, the position offset L0 of the touch point can always be set to the top offset position of the display interface; when the A1 area is touched, regardless of the precise touch The value of the offset position is set, and the position offset L0 of the touch point can always be set to the bottom offset position of the display interface. Therefore, when the A0 or A1 area is touched, the touch screen display interface can be scrolled to the top or bottom of the page, respectively.
此时,可通过端部指示区域使得页面滚动到页面顶部或者底部,从而方便了用户的操作,提高了实用性和便利性。At this time, the page can be scrolled to the top or bottom of the page through the end indication area, thereby facilitating the user's operation and improving the usability and convenience.
可选地,所述在所述触摸屏的显示界面进入受控滚动状态后,所述控制 方法还可以包括:Optionally, after the display interface of the touch screen enters a controlled scroll state, the control The method can also include:
步骤104,启动一定时器,其中所述定时器的定时时间大于预设数目个采样周期,所述采样周期指检测触摸屏的触摸事件的周期,用户在触摸屏的显示界面中对控制信息滚动的区域进行一次触摸操作为一次触摸事件。Step 104: Start a timer, where the timing of the timer is greater than a preset number of sampling periods, where the sampling period refers to a period of detecting a touch event of the touch screen, and the user scrolls the control information in the display interface of the touch screen. A touch operation is a touch event.
本步骤中,当检测到第一个触摸事件,且确定该触摸事件为按压时,可以启动定时器,本文中为便于说明将定时器的定时时间标记为T0,预设数目标记为C0,T0值大于基本采样次数阈值C0,即T0大于C0个采样周期。这里,C0可取3。In this step, when the first touch event is detected and it is determined that the touch event is a press, the timer may be started. For convenience of description, the timing time of the timer is marked as T0, and the preset number is marked as C0, T0. The value is greater than the basic sampling number threshold C0, that is, T0 is greater than C0 sampling periods. Here, C0 can take 3.
步骤105,判断所述定时器的定时时间内是否检测到触摸事件,当在所述定时器的定时时间内没有检测到触摸事件时,控制所述触摸屏的显示界面退出受控滚动状态;当在所述定时器的定时时间内检测到触摸事件时,继续检测所述触击点的压力信息。Step 105: Determine whether a touch event is detected in the timing time of the timer. When no touch event is detected within the timing time of the timer, the display interface of the touch screen is controlled to exit the controlled scroll state; When the touch event is detected within the timing time of the timer, the pressure information of the touch point is continuously detected.
本步骤中,假定C0为3,如果3个采样周期内都没有检测到触摸事件输入,则可以退出受控滚动状态。In this step, it is assumed that C0 is 3. If no touch event input is detected within 3 sampling periods, the controlled scroll state can be exited.
此时,通过设置定时器,使得触摸屏进入受控滚动状态一段时间后,在没有检测到用户触摸操作的情况下能够自动退出,提高了实用性和智能化。At this time, by setting a timer, the touch screen can enter the controlled scrolling state for a period of time, and can automatically exit without detecting the user's touch operation, thereby improving the practicability and intelligence.
可选地,上述步骤103可包括:Optionally, the foregoing step 103 may include:
步骤1035,当所述触摸操作为轻触操作时,执行常规触击操作,如控制所述触摸屏的显示界面滚动到所述位置信息所指示的位置。Step 1035, when the touch operation is a tap operation, perform a normal touch operation, such as controlling a display interface of the touch screen to scroll to a position indicated by the position information.
本步骤中,如果用户进行轻触操作,则可控制滚动条执行常规的触击动作,即使显示界面滚动到触击点所指示的位置。该步骤可兼容相关技术中的软件实现。In this step, if the user performs a tap operation, the scroll bar can be controlled to perform a normal touch action even if the display interface scrolls to the position indicated by the touch point. This step is compatible with software implementations in the related art.
下面,结合图3,对本发明实施例的触摸屏的控制方法的具体实现举例说明如下。The specific implementation of the control method of the touch screen in the embodiment of the present invention is described below with reference to FIG.
图3为本发明实施例的触摸屏的控制方法的一可选实施方式的流程图,如图3所示,该流程包括:FIG. 3 is a flowchart of an optional implementation manner of a method for controlling a touch screen according to an embodiment of the present invention. As shown in FIG. 3, the process includes:
步骤301,在检测到用户在触摸屏的显示界面中控制信息滚动的区域进行触摸操作时,获取触击点的位置信息和压力信息。Step 301: Acquire location information and pressure information of the touch point when detecting that the user performs a touch operation on the area where the information is scrolled in the display interface of the touch screen.
本流程中,压力触摸屏在正常工作状态,用户在触摸屏上的触击操作都 会被检测到。本步骤中可将捕捉到的事件发生位置的位置信息和压力信息转换为数字信号。In this process, the pressure touch screen is in a normal working state, and the user touches the touch screen. Will be detected. In this step, the position information and the pressure information of the captured event occurrence position can be converted into a digital signal.
其中,触摸屏的显示界面中控制信息滚动的区域可包括滚动条,还可包括指示该控制信息滚动的区域相对两端的两个端部指示区域。The area in which the control information is scrolled in the display interface of the touch screen may include a scroll bar, and may further include two end indication areas at opposite ends of the area indicating the scrolling of the control information.
步骤302,判断压力信息的压力值是否小于预设的第一压力阈值P1,当压力信息的压力值小于第一压力阈值P1时,确定触摸操作为轻触操作。Step 302: Determine whether the pressure value of the pressure information is less than a preset first pressure threshold P1. When the pressure value of the pressure information is less than the first pressure threshold P1, determine that the touch operation is a tap operation.
这里,可将触摸事件的按压力量参数与第一压力阈值P1进行比较,如果按压力小于P1,则可以为触摸事件添加“轻触”标识。Here, the pressing force parameter of the touch event can be compared with the first pressure threshold P1, and if the pressing force is less than P1, a "tap" flag can be added for the touch event.
步骤303,判断压力信息的压力值是否大于预设的第二压力阈值P2,当压力信息的压力值大于第二压力阈值P2时,确定触摸操作为按压操作。其中,P2≥P1。Step 303: Determine whether the pressure value of the pressure information is greater than a preset second pressure threshold P2. When the pressure value of the pressure information is greater than the second pressure threshold P2, determine that the touch operation is a pressing operation. Among them, P2 ≥ P1.
这里,可将触摸事件的按压力量参数继续与P2进行比较,如果按压力大于P2,则可以为触摸事件添加“按压”标识,其它事件不设置标识。Here, the pressing force parameter of the touch event can be continuously compared with P2. If the pressing force is greater than P2, a "press" flag can be added for the touch event, and other events do not set the flag.
步骤304,当触摸事件被标记为“轻触”时,使触摸屏的显示界面滚动到触击点所标示的位置。 Step 304, when the touch event is marked as "tap", scroll the display interface of the touch screen to the position indicated by the touch point.
步骤305,当触摸事件被标记为“按压”时,使触摸屏的显示界面进入受控滚动状态。 Step 305, when the touch event is marked as "press", the display interface of the touch screen is brought into a controlled scroll state.
步骤306,在显示界面进入受控滚动状态后,继续检测触击点的压力信息。 Step 306, after the display interface enters the controlled scroll state, continues to detect the pressure information of the touch point.
步骤307,根据当前检测到的压力信息,确定滚动速率。Step 307: Determine a scroll rate according to the currently detected pressure information.
判断当前检测到的压力值是否小于第一压力阈值P1,当判断结果为否时,可以使用当前检测到的压力值除以标准压力值P3的结果作为速率因子,速率因子乘以标准速率R0的结果作为实际滚动速率。当判断结果为是时,可以确定不发生滚动,但可以仍保持在受控滚动的状态。Determining whether the currently detected pressure value is less than the first pressure threshold P1. When the determination result is no, the result of dividing the currently detected pressure value by the standard pressure value P3 may be used as the rate factor, and the rate factor is multiplied by the standard rate R0. The result is taken as the actual scroll rate. When the result of the determination is YES, it can be determined that scrolling does not occur, but can still remain in a controlled scrolling state.
步骤308,根据位置信息,确定滚动方向。 Step 308, determining a scroll direction according to the location information.
当位置信息指示的位置在除滚动条之外的区域时,可确定滚动条向位置信息指示的位置运动的方向为滚动方向,并控制触摸屏的显示界面随滚动条按照滚动速率向滚动方向滚动,滚动至所述滚动条到达所述位置信息所指示的位置时停止。 When the position indicated by the position information is in an area other than the scroll bar, it may be determined that the direction of the position movement indicated by the scroll bar to the position information is a scroll direction, and the display interface of the touch screen is controlled to scroll in the scroll direction according to the scroll rate. Scrolling stops when the scroll bar reaches the position indicated by the position information.
当位置信息指示的位置在滚动条上时,可确定不发生滚动。When the position indicated by the position information is on the scroll bar, it can be determined that scrolling does not occur.
当位置信息指示的位置在端部指示区域内时,可确定滚动条向端部指示区域指示的一端运动的方向为滚动方向,并控制控制触摸屏的显示界面随滚动条按照滚动速率向滚动方向滚动,滚动至滚动条到达端部指示区域指示的一端时停止。When the position indicated by the position information is in the end indication area, it may be determined that the direction in which the scroll bar indicates the end movement of the end indication area is the scroll direction, and the display interface controlling the touch screen is scrolled to the scroll direction according to the scroll rate. , scrolls to the end when the scroll bar reaches the end indicated by the end indication area.
其中,以纵向设置的滚动条为例,对于纵向设置的滚动条具有两个端部指示区域A0和A1,分别指示页面顶端和页面底端。可以设置控制信息滚动的区域的顶端为原点,分别计算触击点的位置偏移L0,当前页顶位置偏移L1(即滚动条的顶端位置)和当前页底位置偏移L2(即滚动条的底端位置)。如果L0小于L1,那么受控滚动的方向是由底向上;如果L0大于L2,那么受控滚动的方向是由顶向下。滚动过程中,可以实时根据内容显示页面位置更新L1和L2。当滚动满足L1<L0<L2时,受控滚动可以结束。当触击A0或A1区域时,触摸屏显示界面可以分别滚动至页面顶部或者底部。For example, in the longitudinally arranged scroll bar, for the vertically arranged scroll bar, there are two end indication areas A0 and A1, which respectively indicate the top of the page and the bottom of the page. The top end of the area where the control information is scrolled may be set as the origin, and the position offset L0 of the touch point is calculated, the current top position offset L1 (ie, the top position of the scroll bar) and the current bottom position offset L2 (ie, the scroll bar) The bottom position)). If L0 is less than L1, then the direction of controlled scrolling is from bottom to top; if L0 is greater than L2, the direction of controlled scrolling is from top to bottom. During the scrolling process, L1 and L2 can be updated in real time according to the content display page position. When scrolling satisfies L1 < L0 < L2, controlled scrolling can end. When the A0 or A1 area is tapped, the touch screen display interface can be scrolled to the top or bottom of the page, respectively.
步骤309,在显示界面进入受控滚动状态后,启动一定时器,其中该定时器的定时时间T0大于C0个(如3个)采样周期。采样周期指检测触摸屏的触摸事件的周期。Step 309: After the display interface enters the controlled scroll state, a timer is started, wherein the timer time T0 of the timer is greater than C0 (eg, 3) sampling periods. The sampling period refers to the period of detecting a touch event of the touch screen.
步骤310,当在该定时器的定时时间内没有检测到触摸事件时,控制触摸屏的显示界面退出受控滚动状态;当在该定时器的定时时间内检测到触摸事件时,继续执行上述步骤306至308,直到停止滚动。Step 310: When no touch event is detected within the timing time of the timer, the display interface of the control touch screen exits the controlled scroll state; when the touch event is detected within the timing time of the timer, the above step 306 is continued. Until 308, until the scrolling stops.
综上,本发明实施例的触摸屏的控制方法,结合压力信息控制显示界面的滚动动作,可实现对触摸屏滚动方式的灵活控制,提高了定位精度,且能充分满足用户意图,方便了用户的使用,增强了用户体验。解决了相关技术中滚动条操作基于固定比例放大操作效果,易导致无法精确定位,且用户滑动速度过快或偏移轨迹较大,易造成滚动条不能及时反映更新,不符合用户意图的问题。In summary, the control method of the touch screen according to the embodiment of the present invention, combined with the pressure information to control the scrolling action of the display interface, can realize flexible control of the scrolling mode of the touch screen, improve the positioning accuracy, and fully satisfy the user's intention, and facilitate the use of the user. , enhance the user experience. The scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to not reflect the update in time, and does not meet the user's intention.
例如,当用户需要在较长的文本内容中确定一段具体的内容时,可以用力按压预期的位置附近,等待内容页面逐渐滚动到该预期的位置。如果对滚动的速率不满意,可以通过调整按压的力度切换不同的滚动速率,以满足多重需求。用户也可以通过按压顶部或底部的端部指示区域,使页面完全滚动 到顶部或底部来进行全内容浏览。For example, when a user needs to determine a specific piece of content in a long text content, the user can press hard on the vicinity of the expected location, waiting for the content page to gradually scroll to the desired location. If you are not satisfied with the rate of scrolling, you can switch between different scrolling rates by adjusting the force of the press to meet multiple needs. The user can also scroll the page completely by pressing the top or bottom end indication area. Go to the top or bottom for full content browsing.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述触摸屏的控制方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
如图4所示,本发明实施例还提供一种触摸屏的控制装置,包括:As shown in FIG. 4, an embodiment of the present invention further provides a control device for a touch screen, including:
获取模块,设置为:在检测到用户在触摸屏的显示界面中控制信息滚动的区域进行触摸操作时,获取触击点的位置信息和压力信息;The acquiring module is configured to: when detecting a user performing a touch operation on an area where the information is scrolled in the display interface of the touch screen, acquiring position information and pressure information of the touch point;
确定模块,设置为:根据所述压力信息,确定所述触摸操作对应的操作类型;Determining a module, configured to: determine, according to the pressure information, an operation type corresponding to the touch operation;
控制模块,设置为:根据所述触摸操作对应的操作类型和所述位置信息,控制所述触摸屏的显示界面执行相应的动作。The control module is configured to: control the display interface of the touch screen to perform a corresponding action according to the operation type and the position information corresponding to the touch operation.
本发明实施例的触摸屏的控制装置,结合压力信息控制显示界面的滚动动作,可实现对触摸屏滚动方式的灵活控制,提高了定位精度,且能充分满足用户意图,方便了用户的使用,增强了用户体验。解决了相关技术中滚动条操作基于固定比例放大操作效果,易导致无法精确定位,且用户滑动速度过快或偏移轨迹较大,易造成滚动条不能及时反映更新,不符合用户意图的问题。The touch screen control device of the embodiment of the invention combines the pressure information to control the scrolling action of the display interface, can realize flexible control of the touch screen scrolling mode, improves the positioning precision, and can fully satisfy the user's intention, and is convenient for the user to use and enhances. user experience. The scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to not reflect the update in time, and does not meet the user's intention.
可选地,所述确定模块可以包括:Optionally, the determining module may include:
第一确定单元,设置为:判断所述压力信息的压力值是否小于预设的第一压力阈值,当所述压力信息的压力值小于所述第一压力阈值时,确定所述触摸操作为轻触操作;The first determining unit is configured to: determine whether the pressure value of the pressure information is less than a preset first pressure threshold, and determine that the touch operation is light when the pressure value of the pressure information is less than the first pressure threshold Touch operation
第二确定单元,设置为:判断所述压力信息的压力值是否大于预设的第二压力阈值,当所述压力信息的压力值大于所述第二压力阈值时,确定所述触摸操作为按压操作,其中,所述第二压力阈值大于或等于所述第一压力阈值。The second determining unit is configured to: determine whether the pressure value of the pressure information is greater than a preset second pressure threshold, and determine that the touch operation is pressing when the pressure value of the pressure information is greater than the second pressure threshold Operation, wherein the second pressure threshold is greater than or equal to the first pressure threshold.
可选地,所述控制模块可以包括:Optionally, the control module may include:
第一控制单元,设置为:当所述触摸操作为按压操作时,控制所述触摸屏的显示界面进入受控滚动状态;a first control unit, configured to: when the touch operation is a pressing operation, control a display interface of the touch screen to enter a controlled scrolling state;
检测单元,设置为:在所述触摸屏的显示界面进入受控滚动状态后,继续检测所述触击点的压力信息; The detecting unit is configured to: after the display interface of the touch screen enters the controlled scrolling state, continue to detect the pressure information of the touch point;
第三确定单元,设置为:根据当前检测到的压力信息,确定滚动速率,并根据所述位置信息,确定滚动方向;a third determining unit, configured to: determine a scrolling rate according to the currently detected pressure information, and determine a scrolling direction according to the position information;
第二控制单元,设置为:根据所述滚动速率和所述滚动方向,控制所述触摸屏的显示界面进行滚动。The second control unit is configured to: control the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction.
可选地,所述第三确定单元可以包括:Optionally, the third determining unit may include:
判断子单元,设置为:判断当前检测到的压力信息的压力值是否小于所述第一压力阈值,得到判断结果;The determining subunit is configured to: determine whether the pressure value of the currently detected pressure information is less than the first pressure threshold, and obtain a determination result;
第一确定子单元,设置为:当所述判断结果为否时,确定新检测到的压力信息的压力值除以预设的标准压力值的结果为速率因子,并确定所述速率因子与预设的标准速率的乘积为所述滚动速率;a first determining subunit, configured to: when the determining result is no, determining a result of dividing the pressure value of the newly detected pressure information by a preset standard pressure value as a rate factor, and determining the rate factor and the pre-determination The product of the set standard rate is the scroll rate;
第二确定子单元,设置为:当所述判断结果为是时,确定不发生滚动。The second determining subunit is configured to: when the determination result is YES, determine that scrolling does not occur.
其中,所述触摸屏的显示界面中控制信息滚动的区域包括:滚动条;The area in which the control information is scrolled in the display interface of the touch screen includes: a scroll bar;
所述第三确定单元可以包括:The third determining unit may include:
第三确定子单元,设置为:当所述位置信息所指示的位置在除所述滚动条之外的区域时,确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向;a third determining subunit, configured to: when the position indicated by the position information is in an area other than the scroll bar, determining a direction in which the scroll bar moves to a position indicated by the position information is Rolling direction
第四确定子单元,设置为:当所述位置信息所指示的位置在所述滚动条上时,确定不发生滚动。The fourth determining subunit is configured to determine that scrolling does not occur when the position indicated by the position information is on the scroll bar.
可选地,所述第二控制单元可以包括:Optionally, the second control unit may include:
第一控制子单元,设置为:当确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述位置信息所指示的位置时停止。a first control subunit, configured to: when determining a direction in which the scroll bar moves to a position indicated by the position information is the scroll direction, control a display interface of the touch screen to follow the scroll bar according to the scrolling The rate scrolls in the scrolling direction and scrolls until the scroll bar reaches the position indicated by the position information.
可选地,所述触摸屏的显示界面中控制信息滚动的区域还包括:指示该控制信息滚动的区域相对两端的两个端部指示区域;Optionally, the area in which the control information is scrolled in the display interface of the touch screen further includes: two end indication areas indicating opposite ends of the area where the control information is scrolled;
所述第三确定单元还可以包括:The third determining unit may further include:
第五确定子单元,设置为:当所述位置信息所指示的位置在所述端部指示区域内时,确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向。 a fifth determining subunit, configured to: when the position indicated by the position information is within the end indicating area, determine a direction in which the scroll bar moves toward an end indicated by the end indicating area as the scrolling direction.
可选地,所述第二控制单元可以包括:Optionally, the second control unit may include:
第二控制子单元,设置为:当确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述端部指示区域指示的一端时停止。a second control subunit, configured to: when determining that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction, the display interface that controls the touch screen follows the scroll bar The scroll rate scrolls in the scroll direction and scrolls until the scroll bar reaches one end of the end indication area indication.
可选地,所述控制装置还可以包括:Optionally, the control device may further include:
启动模块,设置为:启动一定时器,其中所述定时器的定时时间大于预设数目个采样周期,所述采样周期指检测触摸屏的触摸事件的周期,用户在触摸屏的显示界面中对控制信息滚动的区域进行一次触摸操作为一次触摸事件;The startup module is configured to: start a timer, where the timing of the timer is greater than a preset number of sampling periods, where the sampling period refers to a period of detecting a touch event of the touch screen, and the user controls the information in the display interface of the touch screen The touch area performs one touch operation as one touch event;
判断模块,设置为:判断所述定时器的定时时间内是否检测到触摸事件,当在所述定时器的定时时间内没有检测到触摸事件时,控制所述触摸屏的显示界面退出受控滚动状态;当在所述定时器的定时时间内检测到触摸事件时,继续检测所述触击点的压力信息。The determining module is configured to: determine whether a touch event is detected in the timing time of the timer, and when the touch event is not detected within the timing time of the timer, control the display interface of the touch screen to exit the controlled scrolling state When the touch event is detected within the timing time of the timer, the pressure information of the touch point is continuously detected.
可选地,所述控制模块可以包括:Optionally, the control module may include:
第三控制单元,设置为:当所述触摸操作为轻触操作时,执行常规触击操作,如控制所述触摸屏的显示界面滚动到所述位置信息所指示的位置。The third control unit is configured to: when the touch operation is a tap operation, perform a normal touch operation, such as controlling a display interface of the touch screen to scroll to a position indicated by the position information.
本发明实施例的触摸屏的控制装置,结合压力信息控制显示界面的滚动动作,可实现对触摸屏滚动方式的灵活控制,提高了定位精度,且能充分满足用户意图,方便了用户的使用,增强了用户体验。解决了相关技术中滚动条操作基于固定比例放大操作效果,易导致无法精确定位,且用户滑动速度过快或偏移轨迹较大,易造成滚动条不能及时反映更新,不符合用户意图的问题。The touch screen control device of the embodiment of the invention combines the pressure information to control the scrolling action of the display interface, can realize flexible control of the touch screen scrolling mode, improves the positioning precision, and can fully satisfy the user's intention, and is convenient for the user to use and enhances. user experience. The scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to not reflect the update in time, and does not meet the user's intention.
需要说明的是,该触摸屏的控制装置是与上述触摸屏的控制方法相对应的装置,其中上述方法实施例中所有实现方式均适用于该装置的实施例中,也能达到同样的技术效果。It should be noted that the control device of the touch screen is a device corresponding to the control method of the touch panel, and all the implementation manners in the foregoing method embodiments are applicable to the embodiment of the device, and the same technical effects can be achieved.
由于本发明实施例的触摸屏的控制装置可以应用于终端,因此,本发明实施例还提供一种终端,包括:如上述实施例中所述的触摸屏的控制装置。其中,上述触摸屏的控制装置的所述实现实施例均适用于该终端的实施例中, 也能达到相同的技术效果。本发明实施例的终端如可以是手机、平板电脑等移动电子设备。The control device of the touch screen of the embodiment of the present invention can be applied to the terminal. Therefore, the embodiment of the present invention further provides a terminal, including: the control device of the touch screen as described in the foregoing embodiment. Wherein the implementation embodiments of the control device of the touch screen are applicable to the embodiment of the terminal, Can also achieve the same technical effect. The terminal in the embodiment of the present invention may be a mobile electronic device such as a mobile phone or a tablet computer.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件、处理器等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, processor, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
本领域的普通技术人员可以理解,可以对本申请的技术方案进行修改或者等同替换,而不脱离本申请技术方案的精神和范围。A person skilled in the art can understand that the technical solutions of the present application can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present application.
工业实用性Industrial applicability
通过本发明实施例的触摸屏的控制方法,在检测到用户在触摸屏的显示界面中控制信息滚动的区域进行触摸操作时,获取触击点的位置信息和压力信息;根据压力信息,确定触摸操作对应的操作类型;根据触摸操作对应的操作类型和位置信息,控制触摸屏的显示界面执行相应的动作。该方法结合压力信息控制显示界面的滚动动作,可实现对触摸屏滚动方式的灵活控制,提高了定位精度,且能充分满足用户意图,方便了用户的使用,增强了用户体验。解决了相关技术中滚动条操作基于固定比例放大操作效果,易导致无法精确定位,且用户滑动速度过快或偏移轨迹较大,易造成滚动条不能及时反映更新,不符合用户意图的问题。 According to the control method of the touch screen of the embodiment of the present invention, when detecting that the user performs a touch operation on the area where the information is scrolled in the display interface of the touch screen, the position information and the pressure information of the touch point are acquired; and the touch operation is determined according to the pressure information. The operation type; according to the operation type and position information corresponding to the touch operation, the display interface of the touch screen is controlled to perform the corresponding action. The method combines the pressure information to control the scrolling action of the display interface, can realize flexible control of the touch screen scrolling mode, improves the positioning precision, and can fully satisfy the user's intention, facilitates the use of the user, and enhances the user experience. The scroll bar operation in the related art is solved based on the effect of the fixed scale enlargement operation, which may result in inaccurate positioning, and the user sliding speed is too fast or the offset track is large, which may cause the scroll bar to not reflect the update in time, and does not meet the user's intention.

Claims (19)

  1. 一种触摸屏的控制方法,包括:A touch screen control method includes:
    在检测到用户在触摸屏的显示界面中控制信息滚动的区域进行触摸操作时,获取触击点的位置信息和压力信息;Obtaining location information and pressure information of the touch point when detecting that the user performs a touch operation in an area where the information is scrolled in the display interface of the touch screen;
    根据所述压力信息,确定所述触摸操作对应的操作类型;Determining, according to the pressure information, an operation type corresponding to the touch operation;
    根据所述触摸操作对应的操作类型和所述位置信息,控制所述触摸屏的显示界面执行相应的动作。Controlling the display interface of the touch screen to perform a corresponding action according to the operation type corresponding to the touch operation and the location information.
  2. 根据权利要求1所述的控制方法,其中,所述根据所述压力信息,确定所述触摸操作对应的操作类型包括:The control method according to claim 1, wherein the determining the operation type corresponding to the touch operation according to the pressure information comprises:
    判断所述压力信息的压力值是否小于预设的第一压力阈值,当所述压力信息的压力值小于所述第一压力阈值时,确定所述触摸操作为轻触操作;Determining whether the pressure value of the pressure information is less than a preset first pressure threshold, and determining that the touch operation is a tap operation when the pressure value of the pressure information is less than the first pressure threshold;
    判断所述压力信息的压力值是否大于预设的第二压力阈值,当所述压力信息的压力值大于所述第二压力阈值时,确定所述触摸操作为按压操作,其中,所述第二压力阈值大于或等于所述第一压力阈值。Determining whether the pressure value of the pressure information is greater than a preset second pressure threshold. When the pressure value of the pressure information is greater than the second pressure threshold, determining that the touch operation is a pressing operation, wherein the second The pressure threshold is greater than or equal to the first pressure threshold.
  3. 根据权利要求2所述的控制方法,其中,所述根据所述触摸操作对应的操作类型和所述位置信息,控制所述触摸屏的显示界面执行相应的动作包括:The control method according to claim 2, wherein the controlling the display interface of the touch screen to perform a corresponding action according to the operation type and the location information corresponding to the touch operation comprises:
    当所述触摸操作为按压操作时,控制所述触摸屏的显示界面进入受控滚动状态;When the touch operation is a pressing operation, controlling a display interface of the touch screen to enter a controlled scrolling state;
    在所述触摸屏的显示界面进入受控滚动状态后,继续检测所述触击点的压力信息;After the display interface of the touch screen enters the controlled scroll state, the pressure information of the touch point is continuously detected;
    根据当前检测到的压力信息,确定滚动速率,并根据所述位置信息,确定滚动方向;Determining a scrolling rate according to the currently detected pressure information, and determining a scrolling direction according to the position information;
    根据所述滚动速率和所述滚动方向,控制所述触摸屏的显示界面进行滚动。Controlling the display interface of the touch screen to scroll according to the scroll rate and the scroll direction.
  4. 根据权利要求3所述的控制方法,其中,所述根据当前检测到的压力信息,确定滚动速率包括: The control method according to claim 3, wherein the determining the scroll rate based on the currently detected pressure information comprises:
    判断当前检测到的压力信息的压力值是否小于所述第一压力阈值,得到判断结果;Determining whether the pressure value of the currently detected pressure information is less than the first pressure threshold, and obtaining a determination result;
    当所述判断结果为否时,确定新检测到的压力信息的压力值除以预设的标准压力值的结果为速率因子,并确定所述速率因子与预设的标准速率的乘积为所述滚动速率;When the determination result is no, determining that the pressure value of the newly detected pressure information is divided by the preset standard pressure value is a rate factor, and determining that the product of the rate factor and the preset standard rate is the Rolling rate
    当所述判断结果为是时,确定不发生滚动。When the result of the determination is YES, it is determined that scrolling does not occur.
  5. 根据权利要求3所述的控制方法,其中,所述触摸屏的显示界面中控制信息滚动的区域包括:滚动条;The control method according to claim 3, wherein the area in which the control information is scrolled in the display interface of the touch screen comprises: a scroll bar;
    所述根据所述位置信息,确定滚动方向包括:Determining the scroll direction according to the location information includes:
    当所述位置信息所指示的位置在除所述滚动条之外的区域时,确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向;When the position indicated by the position information is in an area other than the scroll bar, determining a direction in which the scroll bar moves toward the position indicated by the position information is the scroll direction;
    当所述位置信息所指示的位置在所述滚动条上时,确定不发生滚动。When the position indicated by the position information is on the scroll bar, it is determined that scrolling does not occur.
  6. 根据权利要求5所述的控制方法,其中,所述根据所述滚动速率和所述滚动方向,控制所述触摸屏的显示界面进行滚动包括:The control method according to claim 5, wherein the controlling the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction comprises:
    当确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述位置信息所指示的位置时停止。When it is determined that the direction in which the scroll bar moves toward the position indicated by the position information is the scroll direction, the display interface that controls the touch screen scrolls toward the scroll direction according to the scroll bar with the scroll bar, and Scrolling stops when the scroll bar reaches the position indicated by the position information.
  7. 根据权利要求5所述的控制方法,所述触摸屏的显示界面中控制信息滚动的区域还包括:指示该控制信息滚动的区域相对两端的两个端部指示区域;The control method according to claim 5, wherein the area in which the control information is scrolled in the display interface of the touch screen further comprises: two end indication areas indicating opposite ends of the area where the control information is scrolled;
    所述根据所述位置信息,确定滚动方向还包括:The determining the scroll direction according to the location information further includes:
    当所述位置信息所指示的位置在所述端部指示区域内时,确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向。When the position indicated by the position information is within the end indication area, determining that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction.
  8. 根据权利要求7所述的控制方法,其中,所述根据所述滚动速率和所述滚动方向,控制所述触摸屏的显示界面进行滚动包括:The control method according to claim 7, wherein the controlling the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction comprises:
    当确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所 述滚动方向滚动,并滚动至所述滚动条到达所述端部指示区域指示的一端时停止。When it is determined that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction, the display interface controlling the touch screen follows the scroll bar according to the scroll rate The scroll direction scrolls and scrolls until the scroll bar reaches one end of the end indication area indication.
  9. 根据权利要求3所述的控制方法,所述在所述触摸屏的显示界面进入受控滚动状态后,所述控制方法还包括:The control method according to claim 3, after the display interface of the touch screen enters a controlled scrolling state, the control method further includes:
    启动一定时器,其中所述定时器的定时时间大于预设数目个采样周期,所述采样周期指检测触摸屏的触摸事件的周期,用户在触摸屏的显示界面中对控制信息滚动的区域进行一次触摸操作为一次触摸事件;A timer is started, wherein a timing of the timer is greater than a preset number of sampling periods, where the sampling period refers to a period of detecting a touch event of the touch screen, and the user touches the area where the control information is scrolled in the display interface of the touch screen. The operation is a touch event;
    判断所述定时器的定时时间内是否检测到触摸事件,当在所述定时器的定时时间内没有检测到触摸事件时,控制所述触摸屏的显示界面退出受控滚动状态;当在所述定时器的定时时间内检测到触摸事件时,继续检测所述触击点的压力信息。Determining whether a touch event is detected in a timing time of the timer, and when a touch event is not detected within a timing time of the timer, controlling a display interface of the touch screen to exit a controlled scroll state; when at the timing When a touch event is detected within the timing time of the device, the pressure information of the touch point is continuously detected.
  10. 一种触摸屏的控制装置,包括:A touch screen control device includes:
    获取模块,设置为:在检测到用户在触摸屏的显示界面中控制信息滚动的区域进行触摸操作时,获取触击点的位置信息和压力信息;The acquiring module is configured to: when detecting a user performing a touch operation on an area where the information is scrolled in the display interface of the touch screen, acquiring position information and pressure information of the touch point;
    确定模块,设置为:根据所述压力信息,确定所述触摸操作对应的操作类型;Determining a module, configured to: determine, according to the pressure information, an operation type corresponding to the touch operation;
    控制模块,设置为:根据所述触摸操作对应的操作类型和所述位置信息,控制所述触摸屏的显示界面执行相应的动作。The control module is configured to: control the display interface of the touch screen to perform a corresponding action according to the operation type and the position information corresponding to the touch operation.
  11. 根据权利要求10所述的控制装置,其中,所述确定模块包括:The control device according to claim 10, wherein the determining module comprises:
    第一确定单元,设置为:判断所述压力信息的压力值是否小于预设的第一压力阈值,当所述压力信息的压力值小于所述第一压力阈值时,确定所述触摸操作为轻触操作;The first determining unit is configured to: determine whether the pressure value of the pressure information is less than a preset first pressure threshold, and determine that the touch operation is light when the pressure value of the pressure information is less than the first pressure threshold Touch operation
    第二确定单元,设置为:判断所述压力信息的压力值是否大于预设的第二压力阈值,当所述压力信息的压力值大于所述第二压力阈值时,确定所述触摸操作为按压操作,其中,所述第二压力阈值大于或等于所述第一压力阈值。The second determining unit is configured to: determine whether the pressure value of the pressure information is greater than a preset second pressure threshold, and determine that the touch operation is pressing when the pressure value of the pressure information is greater than the second pressure threshold Operation, wherein the second pressure threshold is greater than or equal to the first pressure threshold.
  12. 根据权利要求11所述的控制装置,其中,所述控制模块包括:The control device according to claim 11, wherein the control module comprises:
    第一控制单元,设置为:当所述触摸操作为按压操作时,控制所述触摸 屏的显示界面进入受控滚动状态;a first control unit configured to: when the touch operation is a pressing operation, control the touch The display interface of the screen enters a controlled scrolling state;
    检测单元,设置为:在所述触摸屏的显示界面进入受控滚动状态后,继续检测所述触击点的压力信息;The detecting unit is configured to: after the display interface of the touch screen enters the controlled scrolling state, continue to detect the pressure information of the touch point;
    第三确定单元,设置为:根据当前检测到的压力信息,确定滚动速率,并根据所述位置信息,确定滚动方向;a third determining unit, configured to: determine a scrolling rate according to the currently detected pressure information, and determine a scrolling direction according to the position information;
    第二控制单元,设置为:根据所述滚动速率和所述滚动方向,控制所述触摸屏的显示界面进行滚动。The second control unit is configured to: control the display interface of the touch screen to perform scrolling according to the scrolling rate and the scrolling direction.
  13. 根据权利要求12所述的控制装置,其中,所述第三确定单元包括:The control device according to claim 12, wherein the third determining unit comprises:
    判断子单元,设置为:判断当前检测到的压力信息的压力值是否小于所述第一压力阈值,得到判断结果;The determining subunit is configured to: determine whether the pressure value of the currently detected pressure information is less than the first pressure threshold, and obtain a determination result;
    第一确定子单元,设置为:当所述判断结果为否时,确定新检测到的压力信息的压力值除以预设的标准压力值的结果为速率因子,并确定所述速率因子与预设的标准速率的乘积为所述滚动速率;a first determining subunit, configured to: when the determining result is no, determining a result of dividing the pressure value of the newly detected pressure information by a preset standard pressure value as a rate factor, and determining the rate factor and the pre-determination The product of the set standard rate is the scroll rate;
    第二确定子单元,设置为:当所述判断结果为是时,确定不发生滚动。The second determining subunit is configured to: when the determination result is YES, determine that scrolling does not occur.
  14. 根据权利要求12所述的控制装置,其中,所述触摸屏的显示界面中控制信息滚动的区域包括:滚动条;The control device according to claim 12, wherein the area in the display interface of the touch screen that controls the scrolling of the information comprises: a scroll bar;
    所述第三确定单元包括:The third determining unit includes:
    第三确定子单元,设置为:当所述位置信息所指示的位置在除所述滚动条之外的区域时,确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向;a third determining subunit, configured to: when the position indicated by the position information is in an area other than the scroll bar, determining a direction in which the scroll bar moves to a position indicated by the position information is Rolling direction
    第四确定子单元,设置为:当所述位置信息所指示的位置在所述滚动条上时,确定不发生滚动。The fourth determining subunit is configured to determine that scrolling does not occur when the position indicated by the position information is on the scroll bar.
  15. 根据权利要求14所述的控制装置,其中,所述第二控制单元包括:The control device according to claim 14, wherein said second control unit comprises:
    第一控制子单元,设置为:当确定所述滚动条向所述位置信息所指示的位置运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述位置信息所指示的位置时停止。 a first control subunit, configured to: when determining a direction in which the scroll bar moves to a position indicated by the position information is the scroll direction, control a display interface of the touch screen to follow the scroll bar according to the scrolling The rate scrolls in the scrolling direction and scrolls until the scroll bar reaches the position indicated by the position information.
  16. 根据权利要求14所述的控制装置,所述触摸屏的显示界面中控制信息滚动的区域还包括:指示该控制信息滚动的区域相对两端的两个端部指示区域;The control device according to claim 14, wherein the area in which the control information is scrolled in the display interface of the touch screen further comprises: two end indication areas indicating opposite ends of the area where the control information is scrolled;
    所述第三确定单元还包括:The third determining unit further includes:
    第五确定子单元,设置为:当所述位置信息所指示的位置在所述端部指示区域内时,确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向。a fifth determining subunit, configured to: when the position indicated by the position information is within the end indicating area, determine a direction in which the scroll bar moves toward an end indicated by the end indicating area as the scrolling direction.
  17. 根据权利要求16所述的控制装置,其中,所述第二控制单元包括:The control device according to claim 16, wherein said second control unit comprises:
    第二控制子单元,设置为:当确定所述滚动条向所述端部指示区域指示的一端运动的方向为所述滚动方向时,控制所述触摸屏的显示界面随所述滚动条按照所述滚动速率向所述滚动方向滚动,并滚动至所述滚动条到达所述端部指示区域指示的一端时停止。a second control subunit, configured to: when determining that the direction in which the scroll bar moves toward the end indicated by the end indication area is the scroll direction, the display interface that controls the touch screen follows the scroll bar The scroll rate scrolls in the scroll direction and scrolls until the scroll bar reaches one end of the end indication area indication.
  18. 根据权利要求12所述的控制装置,所述控制装置还包括:The control device according to claim 12, the control device further comprising:
    启动模块,设置为:启动一定时器,其中所述定时器的定时时间大于预设数目个采样周期,所述采样周期指检测触摸屏的触摸事件的周期,用户在触摸屏的显示界面中对控制信息滚动的区域进行一次触摸操作为一次触摸事件;The startup module is configured to: start a timer, where the timing of the timer is greater than a preset number of sampling periods, where the sampling period refers to a period of detecting a touch event of the touch screen, and the user controls the information in the display interface of the touch screen The touch area performs one touch operation as one touch event;
    判断模块,设置为:判断所述定时器的定时时间内是否检测到触摸事件,当在所述定时器的定时时间内没有检测到触摸事件时,控制所述触摸屏的显示界面退出受控滚动状态;当在所述定时器的定时时间内检测到触摸事件时,继续检测所述触击点的压力信息。The determining module is configured to: determine whether a touch event is detected in the timing time of the timer, and when the touch event is not detected within the timing time of the timer, control the display interface of the touch screen to exit the controlled scrolling state When the touch event is detected within the timing time of the timer, the pressure information of the touch point is continuously detected.
  19. 一种终端,包括:如权利要求10至18中任一项所述的触摸屏的控制装置。 A terminal comprising: a control device for a touch screen according to any one of claims 10 to 18.
PCT/CN2016/080529 2016-03-10 2016-04-28 Touch screen control method and device, and terminal WO2016197743A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610135539.7A CN107179863A (en) 2016-03-10 2016-03-10 A kind of control method of touch-screen, device and terminal
CN201610135539.7 2016-03-10

Publications (2)

Publication Number Publication Date
WO2016197743A2 true WO2016197743A2 (en) 2016-12-15
WO2016197743A3 WO2016197743A3 (en) 2017-02-02

Family

ID=57503079

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080529 WO2016197743A2 (en) 2016-03-10 2016-04-28 Touch screen control method and device, and terminal

Country Status (2)

Country Link
CN (1) CN107179863A (en)
WO (1) WO2016197743A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110140107A (en) * 2016-12-27 2019-08-16 佳能株式会社 Electronic device and its control method and program

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306360A (en) * 2020-02-13 2021-02-02 北京字节跳动网络技术有限公司 Man-machine interaction method and device for learning machine
CN113110786B (en) * 2021-06-15 2021-09-03 南京统信软件技术有限公司 Page sliding control method and mobile terminal
CN114194225B (en) * 2021-12-03 2023-08-22 中车唐山机车车辆有限公司 Control method of conference carriage

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7619616B2 (en) * 2004-12-21 2009-11-17 Microsoft Corporation Pressure sensitive controls
CN101446884B (en) * 2008-12-19 2010-12-01 腾讯科技(深圳)有限公司 Touch screen device and scrolling method thereof
CN105389119A (en) * 2015-12-24 2016-03-09 惠州Tcl移动通信有限公司 Screen scrolling control method and system of mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110140107A (en) * 2016-12-27 2019-08-16 佳能株式会社 Electronic device and its control method and program

Also Published As

Publication number Publication date
WO2016197743A3 (en) 2017-02-02
CN107179863A (en) 2017-09-19

Similar Documents

Publication Publication Date Title
US11126295B2 (en) Devices and methods for processing touch inputs
US10452188B2 (en) Predictive compensation for a latency of an input device
RU2643654C2 (en) Method and device for moving content in terminal
US9372567B2 (en) Display device, display method, and recording medium storing display program
US8654076B2 (en) Touch screen hover input handling
US10275151B2 (en) Apparatus and method for cursor control and text selection and editing based on gesture-based touch inputs received in a virtual keyboard display area
US8847978B2 (en) Information processing apparatus, information processing method, and information processing program
WO2016197743A2 (en) Touch screen control method and device, and terminal
KR101996469B1 (en) Display control device, display control method, and program
US8963865B2 (en) Touch sensitive device with concentration mode
EP2770423A2 (en) Method and apparatus for operating object in user device
KR20120066122A (en) Method and device for controlling touch screen using timeline bar, recording medium for program for the same, and user terminal having the same
CN104636048A (en) Page content rolling display method and device
WO2015139469A1 (en) Webpage adjustment method and device, and electronic device
US20140085223A1 (en) Apparatus and method capable of switching displayed pictures
CN107748641A (en) Numerical value adjustment control method, device, electronic equipment and storage medium
CN103927111A (en) Method and device for displaying scrolling information in electronic device
WO2014154055A1 (en) Method, apparatus and terminal for selecting text
CN114779921A (en) Method for improving instrument performance by using completion of predicted gestures
WO2014194527A1 (en) Method for controlling multimedia browsing progress and terminal
US20140089845A1 (en) Apparatus and method capable of switching displayed pictures
CN105302459B (en) Single-hand control method and device for terminal
WO2015067166A1 (en) Touch-type input method and device
US20160170596A1 (en) Image display apparatus, image display method, and image-display program product
KR20100134339A (en) Method to provide human-computer interface to zoom in and out the display of an electronic communication device and the media containing the program to manipulate this method

Legal Events

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

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806641

Country of ref document: EP

Kind code of ref document: A2