Touch device, touch object recognition method and apparatus
Patent Information
- Application Number
- CN202111163469.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2041-09-30
AI Technical Summary
[0004]然而,现有的触控对象识别方法存在多级识别准确性较差的问题
[0039]本申请提供的触控设备、触控对象识别方法及装置,通过触控对象触控触控显示屏时遮挡的至少一个方向的光路数,以及,各方向的光路数与触控对象的标识的映射关系,确定该触控对象的标识。不同触控对象触控触控显示屏时遮挡的光路数的区分度通常大于不同触控对象遮挡的光路区域的面积。因此,相较于现有的根据触控对象遮挡的光路区域的面积,确定触控对象的标识,通过本申请提供的方法确定触控对象的标识,提高了确定触控对象的标识的准确性,也就是提高了对触控对象进行多级识别的准确性。在确定该触控对象的标识之后,可以提高控制触控设备进入与该触控对象的标识匹配的工作模式的准确性,进而提高了用户体验。
Smart Images

Figure CN115904129B_ABST
Abstract
Description
Technical Field
[0001] This application relates to touch technology. More specifically, it relates to a touch device, a touch object recognition method, and an apparatus. Background Technology
[0002] Users can touch the device using a stylus, or other touch objects of different shapes such as fingers or palms. Touch devices based on infrared technology can recognize the shape of the touch object and display the corresponding drawing strokes accordingly.
[0003] Touchscreen devices based on infrared technology have multiple infrared emitters and receivers deployed around their display screens. The receivers receive the infrared light emitted by the emitters. When a touch object touches the device, it blocks part of the light path, preventing some receivers from receiving the infrared light. Currently, existing touch object recognition methods primarily determine the shape of the touch object based on the area of the light path it blocks.
[0004] However, existing touch object recognition methods suffer from poor accuracy in multi-level recognition. Summary of the Invention
[0005] Exemplary embodiments of this application provide a touch device, a touch object recognition method and apparatus, which can improve the user experience of operating the touch device.
[0006] In a first aspect, this application provides a touch device, the touch device comprising:
[0007] A touchscreen display, used for displaying information;
[0008] An infrared emitting element is disposed on at least one side of the touch display screen for emitting infrared light;
[0009] An infrared receiving element is disposed on the side of the touch screen opposite to the infrared emitting element, and is used to receive infrared light; an optical path is formed between the infrared emitting element and the infrared receiving element that can receive the infrared light emitted by the infrared emitting element;
[0010] The processor connected to the touch display screen, the infrared emitting element, and the infrared receiving element is configured to:
[0011] When a touch object touches the touch display screen, the number of light paths blocked in at least one direction is obtained;
[0012] The identifier of the touch object is determined based on the number of optical paths in at least one direction and the mapping relationship between the number of optical paths in each direction and the identifier of the touch object;
[0013] Based on the identifier of the touch object, the touch device is controlled to enter a working mode that matches the identifier of the touch object.
[0014] In some embodiments, the processor is configured to:
[0015] The area of the light path region blocked when the touch object touches the touch display screen is obtained, as well as the brightness value corresponding to each light path blocked when the touch object touches the touch display screen;
[0016] The identifier of the touch object is determined based on the mapping relationship between the number of light paths in the at least one direction, the area of the blocked light path region, the average brightness value corresponding to each blocked light path, and the number of light paths in each direction, the area of the light path region blocked by the touch object, the average brightness value corresponding to each blocked light path by the touch object, and the identifier of the touch object.
[0017] In some embodiments, the touch display screen includes a plurality of display areas, each display area corresponding to one of the mapping relationships, and the processor is configured to:
[0018] Obtain the first touch position of the touch object touching the touch display screen;
[0019] The identifier of the touch object is determined based on the number of light paths in at least one direction blocked by the touch object and the mapping relationship corresponding to the display area where the first touch position is located.
[0020] In some embodiments, the processor is configured to:
[0021] Obtain the number of optical paths in each direction in each initial display area of the touch screen; for any two adjacent initial display areas, if the number of optical paths in each direction is the same, then the two initial display areas are considered as one display area.
[0022] In some embodiments, the touch object is a stylus, and the processor is configured to:
[0023] For the identifier of the stylus in the mapping relationship, and the identifier of any touch object other than the identifier of the stylus, compare the number of optical paths in each direction corresponding to the identifiers of the two touch objects to obtain the similarity rate between the number of optical paths in each direction corresponding to the identifier of the stylus and the number of optical paths in each direction corresponding to the identifier of any touch object other than the identifier of the stylus.
[0024] If the similarity rate is greater than or equal to a preset similarity rate threshold, the touch screen will output a first prompt message, which indicates that the stylus is unqualified.
[0025] In some embodiments, the processor is configured to:
[0026] In response to a mapping update request triggered by the touch object touching a second touch position on the touch display screen, a display area division interface and a second prompt message are displayed on the touch display screen; the second prompt message is used to prompt the user to draw at least one stroke in each display area.
[0027] The system receives the identifier of at least one touch object input by the user, and the number of light paths in at least one direction blocked by each touch object when the user draws at least one stroke in each display area.
[0028] The mapping relationship is updated based on the identifier of at least one touch object input by the user, and the number of light paths in at least one direction blocked by each touch object.
[0029] In some embodiments, the touch object is any of the following: a stylus, a finger, or a palm.
[0030] In some embodiments, the touch device is a touch all-in-one machine.
[0031] Secondly, this application provides a touch object recognition method, the method being applied to a touch device, the touch device including a touch display screen for display; an infrared emitting element disposed on at least one side of the touch display screen for emitting infrared light; and an infrared receiving element disposed on the side of the touch display screen opposite to the infrared emitting element for receiving infrared light; an optical path is formed between the infrared emitting element and the infrared receiving element capable of receiving the infrared light emitted by the infrared emitting element, the method comprising:
[0032] When a touch object touches the touch display screen, the number of light paths blocked in at least one direction is obtained;
[0033] The identifier of the touch object is determined based on the number of optical paths in at least one direction and the mapping relationship between the number of optical paths in each direction and the identifier of the touch object;
[0034] Based on the identifier of the touch object, the touch device is controlled to enter a working mode that matches the identifier of the touch object.
[0035] Thirdly, this application provides a touch object recognition device, which is applied to a touch device. The touch device includes a touch display screen for display; an infrared emitting element disposed on at least one side of the touch display screen for emitting infrared light; and an infrared receiving element disposed on the side of the touch display screen opposite to the infrared emitting element for receiving infrared light. An optical path is formed between the infrared emitting element and the infrared receiving element capable of receiving the infrared light emitted by the infrared emitting element. The device includes:
[0036] The acquisition module is used to acquire the number of light paths blocked in at least one direction when the touch object touches the touch display screen;
[0037] The processing module is used to determine the identifier of the touch object based on the number of light paths in the at least one direction and the mapping relationship between the number of light paths in each direction and the identifier of the touch object;
[0038] The control module is used to control the touch device to enter a working mode that matches the identifier of the touch object based on the identifier of the touch object.
[0039] The touch device, touch object recognition method, and apparatus provided in this application determine the identifier of a touch object by considering the number of light paths blocked in at least one direction when the touch object touches the touch display screen, and the mapping relationship between the number of light paths in each direction and the identifier of the touch object. The distinguishability of the number of light paths blocked by different touch objects when touching the touch display screen is generally greater than the area of the light path area blocked by different touch objects. Therefore, compared to existing methods that determine the identifier of a touch object based on the area of the light path area blocked by the touch object, the method provided in this application improves the accuracy of identifying the touch object's identifier, thus improving the accuracy of multi-level identification of the touch object. After determining the identifier of the touch object, the accuracy of controlling the touch device to enter a working mode matching the identifier of the touch object can be improved, thereby enhancing the user experience. Attached Figure Description
[0040] To more clearly illustrate the implementation methods in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.
[0041] Figure 1 This is a schematic diagram of a touch device based on infrared technology.
[0042] Figure 2a This is a schematic diagram of a touch object recognition technology.
[0043] Figure 2b This is a schematic diagram of another touch object recognition method in related technologies;
[0044] Figure 3a A schematic diagram of light paths in different directions blocked by a stylus;
[0045] Figure 3b A schematic diagram of the light path in different directions blocked by another type of stylus;
[0046] Figure 4 A flowchart illustrating a touch object recognition method provided in this application;
[0047] Figure 5 A schematic diagram of another infrared-based touch device provided in this application;
[0048] Figure 6 A schematic diagram of a touch screen display interface provided in this application;
[0049] Figure 7 A flowchart illustrating another touch object recognition method provided in this application;
[0050] Figure 8 A schematic diagram of another touch screen display interface provided in this application;
[0051] Figure 9 This application provides a schematic diagram of the structure of a touch object recognition device;
[0052] Figure 10 This is a schematic diagram of the structure of a touch device provided in this application. Detailed Implementation
[0053] 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.
[0054] 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.
[0055] 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.
[0056] In this application, the terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings 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, in situations where implementation is possible in a sequence other than those given in the embodiments illustrated or described in this application.
[0057] Furthermore, the terms “include” and “have”, 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 components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.
[0058] As used in this application, the term "module" refers to 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.
[0059] Figure 1 This is a schematic diagram of a touch device based on infrared technology. Figure 1 As shown, the touch device may include a touch display screen, an infrared emitting element, an infrared receiving element, and a processor. Among them,
[0060] A touchscreen display is used for displaying information, such as images, videos, user interfaces, and drawings made by the user using a stylus or finger. A touchscreen display includes a display panel. The display panel can be made of liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode (AMOLED), flexible light-emitting diode (FLED), miniature LED, microLED, micro-OLED, quantum dot light-emitting diode (QLED), etc.
[0061] An infrared emitting element is disposed on at least one side of the touch display screen for emitting infrared light. An infrared receiving element is disposed on the side of the touch display screen opposite to the infrared emitting element for receiving infrared light. Both the infrared emitting element and the infrared receiving element belong to an infrared touch system. The touch display screen and the infrared touch system are independent of each other. It should be understood that the following description uses an infrared emitting element disposed on the first and second sides of the touch display screen as an example to illustrate the technical solution of this application. In some embodiments, the positions of the infrared emitting element and the infrared receiving element correspond one-to-one, and the infrared light emitted by the infrared emitting element is received by the infrared receiving element that uniquely corresponds to that infrared emitting element. In some embodiments, the infrared emitting element can also emit infrared light in different scanning directions. Figure 1 As shown, when the emission direction of the infrared light emitted by the infrared emitting element changes, the infrared receiving element corresponding to the infrared emitting element also changes. For example, the infrared emitting element can be an infrared emitting tube, and the infrared receiving element can be an infrared receiving tube.
[0062] A processor, connected to the aforementioned touchscreen display, infrared emitting element, and infrared receiving element, is used to control the touchscreen display to display relevant content based on received data, or to perform other operations on the touch device. Exemplarily, the processor may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. In some embodiments, the processor may include one or more processing units, such as an application processor controller, a digital signal processor (DSP), a display processing unit (DPU), etc. The controller can be the nerve center and command center of the touch device. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. Different processing units can be independent devices or integrated into one or more processors. In some embodiments, the touch device may also include one or more processors. The processor may also include a memory for storing instructions and data.
[0063] It should be understood that Figure 1 This application merely illustrates a portion of the structure involved in this application within a touch device, and does not limit whether the aforementioned touch device includes other structures.
[0064] Users can touch the aforementioned touch device using touch objects of different shapes, such as styluses, fingers, or palms. The stylus can be a single-ended stylus or a dual-ended stylus, both ends of which can be used to touch the device. The two ends of the dual-ended stylus can be the same or different shapes. When a user touches the touch device with touch objects of different shapes, the touch device can identify the shape of the touch object through multi-level recognition and display the corresponding strokes drawn on the touch object based on its shape.
[0065] The aforementioned multi-level recognition can be, for example, three-level recognition or four-level recognition. As an example, the three-level recognition could use the fine tip of a dual-ended stylus as the first level, the finger and the thicker tip as the second level, and the palm as the third level. Similarly, the four-level recognition could use the fine tip of a dual-ended stylus as the first level, the thicker tip as the second level, the finger as the third level, and the palm as the fourth level.
[0066] For example, taking the aforementioned dual-ended stylus as an example, if the touch device recognizes that the user is touching the touch device with the fine tip of the dual-ended stylus, the touch device can display the drawing made by the user using the stylus on the touch device. If the touch device recognizes that the user is touching the touch device with the thick tip of the dual-ended stylus, the touch device can cancel the drawing corresponding to the position touched by the thick tip on the touch device (similar to using the thick tip as an eraser).
[0067] Figure 2a This is a schematic diagram of a touch object recognition technology. Figure 2b This is a schematic diagram of another touch object recognition method in related technologies. For example... Figure 2a and 2b As shown, current methods for identifying touch objects in related technologies mainly involve the following steps: When a user touches a touch device with a touch object, the touch device receives the length and width of the light path area obscured by the touch object from an infrared touch system. Then, the touch device can determine the area of the light path area obscured by the touch object based on the product of the length and width. Finally, the touch device can identify the touch object corresponding to the area of the light path area obscured by the touch object, and then display the corresponding drawing strokes.
[0068] However, different users have different habits when using touch objects to touch touch devices. For example, different users may use different angles between the stylus and the touch device. Figure 2a and 2bAs shown, assuming the user uses a thinner stylus 1, the angle between stylus 1 and the touch device is smaller, while the angle between stylus 2 and the touch device is larger when using a thicker stylus 2. Although stylus 1 and stylus 2 are different in thickness, the area of the light path blocked by stylus 1 when the user uses stylus 1 is the same as the area of the light path blocked by stylus 2 when the user uses stylus 2. In other words, although stylus 1 and stylus 2 are different in thickness, the touch device may not be able to distinguish between stylus 1 and stylus 2, and may consider stylus 1 and stylus 2 to be touch objects of the same shape.
[0069] In other words, existing multi-level recognition methods for touch objects suffer from poor accuracy.
[0070] The inventors discovered through research that, for touch objects of different shapes, the number of light paths blocked by different touch objects varies when using them to touch a touch device. Even if different shaped touch objects block the same area of the light path region, the number of light paths blocked in different directions differs. For example, still using... Figure 2a and 2b Taking stylus 1 and stylus 2 as examples, Figure 3a This is a schematic diagram of the light path in different directions blocked by a stylus. Figure 3b A schematic diagram showing the light path in different directions blocked by another type of stylus. (Example) Figure 3a and 3b As shown in Table 1, the number of optical paths blocked by stylus 1 and stylus 2 in the first and second directions are as follows. Figure 3a and 3b The first direction shown is the direction that forms an angle greater than 90 degrees with the horizontal to the right, and the second direction is the direction that forms an angle less than 90 degrees with the horizontal to the right.
[0071] Table 1
[0072]
[0073] In other words, even if the area of the light path blocked by stylus 1 and stylus 2 is the same, the number of light paths blocked by stylus 1 and stylus 2 in the first and second directions are different.
[0074] It should be understood that Figure 3a and 3b This is just one example of an optical path. In actual applications, the optical paths in the first direction mentioned above can also be non-parallel optical paths, and the optical paths in the second direction mentioned above can also be non-parallel optical paths.
[0075] In view of this, this application proposes a method for identifying the type of a touch object based on the number of light paths blocked in at least one direction when the touch object touches a touch display screen. By distinguishing different touch objects by the number of light paths blocked in at least one direction, this method increases the distinguishability between different touch objects and improves the accuracy of multi-level touch object identification compared to existing touch object recognition methods.
[0076] The entity executing the above method can be a touch device, or the processor of the touch device. For example, the touch device can be a touch all-in-one machine (e.g., a smart interactive whiteboard), or a touch device that needs to be connected to a host computer to work (e.g., a display with touch functionality).
[0077] The technical solutions provided in this application will be described in detail below with reference to 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.
[0078] Figure 4 This is a flowchart illustrating a touch object recognition method provided in this application. Figure 4 As shown, the method includes the following steps:
[0079] S 101. When the touch object touches the touch display screen, the number of light paths in at least one direction that are blocked.
[0080] For example, the touch object can be any of the following: a stylus, a finger, or a palm. As mentioned above, the stylus can be a single-ended stylus or a dual-ended stylus that can be used at both ends to touch the touchscreen display. When the stylus is dual-ended, the two ends can have different thicknesses or different shapes. For example, one end of the stylus can be round, and the other end can be elliptical.
[0081] For example, at least one of the above directions can be, for example, as follows: Figure 3a Or at least one of the first direction, second direction, horizontal direction, and vertical direction shown in 3b. As mentioned above, in some embodiments, optical paths with an acute angle to the horizontal-to-right direction can be used as optical paths in the second direction; and optical paths with an obtuse angle to the horizontal-to-right direction can be used as optical paths in the first direction.
[0082] As one possible implementation, the infrared touch system can collect the number of light paths in at least one direction that are blocked when a touch object touches the touch screen, and send this data to the processor of the touch device. In other words, the touch device can directly obtain the number of light paths in at least one direction that are blocked when a touch object touches the touch screen from the infrared touch system.
[0083] As another possible implementation, the infrared touch system can send the number of optical paths in all directions between each infrared receiving element and each infrared emitting element to the processor. In this implementation, the touch device can obtain a preset number of optical paths in at least one direction from the aforementioned number of optical paths in all directions. Alternatively, the touch device can merge the number of optical paths in each direction, grouping optical paths belonging to the same preset directional range as a single optical path in that direction, and using the total number of optical paths within that same preset directional range as the number of optical paths in that direction.
[0084] As another possible implementation, the touch device can also receive the brightness values of each optical path when the touch object touches the touch screen. Then, the touch device can use optical paths with brightness values less than a preset brightness threshold as the optical paths blocked when the touch object touches the touch screen, and obtain the direction of each blocked optical path. Based on the direction of each blocked optical path, the touch device can obtain the number of optical paths blocked in at least one direction when the touch object touches the touch screen.
[0085] S102. Determine the identifier of the touch object based on the number of light paths in at least one direction and the mapping relationship between the number of light paths in each direction and the identifier of the touch object.
[0086] The mapping relationship between the number of optical paths in each direction and the identifier of the touch object can be, for example, calibrated offline by the user and pre-stored in the touch device. In some embodiments, the user can also update the mapping relationship between the number of optical paths in each direction and the identifier of the touch object to improve the accuracy of determining the identifier of the touch object based on the mapping relationship.
[0087] For example, taking the number of light paths in the first and second directions obstructed when a touch device acquires the number of light paths in each direction and the identifier of the touch object as an example, the mapping relationship between the number of light paths in each direction and the identifier of the touch object can be shown in Table 2 below:
[0088] Table 2
[0089]
[0090] Taking the mapping relationship shown in Table 2 as an example, assuming that when the touch object touches the touch screen of the touch device, the number of light paths blocked in the first direction is 11 and the number of light paths blocked in the second direction is 12, then the touch device can determine that the identifier of the touch object is identifier 1.
[0091] As one possible implementation, the touch device can determine the identifier of the touch object based solely on the mapping relationship between the number of optical paths in each of the above directions and the identifier of the touch object, thereby improving the efficiency of determining the identifier of the touch object.
[0092] As another possible implementation, the touch device can also determine the identifier of the touch object based on the mapping relationship between the number of light paths in each direction, the area of the light path region blocked by the touch object, the average brightness value of each light path blocked by the touch object, and the identifier of the touch object, so as to further improve the accuracy of determining the identifier of the touch object.
[0093] In this implementation, the touch device can also obtain the area of the light path region blocked when the touch object touches the touch screen, and the brightness value corresponding to each blocked light path when the touch object touches the touch screen. Based on the brightness values corresponding to each blocked light path when the touch object touches the touch screen, the touch device can obtain the average value of the brightness values corresponding to each blocked light path when the touch object touches the touch screen. Then, the touch device can determine the identifier of the touch object based on the mapping relationship between the number of light paths blocked in at least one direction, the area of the blocked light path region, the average value of the brightness values corresponding to each blocked light path, and the identifier of the touch object.
[0094] In some embodiments, the touch device may, for example, acquire the length and width of the light path area blocked when the touch object touches the touch display screen, as captured by an infrared touch system. Then, the touch device determines the area of the light path area blocked when the touch object touches the touch display screen based on the product of the length and width. Alternatively, in some embodiments, the touch device may also directly acquire the area of the light path area blocked when the touch object touches the touch display screen, as captured by an infrared touch system.
[0095] In some embodiments, the touch device may, for example, acquire the brightness values of each light path blocked when the touch object touches the touch display screen, collected by an infrared receiving element.
[0096] For example, taking the acquisition of the number of light paths in the first and second directions blocked by the touch object when the touch device touches the touch screen as an example, the mapping relationship between the number of light paths in each direction, the area of the light path region blocked by the touch object, the average brightness value corresponding to each light path blocked by the touch object, and the identifier of the touch object can be shown in Table 3 below:
[0097] Table 3
[0098]
[0099] Taking the mapping relationship shown in Table 3 as an example, assuming that when the touch object touches the touch screen of the touch device, the number of light paths in the first direction that are blocked is 11, the number of light paths in the second direction is 12, and the area of the blocked light path region is area 1, and the average value of the brightness value corresponding to each blocked light path is brightness value 1, then the touch device can determine that the identifier of the touch object is identifier 1.
[0100] As another possible implementation, the touch device can also determine the identifier of the touch object based on the mapping relationship between the number of light paths in each direction, the area of the light path region blocked by the touch object, and the identifier of the touch object. Alternatively, the touch device can also determine the identifier of the touch object based on the mapping relationship between the number of light paths in each direction, the average brightness value corresponding to each light path blocked by the touch object, and the identifier of the touch object. Specific implementation methods can be referred to the above embodiments, and will not be repeated here.
[0101] S103. Based on the identifier of the touched object, control the touch device to enter a working mode that matches the identifier of the touched object.
[0102] The aforementioned operating mode can, for example, control the display screen of the touch device to display a drawing that matches the identifier of the touch object. Alternatively, the operating mode can also control the display screen of the touch device to remove the drawing corresponding to the touch position on the display screen (equivalent to using the touch object as an eraser). Furthermore, the operating mode can also be an electronic whiteboard mode for the touch device, or an e-book reading mode. In some embodiments, the different drawing strokes can refer to: different colors of drawing strokes, different thicknesses of drawing strokes, or different textures of drawing strokes, etc.
[0103] In some embodiments, the touch device may pre-store the identifier of a touch object and a mapping relationship between the identifier and the drawing strokes. After determining the identifier of the touch object, the touch device can determine the drawing strokes that match the identifier of the touch object based on the identifier of the touch object and the mapping relationship between the identifier of the touch object and the drawing strokes. Then, the touch device can control the touch display screen to display the drawing strokes that match the identifier of the touch object.
[0104] In this embodiment, the identifier of a touch object is determined by the number of light paths blocked in at least one direction when the touch object touches the touch display screen, and the mapping relationship between the number of light paths in each direction and the identifier of the touch object. The distinguishability of the number of light paths blocked by different touch objects when touching the touch display screen is generally greater than the area of the light path area blocked by different touch objects. Therefore, compared to existing methods that determine the identifier of a touch object based on the area of the light path area blocked by the touch object, the method provided in this application improves the accuracy of identifying the touch object, that is, it improves the accuracy of multi-level identification of the touch object. After determining the identifier of the touch object, the accuracy of controlling the touch device to enter a working mode matching the identifier of the touch object can be improved, thereby improving the user experience.
[0105] As one possible implementation, the aforementioned touch display screen may further include multiple display areas. Each display area may correspond to a mapping relationship, so that when a touch object touches different positions on the touch display screen, the touch device can determine the identifier of the touch object based on the touch position, further improving the accuracy of identifying the touch object. The mapping relationship mentioned here can be any of the mapping relationships described in the foregoing embodiments (except for the mapping relationship between the touch object's identifier and the drawn handwriting).
[0106] In this implementation, the touch device can first obtain the first touch position of the touch object touching the touch screen. Then, based on the number of light paths in at least one direction blocked by the touch object, and the mapping relationship corresponding to the display area where the first touch position is located, the identifier of the touch object is determined.
[0107] In some embodiments, the touch device may, for example, pre-store a second mapping relationship between the display area and the aforementioned mapping relationship. The touch device can determine the mapping relationship corresponding to the display area where the first touch position is located based on the display area where the first touch position is located and the second mapping relationship between the display area and the aforementioned mapping relationship.
[0108] It should be understood that this application does not limit the way the display area of the aforementioned touch screen is divided.
[0109] In some embodiments, the touch device can first divide the touch display screen into multiple initial display areas. The areas of these initial display areas may be the same or different. Then, the touch device can obtain the number of light paths in each direction within each of the initial display areas. For any two adjacent initial display areas, if the number of light paths in each direction is the same, it means that the number of light paths blocked by the touch object in one initial display area is the same as the number of light paths blocked by the touch object in the corresponding direction in the other initial display area. In other words, the mapping relationship between the two initial display areas is the same, and the touch device can treat these two initial display areas as a single display area.
[0110] If the number of optical paths in any direction differs between any two adjacent initial display areas, it indicates that the mapping relationship between the two initial display areas is different. Therefore, the touch device cannot treat the two initial display areas as a single display area.
[0111] In some embodiments, the touch device may further divide the display area according to the total number of optical paths in each direction within each display area. For example, the touch device may use an initial display area (typically the edge of the screen) with a number of optical paths less than or equal to a first threshold as the target display area. For an initial display area with a number of optical paths greater than the first threshold, the method described in the above embodiments of "considering the two initial display areas as a single display area when the number of optical paths in each direction is the same" is executed.
[0112] Alternatively, in some embodiments, the touch device may directly divide the touch display screen into multiple display areas of the same size.
[0113] It should be understood that this application does not limit how the touch device obtains the number of light paths in each direction in each display area. For example, the touch device can obtain the number of light paths in each direction in each display area from an infrared touch system.
[0114] Furthermore, it should be understood that this application does not limit how the touch device obtains the first touch position of the touch object on the touch display screen. In specific implementation, existing methods for determining the touch position of the touch object based on infrared technology can be referred to, and will not be elaborated here.
[0115] Furthermore, the aforementioned mapping relationships corresponding to each display area of the touch display screen can all be different. In some embodiments, when any two adjacent display areas have the same aforementioned mapping relationship, the two adjacent display areas can be merged into a single display area.
[0116] In some embodiments, if the infrared emitting elements of the touch device are uniformly deployed on the first and second sides of the touch display screen, and the infrared receiving elements are uniformly deployed on the sides of the touch display screen opposite to the infrared emitting elements, such that the light path distribution and direction in the first region of the touch display screen are the same as those in the second region, then the touch device can obtain only the mapping relationship corresponding to each display area in the first region. If the display area to which the first touch position of the touch object belongs is located in the second region, then the touch device can determine the identifier of the touch object based on the mapping relationship corresponding to the display area symmetrical to the display area in the first region. Through the above method, when users calibrate the mapping relationship offline, they only need to calibrate the mapping relationship corresponding to each display area in the first region, reducing the time users spend calibrating the mapping relationship offline and improving the efficiency of offline calibration.
[0117] For example, multiple infrared emitting elements are uniformly deployed on the second side of the touch display screen, and multiple infrared receiving elements are uniformly deployed on the opposite side of the second side. Figure 5 A schematic diagram of another infrared-based touch device provided in this application. Figure 5 As shown, by designing the deployment positions of the infrared emitting and receiving elements, the light path distribution and direction in regions 1, 3, 7, and 9 of the touch screen can be made the same; the light path distribution and direction in regions 2 and 8 can be the same; and the light path distribution and direction in regions 4 and 6 can be the same.
[0118] In this example, when calibrating the mapping relationship of each display area, the user only needs to calibrate the mapping relationship of each display area in area 1, area 2, area 4, and area 5. Furthermore, if the light path distribution and direction are the same in the left and rear half (or the upper and lower half) of area 5, the user can also calibrate the mapping relationship of each display area only in the left (or right) half of area 5. Furthermore, in some embodiments, considering that area 1 and area 6 are located on the diagonal of the touch screen (the flatness of the touch screen on the diagonal varies greatly), the user can also calibrate the mapping relationship of each display area in area 1, area 6, area 2, area 4, and area 5 to improve the accuracy of the mapping relationship. Areas 3 and 7 can be referred to as areas 1 and 6, and will not be described further.
[0119] For example, if the display area of the first touch position of the touch object is in region 3, the touch device can determine the identifier of the touch object based on the mapping relationship between the display areas symmetrical to the display area of the first touch position in region 1.
[0120] In this embodiment, each display area corresponds to a mapping relationship, allowing the touch device to determine the identifier of the touch object based on the mapping relationship corresponding to the display area when the touch object touches different display areas of the touch screen. Using this method, when the flatness of the touch screen is poor, causing the height of the touch object entering the optical path plane between the infrared receiving element and the infrared emitting element to vary, which may result in different numbers of optical paths in the same direction being blocked when the same touch object touches different areas of the touch screen, the touch device can determine the identifier of the touch object based on the mapping relationship corresponding to the display area touched by the touch object, further improving the accuracy of multi-level identification of the touch object.
[0121] As one possible implementation, taking a stylus as an example of the touch object mentioned above, the touch device can also be used to detect whether the stylus design is qualified. If the touch device determines that the stylus design is unqualified, it can output a first prompt message to indicate to the user that the stylus is unqualified, thereby achieving automated detection of whether the stylus design is qualified and improving the efficiency of detecting whether the stylus design is qualified.
[0122] In this implementation, regarding the mapping relationship between the number of optical paths in each direction and the identifier of the touch object, the touch device can compare the number of optical paths in each direction corresponding to the identifier of the stylus, and the identifier of any other touch object, to obtain the similarity rate between the number of optical paths in each direction corresponding to the identifier of the stylus and the number of optical paths in each direction corresponding to the identifier of any other touch object. Then, based on this similarity rate, the touch device can determine whether the stylus is qualified.
[0123] In some embodiments, taking a single-ended stylus as an example, any touch object other than the stylus's identifier can be, for example, an identifier of another stylus, a finger identifier, or a palm identifier. Taking a dual-ended stylus as an example, the stylus's identifier can be the identifier corresponding to the first end of the dual-ended stylus. Any touch object other than the stylus's identifier can be, for example, the identifier corresponding to the second end of the dual-ended stylus, an identifier of another stylus, a finger identifier, or a palm identifier.
[0124] In some embodiments, the touch device can use the number of optical paths in each direction corresponding to the stylus's identifier as a first set of data, and the number of optical paths in each direction corresponding to the identifier of any touch object other than the stylus's identifier as a second set of data. For example, the touch device can compare the number of optical paths in each direction corresponding to the identifiers of the two touch objects by calculating the covariance between the first set of data and the second set of data. Then, the touch device can use the covariance between the first set of data and the second set of data as the similarity rate between the number of optical paths in each direction corresponding to the stylus's identifier and the number of optical paths in each direction corresponding to the identifier of any touch object other than the stylus's identifier.
[0125] It should be understood that this application does not limit the similarity rate between how the touch device calculates the number of optical paths in each direction corresponding to the identifier of the stylus and the number of optical paths in each direction corresponding to the identifier of any touch object other than the stylus identifier. The above implementation method is one of the possible implementations provided in this application. In specific implementations, other implementation methods can also be referred to to obtain the above similarity rate.
[0126] If the aforementioned similarity rate is greater than or equal to a preset similarity rate threshold, it indicates that the difference between the number of optical paths in each direction corresponding to the stylus's identifier and the number of optical paths in each direction corresponding to the identifier of any other touch object besides the stylus's identifier is small. For example, taking a finger as an example of any touch object other than the stylus, if the similarity rate between the number of optical paths in each direction corresponding to the stylus's identifier and the number of optical paths in each direction corresponding to the finger's identifier is greater than or equal to the preset similarity rate threshold, it indicates that when the stylus is used to touch the touch device, the touch device is more likely to recognize the stylus as a finger, thus indicating that the stylus design is substandard.
[0127] Therefore, if the similarity rate is greater than or equal to a preset similarity rate threshold, the touch device can use the touch display screen to output a first prompt message indicating that the stylus is defective, thereby automating the detection of whether the stylus design is qualified and improving the efficiency of detecting whether the stylus design is qualified. The preset similarity rate threshold can, for example, be something that the user has pre-stored in the touch device.
[0128] If the similarity rate is less than a preset similarity rate threshold, it indicates a significant difference between the number of light paths in each direction corresponding to the stylus's identifier and the number of light paths in each direction corresponding to the identifier of any other touch object. Based on the aforementioned mapping relationship, the accuracy of multi-level identification of touch objects can be guaranteed. Therefore, touch devices can use a touch display screen to output a second prompt indicating that the stylus is qualified, further improving the efficiency of detecting whether the stylus design is qualified.
[0129] In some embodiments, the touch device may, for example, begin executing the method described in this embodiment in response to an operation of "the user activating the function of the touch device to detect whether the stylus design is qualified".
[0130] As one possible implementation, the touch device can also update the mapping relationship between the number of light paths in each direction and the identifier of the touch object, or the mapping relationship between the number of light paths in each direction, the area of the light path region blocked by the touch object, the average value of the brightness value corresponding to each light path blocked by the touch object, and the identifier of the touch object, so as to further improve the accuracy of determining the identifier of the touch object.
[0131] In this implementation, in some embodiments, the touch device may respond to a mapping update request triggered by a second touch position of the touch display screen by the touch object, display an interface for dividing each display area on the touch display screen, and a second prompt message for prompting the user to draw at least one stroke in each display area.
[0132] For example, Figure 6 This is a schematic diagram of a touch screen display interface provided in this application. Figure 6 As shown, the touch device can switch to an interface displaying the division of display areas and a second prompt message in response to the user clicking the "Yes" control. After displaying the second prompt message on the touch screen for a preset duration (e.g., three seconds), the touch device can control the touch screen to hide the second prompt message, displaying only the division of display areas. The user can use a stylus or finger to draw at least one stroke in each display area.
[0133] It should be understood that Figure 6 This application provides an example of a touch screen display interface and does not limit whether each display interface of the touch screen includes other components.
[0134] A user can first input the currently used touch object into the touch device, and then use that touch object to draw at least one stroke in each display area. In some embodiments, the touch device can use a touch display screen to display a third prompt message for prompting the user to input the currently used touch object, as well as an input interface for the identifier of the touch object. Accordingly, the touch device can receive the identifier of at least one touch object input by the user, and the number of light paths in at least one direction obstructed by each touch object when the user draws at least one stroke in each display area.
[0135] Then, the touch device can update the aforementioned mapping relationship based on the identifier of at least one touch object input by the user, and the number of light paths in at least one direction blocked by each touch object.
[0136] In the following, the technical solution of the present application is exemplarily described by taking an example where the touch objects include a dual-head stylus (including a fine nib and a thick nib) and a finger, and the touch device determines the identifier of the touch object based on the number of blocked light paths in the foregoing first direction, second direction, horizontal left direction and vertical upward direction when the touch object touches the touch display screen, and the mapping relationship between the number of light paths in each of the foregoing directions and the identifiers of the touch objects. Figure 7 it is a schematic flow chart of another touch object identification method provided by the present application. As shown in Figure 7 , the method includes the following steps:
[0137] Step 1: The touch device acquires all light paths formed between each infrared emitting element and infrared receiving element, and divides the touch display screen into a plurality of display areas and displays them according to the density of the light paths.
[0138] Generally, the light paths near the edge of the touch display screen are relatively sparse, and the light paths near the center of the touch display screen are relatively dense. The touch device may take each initial display area near the edge of the touch display screen as a display area; and take a plurality of initial display areas with the same number of light paths in all directions near the center of the touch display screen as one display area.
[0139] By combining a plurality of initial display areas with the same number of light paths in all directions into one display area, the number of partitions of the touch display screen can be reduced, thereby reducing the time for acquiring the mapping relationship corresponding to each display area and improving the efficiency of acquiring the mapping relationship. By dividing the screen into different areas, the possibility of uneven glass in one area is reduced, which further improves the accuracy of determining the identifier of the touch object.
[0140] Step 2: A user respectively uses the fine nib of the dual-head stylus, the thick nib of the dual-head stylus, and a finger to draw at least one stroke in each display area at a plurality of tilt angles, and the touch device acquires the number of blocked light paths in the first direction, the second direction, the horizontal left direction, and the vertical upward direction blocked by the touch object when each touch object draws each stroke, and the area of the blocked light path area.
[0141] After the user draws one stroke, the touch object can be moved away from the touch display screen, and then the next stroke can be drawn. For example, the plurality of tilt angles may be 30 degrees, 45 degrees, or 60 degrees between the touch object and the touch display screen.
[0142] For example, Figure 8 it is a schematic diagram of another display interface of a touch display screen provided by the present application. As shown in Figure 8 , a user can write 9 "rice" characters in each display area.
[0143] For example, for any display area, taking a tilt angle of 30 degrees between the touch object and the touch screen as an example, when a user draws multiple strokes in the display area using the fine tip of a dual-ended stylus, the coarse tip of a dual-ended stylus, and a finger, the touch device obtains the number of light paths in the first direction, the second direction, the horizontal left direction, and the vertical upward direction blocked by the touch object when drawing each stroke, as well as the area of the blocked light path region, for example, as shown in Table 4 below:
[0144] Table 4
[0145]
[0146] Step 3: For any touch object in any display area, take the average of the number of multiple light paths corresponding to any direction as the number of light paths corresponding to the identifier of the touch object in that area in that direction, and take the average of the area corresponding to all the handwriting as the area of the light path area blocked by the identifier of the touch object, so as to obtain the mapping relationship between the number of light paths in each direction corresponding to each display area, the area of the blocked light path area, and the identifier of the touch object.
[0147] For example, taking Table 4 above as an example, the average value of areas 11, 12, etc. (including areas at different tilt angles) can be used as the area of the corresponding light path area blocked by the fine pen tip in the display area. The average value of quantities 111, 121, etc. (including the number of light paths at different tilt angles) can be used as the number of horizontal leftward light paths blocked by the fine pen tip in the display area.
[0148] Step 4: Obtain the first touch position of the touch object on the touch screen. Based on the number of light paths in at least one direction blocked by the touch object, the number of light paths in each direction corresponding to the display area where the first touch position is located, the area of the blocked light path area, and the identifier of the touch object, determine the identifier of the touch object.
[0149] After performing step 4, the touch device can perform step 5 to display a drawing on the touch screen that matches the identifier of the touched object. Additionally, the touch device can perform step 6 to check if the stylus is designed correctly.
[0150] Step 5: Based on the identifier of the touched object, control the touch screen to display the drawing strokes that match the identifier of the touched object.
[0151] Step 6: The touch device compares the number of light paths in each direction corresponding to the thick pen tip marking and the thin pen tip marking, and obtains the similarity rate between the number of light paths in each direction corresponding to the thick pen tip marking and the number of light paths in each direction corresponding to the thin pen tip marking.
[0152] If the similarity rate is greater than or equal to the preset similarity rate threshold, proceed to step 7. If the similarity rate is less than the preset similarity rate threshold, proceed to step 8.
[0153] Step 7: Output the first prompt message indicating that the stylus is defective.
[0154] Step 8: Output a second prompt message indicating that the stylus is qualified.
[0155] In some embodiments, the touch device can also update the mapping relationship if it receives a mapping relationship update request triggered by a user. The touch device can execute steps 1-3 above to update the mapping relationship.
[0156] Figure 9 This is a schematic diagram of the structure of a touch object recognition device provided in this application. Figure 9 As shown, the device 200 includes: an acquisition module 21, a processing module 22, and a control module 23. Among them,
[0157] The acquisition module 21 is used to acquire the number of light paths blocked in at least one direction when the touch object touches the touch display screen.
[0158] The processing module 22 is used to determine the identifier of the touch object based on the number of light paths in the at least one direction and the mapping relationship between the number of light paths in each direction and the identifier of the touch object.
[0159] The control module 23 is used to control the touch device to enter a working mode that matches the identifier of the touch object according to the identifier of the touch object.
[0160] In some embodiments, the processing module 22 is specifically used to obtain the area of the light path region blocked when the touch object touches the touch display screen, and the brightness value corresponding to each light path blocked when the touch object touches the touch display screen; and to determine the identifier of the touch object based on the mapping relationship between the number of light paths in the at least one direction, the area of the blocked light path region, the average value of the brightness value corresponding to each blocked light path, and the number of light paths in each direction, the area of the light path region blocked by the touch object, the average value of the brightness value corresponding to each blocked light path, and the identifier of the touch object.
[0161] In some embodiments, the touch display screen includes multiple display areas, each of which corresponds to a mapping relationship. In this implementation, the processing module 22 is specifically used to obtain the first touch position of the touch object touching the touch display screen; and to determine the identifier of the touch object based on the number of light paths in at least one direction blocked by the touch object and the mapping relationship corresponding to the display area where the first touch position is located.
[0162] In some embodiments, the processing module 22 is specifically used to obtain the number of light paths in each direction in each initial display area of the touch display screen; for any two adjacent initial display areas, if the number of light paths in each direction between the two initial display areas is the same, the two initial display areas are regarded as one display area.
[0163] In some embodiments, the touch object is a stylus. In this implementation, the processing module 22 is specifically used to compare the number of optical paths in each direction corresponding to the identifier of the stylus in the mapping relationship and the identifier of any touch object other than the stylus identifier, to obtain the similarity rate between the number of optical paths in each direction corresponding to the identifier of the stylus and the number of optical paths in each direction corresponding to the identifier of any touch object other than the stylus identifier. When the similarity rate is greater than or equal to a preset similarity rate threshold, the touch display screen outputs a first prompt message. The first prompt message indicates that the stylus is unqualified.
[0164] In some embodiments, the processing module 22 is further configured to, in response to a mapping update request triggered by the touch object touching a second touch position on the touch display screen, display a display area division interface and a second prompt message on the touch display screen; the second prompt message is used to prompt the user to draw at least one stroke in each display area; receive the identifier of at least one touch object input by the user, and the number of light paths in at least one direction blocked by each touch object when the user draws at least one stroke in each display area; and update the mapping relationship according to the identifier of at least one touch object input by the user and the number of light paths in at least one direction blocked by each touch object.
[0165] In some embodiments, the touch object is any of the following: a stylus, a finger, or a palm.
[0166] In some embodiments, the touch device is a touch all-in-one machine.
[0167] The touch object recognition device provided in this application is used to execute the aforementioned touch object recognition method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0168] Taking the aforementioned touch-screen device as an example, a smart interactive flat panel, Figure 10 This is a schematic diagram of the structure of a touch device provided in this application. Figure 10 As shown, the touch device 1000 may include: at least one processor 1001, at least one network interface 1004, user interface 1003, memory 1005, and at least one communication bus 1002.
[0169] The communication bus 1002 is used to realize the connection and communication between these components.
[0170] The user interface 1003 may include a display screen and a camera. Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface.
[0171] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0172] The processor 1001 may include one or more processing cores. The processor 1001 connects to various parts within the touch device 1000 using various interfaces and lines. It executes various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and by calling data stored in the memory 1005. Optionally, the processor 1001 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 1001 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip, not integrated into the processor 1001.
[0173] The memory 1005 may include random access memory (RAM) or read-only memory. Optionally, the memory 1005 may include a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 1005 may also be at least one storage device located remotely from the aforementioned processor 1001. Figure 10 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and operating applications for a touch device.
[0174] exist Figure 10 In the touch device 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and to obtain the user input data; while the processor 1001 can be used to call the operation application of the touch device stored in the memory 1005 and specifically execute the touch object recognition method described in any of the above embodiments.
[0175] In one embodiment, the operating system of the touch device is an Android system, and in the Android system, the processor 1001 can execute the touch object recognition method described in any of the above embodiments.
[0176] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Specifically, the computer-readable storage medium stores program instructions, which are used in the methods described in the above embodiments.
[0177] This application also provides a program product including executable instructions stored in a readable storage medium. At least one processor of an electronic device can read the executable instructions from the readable storage medium, and the processor executes the executable instructions to cause the electronic device to implement the touch object recognition method provided in the various embodiments described above.
[0178] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0179] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.
Claims
1. A touch device, characterized in that, The touch device includes: A touchscreen display is used for displaying information. An infrared emitting element is disposed on at least one side of the touch display screen for emitting infrared light; An infrared receiving element is disposed on the side of the touch screen opposite to the infrared emitting element, and is used to receive infrared light; an optical path is formed between the infrared emitting element and the infrared receiving element that can receive the infrared light emitted by the infrared emitting element; The processor connected to the touch display screen, the infrared emitting element, and the infrared receiving element is configured to: Obtain the number of optical paths in each direction in each initial display area of the touch screen; For any two adjacent initial display areas, if the number of optical paths in all directions between the two initial display areas is the same, then the two initial display areas are considered as one display area. The touch display screen includes multiple display areas, and each display area corresponds to a mapping relationship between the number of light paths in each direction and the identifier of the touch object; The system obtains the first touch position of the touch object touching the touch display screen, and the number of light paths in at least two different directions that are blocked; Based on the number of light paths in at least two different directions that are blocked, and the mapping relationship corresponding to the display area where the first touch position is located, the system determines the identifier of the touch object; Based on the identifier of the touch object, the touch device is controlled to enter a working mode that matches the identifier of the touch object.
2. The touch device according to claim 1, characterized in that, The processor is configured to: The area of the light path region blocked when the touch object touches the touch display screen is obtained, as well as the brightness value corresponding to each light path blocked when the touch object touches the touch display screen; The identifier of the touch object is determined based on the mapping relationship between the number of light paths in at least two different directions, the area of the blocked light path region, the average brightness value corresponding to each blocked light path, and the number of light paths in each direction, the area of the light path region blocked by the touch object, the average brightness value corresponding to each blocked light path by the touch object, and the identifier of the touch object.
3. The touch device according to claim 1 or 2, characterized in that, The touch object is a stylus, and the processor is configured to: For the identifier of the stylus in the mapping relationship, and the identifier of any touch object other than the identifier of the stylus, compare the number of optical paths in each direction corresponding to the identifiers of the two touch objects to obtain the similarity rate between the number of optical paths in each direction corresponding to the identifier of the stylus and the number of optical paths in each direction corresponding to the identifier of any touch object other than the identifier of the stylus. If the similarity rate is greater than or equal to a preset similarity rate threshold, the touch screen will output a first prompt message, which indicates that the stylus is unqualified.
4. The touch device according to claim 1 or 2, characterized in that, The processor is configured to: In response to a mapping update request triggered by the touch object touching a second touch position on the touch display screen, a display area division interface and a second prompt message are displayed on the touch display screen; the second prompt message is used to prompt the user to draw at least one stroke in each display area. The system receives the identifier of at least one touch object input by the user, and the number of light paths in at least two different directions blocked by each touch object when the user draws at least one stroke in each display area. The mapping relationship is updated based on the identifier of at least one touch object input by the user, and the number of light paths in at least two different directions blocked by each touch object.
5. The touch device according to claim 1 or 2, characterized in that, The touch object is any one of the following: stylus, finger, palm.
6. The touch device according to claim 1 or 2, characterized in that, The touch device is a touch all-in-one machine.
7. A method for recognizing touch objects, characterized in that, The method is applied to a touch device, which includes a touch display screen for display; an infrared emitting element disposed on at least one side of the touch display screen for emitting infrared light; and an infrared receiving element disposed on the side of the touch display screen opposite to the infrared emitting element for receiving infrared light. An optical path is formed between the infrared emitting element and an infrared receiving element capable of receiving the infrared light emitted by the infrared emitting element, and the method includes: The number of light paths in each direction in each initial display area of the touch display screen is obtained; for any two adjacent initial display areas, if the number of light paths in each direction between the two initial display areas is the same, then the two initial display areas are regarded as one display area; the touch display screen includes multiple display areas, and each display area corresponds to a mapping relationship between the number of light paths in each direction and the identifier of the touch object; Obtain the first touch position of the touch object touching the touch display screen, and the number of light paths in at least two different directions that are blocked; The identifier of the touch object is determined based on the number of light paths in at least two different directions that are blocked, and the mapping relationship corresponding to the display area where the first touch position is located; Based on the identifier of the touch object, the touch device is controlled to enter a working mode that matches the identifier of the touch object.
8. A touch object recognition device, characterized in that, The device is applied to a touch screen device, which includes a touch screen display for display; an infrared emitting element disposed on at least one side of the touch screen display for emitting infrared light; and an infrared receiving element disposed on the side of the touch screen display opposite to the infrared emitting element for receiving infrared light. An optical path is formed between the infrared emitting element and an infrared receiving element capable of receiving the infrared light emitted by the infrared emitting element, and the device includes: The acquisition module is used to acquire the first touch position of the touch object touching the touch screen, and the number of light paths in at least two different directions that are blocked; The processing module is used to obtain the number of light paths in each direction in each initial display area of the touch display screen; for any two adjacent initial display areas, if the number of light paths in each direction between the two initial display areas is the same, then the two initial display areas are regarded as one display area; the touch display screen includes multiple display areas, and each display area corresponds to a mapping relationship between the number of light paths in each direction and the identifier of the touch object; based on the number of light paths in at least two different directions that are blocked, and the mapping relationship corresponding to the display area where the first touch position is located, the identifier of the touch object is determined; The control module is used to control the touch device to enter a working mode that matches the identifier of the touch object based on the identifier of the touch object.
Citation Information
Patent Citations
Touch control method and terminal
CN105912156A
Method and device for determining type of target object
CN111694468A