Touch recognition method and display device

By obtaining the number of touch areas in each scanning direction on the touch screen and determining the target scanning direction, the problem of not being able to be recognized according to the touch type in the prior art is solved, and the location of touch points with multiple points and few touches is realized efficiently, and the location of touch points with multiple points and few points is improved. Identification efficiency and accuracy.

CN114077359BActive Publication Date: 2024-11-26HISENSE COMML DISPLAY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010799281.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-11
Publication Date
2024-11-26
Estimated Expiration
2040-08-11

AI Technical Summary

Technical Problem

Existing touch screens cannot efficiently identify according to the actual touch type, resulting in low recognition efficiency and cannot meet the different needs of multi-touch and few-touch.

Method used

By emitting and receiving light along multiple scanning directions on the touch screen, obtaining the number of touch areas detected in each scanning direction, determining at least one target scanning direction, and determining the position information of the touch point according to the direction, realizing different touch types Identification.

Benefits of technology

The efficiency of touch area recognition is improved, and it is possible to determine whether it is multi-touch or few-touch based on the number of touch areas, so as to quickly and accurately determine the position information of the touch point to meet the recognition needs of different touch types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114077359B_ABST
    Figure CN114077359B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a touch recognition method and a display device, the method is applied to a touch screen, the touch screen includes a transmitting side and a receiving side, the transmitting side is used to transmit light along multiple scanning directions, the receiving side is used to receive the transmitted light in the multiple scanning directions, the method includes: obtaining the number of touch areas detected in each scanning direction in multiple scanning directions; determining at least one target scanning direction according to the number of touch areas corresponding to each scanning direction; determining the position information of the touch point in the touch screen according to the at least one target scanning direction. It is possible to determine whether it is multi-touch or multi-touch according to the number of touch areas detected in each scanning direction, realize the recognition of different touch points under different numbers of touch areas, and the recognition efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of touch control technology, and more particularly to a touch recognition method and a display device. Background Art

[0002] A touch screen is an electronic system that can detect the presence and location of a touch within a display area and is widely used in a variety of display devices.

[0003] The recognition of the touch area of ​​the current touch screen is mainly achieved by scanning the light paths in each scanning direction on the touch screen. With the diversification of display devices, the types of touches on the user's touch screen are also gradually diversified, for example, they can include multi-touch and few-touch. For different touch types, the requirements for identifying the touch area may also be different. For example, in multi-touch, the response speed of touch area recognition is required to be higher, while in few-touch, the accuracy of touch area recognition is required to be higher. However, the recognition of the touch area of ​​the current touch screen adopts the same recognition scheme for different touch types, and cannot identify the touch area according to the actual touch type, and its recognition efficiency is low. Summary of the invention

[0004] The embodiments of the present application provide a touch recognition method and a display device to solve the problem that the touch area cannot be recognized according to the actual touch type.

[0005] In a first aspect, an embodiment of the present application provides a touch recognition method, which is applied to a touch screen, wherein the touch screen includes a transmitting edge and a receiving edge, wherein the transmitting edge is used to transmit light along multiple scanning directions, and the receiving edge is used to receive the transmitted light in the multiple scanning directions, and the method includes:

[0006] Get the number of touch areas detected in each scanning direction in multiple scanning directions;

[0007] Determining at least one target scanning direction according to the number of touch areas corresponding to each scanning direction;

[0008] According to the at least one target scanning direction, position information of the touch point in the touch screen is determined.

[0009] In a possible implementation, determining at least one target scanning direction according to the number of touch areas corresponding to each scanning direction includes:

[0010] Determining a reference direction among the plurality of scanning directions; wherein, among the plurality of scanning directions, the touch area detected in the reference direction is the largest;

[0011] determining a first number according to the number of touch areas detected in the reference direction;

[0012] A first number of target scanning directions are determined among the plurality of scanning directions.

[0013] In a possible implementation, determining the first number according to the number of touch areas detected in the reference direction includes:

[0014] determining whether the number of touch areas detected in the reference direction is greater than a first threshold;

[0015] If yes, then determine that the first number is M, where M is an integer greater than 1;

[0016] If not, then the first number is determined to be N, where N is an integer greater than 1, and M is less than N.

