CN115904131A - Method, device and equipment for determining touch point information and storage medium - Google Patents

Method, device and equipment for determining touch point information and storage medium Download PDF

Info

Publication number
CN115904131A
CN115904131A CN202110897661.9A CN202110897661A CN115904131A CN 115904131 A CN115904131 A CN 115904131A CN 202110897661 A CN202110897661 A CN 202110897661A CN 115904131 A CN115904131 A CN 115904131A
Authority
CN
China
Prior art keywords
touch
touch point
boundary
determining
point information
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
Application number
CN202110897661.9A
Other languages
Chinese (zh)
Inventor
廖志铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Getac Technology Corp
Original Assignee
Getac Technology Corp
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 Getac Technology Corp filed Critical Getac Technology Corp
Priority to CN202110897661.9A priority Critical patent/CN115904131A/en
Publication of CN115904131A publication Critical patent/CN115904131A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for determining touch point information, wherein the method comprises the following steps: monitoring a sliding event generated when a touch panel is touched, and acquiring touch point information of each sensed touch point corresponding to the sliding event; determining whether the sliding event is initiated within the boundary range of the touch panel through a touch pen according to the touch point information of each sensed touch point; if yes, determining that the sliding event does not sense the touch point information of the touch point in the boundary range. By using the method, the touch control point information of the non-sensing touch control point is acquired by the touch control panel by determining that the sliding event is initiated by the touch control pen in the boundary range of the touch control panel, so that the normal operation of other subsequent services is supported.

Description

一种触控点信息的确定方法、装置、设备及存储介质A method, device, equipment and storage medium for determining touch point information

技术领域technical field

本发明实施例涉及触控技术领域,尤其涉及一种触控点信息的确定方法、装置、设备及存储介质。Embodiments of the present invention relate to the field of touch technology, and in particular, to a method, device, device, and storage medium for determining touch point information.

背景技术Background technique

近年来有越来越多使用者采用触控笔对触控面板进行操作。目前,触控面板具备对触控笔进行无线充电的功能,无线充电线圈主要设置在触控面板的边框处,无线充电线圈会对触控面板边框处的触控敏感度产生影响,导致触控面板无法及时响应触控笔在极短时间内触碰面板边界时所产生的触控信号,特别是越靠近面板边界的触碰,触控面板越不易在短时间内感测出触控点信息。In recent years, more and more users use a stylus to operate the touch panel. At present, the touch panel has the function of wirelessly charging the stylus. The wireless charging coil is mainly arranged at the frame of the touch panel. The wireless charging coil will affect the touch sensitivity of the touch panel frame, resulting in touch The panel cannot respond in a timely manner to the touch signal generated when the stylus touches the panel boundary in a very short time, especially the closer the touch is to the panel boundary, the touch panel is less likely to sense the touch point information in a short time .

在触控面板存在上述问题时,触控笔由触控面板的边界向面板界面内滑动的操作中,触控面板实际获得的触控点信息的数量将小于理论上应当获得的触控点信息的数量。因为确定出的触控点信息往往参与触控设备上其他业务的运行,当触控面板所获取触控点信息不准确时,将会对后续其他业务的正常运行产生影响。When the above problems exist on the touch panel, during the operation of sliding the stylus from the boundary of the touch panel to the panel interface, the amount of touch point information actually obtained by the touch panel will be less than the theoretically obtained touch point information quantity. Because the determined touch point information often participates in the operation of other businesses on the touch device, when the touch point information obtained by the touch panel is inaccurate, it will affect the subsequent normal operation of other businesses.

发明内容Contents of the invention

本发明提供一种触控点信息的确定方法、装置、设备及存储介质,以实现触控面板获取未感测触控点的触控点信息,便于支持后续其他业务的正常运行。The present invention provides a method, device, device, and storage medium for determining touch point information, so as to realize touch panel acquisition of touch point information of unsensed touch points, so as to facilitate the normal operation of other subsequent services.

第一方面,本发明实施例提供了一种触控点信息的确定方法,包括:In a first aspect, an embodiment of the present invention provides a method for determining touch point information, including:

监测对触控面板进行触控时产生的滑动事件,并获得所述滑动事件所对应各已感测触控点的触控点信息;Monitoring a sliding event generated when the touch panel is touched, and obtaining touch point information of each sensed touch point corresponding to the sliding event;

根据各所述已感测触控点的触控点信息,确定所述滑动事件是否通过触控笔在所述触控面板的边界范围内发起;According to the touch point information of each of the sensed touch points, determine whether the sliding event is initiated by the stylus within the boundary range of the touch panel;

若是,则确定所述滑动事件在所述边界范围内未感测触控点的触控点信息。If yes, it is determined that the sliding event does not sense touch point information of the touch point within the boundary range.

第二方面,本发明实施例还提供了一种触控点信息的确定装置,包括:In the second aspect, the embodiment of the present invention also provides a device for determining touch point information, including:

滑动事件监测模块,用于监测对触控面板进行触控时产生的滑动事件,并获得所述滑动事件所对应各已感测触控点的触控点信息;A sliding event monitoring module, configured to monitor a sliding event generated when the touch panel is touched, and obtain touch point information of each sensed touch point corresponding to the sliding event;

滑动事件确定模块,用于根据各所述已感测触控点的触控点信息,确定所述滑动事件是否通过触控笔在所述触控面板的边界范围内发起;A slide event determination module, configured to determine whether the slide event is initiated within the boundary of the touch panel by a stylus according to the touch point information of each sensed touch point;

触控点信息确定模块,用于若是,则确定所述滑动事件在所述边界范围内未感测触控点的触控点信息。The touch point information determining module is configured to, if yes, determine that the sliding event does not sense touch point information of the touch point within the boundary range.

第三方面,本发明实施例还提供了一种计算机设备,包括:存储器以及一个或多个处理器;In a third aspect, an embodiment of the present invention further provides a computer device, including: a memory and one or more processors;

所述存储器,用于存储一个或多个程序;The memory is used to store one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上述第一方面所述的触控点信息的确定方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining touch point information as described in the first aspect above.

第四方面,本发明实施例还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如上述第一方面所述的触控点信息的确定方法。In the fourth aspect, the embodiment of the present invention also provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the touch point information described in the first aspect when executed by a computer processor. method of determination.

本发明实施例公开了一种触控点信息的确定方法、装置、设备及存储介质,该方法包括:监测对触控面板进行触控时产生的滑动事件,并获得所述滑动事件所对应各已感测触控点的触控点信息;根据各所述已感测触控点的触控点信息,确定所述滑动事件是否通过触控笔在所述触控面板的边界范围内发起;若是,则确定所述滑动事件在所述边界范围内未感测触控点的触控点信息。利用该方法,通过确定滑动事件是触控笔在触控面板的边界范围内发起,以实现触控面板获取未感测触控点的触控点信息,便于支持后续其他业务的正常运行。The embodiment of the present invention discloses a method, device, device, and storage medium for determining touch point information. The method includes: monitoring a sliding event generated when a touch panel is touched, and obtaining each corresponding to the sliding event. Touch point information of the sensed touch points; according to the touch point information of each sensed touch point, determine whether the sliding event is initiated by the stylus within the boundary range of the touch panel; If yes, it is determined that the sliding event does not sense touch point information of the touch point within the boundary range. By using this method, by determining that the sliding event is initiated by the touch pen within the boundary range of the touch panel, the touch panel can obtain the touch point information of the unsensed touch point, so as to facilitate the normal operation of other subsequent services.

附图说明Description of drawings

图1为触控面板随着触控笔由面板边界向面板中间的滑动而实现业务功能触发的场景示例图;Figure 1 is an example diagram of a scene where the touch panel realizes the triggering of business functions as the stylus slides from the panel boundary to the middle of the panel;

图2为本发明实施例一提供的一种触控点信息的确定方法的流程图;FIG. 2 is a flow chart of a method for determining touch point information provided by Embodiment 1 of the present invention;

图3为本发明实施例二提供的一种触控点信息的确定方法的流程图;FIG. 3 is a flowchart of a method for determining touch point information provided by Embodiment 2 of the present invention;

图4为本发明实施例二提供的触控笔由面板边界朝内滑动的示意图;FIG. 4 is a schematic diagram of the stylus sliding inward from the border of the panel provided by Embodiment 2 of the present invention;

图5为本发明实施例三提供的一种触控点信息的确定装置的结构示意图;FIG. 5 is a schematic structural diagram of a device for determining touch point information provided by Embodiment 3 of the present invention;

