WO2013155915A1 - A method for data output and electronic device - Google Patents

A method for data output and electronic device Download PDF

Info

Publication number
WO2013155915A1
WO2013155915A1 PCT/CN2013/072962 CN2013072962W WO2013155915A1 WO 2013155915 A1 WO2013155915 A1 WO 2013155915A1 CN 2013072962 W CN2013072962 W CN 2013072962W WO 2013155915 A1 WO2013155915 A1 WO 2013155915A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch point
movement trajectory
circumference
preset
point
Prior art date
Application number
PCT/CN2013/072962
Other languages
French (fr)
Chinese (zh)
Inventor
郝振武
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013155915A1 publication Critical patent/WO2013155915A1/en

Links

Classifications

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

Definitions

  • the present invention relates to the field of embedded and communication, and in particular, to a data output method and an electronic device. Background technique
  • Touch screen technology is widely used in various types of terminal devices, especially mobile devices such as mobile phones, tablet computers, and the like.
  • mobile devices such as mobile phones, tablet computers, and the like.
  • browsing services such as Internet web browsing and e-book reading are relatively common services.
  • the user needs to move up, down, left or right on the touch screen by using a touch tool such as a finger, a touch pen, etc., indicating the terminal display.
  • the subsequent content or the previous content of the current content from the perspective of the user's viewing, such as the screen moving along with the touch point, this process may be referred to as a mobile screen, referred to as a screen shift.
  • a screen shift When you need to see more content, and the browsing speed is faster, you may need to move the screen multiple times in succession.
  • FIG. 1 is a schematic diagram of a finger sliding upward on a touch screen.
  • the solid line indicates the sliding trajectory of the finger
  • the display content follows the movement direction of the finger in the direction of movement of the finger
  • the broken line indicates that the finger is off the screen, and moves back to the starting position to prepare for the next movement, in which the display content stops moving.
  • Embodiments of the present invention provide a data output method and an electronic device for improving data output efficiency.
  • a data output method is applied to an electronic device having a touch screen, the method comprising: obtaining one or more location information of a touch point;
  • An electronic device having a touch screen, the electronic device further comprising: an acquiring module, configured to obtain at least one location information of the touch point;
  • a determining module configured to determine, according to the at least one position information of the touched point, whether a movement trajectory of the touch point is a circumference
  • an output module configured to continuously output data according to the movement trajectory of the touch point when the determination result is that the movement trajectory of the touch point is a circle.
  • the data output method in the embodiment of the present invention includes: obtaining one or more pieces of position information of the touched point; determining whether the moving track of the touched point is a circle according to one or more pieces of position information of the touched point; and when the determining result is yes, The moving track of the touch point continuously outputs data.
  • the movement trajectory of the touch point is a circle
  • the data is continuously output according to the movement trajectory of the touch point, so that the content on the screen can be continuously moved, the movement speed is not affected by the pause, and the movement efficiency is improved, thereby improving the movement efficiency.
  • the efficiency of the data output; and the user's fingers do not need to have a return stroke, and will not fatigue the fingers.
  • FIG. 1 is a schematic diagram of an upward sliding operation of a finger on a touch screen in the prior art
  • FIG. 2 is a flow chart of a main method for data output in an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a clockwise circular motion operation of an operating body on a touch screen according to an embodiment of the present invention
  • FIG. 4 is a detailed structural diagram of an electronic device according to an embodiment of the present invention. detailed description
  • the data output method in the embodiment of the present invention includes: obtaining one or more pieces of position information of the touched point; determining whether the moving track of the touched point is a circle according to one or more pieces of position information of the touched point; and when the determining result is yes, according to The movement trajectory of the touch point continuously outputs data.
  • the movement trajectory of the touch point is a circle
  • the data is continuously output according to the movement trajectory of the touch point, so that the content on the screen can be continuously moved, the movement speed is not affected by the pause, and the movement efficiency is improved, thereby improving the movement efficiency.
  • the efficiency of the data output Moreover, the user's finger does not need to have a return stroke, and does not fatigue the finger.
  • the data output method in the embodiment of the present invention is introduced through a specific process.
  • the main method flow of data output in the embodiment of the present invention includes the following steps:
  • Step 201 Obtain one or more location information of the touched point.
  • the electronic device may have a button or other triggering mechanism.
  • the button When the button is pressed or otherwise triggered, the function of moving the screen by the circular trajectory in the embodiment of the present invention may be activated. .
  • the operating body When the user uses an operating body to move on the touch screen of the electronic device, for example, the operating body may be a finger, a touch pen, or the like. In the embodiment of the present invention, the operating body is a finger as an example.
  • a touch point When the operating body is in contact with the touch screen, a touch point is formed, and when the electronic device captures a touch point information, the position information of the touch point is obtained.
  • the location information of the touch point may be the coordinates of the touch point.
  • the electronic device may establish a unified coordinate system, and each point on the touch screen may be represented in the coordinate system.
  • the movement trajectory of the operating body is the movement trajectory of the touch point, that is, the touch point may correspond to more than one position information.
  • Step 202 According to one of the touched points The above position information determines whether the movement trajectory of the touch point is a circumference.
  • the judging process may be performed in real time, or may be performed after being triggered, or may be performed in a timely manner. For example, after the two pieces of position information of the touched point are obtained, the electronic device is triggered to start determining whether the moving trajectory of the touched point is a circumference.
  • step 201 since the function of moving the screen by the circular trajectory sliding in the embodiment of the present invention has been activated before step 201, when the electronic device performs the determination, one or more position information of the obtained touched point can be directly compared with the preset.
  • the trajectory of the circle is subjected to a fitting operation to determine whether the two are consistent.
  • the graphic drawn by the user is not necessarily a completely standard graphic, after the user draws the graphic and the trajectory of the preset circumference, the user draws the graphic and the preset circumference.
  • the similarity value is not less than the first preset similarity value
  • the two may be considered to be consistent.
  • the graphics are composed of a plurality of points. For each point in the graphic, there may be a first preset range. In the embodiment of the present invention, each point on the graphic drawn by the user does not exceed its corresponding value. When the first preset range is used, the two can be considered to be consistent.
  • the electronic device may first refer to the previous determination result when making the determination, if the last judgment result is that the movement trajectory of the touch point is a circle, and the touch body performs a clockwise circular motion. , this time you can first get more than one bit of the touch point
  • the setting information is fitted to the preset circumference.
  • the preset may have a plurality of circumferential trajectories of different sizes, and the electronic device may fit one or more position information of the obtained touch points with the previous preset circumference when performing the current fitting. . If the two operations are consistent after the fitting operation, the moving direction of the touch point can be determined according to the movement trajectory of the touch point, which is clockwise or counterclockwise.
  • the electronic device may record the result of each determination, and may analyze the user's customary operation based on the result of each determination. For example, if the user's customary operation is rounding, the electronic device may directly fit one or more position information of the obtained touched points with the preset circumference when making the judgment. Moreover, when the user's customary operation is obtained, the radius of the circle that the user most often draws is also known, and the electronic device can directly obtain more than one position information and radius of the obtained touched point when performing the fitting.
  • the preset circumferences of the same radius are fitted; for example, the custom operation of the user is a circle and a straight line, because the function of moving the screen by the circular trajectory in the embodiment of the present invention has been activated before step 201,
  • the first position information of the obtained touch point may be first matched with the trajectory of the preset circumference to determine whether the two are consistent, and the radius of the preset circumference may be used by the user.
  • the radius of the circle drawn during operation is the same. If the two operations are consistent after the fitting operation, the moving direction of the touch point can be determined according to the movement trajectory of the touch point, which is clockwise or counterclockwise.
  • one or more position information of the obtained touched points may be respectively matched with each preset graphic, and the fitting operation process may be separately performed, but the fitting operation process is used.
  • the time can be ignored by the user.
  • the preset graphic has two types, a circumference and a straight line
  • the electronic device may respectively fit one or more position information of the obtained touched point with the preset circumference and the preset straight line, respectively, to determine the obtained More than one positional information of the touched point is a circle or a straight line. If the fitting determines that the two are consistent, the moving direction of the touch point can be determined according to the movement trajectory of the touch point.
  • the electronic device may still be unable to determine the specificity of the user's stroke. Which kind of graphics, the electronic device can refer to the previous judgment result, if the last judgment result is that the movement trajectory of the touch point is a circle, the electronic device can determine that the movement trajectory of the touch point is a circumference , generating a judgment result; or the electronic device may record all previous judgment results in advance, and may analyze the user's habit operation according to each judgment result.
  • the electronic device may determine that the movement trajectory of the touch point is a circle, and generate a determination result; or the electronic device may select a result, for example, the electronic device may determine The movement trajectory of the touch point is a circle, and a judgment result is generated, or the movement trajectory of the touch point can be determined to be a straight line, and a judgment result is generated.
  • the determining process may be a process that is performed every time the operating body reaches a new point. Therefore, after the determining result is generated, the electronic device may continue to perform the determining, when the obtained position information of the touched point is After more, the more accurate movement trajectory of the touch point may be obtained according to the fitting result of the position information of the touched point obtained and the preset figure.
  • the user's previous operation process may be further referred to to improve the accuracy of the judgment.
  • the last operation of the user is a counterclockwise circular motion, that is, the last judgment result is that the movement track of the touch point is a circle, and the direction is counterclockwise.
  • the touch body starts the operation again after leaving the touch screen for a period of time, and the movement direction of the touch point obtained this time is downward movement. According to the historical data, it is determined that the user still performs the counterclockwise circular motion. Big.
  • the touch screen terminal determines the movement trajectory of the touch point by a method of fitting with a known trajectory such as a circle or a straight line, for example, the user's finger touches the touch screen and starts to move upward, and the electronic device according to the position information of the touch point is collected.
  • Fit to trajectories such as lines and/or circles Operation in the case where the initial displacement is relatively small, it may be judged that it may be a linear motion such as upward or downward, and then it may be performed to move the screen up or down first, and in the case where the subsequent displacement is large, the electron
  • the device can accurately determine which kind of motion the touch body performs.
  • the movement trajectory of the touch point is a circle
  • the screen is moved up or down according to the moving direction of the touch point.
  • the clockwise circular motion is the upward shifting screen
  • the counterclockwise circular motion is the downward shifting screen
  • the clockwise circular motion may be specified as the downward shifting screen
  • the counterclockwise circular motion is the upward shifting screen, which may be preset Ok, or you can choose it yourself.
  • the moving direction of the touch point may be determined according to the moving track of the touch point, for example, the first position information of the touch point is a coordinate value.
  • FIG. 3 is a schematic view showing the clockwise circular motion of the touch body in the embodiment of the present invention.
  • the electronic device can simultaneously calculate various data of the circular motion of the touch point, such as the direction of the circular motion, the moving distance, etc., and further calculate the radius of the circular motion, for reference.
  • Step 203 When the judgment result is YES, the data is continuously output according to the movement trajectory of the touched point.
  • the corresponding data is continuously output according to the movement trajectory of the touched point, the moving direction of the touched point, and the moving distance of the touched point.
  • the data is output according to the movement trajectory of the touch point, that is, the screen is moved, and the direction of the specific screen shift, that is, which data is specifically output, and the movement according to the touch point is further required.
  • Direction to determine For example, if the clockwise circular motion is the upward shifting screen, the counterclockwise circular motion is the downward moving screen, and the moving trajectory of the touched point indicates that the moving direction of the touched point is clockwise, Electronic device for upward Move the screen.
  • the content of the specific output may be proportional to the moving distance of the touch point.
  • the electronic device starts calculating the moving distance of the touch point when the touch point starts to move until the touch body leaves the touch screen.
  • the upper and lower dimensions of the touch screen that is, the height when the touch screen is placed in the forward direction, may be measured, and the ratio of the moving distance of the touch point to the moving distance may be specified as a first ratio to move the screen upward.
  • the electronic device after the touch point moves by the first distance, the electronic device also outputs first data, and the height of the position occupied by the first data on the touch screen is a first height.
  • the first height of the first data output by the electronic device on the touch screen may be 2 mm, or the touch point moves by 3 mm, then the electronic The first height of the first data output by the device on the touch screen may be 2 mm, and the like.
  • the electronic device can also output corresponding data according to other operations of the user. For example, if it is determined that the movement trajectory of the touch point is an upward linear motion, the electronic device can move up the screen.
  • the method provided by the present invention can be applied to an electronic device having a touch screen.
  • the present invention further provides an electronic device, where the electronic device may have a touch screen, and the electronic device may include: an obtaining module 401, a determining module 402, and an output module 403, where the electronic device may further include: The module 404 and the storage module 405; wherein the obtaining module 401 can be used to obtain more than one location information of the touch point.
  • the determining module 402 can be configured to determine whether the movement trajectory of the touch point is a circle according to one or more position information of the touch point.
  • the determining module 402 is specifically configured to: according to the one or more position information of the touch point, fit the movement trajectory of the touch point with a preset circumference, and determine, according to the fitting result, whether the movement trajectory of the touch point is a circumference.
  • the judging module 402 determines whether the movement trajectory of the touch point is a circle according to the fitting result.
  • the specific one may be used to determine that the movement trajectory of the touch point is a circle when the fitting result indicates that the similarity value of the movement trajectory of the touch point and the preset circumference is not less than the first preset similarity value.
  • Each of the preset circumferences is pre-set with a first preset range.
  • the determining module 402 may be specifically used for the touch point.
  • each of the moving trajectories is in the respective first predetermined range, it is determined that the moving trajectory of the touched point is a circumference.
  • the determining module 402 may be specifically configured to: when the previous judgment result indicates that the movement trajectory of the touch point is a circumference, move the touch point The trajectory is fitted to the preset circumference.
  • the determining module 402 is specifically configured to: fit the movement trajectory of the touch point to the preset two or more graphics according to the one or more position information of the touch point, and determine the movement of the touch point according to the fitting result. Whether the track is a circle; wherein the preset two or more figures include a preset circumference.
  • the determining module 402 may specifically be configured to determine the movement of the touch point when the previous judgment result indicates that the movement trajectory of the touch point is a circumference
  • the track is a circle.
  • the output module 403 can be used to continuously output data according to the moving track of the touch point when the judgment result is YES.
  • the output module 403 is specifically configured to continuously output corresponding data according to the movement trajectory of the touch point, the moving direction of the touch point, and the moving distance of the touch point.
  • the determining module 404 is used to determine the last judgment result, and can also be used to determine the operation mode that the user is accustomed to.
  • the user's usual operation mode may be a circle or a straight line.
  • the storage module 405 can be configured to store the result of each determination of the record, and the determining module 404 can The previous judgment result is determined based on the content stored in the storage module 405, and the user's habit operation can also be analyzed based on each judgment result.
  • the data output method in the embodiment of the present invention includes: obtaining one or more pieces of position information of the touched point; determining whether the moving track of the touched point is a circle according to one or more pieces of position information of the touched point; and when the determining result is yes, The moving track of the touch point continuously outputs data.
  • the movement trajectory of the touch point is a circle
  • the data is continuously output according to the movement trajectory of the touch point, so that the content on the screen can be continuously moved, the movement speed is not affected by the pause, and the movement efficiency is improved; Fingers do not need to have a return movement, and they will not fatigue their fingers.
  • embodiments of the present invention can be provided as a method, system, or computer program product.
  • the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