[0017] In a possible implementation, determining a first number of target scanning directions from the multiple scanning directions includes:

[0018] Grouping the multiple scanning directions to obtain a first number of scanning direction groups;

[0019] A target scanning direction is determined in each scanning direction group to obtain the first number of target scanning directions.

[0020] In a possible implementation, in a scanning direction group, the corresponding target scanning direction is the scanning direction with the largest number of detected touch areas.

[0021] In a possible implementation, the multiple scanning directions are grouped to obtain a first number of scanning direction groups, including:

[0022] Obtaining an initial identifier for each scanning direction, wherein the initial identifiers for each scanning direction are the same;

[0023] The multiple scanning directions are grouped according to the initial identifier of each scanning direction and the first number to obtain a first number of scanning direction groups.

[0024] In a possible implementation, the method further includes:

[0025] The identifier of each target scanning direction is updated, and the updated identifier is different from the initial identifier.

[0026] In a possible implementation, the method further includes:

[0027] The touch area corresponding to the scanning direction marked as the initial mark is deleted.

[0028] In a possible implementation, determining the position information of the touch point in the touch screen according to the at least one target scanning direction includes:

[0029] determining a location and an area of ​​a touch region detected in the at least one target scanning direction;

[0030] The position information of the touch point in the touch screen is determined according to the position and area of ​​the touch region detected in the at least one target scanning direction.

[0031] In a second aspect, an embodiment of the present application provides a touch recognition device, including a transmitting side and a receiving side, wherein the transmitting side is used to transmit light along multiple scanning directions, and the receiving side is used to receive the transmitted light in the multiple scanning directions, and the device includes:

[0032] An acquisition module, used for acquiring the number of touch areas detected in each scanning direction in multiple scanning directions;

[0033] A first processing module, configured to determine at least one target scanning direction according to the number of touch areas corresponding to each scanning direction;

[0034] The second processing module is used to determine the position information of the touch point in the touch screen according to the at least one target scanning direction.

[0035] In a possible implementation manner, the first processing module is specifically configured to:

[0036] Determining a reference direction among the plurality of scanning directions; wherein, among the plurality of scanning directions, the touch area detected in the reference direction is the largest;

[0037] determining a first number according to the number of touch areas detected in the reference direction;

[0038] A first number of target scanning directions are determined among the plurality of scanning directions.

[0039] In a possible implementation manner, the first processing module is specifically configured to:

[0040] determining whether the number of touch areas detected in the reference direction is greater than a first threshold;

[0041] If yes, then determine that the first number is M, where M is an integer greater than 1;

[0042] If not, then the first number is determined to be N, where N is an integer greater than 1, and M is less than N.

[0043] In a possible implementation manner, the first processing module is specifically configured to:

[0044] Grouping the multiple scanning directions to obtain a first number of scanning direction groups;

[0045] A target scanning direction is determined in each scanning direction group to obtain the first number of target scanning directions.

[0046] In a possible implementation, in a scanning direction group, the corresponding target scanning direction is the scanning direction with the largest number of detected touch areas.

[0047] In a possible implementation manner, the first processing module is specifically configured to:

[0048] Get the initial identification of each scanning direction;

[0049] The multiple scanning directions are grouped according to the initial identifier of each scanning direction and the first number to obtain a first number of scanning direction groups.

[0050] In a possible implementation manner, the first processing module is further configured to:

[0051] The identifier of each target scanning direction is updated, and the updated identifier is different from the initial identifier.

[0052] In a possible implementation manner, the first processing module is further configured to:

[0053] The touch area corresponding to the scanning direction marked as the initial mark is deleted.

[0054] In a possible implementation manner, the second processing module is specifically configured to:

[0055] determining a location and an area of ​​a touch region detected in the at least one target scanning direction;

[0056] The position information of the touch point in the touch screen is determined according to the position and area of ​​the touch region detected in the at least one target scanning direction.

[0057] In a third aspect, an embodiment of the present application provides a display device, including:

[0058] Memory, used to store programs;

[0059] A processor is used to execute the program stored in the memory. When the program is executed, the processor is used to execute the touch recognition method as described in any one of the first aspects.

[0060] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enables the computer to execute the touch recognition method as described in any one of the first aspects.

