CN117873338A - Touch detection method and device, interaction panel and storage medium - Google Patents

Touch detection method and device, interaction panel and storage medium Download PDF

Info

Publication number
CN117873338A
CN117873338A CN202211249600.2A CN202211249600A CN117873338A CN 117873338 A CN117873338 A CN 117873338A CN 202211249600 A CN202211249600 A CN 202211249600A CN 117873338 A CN117873338 A CN 117873338A
Authority
CN
China
Prior art keywords
signal
touch
detection unit
display screen
touch state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211249600.2A
Other languages
Chinese (zh)
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xianchuang Technology Co ltd
Original Assignee
Guangzhou Xianchuang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xianchuang Technology Co ltd filed Critical Guangzhou Xianchuang Technology Co ltd
Priority to CN202211249600.2A priority Critical patent/CN117873338A/en
Priority to PCT/CN2023/119734 priority patent/WO2024078276A1/en
Publication of CN117873338A publication Critical patent/CN117873338A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means

Abstract

The embodiment of the application discloses a touch detection method, a touch detection device, an interaction panel and a storage medium, wherein each light ray emitted by a light ray emitter of an optical detection unit of the interaction panel is covered on the surface of an interaction panel display screen and is received by a light ray receiver of the optical detection unit, and a first sensor of a touch state detection unit of the interaction panel is arranged on one surface of the display screen, which is far away from a user. The optical detection unit determines a shielding data signal according to the current received light signal and reports the shielding data signal to the processing unit; the touch state detection unit carries out multistage amplification on the original signals acquired by the first sensor in real time, determines that the display screen generates touch state signals when receiving sensing signals, and reports the touch state signals to the processing unit; the processing unit generates an occlusion state signal according to the occlusion data signal, and determines that a touch operation is received according to the occlusion state signal and the touch state signal. By adopting the scheme, the technical problem that false detection is easy to occur when the optical detection method is used for detecting touch operation in the related technology can be solved.

Description