Disclosed in the present invention is a method for data output used to improve the efficiency of data output. The method comprises: obtaining one or more position information of touch points; judging whether the moving track being a circle according to the one or more position information of touch points; when the judgment result is that said moving track of touch points being a circle, outputting data continuously according to said moving track of touch points. Electronic device for implementing the method is also disclosed by the present invention.

Description

一种数据输出方法及电子设备 技术领域  Data output method and electronic device
本发明涉及嵌入式及通信领域, 特别涉及一种数据输出方法及电子设 备。 背景技术  The present invention relates to the field of embedded and communication, and in particular, to a data output method and an electronic device. Background technique
触摸屏技术被广泛用于在各类终端设备中,尤其是移动设备, 如手机、 平板电脑等。 在上述移动设备的业务中, 互联网网页浏览及电子书阅读等 浏览类业务是较为常用的业务。  Touch screen technology is widely used in various types of terminal devices, especially mobile devices such as mobile phones, tablet computers, and the like. Among the above-mentioned mobile device services, browsing services such as Internet web browsing and e-book reading are relatively common services.
由于终端的物理显示屏只能显示有限的内容, 当需要浏览更多内容时, 用户需要通过触摸工具如手指、 触摸笔等在触摸屏上向上、 向下、 向左或 向右移动, 指示终端显示当前内容的后续内容或前面的内容, 从用户的观 看角度来看, 像是屏幕在跟着触摸点移动, 可以将此过程称为移动屏幕, 简称移屏。 当需要看的内容较多, 且浏览速度较快时, 可能需要连续多次 移屏。  Since the physical display of the terminal can only display limited content, when it is necessary to browse more content, the user needs to move up, down, left or right on the touch screen by using a touch tool such as a finger, a touch pen, etc., indicating the terminal display. The subsequent content or the previous content of the current content, from the perspective of the user's viewing, such as the screen moving along with the touch point, this process may be referred to as a mobile screen, referred to as a screen shift. When you need to see more content, and the browsing speed is faster, you may need to move the screen multiple times in succession.
图 1为手指在触摸屏上进行向上滑动操作的示意图。 在图 1 中, 实线 表示手指的滑动轨迹, 显示内容跟随手指向手指的运动方向移动, 虚线表 示手指脱离屏幕, 移回起点位置为下次移动做准备, 在此过程中显示内容 停止移动。  FIG. 1 is a schematic diagram of a finger sliding upward on a touch screen. In Fig. 1, the solid line indicates the sliding trajectory of the finger, the display content follows the movement direction of the finger in the direction of movement of the finger, the broken line indicates that the finger is off the screen, and moves back to the starting position to prepare for the next movement, in which the display content stops moving.
从图 1 中可以看出, 当连续移屏, 尤其是连续快速移屏时, 手指运动 幅度较大, 必须有回程动作, 即如图 1 中虚线所示的动作, 此时屏幕上的 内容移动不连续, 中间有停顿, 如此, 会影响浏览效果和速度。 而且这个 回程动作完全属于无用功, 容易使用户手指疲劳, 甚至导致"手机指 "病, 影 响用户健康。 因此, 目前上下单向间断运动的移屏方式的效率、 用户体险、 以及用户健康等都成为亟待解决的问题。 发明内容 As can be seen from Fig. 1, when the screen is continuously moved, especially when moving continuously, the finger movement is large, and there must be a backhaul action, that is, the action shown by the dotted line in Fig. 1, and the content on the screen moves. It is not continuous, there is a pause in the middle, so it will affect the browsing effect and speed. Moreover, this backhaul action is completely useless, which is easy for the user's fingers to fatigue, and even causes the "mobile phone" disease to affect the user's health. Therefore, the efficiency of the screen shifting method of the up and down one-way intermittent motion, the user's physical insurance, As well as user health, etc., it has become an urgent problem to be solved. Summary of the invention
本发明实施例提供一种数据输出方法及电子设备, 用于提高数据输出 的效率。  Embodiments of the present invention provide a data output method and an electronic device for improving data output efficiency.
一种数据输出方法, 应用于具有触摸屏的电子设备, 所述方法包括: 获得触摸点的一个以上位置信息;  A data output method is applied to an electronic device having a touch screen, the method comprising: obtaining one or more location information of a touch point;
根据所述触摸点的一个以上位置信息判断所述触摸点的移动轨迹是否 为圆周;  Determining, according to one or more positional information of the touched point, whether the movement trajectory of the touched point is a circumference;
当判断结果为所述触摸点的移动轨迹为圆周时, 根据所述触摸点的移 动轨迹连续输出数据。  When the result of the judgment is that the movement trajectory of the touched point is a circumference, data is continuously output in accordance with the movement trajectory of the touched point.
一种电子设备, 所述电子设备具有触摸屏, 所述电子设备还包括: 获取模块, 用于获得触摸点的至少一个位置信息;  An electronic device, the electronic device having a touch screen, the electronic device further comprising: an acquiring module, configured to obtain at least one location information of the touch point;
判断模块, 用于根据所述触摸点的至少一个位置信息判断所述触摸点 的移动轨迹是否为圆周;  a determining module, configured to determine, according to the at least one position information of the touched point, whether a movement trajectory of the touch point is a circumference;
输出模块, 用于当判断结果为所述触摸点的移动轨迹为圆周时, 根据 所述触摸点的移动轨迹连续输出数据。  And an output module, configured to continuously output data according to the movement trajectory of the touch point when the determination result is that the movement trajectory of the touch point is a circle.
本发明实施例中的数据输出方法包括获得触摸点的一个以上位置信 息; 根据所述触摸点的一个以上位置信息判断所述触摸点的移动轨迹是否 为圆周; 当判断结果为是时, 根据所述触摸点的移动轨迹连续输出数据。 当所述触摸点的移动轨迹为圆周时, 根据所述触摸点的移动轨迹连续输出 数据, 使屏幕上的内容能够连续移动, 不会因停顿而影响移动速度, 提高 了移动效率, 从而提高了数据输出的效率; 而且用户的手指无需有回程动 作, 不会使手指疲劳。 附图说明 The data output method in the embodiment of the present invention includes: obtaining one or more pieces of position information of the touched point; determining whether the moving track of the touched point is a circle according to one or more pieces of position information of the touched point; and when the determining result is yes, The moving track of the touch point continuously outputs data. When the movement trajectory of the touch point is a circle, the data is continuously output according to the movement trajectory of the touch point, so that the content on the screen can be continuously moved, the movement speed is not affected by the pause, and the movement efficiency is improved, thereby improving the movement efficiency. The efficiency of the data output; and the user's fingers do not need to have a return stroke, and will not fatigue the fingers. DRAWINGS
图 1为现有技术中手指在触摸屏上进行向上滑动操作的示意图; 图 2为本发明实施例中数据输出的主要方法流程图;  1 is a schematic diagram of an upward sliding operation of a finger on a touch screen in the prior art; FIG. 2 is a flow chart of a main method for data output in an embodiment of the present invention;
图 3 为本发明实施例中操作体在触摸屏上进行顺时针圆周运动操作的 示意图;  3 is a schematic diagram of a clockwise circular motion operation of an operating body on a touch screen according to an embodiment of the present invention;
图 4为本发明实施例中电子设备的详细结构图。 具体实施方式  FIG. 4 is a detailed structural diagram of an electronic device according to an embodiment of the present invention. detailed description
本发明实施例中的数据输出方法包括: 获得触摸点的一个以上位置信 息; 根据所述触摸点的一个以上位置信息判断所述触摸点的移动轨迹是否 为圆周; 当判断结果为是时, 根据所述触摸点的移动轨迹连续输出数据。 当所述触摸点的移动轨迹为圆周时, 根据所述触摸点的移动轨迹连续输出 数据, 使屏幕上的内容能够连续移动, 不会因停顿而影响移动速度, 提高 了移动效率, 从而提高了数据输出的效率; 而且, 用户的手指无需有回程 动作, 不会使手指疲劳。  The data output method in the embodiment of the present invention includes: obtaining one or more pieces of position information of the touched point; determining whether the moving track of the touched point is a circle according to one or more pieces of position information of the touched point; and when the determining result is yes, according to The movement trajectory of the touch point continuously outputs data. When the movement trajectory of the touch point is a circle, the data is continuously output according to the movement trajectory of the touch point, so that the content on the screen can be continuously moved, the movement speed is not affected by the pause, and the movement efficiency is improved, thereby improving the movement efficiency. The efficiency of the data output; Moreover, the user's finger does not need to have a return stroke, and does not fatigue the finger.
首先通过具体流程来介绍本发明实施例中的数据输出方法。  First, the data output method in the embodiment of the present invention is introduced through a specific process.
参见图 2, 本发明实施例中数据输出的主要方法流程, 如图 2所示, 包 括以下步驟:  Referring to FIG. 2, the main method flow of data output in the embodiment of the present invention, as shown in FIG. 2, includes the following steps:
步驟 201 : 获得触摸点的一个以上位置信息。  Step 201: Obtain one or more location information of the touched point.
这里, 所述电子设备上可以有一按钮, 或有其他触发机制, 当按下按 钮, 或以其他方式触发所述电子设备后, 即可以激活本发明实施例中以圆 周轨迹滑动来移屏的功能。  Here, the electronic device may have a button or other triggering mechanism. When the button is pressed or otherwise triggered, the function of moving the screen by the circular trajectory in the embodiment of the present invention may be activated. .
当用户使用一操作体在所述电子设备的所述触摸屏上进行移动时, 例 如所述操作体可以是手指、 触摸笔等, 本发明实施例中以所述操作体是手 指为例进行说明, 所述操作体与所述触摸屏接触, 则形成一个触摸点, 所 述电子设备在捕捉到有一个触摸点信息时, 即开始获得该触摸点的位置信 息, 该触摸点的位置信息可以是该触摸点的坐标, 例如所述电子设备可以 建立一个统一的坐标系, 所述触摸屏上的每个点都可以在该坐标系下表示。 所述操作体的移动轨迹即为所述触摸点的移动轨迹, 即所述触摸点可以对 应一个以上位置信息。 所述操作体每移动到一个新的位置, 所述触摸点对 应一个新的位置信息, 所述电子设备即可获取所述触摸点的该新的位置信 步驟 202:根据所述触摸点的一个以上位置信息判断所述触摸点的移动 轨迹是否为圆周。 When the user uses an operating body to move on the touch screen of the electronic device, for example, the operating body may be a finger, a touch pen, or the like. In the embodiment of the present invention, the operating body is a finger as an example. When the operating body is in contact with the touch screen, a touch point is formed, and when the electronic device captures a touch point information, the position information of the touch point is obtained. The location information of the touch point may be the coordinates of the touch point. For example, the electronic device may establish a unified coordinate system, and each point on the touch screen may be represented in the coordinate system. The movement trajectory of the operating body is the movement trajectory of the touch point, that is, the touch point may correspond to more than one position information. Each time the operating body moves to a new location, the touch point corresponds to a new location information, and the electronic device can acquire the new location information of the touched point. Step 202: According to one of the touched points The above position information determines whether the movement trajectory of the touch point is a circumference.
这里, 该判断过程可以实时进行, 也可以在受到触发后进行, 或者定 时进行。 例如, 在获得了触摸点的两个位置信息后, 所述电子设备受到触 发, 开始判断所述触摸点的移动轨迹是否为圆周。  Here, the judging process may be performed in real time, or may be performed after being triggered, or may be performed in a timely manner. For example, after the two pieces of position information of the touched point are obtained, the electronic device is triggered to start determining whether the moving trajectory of the touched point is a circumference.
例如, 由于在步驟 201 之前已经激活了本发明实施例中以圆周轨迹滑 动来移屏的功能, 因此在所述电子设备进行判断时, 可以直接将获得的触 摸点的一个以上位置信息与预设圆周的轨迹进行拟合运算, 判断二者是否 一致。  For example, since the function of moving the screen by the circular trajectory sliding in the embodiment of the present invention has been activated before step 201, when the electronic device performs the determination, one or more position information of the obtained touched point can be directly compared with the preset. The trajectory of the circle is subjected to a fitting operation to determine whether the two are consistent.
其中, 由于用户划出的图形不一定是完全标准的图形, 因此将用户划 出的图形与所述预设圆周的轨迹进行拟合运算后, 可以获知用户划出的图 形与所述预设圆周的相似度值, 本发明实施例中当所述相似度值不小于第 一预设相似度值时, 则可以认为二者一致。 或者, 图形都是由多个点组成, 对于图形中的每个点, 都可以有一个第一预设范围, 本发明实施例中当用 户划出的图形上的每个点都不超过其相应的所述第一预设范围时, 则可以 认为二者一致。  Wherein, since the graphic drawn by the user is not necessarily a completely standard graphic, after the user draws the graphic and the trajectory of the preset circumference, the user draws the graphic and the preset circumference. In the embodiment of the present invention, when the similarity value is not less than the first preset similarity value, the two may be considered to be consistent. Or, the graphics are composed of a plurality of points. For each point in the graphic, there may be a first preset range. In the embodiment of the present invention, each point on the graphic drawn by the user does not exceed its corresponding value. When the first preset range is used, the two can be considered to be consistent.
或者例如, 所述电子设备在进行判断时, 可以首先参考上次的判断结 果, 如果上次的判断结果为所述触摸点的移动轨迹为圆周, 且所述触摸体 进行的是顺时针圆周运动, 则本次可以首先将获得的触摸点的一个以上位 置信息与所述预设圆周进行拟合运算。 并且, 预设的可能有大小不同的多 个圆周轨迹, 所述电子设备在进行本次拟合时, 可以将获得的触摸点的一 个以上位置信息与上次的所述预设圆周进行拟合。 如果拟合运算后确定二 者一致, 可以根据本次触摸点的移动轨迹来确定本次触摸点的移动方向, 是顺时针或逆时针。 Or, for example, the electronic device may first refer to the previous determination result when making the determination, if the last judgment result is that the movement trajectory of the touch point is a circle, and the touch body performs a clockwise circular motion. , this time you can first get more than one bit of the touch point The setting information is fitted to the preset circumference. Moreover, the preset may have a plurality of circumferential trajectories of different sizes, and the electronic device may fit one or more position information of the obtained touch points with the previous preset circumference when performing the current fitting. . If the two operations are consistent after the fitting operation, the moving direction of the touch point can be determined according to the movement trajectory of the touch point, which is clockwise or counterclockwise.
或者例如, 所述电子设备可以记录每次的判断结果, 可以根据每次的 判断结果分析出用户的习惯操作。 例如用户的习惯操作为划圆, 则所述电 子设备在进行判断时, 可以直接将获得的触摸点的一个以上位置信息与所 述预设圆周进行拟合。 而且, 在得出用户的习惯操作时, 还可以获知用户 最常划的圆的半径大小, 则所述电子设备在进行拟合时可以直接将获得的 触摸点的一个以上位置信息和半径与所述半径相同大小的预设圆周进行拟 合; 例如用户的习惯操作为划圆和划直线, 因在步驟 201 之前已经激活了 本发明实施例中以圆周轨迹滑动来移屏的功能, 则在所述电子设备进行判 断时, 可以首先将获得的触摸点的一个以上位置信息与所述预设圆周的轨 迹进行拟合运算, 判断二者是否一致, 且所述预设圆周的半径可以与用户 习惯操作时划的圆的半径相同。 如果拟合运算后确定二者一致, 可以根据 本次触摸点的移动轨迹来确定本次触摸点的移动方向, 是顺时针或逆时针。  Or, for example, the electronic device may record the result of each determination, and may analyze the user's customary operation based on the result of each determination. For example, if the user's customary operation is rounding, the electronic device may directly fit one or more position information of the obtained touched points with the preset circumference when making the judgment. Moreover, when the user's customary operation is obtained, the radius of the circle that the user most often draws is also known, and the electronic device can directly obtain more than one position information and radius of the obtained touched point when performing the fitting. The preset circumferences of the same radius are fitted; for example, the custom operation of the user is a circle and a straight line, because the function of moving the screen by the circular trajectory in the embodiment of the present invention has been activated before step 201, When the electronic device performs the judgment, the first position information of the obtained touch point may be first matched with the trajectory of the preset circumference to determine whether the two are consistent, and the radius of the preset circumference may be used by the user. The radius of the circle drawn during operation is the same. If the two operations are consistent after the fitting operation, the moving direction of the touch point can be determined according to the movement trajectory of the touch point, which is clockwise or counterclockwise.
或者, 所述电子设备在进行判断时, 可以将获得的触摸点的一个以上 位置信息与每个预设图形分别进行拟合运算, 拟合运算过程可以是分别进 行的, 但拟合运算过程所用的时间对用户来说可以忽略。 例如, 所述预设 图形有两种, 圆周和直线, 所述电子设备可以将获得的触摸点的一个以上 位置信息与所述预设圆周和预设直线分别进行拟合, 以判断所述获得的触 摸点的一个以上位置信息是圆周或是直线。 如果拟合确定二者一致, 可以 根据本次触摸点的移动轨迹来确定本次触摸点的移动方向。  Alternatively, when the electronic device performs the determination, one or more position information of the obtained touched points may be respectively matched with each preset graphic, and the fitting operation process may be separately performed, but the fitting operation process is used. The time can be ignored by the user. For example, the preset graphic has two types, a circumference and a straight line, and the electronic device may respectively fit one or more position information of the obtained touched point with the preset circumference and the preset straight line, respectively, to determine the obtained More than one positional information of the touched point is a circle or a straight line. If the fitting determines that the two are consistent, the moving direction of the touch point can be determined according to the movement trajectory of the touch point.
进一步地, 如果只获得了触摸点的少量位置信息, 例如只获得了触摸 点的 3 个位置信息, 则所述电子设备将获得的触摸点的一个以上位置信息 与所述预设圆周和所述预设直线分别进行拟合运算后, 可能依然无法判断 用户划的具体是哪种图形, 则所述电子设备可以参考上一次的判断结果, 如果上次的判断结果为所述触摸点的移动轨迹为圆周, 则所述电子设备可 以确定所述触摸点的移动轨迹为圆周, 生成一个判断结果; 或者所述电子 设备可以事先记录所有以往每次的判断结果, 可以根据每次的判断结果分 析出用户的习惯操作。 例如用户的习惯操作为划圆, 则所述电子设备可以 确定所述触摸点的移动轨迹为圆周, 生成一个判断结果; 或者所述电子设 备可以任选一个结果, 例如所述电子设备可以确定所述触摸点的移动轨迹 为圆周, 生成一个判断结果, 或者可以确定所述触摸点的移动轨迹为直线, 生成一个判断结果。 Further, if only a small amount of position information of the touched point is obtained, for example, only a touch is obtained If the position information of the touched point is matched with the preset circumference and the preset straight line respectively, the electronic device may still be unable to determine the specificity of the user's stroke. Which kind of graphics, the electronic device can refer to the previous judgment result, if the last judgment result is that the movement trajectory of the touch point is a circle, the electronic device can determine that the movement trajectory of the touch point is a circumference , generating a judgment result; or the electronic device may record all previous judgment results in advance, and may analyze the user's habit operation according to each judgment result. For example, the user's customary operation is rounding, the electronic device may determine that the movement trajectory of the touch point is a circle, and generate a determination result; or the electronic device may select a result, for example, the electronic device may determine The movement trajectory of the touch point is a circle, and a judgment result is generated, or the movement trajectory of the touch point can be determined to be a straight line, and a judgment result is generated.
因该判断过程可以是所述操作体每到达一个新的点都要进行的过程, 因此, 在该判断结果生成后, 所述电子设备可以继续进行判断, 当获得的 触摸点的位置信息的数量较多之后, 可能会根据将所述获得的触摸点的位 置信息与所述预设图形的拟合结果得出所述触摸点的较为准确的移动轨 迹。  The determining process may be a process that is performed every time the operating body reaches a new point. Therefore, after the determining result is generated, the electronic device may continue to perform the determining, when the obtained position information of the touched point is After more, the more accurate movement trajectory of the touch point may be obtained according to the fitting result of the position information of the touched point obtained and the preset figure.
在计算所述触摸点的移动轨迹的过程中, 可以进一步参考用户以前的 操作过程, 以提高判断的准确性。 比如用户上次的操作过程为逆时针圆周 运动, 即上次的判断结果为所述触摸点的移动轨迹为圆周, 方向为逆时针。 所述触摸体在离开触摸屏一段时间后又开始了本次操作, 且本次获得的所 述触摸点的移动方向为向下移动, 根据历史数据, 判断用户仍然进行逆时 针圆周运动的可能性较大。  In the process of calculating the movement trajectory of the touch point, the user's previous operation process may be further referred to to improve the accuracy of the judgment. For example, the last operation of the user is a counterclockwise circular motion, that is, the last judgment result is that the movement track of the touch point is a circle, and the direction is counterclockwise. The touch body starts the operation again after leaving the touch screen for a period of time, and the movement direction of the touch point obtained this time is downward movement. According to the historical data, it is determined that the user still performs the counterclockwise circular motion. Big.
触摸屏终端通过与圆周、 直线等已知轨迹拟合的方法判断触摸点的移 动轨迹, 比如用户手指接触触摸屏, 并开始向上移动, 这时所述电子设备 根据采集到触摸点的一个以上位置信息, 与直线和 /或圆周等轨迹进行拟合 运算, 在起初位移比较小的情况下, 可能会判断为可能是向上或向下等直 线运动, 然后可能首先执行的是向上或向下移屏, 在后续位移较大的情况 下, 所述电子设备通过将获得的触摸点的一个以上位置信息与直线和 /或圆 周等轨迹的拟合运算, 能够准确判断出所述触摸体进行的具体是哪种运动。 The touch screen terminal determines the movement trajectory of the touch point by a method of fitting with a known trajectory such as a circle or a straight line, for example, the user's finger touches the touch screen and starts to move upward, and the electronic device according to the position information of the touch point is collected. Fit to trajectories such as lines and/or circles Operation, in the case where the initial displacement is relatively small, it may be judged that it may be a linear motion such as upward or downward, and then it may be performed to move the screen up or down first, and in the case where the subsequent displacement is large, the electron By fitting the obtained position information of one or more touch points with the trajectory such as a straight line and/or a circle, the device can accurately determine which kind of motion the touch body performs.
本发明实施例中, 如果所述触摸点的移动轨迹是圆周, 则还要根据所 述触摸点的移动方向来确定是向上或向下移屏。 例如, 可以规定顺时针圆 周运动为向上移屏, 逆时针圆周运动为向下移屏, 或者可以规定顺时针圆 周运动为向下移屏, 逆时针圆周运动为向上移屏, 具体可以预先设定好, 或者可以由用户自行进行选择。 所述触摸点的移动方向可以根据所述触摸 点的移动轨迹来进行判断, 例如, 所述触摸点的第一个位置信息为坐标值 In the embodiment of the present invention, if the movement trajectory of the touch point is a circle, it is determined that the screen is moved up or down according to the moving direction of the touch point. For example, it may be stipulated that the clockwise circular motion is the upward shifting screen, the counterclockwise circular motion is the downward shifting screen, or the clockwise circular motion may be specified as the downward shifting screen, and the counterclockwise circular motion is the upward shifting screen, which may be preset Ok, or you can choose it yourself. The moving direction of the touch point may be determined according to the moving track of the touch point, for example, the first position information of the touch point is a coordinate value.
( 0.1 , 0.1 ), 第二个位置信息为坐标值(0.1 , 0.2 ), 则可以确定所述触摸 点的移动方向为逆时针方向, 等等。 如图 3 所示为本发明实施例中所述触 摸体进行顺时针圆周运动的示意图。 (0.1, 0.1), the second position information is the coordinate value (0.1, 0.2), then it can be determined that the moving direction of the touch point is counterclockwise, and so on. FIG. 3 is a schematic view showing the clockwise circular motion of the touch body in the embodiment of the present invention.
在所述拟合运算过程中, 所述电子设备可以同时计算出所述触摸点进 行圆周运动的各项数据, 例如圆周运动的方向、 移动距离等, 还可以进一 步计算出圆周运动的半径, 以供参考。  During the fitting operation, the electronic device can simultaneously calculate various data of the circular motion of the touch point, such as the direction of the circular motion, the moving distance, etc., and further calculate the radius of the circular motion, for reference.
步驟 203: 当判断结果为是时,根据所述触摸点的移动轨迹连续输出数 据。  Step 203: When the judgment result is YES, the data is continuously output according to the movement trajectory of the touched point.
当判断结果为是时, 根据所述触摸点的移动轨迹、 所述触摸点的移动 方向及所述触摸点的移动距离连续输出相应数据。  When the determination result is YES, the corresponding data is continuously output according to the movement trajectory of the touched point, the moving direction of the touched point, and the moving distance of the touched point.
当判断确定所述触摸点的移动轨迹为圆周, 则根据所述触摸点的移动 轨迹输出数据, 即进行移屏, 具体移屏的方向, 即具体输出哪些数据还需 要根据所述触摸点的移动方向来确定。 例如, 如果本发明实施例中规定顺 时针圆周运动为向上移屏, 逆时针圆周运动为向下移屏, 而所述触摸点的 移动轨迹表明所述触摸点的移动方向为顺时针, 则所述电子设备进行向上 移屏。 When it is determined that the movement trajectory of the touch point is a circle, the data is output according to the movement trajectory of the touch point, that is, the screen is moved, and the direction of the specific screen shift, that is, which data is specifically output, and the movement according to the touch point is further required. Direction to determine. For example, if the clockwise circular motion is the upward shifting screen, the counterclockwise circular motion is the downward moving screen, and the moving trajectory of the touched point indicates that the moving direction of the touched point is clockwise, Electronic device for upward Move the screen.
具体输出的内容多少可以与所述触摸点的移动距离成正比。 所述触摸 点在开始移动时所述电子设备即开始计算所述触摸点的移动距离, 直到所 述触摸体离开所述触摸屏为止。 例如, 可以以所述触摸屏的上下尺寸, 即 所述触摸屏正向放置时的高度, 来进行衡量, 可以规定所述触摸点的移动 距离与移屏距离之比为第一比值, 以向上移屏为例进行说明, 当所述触摸 点移动第一距离后, 所述电子设备也输出第一数据, 所述第一数据在所述 触摸屏上所占据的位置的高度为第一高度。 例如, 所述触摸点移动 1mm, 则所述电子设备输出的所述第一数据在所述触摸屏上占据的所述第一高度 可以为 2mm, 或者, 所述触摸点移动 3mm, 则所述电子设备输出的所述第 一数据在所述触摸屏上占据的所述第一高度可以为 2mm, 等等。  The content of the specific output may be proportional to the moving distance of the touch point. The electronic device starts calculating the moving distance of the touch point when the touch point starts to move until the touch body leaves the touch screen. For example, the upper and lower dimensions of the touch screen, that is, the height when the touch screen is placed in the forward direction, may be measured, and the ratio of the moving distance of the touch point to the moving distance may be specified as a first ratio to move the screen upward. For example, after the touch point moves by the first distance, the electronic device also outputs first data, and the height of the position occupied by the first data on the touch screen is a first height. For example, if the touch point moves by 1 mm, the first height of the first data output by the electronic device on the touch screen may be 2 mm, or the touch point moves by 3 mm, then the electronic The first height of the first data output by the device on the touch screen may be 2 mm, and the like.
如果判断结果为否, 即所述触摸体没有进行圆周运动, 则所述电子设 备也可以根据用户的其他操作输出相应数据。 例如, 判断确定所述触摸点 的移动轨迹为向上的直线运动, 则所述电子设备可以向上移屏。  If the result of the determination is no, that is, the touch body does not perform a circular motion, the electronic device can also output corresponding data according to other operations of the user. For example, if it is determined that the movement trajectory of the touch point is an upward linear motion, the electronic device can move up the screen.
这里, 需要说明的是: 本发明提供的方法可以应用于一具有触摸屏的 电子设备中。  Here, it should be noted that the method provided by the present invention can be applied to an electronic device having a touch screen.
参见图 4, 本发明还提供一种电子设备, 所述电子设备可以具有一个触 摸屏, 所述电子设备可以包括: 获取模块 401、 判断模块 402和输出模块 403 , 所述电子设备还可以包括: 确定模块 404和存储模块 405; 其中, 获取模块 401可以用于获得触摸点的一个以上位置信息。  Referring to FIG. 4, the present invention further provides an electronic device, where the electronic device may have a touch screen, and the electronic device may include: an obtaining module 401, a determining module 402, and an output module 403, where the electronic device may further include: The module 404 and the storage module 405; wherein the obtaining module 401 can be used to obtain more than one location information of the touch point.
判断模块 402可以用于根据所述触摸点的一个以上位置信息判断所述 触摸点的移动轨迹是否为圆周。  The determining module 402 can be configured to determine whether the movement trajectory of the touch point is a circle according to one or more position information of the touch point.
判断模块 402具体可以用于根据所述触摸点的一个以上位置信息, 将 所述触摸点的移动轨迹与预设圆周进行拟合, 根据拟合结果判断所述触摸 点的移动轨迹是否为圆周。 在根据拟合结果判断所述触摸点的移动轨迹是否为圆周时, 判断模块The determining module 402 is specifically configured to: according to the one or more position information of the touch point, fit the movement trajectory of the touch point with a preset circumference, and determine, according to the fitting result, whether the movement trajectory of the touch point is a circumference. When judging whether the movement trajectory of the touch point is a circle according to the fitting result, the judging module
402 具体可以用于当所述拟合结果表明所述触摸点的移动轨迹与所述预设 圆周的相似度值不小于第一预设相似度值时, 确定所述触摸点的移动轨迹 为圆周。 The specific one may be used to determine that the movement trajectory of the touch point is a circle when the fitting result indicates that the similarity value of the movement trajectory of the touch point and the preset circumference is not less than the first preset similarity value. .
所述预设圆周中的每一点都预设有一个第一预设范围, 在根据拟合结 果判断所述触摸点的移动轨迹是否为圆周时, 判断模块 402具体可以用于 当所述触摸点的移动轨迹中的每个点均处于各自的所述第一预设范围中 时, 确定所述触摸点的移动轨迹为圆周。  Each of the preset circumferences is pre-set with a first preset range. When it is determined whether the movement trajectory of the touch point is a circle according to the fitting result, the determining module 402 may be specifically used for the touch point. When each of the moving trajectories is in the respective first predetermined range, it is determined that the moving trajectory of the touched point is a circumference.
在将所述触摸点的移动轨迹与预设圆周进行拟合时, 判断模块 402具 体可以用于当上一次的判断结果表明所述触摸点的移动轨迹为圆周时, 将 所述触摸点的移动轨迹与所述预设圆周进行拟合。  When the movement trajectory of the touch point is matched with the preset circumference, the determining module 402 may be specifically configured to: when the previous judgment result indicates that the movement trajectory of the touch point is a circumference, move the touch point The trajectory is fitted to the preset circumference.
判断模块 402具体可以用于根据所述触摸点的一个以上位置信息, 将 所述触摸点的移动轨迹分别与预设的两个以上图形进行拟合, 根据拟合结 果判断所述触摸点的移动轨迹是否为圆周; 其中, 所述预设的两个以上图 形中包括一个预设圆周。  The determining module 402 is specifically configured to: fit the movement trajectory of the touch point to the preset two or more graphics according to the one or more position information of the touch point, and determine the movement of the touch point according to the fitting result. Whether the track is a circle; wherein the preset two or more figures include a preset circumference.
在根据拟合结果判断所述触摸点的移动轨迹是否为圆周时, 判断模块 402 具体可以用于当上一次的判断结果表明所述触摸点的移动轨迹为圆周 时, 确定所述触摸点的移动轨迹为圆周。  When determining whether the movement trajectory of the touch point is a circle according to the fitting result, the determining module 402 may specifically be configured to determine the movement of the touch point when the previous judgment result indicates that the movement trajectory of the touch point is a circumference The track is a circle.
输出模块 403 可以用于当判断结果为是时, 根据所述触摸点的移动轨 迹连续输出数据。  The output module 403 can be used to continuously output data according to the moving track of the touch point when the judgment result is YES.
输出模块 403 具体可以用于根据所述触摸点的移动轨迹、 所述触摸点 的移动方向及所述触摸点的移动距离连续输出相应数据。  The output module 403 is specifically configured to continuously output corresponding data according to the movement trajectory of the touch point, the moving direction of the touch point, and the moving distance of the touch point.
确定模块 404用于确定上一次的判断结果, 还可以用于确定用户惯用 的操作方式, 例如用户惯用的操作方式可以是划圆或划直线。  The determining module 404 is used to determine the last judgment result, and can also be used to determine the operation mode that the user is accustomed to. For example, the user's usual operation mode may be a circle or a straight line.
存储模块 405可以用于存储记录的每次的判断结果, 确定模块 404可 以根据存储模块 405存储的内容确定上次的判断结果, 也可以根据每次的 判断结果分析出用户的习惯操作。 The storage module 405 can be configured to store the result of each determination of the record, and the determining module 404 can The previous judgment result is determined based on the content stored in the storage module 405, and the user's habit operation can also be analyzed based on each judgment result.
本发明实施例中的数据输出方法包括获得触摸点的一个以上位置信 息; 根据所述触摸点的一个以上位置信息判断所述触摸点的移动轨迹是否 为圆周; 当判断结果为是时, 根据所述触摸点的移动轨迹连续输出数据。 当所述触摸点的移动轨迹为圆周时, 根据所述触摸点的移动轨迹连续输出 数据, 使屏幕上的内容能够连续移动, 不会因停顿而影响移动速度, 提高 了移动效率; 而且用户的手指无需有回程动作, 不会使手指疲劳。  The data output method in the embodiment of the present invention includes: obtaining one or more pieces of position information of the touched point; determining whether the moving track of the touched point is a circle according to one or more pieces of position information of the touched point; and when the determining result is yes, The moving track of the touch point continuously outputs data. When the movement trajectory of the touch point is a circle, the data is continuously output according to the movement trajectory of the touch point, so that the content on the screen can be continuously moved, the movement speed is not affected by the pause, and the movement efficiency is improved; Fingers do not need to have a return movement, and they will not fatigue their fingers.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可采用完全硬件实施例、 完全软件实施 例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可采用在一个 或多个其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不 限于磁盘存储器和光学存储器等 )上实施的计算机程序产品的形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Thus, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart and/or block diagrams, and combinations of flow and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, a special purpose computer, instructions executed by a processor of a computer or other programmable data processing device for generating a block or more in a flow or a flow and/or block diagram of the flowchart The device of the function specified in the box.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品 , 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步驟以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的步驟。 The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart. These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权利要求书 Claim
1、 一种数据输出方法, 应用于具有触摸屏的电子设备, 其特征在于, 所述方法包括:  A data output method, applied to an electronic device having a touch screen, the method comprising:
获得触摸点的一个以上位置信息;  Obtaining more than one location information of the touched point;
根据所述触摸点的一个以上位置信息判断所述触摸点的移动轨迹是否 为圆周;  Determining, according to one or more positional information of the touched point, whether the movement trajectory of the touched point is a circumference;
当判断结果为所述触摸点的移动轨迹为圆周时, 根据所述触摸点的移 动轨迹连续输出数据。  When the result of the judgment is that the movement trajectory of the touched point is a circumference, data is continuously output in accordance with the movement trajectory of the touched point.
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述触摸点的 一个以上位置信息判断所述触摸点的移动轨迹是否为圆周, 包括:  The method according to claim 1, wherein the determining whether the movement trajectory of the touch point is a circle according to the one or more pieces of position information of the touch point comprises:
根据所述触摸点的一个以上位置信息, 将所述触摸点的移动轨迹与预 设圆周进行拟合, 根据拟合结果判断所述触摸点的移动轨迹是否为圆周。  And matching the movement trajectory of the touch point with the preset circumference according to the one or more position information of the touch point, and determining whether the movement trajectory of the touch point is a circle according to the fitting result.
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据拟合结果判断 所述触摸点的移动轨迹是否为圆周, 包括:  The method according to claim 2, wherein the determining whether the movement trajectory of the touch point is a circle according to the fitting result comprises:
当所述拟合结果表明所述触摸点的移动轨迹与所述圆周的相似度值不 小于第一预设相似度值时, 确定所述触摸点的移动轨迹为圆周。  When the fitting result indicates that the similarity value of the movement trajectory of the touch point with the circumference is not less than the first preset similarity value, it is determined that the movement trajectory of the touch point is a circumference.
4、 根据权利要求 2所述的方法, 其特征在于, 所述预设圆周中的每一 点都预设有一个第一预设范围; 相应的, 所述根据拟合结果判断所述触摸 点的移动轨迹是否为圆周, 包括:  The method according to claim 2, wherein each of the preset circumferences is pre-set with a first preset range; correspondingly, the determining the touch point according to the fitting result Whether the movement track is a circle, including:
当所述触摸点的移动轨迹中的每个点均处于各自的所述第一预设范围 中时, 确定所述触摸点的移动轨迹为圆周。  When each of the movement trajectories of the touched points is in the respective first predetermined ranges, it is determined that the movement trajectory of the touched points is a circumference.
5、 根据权利要求 2所述的方法, 其特征在于, 在将所述触摸点的移动 轨迹与预设圆周进行拟合之前, 所述方法还包括: 确定上一次的判断结果; 相应的, 所述将所述触摸点的移动轨迹与预设圆周进行拟合, 包括: 当上一次的判断结果表明所述触摸点的移动轨迹为圆周时, 将所述触 摸点的移动轨迹与所述预设圆周进行拟合。 The method according to claim 2, wherein before the fitting the movement trajectory of the touch point with the preset circumference, the method further comprises: determining a previous judgment result; correspondingly, Fitting the movement trajectory of the touch point with the preset circumference includes: when the previous judgment result indicates that the movement trajectory of the touch point is a circumference, the touch The movement trajectory of the touch point is fitted to the preset circumference.
6、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述触摸点的 一个以上位置信息判断所述触摸点的移动轨迹是否为圆周, 包括:  The method according to claim 1, wherein the determining whether the movement trajectory of the touch point is a circle according to the one or more pieces of position information of the touch point comprises:
根据所述触摸点的一个以上位置信息, 将所述触摸点的移动轨迹分别 与预设的两个以上图形进行拟合, 根据拟合结果判断所述触摸点的移动轨 迹是否为圆周; 其中, 所述预设的两个以上图形包括一个预设圆周。  Aligning the movement trajectory of the touch point with the preset two or more patterns according to the one or more position information of the touch point, and determining whether the movement trajectory of the touch point is a circle according to the fitting result; The preset two or more graphics include a preset circumference.
7、 根据权利要求 6所述的方法, 其特征在于, 在将所述触摸点的移动 轨迹分别与预设的两个以上图形进行拟合之后, 所述方法还包括: 确定上 一次的判断结果;  The method according to claim 6, wherein after the moving trajectory of the touch point is respectively matched with two or more preset patterns, the method further comprises: determining a previous judgment result. ;
相应的, 所述根据拟合结果判断所述触摸点的移动轨迹是否为圆周, 包括: 当上一次的判断结果表明所述触摸点的移动轨迹为圆周时, 确定所 述触摸点的移动轨迹为圆周。  Correspondingly, determining whether the movement trajectory of the touch point is a circle according to the fitting result comprises: determining, when the previous judgment result indicates that the movement trajectory of the touch point is a circumference, determining a movement trajectory of the touch point is circumference.
8、 根据权利要求 1至 7任一项所述的方法, 其特征在于, 所述根据所 述触摸点的移动轨迹连续输出数据, 包括:  The method according to any one of claims 1 to 7, wherein the continuously outputting data according to the movement trajectory of the touch point comprises:
根据所述触摸点的移动轨迹、 所述触摸点的移动方向及所述触摸点的 移动距离连续输出相应数据。  Corresponding data is continuously output according to the movement trajectory of the touch point, the moving direction of the touch point, and the moving distance of the touch point.
9、 一种电子设备, 所述电子设备具有触摸屏, 其特征在于, 所述电子 设备还包括:  An electronic device, the electronic device having a touch screen, wherein the electronic device further comprises:
获取模块, 用于获得触摸点的一个以上位置信息;  An obtaining module, configured to obtain more than one location information of the touch point;
判断模块, 用于根据所述触摸点的一个以上位置信息判断所述触摸点 的移动轨迹是否为圆周;  a determining module, configured to determine, according to one or more position information of the touch point, whether a movement trajectory of the touch point is a circumference;
输出模块, 用于当判断结果为所述触摸点的移动轨迹为圆周时, 根据 所述触摸点的移动轨迹连续输出数据。  And an output module, configured to continuously output data according to the movement trajectory of the touch point when the determination result is that the movement trajectory of the touch point is a circle.
10、 根据权利要求 9所述的电子设备, 其特征在于, 所述判断模块具 体用于根据所述触摸点的一个以上位置信息, 将所述触摸点的移动轨迹与 预设圆周进行拟合, 根据拟合结果判断所述触摸点的移动轨迹是否为圆周。The electronic device according to claim 9, wherein the determining module is specifically configured to: move the trajectory of the touch point according to one or more location information of the touch point The preset circumference is fitted, and it is judged according to the fitting result whether the movement trajectory of the touch point is a circumference.
11、 根据权利要求 10所述的电子设备, 其特征在于, 在根据拟合结果 判断所述触摸点的移动轨迹是否为圆周时, 所述判断模块具体用于当所述 拟合结果表明所述触摸点的移动轨迹与所述圆周的相似度值不小于第一预 设相似度值时, 确定所述触摸点的移动轨迹为圆周。 The electronic device according to claim 10, wherein, when determining whether the movement trajectory of the touch point is a circle according to a fitting result, the determining module is specifically configured to: when the fitting result indicates the When the similarity value of the movement trajectory of the touch point and the circumference is not less than the first preset similarity value, it is determined that the movement trajectory of the touch point is a circumference.
12、 根据权利要求 10所述的电子设备, 其特征在于, 所述预设圆周中 的每一点都预设有一个第一预设范围, 相应的, 在根据拟合结果判断所述 触摸点的移动轨迹是否为圆周时, 所述判断模块具体用于当所述触摸点的 移动轨迹中的每个点均处于各自的所述第一预设范围中时, 确定所述触摸 点的移动轨迹为圆周。  The electronic device according to claim 10, wherein each of the preset circumferences is pre-set with a first preset range, and correspondingly, the touch point is determined according to a fitting result. When the moving track is a circle, the determining module is specifically configured to determine, when each point in the moving track of the touch point is in the first predetermined range, determine a moving track of the touch point as circumference.
13、 根据权利要求 10所述的电子设备, 其特征在于, 所述电子设备还 包括: 确定模块, 用于确定上一次的判断结果;  The electronic device according to claim 10, wherein the electronic device further comprises: a determining module, configured to determine a previous determination result;
相应的, 在将所述触摸点的移动轨迹与预设圆周进行拟合时, 所述判 断模块具体用于当上一次的判断结果表明所述触摸点的移动轨迹为圆周 时 , 将所述触摸点的移动轨迹与所述预设圆周进行拟合。  Correspondingly, when the movement trajectory of the touch point is matched with the preset circumference, the determining module is specifically configured to: when the previous judgment result indicates that the movement trajectory of the touch point is a circumference, the touch The movement trajectory of the point is fitted to the preset circumference.
14、 根据权利要求 9所述的电子设备, 其特征在于, 所述判断模块具 体用于根据所述触摸点的一个以上位置信息, 将所述触摸点的移动轨迹分 别与预设的两个以上图形进行拟合, 根据拟合结果判断所述触摸点的移动 轨迹是否为圆周; 其中, 所述预设的两个以上图形包括一个预设圆周。  The electronic device according to claim 9, wherein the determining module is configured to: respectively, move the trajectory of the touch point to two or more presets according to one or more position information of the touch point The figure is fitted, and it is determined whether the movement trajectory of the touch point is a circle according to the fitting result; wherein the preset two or more patterns include a preset circumference.
15、 根据权利要求 14所述的电子设备, 其特征在于, 所述电子设备还 包括: 确定模块, 用于确定上一次的判断结果;  The electronic device according to claim 14, wherein the electronic device further comprises: a determining module, configured to determine a previous determination result;
相应的, 在根据拟合结果判断所述触摸点的移动轨迹是否为圆周时, 所述判断模块具体用于当上一次的判断结果表明所述触摸点的移动轨迹为 圆周时, 确定所述触摸点的移动轨迹为圆周。  Correspondingly, when determining whether the movement trajectory of the touch point is a circle according to the fitting result, the determining module is specifically configured to determine the touch when the previous judgment result indicates that the movement trajectory of the touch point is a circumference The movement path of the point is the circumference.
16、 根据权利要求 9至 15任一项所述的电子设备, 其特征在于, 所述 输出模块具体用于根据所述触摸点的移动轨迹、 所述触摸点的移动方向及 所述触摸点的移动距离连续输出相应数据。 The electronic device according to any one of claims 9 to 15, wherein The output module is specifically configured to continuously output corresponding data according to the movement trajectory of the touch point, the moving direction of the touch point, and the moving distance of the touch point.
PCT/CN2013/072962 2012-04-16 2013-03-20 A method for data output and electronic device WO2013155915A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210109910.4A CN102662592B (en) 2012-04-16 2012-04-16 A kind of data output method and device
CN201210109910.4 2012-04-16