图6为本发明实施例四提供的一种计算机设备的结构示意图。FIG. 6 is a schematic structural diagram of a computer device provided by Embodiment 4 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

现有技术中,使用者采用触控笔对触控面板进行操作,且操作方式包括由面板边界朝内滑动。触控面板具备对触控笔进行无线充电的功能,无线充电线圈主要设置在触控面板的边框处,无线充电线圈会对触控面板边框处的触控敏感度产生影响,导致触控面板无法及时响应触控笔在极短时间内触碰面板边界时所产生的触控信号,特别是越靠近面板边界的触碰,触控面板越不易在短时间内感测出触控点信息。当触控面板所获取触控点信息不准确时,将会对后续其他业务的正常运行产生影响。In the prior art, the user uses a stylus to operate the touch panel, and the operation method includes sliding inward from the border of the panel. The touch panel has the function of wirelessly charging the stylus. The wireless charging coil is mainly set at the frame of the touch panel. The wireless charging coil will affect the touch sensitivity at the frame of the touch panel, causing the touch panel to fail Respond in time to the touch signal generated when the stylus touches the border of the panel in a very short time, especially the closer the touch is to the border of the panel, the less likely it is for the touch panel to sense the touch point information in a short time. When the touch point information obtained by the touch panel is inaccurate, it will affect the normal operation of other subsequent businesses.

示例性的,图1为触控面板随着触控笔由面板边界向面板中间的滑动而实现业务功能触发的场景示例图。如图1所示,当触控笔由图示方向从触控面板边界朝内滑动时,触控笔2在面板边界的感应能量较弱,因此触控面板可能没有感测到触控点P11。例如,目前触控面板10上显示常用工具栏(Charm Bar)100,但常用工具栏100通常是要用手指或触控笔2由面板边界朝内滑动来触发以显示在触控面板10上。其必须至少根据触控点P11、P12和P13的触控点信息来确认触发常用工具栏100以显示在触控面板10上,因此若未感测到触控点P11时,常用工具栏100就不会被触发以显示在触控面板10上,即导致常用工具栏100失效。Exemplarily, FIG. 1 is an example diagram of a scenario in which a touch panel triggers a business function as the stylus slides from the panel border to the panel middle. As shown in Figure 1, when the stylus slides inward from the boundary of the touch panel from the direction shown in the figure, the sensing energy of the stylus 2 at the boundary of the panel is weak, so the touch panel may not sense the touch point P11 . For example, a common toolbar (Charm Bar) 100 is currently displayed on the touch panel 10, but the common toolbar 100 is usually triggered to be displayed on the touch panel 10 by sliding a finger or a stylus 2 inwards from the border of the panel. It must at least confirm that the common toolbar 100 is triggered to be displayed on the touch panel 10 according to the touch point information of the touch points P11, P12 and P13. Therefore, if the touch point P11 is not sensed, the common toolbar 100 will be It will not be triggered to be displayed on the touch panel 10 , that is, the common toolbar 100 will become invalid.

本发明实施例提出一种触控点信息的确定方法,用以解决上述问题。An embodiment of the present invention proposes a method for determining touch point information to solve the above problems.

实施例一Embodiment one

图2为本发明实施例一提供的一种触控点信息的确定方法的流程图,本实施例可适用于对触控面板进行滑动操作的情况,该方法可以由触控点信息的确定装置来执行,该装置可以通过软件和/或硬件实现,并一般集成在计算机设备中,且该计算机设备可优选为一个触控装置。Fig. 2 is a flow chart of a method for determining touch point information provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of performing a sliding operation on a touch panel, and the method can be determined by a device for determining touch point information To execute, the device can be implemented by software and/or hardware, and generally integrated in a computer device, and the computer device can preferably be a touch device.

如图2所示,触控点信息的确定方法具体包括如下步骤:As shown in Figure 2, the method for determining the touch point information specifically includes the following steps:

S210、监测对触控面板进行触控时产生的滑动事件,并获得滑动事件所对应各已感测触控点的触控点信息。S210. Monitor a sliding event generated when the touch panel is touched, and obtain touch point information of each sensed touch point corresponding to the sliding event.

其中,用手指、触控笔或其他物体对触控面板滑动进行触控操作,即可称为一个滑动事件。Wherein, using a finger, a stylus or other objects to perform a touch operation on sliding the touch panel can be called a sliding event.

触控点信息具体可以理解为关于触控点的相关属性信息,如,触控模式、点坐标和感应力度等,且触控模式包括点击模式和浮空模式。各触控点对应不同的触控点信息。每个触控点的触控点信息可至少包括三个数据字段,以用来分别记载该触控点的触控模式、点坐标和感应力度,本发明实施例不限制每一个触控点信息的具体表述方式。示例性的,触控点信息可以以序列的形式表示,如(a1,a2,a3),其中,序列中每个元素分别代表对应触控点信息的每类信息值,如a1可以表示触控模式,a2可以表示点坐标,a3可以表示感应力度。Specifically, the touch point information can be understood as relevant attribute information about the touch point, such as touch mode, point coordinates, and sensing force, and the touch mode includes a click mode and a floating mode. Each touch point corresponds to different touch point information. The touch point information of each touch point may include at least three data fields, which are used to respectively record the touch mode, point coordinates and sensing force of the touch point. The embodiment of the present invention does not limit the information of each touch point. specific expression. Exemplarily, the touch point information can be expressed in the form of a sequence, such as (a1, a2, a3), wherein each element in the sequence represents each type of information value corresponding to the touch point information, such as a1 can represent the touch mode, a2 can represent the point coordinates, and a3 can represent the sensing force.

为了更清楚的表述本发明实施例,结合图1进行举例描述,假设对触控面板10进行触控时产生滑动事件,感测到首个触控点P12的触控点信息可以表示为(81h,(x,y),5dh),其中第一个数据字段可以用来记载触控点P12的触控模式,且81h代表触控模式为点击模式,但如果是80h则代表触控模式为浮空模式;第二个数据字段可以用来记载触控点P12的点坐标,(x,y)即为触控点P12的点坐标;第三个数据字段就用来记载触控点P12的感应力度,5dh即为触控点P12的感应力度。In order to describe the embodiment of the present invention more clearly, an example is described in conjunction with FIG. 1 . Assuming that a sliding event is generated when the touch panel 10 is touched, the touch point information of the first touch point P12 sensed can be expressed as (81h ,(x,y),5dh), the first data field can be used to record the touch mode of touch point P12, and 81h means the touch mode is click mode, but if it is 80h, it means the touch mode is floating Empty mode; the second data field can be used to record the point coordinates of the touch point P12, (x, y) is the point coordinates of the touch point P12; the third data field is used to record the sensing of the touch point P12 Strength, 5dh is the sensing strength of the touch point P12.

具体的,当用手指或触控笔等对触控面板进行触控操作产生滑动事件时,通过感测触控点实时监测滑动事件,并获取该滑动事件对应的已感测触控点的触控模式、点坐标和感应力度等相关信息。Specifically, when a touch operation is performed on the touch panel with a finger or a stylus to generate a sliding event, the sliding event is monitored in real time by sensing the touch point, and the touch point of the sensed touch point corresponding to the sliding event is obtained. Control mode, point coordinates and sensing force and other related information.

S220、根据各已感测触控点的触控点信息,确定滑动事件是否通过触控笔在触控面板的边界范围内发起。S220. According to the touch point information of each sensed touch point, determine whether the sliding event is initiated by the stylus within the boundary range of the touch panel.

其中,边界范围可以是由触控面板的边界感应能量所决定,将边界感应能量小于或等于设定能量阈值范围定义为边界范围,当边界感应能量越弱时,边界范围则越大。Wherein, the boundary range may be determined by the boundary sensing energy of the touch panel, the boundary range is defined as the boundary sensing energy being less than or equal to the set energy threshold, and the boundary range is larger when the boundary sensing energy is weaker.

本步骤中根据获取的已感测触控点信息,如感应力度和点坐标,确定滑动事件是否通过触控笔在触控面板的边界范围内发起。当已感测触控点中某个触控点信息感应力度大于设定感应阈值,则确定滑动事件由触控笔发起;且当该触控点坐标信息处于触控面板上任一边界范围内时,则确定滑动事件在边界范围内发起。In this step, according to the acquired sensed touch point information, such as the sensing force and point coordinates, it is determined whether the sliding event is initiated by the stylus within the boundary range of the touch panel. When the sensing strength of a certain touch point information in the sensed touch points is greater than the set sensing threshold, it is determined that the sliding event is initiated by the touch pen; and when the touch point coordinate information is within any boundary range on the touch panel , then it is determined that the sliding event is initiated within the bounds.

S230、若是,则确定滑动事件在边界范围内未感测触控点的触控点信息。S230. If yes, determine that the touch point information of the touch point is not sensed in the sliding event within the boundary range.

由于受到触控面板边界线圈等影响,当滑动事件发生时,边界范围内存在未感测触控点。本步骤中通过已感测触控点所对应触控点信息中的点坐标,确定确定触控笔所落入边界在触控面板上所处的边界位置,从而获得该滑动事件在边界范围内未感测触控点的触控点信息。从而根据已感测触控点所对应触控点信息,确定滑动事件在边界范围内未感测触控点的触控点信息。Due to the influence of the boundary coil of the touch panel, etc., when a sliding event occurs, there are unsensed touch points in the boundary range. In this step, the point coordinates in the touch point information corresponding to the sensed touch points are used to determine the boundary position of the boundary where the stylus falls on the touch panel, so as to obtain that the sliding event is within the boundary range The touch point information of the unsensed touch point. Therefore, according to the touch point information corresponding to the sensed touch points, the touch point information of the touch points not sensed within the boundary range of the sliding event is determined.

本发明实施例公开了一种触控点信息的确定方法,该方法包括:监测对触控面板进行触控时产生的滑动事件,并获得滑动事件所对应各已感测触控点的触控点信息;根据各已感测触控点的触控点信息,确定滑动事件是否通过触控笔在触控面板的边界范围内发起;若是,则确定滑动事件在边界范围内未感测触控点的触控点信息。利用该方法,通过确定滑动事件是触控笔在触控面板的边界范围内发起,以实现触控面板获取未感测触控点的触控点信息,便于支持后续其他业务的正常运行。The embodiment of the present invention discloses a method for determining touch point information. The method includes: monitoring a sliding event generated when a touch panel is touched, and obtaining the touch points of each sensed touch point corresponding to the sliding event. Point information; according to the touch point information of each sensed touch point, determine whether the sliding event is initiated by the stylus within the boundary range of the touch panel; if so, determine that the sliding event is not sensed within the boundary range The touch point information of the point. By using this method, by determining that the sliding event is initiated by the touch pen within the boundary range of the touch panel, the touch panel can obtain the touch point information of the unsensed touch point, so as to facilitate the normal operation of other subsequent services.

作为本发明实施例一的可选实施例,在上述实施例一的基础上,还优化增加了确定触控面板相对四个边框分别对应的边界范围的执行步骤。As an optional embodiment of Embodiment 1 of the present invention, on the basis of Embodiment 1 above, an execution step of determining boundary ranges corresponding to the four borders of the touch panel is optimized and added.

可以知道是的,触控面板往往以四边形呈现,由此触控面板存在四个边框,用户可以操控触控笔从每个边框处向面板内部进行滑动操作,为保证触控面板在每个边框处向内滑动时所产生的滑动事件均能得到有效响应,本实施例可以在触控面板的各边框处设定边界范围,以便于触控笔在从边界处向面板内部滑动时,能够通过本实施例提供的方法更好的对各边界范围内的未感测触控点进行有效识别。It can be known that the touch panel is often presented in a quadrangular shape, so there are four borders on the touch panel, and the user can manipulate the stylus to slide from each border to the inside of the panel. Sliding events generated when sliding inward at any position can be effectively responded. In this embodiment, the boundary range can be set at each frame of the touch panel, so that when the stylus slides from the boundary to the inside of the panel, it can pass through the The method provided by this embodiment can better effectively identify unsensed touch points within each boundary range.

在本实施例中,可认为边界范围是由触控面板的边界感应能量所决定,且当边界感应能量越弱时,边界范围则越大。可以知道的是,边界范围也可由快速点击成功率来决定,本发明实施例对此不作限制。In this embodiment, it can be considered that the boundary range is determined by the boundary induction energy of the touch panel, and when the boundary induction energy is weaker, the boundary range is larger. It can be known that the boundary range may also be determined by the quick click success rate, which is not limited in this embodiment of the present invention.

具体的,确定触控面板相对四个边框分别对应的边界范围具体可以表述为:Specifically, determining the boundary ranges corresponding to the four borders of the touch panel can be specifically expressed as:

a1)针对触控面板相对的每个边框,将边框作为首个当前移动边。a1) For each frame opposite to the touch panel, use the frame as the first current moving edge.

可以清楚的是,触控面板相对的每个边框为感应能量最弱(即灵敏度最小)的位置,以每个触控面板的边框作为首个当前移动边。It can be clearly seen that each frame opposite to the touch panel is the position with the weakest sensing energy (ie, the minimum sensitivity), and the frame of each touch panel is taken as the first current moving edge.

b1)控制当前移动边按设定速率移动,并确定当前移动边移动中在触控面板上所形成移动覆盖区域的区域感应能量。b1) Control the current moving edge to move at a set rate, and determine the area induction energy of the mobile coverage area formed on the touch panel during the current moving edge moving.

现有技术中心,常用的触控面板的触摸屏有电阻技术触摸屏、电容技术触摸屏、红外线技术触摸屏。以电容技术触摸屏为例,电容技术触摸屏的四边均镀上了狭长的电极,其内部形成一个低电压交流电场。当触控笔等点击触摸屏时,会产生感应。区域感应能量可以理解为控制面板对触控操作的灵敏度,示例性的,区域感应能量可通过触控笔对触控面板进行点击操作的灵敏度来确定,区域感应能量越强,对触控操作的灵敏度越高。In the prior art, the commonly used touch screens of touch panels include resistive technology touch screens, capacitive technology touch screens, and infrared technology touch screens. Take the capacitive technology touch screen as an example, the four sides of the capacitive technology touch screen are plated with long and narrow electrodes, and a low-voltage AC electric field is formed inside. When the stylus or the like clicks on the touch screen, it will be sensed. The area sensing energy can be understood as the sensitivity of the control panel to the touch operation. Exemplarily, the area sensing energy can be determined by the sensitivity of the stylus to the click operation on the touch panel. The stronger the area sensing energy, the greater the sensitivity to the touch operation. The higher the sensitivity.

具体的,将当前移动边按设定速率朝触控面板内侧移动时,随着移动边不断移动,区域感应能量逐渐增强(即灵敏度逐渐增大)。Specifically, when the current moving edge is moved toward the inner side of the touch panel at a set rate, as the moving edge continues to move, the area sensing energy gradually increases (ie, the sensitivity gradually increases).

c1)如果区域感应能量大于或等于设定感应能量阈值,则将移动覆盖区域作为相应边框的边界范围,并停止当前移动边的移动。c1) If the area induction energy is greater than or equal to the set induction energy threshold, the mobile coverage area is taken as the boundary range of the corresponding frame, and the movement of the current mobile edge is stopped.

其中,移动覆盖区域可以理解为当前移动边在按设定速率移动时所经过的区域。示例性的,当触控面板以四边形呈现时,以一个边框作为首个当前移动边进行移动,所形成的移动覆盖区域也为一个四边形。Wherein, the mobile coverage area can be understood as the area that the current mobile side passes through when moving at a set speed. Exemplarily, when the touch panel is presented as a quadrilateral, a frame is used as the first current moving side to move, and the formed mobile coverage area is also a quadrilateral.

设定感应能量阈值可以理解为当滑动事件发生时,触控面板针对该处在极短时间内进行感测是否会受影响的临界值,当区域感应能量大于或等于设定感应能量阈值时,将不影响触控点的感测;当区域感应能量小于设定感应能量阈值时,触控点的感测将会受影响,该边界范围内可能会出现未感测到的触控点。Setting the sensing energy threshold can be understood as the critical value of whether the touch panel will be affected by sensing the location in a very short time when a sliding event occurs. When the sensing energy of the area is greater than or equal to the set sensing energy threshold, The sensing of the touch points will not be affected; when the sensing energy of the area is less than the set sensing energy threshold, the sensing of the touch points will be affected, and unsensed touch points may appear within the boundary range.

具体的,当区域感应能量大于或等于设定感应能量阈值时,边界范围以外的触控面板区域能够及时准确感测触控点,则将移动覆盖区域作为相应边框的边界范围,并停止当前移动边的移动。Specifically, when the area sensing energy is greater than or equal to the set sensing energy threshold, and the touch panel area outside the boundary range can accurately sense the touch point in time, the mobile coverage area is used as the boundary range of the corresponding frame, and the current movement is stopped. edge movement.

示例性的,当触控面板以四边形呈现时,以一个边框作为首个当前移动边进行移动,所行成的移动覆盖区域也为一个四边形,针对该边框,触控面板的边界范围为以该边框长度为长,移动距离为宽的四边形,由四个顶点确定。同样,以其它边框为当前移动边移动时,也会形成四边形。Exemplarily, when the touch panel is presented as a quadrilateral, a frame is used as the first current moving side to move, and the formed mobile coverage area is also a quadrilateral. For this frame, the boundary range of the touch panel is the A quadrilateral with border length long and movement distance wide, determined by four vertices. Similarly, when other borders are used as the current moving side, a quadrilateral will also be formed.

实施例二Embodiment two

图3为本发明实施例二提供的一种触控点信息的确定方法的流程图。本实施例可适用于对触控面板进行滑动操作的情况,该方法可以由触控点信息的确定装置来执行,该装置可以通过软件和/或硬件实现,并一般集成在计算机设备中。如图3所示,该方法具体包括如下步骤:FIG. 3 is a flowchart of a method for determining touch point information provided by Embodiment 2 of the present invention. This embodiment is applicable to the case of performing a sliding operation on a touch panel, and the method can be executed by a device for determining touch point information, which can be implemented by software and/or hardware, and is generally integrated in a computer device. As shown in Figure 3, the method specifically includes the following steps:

S310、监测对触控面板进行触控时产生的滑动事件,并获得所述滑动事件所对应各已感测触控点的触控点信息。S310. Monitor a sliding event generated when the touch panel is touched, and obtain touch point information of each sensed touch point corresponding to the sliding event.

S320、从各已感测触控点中选择首个触控点,获得首个已感测触控点的首个触控点信息。S320. Select a first touch point from the sensed touch points, and obtain first touch point information of the first sensed touch point.

可以清楚的是,在各已感测触控点中首个触控点与各已感测触控点中其他触控点相比,能量感应最弱,坐标最接近边框。当首个触控点处于触控面板上任一边界范围内时,则确定滑动事件在边界范围内发起。It can be clearly seen that, compared with other touch points among the sensed touch points, the first touch point among the sensed touch points has the weakest energy induction, and its coordinates are closest to the frame. When the first touch point is within any boundary range on the touch panel, it is determined that the sliding event is initiated within the boundary range.

具体的,已感测触控点中包含多个触控点,选择首个已感测触控点,并获取该触控点的首个触控点信息。Specifically, the sensed touch points include multiple touch points, the first sensed touch point is selected, and the first touch point information of the touch point is obtained.

可选的,首个触控点信息中包括首个感应力度和首个点坐标信息。Optionally, the first touch point information includes first sensing force and first point coordinate information.

S330、根据首个触控点信息,确定滑动事件是否在触控面板的边界范围内发起。S330. Determine whether the sliding event is initiated within the boundary range of the touch panel according to the first touch point information.

具体的,根据首个触控点信息,如首个感应力度和首个点坐标,通过分别将首个感应力度和设定感应阈值、首个点坐标与触控面板边界范围进行比较,可以确定滑动事件是否在触控面板的边界范围内发起。Specifically, according to the first touch point information, such as the first sensing force and the first point coordinates, by comparing the first sensing force with the set sensing threshold, the first point coordinates and the boundary range of the touch panel, it can be determined Whether the swipe event is initiated within the bounds of the touch panel.

可选的,本实施例可以将上述步骤330具体为下述步骤实现:Optionally, in this embodiment, the above-mentioned step 330 may be specifically implemented as the following steps:

a2)将首个感应力度与设定感应阈值进行比对。a2) Compare the first sensing force with the set sensing threshold.

其中,设定感应阈值具体可以理解为区分触控笔和手指触碰触控面板产生感应力度的分界值。当感应力度大于设定感应阈值时,可以确定是触控笔在触控触控面板;当感应力度小于设定感应阈值时,可以确定是手指在触控触控面板。Wherein, setting the sensing threshold can specifically be understood as a boundary value for distinguishing the sensing force generated by touching the touch panel with the stylus and the finger. When the sensing force is greater than the set sensing threshold, it can be determined that the stylus is touching the touch panel; when the sensing force is less than the set sensing threshold, it can be determined that the finger is touching the touch panel.

具体的,从首个触控点信息中提取感应力度值,感应力度与设定感应阈值进行比较。感应力度可能大于、等于或小于设定感应阈值。Specifically, the sensing force value is extracted from the information of the first touch point, and the sensing force is compared with the set sensing threshold. The sensing strength may be greater than, equal to or less than the set sensing threshold.

b2)如果首个触控点信息中的感应力度大于设定感应阈值,则确定滑动事件通过触控笔发起,并当首个点坐标信息处于触控面板上任一边界范围内时,确定滑动事件在边界范围内发起。b2) If the sensing force in the first touch point information is greater than the set sensing threshold, determine that the sliding event is initiated by the stylus, and determine the sliding event when the coordinate information of the first point is within any boundary range on the touch panel Initiated within the bounds.

具体的,从首个触控点信息中提取感应力度值和首个点坐标信息,当首个触控点信息中的感应力度大于设定感应阈值,则确定滑动事件通过触控笔发起,并查看首个点坐标信息,当首个点坐标信息处于触控面板上边界范围内时,则确定滑动事件在边界范围内发起。Specifically, the sensing force value and the first point coordinate information are extracted from the first touch point information, and when the sensing force in the first touch point information is greater than the set sensing threshold, it is determined that the sliding event is initiated by the stylus, and View the first point coordinate information, and when the first point coordinate information is within the upper boundary range of the touch panel, it is determined that the sliding event is initiated within the boundary range.

示例性的,首个触控点信息可以表示为(81h,(x,y),5dh),其中第三个数据字段就用来记载该触控点的感应力度,感应力度为5dh大于设定感应阈值,可以辨识得出是触控笔而非手指触碰在触控面板上。Exemplarily, the first touch point information can be expressed as (81h, (x, y), 5dh), where the third data field is used to record the sensing force of the touch point, and the sensing force is 5dh greater than the set Sensing threshold, it can be recognized that the stylus is not the finger touching the touch panel.

S340、通过各已感测触控点所对应触控点信息中的点坐标,确定滑动事件相对触控面板的滑动方向。S340. Determine the sliding direction of the sliding event relative to the touch panel according to the point coordinates in the touch point information corresponding to each sensed touch point.

示例性的,结合图1所示,若在触控面板10感测到的触控点P12的触控点信息可以表示为(81h,(x1,y),5dh),触控点P13的触控点信息可以表示为(81h,(x2,y),5dh),其中,第一个数据字段用来记载触控点的触控模式,第二个数据字段用来记载触控点的点坐标,第三个数据字段用来记载触控点的感应力度。根据触控点P12和P13的触控点信息,第二个数据字段分别记载了触控点P12水平坐标为x1和P13的水平坐标为x2,可以看出P12和P13水平坐标产生了变化,可判断滑动事件是触控笔2由触控面板10的右侧边界朝内滑动。Exemplarily, as shown in FIG. 1 , if the touch point information of the touch point P12 sensed on the touch panel 10 can be expressed as (81h, (x1, y), 5dh), the touch point information of the touch point P13 The control point information can be expressed as (81h, (x2, y), 5dh), where the first data field is used to record the touch mode of the touch point, and the second data field is used to record the point coordinates of the touch point , the third data field is used to record the sensing force of the touch point. According to the touch point information of touch points P12 and P13, the second data field respectively records that the horizontal coordinate of touch point P12 is x1 and the horizontal coordinate of P13 is x2. It can be seen that the horizontal coordinates of P12 and P13 have changed. It is judged that the sliding event is that the stylus 2 slides inward from the right border of the touch panel 10 .

S350、基于滑动方向,确定触控笔所落入边界在触控面板上所处的边界位置。S350. Based on the sliding direction, determine a boundary position on the touch panel where the stylus falls into the boundary.

具体的,依据滑动事件相对触控面板的滑动方向,可以清楚触控笔向哪个方向滑动,从而确定触控笔所落入边界在触控面板上所处的边界位置。Specifically, according to the sliding direction of the sliding event relative to the touch panel, it can be known which direction the stylus slides, so as to determine the boundary position of the touch pen on the touch panel.

优选的,当滑动方向为由触控面板右边界向内滑动时,确定触控笔所落入边界相对触控面板上的边界位置为右侧边界位置;Preferably, when the sliding direction is sliding inward from the right border of the touch panel, it is determined that the border position where the stylus falls relative to the border position on the touch panel is the right border position;

当滑动方向为由触控面板左边界向内滑动时,确定触控笔所落入边界相对触控面板上的边界位置为左侧边界位置;When the sliding direction is sliding inward from the left border of the touch panel, determine that the position where the stylus falls relative to the border on the touch panel is the left border position;

当滑动方向为由触控面板上边界向内滑动时,确定触控笔所落入边界相对触控面板上的边界位置为上方边界位置;When the sliding direction is sliding inward from the upper boundary of the touch panel, determine that the boundary position where the stylus falls relative to the boundary position on the touch panel is the upper boundary position;

当滑动方向为由触控面板下边界向内滑动时,确定触控笔所落入边界相对触控面板上的边界位置为下方边界位置。When the sliding direction is sliding inward from the lower border of the touch panel, determine that the position where the stylus falls relative to the border on the touch panel is the lower border position.

示例性的,图4为本发明实施例二提供的触控笔由面板边界朝内滑动的示意图。不同于图1的常用工具栏100,图4的常用工具栏300是要用手指或触控笔2由面板的下边界朝内滑动来触发以显示在触控面板10上。因此,若在图4的触控面板10因滑动事件而感测到的第一个触控点是触控点P32的触控点信息,且触控装置1已根据触控点P32和P33的触控点信息来判断滑动事件是触控笔2由触控面板10的下边界朝内滑动时,可以确定触控笔所落入边界相对触控面板上的边界位置为下方边界位置。Exemplarily, FIG. 4 is a schematic diagram of a stylus sliding inward from a panel boundary provided by Embodiment 2 of the present invention. Different from the common toolbar 100 in FIG. 1 , the common toolbar 300 in FIG. 4 is displayed on the touch panel 10 by sliding the finger or the stylus 2 inwardly from the lower border of the panel. Therefore, if the first touch point sensed by the touch panel 10 in FIG. When the touch point information is used to determine the sliding event, when the stylus 2 slides inward from the lower boundary of the touch panel 10 , it can be determined that the boundary where the stylus falls relative to the boundary on the touch panel is the lower boundary position.

S360、根据边界位置结合各已感测触控点中的首个触控点,确定滑动事件在边界范围内未感测触控点的触控点信息。S360. According to the boundary position and the first touch point among the sensed touch points, determine the touch point information of the unsensed touch point within the boundary range of the sliding event.

具体的,根据已感测触控点中的首个触控点信息坐标,首个触控点沿着垂直于边界位置的方向移动,当首个触控点按照此方式移动时,只有垂直方向坐标发生变化,其他方向坐标信息均不变。因此,通过垂直移动位移以及首个触控点信息,即可确定滑动事件在边界范围内未感测触控点的触控点信息。Specifically, according to the information coordinates of the first touch point among the sensed touch points, the first touch point moves along the direction perpendicular to the boundary position. When the first touch point moves in this way, only the vertical direction When the coordinates change, the coordinate information in other directions remains unchanged. Therefore, by vertically moving the displacement and the information of the first touch point, the touch point information of the touch point not sensed within the boundary range of the sliding event can be determined.

可选的,本实施例可以将上述步骤S360具体为下述步骤实现:Optionally, in this embodiment, the above step S360 may be specifically implemented as the following steps:

获取首个触控点所对应首个触控点信息中的首点触控模式、以及首点感应力度;Obtain the touch mode of the first point in the information of the first touch point corresponding to the first touch point, and the sensing force of the first point;

当边界位置为右侧边界位置时,确定将首个触控点向右平移至边框处的右移点坐标,并将右移点坐标、首点触控模式、以及首点感应力度确定为滑动事件在边界范围内未感测起始触控点的触控点信息;When the boundary position is the right boundary position, determine to move the first touch point to the right to the right movement point coordinates at the border, and determine the right movement point coordinates, first point touch mode, and first point sensing force as sliding The event does not sense the touch point information of the initial touch point within the boundary range;

当边界位置为左侧边界位置时,确定将首个触控点向左平移至边框处的左移点坐标,并将左移点坐标、首点触控模式、以及首点感应力度确定为滑动事件在边界范围内未感测起始触控点的触控点信息;When the boundary position is the left boundary position, determine the coordinates of the left movement point at the border to move the first touch point to the left, and determine the coordinates of the left movement point, the touch mode of the first point, and the sensing force of the first point as sliding The event does not sense the touch point information of the initial touch point within the boundary range;

当边界位置为上方边界位置时,确定将首个触控点向上竖移至边框处的上移点坐标,并将上移点坐标、首点触控模式、以及首点感应力度确定为滑动事件在边界范围内未感测起始触控点的触控点信息;When the boundary position is the upper boundary position, determine to move the first touch point upwards vertically to the coordinates of the upward movement point at the border, and determine the coordinates of the upward movement point, the touch mode of the first point, and the sensing force of the first point as sliding events The touch point information of the initial touch point is not sensed within the boundary range;

当边界位置为下方边界位置时,确定将首个触控点向下竖移至边框处的下移点坐标,并将下移点坐标、首点触控模式、以及首点感应力度确定为滑动事件在边界范围内未感测起始触控点的触控点信息。When the boundary position is the lower boundary position, determine the coordinates of the downward movement point at which the first touch point is moved vertically downward to the border, and determine the coordinates of the downward movement point, the touch mode of the first point, and the sensing force of the first point as sliding The event does not sense the touch point information of the initial touch point within the boundary range.

示例性的,如图4所示,常用工具栏300是要用手指或触控笔2由面板的下边界朝内滑动来触发以显示在触控面板10上。因此,若在图4的触控面板10因滑动事件而感测到的首个触控点是触控点P32的触控点信息,且触控装置1已根据触控点P32和P33的触控点信息来判断滑动事件是触控笔2由触控面板10的下边界朝内滑动时,触控装置1则根据触控点P32的触控模式和感应力度来决定起始触控点的触控模式和感应力度,并且根据触控点P32的坐标被垂直位移至下边界后的坐标来决定起始触控点的点坐标。如,感测到首个触控点P32的触控点信息中包含有触控模式、点坐标、感应力度,则未感测起始触控点的触控点信息中触控模式、感应力度分别与触控点P32的触控模式、感应力度相同。由于未感测起始触控点是由触控点P32垂直位移至下边界,可知未感测起始触控点的横坐标与触控点P32的横坐标相同,纵坐标与下边界纵坐标相同,即可得到滑动事件在边界范围内未感测起始触控点的触控点信息。Exemplarily, as shown in FIG. 4 , the common toolbar 300 is triggered to be displayed on the touch panel 10 by sliding the finger or the stylus 2 inward from the lower border of the panel. Therefore, if the first touch point sensed by the touch panel 10 in FIG. The control point information is used to determine the sliding event. When the stylus 2 slides inward from the lower boundary of the touch panel 10, the touch device 1 determines the initial touch point according to the touch mode and sensing force of the touch point P32. Touch mode and sensing force, and determine the point coordinates of the initial touch point according to the coordinates of the touch point P32 after being vertically displaced to the lower boundary. For example, if the touch point information of the first touch point P32 is sensed includes the touch mode, point coordinates, and sensing force, then the touch point information of the initial touch point that has not been sensed contains the touch mode, sensing force The touch mode and sensing force of the touch point P32 are the same respectively. Since the unsensed initial touch point is vertically displaced from the touch point P32 to the lower boundary, it can be seen that the abscissa of the unsensed initial touch point is the same as the abscissa of the touch point P32, and the ordinate is the same as the lower boundary ordinate Similarly, the touch point information for which the initial touch point is not sensed within the boundary range of the sliding event can be obtained.

另外,既然感测的首个触控点信息包括首个触控点的触控模式,且触控模式包括点击模式和浮空模式,因此触控装置1除了可判断滑动事件是否由触控笔2触碰在边界范围内所发起外,还可判断第一个触控点的触控模式是否为点击模式。若每一个触控点的触控模式是点击模式(例如点击模式以第一个数据字段81h表示,而非浮空模式以第一个数据字段80h表示),且滑动事件是由触控笔触碰在边界范围内所发起,触控装置就可以认为用户有触发常用工具栏以显示在触控面板10上的行为模式。In addition, since the sensed first touch point information includes the touch mode of the first touch point, and the touch mode includes click mode and floating mode, the touch device 1 can judge whether the sliding event is triggered by the touch pen or not. 2 In addition to the touch initiated within the boundary range, it can also be determined whether the touch mode of the first touch point is a click mode. If the touch mode of each touch point is a click mode (for example, the click mode is represented by the first data field 81h, and the non-floating mode is represented by the first data field 80h), and the sliding event is touched by the stylus Initiated within the boundary range, the touch device may consider that the user has a behavior pattern for triggering the common toolbar to be displayed on the touch panel 10 .

可选的,根据各已感测触控点及未感测触控点的触控点信息,确定滑动事件关联的业务项,并触发执行业务项的业务功能。Optionally, according to the touch point information of each sensed touch point and unsensed touch point, determine the business item associated with the sliding event, and trigger the execution of the business function of the business item.

具体的,根据各已感测触控点及未感测触控点的触控点信息,通过补点的方式,形成滑动事件关联的业务项的触发条件,当满足触发条件时,触发执行业务项的业务功能。Specifically, according to the touch point information of each sensed touch point and unsensed touch point, the trigger condition of the business item associated with the sliding event is formed by means of supplementary points, and when the trigger condition is met, the execution of the business is triggered. The business function of the item.

示例性的,结合图1,触控面板常用工具栏100通常是要用手指或触控笔2由面板边界朝内滑动来触发以显示在触控面板10上。其必须至少根据触控点P11、P12和P13的触控点信息来确认触发常用工具栏100以显示在触控面板10上,但在滑动事件发生时,只感测到触控点P12和P13,通过本发明实施例方法,可获取未感测触控点P11的触控点信息,当触控点P11、P12和P13均已知时,满足触发条件,从而触发常用工具栏100以显示在触控面板10上。Exemplarily, with reference to FIG. 1 , the common toolbar 100 of the touch panel is usually displayed on the touch panel 10 by sliding the finger or the stylus 2 inwards from the boundary of the panel to trigger it. It must at least confirm that the common toolbar 100 is triggered to be displayed on the touch panel 10 according to the touch point information of the touch points P11, P12 and P13, but when the sliding event occurs, only the touch points P12 and P13 are sensed , through the method of the embodiment of the present invention, the touch point information of the unsensed touch point P11 can be obtained. When the touch points P11, P12 and P13 are all known, the trigger condition is met, thereby triggering the common toolbar 100 to be displayed on the on the touch panel 10.

本发明实施例具体给出了确定滑动事件是否通过触控笔在所述触控面板的边界范围内发起的具体步骤及确定滑动事件在边界范围内未感测触控点的触控点信息的具体步骤,通过首个触控点信息,实现确定滑动事件在边界范围内未感测触控点的触控点信息,便于支持后续业务功能。The embodiment of the present invention specifically provides the specific steps of determining whether the sliding event is initiated by the stylus within the boundary range of the touch panel and the method of determining the touch point information of the sliding event not sensing the touch point within the boundary range The specific steps are to use the first touch point information to determine the touch point information of the touch point that is not sensed within the boundary range of the sliding event, so as to support subsequent business functions.

实施例三Embodiment three

图5为本发明实施例三提供的一种触控点信息的确定装置的结构示意图,该装置包括:滑动事件监测模块41、滑动事件确定模块42、触控点信息确定模块43。其中:FIG. 5 is a schematic structural diagram of a device for determining touch point information provided by Embodiment 3 of the present invention. The device includes: a sliding event monitoring module 41 , a sliding event determining module 42 , and a touch point information determining module 43 . in:

滑动事件监测模块41,用于监测对触控面板进行触控时产生的滑动事件,并获得滑动事件所对应各已感测触控点的触控点信息;The sliding event monitoring module 41 is used to monitor the sliding event generated when the touch panel is touched, and obtain the touch point information of each sensed touch point corresponding to the sliding event;

滑动事件确定模块42,用于根据各已感测触控点的触控点信息,确定滑动事件是否通过触控笔在触控面板的边界范围内发起;A slide event determination module 42, configured to determine whether a slide event is initiated within the boundary of the touch panel by the stylus according to the touch point information of each sensed touch point;

触控点信息确定模块43,用于若是,则确定滑动事件在边界范围内未感测触控点的触控点信息。The touch point information determination module 43 is configured to determine the touch point information of no touch point sensed within the boundary range of the sliding event if yes.

可选的,滑动事件确定模块42包括:Optionally, the slide event determination module 42 includes:

首个触控点信息获取单元,用于从各已感测触控点中选择首个触控点,获得首个已感测触控点的首个触控点信息;The first touch point information acquisition unit is used to select the first touch point from each sensed touch point, and obtain the first touch point information of the first sensed touch point;

滑动事件确定单元,用于根据首个触控点信息,确定滑动事件是否在触控面板的边界范围内发起。The sliding event determination unit is configured to determine whether the sliding event is initiated within the boundary range of the touch panel according to the information of the first touch point.

可选的,首个触控点信息中包括首个感应力度和首个点坐标信息。Optionally, the first touch point information includes first sensing force and first point coordinate information.

滑动事件确定单元具体用于:The sliding event determination unit is specifically used for:

将首个感应力度与设定感应阈值进行比对;Compare the first sensing force with the set sensing threshold;

如果首个触控点信息中的感应力度大于设定感应阈值,则确定滑动事件通过触控笔发起,并当首个点坐标信息处于触控面板上任一边界范围内时,确定滑动事件在边界范围内发起。If the sensing force in the first touch point information is greater than the set sensing threshold, it is determined that the sliding event is initiated by the stylus, and when the first point coordinate information is within any boundary range on the touch panel, it is determined that the sliding event is within the boundary initiated within the range.

可选的,触控点信息确定模块43包括:Optionally, the touch point information determination module 43 includes:

滑动方向确定单元,用于通过各已感测触控点所对应触控点信息中的点坐标,确定滑动事件相对触控面板的滑动方向;The sliding direction determination unit is used to determine the sliding direction of the sliding event relative to the touch panel through the point coordinates in the touch point information corresponding to each sensed touch point;

边界位置确定单元,用于基于滑动方向,确定触控笔所落入边界在触控面板上所处的边界位置;The boundary position determination unit is used to determine the boundary position of the touch pen on the touch panel based on the sliding direction;

未感测触控点信息确定单元,用于根据边界位置结合各已感测触控点中的首个触控点,确定滑动事件在边界范围内未感测触控点的触控点信息。The unsensed touch point information determining unit is configured to determine the touch point information of the unsensed touch points within the boundary range of the sliding event according to the boundary position and the first touch point among the sensed touch points.

可选的,边界位置确定单元具体可以用于:Optionally, the boundary position determining unit may be specifically used for:

当滑动方向为由触控面板右边界向内滑动时,确定触控笔所落入边界相对触控面板上的边界位置为右侧边界位置;When the sliding direction is sliding inward from the right border of the touch panel, determine that the border position where the stylus falls relative to the border position on the touch panel is the right border position;

当滑动方向为由触控面板左边界向内滑动时,确定触控笔所落入边界相对触控面板上的边界位置为左侧边界位置;When the sliding direction is sliding inward from the left border of the touch panel, determine that the position where the stylus falls relative to the border on the touch panel is the left border position;

当滑动方向为由触控面板上边界向内滑动时,确定触控笔所落入边界相对触控面板上的边界位置为上方边界位置;When the sliding direction is sliding inward from the upper boundary of the touch panel, determine that the boundary position where the stylus falls relative to the boundary position on the touch panel is the upper boundary position;

当滑动方向为由触控面板下边界向内滑动时,确定触控笔所落入边界相对触控面板上的边界位置为下方边界位置。When the sliding direction is sliding inward from the lower border of the touch panel, determine that the position where the stylus falls relative to the border on the touch panel is the lower border position.

可选的,未感测触控点信息确定单元具体可以用于:Optionally, the unsensed touch point information determination unit can be specifically used for:

获取首个触控点所对应首个触控点信息中的首点触控模式、以及首点感应力度;Obtain the touch mode of the first point in the information of the first touch point corresponding to the first touch point, and the sensing force of the first point;

当边界位置为右侧边界位置时,确定将首个触控点向右平移至边框处的右移点坐标,并将右移点坐标、首点触控模式、以及首点感应力度确定为滑动事件在边界范围内未感测起始触控点的触控点信息;When the boundary position is the right boundary position, determine to move the first touch point to the right to the right movement point coordinates at the border, and determine the right movement point coordinates, first point touch mode, and first point sensing force as sliding The event does not sense the touch point information of the initial touch point within the boundary range;