Touch detection method and device, interaction panel and storage medium
Technical Field
The embodiment of the application relates to the technical field of touch control, in particular to a touch detection method, a touch detection device, an interaction panel and a storage medium.
Background
Along with the development of touch technology, various electronic devices with touch functions are in daily life of people, such as smart phones, tablet computers, interactive tablets and the like. When the electronic equipment is used, a user controls the content on the display screen through a touch technology so as to control the electronic equipment. At this time, accurately detecting the touch operation of the user on the display screen is a key link for implementing the touch technology.
The optical detection method is one of the more common touch detection methods, and the principle of the optical detection method is as follows: the optical network formed by the light rays covers the surface of the display screen, when the display screen receives touch operation, the touch object can shield the light rays on the surface of the display screen, at the moment, the electronic equipment can detect the touch operation and determine the touch position of the touch operation according to the shielding condition of the light rays, and then responds according to the touch position. In the related art, due to the limitation of hardware conditions, light cannot be completely attached to the surface of the display screen, namely, the light covered by the surface of the display screen has a certain distance from the surface of the display screen, and no matter whether a touch object actually touches the display screen or not, the touch operation can be considered to be detected by the electronic equipment as long as the light is blocked. In this way, the situation of false detection occurs, and the electronic device is enabled to respond to the touch operation of false detection by mistake.
Disclosure of Invention
The embodiment of the application provides a touch detection method, a touch detection device, an interaction panel and a storage medium, so as to solve the technical problem that false detection is easy to occur when an optical detection method is used for detecting touch operation in the related art.
In a first aspect, an embodiment of the present application provides a touch detection method, which is applied to an interactive panel, where the interactive panel includes a display screen, a processing unit, an optical detection unit and a touch state detection unit, where the optical detection unit includes a light emitter and a light receiver, each light emitted by the light emitter covers a surface of the display screen and is received by the light receiver, and the touch state detection unit includes at least one first sensor, where the first sensor includes a mechanical sensor or a vibration sensor, and the first sensor is disposed on a surface of the display screen facing away from a user;
the touch detection method comprises the following steps:
the optical detection unit determines a shielding data signal according to the light signal received by the light receiver and reports the shielding state signal to the processing unit;
the touch state detection unit amplifies original signals acquired by the first sensor in real time in multiple stages, generates a touch state signal when determining that the surface of the display screen receives a sensing signal based on the amplified signals in multiple stages, and reports the touch state signal to the processing unit;
And the processing unit generates an shielding state signal according to the shielding data signal, and determines that the display screen receives touch operation according to the shielding state signal and the touch state signal.
In a second aspect, an embodiment of the present application provides a touch detection method, which is applied to an interactive panel, where the interactive panel includes a display screen, a processing unit, an optical detection unit, and a touch state detection unit, where the optical detection unit includes a light emitter and a light receiver, where each light emitted by the light emitter covers a surface of the display screen and is received by the light receiver, and the touch state detection unit includes at least one first sensor, where the first sensor includes a mechanical sensor or a vibration sensor, and the first sensor is disposed on a surface of the display screen facing away from a user;
the touch detection method comprises the following steps:
the optical detection unit determines an occlusion data signal according to the light signal received by the light receiver and reports the occlusion data signal to the processing unit;
the touch state detection unit carries out multistage amplification on the original signals acquired by the first sensor in real time, and sends multistage amplified signals to the processing unit;
And the processing unit generates an occlusion state signal according to the occlusion data signal, generates a touch state signal when the surface of the display screen receives a sensing signal according to the amplified signal, and determines that the display screen receives touch operation according to the occlusion state signal and the touch state signal.
In a third aspect, an embodiment of the present application further provides a touch detection device, which is applied to an interactive panel, where the interactive panel includes a display screen, a processing unit, an optical detection unit, and a touch state detection unit, where the optical detection unit includes a light emitter and a light receiver, where each light emitted by the light emitter covers a surface of the display screen and is received by the light receiver, and the touch state detection unit includes at least one first sensor, where the first sensor includes a mechanical sensor or a vibration sensor, and the first sensor is disposed on a surface of the display screen facing away from a user;
the touch detection device includes:
the first detection module is configured in the optical detection unit and is used for determining an occlusion data signal according to the light ray signal received by the light ray receiver and reporting the occlusion data signal to the processing unit;
The second detection module is configured in the touch state detection unit and is used for carrying out multistage amplification on the original signals acquired by the first sensor in real time, generating touch state signals when the surface of the display screen is determined to receive the sensing signals based on the multistage amplified signals, and reporting the touch state signals to the processing unit;
and the third detection module is configured in the processing unit and is used for generating the shielding state signal according to the shielding data signal and determining that the display screen receives touch operation according to the shielding state signal and the touch state signal.
In a fourth aspect, an embodiment of the present application provides a touch detection device, which is applied to an interactive panel, where the interactive panel includes a display screen, a processing unit, an optical detection unit, and a touch state detection unit, where the optical detection unit includes a light emitter and a light receiver, where each light emitted by the light emitter covers a surface of the display screen and is received by the light receiver, and the touch state detection unit includes at least one first sensor, where the first sensor includes a mechanical sensor or a vibration sensor, and the first sensor is disposed on a surface of the display screen facing away from a user;
The touch detection device includes:
the ninth detection module is configured in the optical detection unit and is used for determining an occlusion data signal according to the light ray signal received by the light ray receiver and reporting the occlusion data signal to the processing unit;
a tenth detection module, configured to the touch state detection unit, configured to perform multistage amplification on an original signal acquired by the first sensor in real time, and send a multistage amplified signal to the processing unit;
the eleventh detection module is configured to generate the shielding state signal according to the shielding data signal, generate a touch state signal when determining that the surface of the display screen receives the sensing signal according to the amplified signal, and determine that the display screen receives the touch operation according to the shielding state signal and the touch state signal.
In a fifth aspect, an embodiment of the present application further provides an interactive tablet, including a display screen, a processing unit, an optical detection unit, and a touch state detection unit, where the optical detection unit includes a light emitter and a light receiver, each light emitted by the light emitter covers a surface of the display screen and is received by the light receiver, and the touch state detection unit includes at least one first sensor, where the first sensor includes a mechanical sensor or a vibration sensor, and the first sensor is disposed on a surface of the display screen facing away from a user;
The optical detection unit is used for determining an occlusion data signal according to the light ray signal received by the light ray receiver and reporting the occlusion data signal to the processing unit;
the touch state detection unit is used for carrying out multistage amplification on the original signals acquired by the first sensor in real time, generating touch state signals when the surface of the display screen receives sensing signals based on multistage amplification signals, and reporting the touch state signals to the processing unit;
the processing unit is used for generating an occlusion state signal according to the occlusion data signal and determining that the display screen receives touch operation according to the touch state signal and the touch state signal.
In a sixth aspect, an embodiment of the present application further provides an interactive tablet, including a display screen, a processing unit, an optical detection unit, and a touch state detection unit, where the optical detection unit includes a light emitter and a light receiver, each light emitted by the light emitter covers a surface of the display screen and is received by the light receiver, and the touch state detection unit includes at least one first sensor, where the first sensor includes a mechanical sensor or a vibration sensor, and the first sensor is disposed on a surface of the display screen facing away from a user;
The optical detection unit is used for determining an occlusion data signal according to the light ray signal received by the light ray receiver and reporting the occlusion data signal to the processing unit;
the touch state detection unit is used for carrying out multistage amplification on the original signals acquired by the first sensor in real time and sending multistage amplified signals to the processing unit;
the processing unit is used for generating the shielding state signal according to the shielding data signal, generating a touch state signal when the surface of the display screen receives the sensing signal according to the amplified signal, and determining that the display screen receives touch operation according to the shielding state signal and the touch state signal.
In a seventh aspect, an embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the touch detection method according to the first aspect or the touch detection method according to the second aspect.
In one embodiment of the application, the optical detection unit is used for detecting the receiving condition of the light covered on the surface of the display screen and reporting the shielding data signal to the processing unit, the touch state detection unit is used for carrying out multistage amplification on the original signal acquired in real time by the first sensor arranged on the back of the display screen, and reporting the touch state signal to the processing unit when the surface of the display screen receives the sensing signal based on the multistage amplified signal, and the processing unit is used for generating the shielding state signal according to the shielding data signal and determining the technical means of the touch operation received by the display screen according to the shielding state signal and the touch state signal, so that the technical problem that false detection is easy to occur when the touch operation is detected by using the optical detection means in the related art is solved. On the basis of optical detection, a first sensor is added, wherein the first sensor is a mechanical sensor or a vibration sensor arranged on one side of the display screen away from a user, so that acting force or vibration generated when the display screen is touched is detected, the problem of false detection caused by a certain distance between light rays and the surface of the display screen is solved, and the detection accuracy is improved. And through carrying out multistage amplification to the original signal that first sensor gathered, can guarantee that the signal variation that brings when touch operation contacted the display screen with different dynamics and different speeds can be amplified under reasonable signal to noise ratio, guaranteed the degree of accuracy of touch state signal, and then further improved the detection accuracy.
Drawings
FIG. 1 is a flow chart of a touch detection method according to one embodiment of the present application;
FIG. 2 is a flow chart of a touch detection method according to one embodiment of the present application;
FIG. 3 is a schematic front view of a display screen according to an embodiment of the present disclosure;
FIG. 4 is a schematic rear view of a display screen according to one embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a writing trace according to one embodiment of the present application;
FIG. 6 is a schematic diagram of a writing trace according to one embodiment of the present application;
FIG. 7 is a flowchart of a touch detection method according to one embodiment of the present application;
FIG. 8 is a schematic structural diagram of a touch detection device according to an embodiment of the present disclosure;
FIG. 9 is a schematic structural diagram of a touch detection device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an interactive tablet according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
In the related art, an optical touch detection system is a main hardware device for implementing an optical detection method, and is generally composed of a display screen, an optical touch sensor and an optical processing unit, where the optical touch sensor is composed of an emitting portion and a receiving portion, the emitting portion includes a plurality of light emitters, the receiving portion includes a plurality of light receivers, the optical touch sensor is installed at an edge of the display screen (for example, the emitting portion and the receiving portion are symmetrically disposed at two ends of the display screen, and for example, the emitting portion is disposed at two edges of the display screen and the receiving portion is symmetrically disposed at the other two edges of the display screen), each light emitter of the emitting portion operates according to a set frequency, that is, a plurality of light rays are emitted according to a set frequency, each light ray can be received by a corresponding light ray receiver, and an optical network formed by all light rays emitted and received covers a surface of the display screen, where a surface of the display screen can be understood as a surface where an imaging screen is located, and when a user touches the display screen to implement interaction, the surface of the touch display screen. After the light emitters and the light receivers are matched, the light is utilized to complete the scanning of the surface of the display screen so as to scan the touch object contacting the display screen. It will be appreciated that the type of light emitted by the light emitter is not currently limited, e.g., the light emitter emits infrared light.
The optical processing unit is used for analyzing the shielding condition of light, the optical processing unit can be arranged in electronic equipment applied by the optical touch detection System, and the optical processing unit can be a micro control unit (Microcontroller Unit, MCU) matched with the optical touch sensor, for example, the optical processing unit adopts 811 System On Chip (SOC). When the optical processing unit analyzes the light shielding condition, the light shielding condition is mainly realized by analyzing the light energy of the light. It can be understood that when a touch object (an object used when a user performs a touch, such as a touch pen (may also be referred to as a writing pen, a touch pen, a smart pen, or the like) or a finger of the user) touches the display screen, the touch object may block a plurality of light rays covering the surface of the display screen, and at this time, since the light rays are blocked, the light energy corresponding to the light rays received by the light ray receiver may change, that is, the light energy corresponding to the light rays received by the light ray receiver when the light rays are blocked is smaller than the light energy corresponding to the light rays received by the light ray receiver when the light rays are not blocked. At this time, the optical processing unit can analyze the shielding condition of the light according to the light energy variation condition of the light, namely, determine which light is shielded, further calculate the position of the touch object (generally embodied by two-dimensional coordinates), and calculate the width, length and/or area of the touch point (the touch area determined based on the shielded light), in addition, the light processing unit can determine the content such as the time when the touch object is detected, and then the light processing unit forms touch point data (which can also be recorded as a touch data packet, including the position, width, length, area and/or detection time of the touch object), and reports the touch point data to the processor of the electronic device, so that the processor makes further response, namely, realizes the touch function.
It should be noted that, some processors of electronic devices applying the optical touch detection system have an ability to analyze light shielding situations, at this time, the optical processing unit may directly send signals (reflected light energy) corresponding to each light obtained by current scanning of the light touch sensor to the processor of the electronic device, where the processor of the electronic device analyzes the light shielding situations, calculates the position of the touch object, the detected time, and the width, length, and/or area of the touch point, and generates touch point data to make a further response. In some cases, when the processor of the electronic device performs the computing operation of the optical processing unit, the optical touch detection system may also be composed of only the display screen and the optical touch sensor.
Optionally, a USB component, such as a USB HUB (USB HUB), a USB switch, a USB signal repeater (r), etc., is disposed between the processor of the electronic device and the optical processing unit, and the processor of the electronic device may be used as a human interface device (Human Interface Device, HID), and the processor of the electronic device and the optical processing unit communicate with each other through the USB component, so that after the optical processing unit generates touch point data, the touch point data is transmitted to the processor of the electronic device through the USB component.
It can be appreciated that the optical touch sensor needs to be disposed in front of the edge of the display screen, so that the optical network formed by the optical touch sensor covers the surface of the display screen and ensures that light is transmitted without shielding when no touch is applied. Specifically, the optical touch sensor performs optical filtering transmission through a filtering strip (also called an optical filter), the filtering strip is generally manufactured by adding a coloring agent into a raw material and then adopting an injection molding or casting process, and the filtering strip can transmit currently used light and filter out other ambient light at the same time, so that the signal to noise ratio of the light is improved. In this way, when the optical touch sensor covers the light on the surface of the display screen, a certain distance exists between the light and the surface of the display screen, that is, the light touch sensor forms a touch area (i.e., an area formed by the optical network) in the vertical direction of the surface of the display screen, and the distance between the touch area and the surface is generally greater than 2mm (millimeters), so that the distance cannot be ignored. At this time, when the touching object blocks the light, no matter whether the touching object actually touches the display screen, the optical processing unit of the optical touch detection system recognizes the touch operation due to the blocking condition of the light, so that the electronic device responds to the touch operation. For example, the distance between the touch area and the surface of the display screen in the vertical direction is denoted as H, in a writing scene, in the process of writing once, the touch object firstly contacts the surface of the display screen and then moves, after writing is completed, the touch object leaves the surface of the display screen, specifically, in the process of starting writing, the touch object firstly is positioned above the touch area, that is, the vertical distance between the touch object and the surface of the display screen is larger than H, in the process, the optical processing unit cannot detect shielding, so that touch point data cannot be reported, then, when the touch object continues to move to the display screen, light is shielded, that is, the vertical distance between the touch object and the surface of the display screen is smaller than H but larger than 0, in the process, although the touch object does not contact the display screen, shielding is generated, therefore, the optical processing unit can analyze shielding conditions and report the touch point data, and the processor of the electronic device responds based on the touch point data. After the light is blocked, the touching object touches the display screen again, namely, the vertical distance between the touching object and the surface of the display screen is 0 or less (the fact that the vertical distance is less than 0 means that the acting force generated when the touching object touches the display screen causes the surface of the display screen to be concave), in the process, the optical processing unit still reports touch point data, and the processor of the electronic equipment responds based on the touch point data. And then, the touch object moves on the surface of the display screen, and the optical processing unit continuously reports touch point data. When writing is completed, the touch pen leaves the surface of the display screen but still shields light, namely the vertical distance between the touch object and the surface of the display screen is smaller than H but larger than 0, at this time, the optical processing unit still reports touch point data, the processor of the electronic device responds based on the touch point data, and then the touch object leaves the touch control area, namely the vertical distance between the touch object and the surface of the display screen is larger than H, at this time, the optical processing unit cannot detect shielding, and therefore the touch point data cannot be reported.
Based on the foregoing, it can be seen that when the optical touch detection system detects a touch operation based on a light shielding condition, a false detection condition is easy to occur, especially when a touch object approaches to and leaves from a display screen, the false detection condition is relatively obvious, so that the electronic device responds by mistake. Based on the above, the embodiment of the application provides a touch detection method, a device, an interaction panel and a storage medium, so as to comprehensively judge whether the display screen receives touch operation or not according to the light shielding condition and the condition that the display screen receives acting force generated by the touch object in the process of contacting the touch object with the display screen, thereby effectively avoiding the condition that false detection is easy to occur during optical detection and improving the detection accuracy of the touch operation.
An embodiment of the present application provides a touch detection method, where the touch detection method may be performed by a touch detection device, and the touch detection device may be implemented by software and/or hardware, where the touch detection device may be configured by two or more physical entities or may be configured by one physical entity. The touch detection device can be an electronic device with a touch control function, such as an interactive tablet, a tablet computer, an intelligent television and the like.
In one embodiment, a touch detection method is exemplarily described with a touch detection device as an interactive tablet. The interactive flat board is integrated equipment for controlling the content displayed on the display flat board and realizing man-machine interaction operation through a touch technology, and integrates one or more functions of a projector, an electronic whiteboard, a curtain, a sound, a television, a video conference terminal and the like.
In one embodiment, the interactive tablet comprises a display screen, a processing unit, an optical detection unit and a touch state detection unit, wherein the optical detection unit comprises a light emitter and a light receiver, each light emitted by the light emitter covers the surface of the display screen and is received by the light receiver, the touch state detection unit comprises at least one first sensor, the first sensor comprises a mechanical sensor or a vibration sensor, and the first sensor is arranged on one surface, facing away from a user, of the display screen.
Illustratively, the interactive tablet is configured with at least one display screen. The size of the display screen is not limited at present, and in general, the display screen is a large-sized display screen, where the large-sized display screen is a display screen larger than a set size (for example, a set size of 40 inches or 44 inches). The display screen can be a liquid crystal display screen or other types of display screens.
The interactive pad may detect touch operations on the surface of the display screen by means of optical detection, capacitive detection, electromagnetic detection and/or resistive detection, and in one embodiment, the interactive pad is described using optical detection as an example. By way of example, an optical detection unit refers to the equipment unit required to achieve optical detection. The optical detection unit comprises a light emitter and a light receiver, wherein the installation positions of the light emitter and the light receiver can be referred to the installation positions of the light emitter and the light receiver in the existing optical detection method. The type of light emitted by the light emitter is not currently limited, such as emitting infrared type light. The light emitted by the light emitter is received by the light receiver, and the light net formed by the light rays covers the surface of the display screen. It should be noted that, for the description of the light emitter and the light receiver, reference may be made to the description of the emitting portion and the receiving portion in the optical touch detection system.
The touch state detection unit is used for detecting stress or vibration signals (also called acoustic signals) received by the surface of the display screen, wherein the stress can be understood as stress (namely acting force) generated when a touch object touches the display screen, the stress can be detected through the mechanical sensor, the vibration signals can be understood as vibration signals (vibration is realized through acting force generated when the touch object touches the display screen), and the vibration signals can be detected through the vibration sensor. The touch state detection unit includes at least one first sensor including a mechanical sensor or a vibration sensor. The first sensor is used for acquiring signals caused by deformation of the display screen due to contact of a touch object, in one embodiment, when the first sensor is a mechanical sensor, the mechanical sensor acquires stress signals corresponding to the stress on the surface of the display screen, and it can be understood that the stress generated when the touch object touches the display screen can be considered as the pressure on the surface of the display screen, so that the mechanical sensor can be also understood as a pressure sensor. When the first sensor is a vibration sensor, the vibration sensor collects vibration signals on the surface of the display screen. In one embodiment, the first sensor is attached to the back surface of the glass panel of the display screen, so as to ensure that stress received by the surface of the display screen or vibration signals generated by the display screen under the contact of a touch object are accurately collected. The glass panel is a layer of glass arranged in the display screen, and when a touch object contacts the display screen, the glass panel receives pressure (namely stress) caused by the contact of the touch object or generates vibration (the amplitude is smaller and the imaging of the display screen is not affected) based on the contact of the touch object. The back side refers to the side of the display screen facing away from the user when imaged, and can also be considered as the plane inside the interactive tablet. It should be noted that the attaching mode and attaching position of the first sensor are not limited currently, and in general, the collecting range of the first sensor (may be one first sensor or a plurality of first sensors) covers the whole display screen, so as to ensure that no matter which position on the surface of the display screen is touched by the touching object, the signal collected by the first sensor can embody the operation of the current touching object. Optionally, the first sensor continuously collects during the running process of the interactive flat panel, that is, whether the surface of the display screen has a touch object to perform touch operation or not, the first sensor collects signals, and only when the touch object performs touch operation on the surface of the display screen, the signals collected by the first sensor include features related to the touch operation of the touch object. In one embodiment, the touch state detection unit further includes a touch detection processing subunit (also referred to as a signal processing unit), where the touch detection processing subunit is configured to process a signal collected by the first sensor, so as to determine whether the surface of the display screen receives a touch of the touch object, and report a detection result of whether the touch is received to the processing unit of the interactive panel. The touch detection processing subunit may be a chip or a processor (such as a micro-processing unit), and the touch detection processing subunit is located inside the interaction panel and connected with the processing unit of the interaction panel, and it needs to be described that a component for ensuring accurate signal transmission may be further disposed between the touch detection processing subunit and the processing unit of the interaction panel. It can be understood that in practical application, if the processing unit of the interactive flat panel has the capability of analyzing the signal collected by the first sensor to determine whether the surface of the display screen receives a touch, the touch detection processing subunit is not required to be set, and at this time, the signal collected by the first sensor is directly sent to the processing unit of the interactive flat panel. In one embodiment, the touch state detection unit may further include other content, such as including a multi-stage amplifying circuit, to amplify the signal collected by the first sensor, so that the touch detection processing subunit processes the signal with more obvious characteristics.
The processing unit may be comprised of one or more processors, and in one embodiment, the processing unit includes at least a central processing unit (central processing unit, CPU) of the interactive tablet, and may further include a memory of the interactive tablet, where the memory stores a computer program, and the central processing unit may implement functions of the interactive tablet by invoking the computer program stored in the memory. It can be understood that the lines used for transmitting signals between the processing unit and the optical detection unit and between the processing unit and the touch state detection unit are internal lines of the interactive panel, which are not described otherwise at present. At least one type of operating system is installed in the central processing unit, and the operating system can be an Android system, a Windows system or a Linux system and the like. The interactive tablet installs at least one application under the operating system. The application program may be an application program of the operating system, and also be installed as an application program downloaded from a third party device or a server, and is not limited at present, for example, the interactive tablet is installed with an application program for writing, and the application program may respond to a touch operation when running, that is, drawing a corresponding writing track according to the touch operation. Optionally, the interactive tablet is further configured with a communication unit, through which the interactive tablet performs a communication function, for example, the interactive tablet performs data communication with the server. In addition, the interactive flat board can be further configured with hardware devices such as a sound box and a microphone.
Optionally, the optical detection unit may further include an optical processing subunit, where the optical processing subunit may analyze a light shielding condition according to a light signal received by the light receiver, and generate touch point data to report to the processing unit, so that the processing unit responds. Alternatively, when the processing unit has the capability of analyzing the light shielding condition, the optical processing subunit may only determine the shielded light and notify the processing unit of the current shielded light, and then the processing unit generates touch point data, or alternatively, the optical processing subunit directly sends the light signal received by the light receiver to the processing unit, and the processing unit analyzes the shielding condition and generates the touch point data.
The processing unit can also determine whether the display screen currently receives touch operation according to the light shielding detection result obtained based on the optical detection unit and the touch detection result of the touch object obtained based on the touch state detection unit.
At this time, fig. 1 is a flowchart of a touch detection method according to an embodiment of the present application. Referring to fig. 1, the interactive pad performs a touch detection method including the steps of:
and 110, the optical detection unit detects and determines an occlusion data signal according to the light signal received by the light receiver and reports the occlusion data signal to the processing unit. Step 130 is performed.
Illustratively, in an optical network formed by matching the light emitter and the light receiver, each light has a corresponding number. In the running process of the interactive flat plate, the light receiver and the light emitter are continuously matched to continuously scan the surface of the display screen, at this time, the optical processing subunit of the optical detection unit continuously acquires all light signals received by the light receiver and can determine the numbers corresponding to all the light signals, then, whether the shielded light exists or not is determined according to all the light signals, and if the shielded light exists, the numbers of the shielded light and the scanning time corresponding to the shielded light are determined. And then, the serial numbers of the blocked light rays and the corresponding scanning time are used as blocking data signals to be sent to the processing unit, and optionally, the light energy of the blocked light rays can be also sent to the processing unit. In this case, the optical detection unit will send an occlusion data signal to the processing unit only if it detects the occluded light. The determination mode of shielding can be as follows: the optical processing subunit calculates the light energy of each light signal received by the light receiver, and then determines whether the light is blocked or not according to the current light energy of each light signal and the light energy when the light signal is not blocked. It can be understood that when light is blocked, the light energy of the light signal is weakened obviously, so that a light energy weakening amount is preset (a specific value can be set according to actual requirements), after the optical processing subunit determines the light energy of the received light signal, a difference value between the light energy when the light signal is not blocked and the current received light energy is calculated, the difference value can represent the change condition of the light energy, then the difference value is compared with the preset light energy weakening amount, and if the difference value is greater than or equal to the light energy weakening amount, the light corresponding to the difference value is determined to be blocked. In this way all blocked light rays can be found.
Or, the light processing subunit continuously acquires each light signal received by each light receiver and directly sends the light signal to the processing unit as a shielding data signal, or, the light processing subunit continuously acquires each light signal received by each light receiver and calculates the light energy of each light signal, and then sends the number and the light energy of each light signal to the processing unit as a shielding data signal, in this case, the optical detection unit sends the shielding data signal to the processing unit whether or not shielding exists, so that the processing unit determines whether or not shielding exists based on the shielding data signal.
It should be noted that, in combination with the above, it is known that the occlusion data signal used in this step is generated based on the received light signal and is provided for the processing unit to process, for example, the processing unit determines the touch point data, the number of the occlusion lights, the occlusion status signal, and the like. It can be understood that in practical application, besides the processing unit determining the relevant parameter related to the occlusion, the optical processing subunit may also determine the relevant parameter related to the occlusion based on the occlusion data signal and report the relevant parameter to the processing unit, where the optical processing subunit does not report the occlusion data signal to the processing unit.
Step 120, the touch state detection unit amplifies the original signal acquired by the first sensor in real time in multiple stages, and generates a touch state signal when determining that the surface of the display screen receives the sensing signal based on the amplified signals in multiple stages, and reports the touch state signal to the processing unit. Step 130 is performed.
In an exemplary operation of the touch state detection unit, the first sensor continuously collects signals, and signals collected by the first sensor in real time are recorded as original signals, wherein the original signals are analog signals. And then, the touch state detection unit analyzes and processes the original signals to determine whether the surface of the display screen receives stress or generates vibration based on touch, and currently, signals representing the stress or signals related to the vibration are recorded as sensing signals, namely, when the surface of the display screen receives the sensing signals, a touch object is considered to be in contact with the display screen. It can be understood that when the touch object touches the surface of the display screen, the original signal collected by the first sensor is obviously changed from the original signal collected by the first sensor when the touch object does not touch the display screen, and the changed part can be regarded as a part corresponding to the sensing signal. For example, when the first sensor is a mechanical sensor, when the touch object contacts the surface of the display screen, the pressure received by the glass panel will change due to the stress generated during the contact, and the original signal collected by the mechanical sensor will also change (compared with the case that the touch object does not contact the surface of the display screen).
In an exemplary embodiment, the touch state detection unit may amplify the original signal when determining whether the sensing signal is received by the surface of the display screen based on the original signal, so that a characteristic related to the sensing signal in the original signal is significantly increased. In one embodiment, when different touching objects contact the display screen, the speed and the force of touching will be different, so the characteristics related to the sensing signal in the original signal will be changed differently, in order to accurately detect the sensing signal, the touch state detecting unit amplifies the original signal in multiple stages, and the amplified signal is recorded as an amplified signal. The multi-stage amplification does not amplify the input simply by multiple, but amplifies the signal in the designated frequency interval (which can be set in combination with the actual situation), the signal outside the interval is not amplified or the amplification scale is small, so that the purpose of amplifying the signal in the target interval where the signal may exist is achieved, and the signal outside the interval is regarded as noise and is not amplified, thereby achieving the purpose of noise suppression. After multi-stage amplification, amplified signals of the original signals under different amplification factors can be obtained. Optionally, a plurality of amplification stages are preset in the touch state detection unit, each amplification stage has a corresponding amplified signal, and different amplification factors can be realized by adjusting the amplification ratio of each amplification stage. Alternatively, the amplification ratios of the respective amplification stages are preset and are not changed during the operation of the touch state detection unit.
The touch state detection unit includes a multi-stage amplifying circuit, and the multi-stage amplifying circuit amplifies the original signal acquired by the first sensor to obtain a multi-stage amplified signal, and then the touch detection processing subunit receives the multi-stage amplified signal and determines whether the surface of the display screen receives the sensing signal based on the multi-stage amplified signal. The multistage amplifying circuit can be designed according to practical requirements, for example, the multistage amplifying circuit adopts a logarithmic amplifier to improve the detection sensitivity during amplification, when the amplification level is 1-3 stages, the multistage amplifying circuit comprises three logarithmic amplifiers, an original signal passes through a first logarithmic amplifier to obtain an amplified signal of the first stage, the amplified signal of the first stage is respectively sent to a second logarithmic amplifier and a touch detection processing subunit, the amplified signal of the second stage is respectively sent to a third logarithmic amplifier and a touch detection processing subunit after being processed, the amplified signal of the third stage is obtained after being processed by the third logarithmic amplifier, and the amplified signal of the third stage is sent to the touch detection processing subunit. At this time, the touch detection processing subunit receives the three-stage amplified signal output from the multi-stage amplifying circuit.
Since the characteristics related to the sensing signal in the amplified signal are also amplified, the touch state detection unit recognizes the characteristics related to the sensing signal based on the amplified signal of multiple stages, and then determines whether the sensing signal is received by the surface of the display screen. For example, when the touch object contacts the surface of the display screen, the energy of the original signal collected by the first sensor is greater than the energy of the original signal collected by the first sensor when the touch object does not contact the surface of the display screen due to stress or vibration, and thus the energy value may be regarded as a characteristic related to the sensed signal. In addition, other features can be set, and the touch state detection unit combines the features to judge whether the surface of the display screen receives the sensing signal.
When the touch state detection unit generates a touch state signal when the sensing signal is determined to be received, and the touch state signal is reported to the processing unit, so that the processing unit determines that the touch state detection unit detects that the surface of the display screen is contacted with a touch object. The touch state signal is used for indicating that the surface of the display screen which is currently detected receives stress or generates vibration, namely the touch state detection unit considers that a touch object is contacted with the surface of the display screen. It can be understood that the detection result obtained by the touch state detection unit based on the amplified signals of the plurality of stages includes two cases: one is that the surface of the display screen receives stress or generates vibration, and a corresponding detection result is that a touch state signal is generated, at this time, the touch state signal can be represented by down, one is that the surface of the display screen does not receive stress or generates vibration, and the touch state detection unit can generate a non-touch state signal to indicate that the surface of the display screen is not currently detected to receive stress or generate vibration (the first sensor comprises a mechanical sensor or a vibration sensor, and therefore, the stress receiving and the vibration generating do not occur simultaneously), namely, the touch state detection unit considers that no touch object is contacted with the surface of the display screen, and at this time, the non-touch state signal can be represented by up. Taking a writing scene as an example, when a touch object writes on the surface of the display screen, the touch state detection unit continuously generates down and reports the down to the processing unit when determining that the sensing signal is received based on the real-time multi-stage amplification signal. At this time, the touch state detecting unit generates down and reports to the processing unit, whether the touch object just falls down (may also be referred to as a pen-down) to be in contact with the surface of the display screen or the touch object has contacted the surface of the display screen and moved on the surface. Optionally, the touch state detection unit determines that the surface of the current display screen does not receive the sensing signal, and does not report a corresponding up to the processing unit, or, when the touch state detection unit determines that the surface of the display screen does not receive the sensing signal, reports the corresponding up to the processing unit, so that the processing unit determines that the touch state detection unit does not detect that the surface of the display screen receives stress or does not generate vibration.
In one embodiment, the touch state detection unit amplifies the original signal in multiple stages, selects an appropriate amplified signal from the multiple stages of amplified signals, and determines whether the surface of the display screen receives the sensing signal based on the selected amplified signal. At this time, the touch state detection unit performs multi-stage amplification on the original signal acquired by the first sensor in real time, and generates a touch state signal when determining that the surface of the display screen receives the sensing signal based on the multi-stage amplified signal, which may include steps 121 to 123:
step 121, the touch state detection unit performs multistage amplification on the original signal acquired by the first sensor in real time to obtain a multistage amplified signal.
The amplified signal is still an analog signal.
In step 122, the touch state detection unit selects a one-stage amplified signal from the multi-stage amplified signals.
Illustratively, the touch state detecting unit selects one-level amplified signals among the multi-level amplified signals, the selected amplified signals may be regarded as valid amplified signals, the valid amplified signals mean that the original signals are reasonably amplified and details related to the sensing signals are substantially preserved. The selection process may be implemented by a touch detection processing subunit of the touch state detection unit.
In one embodiment, the touch state detection unit first converts the multi-stage amplified signal into a digital signal and selects the one-stage amplified signal by an overflow rate of the digital signal. The overflow refers to that when the analog signal is converted into the digital signal, the amplitude of the digital signal is larger than the upper limit of quantization (i.e. upper) or smaller than the lower limit of quantization (i.e. lower), for example, when adc with 10 bits (i.e. analog-to-digital converter) is used for analog-to-digital conversion, the upper limit of quantization is 1023, the lower limit of quantization is 0, when the amplitude of a certain signal point is larger than 1023 during analog-to-digital conversion, only 1023 can be used, and when the amplitude of a certain signal point is smaller than 0, only 0 can be used, which is overflow, i.e. overflow phenomenon occurs due to limitation of quantization bit number of adc. When the signal overflows, the amplitude can only be represented by the corresponding upper quantization limit or lower quantization limit, so that part of details in the amplified signals can be lost, and therefore, a reasonable one-stage amplified signal needs to be selected according to the overflow condition of each-stage amplified signal. The overflow condition can be represented by overflow rate, the overflow rate can reflect the integrity degree when the overflow rate is converted into a digital signal, and each stage of amplified signal has corresponding overflow rate. The higher the overflow rate, the more detail is lost when the amplified signal is converted to a digital signal. The lower the overflow rate, the less detail is lost when converting the amplified signal to a digital signal. It will be appreciated that under-amplification of the original signal is one cause of low overflow rate, in which case, although less detail is lost in converting the amplified signal to a digital signal, the characteristics of the amplified signal that are related to the sensed signal are not significantly amplified. Therefore, the touch state detection unit can select the amplified signals corresponding to the reasonable overflow rate by combining the overflow rates of the amplified signals of all stages. The amplified signal at the overflow rate ensures that the lost details do not affect the signal accuracy, and also ensures that features associated with the sensed signal are significantly amplified.
In one embodiment, the touch state detection unit may select at least two amplified signals among the multiple amplified signals, and then select one amplified signal among the at least two amplified signals. The amplification stages of at least two amplified signals are continuous, and it is to be noted that the continuous amplification stages do not refer to continuous values corresponding to the amplification stages, but the amplification stages of at least two selected amplified signals are connected in a multistage amplification circuit. The specific value of the selected amplification level may be preset according to the actual situation, for example, the currently set selected amplification level is 1-3, at this time, the touch state detection unit selects amplification signals corresponding to 1 level, 2 level and 3 level, and selects one of the amplification signals of the stages for detecting whether the sensing signal is received by the surface of the display screen. Optionally, if it is not possible to effectively determine whether the sensing signal is received by the surface of the display screen based on the selected amplified signal, the touch state detection unit may reselect at least two amplified signals with different amplification stages (e.g., select 4-6 amplified signals), and continuously select one of the amplified signals for detecting whether the sensing signal is received by the surface of the display screen.
In one embodiment, where the overflow rate selection amplified signal is used, step 122 includes steps 1221-1222:
in step 1221, the touch state detection unit determines a overflow rate of the amplified signal of each stage.
When the touch state detection unit performs analog-to-digital conversion on the amplified signal, the obtained digital signal is recorded as a digital amplified signal, and it can be understood that each stage of amplified signal has a corresponding digital amplified signal. Then, the touch state detection unit determines an overflow rate according to the total number of signal points contained in the digitized amplified signal and the total number of overflowed signal points. At this time, step 1221 may include steps 12211-12213:
step 12211, the touch state detection unit performs analog-to-digital conversion on each stage of amplified signal, to obtain a digitized amplified signal corresponding to each stage of amplified signal.
In one embodiment, an analog-to-digital converter is used to convert the analog amplified signal to a processable digitized amplified signal. The model number of the analog-to-digital converter and the set quantization bit number are not limited at present. At this time, the touch state detection unit may include an analog-to-digital converter, or the touch state detection unit transmits an amplified signal to the analog-to-digital converter and receives a digitized amplified signal fed back from the analog-to-digital converter.
In step 12212, the touch state detection unit counts the number of signal points in each step of the digitally amplified signal, where the signal value reaches the quantization threshold.
Illustratively, the quantization threshold refers to an upper quantization limit and a lower quantization limit, and reaching the quantization threshold may include being greater than or equal to the upper quantization limit and being less than or equal to the lower quantization limit. The signal value refers to the amplitude of the signal point at the time of analog-to-digital conversion.
The digitized amplified signal is composed of a plurality of digitized signal points, each signal point having a corresponding signal value. The total number of signal points is related to the length of the corresponding amplified signal and the sampling frequency at the time of analog-to-digital conversion. Optionally, the touch state detection unit records a signal point when a signal value reaches the quantization threshold value, and then the touch state detection unit counts the number of signal points when the signal value reaches the quantization threshold value in the digitized amplified signal.
In step 12213, the touch state detection unit determines the overflow rate of each level of the digitally amplified signal according to the number of signal points in each level of the digitally amplified signal for which the signal value reaches the quantization threshold value and the total number of signal points in each level of the digitally amplified signal.
In one embodiment, the calculation formula for the overflow rate can be expressed as:
Where r denotes an overflow rate, data_num denotes a signal value of signal points, sum denotes addition, sum (data_num) denotes a total number of signal points, data_num < = lower denotes a signal value of signal points less than or equal to a lower quantization limit, data_num > = upper denotes a signal value of signal points greater than or equal to an upper quantization limit, sum (data_num < = lower, data_num > = upper) denotes a number of signal points whose signal value is less than or equal to a lower quantization limit and greater than or equal to an upper quantization limit, i.e., a number of signal points reaching a quantization threshold. The overflow rate can be obtained after sum (data_num < = lower, data_num > = upper) is compared with sum (data_num).
Optionally, an effective digitally amplified signal is one that is sufficiently amplified and has little loss of detail due to spillover, and the effective digitally amplified signal is one that is both maximally amplified and retains amplification-related characteristics. In one embodiment, the signal is amplified in a digital manner with insufficient amplification (i.e., the amplification level corresponds to an excessively small amplification factor), and the overflow rate is generally 0, i.e., each signal point does not overflow. The digital amplified signal with reasonable amplification (i.e. the amplification factor corresponding to the amplification level is reasonable) has the overflow rate of 0-10%. When the overflow rate is greater than 10%, it indicates that the digitally amplified signal is amplified too much (i.e. the amplification factor corresponding to the amplification stage is too large), and the signal loss is serious (more details are lost). Thus, the validity of the digitally amplified signal can be determined by the overflow rate. For example, a digitally amplified signal with an overflow rate between 0 and 10% is used as the effective signal.
In one embodiment, the touch state detection unit performs multistage amplification on the original signal acquired by the first sensor in real time, and after obtaining the multistage amplified signal, the method may include: the touch state detection unit selects a first number of amplified signals from the multi-stage amplified signals, the first number being at least two, the first number of amplified signals being amplified signals having consecutive amplification stages. After the touch state detection unit determines the overflow rate of each stage of amplified signal, the touch state detection unit includes: the touch state detection unit determines that the first number of amplified signals is larger than the second number when the number of overflow rates exceeding the overflow rate range exceeds the second number, and the number of overflow rates exceeding the overflow rate range in the reselected amplified signals does not exceed the second number.
For example, when the number of amplification stages is greater, the touch state detection unit may obtain signals amplified to a greater extent, so that more data needs to be calculated when calculating the overflow rate of each amplified signal, so, in order to reduce the data calculation amount, the touch state detection unit may first select a certain number of amplified signals in the multiple-stage amplified signals, that is, first ignoring a part of the amplified signals, and currently, record the selected number as a first number, where the first number may be set according to practical situations, and generally, the first number is at least two. When the first number of amplified signals is selected, the first number of amplified signals having consecutive amplification stages may be selected, and at this time, the amplification stages of the selected amplified signals may be preset, for example, the current selected consecutive amplification stages are 1-3 stages, and at this time, the touch state detection unit selects amplified signals corresponding to 1 stage, 2 stage, and 3 stage. Optionally, when the overflow rate of the amplified signal exceeding the second number is not within the overflow rate range, the current selected amplification stage is unreasonable, more details are lost or effective amplification is not performed, wherein when more details are lost, the overflow rate exceeding the second number is higher than the overflow rate range, when effective amplification is not performed, the overflow rate exceeding the second number is lower than the overflow rate range, that is, after the amplified signal exceeding the first number is selected, whether the number of amplified signals exceeding the Yu Yichu rate range reaches the second number is firstly determined, and whether the number of amplified signals below the overflow rate range reaches the second number is determined, after that, if the number of amplified signals below the overflow rate range does not reach the second number, a certain stage of amplified signal is selected in the amplified signal of the first number, and if the number of amplified signals above the overflow rate range exceeds the second number or the amplified signals below the overflow rate range exceeds the second number, the amplified signal corresponding to the more reasonable amplification stage is reselected, wherein the second number can be set according to practical conditions, if the first number is 3 and the second number is 2. The overflow rate range may be set according to actual requirements, and in general, the amplified signal within the overflow rate range is a valid amplified signal. In general, the number of reselected amplification stages is also continuous. After reselection, continuing to determine whether more than a second number of the corresponding overflow rates are outside of the predetermined overflow rate range (either higher overflow rate or lower overflow rate), and further determining whether a reselection of the amplified signal is required. For example, after selecting the amplified signals of 1-3 stages, two overflow rates out of three overflow rates are determined to be 0, i.e. not in the overflow rate range, at this time, the amplified signals are considered to be not effectively amplified, so that the amplified signals of 4-6 stages are reselected, then two overflow rates out of three overflow rates are determined to be in the overflow rate range, and the amplified signals of 4-6 stages are determined to be reasonable. The sensing signal detection is then performed using the 4-6 stage digitized amplified signal.
Step 1222, the touch detection unit selects a first-level amplified signal less than the overflow rate threshold according to the overflow rate of the amplified signals at each level.
Illustratively, the currently selected amplified signal of the touch state detection unit is a digitized amplified signal, and an overflow rate of the digitized amplified signal is less than an overflow rate threshold. The overflow rate threshold is a priori value, which can be obtained through experience or experimental statistics, such as 10%. When the overflow rate is smaller than the overflow rate threshold, the loss caused by overflow in the analog-to-digital conversion is smaller. Thus, a digitally amplified signal having an overflow rate less than the overflow rate threshold may be selected.
In one embodiment, the digitized amplified signal less than the overflow threshold may be under amplified, for example, if the overflow rate is 0, the digitized amplified signal is not effectively amplified although it is less than the overflow threshold, and thus the touch state detection unit may select the digitized amplified signal less than the overflow threshold and as close to the overflow threshold as possible. At this time, step 1222 specifically includes: the touch state detection unit determines the overflow rate which is smaller than and closest to the overflow rate threshold in the overflow rates, takes the digital amplified signal corresponding to the determined overflow rate as the current selected primary amplified signal, and the digital amplified signal is the signal obtained after analog-to-digital conversion of the corresponding amplified signal.
Optionally, the touch state detection unit sorts the overflow rate of each digitized amplified signal from small to large, and selects the digitized amplified signal corresponding to the overflow rate which is smaller than the overflow rate threshold and closest to the overflow rate threshold.
After that, step 123 is performed.
Step 123, the touch state detection unit determines that the surface of the display screen receives the sensing signal according to the signal characteristic parameter of the selected amplified signal, and generates a touch state signal.
It can be understood that when the surface of the display screen does not receive the sensing signal, the original signal collected by the first sensor only includes a noise signal, and when the surface of the display screen receives the sensing signal, the original signal collected by the first sensor includes a superposition of the noise signal and the sensing signal, at this time, compared with the case where the noise signal is only represented, after the sensing signal is superimposed, some parameters of the corresponding digitized amplified signal may also change obviously, and by capturing this change, whether the sensing signal is received may be determined, in one embodiment, the touch state detection unit may determine whether the surface of the display screen receives the sensing signal by detecting some parameters of the digitized amplified signal that change obviously due to the sensing signal, and at present, the parameters of the apparent change due to the sensing signal are recorded as signal feature parameters, and in one embodiment, the signal feature parameters include peak-to-peak value, energy value and time-frequency point energy ratio, and at this time, step 123 may include steps 1231-1232:
In step 1231, the touch state detection unit determines the peak-to-peak value, the energy value, and the time-frequency point energy duty ratio of the selected amplified signal.
Peak-to-peak value is understood as the difference between the largest and smallest signal values in the digitally amplified signal. When the surface of the display screen receives the sensing signal, the peak-to-peak value increases suddenly, and when the surface of the display screen does not receive the sensing signal, the peak-to-peak value changes little. The energy value is understood to mean the energy of the digitized amplified signal, the energy value being greater when the surface of the display screen receives the sensing signal, and the energy value being the same as the energy value of the background noise (i.e., the noise signal) when the surface of the display screen does not receive the sensing signal. The energy duty ratio of the time frequency point can be understood as the ratio of the energy in the set frequency band in the digital amplified signal to the energy of the digital amplified signal in all frequency bands, wherein the set frequency band is a priori value, and the correlation between the signal point in the set frequency band and the sensing signal is large. When the surface of the display screen receives the sensing signal, the energy duty ratio of the time-frequency point is large, and when the surface of the display screen does not receive the sensing signal, the energy duty ratio of the time-frequency point is small. Based on this, the touch state detection unit calculates the peak-to-peak value, the energy value, and the time-frequency point energy duty ratio of the currently selected digitized amplified signal.
In step 1232, the touch state detection unit determines that the surface of the display screen receives the sensing signal and generates the touch state signal when the peak-to-peak value is greater than the peak-to-peak value threshold or the energy value is greater than the energy threshold and the energy duty ratio of the time-frequency point is greater than the duty ratio threshold.
The peak-to-peak value threshold, the energy threshold and the duty ratio threshold can be set according to practical situations, and respectively represent the minimum value of the peak-to-peak value, the energy value and the time-frequency point energy duty ratio when the surface of the display screen receives the sensing signal. Optionally, the peak-to-peak value threshold, the energy threshold and the duty ratio threshold form a detection threshold sequence.
After determining the peak-to-peak value, the energy value and the time-frequency point energy duty ratio of the currently selected digital amplified signal, the touch state detection unit judges whether the peak-to-peak value is larger than a peak-to-peak value threshold or whether the energy value is larger than an energy value threshold, and whether the time-frequency point energy duty ratio is larger than a duty ratio threshold, wherein one of the relationship between the peak-to-peak value and the energy value is or exceeds the threshold, and whether the other relationship exceeds the threshold is not considered currently, and when the time-frequency point energy duty ratio is larger than the duty ratio threshold and the peak-to-peak value or the energy value is larger than the corresponding threshold, the surface of the display screen is determined to receive the sensing signal, and a touch state signal (namely down) is generated. If the energy duty ratio of the time frequency point is larger than the threshold but neither the peak value nor the energy value is larger than the corresponding threshold, or the energy duty ratio of the time frequency point is not larger than the corresponding threshold, determining that the surface of the display screen does not receive the sensing signal.
It should be noted that when the surface of the display screen does not receive the sensing signal, the sudden noise may also cause the peak-to-peak value and the energy value to change, so that the peak-to-peak value and the energy value exceed the corresponding thresholds, for example, when the first sensor is a vibration sensor, and when the frame of the display screen receives a knock, the glass panel of the display screen also vibrates, at this time, the original signal collected by the vibration sensor may also reflect the current vibration, and the peak-to-peak value and the energy value of the corresponding digital amplified signal may also exceed the corresponding thresholds, so that only the peak-to-peak value and the energy value are used to judge whether the surface of the display screen receives the sensing signal or not has low accuracy. For another example, when the first sensor is a vibration sensor, the original signal collected by the vibration sensor may reflect the current vibration when the music is played by the interactive flat panel, and the time-frequency point energy ratio of the corresponding digital amplified signal may also exceed the duty ratio threshold, so that the accuracy of judging whether the sensing signal is received by the surface of the display screen is not high only by using the time-frequency point energy ratio. Based on the above, in the embodiment, the peak value or the energy value is used, and whether the sensing signal is received by the display screen or not is comprehensively judged according to the energy ratio of the time frequency points, so that the accuracy of sensing signal detection can be ensured.
In one embodiment, when the first sensor collects the original signal, due to the influence of the circuit in the interactive panel, the environmental noise and other factors, the noise signal exists in the original signal, and the noise signal is unfavorable for the detection of the sensing signal, so that after a certain level of digital amplified signal is selected, the sensing signal and the noise signal can be separated first. This process can also be considered as a process of filtering out noise signals.
Alternatively, when filtering noise signals, an autocorrelation or adaptive mode may be adopted. At this time, the touch state detection unit determines that the surface of the display screen receives the sensing signal according to the signal characteristic parameter of the selected amplified signal, and before generating the touch state signal, the touch state detection unit includes: the touch state detection unit performs autocorrelation operation on the selected amplified signal to obtain an autocorrelation calculation result; and when the maximum value of the autocorrelation calculation result is larger than the autocorrelation threshold, the touch state detection unit executes the operation of determining that the display screen receives the sensing signal according to the signal characteristic parameter of the selected amplified signal and generating a touch state signal.
Currently, the selected amplified signal is an digitized amplified signal. Illustratively, the stationary noise signal may be filtered out by autocorrelation or adaptation depending on the characteristics of the noise signal, with stationary noise and non-stationary noise being more common noise.
The noise signal (also referred to as noise) and the sensing signal are uncorrelated random signals, so that the result of the autocorrelation calculation is small, whereas the sensing signal is not a random signal, and is itself a correlated signal (both of which are related to stress or vibration at the time of touch), so that the result of the autocorrelation calculation is large. At this time, it can be determined whether the digitized amplified signal is related to the sensing signal by the autocorrelation calculation result of the digitized amplified signal.
Currently, the digitally amplified signal used is denoted s [ N ], n=0, 1, … …, N being the total number of signal points of the digitally amplified signal. s [ n ] represents the signal value of the nth signal point. The noise signal in the digital amplified signal is denoted as w [ n ], and the external force signal in the digital amplified signal is denoted as a [ n ]. At this time, s [ n ] can be expressed as:
s[n]=a[n]+w[n],n=0、1、……、N
n 1 the time-of-day digitized amplified signal (which can be understood to be the next selected digitized amplified signal) can be expressed as:
s[n+n 1 ]=a[n+n 1 ]+w[n+n 1 ],n=0、1、……、N
wherein s [ n+n ] 1 ]Represents n 1 Signal value of the nth signal point at the time instant. a [ n+n ] 1 ]Represents n 1 Signal values of the sensor signals in the nth signal point at the moment. w [ n+n ] 1 ]Represents n 1 Signal value of noise signal in the nth signal point at time instant.
For n 1 When the time digital amplified signal performs an autocorrelation operation, the autocorrelation calculation process can be expressed as follows:
Wherein R < n >]Representing the result of the autocorrelation calculation. Since the noise signal and the sensing signal are uncorrelated, therefore,and->The values of (2) are all approximately equal to zero. At this time, R < n >]Can be expressed as:
it will be appreciated that, since the autocorrelation calculation of the noise signal is small, therefore,negligible. At this time, R < n >]The result of the autocorrelation calculation of the sensing signal can be embodied.
After obtaining the autocorrelation calculation result, the touch state detection unit determines the maximum value of the autocorrelation calculation result, that is, selects the maximum value from the respective correlation calculation results corresponding to n=0, 1, … …, N, and then compares the maximum value with the autocorrelation threshold. The autocorrelation threshold may be obtained by experimental statistics or derived from constant false alarm detection (Constant False Alarm Rate, CFAR). In general, when the display screen receives the sensing signal, the maximum value of the autocorrelation calculation result is greater than the autocorrelation threshold. Therefore, when the touch state detection unit determines that the maximum value of the autocorrelation calculation result is greater than the autocorrelation threshold, it may be primarily considered that the surface of the display screen receives the sensing signal, that is, the digitized amplified signal may be related to the sensing signal, and therefore, an operation of generating the touch state signal when determining that the surface of the display screen receives the sensing signal according to the signal characteristic parameter of the selected amplified signal may be performed (that is, determining whether the display screen receives the sensing signal according to the peak-to-peak value, the energy value, and the time-frequency point energy ratio, and receiving the sensing signal, that is, generating the touch state signal). Otherwise, it is determined that the digitized amplified signal contains only noise signals, and therefore, the entire digitized amplified signal can be filtered out.
In one embodiment, after determining that the surface of the display screen may receive the sensing signal according to the autocorrelation calculation result, the noise signal in the digitized amplified signal may be filtered, so as to reduce interference of the noise signal when determining whether the sensing signal is received or not according to the signal characteristic parameter. At this time, the touch state detection unit performs an operation of generating a second state signal according to the sensing signal when it is determined that the surface of the display screen receives the sensing signal according to the selected amplified signal when the maximum value of the autocorrelation calculation result is greater than the autocorrelation threshold, and may include: the touch state detection unit detects a signal segment in a pulse form in the selected amplified signal when the maximum value of the autocorrelation calculation result is greater than the autocorrelation threshold; the touch state detection unit performs frequency domain transformation on the signal segment to obtain a frequency domain signal segment; the touch state detection unit selects a sub-frequency domain signal segment in a preset frequency band from the frequency domain signal segments; the touch state detection unit performs time domain transformation on the sub-frequency domain signal segment to obtain an amplified signal for filtering non-stationary noise, and performs an operation for generating a second state signal according to the sensing signal when determining that the surface of the display screen receives the sensing signal according to the signal characteristic parameter of the selected amplified signal.
For example, when the noise signal to be filtered is a non-stationary noise signal, time-frequency analysis may be used to analyze the time-domain characteristics and the frequency-domain characteristics of the digitally amplified signal. In particular, for the non-stationary noise signal in the digitally amplified signal, there is a significant difference between the sensing signal in the time domain and the frequency domain, and the sensing signal is concentrated in the frequency domain in a set frequency band, where the set frequency band is an empirical value, and the non-stationary noise signal may be distributed in the full frequency (i.e. all frequency bands of the digitally amplified signal in the frequency domain). The sensing signal is typically pulsed in the time domain (due to stress or vibration formation), and the non-stationary noise audio is not pulsed in the time domain and continues to appear, but does not disappear when the touch object touches the display surface but touches off the display surface. Based on the foregoing distinction, the touch state detection unit may filter the non-stationary noise signal in the digitized amplified signal by means of time-frequency analysis.
For example, in time-frequency analysis, the touch state detection unit first detects the digitally amplified signal in the time domain to select a reasonable signal segment (i.e., one of the digitally amplified signals). The detection section may be to detect a signal in a pulse form in the digitized amplified signal and select the signal section to obtain a signal section, where the noise signal detected in the time domain may be considered to be filtered. The pulse-form signal can also be understood as a pulse signal. Optionally, the touch state detection unit may detect the signal in the form of pulses by calculating a signal-to-noise ratio (SNR), a ringing rate (ringing count rate), a short-time energy variation value, or the like, where the ringing rate may be determined by a ratio of a maximum amplitude of the oscillating waveform to a pulse amplitude or a number of periods of oscillation, and the short-time energy variation value may be obtained by sliding window calculation of energy for the oscillating waveform. For example, a signal having a signal-to-noise ratio higher than a predetermined signal-to-noise ratio may be regarded as a pulse signal, or a signal having a ringing rate higher than a predetermined ringing rate may be regarded as a pulse signal, or a pulse signal may be regarded as occurring when the short-time energy variation value is greater than a predetermined threshold (i.e., a predetermined short-time energy variation value). It will be appreciated that if the touch state detection unit does not detect a signal in the form of a pulse in the digitized amplified signal, it may be determined that the digitized amplified signal is independent of the sensing signal, and thus, the entire digitized amplified signal may be filtered out.
After selecting the signal segment in the pulse form, the touch state detection unit performs frequency domain transformation (i.e. conversion into a signal in the frequency domain) on the signal segment to obtain a signal segment in the frequency domain, which is currently recorded as a frequency domain signal segment. The technical means used for the frequency domain transformation are currently not limited. Currently, frequency values at two ends of a preset frequency band in a sensing signal set are respectively marked as f1 and f2, and f1 and f2 are empirical values. The touch state detection unit obtains the frequency domain signal segment, obtains the components between f1 and f2, namely obtains the frequency domain signal segment in the preset frequency band, and records the obtained frequency domain signal segment in the preset frequency band as a sub-frequency domain signal segment at present, wherein the sub-frequency domain signal segment has a large correlation with the sensing signal, and then performs time domain transformation (namely, converts the sub-frequency domain signal segment into a signal in a time domain) to obtain a signal in the time domain, wherein the signal can be regarded as an amplified signal (currently a digital amplified signal) for filtering non-stationary noise. In one embodiment, the touch state detection unit filters out non-stationary noise signals (including interference signals) by a time-frequency domain filter. The type of the time-frequency domain filter is not limited, for example, the time-frequency analysis does not involve digitizing the phase signal of the amplified signal, so that an IIR filter may be used as the time-frequency domain filter to achieve an efficient filtering effect. The IIR filter is also called IIR digital filter, and is a relatively common filter. At this time, the touch state detection unit further includes a time-frequency domain filter, and inputs the digitized amplified signal to the time-frequency domain filter to obtain a digitized amplified signal with non-stationary noise filtered.
In one embodiment, when the surface of the display screen receives the sensing signal, the energy value of the sub-frequency domain signal segment in the preset frequency band is larger, so that it can be further determined whether the digitized amplified signal contains the sensing signal by combining the energy value. At this time, the touch state detection unit performs time domain transformation on the sub-frequency domain signal segment to obtain an amplified signal for filtering non-stationary noise, including: and when the touch state detection unit determines that the energy value of the sub-frequency domain signal segment is larger than the energy threshold value, performing time domain transformation on the sub-frequency domain signal segment to obtain an amplified signal for filtering non-stationary noise.
The touch state detection unit may extract a sub-frequency domain signal segment within a preset frequency band, calculate an energy value of the sub-frequency domain signal segment, and if the energy value is greater than a preset energy threshold (which may be set empirically), determine that the sub-frequency domain signal segment is related to the sensing signal, and at this time, perform time domain transformation on the sub-frequency domain signal segment to obtain a digitized amplified signal for filtering non-stationary noise.
It should be noted that, the touch state detection unit may filter noise by means of autocorrelation operation and time-frequency analysis, at this time, the touch state detection unit performs autocorrelation operation on the selected digitized amplified signal, then performs time-frequency analysis if the maximum value of the autocorrelation calculation result obtained by the autocorrelation operation is greater than the autocorrelation threshold, and when the time-frequency analysis is performed, the energy value of the signal segment in the sub-frequency domain is greater than the energy threshold, it is determined that the digitized amplified signal (the signal in the pulse form within the set frequency band) related to the sensing signal is obtained, at this time, the noise signal is attenuated to a great extent, and then the touch state detection unit further determines the digitized amplified signal from which the noise signal is removed, so as to determine whether the sensing signal is received by the display screen. If the maximum value of the autocorrelation calculation result is not greater than the autocorrelation threshold, the signal segment in the pulse form is not selected or the energy value of the signal segment in the sub-frequency domain is not greater than the energy threshold, the digitized amplified signal is determined to be a noise signal, and therefore, the subsequent processing is not performed.
And 130, the processing unit generates an shielding state signal according to the shielding data signal, and determines that the display screen receives touch operation according to the shielding state signal and the touch state signal.
The processing unit is configured to determine whether the blocked light exists at present based on the blocking data signal after receiving the blocking data signal, and if the blocked light exists, determine that the touch object exists to generate blocking, and generate a blocking state signal, where the blocking state signal is used to indicate that the light exists at present and that there is a possibility that the touch object contacts the surface of the display screen. In one embodiment, the occlusion status signal includes both down and move, down indicating that the touch object has fallen and just contacted the surface of the display screen, and move indicating that the touch object has contacted the surface of the display screen and moved across the surface. It is understood that the signal corresponding to the occlusion status signal may be denoted as a non-occlusion status signal, which is used to indicate that no light is occluded, and the non-occlusion status signal may be denoted as up. Taking a writing scene as an example, during one writing process, the processing unit generates at least down, move, move, … … and up.
When the touch object just touches the surface of the display screen, namely from up to down (lifting to pen down), the number of the blocked light rays is changed from 0 to a non-zero value, so that when the processing unit generates up at the previous moment and determines that blocking occurs according to the touch data signal at the current moment, the blocked light rays are generated to down. And when the processing unit generates down or move at the previous moment and the current moment determines that shielding occurs according to the touch data signal, generating move. And when the processing unit determines that shielding does not occur at the current moment according to the touch data signal, generating up. Optionally, when the touch object just touches the surface, the change amount of the blocked light ray will change relatively greatly, and when the touch object moves on the surface of the display screen, namely from down to move (from pen down to move) or from move to move (continuously move), the touch object continuously blocks the light ray, at this time, the change amount of the blocked light ray is smaller, and is smaller than the change amount from up to down, when the touch object leaves the surface of the display screen, namely from down to up or from move to up, the change amount of the blocked light ray will also change relatively greatly, namely from a non-zero value to zero, so when the processing unit generates down, move and up, the change amount of the blocked light ray can be combined to assist in verifying whether the generated down, move and up are accurate. For example, when generating down, the processing unit determines whether the number of changes in the current blocked light is greater than a number threshold (the number threshold is the minimum value of the number of changes in the blocked light when the touch object falls and lifts), and if so, generates down, otherwise, considers as false blocking, and thus does not respond. It should be noted that the down and up signals generated by the processing unit are different from the meaning of the specific representation of the down and up signals sent by the touch state detection unit, and in the data structure of the processing unit, they belong to a certain byte in different data formats, so that they can be effectively distinguished.
Optionally, when the processing unit generates the occlusion status signal (down or move), the processing unit may further determine an occlusion position according to the occlusion data signal, where an existing determination manner is used for determining the occlusion position currently. The occlusion position may be represented by two-dimensional coordinates in a two-dimensional coordinate system, which is a coordinate system used by the optical network.
When the processing unit generates the blocking state signal (down or move), it can be clear that a plurality of light rays on the surface of the display screen are blocked, but it cannot be determined whether the blocking object hovers above the screen of the display screen or has touched the display screen, so the blocking state signal is only a necessary insufficient condition for judging the touch operation, and at this time, the processing unit also needs to combine the detection result (touch state signal or non-touch state signal) reported by the touch state detection unit to judge whether the touch operation is received.
For example, if the touch state signal is received when the processing unit generates the shielding state signal, it is determined that light is shielded and the surface of the display screen receives the sensing signal, so that it can be determined that the display screen receives the touch operation. Optionally, if the occlusion status signal is down and the touch status signal is down, the processing unit determines that the current touching object has just touched the surface of the display screen, and if the occlusion status signal is move and the touch status signal is down, the processing unit determines that the current touching object has touched the surface of the display screen and moves. At this time, the processing unit may determine the shielding position as a touch position of the touch operation. Thereafter, the processing unit responds to the touch operation based on the touch position. For example, in a writing scene, when the processing unit responds to writing operation, and when the processing unit determines that the touch operation is writing operation (such as that the touch position is changed), the processing unit sets the state of the display screen to be writing state, and displays a corresponding writing track according to the touch position. When the touch operation is other non-writing touch operation (such as that the touch position is not changed), the processing unit sets the state of the display screen to be a touch state, determines display content aimed at by the touch operation according to the touch position, and further responds correspondingly. For another example, in the writing scene, an application program with a writing function responds to writing operation, the application program is currently running and displays a corresponding interface in a display screen, at this time, the processing unit sends the received touch operation, touch position and the like to the application program, and the application program responds to the touch operation.
It should be noted that, the execution timing of step 110 and step 120 is not specifically limited, and the optical detection unit and the touch state detection unit both operate in real time, so that the processing unit determines whether a touch operation is detected in real time. In addition, the processing unit may be one or two or more. When there are two processing units, one of the processing units can be used for calculating the shielding state signal, and the other processing unit is used for judging whether touch operation is received or not by combining the shielding state signal and a detection result (touch state signal or non-touch state signal) reported by the touch state detection unit.
The method comprises the steps that the optical detection unit detects the receiving condition of the light covered on the surface of the display screen and reports the shielding data signal to the processing unit, the touch state detection unit amplifies the original signal acquired by the first sensor arranged on the back of the display screen in real time in multiple stages, when the surface of the display screen receives the sensing signal based on the amplified signals in multiple stages, the touch state signal is reported to the processing unit, the processing unit generates the shielding state signal according to the shielding data signal, and the processing unit determines the technical means that the display screen receives the touch operation according to the shielding state signal and the touch state signal, so that the technical problem that false detection is easy to occur when the optical detection means is used for detecting the touch operation in the related art is solved. On the basis of optical detection, a first sensor is added, wherein the first sensor is a mechanical sensor or a vibration sensor arranged on one side of the display screen away from a user, so that acting force generated when the display screen is touched is detected, the problem of false detection caused by a certain distance between light rays and the surface of the display screen is solved, and the detection accuracy is improved. And through carrying out multistage amplification to the original signal that first sensor gathered, can guarantee that the signal variation that brings when touch operation contacted the display screen with different dynamics and different speeds can be amplified under reasonable signal to noise ratio, guaranteed the degree of accuracy of touch state signal, and then further improved the detection accuracy. And moreover, the validity judgment is carried out through the overflow rate, so that the amplified signals with reasonable amplification stages can be selected, and the characteristics of the signals are kept to the greatest extent while the signals are reasonably amplified. In addition, the noise signals are filtered through a multidimensional noise reduction mode (autocorrelation and time-frequency analysis), so that the influence of the noise signals on a detection result can be reduced, and the detection accuracy is improved. And the touch state detection unit judges whether the surface of the display screen receives the sensing signal or not through a multi-dimensional fusion mode (namely through peak-to-peak value, energy value and time-frequency point energy ratio), so as to determine whether to generate the touch state signal, thereby ensuring the accuracy of sensing signal detection and further improving the detection accuracy of touch operation.
In one embodiment of the present application, there is a case that the processing unit only receives the touch state signal, but does not generate the occlusion state signal (i.e. generates the non-occlusion state signal), where the touch detection method further includes: and when the processing unit receives the touch state signal and generates a non-shielding state signal according to the shielding data signal, determining that the display screen does not receive touch operation.
It can be understood that the touch operation inevitably blocks light, and if the processing unit determines that no blocked light exists currently according to the blocking data signal, that is, no touch object approaches or touches the surface of the display screen, a non-blocking state signal (that is, up) is generated, and at this time, whether the touch state signal is received or not, the processing unit considers that no touch operation is detected. At this time, if the processing unit receives the touch state signal but does not generate the blocking state signal (i.e., generates the non-blocking state signal), the sensing signal detected by the touch state signal may be considered to belong to noise interference, and thus, is not processed.
In the above, when the processing unit does not generate the non-shielding state signal, whether the touch state signal is received or not, the touch operation is considered not to be detected, so that the influence on the detection result of the touch operation when the touch state signal is generated by mistake due to noise interference is avoided, and the detection accuracy of the touch operation is ensured.
Fig. 2 is a flowchart of a touch detection method according to an embodiment of the present application. The touch detection method is based on the above embodiment, and a description of a scene having only an occlusion state signal and no touch state signal is added. Referring to fig. 2, the touch detection method includes:
step 210, the optical detection unit determines an occlusion data signal according to the light signal received by the light receiver and reports the occlusion data signal to the processing unit. Step 230 is performed.
Step 220, the touch state detection unit amplifies the original signals acquired by the first sensor in real time in multiple stages, and generates a non-touch state signal when the surface of the display screen is determined to not receive the sensing signals based on the amplified signals in multiple stages, and reports the non-touch state signal to the processing unit. Step 230 is performed.
The touch state detection unit continuously judges whether the surface of the display screen receives the sensing signal or not, generates a touch state signal (namely down) and reports the touch state signal to the processing unit when the surface of the display screen receives the sensing signal, and generates a non-touch state signal (namely up) and reports the non-touch state signal to the processing unit when the surface of the display screen does not receive the sensing signal. That is, the touch state detection unit continuously reports the current detection result for the sensing signal to the processing unit.
The touch state detection unit performs multistage amplification on the original signal acquired by the first sensor in real time to obtain multistage amplified signals, selects one stage of amplified signals from the multistage amplified signals, and generates a non-touch state signal when the display screen does not receive the sensing signal according to the selected amplified signals. The touch state detection unit may select the first-stage amplified signal according to an overflow rate of the first-stage amplified signal. The process may be described with reference to step 122 in the previous embodiments. The touch state detection unit determines the peak-to-peak value, the energy value and the time-frequency point energy duty ratio of the selected amplified signal, and if the time-frequency point energy duty ratio is not larger than the duty ratio threshold or both the peak-to-peak value and the energy value are smaller than the corresponding thresholds, the display screen is determined to not receive the sensing signal, and a non-touch state signal (i.e. up) is generated. Optionally, when the touch state detection unit filters noise, sub-correlation operation is performed on the selected amplified signal, and if the maximum value of the autocorrelation calculation result is not greater than the autocorrelation threshold, it is determined that the surface of the display screen does not receive the sensing signal, and a non-touch state signal is generated. The touch state detection unit also determines that the surface of the display screen does not receive the sensing signal if the signal segment in the pulse form is not selected in the selected amplified signal, and generates a non-touch state signal. The touch state detection unit also determines that the surface of the display screen does not receive the sensing signal when the energy value of the signal segment in the pulse form selected by the section is not larger than the energy threshold value in the preset frequency band, and generates a non-touch state signal.
Step 230, when the processing unit generates an occlusion status signal according to the occlusion data signal at the current time and receives the non-touch status signal, determining a real-time quantity value of the occluded light at the current time according to the occlusion data signal, determining a first quantity change value of the occluded light at the current time according to the real-time quantity value, and if the first quantity change value is greater than or equal to a first quantity threshold and less than or equal to a second quantity threshold, determining that the display screen receives a touch operation, wherein the second quantity threshold is greater than the first quantity threshold.
For the processing unit, four cases are included when it detects a touch operation: 1. generating an occlusion state signal and receiving a touch state signal; 1. generating a non-shielding state signal and receiving a touch state signal; 2. generating a non-shielding state signal and receiving the non-touch state signal; 4. an occlusion status signal is generated and a non-touch status signal is received. The response modes of the first three cases have been described in the foregoing embodiments, and currently, the fourth case is described, and the detected touch operation is a movement operation, which means that the touch object is required to move on the surface of the display screen.
Currently, the reason why the processing unit generates the occlusion status signal according to the occlusion data signal and receives the non-touch status signal may be: the touching object can shield light but does not touch the display screen (for example, the touching object hovers above the display screen), and can also be: the touch strength is too light so that the touch state detection unit does not detect the sensing signal, for example, when the strength of touching the display screen by a touch object becomes light or the speed of touching becomes small, the amplitude of the change of the original signal acquired by the first sensor is very small, the sensing signal is easily submerged in the noise signal, at this time, the touch state detection unit is easy to erroneously recognize that the surface of the display screen does not receive the sensing signal, and generates an untouched state signal, so that the processing unit is required to further judge whether the touch operation is currently received.
At present, when a touch object hovers, the movement of the touch object is small, the change of the number of the shielded light rays is small, and when the touch object moves in contact with the display screen, the change of the number of the shielded light rays is large, so that whether touch operation is received or not can be determined through the number of the shielded light rays. Specifically, when the processing unit generates the occlusion status signal, the number of the occluded light rays is counted based on the occlusion data signal, in the embodiment, the number of the occluded light rays counted at the current moment is counted as a real-time number value of the occluded light rays, and it can be understood that the processing unit can count the real-time number value in real time, and when the occlusion is not present (i.e. when the non-occlusion status signal is generated), the real-time number value is zero. The method includes calculating an absolute value of a difference between a real-time quantity value at a current time and a real-time quantity value at a previous time after counting the real-time quantity value, wherein the difference can represent a degree of increasing or decreasing the quantity of the shielded light at the current time. And comparing the first quantity change value with a first quantity threshold value and a second quantity threshold value, wherein the first quantity threshold value and the second quantity threshold value are quantity threshold values which are set in combination with actual conditions, the first quantity threshold value is smaller than the second quantity threshold value, the first quantity threshold value can be understood as the minimum value of quantity change (absolute value) of the shielded light rays when the touch object contacts the surface of the display screen and moves, and the second quantity threshold value can be understood as the minimum value of quantity change (absolute value) of the shielded light rays when the touch object just contacts the surface of the display screen or just leaves the surface of the display screen. When the processing unit generates a shielding state signal and receives a non-touch state signal, if the first quantity change value is larger than or equal to a first quantity threshold value, the quantity change condition of the current shielded light rays is satisfied, namely, the touch object moves on the surface of the display screen when the touch object contacts and moves on the surface of the display screen, and if the first quantity change value is smaller than or equal to a second quantity threshold value, the touch object is not separated from the surface of the display screen, and therefore, when the first quantity change value is larger than or equal to the first quantity threshold value and smaller than the second quantity threshold value, the processing unit considers that the touch object contacts the surface of the display screen, namely, the touch operation is determined to be received.
In one embodiment, after determining the real-time quantity value of the current moment of the blocked light according to the blocking data signal and determining the first quantity change value of the current moment of the blocked light according to the real-time quantity value, the processing unit may further include: if the first quantity change value is smaller than the first quantity threshold value, the processing unit determines that the display screen does not receive touch operation.
For example, after comparing the first quantity change value with the first quantity threshold value and the second quantity threshold value, if the first quantity change value is smaller than the first quantity threshold value, it is indicated that the quantity change condition of the currently blocked light is insufficient to satisfy the quantity change condition of the touching object when the touching object contacts and moves on the surface of the display screen (the touching object moves very little when hovering, so the first quantity change value is very small), and therefore, the processing unit considers that the touching object does not touch the surface of the display screen, i.e. does not receive the touching operation, and gives up the response.
In one embodiment, after determining the real-time quantity value of the current moment of the blocked light according to the blocking data signal and determining the first quantity change value of the current moment of the blocked light according to the real-time quantity value, the processing unit further includes: if the first quantity change value is larger than the second quantity threshold value, the processing unit continues to calculate the second quantity change value of the blocked light at the next moment; if the second number change value is greater than or equal to the first number threshold value and less than or equal to the second number threshold value, the processing unit determines that the display screen receives touch operation; if the second quantity change value is smaller than the first quantity threshold value, the processing unit determines that the display screen does not receive touch operation.
For example, after comparing the first quantity change value with the first quantity threshold value and the second quantity threshold value, if the first quantity change value is greater than the second quantity threshold value, it is indicated that the current touching object just touches the surface of the display screen, and thus, it may be considered that the touch operation is received. Optionally, when the touch object just hovers over the surface of the display screen, the number of changes in the number of blocked light rays may also be greater than the second number threshold, for example, when the touch object is very close to the surface of the display screen, the number of blocked light rays is equal to or close to the number of blocked light rays when the touch object contacts the surface of the display screen, so the processing unit needs to further determine whether the touch object contacts the display screen. When further judging, the processing unit counts the number of the blocked light rays at the next moment by combining the blocking data signals at the next moment, then calculates the absolute value of the difference value between the number of the blocked light rays at the next moment and the number of the blocked light rays at the previous moment (here, the current moment), and currently, for convenience of distinguishing, records the absolute value of the difference value obtained based on the real-time number value of the blocked light rays at the next moment and the real-time number value of the blocked light rays at the current moment as a second number change value, then compares the second number change value with a first number threshold value and a second number threshold value respectively, and if the second number change value is larger than or equal to the first number threshold value and smaller than the second number threshold value, then indicates that the touch object moves on the surface of the display screen. If the second number of change values is less than the first number of threshold values, it is indicated that the touch object hovers over the surface of the display screen, and therefore the processing unit determines that no touch operation has been received. If the second number of change values is greater than the second number of threshold values, it is indicated that the light blocked at the current time may be due to false blocking caused by other factors (non-touch operation), and therefore, the processing unit determines that the touch operation is not received. It should be noted that when the touch object leaves the surface of the display screen, the first quantity change value is also greater than the second quantity threshold value, at this time, whether the real-time quantity value of the shielded light at the next moment is zero can be further judged, and if the real-time quantity value is zero, the touch object is determined to leave the display screen. Therefore, the method can accurately recognize the condition that the touching object leaves the display screen, namely, the condition that the pen is lifted in the writing process.
In one embodiment, there is a case where the first number change value is greater than or equal to the first number threshold and less than or equal to the second number threshold, but the touch object is still not touching the display screen, for example, the touch object hovers on the surface of the display screen and moves, at this time, in order to ensure the detection accuracy of the touch operation, the processing unit may further determine. Accordingly, the touch state detection unit performs multistage amplification on the original signal acquired by the first sensor in real time, and after obtaining multistage amplified signals, the touch state detection unit further comprises: the touch state detection unit selects a third number of amplified signals from the multiple stages of amplified signals, the third number being at least two, the third number of amplified signals being amplified signals having consecutive amplification stages. If the first quantity change value is greater than or equal to the first quantity threshold value and less than or equal to the second quantity threshold value, the processing unit determines that the display screen receives the touch operation, and may include: if the first quantity change value is larger than or equal to the first quantity threshold value and smaller than or equal to the second quantity threshold value, the processing unit instructs the touch state detection unit to reselect a third quantity of amplified signals and select a first-stage amplified signal from the third quantity of amplified signals, the surface of the display screen is determined to receive a sensing signal according to the selected amplified signals, a touch state signal is generated, the touch state signal is reported to the processing unit, and the amplification level of the reselected amplified signal is larger than that of the amplified signal before reselection; and the processing unit determines that the display screen receives touch operation according to the shielding state signal and the touch state signal.
For example, in further judgment, in order to ensure that the touch operation is accurately identified, the number of amplification stages currently used may be changed to ensure that the sensing signal is accurately amplified and detected. Specifically, the process of selecting the third number of amplified signals in the multi-stage amplified signals by the touch state detection unit may refer to the process of selecting the first number of amplified signals in the multi-stage amplified signals by the touch state detection unit, the third number may be set according to actual conditions, and the third number may be equal to the first number. The processing unit instructs the touch status detection unit to reselect the third number of amplified signals among all of the amplified signals when the first number of variation values is determined to be greater than or equal to the first number of threshold values and less than or equal to the second number of threshold values, wherein the reselection process may refer to the reselection of the relevant description of the first number of amplified signals in step 120. The amplification level of the reselected amplified signal is generally greater than or partially greater than that of the previously selected amplified signal, that is, the amplification factor is increased, so that the sensing signal is captured and amplified, and then the touch state detection unit reselects the first-level amplified signal among the reselected amplified signals, determines whether the sensing signal is received by the surface of the display screen based on the selected amplified signals, and generates and reports a touch state signal to the processing unit when it is determined that the sensing signal is received by the display screen, where the processing unit may determine that a touch operation is received based on the touch state signal and the shielding state signal. When the touch state detection unit determines that the surface of the display screen does not receive the sensing signal, a non-touch state signal is generated and reported to the processing unit, and at this time, the processing unit can continuously judge whether touch operation is received or not based on the non-touch state signal and the shielding state signal. It is understood that if the touch state detection unit has reselected all of the amplified signals but still does not detect the sensing signal, the processing unit determines that the touch operation is not received.
Alternatively, the process of reselecting the amplification stages may be performed when the occlusion state signal is generated but the non-touch state signal is received, that is, reselecting the amplification signals corresponding to different amplification stages, and determining whether the sensing signals are detected, if all the amplification signals have been reselected, but the sensing signals are still not detected, the processing unit calculates a first quantity change value, and determines whether the touch operation is received by combining the first quantity threshold value and the second quantity threshold value.
It should be noted that when the touch object leaves the display screen, the touch state detection unit may further determine the energy value of the selected amplified signal when the touch object does not detect the sensing signal, and then compare the currently determined energy value with the energy value of the amplified signal selected at the previous time to determine whether the energy attenuation of the amplified signal accords with the attenuation rule when the touch object leaves the surface of the display screen. It will be appreciated that the energy of the original signal collected by the first sensor will be substantially attenuated as the touching object leaves the display screen. If the energy attenuation of the amplified signal accords with the attenuation law when the touch object leaves the display screen, the touch state detection unit generates a non-touch state signal and notifies the processing unit together with the energy attenuation of the amplified signal accords with the attenuation law when the touch object leaves the display screen. If the energy attenuation of the amplified signal does not conform to the attenuation law when the touch object leaves the display screen, the speed of touching the touch object is slow (i.e. the touch object moves slowly) or the force of the touch object touching the surface of the display screen is light, at this time, the touch state detection unit does not generate a touch state signal and notifies the processing unit that the energy attenuation of the amplified signal does not conform to the attenuation law when the touch object leaves the display screen. When the processing unit receives the non-touch state signal and generates the shielding state signal, if the energy attenuation of the amplified signal sent by the touch state detection unit is in accordance with the attenuation rule when the touch object leaves the display screen, the processing unit determines that the touch operation is not received, and if the energy attenuation of the amplified signal sent by the touch state detection unit is not in accordance with the attenuation rule when the touch object leaves the display screen, the processing unit calculates a first quantity change value and determines whether the touch operation is received or not according to the first quantity change value.
According to the technical means that the optical detection unit generates the shielding data signal according to the received light ray signal and reports the shielding data signal to the processing unit, the touch state detection unit reports the non-touch state signal to the processing unit when detecting that the display screen does not receive the sensing signal according to the first sensor arranged on the deviating surface of the glass panel of the display screen, the processing unit generates the shielding state signal according to the shielding data signal and determines whether the display screen receives the touch operation according to the change condition of the quantity of the shielded light ray when receiving the non-touch state signal, detection correction can be realized, and when the strength of the touch display screen is lighter, the change speed of the touch position or the change amplification level can be combined to further detect the touch operation, so that the detection accuracy of the touch operation is improved. And when the change condition of the quantity of the blocked light rays accords with the change condition of the quantity of the blocked light rays when the touch object moves on the surface of the display screen, whether the sensing signal is detected or not can be further judged by reselecting the amplification level of the amplified signal, so that the detection accuracy of touch operation is further improved, the condition that the touch object leaves the touch display screen can be accurately identified, and the detection accuracy of the touch state in the writing process is improved.
In one embodiment of the present application, there is a short pause (i.e., a short rest of the touch object) from when the touch object just touches the display screen to when the touch object is controlled (e.g., moved), such as a short pause from the time of pen down to the time of starting writing when the touch object is written in the display screen. The short pause can make the stress or vibration generated by the display screen smaller (namely, the sensing signal smaller), and then the touch state detection unit does not detect the sensing signal and generates a non-touch state signal. At this time, the processing unit generates an occlusion status signal and receives a non-touch status signal. In addition, during the pause period, the first quantity change value may be smaller than the first quantity threshold value, so the processing unit may consider that no touch operation is received, in this case, in order to avoid an influence on the touch operation during the pause period, the touch state detection unit needs to perform additional processing for the pause period when the touch object just touches the display screen, and in one embodiment, when the touch state detection unit determines that the surface of the display screen receives the sensing signal based on the multi-level amplified signal, generating the touch state signal, and reporting the touch state signal to the processing unit includes: the touch state detection unit determines that the touch starts and generates a touch state signal when the surface of the display screen receives a sensing signal at the current moment and does not receive the sensing signal at the previous moment based on the multi-stage amplified signals, and reports the touch state signal to the processing unit; the touch state detection unit enters a resting stage, and the touch state detection unit stops detecting the sensing signal and reporting the detection result to the processing unit in the resting stage; and when the touch state detection unit determines that the duration of the resting stage reaches the first duration, ending the resting stage, continuously amplifying the original signal acquired in real time according to the first sensor in multiple stages, generating a touch state signal when the surface of the display screen receives the sensing signal based on the amplified signal in multiple stages, and reporting the touch state signal to the processing unit. Correspondingly, the touch detection method further comprises the following steps: and in the rest stage, when the processing unit generates an shielding state signal according to the shielding data signal and does not receive the detection result reported by the touch state detection unit, determining that the display screen receives touch operation.
For example, when the touch state detection unit determines that the sensing signal is received by the surface of the display screen at the current moment, it may determine whether the sensing signal is a sensing signal when the touch object just touches the display screen or a sensing signal when the touch object moves on the display screen. It can be understood that when the touch state detection unit detects the sensing signal at the current moment and does not detect the sensing signal at the previous moment, it can be considered that the touch object does not contact the surface of the display screen at the previous moment, and the touch object contacts the surface of the display screen at the current moment, that is, the touch object just contacts the display screen at the current moment (that is, the touch starts), at this moment, the touch state detection unit generates the touch state signal and reports the touch state signal to the processing unit, so that the processing unit determines whether the touch operation is detected, and the touch state detection unit enters the stationary phase.
It should be noted that when the touch object just touches the display screen, the force is relatively large, and the sensing signal is relatively obvious and is easily detected by the touch state detection unit, so the touch state detection unit can also detect whether the current sensing signal is the sensing signal when the touch object just touches the display screen or the sensing signal when the touch object moves on the display screen by detecting the energy value, the time-frequency point energy ratio and the like of the amplified signal, if the energy value when the touch object just touches the display screen is larger than the energy value when the touch object just touches the display screen, or if the time-frequency point energy ratio when the touch object just touches the display screen is larger than the time-frequency point energy ratio when the touch object just touches the display screen.
After the touch state detection unit enters the rest phase, the sensing signal is not detected any more, and the touch state signal and the non-touch state signal are not generated. The processing unit may not receive the touch state signal and the non-touch state signal, and at this time, the processing unit may also determine that the touch state detection unit has entered the rest phase. Optionally, when the processing unit does not receive the detection result reported by the touch state detection unit, if the shielding state signal is generated, it is determined that the touch object is still continuously shielding light after contacting the surface of the display screen, so that it is determined that the touch operation is detected, if the shielding state signal is not generated, it is determined that the touch object is not continuously shielding light after contacting the surface of the display screen (for example, when the touch object is clicked, the touch object is quickly separated from the display screen after falling down), and therefore, when the shielding state signal is not generated by the processing unit, it is determined that the touch operation is not detected. Therefore, when the processing unit does not receive any signal reported by the touch state detection unit, detection of touch operation is realized by means of the shielding data signal reported by the optical detection unit.
Illustratively, after the touch state detection unit enters the rest phase, a timer is started to determine a duration of the rest phase, and then the rest phase is ended when the duration reaches a first duration. The first duration is a duration of a short pause when the touch object contacts the display screen, and may take an empirical value. When the duration reaches the first duration, the short pause is ended, at this time, the touch state detection unit continues to start detecting the sensing signal, that is, whether the display screen receives the sensing signal or not is determined again based on the original signal acquired by the current first sensor, and when the display screen is determined to receive the sensing signal, the touch state signal is continuously generated and reported to the processing unit, when the display screen is determined not to receive the sensing signal, the non-touch state signal is continuously generated and reported to the processing unit, at this time, when the processing unit receives the detection result reported by the touch state detection unit again, whether touch operation is detected or not can be determined continuously based on the detection result reported by the touch state detection unit and the shielding data signal reported by the optical detection unit. Optionally, when the sensing signal detected by the touch state detecting unit is not the sensing signal when the touch object just touches the display screen, the stationary phase is not entered.
It should be noted that in practical applications, the interactive tablet may be applied in one of three modes (reselecting the amplified signal, changing based on the number of the blocked light rays, and entering a stationary phase), or may be applied in multiple modes, for example, when the processing unit does not receive any signal reported by the touch state detection unit, the processing unit relies on the optical detection unit to implement detection of the touch operation, and when the processing unit receives the non-touch state signal and generates the blocked state signal, the processing unit instructs the touch state detection unit to reselect the amplified signal. Or when the processing unit receives the non-touch state signal and generates the shielding state signal, the processing unit combines the change condition of the quantity of the shielded light rays to realize the detection of touch operation, and can reselect the amplified signal in the detection process.
Above-mentioned, touch state detecting element confirms that the surface of display screen receives the sensing signal at the present moment and after the sensing signal was not received at the previous moment, gets into stationary phase, and stationary phase in-process is continued, touch state detecting element no longer reports any testing result, and when the testing result that touch state detecting element reported was not received to the processing unit, relies on optical detecting element to realize touch operation's detection, can avoid touching the thing and stop when making the sensing signal received by the display screen diminish from falling down to moving, to touch operation testing result's influence, has improved touch detection accuracy.
An exemplary description of the touch detection method provided in the embodiment of the present application is given below. Fig. 3 is a schematic front view of a display screen according to an embodiment of the present application, and fig. 4 is a schematic back view of a display screen according to an embodiment of the present application. Referring to fig. 3, an optical detection unit 12 is provided at an edge of a front surface (a surface to be imaged) of the display screen 1, and each light emitted from a light emitter of the optical detection unit 12 covers a surface of the display screen 1 and is received by a light receiver of the optical detection unit. Referring to fig. 4, the back surface of the display screen 1 corresponds to a portion between the display screen 1 and the rear case of the interactive flat panel. The back surface of the display screen 1 is provided with a first sensor 131 and a processing unit 14 of the touch state detection unit 13, and the touch state detection unit 13 is further provided with a multi-stage amplification circuit 132 and a signal processing unit (i.e., a touch detection processing subunit) 133. The multistage amplifying circuit consists of three amplifiers. It should be noted that, the first sensor 131 is attached to the back surface of the glass panel of the display screen, and other devices, such as the processing unit 14, the multistage amplifying circuit 132 and the signal processing unit 133, are mounted inside the interactive flat panel, but may not be attached to the glass panel.
When a user writes in the display screen using the stylus pen, the writing trace is as shown in fig. 5 when the touch operation is recognized only using the optical detection unit. In fig. 5, the first pen and the second pen of the "Tian" word are relatively close to each other, and in the writing process of the user, the movement of the touch pen away from the display screen is not obvious, at this time, the touch pen does not contact the display screen but still blocks light, the processing unit continuously receives the blocking state signal, determines that the touch operation is detected based on the blocking state signal, and draws the corresponding writing track based on the blocking position.
When the user writes the same content as fig. 5 in the display screen by using the touch pen, the optical detection unit and the touch state detection unit are used for identifying the touch operation together, at this time, when the user writes a "day" word, between the first pen and the second pen, the touch state detection unit generates a non-touch state signal because the touch pen leaves the display screen, at this time, the processing unit receives the non-touch state signal and generates an occlusion state signal, after that, when determining that the first number change value is greater than or equal to the first number threshold value and less than or equal to the second number threshold value, the processing unit instructs the touch state detection unit to reselect a plurality of amplified signals of different stages, and if the touch state detection unit still fails to detect a sensing signal after reselection, the processing unit determines that the touch operation is not detected, at this time, the writing track is as shown in fig. 6. The writing trace shown in fig. 6 is more consistent with the actual writing of the user than the writing trace shown in fig. 5.
An embodiment of the present application further provides a touch detection method, where the touch detection method may be performed by a touch detection device, and the touch detection device may be implemented by software and/or hardware, where the touch detection device may be configured by two or more physical entities or may be configured by one physical entity. The touch detection device can be an electronic device with a touch control function, such as an interactive tablet, a tablet computer, an intelligent television and the like. In one embodiment, a touch detection method is exemplarily described with a touch detection device as an interactive tablet. The interactive flat panel comprises a display screen, a processing unit, an optical detection unit and a touch state detection unit, wherein the optical detection unit comprises a light emitter and a light receiver, all light emitted by the light emitter is covered on the surface of the display screen and received by the light receiver, the touch state detection unit comprises at least one first sensor, the first sensor comprises a mechanical sensor or a vibration sensor, and the first sensor is arranged on one surface, deviating from a user, of the display screen.
The difference between the interactive tablet mentioned in this embodiment and the interactive tablet in the foregoing embodiment is that in this embodiment, the touch state detection unit in the interactive tablet amplifies the original signal acquired by the first sensor in multiple stages, and then sends the amplified signals in multiple stages to the processing unit, and the processing unit determines to generate the touch state signal or the non-touch state signal according to the amplified signals in multiple stages. That is, the touch state detection unit includes the first sensor and the multi-stage amplification circuit, and no longer includes the touch detection processing subunit. Correspondingly, the processing unit may include a central processor that processes the multi-stage amplified signal to detect the sensing signal, or the processing unit further includes a touch detection processing subunit, where the touch detection processing subunit receives the multi-stage amplified signal sent by the touch state detecting unit and detects the sensing signal based on the multi-stage amplified signal, and at this time, the processing unit may include a touch detection processing subunit and a central processor (for generating an occlusion state signal and determining whether a touch operation is received), or include a touch detection subunit, a central processor (for determining whether a touch operation is received) and an optical detection processing subunit (for generating an occlusion state signal), based on which fig. 7 is a flowchart of a touch detection method according to an embodiment of the present application. Referring to fig. 7, the interactive pad performs a touch detection method including the steps of:
Step 310, the optical detection unit determines an occlusion data signal according to the light signal received by the light receiver and reports the occlusion data signal to the processing unit.
Step 320, the touch state detection unit performs multistage amplification on the original signal acquired by the first sensor in real time, and sends the multistage amplified signal to the processing unit;
and 330, the processing unit generates an occlusion state signal according to the occlusion data signal, generates a touch state signal when the surface of the display screen receives the sensing signal according to the amplified signal, and determines that the display screen receives touch operation according to the occlusion state signal and the touch state signal.
It should be noted that technical details not described in the present embodiment may refer to the related description of the foregoing embodiment, and only difference is that the content executed by the touch detection processing subunit in the touch state detection unit in the foregoing embodiment is executed by the processing unit in the present embodiment. The present embodiment has the same functions and beneficial effects as the foregoing embodiments, and will not be described in detail.
Fig. 8 is a schematic structural diagram of a touch detection device according to an embodiment of the present application. The touch detection device is applied to an interaction panel, the interaction panel comprises a display screen, a processing unit, an optical detection unit and a touch state detection unit, the optical detection unit comprises a light emitter and a light receiver, each light emitted by the light emitter covers the surface of the display screen and is received by the light receiver, the touch state detection unit comprises at least one first sensor, the first sensor comprises a mechanical sensor or a vibration sensor, and the first sensor is arranged on one surface, deviating from a user, of the display screen. Referring to fig. 8, the touch detection apparatus includes: a first detection module 401, a second detection module 402, and a third detection module 403.
The first detection module 401 is configured in the optical detection unit, and is configured to determine an occlusion data signal according to the light signal received by the light receiver and report the occlusion data signal to the processing unit; the second detection module 402 is configured to the touch state detection unit, and is configured to amplify an original signal acquired by the first sensor in real time in multiple stages, and generate a touch state signal when determining that the surface of the display screen receives a sensing signal based on the amplified signal in multiple stages, and report the touch state signal to the processing unit; the third detection module 403 is configured to the processing unit, and is configured to generate an occlusion status signal according to the occlusion data signal, and determine that the display screen receives the touch operation according to the occlusion status signal and the touch status signal.
In one embodiment, the second detection module 302 includes: the first multistage amplification submodule is used for carrying out multistage amplification on the original signals acquired by the first sensor in real time to obtain multistage amplified signals; a signal selection sub-module for selecting a one-stage amplified signal from the multi-stage amplified signals; the signal generation sub-module is used for generating a touch state signal when the surface of the display screen receives the sensing signal according to the signal characteristic parameter of the selected amplified signal; and the signal reporting sub-module is used for reporting the touch state signal to the processing unit.
In one embodiment, the signal selection submodule includes: an overflow rate determination Sun Mokuai for determining an overflow rate of the amplified signal of each stage; and the overflow rate selection Sun Mokuai is used for selecting the primary amplified signal smaller than the overflow rate threshold according to the overflow rate of the primary amplified signals.
In one embodiment, the overflow rate determination Sun Mokuai includes: the analog-to-digital conversion offspring module is used for respectively carrying out analog-to-digital conversion on the amplified signals of each stage to obtain digital amplified signals corresponding to the amplified signals of each stage; the statistics and resemblance module is used for counting the number of signal points, the signal value of which reaches a quantization threshold value, in each level of the digital amplified signals; and the computing and reseeding module is used for determining the overflow rate of each level of digital amplified signal according to the number of signal points, the signal value of which reaches the quantization threshold value, in each level of digital amplified signal and the total number of signal points of each level of digital amplified signal.
In one embodiment, the overflow rate selection Sun Mokuai is specifically for: and determining the overflow rate which is smaller than and closest to the overflow rate threshold in each overflow rate, and taking the digital amplified signal corresponding to the determined overflow rate as a current selected primary amplified signal, wherein the digital amplified signal is a signal obtained after analog-digital conversion of the corresponding amplified signal.
In one embodiment, the apparatus further comprises: the first selection module is configured in the touch state detection unit and is used for carrying out multistage amplification on the original signals acquired by the first sensor in real time, and after multistage amplified signals are obtained, a first number of amplified signals are selected from the multistage amplified signals, the first number is at least two, and the first number of amplified signals are amplified signals with continuous amplification stages; the first reselection module is configured in the touch state detection unit and is used for determining that the number of the overflow rates exceeding the overflow rate range in the first number of amplified signals exceeds the second number, and reselecting the first number of amplified signals, wherein the number of the overflow rates exceeding the overflow rate range in the reselected amplified signals does not exceed the second number; or, when the number of overflow rates below the range of the overflow rates in the first number of amplified signals exceeds the second number, the first number of amplified signals are reselected, and the number of overflow rates exceeding the range of the overflow rates in the reselected amplified signals does not exceed the second number.
In one embodiment, the signal characteristic parameters include peak-to-peak value, energy value and time-frequency point energy duty ratio, and the signal generating submodule includes: a parameter determination Sun Mokuai for determining a peak-to-peak value, an energy value, and a time-frequency point energy duty cycle of the selected amplified signal; and the external force determination Sun Mokuai is used for determining that the surface of the display screen receives the sensing signal and generates a touch state signal when the peak-to-peak value is larger than the peak-to-peak value threshold or the energy value is larger than the energy threshold and the energy duty ratio of the time-frequency point is larger than the duty ratio threshold.
In one embodiment, the method further comprises: the self-correlation operation module is configured in the touch state detection unit and is used for carrying out self-correlation operation on the selected amplified signal before generating the touch state signal when determining that the surface of the display screen receives the sensing signal according to the signal characteristic parameter of the selected amplified signal so as to obtain a self-correlation calculation result; and the operation execution module is configured in the touch state detection unit and is used for executing the operation of generating a touch state signal when the surface of the display screen receives the sensing signal according to the selected amplified signal when the maximum value of the autocorrelation calculation result is greater than the autocorrelation threshold.
In one embodiment, the operation execution module includes: the pulse detection sub-module is used for detecting a signal segment in a pulse form in the selected amplified signal when the maximum value of the autocorrelation calculation result is greater than the autocorrelation threshold; the frequency domain transformation submodule is used for carrying out frequency domain transformation on the signal segment to obtain a frequency domain signal segment; the frequency domain selection submodule is used for selecting a sub-frequency domain signal segment in a preset frequency band from the frequency domain signal segments; the time domain transformation submodule is used for performing time domain transformation on the sub-frequency domain signal segments to obtain amplified signals for filtering non-stationary noise, and executing the operation of generating a second state signal according to the sensing signals when the surface of the display screen receives the sensing signals according to the signal characteristic parameters of the selected amplified signals.
In one embodiment, the time domain transformation module is specifically: and when the energy value of the sub-frequency domain signal segment is determined to be larger than the energy threshold value, performing time domain transformation on the sub-frequency domain signal segment to obtain an amplified signal for filtering non-stationary noise.
In one embodiment, the apparatus further comprises: the fourth detection module is configured in the touch state detection unit and is used for generating a non-touch state signal when the surface of the display screen does not receive the sensing signal based on the multi-stage amplification signal after the original signal acquired by the first sensor in real time is amplified in multiple stages, and reporting the non-touch state signal to the processing unit; and the fifth detection module is configured to the processing unit and is used for determining a real-time quantity value of the current moment of the shielded light according to the shielding data signal when the shielding state signal is generated according to the shielding data signal at the current moment and the non-touch state signal is received, determining a first quantity change value of the current moment of the shielded light according to the real-time quantity value, and determining that the display screen receives touch operation if the first quantity change value is larger than or equal to a first quantity threshold value and smaller than or equal to a second quantity threshold value, wherein the second quantity threshold value is larger than the first quantity threshold value.
In one embodiment, the apparatus further comprises: and the sixth detection module is configured to the processing unit and is used for determining a real-time quantity value of the current moment of the blocked light according to the blocking data signal, determining a first quantity change value of the current moment of the blocked light according to the real-time quantity value, and determining that the display screen does not receive touch operation if the first quantity change value is smaller than a first quantity threshold value.
In one embodiment, the apparatus further comprises: the quantity calculation module is configured in the processing unit and is used for determining a real-time quantity value of the current moment of the shielded light according to the shielding data signal, and continuously calculating a second quantity change value of the next moment after determining a first quantity change value of the current moment of the shielded light according to the real-time quantity value if the first quantity change value is larger than the second quantity threshold value; the seventh detection unit is configured in the processing unit and is used for determining that the display screen receives touch operation if the second number change value is greater than or equal to the first number threshold value and smaller than or equal to the second number threshold value; and the eighth detection unit is configured in the processing unit and is used for determining that the display screen does not receive touch operation if the second number change value is smaller than the first number threshold value.
In one embodiment, the apparatus further comprises: the second selection module is configured in the touch state detection unit and is used for carrying out multistage amplification on the original signals acquired by the first sensor in real time, and after the multistage amplified signals are obtained, a third number of amplified signals are selected from the multistage amplified signals, the third number is at least two, and the third number of amplified signals are amplified signals with continuous amplification stages; the fifth detection module includes: the shielding quantity calculation operator module is used for determining a real-time quantity value of the shielded light at the current moment according to the shielding data signal when generating the shielding state signal according to the shielding data signal at the current moment and receiving the non-touch state signal, and determining a first quantity change value of the shielded light at the current moment according to the real-time quantity value; the signal reselection sub-module is used for indicating the touch state detection unit to reselect a second number of amplified signals if the first number of variation values are larger than or equal to a first number of threshold values and smaller than or equal to a second number of threshold values, selecting a first-level amplified signal from the second number of amplified signals, determining that the surface of the display screen receives a sensing signal according to the selected amplified signals, generating a touch state signal, reporting the touch state signal to the processing unit, wherein the amplification level of the reselected amplified signals is larger than that of the amplified signals before reselection, and the second number of threshold values is larger than the first number of threshold values: and the operation determination submodule is used for determining that the display screen receives touch operation according to the shielding state signal and the touch state signal.
In one embodiment, the second detection module 302 includes: the second multistage amplification submodule is used for carrying out multistage amplification on the original signals acquired by the first sensor in real time; the sensing signal detection sub-module is used for determining that the touch starts and generating a touch state signal when the surface of the display screen receives the sensing signal at the current moment and does not receive the sensing signal at the previous moment based on the multi-stage amplified signals, and reporting the touch state signal to the processing unit; the static sub-module is used for entering a static stage, wherein the touch state detection unit stops detecting the sensing signals in the static stage, and stops reporting the detection result to the processing unit; and the ending submodule is used for ending the resting stage when the duration of the resting stage reaches the first duration, continuously amplifying the original signal acquired in real time according to the first sensor in multiple stages, generating a touch state signal when the surface of the display screen receives the sensing signal based on the amplified signal in multiple stages, and reporting the touch state signal to the central processing unit. The device further comprises a seventh detection module, which is configured in the processing unit and is used for determining that the display screen receives the touch operation when the shielding state signal is generated according to the shielding data signal and the detection result reported by the touch state detection unit is not received in the static stage.
In one embodiment, the device further includes an eighth detection module configured to the processing unit and configured to determine that the display screen does not receive the touch operation when the touch state signal is received and the non-occlusion state signal is determined to be generated according to the occlusion data signal.
The touch detection device provided by the embodiment of the application is contained in the interaction panel, and can be used for executing the touch detection method when the touch state detection unit generates the touch state signal in the embodiment, so that the touch detection device has corresponding functions and beneficial effects.
Fig. 9 is a schematic structural diagram of a touch detection device according to an embodiment of the present application. The touch detection device is applied to an interaction panel, the interaction panel comprises a display screen, a processing unit, an optical detection unit and a touch state detection unit, the optical detection unit comprises a light emitter and a light receiver, each light emitted by the light emitter covers the surface of the display screen and is received by the light receiver, the touch state detection unit comprises at least one first sensor, the first sensor comprises a mechanical sensor or a vibration sensor, and the first sensor is arranged on one surface, deviating from a user, of the display screen. Referring to fig. 9, the touch detection apparatus includes: a ninth detection module 404, a tenth detection module 405, and an eleventh detection module 406.
A ninth detection module 404, configured to the optical detection unit, configured to determine an occlusion data signal according to the light signal received by the light receiver and report the occlusion data signal to the processing unit; the tenth detection module 405 is configured to a touch state detection unit, and is configured to amplify the original signal acquired by the first sensor in real time in multiple stages, and send the amplified signal in multiple stages to the processing unit; the eleventh detection module 406 is configured to generate an occlusion status signal according to the occlusion data signal, generate a touch status signal when the surface of the display screen receives the sensing signal according to the amplified signal, and determine that the display screen receives the touch operation according to the occlusion status signal and the touch status signal.
The touch detection device provided by the embodiment of the application is contained in the interaction panel, and can be used for executing the touch detection method when the processing unit generates the touch state signal in the embodiment, so that the touch detection device has corresponding functions and beneficial effects.
It should be noted that, in the embodiment of the touch detection apparatus, each module included is only divided according to the functional logic, but not limited to the above division, so long as the corresponding function can be implemented; in addition, the specific names of the functional modules are only for distinguishing from each other, and are not used for limiting the protection scope of the application.
Fig. 10 is a schematic structural diagram of an interactive tablet according to an embodiment of the present application. As shown in fig. 10, the interactive flat panel includes a display 40, a processing unit 41, an optical detection unit 42, and a touch state detection unit 43. The optical detecting unit 42 includes a light emitter and a light receiver, each light emitted by the light emitter covers the surface of the display screen 40 and is received by the light receiver, and the touch state detecting unit 43 includes at least one first sensor, which includes a mechanical sensor or a vibration sensor, and the first sensor is disposed on a side of the display screen 40 facing away from the user.
The optical detection unit 42 determines an occlusion data signal according to the light signal received by the light receiver and reports the occlusion data signal to the processing unit; the touch state detection unit 43 performs multistage amplification on the original signal acquired by the first sensor in real time, generates a touch state signal when determining that the surface of the display screen receives a sensing signal based on the multistage amplified signal, and reports the touch state signal to the processing unit; the processing unit 41 generates an occlusion state signal according to the occlusion data signal, and determines that the display screen receives a touch operation according to the occlusion state signal and the touch state signal.
Alternatively, the optical detection unit 42 determines an occlusion data signal according to the light signal received by the light receiver and reports the occlusion data signal to the processing unit; the touch state detection unit 43 performs multistage amplification on the original signal acquired by the first sensor in real time, and sends the multistage amplified signal to the processing unit; the processing unit 41 generates an occlusion state signal according to the occlusion data signal, generates a touch state signal when determining that the surface of the display screen receives a sensing signal according to the amplified signal, and determines that the display screen receives a touch operation according to the occlusion state signal and the touch state signal.
The processing unit 41 may include a processor and a memory; the number of processors may be one or more, and the processors may include a central processing unit, and may also include a micro-processing unit having other functions. The memory is used as a computer readable storage medium, and can be used for storing a software program, a computer executable program and a module, such as a program instruction/module corresponding to the processing unit when the interactive tablet executes the touch detection method in the embodiment of the application. The processor executes the various functional applications of the interactive tablet and data processing by running software programs, instructions and modules stored in the memory. The memory may mainly include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the terminal device, etc. Further, the memory may include a high-speed random access memory, and may also include a nonvolatile memory. In some examples, the memory may further include memory remotely located with respect to the processor, which may be connected to and interact with the tablet through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The interactive pad may further comprise input means for receiving input digital or character signals and for generating key signal inputs related to user settings and function control of the interactive pad, the input means may also be an audio acquisition means such as a microphone. The interactive tablet may also include an output device, which may include an audio playback device such as a speaker. The display screen displays according to the instruction of the processor. The interactive tablet may also include a communication device to enable communication functions.
Fig. 10 shows only the data transmission relationship between the units, and does not show the relative positional relationship of the units
The interactive panel comprises a touch detection device which can be used for executing the touch detection method and has corresponding functions and beneficial effects.
An embodiment of the present application further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the relevant operations in the touch detection method provided in any embodiment of the present application, and provide corresponding functions and benefits.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product.
Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement signal storage by any method or technology. The signals may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store signals that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. Those skilled in the art will appreciate that the present application is not limited to the particular embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the present application. Therefore, while the present application has been described in connection with the above embodiments, the present application is not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the present application, the scope of which is defined by the scope of the appended claims.