Publications (1)

Publication Number Publication Date
WO2013155915A1 true WO2013155915A1 (en) 2013-10-24

Family

ID=46772095

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/072962 WO2013155915A1 (en) 2012-04-16 2013-03-20 A method for data output and electronic device

Country Status (2)

Country Link
CN (1) CN102662592B (en)
WO (1) WO2013155915A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662592B (en) * 2012-04-16 2017-10-10 中兴通讯股份有限公司 A kind of data output method and device
CN104731492B (en) * 2013-12-19 2018-07-24 鸿合科技股份有限公司 A kind of magic pen and its display control method
CN104731396B (en) * 2013-12-19 2018-03-02 鸿合科技有限公司 A kind of magic pen and its display control method
US9645731B2 (en) 2014-03-31 2017-05-09 Xiaomi Inc. Unlocking method and device using same
CN103971046B (en) * 2014-03-31 2018-10-19 小米科技有限责任公司 A kind of method and apparatus of decryption

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164937A1 (en) * 2007-12-20 2009-06-25 Alden Alviar Scroll Apparatus and Method for Manipulating Data on an Electronic Device Display
CN101673139A (en) * 2008-09-10 2010-03-17 Tcl集团股份有限公司 Remote controller and input system and method thereof
CN102103454A (en) * 2008-05-15 2011-06-22 杭州惠道科技有限公司 Human-machine interface for predicting user input in real time
CN102236502A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Pressure touch gesture recognition human-computer interaction way for mobile terminal
CN102662592A (en) * 2012-04-16 2012-09-12 中兴通讯股份有限公司 Data output method and data output device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101019335B1 (en) * 2008-11-11 2011-03-07 주식회사 팬택 Method and system for controlling application of mobile terminal using gesture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164937A1 (en) * 2007-12-20 2009-06-25 Alden Alviar Scroll Apparatus and Method for Manipulating Data on an Electronic Device Display
CN102103454A (en) * 2008-05-15 2011-06-22 杭州惠道科技有限公司 Human-machine interface for predicting user input in real time
CN101673139A (en) * 2008-09-10 2010-03-17 Tcl集团股份有限公司 Remote controller and input system and method thereof
CN102236502A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Pressure touch gesture recognition human-computer interaction way for mobile terminal
CN102662592A (en) * 2012-04-16 2012-09-12 中兴通讯股份有限公司 Data output method and data output device