[0061] The touch recognition method and display device provided in the embodiment of the present application are applied to a touch screen, and the touch screen includes a transmitting side and a receiving side, the transmitting side is used to transmit light along multiple scanning directions, and the receiving side is used to receive the transmitted light in multiple scanning directions. First, the number of touch areas detected in each scanning direction in the multiple scanning directions is obtained, and at least one target scanning direction is determined according to the number of touch areas corresponding to each scanning direction, and then the position information of the touch point in the touch screen is determined according to the at least one target scanning direction. Through the above scheme, it is possible to determine whether it is multi-point touch or multi-point touch according to the number of touch areas detected in each scanning direction, and then determine the target scanning direction, and then determine the position information of the touch point based on the target scanning direction, so that the recognition of different touch points under different numbers of touch areas can be realized, and the recognition efficiency is high. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0063] Figure 1 A schematic diagram of the structure of an infrared touch screen provided in an embodiment of the present application;

[0064] Figure 2 A schematic diagram of the long side scanning direction provided in an embodiment of the present application;

[0065] Figure 3 A schematic diagram of the short side scanning direction provided in an embodiment of the present application;

[0066] Figure 4 A schematic diagram of light path shielding provided in an embodiment of the present application;

[0067] Figure 5 A schematic diagram of a touch recognition method according to an embodiment of the present invention;

[0068] Figure 6 A schematic diagram of a touch recognition method according to an embodiment of the present invention;

[0069] Figure 7 A schematic diagram of a touch area blocking light provided in an embodiment of the present application;

[0070] Figure 8 A schematic diagram of short side light shielding provided in an embodiment of the present application;

[0071] Fig. 9A schematic diagram of long side light blocking provided in an embodiment of the present application;

[0072] Fig.10 A schematic diagram of the structure of a touch recognition device provided in an embodiment of the present application;

[0073] Fig.11 A schematic diagram of the hardware structure of a display device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0074] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0075] To facilitate understanding, first, the concepts involved in this application are explained.

[0076] Touch screen: A touch screen is an electronic system that can detect the presence and location of touch in the display area. The existence of the touch screen simplifies the method of human-computer interaction. Among the current touch technologies, infrared touch technology has the advantages of strong environmental adaptability, longer life, and more identifiable touch points, so it is widely used.

[0077] Figure 1 A schematic diagram of the structure of an infrared touch screen provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the infrared touch screen is composed of a long-side transmitting edge 12, a long-side receiving edge 11, a short-side transmitting edge 14 and a short-side receiving edge 13. There are a number of transmitting lamps on the transmitting edge, and a number of receiving lamps on the corresponding receiving edge.

[0078] like Figure 1 As shown, scanning is usually performed in a one-to-many manner, that is, one transmitting lamp emits light, and multiple receiving lamps opposite to it can receive the light emitted by the transmitting lamp, thereby forming an optical network, and the touch behavior is judged according to the different forms of the optical network in the touched and untouched conditions.

[0079] Scanning direction: In a 1-to-n (n>=1) scanning method, for a specific lamp, each light path has a different angle. For a specific emitting lamp, each angle of the n light paths corresponding to it is called a scanning direction. Therefore, the 1-to-n scanning method has n scanning directions, and each scanning direction consists of a group of parallel light paths with the same slope.

[0080] Figure 2 A schematic diagram of the long side scanning direction provided in an embodiment of the present application, Figure 3 A schematic diagram of the short side scanning direction provided in the embodiment of the present application, such as Figure 2 and Figure 3 As shown, the long side includes a long emitting side and a long receiving side, and the short side also includes a short emitting side and a short receiving side. The long emitting side emits light, and the long receiving side receives the light emitted by the long emitting side; the short emitting side emits light, and the short receiving side receives the light emitted by the short emitting side.

[0081] Touch area: A specific scanning direction corresponds to a set of parallel scanning light paths. When a touch occurs, each touch point will block several consecutive parallel light paths, and these consecutively blocked light paths are a touch area under the scanning direction.