Claims (22)

1. The touch detection method is applied to an interactive panel and is characterized in that the interactive panel comprises a display screen, a processing unit, an optical detection unit and a touch state detection unit, wherein the optical detection unit comprises a light emitter and a light receiver, each light emitted by the light emitter covers the surface of the display screen and is received by the light receiver, the touch state detection unit comprises at least one first sensor, the first sensor comprises a mechanical sensor or a vibration sensor, and the first sensor is arranged on one surface, away from a user, of the display screen;
the touch detection method comprises the following steps:
the optical detection unit determines an occlusion data signal according to the light signal received by the light receiver and reports the occlusion data signal to the processing unit;
the touch state detection unit amplifies original signals acquired by the first sensor in real time in multiple stages, generates a touch state signal when determining that the surface of the display screen receives a sensing signal based on the amplified signals in multiple stages, and reports the touch state signal to the processing unit;
and the processing unit generates an shielding state signal according to the shielding data signal, and determines that the display screen receives touch operation according to the shielding state signal and the touch state signal.
2. The touch detection method according to claim 1, wherein the touch state detection unit performs multi-stage amplification on the original signal acquired by the first sensor in real time, and generates a touch state signal when determining that the surface of the display screen receives the sensing signal based on the multi-stage amplified signal, including:
the touch state detection unit carries out multistage amplification on the original signals acquired by the first sensor in real time to obtain multistage amplified signals;
the touch state detection unit selects a first-stage amplified signal from the plurality of stages of amplified signals;
and the touch state detection unit generates a touch state signal when determining that the surface of the display screen receives the sensing signal according to the signal characteristic parameter of the selected amplified signal.
3. The touch detection method according to claim 2, wherein the touch state detection unit selects one-stage amplified signals among the plurality of stages of amplified signals, comprising:
the touch state detection unit determines the overflow rate of the amplified signal of each stage;
the touch state detection unit selects a first-stage amplified signal smaller than an overflow rate threshold according to the overflow rate of the amplified signals of each stage.
4. The touch detection method according to claim 3, wherein the touch state detection unit determines an overflow rate of the amplified signal for each stage, comprising:
the touch state detection unit respectively carries out analog-to-digital conversion on the amplified signals of each stage to obtain digital amplified signals corresponding to the amplified signals of each stage;
the touch state detection unit counts the number of signal points, of which the signal value reaches a quantization threshold value, in each level of the digital amplified signal;
the touch state detection unit determines the overflow rate of the digital amplified signals of each stage according to the number of signal points, the signal value of which reaches a quantization threshold value, in the digital amplified signals of each stage and the total number of signal points of the digital amplified signals of each stage.
5. The touch detection method according to claim 3, wherein the touch state detection unit selects a one-stage amplified signal smaller than an overflow rate threshold according to an overflow rate of the amplified signals of each stage, comprising:
the touch state detection unit determines an overflow rate which is smaller than and closest to an overflow rate threshold in the overflow rates, takes a digital amplified signal corresponding to the determined overflow rate as a current selected primary amplified signal, and the digital amplified signal is a signal obtained after analog-to-digital conversion of the corresponding amplified signal.
6. The touch detection method according to claim 3, wherein the touch state detection unit performs multistage amplification on the original signal acquired by the first sensor in real time, and after obtaining the multistage amplified signal, the method comprises:
the touch state detection unit selects a first number of amplified signals from the amplified signals of multiple stages, wherein the first number is at least two, and the first number of amplified signals are amplified signals with continuous amplification stages;
after the touch state detection unit determines the overflow rate of the amplified signal of each stage, the touch state detection unit includes:
the touch state detection unit determines that when the number of overflow rates exceeding the range of the overflow rates exceeds the second number in the first number of amplified signals, the first number of amplified signals are reselected, and the number of overflow rates exceeding the range of the overflow rates in the reselected amplified signals does not exceed the second number.
7. The method of claim 2, wherein the signal characteristic parameters include peak-to-peak value, energy value and time-frequency point energy duty cycle,
the touch state detection unit determines that when the surface of the display screen receives a sensing signal according to the signal characteristic parameter of the selected amplified signal, generates a second state signal according to the sensing signal, and comprises the following steps:
The touch state detection unit determines the peak-to-peak value, the energy value and the time-frequency point energy duty ratio of the selected amplified signal;
and when the touch state detection unit determines that the peak-to-peak value is larger than a peak-to-peak value threshold or the energy value is larger than an energy threshold and the time-frequency point energy duty ratio is larger than a duty ratio threshold, determining that the surface of the display screen receives a sensing signal and generating a touch state signal.
8. The touch detection method according to claim 2, wherein the touch state detection unit, when determining that the surface of the display screen receives the sensing signal according to the signal characteristic parameter of the selected amplified signal, includes, before generating the touch state signal:
the touch state detection unit performs autocorrelation operation on the selected amplified signal to obtain an autocorrelation calculation result;
and when the maximum value of the autocorrelation calculation result is larger than the autocorrelation threshold, the touch state detection unit executes the operation of generating a touch state signal when determining that the surface of the display screen receives a sensing signal according to the signal characteristic parameter of the selected amplified signal.
9. The touch detection method according to claim 8, wherein the touch state detection unit performs an operation of generating a second state signal when determining that the surface of the display screen receives the sensing signal according to the signal characteristic parameter of the selected amplified signal when the maximum value of the autocorrelation calculation is greater than an autocorrelation threshold, comprising:
The touch state detection unit detects a signal segment in a pulse form in the selected amplified signal when the maximum value of the autocorrelation calculation result is greater than an autocorrelation threshold;
the touch state detection unit performs frequency domain transformation on the signal segment to obtain a frequency domain signal segment;
the touch state detection unit selects a sub-frequency domain signal segment in a preset frequency band from the frequency domain signal segments;
the touch state detection unit performs time domain transformation on the sub-frequency domain signal segment to obtain an amplified signal for filtering non-stationary noise, and performs an operation of generating a second state signal when determining that the surface of the display screen receives a sensing signal according to the signal characteristic parameter of the selected amplified signal.
10. The touch detection method according to claim 9, wherein the touch state detection unit performs time domain transformation on the sub-frequency domain signal segment to obtain an amplified signal with non-stationary noise filtered, including:
and when the touch state detection unit determines that the energy value of the sub-frequency domain signal segment is larger than the energy threshold value, performing time domain transformation on the sub-frequency domain signal segment to obtain an amplified signal for filtering non-stationary noise.
11. The touch detection method according to claim 1, wherein after the touch state detection unit performs multi-stage amplification on the raw signal acquired by the first sensor in real time, the touch state detection unit further includes:
the touch state detection unit generates a non-touch state signal when determining that the surface of the display screen does not receive the sensing signal based on the multi-stage amplified signal, and reports the non-touch state signal to the processing unit;
the touch detection method further comprises the following steps:
and when the processing unit generates an occlusion state signal according to the occlusion data signal at the current moment and receives the non-touch state signal, determining a real-time quantity value of the occluded light at the current moment according to the occlusion data signal, determining a first quantity change value of the occluded light at the current moment according to the real-time quantity value, and determining that the display screen receives touch operation if the first quantity change value is larger than or equal to a first quantity threshold value and smaller than or equal to a second quantity threshold value, wherein the second quantity threshold value is larger than the first quantity threshold value.
12. The touch detection method according to claim 11, wherein the processing unit determines a real-time quantity value of the current time of the blocked light according to the blocking data signal, and further comprises, after determining a first quantity change value of the blocked light at the current time according to the real-time quantity value:
And if the first quantity change value is smaller than the first quantity threshold value, the processing unit determines that the display screen does not receive touch operation.
13. The touch detection method according to claim 11, wherein the processing unit determines a real-time quantity value of the current time of the blocked light according to the blocking data signal, and further comprises, after determining a first quantity change value of the blocked light at the current time according to the real-time quantity value:
if the first quantity change value is larger than the second quantity threshold value, the processing unit continues to calculate a second quantity change value of the blocked light at the next moment;
if the second number change value is greater than or equal to the first number threshold value and less than or equal to the second number threshold value, the processing unit determines that the display screen receives touch operation;
and if the second quantity change value is smaller than the first quantity threshold value, the processing unit determines that the display screen does not receive touch operation.
14. The touch detection method according to claim 11, wherein after the touch state detection unit performs multi-stage amplification on the raw signal acquired by the first sensor in real time, the touch detection method further comprises:
The touch state detection unit selects a third number of amplified signals from the multistage amplified signals, wherein the third number is at least two, and the third number of amplified signals are amplified signals with continuous amplification stages;
if the first quantity change value is greater than or equal to the first quantity threshold value and less than or equal to the second quantity threshold value, the processing unit determines that the display screen receives a touch operation, including:
if the first quantity change value is greater than or equal to the first quantity threshold value and less than or equal to the second quantity threshold value, the processing unit instructs the touch state detection unit to reselect a third quantity of amplified signals and select a first-stage amplified signal from the third quantity of amplified signals, the surface of the display screen is determined to receive a sensing signal according to the selected amplified signals, a touch state signal is generated, the touch state signal is reported to the processing unit, and the amplification level of the reselected amplified signal is greater than that of the amplified signal before reselection;
and the processing unit determines that the display screen receives touch operation according to the shielding state signal and the touch state signal.
15. The touch detection method according to claim 1, wherein the touch state detection unit generates a touch state signal when determining that the surface of the display screen receives a sensing signal based on the multi-stage amplified signal, and reports the touch state signal to the processing unit includes:
the touch state detection unit determines that the touch starts and generates a touch state signal when determining that the surface of the display screen receives a sensing signal at the current moment and does not receive the sensing signal at the previous moment based on the multi-stage amplified signals, and reports the touch state signal to the processing unit;
the touch state detection unit enters a resting stage, and in the resting stage, the touch state detection unit stops detecting the sensing signal and reporting the detection result to the processing unit;
when the touch state detection unit determines that the duration of the resting stage reaches a first duration, ending the resting stage, continuously amplifying the original signal acquired in real time according to the first sensor in multiple stages, generating a touch state signal when determining that the surface of the display screen receives a sensing signal based on the amplified signal in multiple stages, and reporting the touch state signal to the processing unit;
The touch detection method further comprises the following steps:
and in the rest stage, when the processing unit generates an occlusion state signal according to the occlusion data signal and does not receive the detection result reported by the touch state detection unit, determining that the display screen receives touch operation.
16. The touch detection method according to claim 1 or 11, characterized in that the touch detection method further comprises:
and when the processing unit receives the touch state signal and generates a non-shielding state signal according to the shielding data signal, the display screen is determined to not receive touch operation.
17. The touch detection method is applied to an interactive panel and is characterized in that the interactive panel comprises a display screen, a processing unit, an optical detection unit and a touch state detection unit, wherein the optical detection unit comprises a light emitter and a light receiver, each light emitted by the light emitter covers the surface of the display screen and is received by the light receiver, the stamp state detection unit comprises at least one first sensor, the first sensor comprises a mechanical sensor or a vibration sensor, and the first sensor is arranged on one surface, facing away from a user, of the display screen;
The touch detection method comprises the following steps:
the optical detection unit determines an occlusion data signal according to the light signal received by the light receiver and reports the occlusion data signal to the processing unit;
the touch state detection unit carries out multistage amplification on the original signals acquired by the first sensor in real time, and sends multistage amplified signals to the processing unit;
and the processing unit generates an occlusion state signal according to the occlusion data signal, generates a touch state signal when the surface of the display screen receives a sensing signal according to the amplified signal, and determines that the display screen receives touch operation according to the occlusion state signal and the touch state signal.
18. The touch detection device is applied to an interaction panel and is characterized by comprising a display screen, a processing unit, an optical detection unit and a touch state detection unit, wherein the optical detection unit comprises a light emitter and a light receiver, each light emitted by the light emitter covers the surface of the display screen and is received by the light receiver, the touch state detection unit comprises at least one first sensor, the first sensor comprises a mechanical sensor or a vibration sensor, and the first sensor is arranged on one surface, facing away from a user, of the display screen;
The touch detection device includes:
the first detection module is configured in the optical detection unit and is used for determining an occlusion data signal according to the light ray signal received by the light ray receiver and reporting the occlusion data signal to the processing unit;
the second detection module is configured in the touch state detection unit and is used for carrying out multistage amplification on the original signals acquired by the first sensor in real time, generating touch state signals when the surface of the display screen is determined to receive the sensing signals based on the multistage amplified signals, and reporting the touch state signals to the processing unit;
and the third detection module is configured in the processing unit and is used for generating the shielding state signal according to the shielding data signal and determining that the display screen receives touch operation according to the shielding state signal and the touch state signal.
19. The touch detection device is applied to an interaction panel and is characterized by comprising a display screen, a processing unit, an optical detection unit and a touch state detection unit, wherein the optical detection unit comprises a light emitter and a light receiver, each light emitted by the light emitter covers the surface of the display screen and is received by the light receiver, the touch state detection unit comprises at least one first sensor, the first sensor comprises a mechanical sensor or a vibration sensor, and the first sensor is arranged on one surface, facing away from a user, of the display screen;
The touch detection device includes:
the ninth detection module is configured in the optical detection unit and is used for determining an occlusion data signal according to the light ray signal received by the light ray receiver and reporting the occlusion data signal to the processing unit;
a tenth detection module, configured to the touch state detection unit, configured to perform multistage amplification on an original signal acquired by the first sensor in real time, and send a multistage amplified signal to the processing unit;
the eleventh detection module is configured to generate the shielding state signal according to the shielding data signal, generate a touch state signal when determining that the surface of the display screen receives the sensing signal according to the amplified signal, and determine that the display screen receives the touch operation according to the shielding state signal and the touch state signal.
20. The interactive flat panel is characterized by comprising a display screen, a processing unit, an optical detection unit and a touch state detection unit, wherein the optical detection unit comprises a light emitter and a light receiver, each light emitted by the light emitter covers the surface of the display screen and is received by the light receiver, the touch state detection unit comprises at least one first sensor, the first sensor comprises a mechanical sensor or a vibration sensor, and the first sensor is arranged on one surface of the display screen, which is far away from a user;
The optical detection unit is used for determining an occlusion data signal according to the light ray signal received by the light ray receiver and reporting the occlusion data signal to the processing unit;
the touch state detection unit is used for carrying out multistage amplification on the original signals acquired by the first sensor in real time, generating touch state signals when the surface of the display screen receives sensing signals based on multistage amplification signals, and reporting the touch state signals to the processing unit;
the processing unit is used for generating an shielding state signal according to the shielding data signal and determining that the display screen receives touch operation according to the shielding state signal and the touch state signal.
21. The interactive flat panel is characterized by comprising a display screen, a processing unit, an optical detection unit and a touch state detection unit, wherein the optical detection unit comprises a light emitter and a light receiver, each light emitted by the light emitter covers the surface of the display screen and is received by the light receiver, the touch state detection unit comprises at least one first sensor, the first sensor comprises a mechanical sensor or a vibration sensor, and the first sensor is arranged on one surface of the display screen, which is far away from a user;
The optical detection unit is used for determining an occlusion data signal according to the light ray signal received by the light ray receiver and reporting the occlusion data signal to the processing unit;
the touch state detection unit is used for carrying out multistage amplification on the original signals acquired by the first sensor in real time and sending multistage amplified signals to the processing unit;
the processing unit is used for generating the shielding state signal according to the shielding data signal, generating a touch state signal when the surface of the display screen receives the sensing signal according to the amplified signal, and determining that the display screen receives touch operation according to the shielding state signal and the touch state signal.
22. A computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the touch detection method according to any of claims 1-16 or the touch detection method according to claim 17.
CN202211249600.2A 2022-10-12 2022-10-12 Touch detection method and device, interaction panel and storage medium Pending CN117873338A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211249600.2A CN117873338A (en) 2022-10-12 2022-10-12 Touch detection method and device, interaction panel and storage medium
PCT/CN2023/119734 WO2024078276A1 (en) 2022-10-12 2023-09-19 Touch detection method and apparatus, interactive tablet and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211249600.2A CN117873338A (en) 2022-10-12 2022-10-12 Touch detection method and device, interaction panel and storage medium