Also Published As

Publication number Publication date
CN102662592B (en) 2017-10-10
CN102662592A (en) 2012-09-12

Similar Documents

Publication Publication Date Title
CN103064627B (en) A kind of application management method and device
TWI584164B (en) Emulating pressure sensitivity on multi-touch devices
WO2013155915A1 (en) A method for data output and electronic device
WO2013189372A2 (en) Touch screen terminal and method for achieving check function thereof
TWI543069B (en) Electronic apparatus and drawing method and computer products thereof
US20130061163A1 (en) Systems and methods of editing a chemical structure on a touch-screen
JP6177876B2 (en) Touch panel system
JP2014502763A5 (en)
JP2013514590A5 (en)
CN104731497A (en) Device and method for managing multiple touch sources with palm rejection
US20150186004A1 (en) Multimode gesture processing
US20150169072A1 (en) Method, apparatus and computer readable medium for polygon gesture detection and interaction
CN103164067A (en) Method for judging touch input and electronic device
CN102768597B (en) Method and device for operating electronic equipment
TW201508619A (en) Methods for interacting with an electronic device by using a stylus comprising body having conductive portion and systems utilizing the same
US20160070467A1 (en) Electronic device and method for displaying virtual keyboard
TW201430627A (en) System and method for identifying operation of stylus
CN106933462B (en) Operation bar arrangement method and device of mobile terminal
TWI480792B (en) Operating method of electronic apparatus
US20150153925A1 (en) Method for operating gestures and method for calling cursor
TW201423563A (en) Apparatus and method for processing handwriting input
JP2014175012A (en) Mouse pointer control method
WO2016206438A1 (en) Touch screen control method and device and mobile terminal
TWI498793B (en) Optical touch system and control method
JP2017084216A (en) Input processing apparatus and image forming apparatus including the same

Legal Events

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

Ref document number: 13778739

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13778739

Country of ref document: EP

Kind code of ref document: A1