[0082] Figure 4 A schematic diagram of light path shielding provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the dotted line represents the blocked light path. Among the continuously blocked light paths, the first blocked light path is called the starting boundary of the touch area, and the last blocked light path is called the ending boundary. The starting boundary and the ending boundary here are only the boundaries of the blocked light paths, and do not have a time order. The order of the starting boundary and the ending boundary can be customized.

[0083] In the current infrared multi-point recognition scheme, the same scanning direction optical path and the same logic algorithm are used in any scene to determine the position of the touch point, which cannot achieve the best high precision for few-point touch and high speed for multi-point touch. Based on this, the embodiment of the present application provides a touch screen control scheme to solve the above problem.

[0084] Figure 5 A flow chart of a touch recognition method provided in an embodiment of the present application, wherein the method is applied to a touch screen, wherein the touch screen comprises a transmitting side and a receiving side, wherein the transmitting side is used to transmit light along multiple scanning directions, and the receiving side is used to receive the transmitted light in the multiple scanning directions, such as Figure 5 As shown, the method may include:

[0085] S51, obtaining the number of touch areas detected in each of the multiple scanning directions.

[0086] In the present application, the touch screen includes multiple scanning directions, and the scanning direction is the direction in which the light is emitted from the emitting side to the receiving side. On an emitting side, there may be multiple scanning directions. For any emitting lamp on the emitting side, the direction in which the light is emitted by the emitting lamp is the multiple scanning directions. For any scanning direction, all the emitting lamps on the corresponding emitting side can emit light in the scanning direction, and the light emitted by multiple emitting lamps in the same scanning direction is parallel to each other. Lights in multiple scanning directions together form an optical network.

[0087] When a user performs a touch operation on the touch screen, the light on the touch screen will be blocked. At the same time, for each scanning direction, the user's touch operation on the touch screen may block one or more light rays in the scanning direction. Therefore, according to the light rays blocked in each scanning direction, the number of touch areas detected in each scanning direction can be obtained.

[0088] S52: Determine at least one target scanning direction according to the number of touch areas corresponding to each scanning direction.

[0089] When a user performs a touch operation on the touch screen, there may be a situation where light is blocked and cannot be detected in some scanning directions, that is, some touch areas cannot be detected in some scanning directions. Therefore, the number of touch areas corresponding to each scanning direction may be different. In the embodiment of the present application, at least one target scanning direction can be determined according to the number of touch areas corresponding to each scanning direction.

[0090] S53: Determine position information of the touch point in the touch screen according to the at least one target scanning direction.

[0091] After determining at least one current scanning direction, the position information of the touch point in the touch screen can be determined according to the at least one current scanning direction. When the number of touch areas is large, it is multi-touch, and the touch screen has a higher speed requirement for touch response. Therefore, fewer target scanning directions can be determined, and the position information of the touch point can be determined according to fewer current scanning directions. When the number of touch areas is small, it is few-point touch, and the touch screen has a higher accuracy requirement for touch response. Therefore, more target scanning directions can be determined, and the position information of the touch point can be determined according to more target scanning directions, and so on.

[0092] The touch recognition method provided in the embodiment of the present application is applied to a touch screen, and the touch screen includes a transmitting side and a receiving side, the transmitting side is used to transmit light along multiple scanning directions, and the receiving side is used to receive the transmitted light in multiple scanning directions. First, the number of touch areas detected in each scanning direction in the multiple scanning directions is obtained, and at least one target scanning direction is determined according to the number of touch areas corresponding to each scanning direction, and then the position information of the touch point in the touch screen is determined according to the at least one target scanning direction. Through the above scheme, it is possible to determine whether it is multi-point touch or multi-point touch according to the number of touch areas detected in each scanning direction, and then determine the target scanning direction, and then determine the position information of the touch point based on the target scanning direction, so that the recognition of different touch points under different numbers of touch areas can be realized, and the recognition efficiency is high.

[0093] The solution of the present application is described in detail below with reference to the accompanying drawings.

[0094] After the user performs a touch operation on the touch screen, the number of touch areas detected in each of the multiple scanning directions can be obtained, so as to determine the target scanning direction according to the number of touch areas corresponding to each scanning direction.

[0095] Specifically, a reference direction may be determined from among multiple scanning directions, the reference direction being the direction with the largest number of detected touch areas. If there are multiple directions with the largest number of detected touch areas, one direction may be randomly selected as the reference direction.

[0096] After the reference direction is determined, the first number may be determined according to the number of touch areas detected in the reference direction.

[0097] Ideally, when the user leaves i touch points on the touch screen, there are i touch areas in each scanning direction. However, in some cases, for example, if the touch point is too small, some touch areas in some scanning directions may not be detected. Therefore, in the embodiment of the present application, the scanning direction with the most detected touch areas is used as the reference direction, and the touch areas detected in the reference direction are used as the touch points to be identified.

[0098] According to the number of touch areas detected in the reference direction, it can be determined whether the touch operation is multi-touch or few-touch, and the first number is determined according to the result of the multi-touch or few-touch.

[0099] Specifically, it can be determined whether the number of touch areas detected in the reference direction is greater than a first threshold. If so, it can be determined that the touch operation at this time is multi-touch, and the first number is determined to be M, where M is an integer greater than 1; if not, it can be determined that the touch operation at this time is few-point touch, and the first number is determined to be N, where N is an integer greater than 1, and M is less than N.

[0100] After the first number is determined, a first number of target scanning directions may be determined among the plurality of scanning directions.

[0101] Specifically, multiple scanning directions may be grouped to obtain a first number of scanning direction groups.

[0102] For example, an initial identifier of each scanning direction may be obtained, and then multiple scanning directions may be grouped according to the initial identifier of each scanning direction and the first number to obtain a first number of scanning direction groups. The initial identifiers of the scanning directions are the same. For example, the initial identifier of each scanning direction may be set to 0. In subsequent processes, the identifiers of some scanning directions may be updated.

[0103] After the first number of scanning direction groups are obtained, a target scanning direction is determined in each scanning direction group, thereby obtaining the first number of target scanning directions.

[0104] Optionally, after each target scanning direction is determined, the identification of the target scanning direction may be updated, and the updated identification may be different from the initial identification. For example, the updated identification of the target scanning direction may be set to 1. At this time, the identification of the target scanning direction is different from that of the non-target scanning direction, so that the target scanning direction and the non-target scanning direction can be effectively distinguished.

[0105] After the identification is updated, the area corresponding to the scanning direction identified as the initial identification can be deleted. Since the identification of the target scanning direction is updated, and the identification of the non-target scanning direction is still the initial identification, deleting the touch area corresponding to the scanning direction identified as the initial identification is equivalent to deleting the touch area corresponding to the non-target scanning direction, and the touch point can be identified only based on the touch area corresponding to the target scanning direction.

[0106] When it is determined to be multi-point touch, the multiple scanning directions are divided into M groups, and a target scanning direction is determined in each group, so as to obtain M target scanning directions; when it is determined to be few-point touch, the multiple scanning directions are divided into N groups, and a target scanning direction is determined in each group, so as to obtain N target scanning directions.

[0107] For each scanning direction group, the scanning direction with the largest number of detected touch areas may be determined as the target scanning direction in the scanning direction group.

[0108] After determining a first number of target scanning directions, the position and area of ​​the touch area detected in the target scanning direction can be determined, and based on the position and area of ​​the touch area detected in the target scanning direction, the position information of the touch point in the touch screen can be determined, and the position and area size of the touch point can be output.

[0109] When it is determined to be a multi-touch, the number of target scanning directions is M, and when it is determined to be a few-point touch, the number of target scanning directions is N. Since M is less than N, in the case of multi-touch, the position information of the touch point in the touch screen is determined by fewer target scanning directions, and the position information of the touch point can be obtained faster, and the response speed is faster. In the case of few-point touch, the position information of the touch point in the touch screen is determined by more target scanning directions, and the accuracy of the position information of the touch point determined is higher and more accurate.

[0110] Figure 6 A schematic diagram of a touch recognition method provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, including:

[0111] S601, setting various parameters.

[0112] The parameters include the number of scanning directions n, the angle of each lamp in each scanning direction, the threshold of the number of touch areas t, the number of scanning directions N in the low-point high-precision mode, and the number of scanning directions M in the multi-point fast response mode. A flag flg is set for each scanning direction and initialized to 0. The initial flag set at this time is the initial flag of each scanning direction.

