Touch method and device, optical touch display equipment and storage medium
By using ambient light sensors to detect the presence of the human body in an optical touch display device, the problem of false touch is solved, and accurate human touch detection and equipment sensitivity are achieved.
Patent Information
- Application Number
- CN202311382053.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2025-04-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Optical touch display devices are prone to problems of mist touching, especially in outdoor scenes, non-human objects such as mosquitoes and fallen leaves block the light, resulting in mist touching, affecting the user experience.
By detecting whether there is a human body in front of the optical touch display device, using the ambient light changes collected by the ambient light sensor to determine whether there is a human body, and confirm the effectiveness of the touch operation in the presence of the human body, and eliminate false touches that are not triggered by the human body.
Effectively eliminate mistouches caused by mosquitoes and other non-human bodies, accurately detect real and effective human touch operations, and ensure the sensitivity and user experience of optical touch display devices.
Smart Images

Figure CN119883039A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of touch display devices, and in particular to a touch control method, a touch device, an optical touch display device and a storage medium. Background Art
[0002] At present, optical touch display devices are prone to the problem of false touch. Among them, the optical touch display device is a touch display device based on optical touch technology. Based on optical touch technology, a dense mesh of light (generally infrared light) can be formed on the surface of the display screen, and the judgment of whether there is a touch mainly depends on whether the light is blocked. And with the iterative development of optical touch technology, the identified objects are very small. Optical touch display devices can be used in outdoor scenes (bus station inquiry terminal, bank ATM inquiry, outdoor advertising inquiry scenes, etc.). When flies, mosquitoes, fallen leaves, etc. fall on the surface of the display screen, they may block the surface light, cause false touches, affect user use, and result in poor experience. Summary of the invention
[0003] In view of this, the present invention provides a touch control method, an apparatus, an optical touch display device and a storage medium to solve the problem of mis-touch of the optical touch display device.
[0004] In a first aspect, the present invention provides a touch control method, which is applied to an optical touch display device, and the method comprises:
[0005] Detecting whether there is a touch operation, and detecting whether there is a human body in front of the optical touch display device;
[0006] When there is a touch operation and a human body, a touch position of the touch operation is determined.
[0007] In the case of a touch operation on the optical touch display device, the present invention further determines whether there is a human body in front of the optical touch display device. If there is a human body in front of the optical touch display device, the touch operation is considered to be valid, and the touch position of the touch operation is determined to achieve the touch function. By detecting whether there is a human body in front of the optical touch display device, the method can effectively eliminate false touches caused by touch operations triggered by non-human factors such as mosquitoes, and can more accurately detect real and effective human touch operations; and the method does not sacrifice the original touch performance of the optical touch display device, and can ensure the sensitivity of the optical touch display device.
[0008] In some optional embodiments, the optical touch display device includes: an ambient light sensor; detecting whether there is a human body in front of the optical touch display device includes: acquiring ambient light of the environment in which the optical touch display device is located, which is collected by the ambient light sensor; the ambient light sensor is located on the side of the optical touch display device; when the collected ambient light changes to meet a condition, it is determined that there is a human body in front of the optical touch display device.
[0009] The present invention utilizes an ambient light sensor to detect the ambient light of the environment in which the optical touch display device is located. By judging whether the ambient light changes, it can simply determine whether there is a human body in front of the optical touch display device, thereby realizing human body detection. Moreover, the detection process and the working process of the optical touch display device do not affect each other, and are more suitable for optical touch display devices.
[0010] In some optional implementations, there are multiple ambient light sensors; the multiple ambient light sensors are located at different positions of the optical touch display device;
[0011] When the collected ambient light changes to meet a condition, determining that there is a human body in front of the optical touch display device includes: when there is a difference in ambient light collected by different ambient light sensors and the difference meets a preset condition, determining that there is a human body in front of the optical touch display device.
[0012] The present invention can simply and accurately determine whether there is a human body in front of the optical touch display device by detecting the differences between multiple ambient light sensors; and this detection method can detect whether there is a human body at any time, so when the presence of a touch operation is detected, the differences between the multiple ambient light sensors can be detected, that is, there is no need to detect whether there is a human body in real time, which can reduce the additional processing amount caused by detecting whether there is a human body.
[0013] In some optional embodiments, the optical touch display device further includes: an ultrasonic generator; the method further includes: controlling the ultrasonic generator to emit ultrasonic waves capable of covering at least a partial area of the optical touch display device; the ultrasonic generator is located on a side of the optical touch display device.
[0014] In some optional embodiments, controlling the ultrasonic generator to emit ultrasonic waves capable of covering at least a partial area of the optical touch display device includes: after the optical touch display device is started, controlling the ultrasonic generator to continuously, periodically, or intermittently emit ultrasonic waves capable of covering at least a partial area of the optical touch display device.
[0015] The present invention utilizes ultrasonic waves to achieve the purpose of repelling mosquitoes, forcing mosquitoes not to approach the touch surface of the optical touch display device, thereby effectively avoiding the situation where mosquitoes affect the touch function and ensuring that the touch operation is effective as much as possible.
[0016] In a second aspect, the present invention provides an optical touch display device, comprising: an optical touch component, a display screen, a processor and a sensor located on the side; the optical touch component is configured to emit light covering the display screen and respond to touch operations; the display screen is configured to display interactive content; the sensor is configured to detect whether there is a human body in front of the optical touch display device; the processor is configured to determine the touch position of the touch operation when there is a touch operation and a human body.
[0017] In some optional embodiments, the sensor is an ambient light sensor; the ambient light sensor is configured to collect ambient light in the environment where the optical touch display device is located; when the collected ambient light undergoes a change that satisfies a condition, it is determined that there is a human body in front of the optical touch display device.
[0018] In some optional embodiments, there are multiple ambient light sensors; the multiple ambient light sensors are located at different positions of the optical touch display device; when there are differences in the ambient light collected by different ambient light sensors and the differences meet preset conditions, it is determined that there is a human body in front of the optical touch display device.
[0019] In some optional embodiments, the multiple ambient light sensors include: a first ambient light sensor, a second ambient light sensor and a third ambient light sensor; the first ambient light sensor is located at the lower frame of the optical touch display device; the second ambient light sensor is located at the left frame of the optical touch display device; the third ambient light sensor is located at the right frame of the optical touch display device.
[0020] In some optional implementations, there are multiple first ambient light sensors; and the multiple first ambient light sensors are evenly distributed on a lower frame of the optical touch display device.
[0021] In some optional implementations, the optical touch display device further includes: an ultrasonic generator; the ultrasonic generator is configured to emit ultrasonic waves that can cover at least a partial area of the optical touch display device.
[0022] In some optional implementations, there are multiple ultrasonic generators; one of the ultrasonic generators is located at a short frame of the optical touch display device, and another ultrasonic generator is located at another short frame of the optical touch display device.
[0023] In a third aspect, the present invention provides a touch control device, applied to an optical touch display device, comprising:
[0024] A detection module, used to detect whether there is a touch operation and whether there is a human body in front of the optical touch display device;
[0025] The processing module is used to determine the touch position of the touch operation in response to the touch operation when there is a touch operation and a human body.
[0026] In a fourth aspect, the present invention provides an optical touch display device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the touch method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0027] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the touch method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 It is a structural schematic diagram of an optical touch display device;
[0030] Figure 2 is a schematic diagram of a flow chart of a touch control method according to an embodiment of the present invention;
[0031] Figure 3 is a schematic flow chart of another touch control method according to an embodiment of the present invention;
[0032] Figure 4 is a structural block diagram of an optical touch display device according to an embodiment of the present invention;
[0033] Figure 5 is a structural schematic diagram of an optical touch display device according to an embodiment of the present invention;
[0034] Figure 6 is a schematic diagram of a working process of an optical touch display device according to an embodiment of the present invention;
[0035] Figure 7is a structural block diagram of a touch control device according to an embodiment of the present invention;
[0036] Figure 8 Schematic diagram of the hardware structure of the optical touch display device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0038] The optical touch display device can form a dense mesh of infrared light on the surface of the display screen, and can identify touch operations based on whether the infrared light is blocked; alternatively, the optical touch display device can use camera touch technology to detect the position of the contact object in front of the display screen through the camera, thereby identifying the touch operation at the corresponding position.
[0039] For example, Figure 1 A schematic diagram of the structure of an optical touch display device is shown. Figure 1 As shown, the optical touch display device includes a reflective sheet 101, a photosensitive element 102, etc. After being reflected by the reflective sheet 101, the light enters the photosensitive element 102 located in the corner. Based on the change of the light, the photosensitive element 102 can capture the touch operation on the surface of the optical touch display device. Generally, the photosensitive element 102 can be provided at the upper left corner and the upper right corner of the optical touch display device, and the photosensitive element 102 can be a camera; the reflective sheet 101 can be provided on multiple sides of the optical touch display device.
[0040] For example, the optical touch display device may be an infrared interactive tablet, and the touch frame of the infrared interactive tablet may include an infrared emitting device and an infrared receiving device, and the infrared emitting device and the infrared receiving device are arranged opposite to each other on the inner wall of the touch frame; for example, the infrared emitting device is located on the left inner wall, and the infrared receiving device is located on the right inner wall, etc. The infrared emitting device can emit infrared light, so that the infrared receiving device can receive the infrared light, and the touch position can be determined based on the shielding of the infrared light.
[0041] When objects such as mosquitoes or fallen leaves fall on an optical touch display device, these objects may block the light and easily cause the touch function to be triggered by mistake; users need to drive away mosquitoes when using optical touch display devices. In order to prevent mosquitoes and other things from causing false touches, touch can generally be disabled at present. Only after the user actively turns off the disabled touch can the optical touch display device be operated normally; this method of disabling touch has a complicated operation process and a poor operating experience. Another way is to block the touch reporting event of small-area objects, which will sacrifice the original touch performance and easily produce the problem of insensitive touch.
[0042] The embodiment of the present invention provides a touch control method, which detects whether there is a human body in front of an optical touch display device, and triggers the touch function only when there is a human body, thereby effectively eliminating false touches caused by mosquitoes and the like.
[0043] According to an embodiment of the present invention, a touch method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0044] In this embodiment, a touch control method is provided, which can be used in an optical touch display device. Figure 2 is a flow chart of a touch control method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps.
[0045] Step S201, detecting whether there is a touch operation.
[0046] In this embodiment, the optical touch display device can detect whether there is a touch operation during operation. For example, by detecting whether light on the surface of the optical touch display device is blocked, it can be determined whether there is a touch operation.
[0047] Step S202: Detect whether there is a human body in front of the optical touch display device.
[0048] During operation, the optical touch display device can also detect whether there is a human body in front of the optical touch display device. For example, the optical touch display device includes a sensor capable of detecting human body signals, such as a human body sensor, and based on the signal detected by the human body sensor, it can be determined whether a human body is detected; the front of the optical touch display device is used as the detection area of the sensor, and it can be determined whether there is a human body in front of the optical touch display device based on the signal collected by the sensor.
[0049] Step S203: in response to a touch operation, when there is a touch operation and a human body, determine a touch position of the touch operation.
[0050] In this embodiment, if there is a touch operation currently, there is an object currently touching the surface of the optical touch display device, and the object may be a human body, or other objects such as mosquitoes. Further, if it is detected that there is a human body in front of the optical touch display device, it can be considered that the touch operation is most likely triggered by the human body, and the touch operation is valid. At this time, the touch operation can be responded to, and the touch position corresponding to the touch operation can be determined to realize the touch function. If it is detected that there is no human body in front of the optical touch display device, it can be considered that the touch operation is not triggered by the human body, the touch operation is invalid, and this touch operation is an invalid touch, and the touch operation can be not processed; for example, this touch operation can be intercepted.
[0051] It should be noted that the purpose of detecting whether there is a human body in front of the optical touch display device in this embodiment is to determine whether the touch operation is valid. In the process of executing this method, it is possible to detect in real time whether there is a human body in front of the optical touch display device; for example, after the optical touch display device is turned on, the optical touch display device can scan in real time whether there is a touch operation based on the optical touch technology, and can also detect in real time whether there is a human body in front of the optical touch display device. Alternatively, the optical touch display device can detect in real time whether there is a touch operation, and if no touch operation is detected, the process of detecting whether there is a human body will not be started; if a touch operation is detected, it will detect whether there is a human body in front of the optical touch display device.
[0052] Alternatively, the optical touch display device may also prioritize detecting whether there is a human body in front of it; when it is detected that there is no human body in front of it, the optical touch display device may not turn on the function of detecting touch operations, and the touch screen of the optical touch display device may be in a standby state; only when it is detected that there is a human body in front of the optical touch display device will it start detecting whether there is a touch operation.
[0053] The above steps S201 and S202 can be executed in parallel or sequentially. For example, step S201 is executed first, and when a touch operation is detected, step S202 is executed. This embodiment does not limit the execution timing and execution order of steps S201 and S202.
[0054] The touch control method provided in this embodiment, when there is a touch operation on the optical touch display device, further determines whether there is a human body in front of the optical touch display device. If there is a human body in front of the optical touch display device, the touch operation is considered to be valid, and the touch position of the touch operation is determined to achieve the touch function. By detecting whether there is a human body in front of the optical touch display device, this method can effectively eliminate false touches caused by touch operations triggered by non-human bodies such as mosquitoes, and can more accurately detect real and effective human touch operations; and this method will not sacrifice the original touch performance of the optical touch display device, and can ensure the sensitivity of the optical touch display device.
[0055] In this embodiment, a touch control method is provided, which can be used in an optical touch display device. Figure 3 is a flow chart of a touch control method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps.
[0056] Step S301, detecting whether there is a touch operation.
[0057] For details, please see Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.
[0058] Step S302: Detect whether there is a human body in front of the optical touch display device.
[0059] Specifically, the optical touch display device includes an ambient light sensor; the above step S302 of "detecting whether there is a human body in front of the optical touch display device" includes the following steps S3021 to S3022.
[0060] Step S3021, obtaining ambient light of the environment where the optical touch display device is located, which is collected by an ambient light sensor; the ambient light sensor is located at a side of the optical touch display device.
[0061] In general, the principle of sensors that detect whether a human body is present is to detect the human body through infrared light, but such human body sensors and optical touch display devices may affect each other. For example, the infrared light emitted by the human body sensor may affect the infrared light detection of the optical touch display device; or, the infrared light emitted by the optical touch display device may also cause the human body sensor to misjudge, that is, it may mistakenly believe that a human body is currently present due to the detection of infrared light when there is no human body. In this embodiment, an ambient light sensor is set on the side of the optical touch display device, and human body detection is achieved through the ambient light sensor, which is particularly suitable for optical touch screens.
[0062] In this embodiment, the ambient light sensor is used to collect ambient light in the environment where the optical touch display device is located. The ambient light sensor can specifically collect the light intensity of the ambient light. The ambient light can be visible light. It can be understood that in order to detect whether there is a human body in front of the optical touch display device, the ambient light sensor collects the ambient light in the environment in front of the optical touch display device.
[0063] Step S3022: When the collected ambient light changes to meet the conditions, it is determined that there is a human body in front of the optical touch display device.
[0064] In this embodiment, if there is no human body in front of the optical touch display device, the ambient light collected by the ambient light sensor generally does not change, for example, the intensity of the ambient light collected by the ambient light sensor does not change; on the contrary, when the user operates the optical touch display device, it is necessary to be in front of the optical touch display device to perform interactive operations. If a human body appears in front of the optical touch display device, the ambient light collected by the ambient light sensor at this time is different from the ambient light collected when there is no human body due to reasons such as human body occlusion or light reflection, that is, the collected ambient light will change, so it can be determined that there is a human body in front of the optical touch display device. For example, when a human body stands in front of the optical touch display device, the light emitted by the optical touch display device will produce a certain reflection on the human body, and the ambient light sensor can collect more ambient light, and the intensity of the collected ambient light becomes larger. At this time, it can be considered that there is a human body in front of the optical touch display device.
[0065] In order to exclude the changes in ambient light caused by other factors (such as normal changes in ambient light, or the optical touch display device being illuminated by the vehicle's lighting, etc.), it is determined that there is a human body in front of the optical touch display device only when the changes in the collected ambient light meet the corresponding conditions. For example, a certain range of changes can be set in advance. If the ambient light collected by the ambient light sensor changes, and the degree of change is within the range of changes, it can be considered that there is a human body in front of the optical touch display device. The range of changes can be determined based on actual conditions, and this embodiment will not be described in detail.
[0066] In some optional implementations, there are multiple ambient light sensors, and the multiple ambient light sensors are located at different positions of the optical touch display device.
[0067] Furthermore, the above step S3022 "when the collected ambient light changes to meet the conditions, determining that there is a human body in front of the optical touch display device" may specifically include: when there is a difference in the ambient light collected by different ambient light sensors and the difference meets the preset conditions, determining that there is a human body in front of the optical touch display device.
[0068] In this embodiment, ambient light sensors are provided at different positions of the optical touch display device, and in particular, multiple ambient light sensors are provided for optical touch display devices of larger sizes. If there is no human body in front of the optical touch display device, the ambient light collected by these ambient light sensors is generally the same, for example, the ambient light intensity collected by these ambient light sensors is basically the same; if there is a human body in front of the optical touch display device, because the human body cannot block all ambient light sensors in general, or the impact of the human body on ambient light sensors at different positions is different, the ambient light collected by different ambient light sensors is different. Therefore, if there is a difference in the ambient light collected by different ambient light sensors, it can be determined that there are other objects in front of some of the ambient light sensors, and the ambient light collected by them has changed.
[0069] Furthermore, in order to reduce the possibility of misjudgment, a preset condition is provided. If the difference satisfies the preset condition, it is considered that there is a human body in front of the optical touch display device. For example, the preset condition may be exceeding a certain threshold; if there is a difference in the ambient light collected by different ambient light sensors, and the difference exceeds the preset threshold, it can be determined more accurately that there is an object in front of the optical touch display device, and it is considered that there is a human body in front of the optical touch display device.
[0070] In this embodiment, by detecting the differences between multiple ambient light sensors, it is possible to simply and accurately determine whether there is a human body in front of the optical touch display device; and this detection method can detect whether there is a human body at any time. In this embodiment, when a touch operation is detected, the differences between multiple ambient light sensors can be detected, that is, there is no need to detect whether there is a human body in real time, which can reduce the additional processing volume caused by detecting whether there is a human body.
[0071] Step S303: in response to a touch operation, when there is a touch operation and a human body, determine a touch position of the touch operation.
[0072] For details, please see Figure 2 Step S203 of the illustrated embodiment will not be described in detail here.
[0073] In some optional implementations, the optical touch display device further includes an ultrasonic generator; the method may further include the following steps A1.
[0074] Step A1, controlling an ultrasonic generator to emit ultrasonic waves that can cover at least a partial area of the optical touch display device; the ultrasonic generator is located at a side of the optical touch display device.
[0075] In this embodiment, an ultrasonic generator can be further provided on the side of the optical touch display device, and the ultrasonic generator can emit ultrasonic waves, and the ultrasonic waves can cover at least a part of the optical touch display device, for example, the ultrasonic waves can cover the entire optical touch display device. Generally, the ultrasonic waves emitted by the ultrasonic generator are high-frequency sound waves, and their frequency can be greater than 20KHz, for example, the frequency of the ultrasonic waves is between 20KHz and 100KHz.
[0076] Since ultrasound can cause discomfort to most mosquitoes, it can achieve the purpose of repelling mosquitoes and force mosquitoes not to approach the touch surface of the optical touch display device, thereby effectively avoiding the situation where mosquitoes affect the touch function and ensuring that the touch operation is effective as much as possible.
[0077] Optionally, the above step A1 "controlling the ultrasonic generator to emit ultrasonic waves capable of covering at least a partial area of the optical touch display device" may specifically include: after the optical touch display device is started, controlling the ultrasonic generator to continuously or periodically emit ultrasonic waves capable of covering at least a partial area of the optical touch display device.
[0078] In this embodiment, after the optical touch display device is turned on, the ultrasonic generator can be controlled to work to achieve the effect of repelling mosquitoes. The ultrasonic generator can work continuously, or can also work periodically or intermittently, which can be determined based on actual conditions.
[0079] The touch control method provided in this embodiment uses an ambient light sensor to detect the ambient light of the environment in which the optical touch display device is located. By judging whether the ambient light changes, it can simply determine whether there is a human body in front of the optical touch display device, thereby realizing human body detection; and the detection process does not affect the working process of the optical touch display device, and is more suitable for optical touch display devices.
[0080] An embodiment of the present invention provides an optical touch display device, Figure 4 is a structural block diagram of the optical touch display device. Figure 4 As shown, the optical touch display device includes: an optical touch component 401, a display screen 402, a processor 403 and a sensor 404 located at the side.
[0081] The optical touch component 401 is configured to emit light covering the display area of the display screen and respond to touch operations; the display screen 402 is configured to display interactive content. For example, the optical touch component 401 may include a touch frame, which may include Figure 1The reflective sheet 101, the photosensitive element 102, etc. shown in the figure; or, the optical touch component 401 may include an infrared transmitting device and an infrared receiving device, etc. The optical touch component 401 can determine whether there is a touch operation by detecting the light blocking condition on the surface of the display screen. After the optical touch component 401 detects the touch operation, the display screen 402 can display the interactive content corresponding to the touch operation; for example, the display content of the display screen 402 can be controlled by the processor 403.
[0082] The sensor 404 is configured to detect whether there is a human body in front of the optical touch display device. The processor 403 is configured to determine the touch position of the touch operation when there is a touch operation and a human body.
[0083] In this embodiment, the optical touch display device is a touch display device based on optical touch technology, which includes a processor 403. By detecting whether the surface light is blocked, the processor 403 can determine whether there is a touch operation currently. For example, the optical touch display device includes Figure 1 The photosensitive element 102 shown collects the actual situation of light on the screen surface and sends the collected data to the processor 403. The processor 403 can detect whether the light is blocked based on the data collected by the photosensitive element 102, and further detect whether there is a touch operation.
[0084] Among them, the optical touch display device includes a processor for controlling the display screen, and the optical touch component 401 in the optical touch display device itself generally also includes a processor. In this embodiment, the processor 403 can be a processor for controlling the display screen; the hardware circuit in the optical touch component 401 responds to the touch operation of the touch object, and can determine the touch position (for example, touch coordinates) of the touch operation, and then can send the touch position to the processor 403, so that the processor 403 can also determine the touch position of the touch operation. Alternatively, the processor 403 can also be a processor in the optical touch component 401; that is, the processor 403 can directly determine the touch position of the touch operation, and then send the touch position to the processor for controlling the display screen (for example, when the processor 403 determines that there is a touch operation and there is a human body, the touch position is sent to the processor for controlling the display screen) to control the display screen to display the corresponding content. Alternatively, the processor included in the optical touch component 401 itself and the processor for controlling the display screen can be the same processor, which can be used as the above-mentioned processor 403.
[0085] In addition, a sensor 404 is provided on the side of the optical touch display device. The optical touch display device includes a screen body, and the sensor 404 can be provided on the frame of the screen body. The sensor 404 is configured to detect whether there is a human body in front of the optical touch display device; for example, the sensor can be a human body sensor, and based on the signal detected by the human body sensor, it can be determined whether a human body is detected.
[0086] Specifically, the sensor 404 can detect the front of the optical touch display device to generate a corresponding detection signal, based on which it can determine whether there is a human body in front of the optical touch display device, and send the judgment result to the processor 403; for example, when the sensor 404 determines that there is a human body in front of the optical touch display device, it sends a message to the processor 403 that there is a human body, and the processor 403 receives the message and determines that there is a human body in front of the optical touch display device. Alternatively, after the sensor 404 generates a corresponding detection signal, it sends the detection signal to the processor 403, and the processor 403 determines whether there is a human body in front of the optical touch display device based on the detection signal.
[0087] If the processor 403 determines that there is a touch operation currently, and there is a human body in front of the optical touch display device, it can be considered that the touch operation is most likely triggered by the human body, and the touch operation is valid. At this time, the touch position corresponding to the touch operation can be determined, and the touch function can be realized. For example, the processor 403 can process based on a touch algorithm, etc., calculate the coordinate point of the touch operation, and then form a touch track based on the coordinate point to realize the interaction between the user and the optical touch display device; it can be understood that the coordinate point can represent the touch position corresponding to the touch operation.
[0088] The optical touch display device provided in this embodiment, when there is a touch operation, further detects whether there is a human body in front of the optical touch display device. If there is a human body in front of the optical touch display device, the touch operation is considered to be valid, and the touch position of the touch operation is determined to realize the touch function. The optical touch display device can effectively eliminate the false touch caused by the touch operation triggered by non-human body such as mosquitoes, and can more accurately detect the real and effective human touch operation; and the optical touch display device still has good touch performance and can ensure high sensitivity.
[0089] An embodiment of the present invention provides an optical touch display device, wherein the sensor used to detect whether a human body exists in front of the optical touch display device is an ambient light sensor. Figure 5 Schematic diagram of the structure of the optical touch display device. Figure 5 As shown, the optical touch display device includes: a processor and an ambient light sensor 501 located at the side. Figure 5 The processor is not shown in the figure. The working principle of the processor can be found in Figure 4 The processor 403 of the illustrated embodiment is not described in detail here. The ambient light sensor 501 is configured to collect ambient light in the environment where the optical touch display device is located; when the collected ambient light changes to meet the conditions, it is determined that there is a human body in front of the optical touch display device.
[0090] The optical touch display device includes a structure for realizing optical touch, such as a reflective sheet 502, a photosensitive element 503, etc., which will not be described in detail in this embodiment. Since traditional human body sensors generally use infrared light to realize human body detection, such human body sensors and optical touch display devices may affect each other; for example, the infrared light emitted by the human body sensor may affect the detection of infrared light by the photosensitive element 503; or, the infrared light emitted by the optical touch display device may also cause the human body sensor to misjudge, that is, when there is no human body, it mistakenly believes that there is a human body because of the detection of infrared light. In this embodiment, an ambient light sensor 501 is set on the side of the optical touch display device, and human body detection is realized by the ambient light sensor 501, which does not affect the infrared light required during the operation of the optical touch screen.
[0091] In this embodiment, the ambient light sensor 501 is used to collect ambient light in the environment where the optical touch display device is located. The ambient light sensor 501 can specifically collect the light intensity of the ambient light. The ambient light can be visible light. It can be understood that in order to detect whether there is a human body in front of the optical touch display device, the ambient light sensor 501 is located on the front surface of the optical touch display device, and collects the ambient light of the environment in front of the optical touch display device. Figure 5 As shown, Figure 5 It is a front view of an optical touch display device, and an ambient light sensor 501 is provided at the frame of the front side of the device.
[0092] After the ambient light sensor 501 collects the ambient light, it can further determine whether the ambient light has changed to meet the conditions. Alternatively, the ambient light sensor 501 can send the collected data related to the ambient light to the processor, for example, the ambient light sensor 501 sends the ambient light intensity to the processor, and the processor can determine whether the ambient light intensity has changed to determine whether the ambient light has changed to meet the conditions.
[0093] Among them, if there is no human body in front of the optical touch display device, the ambient light collected by the ambient light sensor 501 generally does not change, for example, the intensity of the ambient light collected by the ambient light sensor 501 does not change; on the contrary, when the user operates the optical touch display device, it is necessary to be in front of the optical touch display device to perform interactive operations. If a human body appears in front of the optical touch display device, the ambient light collected by the ambient light sensor 501 at this time is different from the ambient light collected when there is no human body due to reasons such as human body occlusion or light reflection, that is, the collected ambient light will change, so it can be determined that there is a human body in front of the optical touch display device. For example, when a human body stands in front of the optical touch display device, the light emitted by the optical touch display device will produce a certain reflection on the human body, and the ambient light sensor 501 can collect more ambient light, and the intensity of the collected ambient light becomes larger. At this time, it can be considered that there is a human body in front of the optical touch display device.
[0094] The optical touch display device provided in this embodiment uses the ambient light sensor 501 to detect the ambient light of the environment in which the optical touch display device is located. By judging whether the ambient light changes, it can simply determine whether there is a human body in front of the optical touch display device, thereby realizing human body detection; and the detection process and the working process of the optical touch display device do not affect each other, and the optical touch display device can work normally.
[0095] In some optional embodiments, such as Figure 5 As shown, there are multiple ambient light sensors 501; the multiple ambient light sensors 501 are located at different positions of the optical touch display device. When the ambient light collected by different ambient light sensors 501 is different and the difference meets the preset conditions, it is determined that there is a human body in front of the optical touch display device.
[0096] For example, Figure 5 As shown, the ambient light sensor 501 can be set on the left and right frames and the bottom frame of the optical touch display device. Specifically, the multiple ambient light sensors include: a first ambient light sensor 5011, a second ambient light sensor 5012 and a third ambient light sensor 5013. Figure 5 As shown, the first ambient light sensor 5011 is located at the lower frame of the optical touch display device; the second ambient light sensor 5012 is located at the left frame of the optical touch display device; and the third ambient light sensor 5013 is located at the right frame of the optical touch display device.
[0097] In this embodiment, if there is no human body in front of the optical touch display device, the ambient light collected by these ambient light sensors 501 is generally the same, for example, the ambient light intensity collected by the first ambient light sensor 5011, the second ambient light sensor 5012 and the third ambient light sensor 5013 is basically the same. If there is a human body in front of the optical touch display device, since the human body cannot block all the ambient light sensors 501 in general, or the impact of the human body on the ambient light sensors 501 at different positions is different, the ambient light collected by different ambient light sensors 501 is different. Therefore, if there is a difference in the ambient light collected by different ambient light sensors 501, it can be determined that there are other objects in front of some of the ambient light sensors 501, and the ambient light collected by them has changed. In addition, if there is a difference in the ambient light collected by different ambient light sensors 501, and the difference exceeds a preset threshold, it can be more accurately determined that there is an object in front of the optical touch display device, and it is considered that there is a human body in front of the optical touch display device.
[0098] For example, if the user is located in front of the optical touch display device, the user blocks the first ambient light sensor 5011 located at the lower frame, but has little effect on the second ambient light sensor 5012 and the third ambient light sensor 5013. If the ambient light intensities collected by the first ambient light sensor 5011, the second ambient light sensor 5012, and the third ambient light sensor 5013 are I1, I2, and I3, respectively, then I2≈I3, and there is a certain difference between the two and I1; for example, I1>I2≈I3. In this case, it can be considered that the ambient light has changed.
[0099] In some optional embodiments, if the size of the optical touch display device is large, for example, the length of the lower frame of the optical touch display device is greater than a preset length (for example, 0.5m, 0.8m, 1m, etc.), then a plurality of ambient light sensors 501 may be provided on the lower frame of the optical touch display device, that is, the number of the first ambient light sensors 5011 is multiple; and the plurality of first ambient light sensors 5011 are evenly distributed on the lower frame of the optical touch display device so as to be able to distinguish between human bodies in different positions.
[0100] like Figure 5 As shown, the lower frame of the optical touch display device is provided with four first ambient light sensors 5011. When the user stands at different positions in front of the optical touch display device, a part of the first ambient light sensors 5011 will be blocked, causing the ambient light collected by this part of the first ambient light sensors 5011 to change, thereby determining that there is a human body in front of the optical touch display device.
[0101] Moreover, when the optical touch display device is large in size, in order to detect the human body in front of the optical touch display device and avoid missed detection, the distance between two adjacent first ambient light sensors 5011 cannot be too large. For example, the distance between two adjacent first ambient light sensors 5011 is smaller than the width of the human body, such as less than 50 cm.
[0102] In some optional embodiments, see Figure 5 As shown, the optical touch display device further includes: an ultrasonic generator 504; the ultrasonic generator 504 is configured to emit ultrasonic waves that can cover at least a portion of the optical touch display device. Generally, the ultrasonic generator 504 is located in the middle of the frame so that the ultrasonic waves emitted by the ultrasonic generator 504 can cover a larger area of the optical touch display device.
[0103] In this embodiment, an ultrasonic generator 504 is provided on the side of the optical touch display device, and the ultrasonic generator 504 can emit ultrasonic waves to the optical touch display device, so that ultrasonic waves exist around the optical touch display device. Since ultrasonic waves can cause discomfort to most mosquitoes, the purpose of repelling mosquitoes can be achieved, forcing mosquitoes not to approach the touch surface of the optical touch display device, thereby effectively avoiding the situation where mosquitoes affect the touch function, and ensuring that the touch operation is effective as much as possible.
[0104] After the optical touch display device is started, the ultrasonic generator 504 can be turned on, and the ultrasonic generator 504 continuously, periodically, and intermittently emits ultrasonic waves that can cover at least a partial area of the optical touch display device.
[0105] Optionally, in order to enable the ultrasonic wave to cover the entire optical touch display device, a plurality of ultrasonic wave generators 504 may be provided, that is, the number of ultrasonic wave generators 504 is multiple. In addition, the plurality of ultrasonic wave generators 504 may be evenly provided at different frames so as to better cover the entire optical touch display device. For example, the ultrasonic wave generator 504 may be provided at the upper frame and the lower frame of the optical touch display device, or the ultrasonic wave generator 504 may be provided at all four frames of the optical touch display device.
[0106] In this embodiment, ultrasonic generators 504 are arranged on two oppositely arranged frames of the optical touch display device, wherein one ultrasonic generator 504 is located at a short frame of the optical touch display device, and the other ultrasonic generator 504 is located at the other short frame of the optical touch display device.
[0107] like Figure 5As shown, the upper and lower frames of the optical touch display device are long frames, and the left and right frames are short frames; in this embodiment, at least one ultrasonic generator 504 can be set on the left frame of the optical touch display device, and at least one ultrasonic generator 504 can be set on the right frame of the optical touch display device. The ultrasonic generator 504 on the left frame can emit ultrasonic waves to the left half of the optical touch display device, and the ultrasonic generator 504 on the right frame can emit ultrasonic waves to the right half of the optical touch display device. The left half and the right half are both relatively close to square areas, which are easy to be covered by the ultrasonic waves emitted by the ultrasonic generator 504, effectively ensuring that the entire touch surface of the optical touch display device can receive ultrasonic waves, ensuring the effect of repelling mosquitoes and insects.
[0108] by Figure 5 As an example, the optical touch display device shown in FIG. 1 is used as an example. The working process of the optical touch display device can be referred to in FIG. Figure 6 As shown. Figure 6 As shown, the working process of the optical touch display device includes the following steps S601 to step 607.
[0109] Step S601: After the optical touch display device is powered on, an ultrasonic generator is started.
[0110] Step S602, detect whether there is a touch operation; if so, proceed to step S603, otherwise re-execute step S602, that is, re-detect whether there is a touch operation.
[0111] Step S603: Acquire the intensity of ambient light collected by multiple ambient light sensors.
[0112] Step S604, comparing whether the ambient light intensity has a difference exceeding a threshold; if so, proceeding to step S605, otherwise proceeding to step S607.
[0113] In this embodiment, if the ambient light intensity has a difference exceeding the threshold, it means that the currently detected touch operation is valid, and the subsequent step S605 can be executed. On the contrary, if the ambient light intensity does not have a difference exceeding the threshold, it means that the currently detected touch operation is most likely a false trigger, and the touch operation is invalid, and the subsequent step S607 is executed.
[0114] Step S605 , performing processing based on a touch control algorithm to calculate coordinate points corresponding to the touch operation.
[0115] Step S606: forming a touch track according to the coordinate points.
[0116] Step S607, intercepting the current touch operation.
[0117] The optical touch display device provided in this embodiment uses ultrasonic waves to repel mosquitoes, which can avoid mosquitoes landing on the touch surface as much as possible; by judging whether there is a large difference in the intensity of ambient light collected by multiple ambient light sensors, it can be simply and quickly judged whether there is a human body in front of the optical touch display device, and human body detection is achieved without affecting the operation of the optical touch display device. In addition, judging whether there is a human body after detecting the presence of a touch operation does not require real-time human body detection, which can reduce the processing capacity of the optical touch display device.
[0118] In this embodiment, a touch device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0119] This embodiment provides a touch control device, which is applied to an optical touch display device, such as Figure 7 As shown, including:
[0120] A detection module 701 is used to detect whether there is a touch operation and whether there is a human body in front of the optical touch display device;
[0121] The processing module 702 is used to determine a touch position of the touch operation in response to the touch operation when there is a touch operation and a human body.
[0122] In some optional implementations, the optical touch display device includes: an ambient light sensor; the detection module 701 detects whether there is a human body in front of the optical touch display device, including:
[0123] Acquire ambient light of an environment where the optical touch display device is located, which is collected by an ambient light sensor; the ambient light sensor is located at a side of the optical touch display device;
[0124] When the collected ambient light undergoes a change that satisfies a condition, it is determined that there is a human body in front of the optical touch display device.
[0125] In some optional implementations, there are multiple ambient light sensors; the multiple ambient light sensors are located at different positions of the optical touch display device;
[0126] When the collected ambient light changes to meet the conditions, the detection module 701 determines that there is a human body in front of the optical touch display device, including:
[0127] When there is a difference between the ambient lights collected by different ambient light sensors and the difference meets a preset condition, it is determined that there is a human body in front of the optical touch display device.
[0128] In some optional implementations, the optical touch display device further includes: an ultrasonic generator; the device further includes:
[0129] The control module is used to control the ultrasonic generator to emit ultrasonic waves that can cover at least a partial area of the optical touch display device; the ultrasonic generator is located at a side of the optical touch display device.
[0130] In some optional implementations, the control module controls the ultrasonic generator to emit ultrasonic waves that can cover at least a partial area of the optical touch display device, including:
[0131] After the optical touch display device is started, the ultrasonic generator is controlled to continuously, periodically, or intermittently emit ultrasonic waves that can cover at least a partial area of the optical touch display device.
[0132] In some optional implementations, the optical touch display device is an optical touch display device.
[0133] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0134] The touch device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0135] The embodiment of the present invention further provides an optical touch display device, which may have the above Figure 7 The touch device shown.
[0136] See also Figure 8 , Figure 8 is a schematic diagram of the hardware structure of an optical touch display device provided by an optional embodiment of the present invention, such as Figure 8As shown, the optical touch display device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the optical touch display device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple optical touch display devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.
[0137] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0138] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0139] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created according to the use of the optical touch display device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the optical touch display device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0140] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0141] The optical touch display device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.
[0142] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the optical touch display device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0143] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0144] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A touch control method, characterized in that: Applied to an optical touch display device, the method comprises: Detecting whether there is a touch operation, and detecting whether there is a human body in front of the optical touch display device; In the case where there is a touch operation and a human body, a touch position of the touch operation is determined in response to the touch operation.
2. The method according to claim 1, characterized in that The optical touch display device comprises: an ambient light sensor; and the step of detecting whether there is a human body in front of the optical touch display device comprises: Acquire ambient light of an environment where the optical touch display device is located, which is collected by an ambient light sensor; the ambient light sensor is located at a side of the optical touch display device; When the collected ambient light undergoes a change that satisfies a condition, it is determined that there is a human body in front of the optical touch display device.
3. The method according to claim 2, characterized in that The number of the ambient light sensors is multiple; the multiple ambient light sensors are located at different positions of the optical touch display device; When the collected ambient light changes to meet a condition, determining that a human body exists in front of the optical touch display device includes: When there is a difference between the ambient lights collected by different ambient light sensors and the difference meets a preset condition, it is determined that there is a human body in front of the optical touch display device.
4. The method according to claim 1, characterized in that: The optical touch display device further includes: an ultrasonic generator; and the method further includes: The ultrasonic generator is controlled to emit an ultrasonic wave that can cover at least a partial area of the optical touch display device; the ultrasonic generator is located at a side of the optical touch display device.
5. The method according to claim 4, characterized in that The controlling the ultrasonic generator to emit ultrasonic waves capable of covering at least a partial area of the optical touch display device comprises: After the optical touch display device is started, the ultrasonic generator is controlled to continuously, periodically, or intermittently emit ultrasonic waves that can cover at least a partial area of the optical touch display device.
6. An optical touch display device, characterized in that: include: Optical touch components, display, processor, and sensors on the side; The optical touch component is configured to emit light covering the display screen and respond to a touch operation; The display screen is configured to display interactive content; The sensor is configured to detect whether there is a human body in front of the optical touch display device; The processor is configured to determine a touch position of the touch operation when there is a touch operation and a human body.
7. The optical touch display device according to claim 6, characterized in that: The sensor is an ambient light sensor; The ambient light sensor is configured to collect ambient light of an environment where the optical touch display device is located; when the collected ambient light undergoes a change that satisfies a condition, it is determined that there is a human body in front of the optical touch display device.
8. The optical touch display device according to claim 7, characterized in that: The number of the ambient light sensors is multiple; the multiple ambient light sensors are located at different positions of the optical touch display device; When there is a difference between the ambient lights collected by different ambient light sensors and the difference meets a preset condition, it is determined that there is a human body in front of the optical touch display device.
9. The optical touch display device according to claim 8, characterized in that: The plurality of ambient light sensors include: a first ambient light sensor, a second ambient light sensor and a third ambient light sensor; The first ambient light sensor is located at the lower frame of the optical touch display device; The second ambient light sensor is located at a left frame of the optical touch display device; The third ambient light sensor is located at the right frame of the optical touch display device.
10. The optical touch display device according to claim 9, characterized in that: There is a plurality of the first ambient light sensors; the plurality of the first ambient light sensors are evenly distributed on a lower frame of the optical touch display device.
11. The optical touch display device according to claim 6, characterized in that: Also includes: Ultrasonic generator; The ultrasonic generator is configured to emit ultrasonic waves capable of covering at least a partial area of the optical touch display device.
12. The optical touch display device according to claim 11, characterized in that: The number of the ultrasonic generators is multiple; One of the ultrasonic generators is located at a short frame of the optical touch display device, and the other ultrasonic generator is located at another short frame of the optical touch display device.
13. A touch device, characterized in that: Applied to an optical touch display device, the device comprises: A detection module, used to detect whether there is a touch operation and whether there is a human body in front of the optical touch display device; The processing module is used to determine the touch position of the touch operation in response to the touch operation when there is a touch operation and a human body.
14. An optical touch display device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the touch method according to any one of claims 1 to 5 by executing the computer instructions.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the touch control method according to any one of claims 1 to 5.