Display device, touch positioning method and touch positioning apparatus
Patent Information
- Application Number
- CN202210486677.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-06
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2042-05-06
AI Technical Summary
[0005]本申请提供了一种显示设备、触摸定位方法及触摸定位装置,通过上述方法解决了相关技术中确定触摸点位置信息耗时较长的问题
[0054] This application provides a display device, touch positioning method, and touch positioning apparatus. The display device includes: a touch screen; and a processor connected to the touch screen, the processor being configured to: determine the center line of a touch area corresponding to each preset scanning direction of the touch screen; wherein the touch area represents the area corresponding to a scanned received signal whose scanned received signal is less than a preset value; the center line is parallel to the preset scanning direction corresponding to the center line; determine at least one candidate touch point corresponding to the preset scanning direction based on the center line of the touch area corresponding to the preset scanning direction; determine the candidate area where the candidate touch point is located based on a preset scanning window; wherein the size of the candidate area is the same as the size of the scanning window; and determine the position information of the touch point on the touch screen based on each candidate area. In this application, candidate touch points are determined by using the center line of the touch area, and at the candidate touch point, the candidate area corresponding to each candidate touch point is determined by combining the preset scanning window. Compared with the related technology that uses touch areas to perform intersection operations to determine candidate areas, the method in this embodiment can reduce the amount of computation when determining candidate areas, thereby improving the efficiency of determining the position information of touch points.
Smart Images