[0113] S602, performing a scanning cycle and counting the number of touch areas in each scanning direction.

[0114] Scans are performed in n scanning directions in one cycle, and the touch areas in each scanning direction and the number of touch areas in each scanning direction are statistically recorded. Figure 7 A schematic diagram of a touch area shielding light provided in an embodiment of the present application, such as Figure 7 As shown, two touch points are shown, namely Figure 7 The black circular area in the .

[0115] Figure 7 The touch screen in the embodiment includes four scanning directions, namely two scanning directions of the long side and two scanning directions of the short side. Figure 7 In the figure, the blocked light is also shown, i.e. Figure 7 As shown by the dotted lines in . These blocked light rays all pass through the areas where the two touch points are located, so when the user performs a touch operation on the touch screen, the above light rays will be blocked. The touch points can be determined based on these blocked light rays.

[0116] Figure 8 A schematic diagram of short side light shielding provided in an embodiment of the present application is shown in FIG. Figure 8 As shown, the short sides include two scanning directions, one is a vertical direction and the other is an inclined direction. Fig. 9 A schematic diagram of long side light shielding provided in an embodiment of the present application is shown in FIG. Fig. 9 As shown, the long sides include two scanning directions, one is a horizontal direction and the other is an inclined direction.

[0117] S603, selecting a reference direction and recording the number of touch areas detected in the reference direction.

[0118] Each scanning direction is traversed, and the scanning direction with the largest number of touch areas is selected as the reference direction Dir.

[0119] Figure 7-Figure 9 The example in the figure shows a situation where all touch areas are detected. In practice, in certain scanning directions, some touch areas cannot be detected.

[0120] For example, assuming that the touch screen includes 12 scanning directions, 6 of which are scanning directions of the long sides and the other 6 are scanning directions of the short sides. The number of touch areas detected in the 12 scanning directions is as follows:

[0121] Dir1 (scanning direction 1): 2 touch areas; Dir2 (scanning direction 2): 1 touch area;

[0122] Dir3 (scanning direction 3): 1 touch area; Dir4 (scanning direction 4): 2 touch areas;

[0123] Dir5 (scanning direction 5): 3 touch areas; Dir6 (scanning direction 6): 2 touch areas;

[0124] Dir7 (scanning direction 7): 1 touch area; Dir8 (scanning direction 8): 2 touch areas;

[0125] Dir9 (scanning direction 9): 2 touch areas; Dir10 (scanning direction 10): 1 touch area;

[0126] Dir11 (scanning direction 11): 2 touch areas; Dir12 (scanning direction 12): 1 touch area.

[0127] The scanning direction in which the largest number of touch areas are detected is Dir5, and therefore Dir5 is determined as the reference direction.

[0128] S604, determining whether the number k of touch areas in the reference direction Dir is greater than t, if so, executing S605, otherwise executing S606.

[0129] S605, enter multi-point high-speed response mode.

[0130] Multi-point high-speed response mode: n scanning directions are evenly divided into M groups, and the remaining scanning directions that cannot be evenly divided are placed in the last group; each group selects the direction with the largest number of touch areas and marks this direction flg as 1. At this time, the direction with the largest number of touch areas in each group is the target scanning direction of the group, and marking this direction flg as 1 means updating the mark of the target scanning direction; after executing all groups, execute S607.

[0131] Assuming that the touch area threshold t=2, the number of target scanning directions M=3, and every 4 scanning directions are taken as a group, and the scanning direction with the most touch areas detected is selected as the target scanning direction.

[0132] For the first group, Dir1-Dir4, select Dir1;

[0133] The second group, Dir5-Dir8, selected Dir5;

[0134] The third group, Dir9-Dir12, select Dir9.

[0135] S606, enter the less high-precision mode.

[0136] Less high-precision mode: n scanning directions are evenly divided into N groups, and the remaining scanning directions that cannot be evenly divided are put into the last group; each group selects the direction with the largest number of touch areas and marks this direction flg as 1. At this time, the direction with the largest number of touch areas in each group is the target scanning direction of the group, and marking this direction flg as 1 means updating the mark of the target scanning direction; after executing all groups, execute S607.

[0137] Assuming that the touch area threshold t=3, the number of target scanning directions N=5, and every two scanning directions are taken as a group, and the scanning direction with the most touch areas detected is selected as the target scanning direction.