当边界位置为左侧边界位置时,确定将首个触控点向左平移至边框处的左移点坐标,并将左移点坐标、首点触控模式、以及首点感应力度确定为滑动事件在边界范围内未感测起始触控点的触控点信息;When the boundary position is the left boundary position, determine the coordinates of the left movement point at the border to move the first touch point to the left, and determine the coordinates of the left movement point, the touch mode of the first point, and the sensing force of the first point as sliding The event does not sense the touch point information of the initial touch point within the boundary range;

当边界位置为上方边界位置时,确定将首个触控点向上竖移至边框处的上移点坐标,并将上移点坐标、首点触控模式、以及首点感应力度确定为滑动事件在边界范围内未感测起始触控点的触控点信息;When the boundary position is the upper boundary position, determine to move the first touch point upwards vertically to the coordinates of the upward movement point at the border, and determine the coordinates of the upward movement point, the touch mode of the first point, and the sensing force of the first point as sliding events The touch point information of the initial touch point is not sensed within the boundary range;

当边界位置为下方边界位置时,确定将首个触控点向下竖移至边框处的下移点坐标,并将下移点坐标、首点触控模式、以及首点感应力度确定为滑动事件在边界范围内未感测起始触控点的触控点信息。When the boundary position is the lower boundary position, determine the coordinates of the downward movement point at which the first touch point is moved vertically downward to the border, and determine the coordinates of the downward movement point, the touch mode of the first point, and the sensing force of the first point as sliding The event does not sense the touch point information of the initial touch point within the boundary range.

可选的,该装置还包括:Optionally, the device also includes:

边界范围确定模块,用于确定触控面板相对四个边框分别对应的边界范围。The boundary range determination module is configured to determine the boundary ranges corresponding to the four frames of the touch panel respectively.

可选的,边界范围确定模块具体可以用于:Optionally, the boundary range determination module can specifically be used for:

针对触控面板相对的每个边框,将边框作为首个当前移动边;For each frame relative to the touch panel, use the frame as the first current moving edge;

控制当前移动边按设定速率移动,并确定当前移动边移动中在触控面板上所形成移动覆盖区域的区域感应能量;Control the current moving edge to move at a set rate, and determine the area induction energy of the mobile coverage area formed on the touch panel during the current moving edge;

如果区域感应能量大于或等于设定感应能量阈值,则将移动覆盖区域作为相应边框的边界范围,并停止当前移动边的移动。If the area induction energy is greater than or equal to the set induction energy threshold, the mobile coverage area is used as the boundary range of the corresponding frame, and the movement of the current mobile edge is stopped.

可选的,该装置还包括:Optionally, the device also includes:

业务功能触发模块,用于根据各已感测触控点及未感测触控点的触控点信息,确定滑动事件关联的业务项,并触发执行业务项的业务功能。The business function trigger module is used to determine the business item associated with the sliding event according to the touch point information of each sensed touch point and unsensed touch point, and trigger the execution of the business function of the business item.

上述装置可执行本发明前述所有实施例所提供的方法,具备执行上述方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明前述所有实施例所提供的方法。The above-mentioned device can execute the methods provided by all the foregoing embodiments of the present invention, and has corresponding functional modules and advantageous effects for executing the above-mentioned methods. For technical details not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present invention.

实施例四Embodiment four

图6为本发明实施例四提供的一种计算机设备的结构示意图,如图6所示,该计算机设备包括处理器51、存储器52、输入装置53和输出装置54;计算机设备中处理器51的数量可以是一个或多个,图6中以一个处理器51为例;计算机设备中的处理器51、存储器52、输入装置53和输出装置54可以通过总线或其他方式连接,图6中以通过总线连接为例。FIG. 6 is a schematic structural diagram of a computer device provided in Embodiment 4 of the present invention. As shown in FIG. 6, the computer device includes a processor 51, a memory 52, an input device 53, and an output device 54; Quantity can be one or more, take a processor 51 as example among Fig. 6; Processor 51 in the computer equipment, memory 52, input device 53 and output device 54 can be connected by bus or other ways, in Fig. 6 by Take the bus connection as an example.

存储器52作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的触控点信息的确定方法对应的程序指令/模块(例如,触控点信息的确定装置中的滑动事件监测模块41、滑动事件确定模块42、触控点信息确定模块43)。处理器51通过运行存储在存储器52中的软件程序、指令以及模块,从而执行计算机设备的各种功能应用以及数据处理,即实现上述的触控点信息的确定方法。The memory 52, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the method for determining touch point information in the embodiment of the present invention (for example, touch point The sliding event monitoring module 41, the sliding event determining module 42, and the touch point information determining module 43) in the information determining device. The processor 51 executes various functional applications and data processing of the computer device by running software programs, instructions and modules stored in the memory 52 , that is, realizes the above-mentioned method for determining touch point information.

存储器52可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器52可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器52可进一步包括相对于处理器51远程设置的存储器,这些远程存储器可以通过网络连接至计算机设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 52 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required by a function; the data storage area may store data created according to the use of the terminal, and the like. In addition, the memory 52 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 52 may further include memory located remotely relative to the processor 51, and these remote memories may be connected to the computer device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

输入装置53可用于接收输入的数字或字符信息,以及产生与计算机设备的用户设置以及功能控制有关的键信号输入。输出装置54可包括显示屏等显示设备。The input device 53 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the computer equipment. The output device 54 may include a display device such as a display screen.

实施例五Embodiment five

本发明实施例五还提供一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行一种触控点信息的确定方法,该方法包括:Embodiment 5 of the present invention also provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to perform a method for determining touch point information when executed by a computer processor. The method includes:

监测对触控面板进行触控时产生的滑动事件,并获得滑动事件所对应各已感测触控点的触控点信息;Monitor the sliding event generated when the touch panel is touched, and obtain the touch point information of each sensed touch point corresponding to the sliding event;

根据各已感测触控点的触控点信息,确定滑动事件是否通过触控笔在触控面板的边界范围内发起;According to the touch point information of each sensed touch point, determine whether the sliding event is initiated by the stylus within the boundary range of the touch panel;

若是,则确定滑动事件在边界范围内未感测触控点的触控点信息。If yes, it is determined that the touch point information of the touch point is not sensed in the sliding event within the boundary range.

当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上的方法操作,还可以执行本发明任意实施例所提供的触控点信息的确定方法中的相关操作。Certainly, a storage medium containing computer-executable instructions provided by an embodiment of the present invention, the computer-executable instructions are not limited to the above method operations, and may also execute the method for determining touch point information provided by any embodiment of the present invention Related operations in .

通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the above description about the implementation mode, those skilled in the art can clearly understand that the present invention can be realized by means of software and necessary general-purpose hardware, and of course it can also be realized by hardware, but in many cases the former is a better implementation mode . Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a floppy disk of a computer , read-only memory (Read-Only Memory, ROM), random access memory (RandomAccess Memory, RAM), flash memory (FLASH), hard disk or optical disc, etc., including several instructions to make a computer device (which can be a personal computer, A server, or a network device, etc.) executes the methods described in various embodiments of the present invention.

值得注意的是,上述触控点信息的确定装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that, in the embodiment of the device for determining touch point information above, the units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized ; In addition, the specific names of each functional unit are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present invention.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (12)