Figure CN117055748B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of touch technology, and in particular to a display device, a touch positioning method, and a touch positioning apparatus. Background Technology
[0002] With the continuous development of touch technology, various touch devices have been widely used in people's lives and work. For example, in education, users can conduct teaching based on touch displays.
[0003] In order to accurately identify the touch points of users performing touch operations on the display screen of touch devices, related technologies will process the intersection of various touch areas to obtain candidate areas. However, since the candidate areas include a large number of false points, it is still necessary to filter out the real touch points from the candidate areas.
[0004] However, the process of recognizing touch points requires intersecting the various touch areas, resulting in a large amount of computation and low recognition efficiency. Summary of the Invention
[0005] This application provides a display device, a touch positioning method, and a touch positioning apparatus, which solve the problem of long time consumption in determining touch point position information in related technologies.
[0006] In a first aspect, this application provides a display device, comprising:
[0007] touchscreen;
[0008] A processor connected to the touchscreen is configured to:
[0009] For each preset scanning direction of the touch screen, a center line of the touch area corresponding to the preset scanning direction is determined; wherein, the touch area represents the area corresponding to the scan received signal whose scan received signal is less than a preset value; the center line is parallel to the preset scanning direction corresponding to the center line;
[0010] Based on the center line of the touch area corresponding to the preset scanning direction, at least one candidate touch point corresponding to the preset scanning direction is determined;
[0011] Based on a preset scanning window, the candidate region where the candidate touch point is located is determined; wherein, the size of the candidate region is the same as the size of the scanning window;
[0012] Based on each of the candidate regions, the position information of the touch point on the touch screen is determined.
[0013] In some embodiments of this application, the processor is specifically used to determine at least one candidate touch point corresponding to the preset scanning direction based on the centerline of the touch area corresponding to the preset scanning direction:
[0014] Based on the number of touch areas corresponding to the preset scanning direction, a reference direction is determined in the preset scanning direction of the touch screen;
[0015] At least one candidate touch point is determined based on the center line of the touch area corresponding to the reference direction.
[0016] In some embodiments of this application, the preset scanning direction includes: a preset scanning direction corresponding to the first transmitting edge of the touchscreen and a preset scanning direction corresponding to the second transmitting edge of the touchscreen; the reference direction includes at least one preset scanning direction corresponding to the first transmitting edge of the touchscreen and at least one preset scanning direction corresponding to the second transmitting edge of the touchscreen.
[0017] In some embodiments of this application, the processor determines a reference direction within the preset scanning directions of the touchscreen based on the number of touch areas corresponding to the preset scanning direction, specifically for:
[0018] The preset scanning directions corresponding to the first transmitting edges of the M touch screens with the largest number of touch areas are used as the first candidate directions; M is an integer greater than or equal to 1.
[0019] The preset scanning directions corresponding to the first emission edges of the N touchscreens with the largest number of touch areas are used as the second candidate directions; N is an integer greater than or equal to 1.
[0020] The first candidate direction and the second candidate direction are determined as the reference direction.
[0021] In some embodiments of this application, when the processor determines at least one candidate touch point based on the centerline of the touch area corresponding to the reference direction, it is specifically used for:
[0022] For each touch area corresponding to the first candidate direction, the center line of the touch area is intersected with the center line of each touch area corresponding to the second candidate direction to obtain the candidate point of the touch area corresponding to the first candidate direction.
[0023] The candidate points of the touch area corresponding to each of the first candidate directions are taken as the candidate touch points.
[0024] In some embodiments of this application, when the processor determines the position information of the touch point on the touchscreen based on each of the candidate regions, it is specifically used for:
[0025] Determine the association between each candidate region and the touch region corresponding to each preset scanning direction. The association is used to characterize whether the area of the overlapping region between the candidate region and the touch region is greater than or equal to a preset threshold.
[0026] For each touch area, if the association relationship of the touch area indicates that there is only one candidate area and the touch area with an area greater than or equal to a preset threshold, then the candidate area is taken as the target touch area;
[0027] The position information of the touch point on the touch screen is determined based on the target touch area and the touch area in each preset scanning direction.
[0028] Secondly, this application provides a touch positioning method applied to a display device, the method comprising:
[0029] For each preset scanning direction of the touch screen of the display device, a center line of the touch area corresponding to the preset scanning direction is determined; wherein, the touch area represents the area corresponding to the scan received signal whose scan received signal is less than a preset value; the center line is parallel to the preset scanning direction corresponding to the center line;
[0030] Based on the center line of the touch area corresponding to the preset scanning direction, at least one candidate touch point corresponding to the preset scanning direction is determined;
[0031] Based on a preset scanning window, the candidate region where the candidate touch point is located is determined; wherein, the size of the candidate region is the same as the size of the scanning window; based on each candidate region, the position information of the touch point on the touch screen is determined.
[0032] In some embodiments of this application, determining at least one candidate touch point corresponding to the preset scanning direction based on the centerline of the touch area corresponding to the preset scanning direction includes: determining a reference direction in the preset scanning directions of the touchscreen based on the number of touch areas corresponding to the preset scanning direction; and determining at least one candidate touch point based on the centerline of the touch area corresponding to the reference direction.
[0033] In some embodiments of this application, the preset scanning direction includes: a preset scanning direction corresponding to the first transmitting edge of the touchscreen and a preset scanning direction corresponding to the second transmitting edge of the touchscreen; the reference direction includes at least one preset scanning direction corresponding to the first transmitting edge of the touchscreen and at least one preset scanning direction corresponding to the second transmitting edge of the touchscreen.
[0034] In some embodiments of this application, a reference direction is determined from the preset scanning directions of the touch screen based on the number of touch areas corresponding to the preset scanning directions. This includes: selecting the preset scanning directions corresponding to the first transmitting edges of the touch screen with the largest number of touch areas as first candidate directions; M is an integer greater than or equal to 1; selecting the preset scanning directions corresponding to the first transmitting edges of the touch screen with the largest number of touch areas as second candidate directions; N is an integer greater than or equal to 1; and determining the first candidate direction and the second candidate direction as the reference direction.
[0035] In some embodiments of this application, determining at least one candidate touch point based on the center line of the touch area corresponding to the reference direction includes: for each touch area corresponding to a first candidate direction, intersecting the center line of the touch area with the center line of each touch area corresponding to a second candidate direction to obtain a candidate point of the touch area corresponding to the first candidate direction; and using the candidate points of each touch area corresponding to the first candidate direction as the candidate touch point.
[0036] In some embodiments of this application, determining the position information of touch points on the touchscreen based on each candidate region includes: determining the association relationship between each candidate region and the touch region corresponding to each preset scanning direction, wherein the association relationship is used to characterize whether the area of the overlapping region between the candidate region and the touch region is greater than or equal to a preset threshold; for each touch region, if the association relationship of the touch region characterizes that there is only one candidate region and the touch region with an area of overlapping region greater than or equal to the preset threshold, then the candidate region is taken as the target touch region; and determining the position information of touch points on the touchscreen based on the target touch region and the touch regions of each preset scanning direction.
[0037] Thirdly, this application provides a touch positioning device for use in a display device, the device comprising:
[0038] The first determining unit is configured to determine the center line of the touch area corresponding to each preset scanning direction of the touch screen of the display device; wherein the touch area represents the area corresponding to the scan received signal whose scan received signal is less than a preset value; and the center line is parallel to the preset scanning direction corresponding to the center line.
[0039] The second determining unit is used to determine at least one candidate touch point corresponding to the preset scanning direction based on the center line of the touch area corresponding to the preset scanning direction.
[0040] The third determining unit is used to determine the candidate region where the candidate touch point is located based on a preset scanning window; wherein the size of the candidate region is the same as the size of the scanning window;
[0041] The fourth determining unit is used to determine the position information of the touch point on the touch screen based on each of the candidate regions.
[0042] In some embodiments of this application, the second determining unit includes:
[0043] The first determining module is used to determine a reference direction in the preset scanning direction of the touch screen based on the number of touch areas corresponding to the preset scanning direction;
[0044] The second determining module is used to determine at least one candidate touch point based on the center line of the touch area corresponding to the reference direction.
[0045] In some embodiments of this application, the preset scanning direction includes: a preset scanning direction corresponding to the first transmitting edge of the touchscreen and a preset scanning direction corresponding to the second transmitting edge of the touchscreen; the reference direction includes at least one preset scanning direction corresponding to the first transmitting edge of the touchscreen and at least one preset scanning direction corresponding to the second transmitting edge of the touchscreen.
[0046] In some embodiments of this application, the first determining module is specifically used to: take the preset scanning directions corresponding to the first transmitting edges of the M largest number of touch areas of the touch screen as the first candidate directions; M is an integer greater than or equal to 1; take the preset scanning directions corresponding to the first transmitting edges of the N largest number of touch areas of the touch screen as the second candidate directions; N is an integer greater than or equal to 1; and determine the first candidate directions and the second candidate directions as the reference directions.
[0047] In some embodiments of this application, the second determining module is specifically used to: for each touch area corresponding to a first candidate direction, perform intersection processing on the center line of the touch area and the center line of each touch area corresponding to a second candidate direction to obtain candidate points of the touch area corresponding to the first candidate direction; and use the candidate points of each touch area corresponding to the first candidate direction as the candidate touch points.
[0048] In some embodiments of this application, the fourth determining unit includes:
[0049] The third determining module is used to determine the association relationship between each candidate region and the touch region corresponding to each preset scanning direction. The association relationship is used to characterize whether the area of the overlapping area between the candidate region and the touch region is greater than or equal to a preset threshold.
[0050] The fourth determining module is used to determine the target touch area for each touch area if the relationship between the touch areas indicates that there is only one candidate area and the touch area with an area greater than or equal to a preset threshold.
[0051] The fifth determining module is used to determine the position information of the touch point on the touch screen based on the target touch area and the touch area in each preset scanning direction.
[0052] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the method as described in any of the second aspects.
[0053] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the method described in any of the second aspects.
[0054] This application provides a display device, touch positioning method, and touch positioning apparatus. The display device includes: a touch screen; and a processor connected to the touch screen, the processor being configured to: determine the center line of a touch area corresponding to each preset scanning direction of the touch screen; wherein the touch area represents the area corresponding to a scanned received signal whose scanned received signal is less than a preset value; the center line is parallel to the preset scanning direction corresponding to the center line; determine at least one candidate touch point corresponding to the preset scanning direction based on the center line of the touch area corresponding to the preset scanning direction; determine the candidate area where the candidate touch point is located based on a preset scanning window; wherein the size of the candidate area is the same as the size of the scanning window; and determine the position information of the touch point on the touch screen based on each candidate area. In this application, candidate touch points are determined by using the center line of the touch area, and at the candidate touch point, the candidate area corresponding to each candidate touch point is determined by combining the preset scanning window. Compared with the related technology that uses touch areas to perform intersection operations to determine candidate areas, the method in this embodiment can reduce the amount of computation when determining candidate areas, thereby improving the efficiency of determining the position information of touch points. Attached Figure Description
[0055] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0056] Figure 1 A schematic diagram of a scenario provided for this application;
[0057] Figure 2 This is a schematic diagram of the structure of a touch screen provided in an embodiment of this application;
[0058] Figure 3 A schematic diagram illustrating a scanning direction provided in an embodiment of this application;
[0059] Figure 4 A schematic diagram of a touch area provided in an embodiment of this application;
[0060] Figure 5 A flowchart illustrating a touch positioning method provided in an embodiment of this application;
[0061] Figure 6 A flowchart illustrating the second touch positioning method provided in this application embodiment;
[0062] Figure 7 A schematic diagram of another touch area provided in an embodiment of this application;
[0063] Figure 8 A schematic diagram of yet another touch area provided in an embodiment of this application;
[0064] Figure 9 A schematic diagram of the center line of a touch area corresponding to a reference direction provided in an embodiment of this application;
[0065] Figure 10 A schematic diagram of a candidate touch point provided in an embodiment of this application;
[0066] Figure 11 A schematic diagram of a candidate region provided in an embodiment of this application;
[0067] Figure 12 A schematic diagram of a target touch area provided in an embodiment of this application;
[0068] Figure 13 This is a schematic diagram illustrating the determination of a touch point according to an embodiment of this application;
[0069] Figure 14 This is a schematic diagram of the structure of a touch positioning device provided in an embodiment of this application.
[0070] Figure 15 This is a schematic diagram of another touch positioning device provided in an embodiment of this application.
[0071] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0072] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0073] To make the objectives, implementation methods and advantages of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the described exemplary embodiments are only some embodiments of this application, and not all embodiments.
[0074] Based on the exemplary embodiments described in this application, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of the appended claims. Furthermore, although the disclosures in this application are presented by way of one or more exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete implementation on its own.
[0075] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.
[0076] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities and do not necessarily imply a specific order or sequence, unless otherwise indicated. It should be understood that such terms can be used interchangeably where appropriate, for example, to implement the application in a sequence other than those given in the embodiments illustrated or described herein.
[0077] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclusively include, for example, a product or device that includes a series of components is not necessarily limited to those that are explicitly listed, but may include other components that are not explicitly listed or that are inherent to such product or device.
[0078] As used in this application, the term "module" means any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code capable of performing the functions associated with that element.
[0079] As used in this application, the term "remote control" refers to a component of an electronic device (such as the display device disclosed in this application) that typically allows for wireless control of the electronic device over a short distance. It generally uses infrared and / or radio frequency (RF) signals and / or Bluetooth to connect to the electronic device, and may also include functional modules such as WiFi, wireless USB, Bluetooth, and motion sensors. For example, a handheld touch remote control replaces most of the physical built-in hard buttons in a typical remote control device with a user interface on a touchscreen.
[0080] As used in this application, the term "gesture" refers to user behavior in which a user expresses an expected idea, action, purpose, and / or result through a change in hand shape or hand movement.
[0081] Figure 1 This is a schematic diagram illustrating a scenario provided in this application. (For example...) Figure 1 As shown, the user can operate the display device 200 through the mobile terminal 300 and the control device 100.
[0082] In some embodiments, the control device 100 may be a remote control. Communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, and other short-range communication methods, controlling the display device 200 wirelessly or via other wired means. Users can input user commands through buttons on the remote control, voice input, control panel input, etc., to control the display device 200. For example, users can input corresponding control commands through volume up / down buttons, channel control buttons, up / down / left / right movement buttons, voice input buttons, menu buttons, power on / off buttons, etc., to achieve the function of controlling the display device 200. Alternatively, the control device 100 may also be a stylus, allowing users to control the display device by clicking on it.
[0083] In some embodiments, mobile terminals, tablets, computers, laptops, and other smart devices can also be used to control the display device 200. For example, an application running on the smart device can be used to control the display device 200. This application can be configured to provide the user with various controls in an intuitive user interface (UI) on the screen associated with the smart device.
[0084] In some embodiments, the mobile terminal 300 can install software applications with the display device 200 to establish a connection and communication via a network communication protocol, achieving one-to-one control operations and data communication. For example, a control command protocol can be established between the mobile terminal 300 and the display device 200, synchronizing a remote control keyboard to the mobile terminal 300. By controlling the user interface on the mobile terminal 300, the display device 200 can be controlled. Alternatively, audio and video content displayed on the mobile terminal 300 can be transmitted to the display device 200 for synchronized display.
[0085] like Figure 1 The diagram also shows that display device 200 communicates with server 400 via various communication methods. Display device 200 can communicate via local area network (LAN), wireless local area network (WLAN), and other networks. Server 400 can provide display device 200 with various content and interactive features. For example, display device 200 can interact by sending and receiving information, as well as through electronic program guides (EPGs), receiving software updates, or accessing remotely stored digital media libraries. Server 400 can be a cluster or multiple clusters, and may include one or more types of servers. Other network services such as video-on-demand and advertising services are provided through server 400.
[0086] Display device 200 can be an LCD monitor, OLED monitor, or projection display device. The specific type, size, and resolution of the display device are not limited. Those skilled in the art will understand that display device 200 can be modified in terms of performance and configuration as needed.
[0087] In addition to providing broadcast television reception functions, the display device 200 can also be equipped with intelligent network television functions that provide computer support, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.
[0088] The display device in this application is a display device with a touch screen. For example... Figure 2 As shown, Figure 2 This is a schematic diagram of a touch screen provided in an embodiment of this application. Figure 2 As shown, the touchscreen is rectangular in shape, comprising two transmitting edges (i.e., the first and second transmitting edges in the figure) and two receiving edges (i.e., the first and second receiving edges in the figure). Multiple transmitting units are located at each transmitting edge, and multiple receiving units are located at each receiving edge. The receiving units at the first receiving edge receive signals emitted by the transmitting units of the first transmitting edge, and the receiving units at the second receiving edge receive signals emitted by the transmitting units of the second transmitting edge. Furthermore, in a 1-to-n (n>=1) scanning mode, one transmitting unit can emit signals in n different scanning directions. For example... Figure 2 As shown, when n is 3, one transmitting unit can emit signals in 3 different scanning directions. Furthermore, since multiple transmitting units are located at the transmitting edge, a single scanning direction will include signals emitted by multiple transmitting units in that scanning direction.
[0089] For example, such as Figure 3 As shown, Figure 3 This is a schematic diagram illustrating a scanning direction provided in an embodiment of this application. For example... Figure 3 As shown, when n is 2, the signal emitted by each transmitting unit in the touchscreen has two scanning directions. For the first transmitting edge, Figure 3 Figure a in the middle and Figure 3 Figure b in the figure is used to characterize the signal path corresponding to each scanning direction of the first transmitting edge. Figure 3 Figure c in the middle and Figure 3 Figure d in the diagram is used to characterize the signal path corresponding to each scanning direction of the second transmitting edge.
[0090] In other words, each scanning direction corresponds to a set of parallel scanning signal paths. When a touch occurs, each touch point blocks several consecutive parallel signal paths. The area corresponding to these consecutively blocked signal paths is a touch area in that scanning direction, such as... Figure 4 As shown, Figure 4 This is a schematic diagram of a touch area provided in an embodiment of this application. The dashed lines represent blocked signal paths. In the continuous blocked signal paths, the first blocked signal path is the starting boundary of this touch area, and the last blocked signal path is the ending boundary. Therefore, the area enclosed by the starting boundary, the ending boundary, and the border of the touch screen in the scanning direction is the touch area in the scanning direction.
[0091] In related technologies, when determining the location information of a touch point, the intersection of the touch areas under any two scanning directions is usually performed, and the overlapping area is used as a candidate region. However, the candidate regions determined by the above method include a large number of false touch points (i.e., not real touch points), so a false touch point removal operation is required afterward. Since determining the candidate region requires intersecting any two scanning directions from multiple scanning directions, the computational load is large, resulting in low touch point positioning efficiency.
[0092] The display device, touch positioning method, and touch positioning apparatus provided in this application are intended to solve the above-mentioned technical problems of the prior art.
[0093] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0094] The display device provided in this embodiment includes: a touch screen; and a processor connected to the touch screen. When the processor performs touch positioning, it can specifically execute... Figure 5 The steps are shown. (As indicated) Figure 5 As shown, Figure 5 This is a flowchart illustrating a touch positioning method provided in an embodiment of this application. The method includes the following steps:
[0095] S501. For each preset scanning direction of the touch screen, determine the center line of the touch area corresponding to the preset scanning direction; wherein, the touch area represents the area corresponding to the scan received signal that is less than a preset value; the center line is parallel to the preset scanning direction corresponding to the center line.
[0096] For example, in this embodiment, the processor in the display device determines the touch area under each preset scanning direction based on the scan reception signal received by the receiving unit on the touch screen in the display device. Under each preset scanning direction of the touch screen, the area corresponding to the scan reception signal with a scan reception signal less than a preset value is taken as the touch area. Then, for each touch area, a center line corresponding to each touch area is determined, and the center line corresponding to each touch area is parallel to its corresponding preset scanning direction.
[0097] S502. Determine at least one candidate touch point corresponding to the preset scanning direction based on the center line of the touch area corresponding to the preset scanning direction.
[0098] For example, after the processor in the display device determines the center line of the touch area, it can determine the candidate touch point based on the center line of the touch area corresponding to the preset scanning direction.
[0099] In one example, the center line of the touch area corresponding to each preset scanning direction can be processed as follows: that is, the center line of the touch area corresponding to each preset scanning direction is intersected with the center lines of the touch areas corresponding to the other preset scanning directions to obtain the candidate touch point corresponding to each preset scanning direction.
[0100] S503. Determine the candidate area where the candidate touch point is located according to the preset scanning window; wherein the size of the candidate area is the same as the size of the scanning window.
[0101] For example, after the candidate touch points are determined, since a touch operation occurs on the touch screen and a region on the touch screen is touched, in this embodiment, the candidate region where each candidate touch point is located is also determined based on a preset scanning window.
[0102] For example, the preset scanning window can be a rectangle, the size of which can be determined based on the size of the touch area determined by the user's fingertip or stylus during historical usage. Then, for each candidate touch point, that candidate touch point can be used as the center point of the scanning window. Next, based on the preset scanning window, the area enclosed by the preset scanning window at that candidate touch point is determined as the candidate region for that candidate touch point. It should be noted that the shape of the preset scanning window here is only an example and is not specifically limited in actual applications; for example, it can also be a circle, an ellipse, or other shapes.
[0103] S504. Determine the position information of the touch points on the touch screen based on each candidate area.
[0104] For example, after determining the candidate region corresponding to each candidate touch point, the location information of the touch point can be further determined based on each candidate region.
[0105] In one example, when determining the location information of a touch point based on candidate regions, the number of touch regions overlapping with each candidate region can first be determined, and candidate regions with a number greater than a preset value are designated as target regions. Then, when the target region intersects with all touch regions, the location information of the overlapping region at the target region is used as the final determined location information of the touch point.
[0106] In one example, the location information of the touch point may include the location coordinates of the touch point and its outline shape.
[0107] In this embodiment, when determining candidate regions, candidate touch points are identified by using the center line of the touch region. Furthermore, at each candidate touch point, a preset scanning window is used to determine the corresponding candidate region. Compared to related technologies that use touch regions to perform intersection operations to determine candidate regions, the method in this embodiment reduces the computational load when determining candidate regions, thereby improving the efficiency of determining the position information of touch points.
[0108] Figure 6 This is a flowchart illustrating the second touch positioning method provided in an embodiment of this application. Figure 6 As shown, the method includes the following steps:
[0109] S601. For each preset scanning direction of the touch screen, determine the center line of the touch area corresponding to the preset scanning direction; wherein, the touch area represents the area corresponding to the scan received signal that is less than a preset value; the center line is parallel to the preset scanning direction corresponding to the center line.
[0110] For example, this step can be referred to step S501, which will not be repeated here.
[0111] S602. Determine the reference direction in the preset scanning directions of the touch screen based on the number of touch areas corresponding to the preset scanning direction.
[0112] For example, in this embodiment, when determining the candidate area, a reference direction is first determined from the preset scanning directions of the touch screen based on the number of touch areas corresponding to each preset scanning direction.
[0113] For example, the preset scanning directions can be sorted from largest to smallest based on the number of touch areas corresponding to each preset scanning direction, and the preset scanning direction at the beginning can be selected as the reference direction.
[0114] In some embodiments, the preset scanning direction includes: a preset scanning direction corresponding to the first transmitting edge of the touchscreen and a preset scanning direction corresponding to the second transmitting edge of the touchscreen; the reference direction includes at least one preset scanning direction corresponding to the first transmitting edge of the touchscreen and at least one preset scanning direction corresponding to the second transmitting edge of the touchscreen.
[0115] For example, in this example, the preset scanning direction of the touchscreen can be divided into two cases: one is the preset scanning direction corresponding to the first transmitting edge of the touchscreen, and the other is the scanning direction emitted by the second transmitting edge of the touchscreen. When the preset scanning direction is divided into the above two cases, when determining the reference direction among the preset scanning directions, at least one preset scanning direction corresponding to the first transmitting edge and at least one preset scanning direction corresponding to the second transmitting edge can be selected respectively.
[0116] It is understandable that, since the first and second transmitting edges of the touchscreen are located at different boundaries of the touchscreen, locating candidate touch points based on preset scanning directions at different boundaries can make the final determined touch point location information more accurate.
[0117] In some embodiments, performing step S602 may include the following steps:
[0118] The first step of step S602 is to take the preset scanning direction corresponding to the first emission edge of the top M touch screens with the largest number of touch areas as the first candidate direction; M is an integer greater than or equal to 1.
[0119] The second step of step S602 is to take the preset scanning direction corresponding to the first emission edge of the N touch screens with the largest number of touch areas as the second candidate direction; N is an integer greater than or equal to 1.
[0120] The third step of step S602 is to determine the first candidate direction and the second candidate direction as the reference direction.
[0121] For example, when determining the reference direction, this embodiment can divide the preset scanning direction into two parts. For the preset scanning direction corresponding to the first transmitting edge, the top M preset scanning directions with the largest number of corresponding touch areas are selected as the first candidate directions. That is, based on the number of touch areas corresponding to each preset scanning direction of the first transmitting edge, the preset scanning directions corresponding to the first transmitting edge are sorted from largest to smallest, and the top M preset scanning directions after sorting are selected as the first candidate directions. Similarly, the preset scanning direction corresponding to the second transmitting edge is sorted in the same way, and the top N preset scanning directions are selected as the second candidate directions, where M is an integer greater than or equal to 1 and N is an integer greater than or equal to 1. Then, both the first candidate directions and the second candidate directions are used as reference directions.
[0122] It is understandable that the reference direction selected based on the above method includes preset scanning reverse directions with a large number of touch areas in different boundaries, thereby making the position information of the subsequently determined touch points more accurate.
[0123] S603. Determine at least one candidate touch point based on the center line of the touch area corresponding to the reference direction.
[0124] For example, after filtering out the reference direction from the preset scanning directions, candidate touch points are determined based on the center line of the touch area corresponding to the determined reference direction.
[0125] In one possible approach, for each reference direction, the following process can be performed: the center line of the touch area corresponding to that reference direction is intersected with the center lines of the touch areas corresponding to the other reference directions to obtain candidate touch points in that reference direction. Then, each candidate touch point corresponding to a reference direction is used as a candidate touch point.
[0126] In some embodiments, step S603 may include the following steps:
[0127] The first step of step S603 is to perform an intersection process on the center line of the touch area corresponding to each first candidate direction and the center line of each touch area corresponding to each second candidate direction to obtain the candidate points of the touch area corresponding to the first candidate direction.
[0128] The second step of step S603: take the candidate points of the touch area corresponding to each first candidate direction as candidate touch points.
[0129] For example, in this embodiment, when the reference direction is composed of a first candidate direction and a second candidate direction, when determining the candidate touch point, it is only necessary to perform the intersection processing of the center line of the touch area corresponding to each first candidate direction and the center line of the touch area corresponding to each second candidate direction, and the point obtained by the intersection is the candidate touch point.
[0130] It is understandable that in this embodiment, after filtering the preset scanning directions based on the number of touch areas corresponding to each preset scanning direction, a reference direction is obtained. Candidate touch points are then determined based on the centerline of the touch area corresponding to the reference direction. This reduces the computational load in determining candidate touch points, thereby improving the efficiency of touch positioning. Furthermore, when determining the reference direction, it can also include a first candidate direction and a second candidate direction. When intersecting, only the centerline of the touch area corresponding to the first candidate direction needs to be intersected with the centerline of the touch area corresponding to the second candidate direction. This reduces the computational load, and by setting two candidate directions corresponding to different emission edges, the accuracy of the determined touch points can also be improved.
[0131] For example, when the preset scanning direction includes the preset scanning direction corresponding to the two first transmitting edges and the preset scanning direction corresponding to the two second transmitting edges, when a touch action occurs on the touchscreen, at this time, Figure 7 This is a schematic diagram of a touch area provided in an embodiment of this application. Figure 7 Figure a shows two touch areas (i.e., the two areas enclosed by the dashed lines in the figure) under a preset scanning direction corresponding to the first emission edge. Figure 7 Figure b shows two touch areas (i.e., the two areas enclosed by the dashed lines in the figure) under another preset scanning direction corresponding to the first emission edge. Figure 8 This is a schematic diagram of another touch area provided in an embodiment of this application. Figure 8 Figure a shows two touch areas (i.e., the two areas enclosed by the dashed lines in the figure) under a preset scanning direction corresponding to the second emission edge. Figure 8 Figure b shows a touch area under another preset scanning direction corresponding to the second emission edge (that is, the two areas enclosed by the dotted line in the figure can be regarded as one area because the two areas are connected).
[0132] After determining such Figure 7 He Ru Figure 8 After the touch area in each preset scanning direction, for Figure 7 Regarding the preset scanning direction corresponding to the first transmitting edge, since the number of touch areas corresponding to the two preset scanning directions is the same, a preset scanning direction can be randomly selected as the first candidate direction. And for... Figure 8Regarding the preset scanning direction corresponding to the second emission edge in the image, Figure 8 The number of touch areas corresponding to the preset scanning direction shown in Figure a is greater than Figure 8 The number of touch areas corresponding to the preset scanning direction shown in Figure b can be used to... Figure 8 The preset scanning direction shown in Figure a is used as the second candidate direction, and then both the first and second candidate directions are used as reference directions. This results in the following: Figure 9 The center line of the touch area corresponding to the reference direction shown. Figure 9 This is a schematic diagram of the center line of a touch area corresponding to a reference direction, provided in an embodiment of this application. For example... Figure 9 As shown, Figure 9 In Figure a, the center line of the touch area corresponding to the reference direction of the first emission edge is shown (i.e., the thick solid line in the two touch areas). Figure 9 In Figure b, the center line of the touch area corresponding to the reference direction of the second emission edge is shown (i.e., the thickened solid line in both touch areas). Then, the center line of each touch area in the first candidate direction of the reference direction is intersected with the center line of each touch area corresponding to the second candidate direction of the reference direction, resulting in the following... Figure 10 The candidate touch points are shown. Figure 10 This is a schematic diagram of a candidate touch point provided in an embodiment of this application. Figure 10 As shown, Figure 9 After the center lines in the diagram are intersected based on the above process, the following can be obtained: Figure 10 The four candidate touch points are shown (i.e., the four circles in the figure represent the four candidate touch points).
[0133] S604. Determine the candidate region where the candidate touch point is located according to the preset scanning window; wherein the size of the candidate region is the same as the size of the scanning window.
[0134] For example, this step can refer to step S503, and the specific principle will not be repeated here.
[0135] S605. Determine the association between each candidate region and the touch region corresponding to each preset scanning direction. The association is used to characterize whether the area of the overlapping area between the candidate region and the touch region is greater than or equal to a preset threshold.
[0136] For example, when determining the location information of a touch point based on a candidate region, it is first possible to determine whether there is an overlapping region between each candidate region and the touch region corresponding to each preset scan, and whether the area of the overlapping region is greater than or equal to a preset threshold, thereby determining the association between each candidate region and each touch region.
[0137] S606. For each touch area, if the relationship between the touch areas indicates that there is only one candidate area and the touch area with an area greater than or equal to a preset threshold, then the candidate area is taken as the target touch area.
[0138] For example, after determining the relationship between each candidate region and each touch region, if for a touch region there is only one candidate region and the touch region whose overlapping area is greater than or equal to a preset threshold, it indicates that there must be a touch point in the candidate region, or in the region containing the candidate region, so that the touch region is formed, that is, the touch point blocks the signal path of the scanning and receiving signal transmitted by the transmitting side, and the touch region has been formed.
[0139] Furthermore, step S606 allows for the selection of target touch areas with actual touch points from multiple candidate areas, thereby removing false touches from the candidate areas.
[0140] For example, Figure 11 This is a schematic diagram of a candidate region provided in an embodiment of this application. Figure 11 In Figure a, the black dots represent candidate touch points, and the solid black lines surrounding the black dots represent the preset scanning window mentioned in this application, which is the candidate area where the candidate touch point is located. Furthermore... Figure 11 Figure a shows three touch regions that overlap with the candidate region and whose overlapping area is greater than or equal to a preset threshold. Similarly, Figure 11 Figure b shows two touch areas that overlap with the candidate areas in the figure, and the area of the overlapping area is greater than or equal to a preset threshold. Figure 11 Figure c shows two touch areas that overlap with the candidate areas in the figure, and the area of the overlapping area is greater than or equal to a preset threshold. Figure 11 Figure d shows three touch regions that overlap with the candidate regions in the figure, and the area of the overlapping region is greater than or equal to a preset threshold. After determining the touch regions whose overlapping area with each candidate region is greater than or equal to the preset threshold, if for a certain touch region, the number of candidate regions whose overlapping area with the touch region is greater than or equal to the preset threshold is 1, then that candidate region is taken as the target touch region.
[0141] like Figure 12 As shown, Figure 12 This is a schematic diagram of a target touch area provided in an embodiment of this application. Figure 12As can be observed in Figure a, for the two solid black dots (i.e., the two candidate touch points), the touch area enclosed by the solid line corresponding to each solid black dot only overlaps with the candidate area where that solid dot is located if the area of the overlap is greater than or equal to a preset threshold. Therefore, the candidate areas where the two candidate touch points are located can be considered as target touch areas. For the white dots (i.e., candidate touch points), there are two touch areas where the area of the overlap with the candidate area where the white dot is located is greater than or equal to a preset threshold. However, if the area of the overlap with other candidate areas in these two touch areas is greater than or equal to a preset threshold, then the candidate points in such candidate areas can be considered as fake touch points, i.e., not real touch points. Therefore, through the above screening, we can obtain... Figure 12 The two target touch areas shown in Figure b (i.e., the areas enclosed by the black solid line rectangles corresponding to the black solid dots in the figure).
[0142] S607. Determine the position information of the touch point on the touch screen based on the target touch area and the touch area in each preset scanning direction.
[0143] For example, after determining the target touch area, each touch area can be intersected with the target touch area based on the target touch area and the touch areas in each preset scanning direction to obtain the position information of the touch point. In one example, when the target touch area intersects with all touch areas, the intersection processing can be performed only on touch areas whose overlapping area with the target touch area is greater than or equal to a preset threshold, so as to reduce the amount of computation and determine the area of the actual touch point around the target touch area.
[0144] For example, Figure 13 This is a schematic diagram illustrating the determination of a touch point according to an embodiment of this application. Figure 13 As shown, through the above intersection processing procedure, in Figure 12 At the corresponding two target touch areas, two touch points can be obtained (i.e., the two black areas in the figure).
[0145] In this embodiment, by filtering the target touch area in the candidate area based on the correlation between the candidate area and the touch area, the strange points in the candidate area can be removed, thereby improving the accuracy of subsequent touch point positioning.
[0146] Figure 14 This is a schematic diagram of the structure of a touch positioning device provided in an embodiment of this application, as shown below. Figure 14 As shown, the device is used in a display device, and the device includes:
[0147] The first determining unit 1401 is used to determine the center line of the touch area corresponding to each preset scanning direction of the touch screen of the display device; wherein the touch area represents the area corresponding to the scan received signal whose scan received signal is less than a preset value; and the center line is parallel to the preset scanning direction corresponding to the center line.
[0148] The second determining unit 1402 is used to determine at least one candidate touch point corresponding to the preset scanning direction based on the center line of the touch area corresponding to the preset scanning direction.
[0149] The third determining unit 1403 is used to determine the candidate area where the candidate touch point is located according to a preset scanning window; wherein the size of the candidate area is the same as the size of the scanning window.
[0150] The fourth determining unit 1404 is used to determine the position information of the touch point on the touch screen based on each candidate area.
[0151] For example, the specific principle of the device provided in this embodiment is similar to that of the above embodiments, and will not be repeated here.
[0152] Figure 15 This is a schematic diagram of the structure of another touch positioning device provided in the embodiments of this application, as shown below. Figure 15 As shown, in Figure 14 Based on the device structure shown, the second determining unit 1402 in the device includes:
[0153] The first determining module 14021 is used to determine a reference direction in the preset scanning direction of the touch screen based on the number of touch areas corresponding to the preset scanning direction.
[0154] The second determining module 14022 is used to determine at least one candidate touch point based on the center line of the touch area corresponding to the reference direction.
[0155] In some embodiments of this application, the preset scanning direction includes: a preset scanning direction corresponding to the first transmitting edge of the touchscreen and a preset scanning direction corresponding to the second transmitting edge of the touchscreen; the reference direction includes at least one preset scanning direction corresponding to the first transmitting edge of the touchscreen and at least one preset scanning direction corresponding to the second transmitting edge of the touchscreen.
[0156] In some embodiments of this application, the first determining module 14021 is specifically used to: take the preset scanning direction corresponding to the first transmitting edge of the top M touch screens with the largest number of touch areas as the first candidate direction; M is an integer greater than or equal to 1; take the preset scanning direction corresponding to the first transmitting edge of the top N touch screens with the largest number of touch areas as the second candidate direction; N is an integer greater than or equal to 1; and determine the first candidate direction and the second candidate direction as the reference direction.
[0157] In some embodiments of this application, the second determining module 14022 is specifically used for: for each touch area corresponding to a first candidate direction, intersecting the center line of the touch area with the center line of each touch area corresponding to a second candidate direction to obtain candidate points of the touch area corresponding to the first candidate direction; and taking the candidate points of each touch area corresponding to the first candidate direction as candidate touch points.
[0158] In some embodiments of this application, the fourth determining unit 1404 includes:
[0159] The third determining module 14041 is used to determine the association relationship between each candidate region and the touch region corresponding to each preset scanning direction. The association relationship is used to characterize whether the area of the overlapping area between the candidate region and the touch region is greater than or equal to a preset threshold.
[0160] The fourth determining module 14042 is used to determine the target touch area for each touch area if the relationship between the touch areas indicates that there is only one candidate area and the touch area with an area greater than or equal to a preset threshold.
[0161] The fifth determining module 14043 is used to determine the position information of the touch point on the touch screen based on the target touch area and the touch area of each preset scanning direction.
[0162] For example, the specific principle of the device provided in this embodiment is similar to that of the above embodiments, and will not be repeated here.
[0163] This application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods described in the above embodiments.
[0164] This application provides a computer program product, including a computer program that, when executed by a processor, implements the methods described in the above embodiments.
[0165] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0166] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A display device, characterized in that, include: touchscreen; A processor connected to the touchscreen is configured to: For each preset scanning direction of the touch screen, a center line of the touch area corresponding to the preset scanning direction is determined; wherein, the touch area represents the area corresponding to the scan received signal whose scan received signal is less than a preset value; the center line is parallel to the preset scanning direction corresponding to the center line; Based on the center line of the touch area corresponding to the preset scanning direction, at least one candidate touch point corresponding to the preset scanning direction is determined; Based on a preset scanning window, a candidate region is determined where the candidate touch point is located; wherein, the candidate region is used to characterize an area centered on the candidate touch point and having the same size as the scanning window; Based on each of the candidate regions, determine the position information of the touch point on the touch screen; When the processor determines the position information of the touch point on the touchscreen based on each of the candidate regions, it is specifically used for: Determine the association between each candidate region and the touch region corresponding to each preset scanning direction. The association is used to characterize whether the area of the overlapping region between the candidate region and the touch region is greater than or equal to a preset threshold. For each touch area, if the association relationship of the touch area indicates that there is only one candidate area and the touch area with an area greater than or equal to a preset threshold, then the candidate area is taken as the target touch area; The position information of the touch point on the touch screen is determined based on the target touch area and the touch area in each preset scanning direction.
2. The display device according to claim 1, characterized in that, The processor is specifically used to determine at least one candidate touch point corresponding to the preset scanning direction based on the centerline of the touch area corresponding to the preset scanning direction, specifically for: Based on the number of touch areas corresponding to the preset scanning direction, a reference direction is determined in the preset scanning direction of the touch screen; At least one candidate touch point is determined based on the center line of the touch area corresponding to the reference direction.
3. The display device according to claim 2, characterized in that, The preset scanning direction includes: a preset scanning direction corresponding to the first transmitting edge of the touchscreen and a preset scanning direction corresponding to the second transmitting edge of the touchscreen; the reference direction includes at least one preset scanning direction corresponding to the first transmitting edge of the touchscreen and at least one preset scanning direction corresponding to the second transmitting edge of the touchscreen.
4. The display device according to claim 3, characterized in that, The processor determines a reference direction within the preset scanning directions of the touchscreen based on the number of touch areas corresponding to the preset scanning direction, specifically for: The preset scanning directions corresponding to the first transmitting edges of the M touch screens with the largest number of touch areas are used as the first candidate directions; M is an integer greater than or equal to 1. The preset scanning directions corresponding to the first emission edges of the N touch screens with the largest number of touch areas are used as the second candidate directions; N is an integer greater than or equal to 1; The first candidate direction and the second candidate direction are determined as the reference direction.
5. The display device according to claim 4, characterized in that, When the processor determines at least one candidate touch point based on the centerline of the touch area corresponding to the reference direction, it is specifically used for: For each touch area corresponding to the first candidate direction, the center line of the touch area is intersected with the center line of each touch area corresponding to the second candidate direction to obtain the candidate point of the touch area corresponding to the first candidate direction. The candidate points of the touch area corresponding to each of the first candidate directions are taken as the candidate touch points.
6. A touch positioning method, characterized in that, Applied to a display device as described in any one of claims 1-5, the method comprises: For each preset scanning direction of the touch screen of the display device, a center line of the touch area corresponding to the preset scanning direction is determined; wherein, the touch area represents the area corresponding to the scan received signal whose scan received signal is less than a preset value; the center line is parallel to the preset scanning direction corresponding to the center line; Based on the center line of the touch area corresponding to the preset scanning direction, at least one candidate touch point corresponding to the preset scanning direction is determined; Based on a preset scanning window, the candidate region where the candidate touch point is located is determined; wherein, the size of the candidate region is the same as the size of the scanning window; Based on each of the candidate regions, the position information of the touch point on the touch screen is determined.
7. The method according to claim 6, characterized in that, Based on the centerline of the touch area corresponding to the preset scanning direction, at least one candidate touch point corresponding to the preset scanning direction is determined, including: Based on the number of touch areas corresponding to the preset scanning direction, a reference direction is determined in the preset scanning direction of the touch screen; At least one candidate touch point is determined based on the center line of the touch area corresponding to the reference direction.
8. The method according to claim 7, characterized in that, The preset scanning direction includes: a preset scanning direction corresponding to the first transmitting edge of the touchscreen and a preset scanning direction corresponding to the second transmitting edge of the touchscreen; the reference direction includes at least one preset scanning direction corresponding to the first transmitting edge of the touchscreen and at least one preset scanning direction corresponding to the second transmitting edge of the touchscreen.
9. A touch positioning device, characterized in that, Applied to a display device as described in any one of claims 1-5, the device comprises: The first determining unit is configured to determine the center line of the touch area corresponding to each preset scanning direction of the touch screen of the display device; wherein the touch area represents the area corresponding to the scan received signal whose scan received signal is less than a preset value; and the center line is parallel to the preset scanning direction corresponding to the center line. The second determining unit is used to determine at least one candidate touch point corresponding to the preset scanning direction based on the center line of the touch area corresponding to the preset scanning direction. The third determining unit is used to determine the candidate region where the candidate touch point is located based on a preset scanning window; wherein the size of the candidate region is the same as the size of the scanning window; The fourth determining unit is used to determine the position information of the touch point on the touch screen based on each of the candidate regions.
Citation Information
Patent Citations
Touch positioning method and device, equipment and storage medium
CN114089870A