[0138] For the first group, Dir1-Dir2, select Dir1;

[0139] The second group, Dir3-Dir4, select Dir4;

[0140] The third group, Dir5-Dir6, select Dir5;

[0141] The fourth group, Dir7-Dir8, chooses Dir6;

[0142] For the fifth group, Dir9-Dir12, select Dir9.

[0143] S607, traverse the scanning direction and delete the touch area in the unselected scanning direction.

[0144] Traverse each scanning direction and delete all the touch areas in the direction marked as 0, that is, delete the touch areas corresponding to the scanning direction marked as the initial mark, and clear the number of corresponding touch areas to 0.

[0145] S608, using the remaining touch area to calculate the point position and point area.

[0146] S609, performing ghost point removal operation, trajectory tracking and smoothing algorithm processing.

[0147] S610: Convert and output the coordinates of all touch points.

[0148] After the touch area in the target scanning direction is determined, the position information of the touch point is determined according to the touch area in the target scanning direction, and the coordinates of the touch point are output.

[0149] The touch recognition method provided in the embodiment of the present application is applied to a touch screen, and the touch screen includes a transmitting side and a receiving side, the transmitting side is used to transmit light along multiple scanning directions, and the receiving side is used to receive the transmitted light in multiple scanning directions. First, the number of touch areas detected in each scanning direction in the multiple scanning directions is obtained, and at least one target scanning direction is determined according to the number of touch areas corresponding to each scanning direction, and then the position information of the touch point in the touch screen is determined according to the at least one target scanning direction. Through the above scheme, it is possible to determine whether it is multi-point touch or multi-point touch according to the number of touch areas detected in each scanning direction, and then determine the target scanning direction, and then determine the position information of the touch point based on the target scanning direction, so that the recognition of different touch points under different numbers of touch areas can be realized, and the recognition efficiency is high.

[0150] Fig.10 A schematic diagram of the structure of a touch recognition device provided in an embodiment of the present application, comprising a transmitting side and a receiving side, wherein the transmitting side is used to transmit light in multiple scanning directions, and the receiving side is used to receive the transmitted light in the multiple scanning directions, such as Fig.10 As shown, the device comprises:

[0151] An acquisition module 101 is used to acquire the number of touch areas detected in each of a plurality of scanning directions;

[0152] A first processing module 102, configured to determine at least one target scanning direction according to the number of touch areas corresponding to each scanning direction;

[0153] The second processing module 103 is configured to determine position information of a touch point in the touch screen according to the at least one target scanning direction.

[0154] In a possible implementation manner, the first processing module 102 is specifically configured to:

[0155] Determining a reference direction among the plurality of scanning directions; wherein, among the plurality of scanning directions, the touch area detected in the reference direction is the largest;

[0156] determining a first number according to the number of touch areas detected in the reference direction;

[0157] A first number of target scanning directions are determined among the plurality of scanning directions.

[0158] In a possible implementation manner, the first processing module 102 is specifically configured to:

[0159] determining whether the number of touch areas detected in the reference direction is greater than a first threshold;

[0160] If yes, then determine that the first number is M, where M is an integer greater than 1;

[0161] If not, then the first number is determined to be N, where N is an integer greater than 1, and M is less than N.

[0162] In a possible implementation manner, the first processing module 102 is specifically configured to:

[0163] Grouping the multiple scanning directions to obtain a first number of scanning direction groups;

[0164] A target scanning direction is determined in each scanning direction group to obtain the first number of target scanning directions.

[0165] In a possible implementation, in a scanning direction group, the corresponding target scanning direction is the scanning direction with the largest number of detected touch areas.

[0166] In a possible implementation manner, the first processing module 102 is specifically configured to:

[0167] Get the initial identification of each scanning direction;

[0168] The multiple scanning directions are grouped according to the initial identifier of each scanning direction and the first number to obtain a first number of scanning direction groups.

[0169] In a possible implementation manner, the first processing module 102 is further configured to:

[0170] The identifier of each target scanning direction is updated, and the updated identifier is different from the initial identifier.

[0171] In a possible implementation manner, the first processing module 102 is further configured to:

[0172] The touch area corresponding to the scanning direction marked as the initial mark is deleted.

[0173] In a possible implementation manner, the second processing module 103 is specifically configured to:

[0174] determining a location and an area of ​​a touch region detected in the at least one target scanning direction;

[0175] The position information of the touch point in the touch screen is determined according to the position and area of ​​the touch region detected in the at least one target scanning direction.

[0176] The device provided in the embodiment of the present application can be used to execute the technical solution of the above-mentioned method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0177] Fig.11 A schematic diagram of the hardware structure of a display device provided in an embodiment of the present application is shown in FIG. Fig.11 As shown, the display device includes: at least one processor 111 and a memory 112. The processor 111 and the memory 112 are connected via a bus 113.

[0178] Optionally, the model determination also includes a communication component. For example, the communication component may include a receiver and / or a transmitter.

[0179] In a specific implementation process, at least one processor 111 executes the computer-executable instructions stored in the memory 112, so that at least one processor 111 executes the above touch recognition method.

[0180] The specific implementation process of the processor 111 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0181] In the above Fig.11 In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the application may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0182] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.

[0183] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0184] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the touch recognition method as described above is implemented.

[0185] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0186] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0187] The division of the units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.

[0188] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0189] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0190] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0191] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0192] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A touch recognition method, characterized in that: Applied to a touch screen, the touch screen comprises an emitting edge and a receiving edge, the emitting edge is used to emit light along multiple scanning directions, the receiving edge is used to receive the emitted light in the multiple scanning directions, the method comprises: Acquire multiple first numbers of touch areas detected in each scanning direction in multiple scanning directions; Determine a reference direction according to a plurality of first numbers of touch areas corresponding to each scanning direction, wherein among the plurality of scanning directions, the first number of touch areas detected in the reference direction is the largest; determining a second number according to the number of touch areas detected in the reference direction, wherein the second number is one of the plurality of first numbers; Determining a third number of touch areas in the target scanning direction according to a second number of touch areas in the reference direction, wherein the second number is negatively correlated with the third number; Determining a third number of target scanning directions from the plurality of scanning directions; determining position information of touch points on the touch screen according to the third number of target scanning directions; The determining, according to the second number of touch areas in the reference direction, a third number of target scanning directions comprises: determining whether a second number of touch areas detected in the reference direction is greater than a first threshold; If yes, determine that the third number is M, and enter the first mode, where M is an integer greater than 1; If not, determine that the third number is N, enter the second mode, N is an integer greater than 1, M is less than N, the response speed of the first mode is greater than the response speed of the second mode, and the accuracy of the first mode is less than the accuracy of the second mode.

2. The method according to claim 1, characterized in that: Determining a third number of target scanning directions from the plurality of scanning directions comprises: Grouping the multiple scanning directions to obtain a third number of scanning direction groups; A target scanning direction is determined in each scanning direction group to obtain the third number of target scanning directions.

3. The method according to claim 2, characterized in that In a scanning direction group, the corresponding target scanning direction is the scanning direction with the largest number of detected touch areas.

4. The method according to claim 2 or 3, characterized in that: The plurality of scanning directions are grouped to obtain a third number of scanning direction groups, including: Obtaining an initial identifier for each scanning direction, wherein the initial identifiers for each scanning direction are the same; The multiple scanning directions are grouped according to the initial identifier of each scanning direction and the third number to obtain a third number of scanning direction groups.

5. The method according to claim 4, characterized in that The method further comprises: The identifier of each target scanning direction is updated, and the updated identifier is different from the initial identifier.

6. The method according to claim 5, characterized in that The method further comprises: The touch area corresponding to the scanning direction marked as the initial mark is deleted.

7. The method according to any one of claims 1 to 3, characterized in that: Determining the position information of the touch point on the touch screen according to the third number of target scanning directions includes: determining positions and areas of touch regions detected in the third number of target scanning directions; The position information of the touch point in the touch screen is determined according to the positions and areas of the touch regions detected in the third number of target scanning directions.

8. A display device, characterized in that: include: Memory, used to store programs; A processor is used to execute the program stored in the memory. When the program is executed, the processor is used to execute the touch recognition method as described in any one of claims 1 to 7.