CN103425311A - Positioning method and positioning system for mobile object clicking selection - Google Patents
Positioning method and positioning system for mobile object clicking selection Download PDFInfo
- Publication number
- CN103425311A CN103425311A CN2012101656150A CN201210165615A CN103425311A CN 103425311 A CN103425311 A CN 103425311A CN 2012101656150 A CN2012101656150 A CN 2012101656150A CN 201210165615 A CN201210165615 A CN 201210165615A CN 103425311 A CN103425311 A CN 103425311A
- Authority
- CN
- China
- Prior art keywords
- moving object
- position coordinates
- point
- touch screen
- positioning
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
一种移动对象点选定位方法,该方法包括步骤:根据触控屏幕接收到的物体在该触控屏幕上的触碰位置的坐标信息,侦测该物体是否触碰到该移动对象的点选区范围;当该物体触碰到该移动对象的点选区范围时,获取触控屏幕中该移动对象的中心点当前的位置坐标;根据所述中心点当前的位置坐标及预设的偏移值,计算出新的位置坐标;将计算出的新的位置坐标设置为该移动对象的定位点当前的位置坐标。本发明还提供一种移动对象点选定位系统。本发明可以将移动对象的定位点与点选区分开,提高点选的准确度。
A method for point selection and positioning of a moving object, the method comprising the steps of: detecting whether the object touches the point selection area of the moving object according to the coordinate information of the touch position of the object on the touch screen received by the touch screen range; when the object touches the range of the selected area of the moving object, obtain the current position coordinates of the center point of the moving object in the touch screen; according to the current position coordinates of the center point and the preset offset value, Calculate the new position coordinates; set the calculated new position coordinates as the current position coordinates of the anchor point of the moving object. The invention also provides a mobile object point selection and positioning system. The invention can distinguish the positioning point of the moving object from the point selection, and improves the accuracy of point selection.
Description
技术领域 technical field
本发明涉及一种定位方法及系统,尤其是涉及一种在触控屏幕上的移动对象的点选定位方法及系统。The present invention relates to a positioning method and system, in particular to a method and system for selecting and positioning a moving object on a touch screen.
背景技术 Background technique
现有的在触控屏幕上以手指点选移动对象的方式,点选区为该移动对象区域,定位点在移动对象的中心位置。当使用者以手指点选移动对象时,手指可能会遮住该定位点,导致使用者无法看到移动对象的准确位置,在控制该移动对象进行移动时无法准确确定需要移动到的目标位置,造成一些不必要的错误。In the existing method of selecting a moving object with a finger on a touch screen, the clicking area is the area of the moving object, and the anchor point is at the center of the moving object. When the user selects the moving object with the finger, the finger may cover the anchor point, so that the user cannot see the exact position of the moving object, and cannot accurately determine the target position to be moved when controlling the moving object to move. cause unnecessary errors.
发明内容 Contents of the invention
鉴于以上内容,有必要提供一种移动对象点选定位方法,可以将移动对象的定位点与点选区分开,提高点选的准确度。In view of the above, it is necessary to provide a method for point selection and positioning of a moving object, which can distinguish the positioning point of the moving object from the point of point selection, and improve the accuracy of point selection.
鉴于以上内容,还有必要提供一种移动对象点选定位系统,可以将移动对象的定位点与点选区分开,提高点选的准确度。In view of the above, it is also necessary to provide a moving object point selection and positioning system, which can distinguish the positioning point of the moving object from the point selection, and improve the accuracy of point selection.
所述移动对象点选定位方法包括:侦测步骤:根据电子设备的触控屏幕接收到的物体在该触控屏幕上的触碰位置的坐标信息,侦测该物体是否触碰到该移动对象的点选区范围;获取步骤:当该物体触碰到该移动对象的点选区范围时,获取触控屏幕中该移动对象的中心点当前的位置坐标;计算步骤:根据所述中心点当前的位置坐标及预设的偏移值,计算出新的位置坐标;及设置步骤:将计算出的新的位置坐标设置为该移动对象的定位点当前的位置坐标。The method for selecting and locating a moving object includes: a detecting step: detecting whether the object touches the moving object according to the coordinate information of the touch position of the object on the touch screen received by the touch screen of the electronic device range of the selected area; acquisition step: when the object touches the range of the selected area of the moving object, obtain the current position coordinates of the center point of the moving object in the touch screen; calculation step: according to the current position of the center point coordinates and the preset offset value to calculate a new position coordinate; and a setting step: setting the calculated new position coordinate as the current position coordinate of the anchor point of the moving object.
所述移动对象点选定位系统包括:侦测模块,用于根据电子设备的触控屏幕接收到的物体在该触控屏幕上的触碰位置的坐标信息,侦测该物体是否触碰到该移动对象的点选区范围;获取模块,用于当该物体触碰到该移动对象的点选区范围时,获取触控屏幕中该移动对象的中心点当前的位置坐标;计算模块,用于根据所述中心点当前的位置坐标及预设的偏移值,计算出新的位置坐标;及设置模块,用于将计算出的新的位置坐标设置为该移动对象的定位点当前的位置坐标。The mobile object point-and-click positioning system includes: a detection module, which is used to detect whether the object touches the touch screen according to the coordinate information received by the touch screen of the electronic device. The range of the selected area of the moving object; the acquisition module is used to obtain the current position coordinates of the center point of the moving object in the touch screen when the object touches the range of the selected area of the moving object; the calculation module is used to The current position coordinates of the center point and the preset offset value are used to calculate new position coordinates; and the setting module is used to set the calculated new position coordinates as the current position coordinates of the anchor point of the moving object.
相较于现有技术,所述的移动对象点选定位方法及系统,能够将移动对象的定位点与点选区分开,当使用者点选移动对象时,手指触碰于点选区,而移动对象的定位点在点选区外,所以定位点不会被手指遮盖,使用者可以准确地目视该移动对象的指示位置,从而可以准确地确定需要移动到的目标位置,提高点选的准确度。Compared with the prior art, the method and system for selecting and positioning a moving object can separate the positioning point of the moving object from the point of selection. When the user clicks the moving object, the finger touches the selection area, and the moving object The locating point is outside the clicking area, so the locating point will not be covered by the finger, and the user can accurately visually observe the indicated position of the moving object, thereby accurately determining the target position to be moved to and improving the accuracy of clicking.
附图说明 Description of drawings
图1是本发明移动对象点选定位系统较佳实施例的应用环境图。Fig. 1 is an application environment diagram of a preferred embodiment of the mobile object point selection and positioning system of the present invention.
图2A-2B是使用现有的移动对象点选定位方法移动移动对象的示意图。2A-2B are schematic diagrams of moving a moving object using an existing method for selecting and locating a moving object.
图3是本发明中移动对象的部分实施例的示意图。Fig. 3 is a schematic diagram of some embodiments of moving objects in the present invention.
图4是图3中第三实施例的移动对象的具体示意图。FIG. 4 is a specific schematic diagram of the moving object in the third embodiment in FIG. 3 .
图5是本发明移动对象点选定位系统较佳实施例的功能模块图。Fig. 5 is a functional block diagram of a preferred embodiment of the mobile object point selection and positioning system of the present invention.
图6是图4中移动对象的坐标图。FIG. 6 is a coordinate diagram of the moving object in FIG. 4 .
图7是本发明移动对象点选定位方法较佳实施例的流程图。Fig. 7 is a flow chart of a preferred embodiment of the method for selecting and locating a moving object according to the present invention.
图8A-8B是使用本发明的移动对象点选定位方法移动移动对象的示意图。8A-8B are schematic diagrams of moving a moving object using the method for selecting and locating a moving object according to the present invention.
主要元件符号说明Description of main component symbols
如下具体实施方式将结合上述附图进一步说明本发明。The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings.
具体实施方式 Detailed ways
参阅图1所示,是本发明移动对象点选定位系统较佳实施例的应用环境图。所述移动对象点选定位系统10运行于电子设备1的处理器3中,所述电子设备1中还包括触控屏幕2。在本实施例中,所述电子设备1可以是手机、平板电脑等。所述触控屏幕2用于显示移动对象及接收使用者用手指触碰该触控屏幕2时的触碰位置的坐标信息。Referring to FIG. 1 , it is an application environment diagram of a preferred embodiment of the mobile object point selection and positioning system of the present invention. The mobile object pointing and
所述的移动对象是指在触控屏幕2中指示当前读取位置的图标,类似于鼠标的光标。现有技术中,移动对象的定位点就是在该移动对象的中心点位置(参阅图2A所示),因此当使用者点选该移动对象时,手指很容易遮挡该移动对象的定位点(参阅图2B所示),导致使用者无法准确地目视该移动对象的指示位置。所述定位点为该移动对象所指示的位置。所述点选区为使用者用手指点选该移动对象的有效触碰区域,使用者的手指触碰所述点选区时,才能点选及移动该移动对象。The moving object refers to an icon indicating the current reading position on the
本发明中所述的移动对象,定位点在点选区范围之外,可以避免使用者点选该移动对象时遮挡定位点。图3所示的图标(A)至(E)为本发明所述的移动对象的部分实施例。其中,各实施例中的阴影部分为点选区,第一实施例(即图标A)、第四实施例(即图标D)的左上角顶点为该移动对象的定位点,第二实施例(即图标B)的右上角顶点为该移动对象的定位点,第三实施例(即图标C)、第五实施例(即图标E)的“十”字形状图案的中心为该移动对象的定位点。值得注意的是,凡定义定位点在手指点选区以外的方式,不限定定位点与点选区的外形、颜色、位置、方向、大小,均属于本发明所述的移动对象范围,包括但不限于图3中出现的几种实施例。For the moving object described in the present invention, the positioning point is outside the range of the click area, which can prevent the user from blocking the positioning point when clicking the moving object. Icons (A) to (E) shown in FIG. 3 are some embodiments of the moving objects described in the present invention. Wherein, the shaded part in each embodiment is the click area, the upper left corner apex of the first embodiment (ie icon A) and the fourth embodiment (ie icon D) is the anchor point of the moving object, the second embodiment (ie icon D) is the anchor point of the moving object, and the second embodiment (ie The vertex in the upper right corner of the icon B) is the anchor point of the moving object, and the center of the "cross" shape pattern of the third embodiment (ie icon C) and the fifth embodiment (ie icon E) is the anchor point of the moving object . It is worth noting that any method that defines the anchor point outside the finger selection area does not limit the shape, color, position, direction, and size of the anchor point and the click area, and all belong to the scope of the moving object described in the present invention, including but not limited to Several examples appear in Figure 3.
针对不同图形的移动对象,会有不同的定位点位置,可以相对于该移动对象的中心点,预先设置一个偏移值,中心点的位置坐标加上所述偏移值,就是定位点的位置坐标。移动对象的形状或大小不同,预设的偏移值也不同。参阅图4所示,是图3中第三实施例的移动对象的具体示意图。该移动对象11的图形范围如图中最外面的虚线方框所示,点选区12的形状为圆形,但在本实施例中,该点选区12外的小虚线方框所示的范围均为该点选区12的有效触碰区域,使用者的手指触碰该小虚线方框的范围内时,均可对该移动对象11进行点选及移动操作。根据该移动对象的中心点13的位置坐标(X1,Y1)及预设的偏移值(X0,Y0),即可计算出定位点14的位置坐标(X2,Y2),计算公式为X2=X1+X0,Y2=Y1+Y0。从图4可以看出,移动对象11的定位点14与点选区12分开,其中,定位点14位于点选区12范围之外。For moving objects with different graphics, there will be different positioning point positions. You can preset an offset value relative to the center point of the moving object. The position coordinates of the center point plus the offset value are the position of the positioning point. coordinate. The shape or size of the moving object is different, and the preset offset value is also different. Referring to FIG. 4 , it is a specific schematic diagram of the moving object in the third embodiment in FIG. 3 . The graphical range of the moving object 11 is shown in the outermost dotted line box among the figure, and the shape of the selection area 12 is a circle, but in the present embodiment, the range shown in the small dotted line box outside the selection area 12 is uniform. It is an effective touch area of the clicking area 12 , when the user's finger touches within the range of the small dashed box, the moving object 11 can be clicked and moved. According to the position coordinates (X 1 , Y 1 ) of the
参阅图5所示,是本发明移动对象点选定位系统较佳实施例的功能模块图。Referring to FIG. 5 , it is a functional block diagram of a preferred embodiment of the system for point-and-click positioning of a mobile object according to the present invention.
所述移动对象点选定位系统10包括侦测模块100、获取模块200、计算模块300及设置模块400。The mobile object point selection and
所述侦测模块100用于根据触控屏幕2接收到的使用者的手指(或其它物体,如铁笔)在该触控屏幕2上的触碰位置的坐标信息,侦测使用者是否触碰到该移动对象的点选区范围。The
所述获取模块200用于当使用者触碰到该移动对象的点选区范围时,获取触控屏幕2中该移动对象的中心点当前的位置坐标。在本实施例中,触控屏幕2显示该移动对象时,会有关于该移动对象位置的信息,一般情况下,该移动对象的位置坐标为中心点的位置坐标。触控屏幕2将该中心点的位置坐标传送至移动对象点选定位系统10,移动对象点选定位系统10即能根据该中心点的位置坐标计算相应的定位点的位置坐标。The
所述计算模块300用于根据所述中心点当前的位置坐标及预设的偏移值,计算出新的位置坐标。例如,参阅图6所示,所述中心点当前的位置坐标为(6.4,5.3),预设的偏移值为(-3.2,3.2),计算出的新的位置坐标为(3.2,8.5)。The
所述设置模块400用于将计算出的新的位置坐标设置为该移动对象的定位点当前的位置坐标,即该移动对象当前所指示的位置为该新的位置坐标所处的位置,然后触发所述侦测模块100继续侦测使用者是否触碰到该移动对象的点选区范围。当侦测到使用者未触碰到该移动对象的点选区范围,即使用者的手指已放开该移动对象时,结束所述定位过程。The
参阅图7所示,是本发明移动对象点选定位方法较佳实施例的流程图。Referring to FIG. 7 , it is a flowchart of a preferred embodiment of the method for selecting and locating a moving object according to the present invention.
步骤S10,所述侦测模块100根据触控屏幕2接收到的使用者的手指(或其它物体,如铁笔)在该触控屏幕2上的触碰位置的坐标信息,侦测使用者是否触碰到该移动对象的点选区范围。若使用者触碰到该移动对象的点选区范围,则执行步骤S12。若使用者未触碰到该移动对象的点选区范围,则流程结束。Step S10, the
步骤S12,所述获取模块200获取触控屏幕2中该移动对象的中心点当前的位置坐标。Step S12, the
步骤S14,所述计算模块300根据所述中心点当前的位置坐标及预设的偏移值,计算出新的位置坐标。Step S14, the
步骤S16,所述设置模块400将计算出的新的位置坐标设置为该移动对象的定位点当前的位置坐标,即该移动对象当前所指示的位置为该新的位置坐标所处的位置。Step S16, the
参阅图8A-8B所示,移动对象的定位点与点选区分开,当使用者点选移动对象时,手指触碰于点选区,而移动对象的定位点在点选区外,所以定位点不会被手指遮盖。使用者在移动该移动对象时可以准确地目视该移动对象的指示位置,提高操作的准确度。As shown in Figures 8A-8B, the anchor point of the moving object is separated from the click area. When the user clicks on the moving object, the finger touches the click area, and the anchor point of the moving object is outside the click area, so the anchor point will not covered by fingers. When moving the moving object, the user can accurately observe the indicated position of the moving object, thereby improving the accuracy of operation.
以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced. Without departing from the spirit and scope of the technical solution of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101656150A CN103425311A (en) | 2012-05-25 | 2012-05-25 | Positioning method and positioning system for mobile object clicking selection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101656150A CN103425311A (en) | 2012-05-25 | 2012-05-25 | Positioning method and positioning system for mobile object clicking selection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103425311A true CN103425311A (en) | 2013-12-04 |
Family
ID=49650165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012101656150A Pending CN103425311A (en) | 2012-05-25 | 2012-05-25 | Positioning method and positioning system for mobile object clicking selection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103425311A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104978135A (en) * | 2014-04-09 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Icon display method and device, and mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1804774A (en) * | 2004-12-22 | 2006-07-19 | 微软公司 | Improving touch screen accuracy |
WO2008070815A1 (en) * | 2006-12-07 | 2008-06-12 | Microsoft Corporation | Operating touch screen interfaces |
CN101231564A (en) * | 2007-01-25 | 2008-07-30 | 三星电子株式会社 | Device and method for improving usability of touch screen |
US20090051661A1 (en) * | 2007-08-22 | 2009-02-26 | Nokia Corporation | Method, Apparatus and Computer Program Product for Providing Automatic Positioning of Text on Touch Display Devices |
US20090288043A1 (en) * | 2007-12-20 | 2009-11-19 | Purple Labs | Method and system for moving a cursor and selecting objects on a touchscreen using a finger pointer |
KR101095851B1 (en) * | 2010-11-10 | 2011-12-21 | 채상우 | Touch screen device and control method |
-
2012
- 2012-05-25 CN CN2012101656150A patent/CN103425311A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1804774A (en) * | 2004-12-22 | 2006-07-19 | 微软公司 | Improving touch screen accuracy |
WO2008070815A1 (en) * | 2006-12-07 | 2008-06-12 | Microsoft Corporation | Operating touch screen interfaces |
CN101231564A (en) * | 2007-01-25 | 2008-07-30 | 三星电子株式会社 | Device and method for improving usability of touch screen |
US20090051661A1 (en) * | 2007-08-22 | 2009-02-26 | Nokia Corporation | Method, Apparatus and Computer Program Product for Providing Automatic Positioning of Text on Touch Display Devices |
US20090288043A1 (en) * | 2007-12-20 | 2009-11-19 | Purple Labs | Method and system for moving a cursor and selecting objects on a touchscreen using a finger pointer |
KR101095851B1 (en) * | 2010-11-10 | 2011-12-21 | 채상우 | Touch screen device and control method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104978135A (en) * | 2014-04-09 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Icon display method and device, and mobile terminal |
CN104978135B (en) * | 2014-04-09 | 2019-10-18 | 腾讯科技(深圳)有限公司 | A kind of icon display method, device and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8217909B2 (en) | Multi-finger sub-gesture reporting for a user interface device | |
US9880655B2 (en) | Method of disambiguating water from a finger touch on a touch sensor panel | |
EP2676182B1 (en) | Tracking input to a multi-touch digitizer system | |
US10572012B2 (en) | Electronic device for performing gestures and methods for determining orientation thereof | |
US20090309847A1 (en) | Apparatus and method for providing multi-touch interface capability | |
AU2017203910B2 (en) | Glove touch detection | |
WO2019223461A1 (en) | Touch detection method and computer-readable storage medium | |
EP3100151B1 (en) | Virtual mouse for a touch screen device | |
CN102902467A (en) | Text cursor positioning method of terminal equipment and terminal equipment | |
TW201525848A (en) | Device with multiple tough screens and method of detecting and determining adjacent junctions of multiple touch screens | |
WO2012129975A1 (en) | Method of identifying rotation gesture and device using the same | |
CN104978135B (en) | A kind of icon display method, device and mobile terminal | |
TW201349083A (en) | Method and system for clicking and positioning movable object | |
CN102859473B (en) | Pointing position determination device and method, touch panel device, and electronic device | |
CN102426483B (en) | Multi-channel accurate target positioning method for touch equipment | |
TWI590131B (en) | Optical touch device and method for detecting touch point | |
EP2977862B1 (en) | Information processing device and information processing method | |
CN103425311A (en) | Positioning method and positioning system for mobile object clicking selection | |
TWI512592B (en) | Electronic device and method for displaying a user interface thereof | |
EP2975503A2 (en) | Touch device and corresponding touch method | |
CN104679312A (en) | Electronic device as well as touch system and touch method of electronic device | |
TW201327296A (en) | Touch control electronic device and calibration method of trajectory | |
US20150116281A1 (en) | Portable electronic device and control method | |
US20160202796A1 (en) | Method for characterizing an object of interest by interacting with a measuring interface, and device implementing the method | |
EP2733596A2 (en) | Pointer control method and electronic device thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20160627 Address after: 528437 Guangdong province Zhongshan Torch Development Zone, Cheung Hing Road 6 No. 222 north wing trade building room Applicant after: Yun Chuan intellectual property Services Co., Ltd of Zhongshan city Address before: 518109, Guangdong, Baoan District, Shenzhen, Longhua Road, road, east side of Foxconn science and Technology Park, D1 district workshop, stamping workshop, third layers, distinguish the body Applicant before: Jetta software (Shenzhen) Co., Ltd. Applicant before: Hon Hai Precision Industry Co., Ltd. |
|
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131204 |
|
WD01 | Invention patent application deemed withdrawn after publication |