Publications (1)

Publication Number Publication Date
CN117873338A true CN117873338A (en) 2024-04-12

Family

ID=90590617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211249600.2A Pending CN117873338A (en) 2022-10-12 2022-10-12 Touch detection method and device, interaction panel and storage medium

Country Status (2)

Country Link
CN (1) CN117873338A (en)
WO (1) WO2024078276A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6504530B1 (en) * 1999-09-07 2003-01-07 Elo Touchsystems, Inc. Touch confirming touchscreen utilizing plural touch sensors
JP2012181703A (en) * 2011-03-01 2012-09-20 Fujitsu Ten Ltd Display device
US8902183B2 (en) * 2012-05-21 2014-12-02 International Business Machines Corporation Display devices and methods for detecting user-intended touch input
IL221862A (en) * 2012-09-10 2015-03-31 Elbit Systems Ltd Validating a physical touch event in optical touch screens
CN106052844B (en) * 2016-05-19 2019-11-05 杭州电子科技大学 A kind of vibration signal conditioning circuit based on external interrupt
CN112254846A (en) * 2020-08-28 2021-01-22 上海艾为电子技术股份有限公司 Pressure detection device, pressure detection method thereof and electronic equipment

Also Published As

Publication number Publication date
WO2024078276A1 (en) 2024-04-18