1. A method for determining touch point information, comprising:
monitoring a sliding event generated when a touch panel is touched, and acquiring touch point information of each sensed touch point corresponding to the sliding event;
determining whether the sliding event is initiated within the boundary range of the touch panel through a touch pen according to the touch point information of each sensed touch point;
if yes, determining that the sliding event does not sense the touch point information of the touch point in the boundary range.
2. The method of claim 1, wherein determining whether the sliding event is initiated within a boundary of the touch panel according to the touch point information of each of the sensed touch points comprises:
selecting a first touch point from the sensed touch points to obtain first touch point information of the first sensed touch point;
and determining whether the sliding event is initiated within the boundary range of the touch panel or not according to the first touch point information.
3. The method of claim 2, wherein the first touch point information comprises first sensing strength and first point coordinate information;
the determining, according to the first touch point information, whether the sliding event is initiated within a boundary range of the touch panel by a stylus includes:
comparing the first induction strength with a set induction threshold;
and if the induction strength in the first touch point information is greater than the set induction threshold, determining that a sliding event is initiated through a touch pen, and when the first point coordinate information is in any boundary range on the touch panel, determining that the sliding event is initiated in the boundary range.
4. The method of claim 1, wherein the determining that the sliding event does not sense touch point information of a touch point within the boundary range comprises:
determining the sliding direction of the sliding event relative to the touch panel according to the point coordinates in the touch point information corresponding to the sensed touch points;
determining a boundary position on the touch panel where the boundary where the stylus falls based on the sliding direction;
and determining touch point information of the touch points which are not sensed in the boundary range of the sliding event according to the boundary position and the first touch point in the sensed touch points.
5. The method of claim 4, wherein determining the boundary into which the stylus falls relative to the boundary on the touch panel based on the sliding direction comprises:
when the sliding direction is that the touch control panel slides inwards from the right boundary, determining that the boundary where the touch control pen falls is the right boundary position relative to the boundary position on the touch control panel;
when the sliding direction is that the stylus pen slides inwards from the left boundary of the touch panel, determining that the boundary position where the stylus pen falls is a left boundary position relative to the boundary position on the touch panel;
when the sliding direction is inward sliding from the upper boundary of the touch panel, determining that the boundary where the touch pen falls is an upper boundary position relative to the boundary position on the touch panel;
and when the sliding direction is inward sliding from the lower boundary of the touch panel, determining that the boundary where the touch pen falls is the lower boundary position relative to the boundary position on the touch panel.
6. The method of claim 5, wherein the determining, according to the boundary position and in combination with a first touch point of the sensed touch points, touch point information of an unsensed touch point of the sliding event within the boundary range comprises:
acquiring a first point touch mode and first point induction strength in first touch point information corresponding to the first touch point;
when the boundary position is a right boundary position, determining a right shift point coordinate for shifting the first touch point to the frame right, and determining the right shift point coordinate, the first touch mode and the first sensing strength as touch point information of an initial touch point which is not sensed by the sliding event in the boundary range;
when the boundary position is a left boundary position, determining a left point shift coordinate for shifting the first touch point to the left of the frame, and determining the left point shift coordinate, the first touch mode and the first touch induction strength as touch point information of an initial touch point which is not sensed in the boundary range by the sliding event;
when the boundary position is an upper boundary position, determining an upward moving point coordinate for vertically moving the first touch point upward to a frame, and determining the upward moving point coordinate, the first touch mode and the first sensing strength as touch point information of an initial touch point which is not sensed by the sliding event in the boundary range;
and when the boundary position is a lower boundary position, determining a downward moving point coordinate for vertically moving the first touch point downward to the frame, and determining the downward moving point coordinate, the first touch mode and the first sensing strength as the touch point information of the initial touch point which is not sensed by the sliding event in the boundary range.
7. The method of claim 1, further comprising:
and determining boundary ranges corresponding to the four frames of the touch panel respectively.
8. The method according to claim 7, wherein the determining the boundary ranges corresponding to the four frames of the touch panel respectively comprises:
regarding each frame relative to the touch panel, taking the frame as a first current moving edge;
controlling the current moving edge to move according to a set speed, and determining the area induction energy of a moving coverage area formed on the touch panel in the current moving edge movement;
and if the area induction energy is larger than or equal to a set induction energy threshold, taking the moving coverage area as the boundary range of the corresponding frame, and stopping the movement of the current moving edge.
9. The method according to any one of claims 1-8, further comprising:
and determining a business item associated with the sliding event according to the touch point information of each sensed touch point and the touch point information of the non-sensed touch point, and triggering and executing a business function of the business item.
10. An apparatus for determining touch point information, comprising:
the sliding event monitoring module is used for monitoring a sliding event generated when the touch panel is touched and obtaining touch point information of each sensed touch point corresponding to the sliding event;
the sliding event determining module is used for determining whether the sliding event is initiated in the boundary range of the touch panel through a touch pen according to the touch point information of each sensed touch point;
and the touch point information determining module is used for determining that the touch point information of the touch point is not sensed in the boundary range of the sliding event if the touch point information is determined to be not sensed in the boundary range.
11. A computer device, comprising: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for determining touch point information according to any one of claims 1-9.
12. A storage medium containing computer-executable instructions for performing the method of determining touch point information according to any one of claims 1-9 when executed by a computer processor.
CN202110897661.9A 2021-08-05 2021-08-05 Method, device and equipment for determining touch point information and storage medium Pending CN115904131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110897661.9A CN115904131A (en) 2021-08-05 2021-08-05 Method, device and equipment for determining touch point information and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110897661.9A CN115904131A (en) 2021-08-05 2021-08-05 Method, device and equipment for determining touch point information and storage medium

Publications (1)

Publication Number Publication Date
CN115904131A true CN115904131A (en) 2023-04-04

Family

ID=86486842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110897661.9A Pending CN115904131A (en) 2021-08-05 2021-08-05 Method, device and equipment for determining touch point information and storage medium

Country Status (1)

Country Link
CN (1) CN115904131A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513927A (en) * 2008-01-04 2014-01-15 苹果公司 Selective rejection of touch contacts in an edge region of a touch surface
CN106201309A (en) * 2016-06-29 2016-12-07 维沃移动通信有限公司 A kind of status bar processing method and mobile terminal
CN106941589A (en) * 2017-03-30 2017-07-11 努比亚技术有限公司 Find a view photographic method and device
CN109002215A (en) * 2018-07-27 2018-12-14 青岛海信移动通信技术股份有限公司 A kind of terminal with touch screen determines the method and terminal of touch initial position
CN111752404A (en) * 2019-03-26 2020-10-09 深圳富桂精密工业有限公司 Computer device and method for optimizing touch operation
CN112083837A (en) * 2020-09-25 2020-12-15 Oppo广东移动通信有限公司 Touch screen touch information processing method, device and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513927A (en) * 2008-01-04 2014-01-15 苹果公司 Selective rejection of touch contacts in an edge region of a touch surface
CN106201309A (en) * 2016-06-29 2016-12-07 维沃移动通信有限公司 A kind of status bar processing method and mobile terminal
CN106941589A (en) * 2017-03-30 2017-07-11 努比亚技术有限公司 Find a view photographic method and device
CN109002215A (en) * 2018-07-27 2018-12-14 青岛海信移动通信技术股份有限公司 A kind of terminal with touch screen determines the method and terminal of touch initial position
CN111752404A (en) * 2019-03-26 2020-10-09 深圳富桂精密工业有限公司 Computer device and method for optimizing touch operation
CN112083837A (en) * 2020-09-25 2020-12-15 Oppo广东移动通信有限公司 Touch screen touch information processing method, device and electronic device

Similar Documents

Publication Publication Date Title
CN102819331B (en) Mobile terminal and touch input method thereof
CN104035677B (en) The display methods and device of prompt message
CN108829327B (en) Writing method and device for interactive smart device
US9612675B2 (en) Emulating pressure sensitivity on multi-touch devices
US11429272B2 (en) Multi-factor probabilistic model for evaluating user input
KR20170041219A (en) Hover-based interaction with rendered content
US20120131453A1 (en) Gui control improvement using a capacitive touch screen
CN105359083A (en) Dynamic management of edge inputs by users on a touch device
CN109753179B (en) User operation instruction processing method and handwriting reading equipment
JP2017504877A (en) Method and apparatus for click object enlargement based on floating touch
CN104049900A (en) Floating window closing method and device
JP6448639B2 (en) Text selection method, apparatus and terminal
CN107577415B (en) Touch operation response method and device
JP2013122625A (en) Information processing device, input device, input device module, program, and input processing method
US20140123036A1 (en) Touch screen display process
EP4296836B1 (en) Touch response method, device, interactive white board, and storage medium
CN109144392B (en) Method and device for processing gesture conflict and electronic equipment
CN103135929A (en) Method and device for controlling application interface to move and terminal device
CN107422901A (en) Method and system for preventing mistaken touch of touch screen
KR102186548B1 (en) Method, apparatus and recovering medium for screen display by executing scroll
US20160070467A1 (en) Electronic device and method for displaying virtual keyboard
TWI610220B (en) Automatic control device and method for displaying screen density
JP6370118B2 (en) Information processing apparatus, information processing method, and computer program
CN115933946A (en) Page jump method, device, computer equipment and storage medium
US20150135089A1 (en) Adjustment of user interface elements based on user accuracy and content consumption

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 1st floor, No. 200, Wenhua 2nd Road, Wenhua lane, Guishan District, Taoyuan City, Taiwan, China, China

Applicant after: Getac Holdings Corp.

Address before: 4th Floor, No.1 R&D Second Road, Hsinchu Science and Industry Park, Hsinchu County

Applicant before: Getac Technology Corp.

CB02 Change of applicant information