Similar Documents

Publication Publication Date Title
CN1684189B (en) Method of and apparatus for reducing noise
CN106708254B (en) Detector
US9042571B2 (en) Method and system for touch gesture detection in response to microphone output
CN108603931B (en) Proximity detection
US9116571B2 (en) Method and system of data input for an electronic device equipped with a touch screen
US20010033227A1 (en) Glass breakage detector
CN105376397A (en) Low-power environment monitoring and activation triggering for mobile devices through ultrasound echo analysis
CN102597937A (en) Method and apparatus for detecting hold condition on an acoustic touch surface
CN109994111B (en) Interaction method, interaction device and mobile terminal
US10551973B2 (en) Method of controlling a mobile device
WO2015109562A1 (en) Interference suppression method and apparatus for touch screen and terminal device
CN110519450B (en) Ultrasonic processing method, ultrasonic processing device, electronic device, and computer-readable medium
CN103513757A (en) Method, device and terminal for detecting handholding state of user
CN105677192A (en) Control method and control device of mobile terminal
CN110111812A (en) A kind of self-adaptive identification method and system of keyboard key stroke content
CN107086039A (en) A kind of acoustic signal processing method and device
WO2021172949A1 (en) Method and apparatus of radar-based activity detection
CN117873338A (en) Touch detection method and device, interaction panel and storage medium
CN113608661A (en) Man-machine interaction method, interaction panel and storage medium thereof
KR20110065095A (en) Method and apparatus for controlling a device
CN105718174B (en) Interface switching method and system
CN114280368B (en) Burst signal detection method and system in complex environment
US9351089B1 (en) Audio tap detection
US20200292656A1 (en) Proximity sensing
CN114356140A (en) Key action identification method of infrared induction suspension key

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination