Material identification method, interactive board, and storage medium

By combining the infrared shielding electrical signal and the elastic wave sensor signal, the material of the touch object is identified, which solves the problem in the existing technology that the interactive device cannot accurately identify the material, and improves the identification accuracy.

WO2024183075A1PCT designated stage expired Publication Date: 2024-09-12GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/080607
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Existing interactive devices cannot accurately identify the material of the touch object, mainly because the infrared blocking electrical signal does not have material specificity and the original touch electrical signal is susceptible to vibration interference, resulting in a low material recognition rate.

Method used

Using the electrical signal generated by combining the infrared shielding electrical signal and the elastic wave sensor, by calculating the ratio of the energy average and the historical energy average, it is judged whether the signal-to-noise ratio is greater than the preset threshold, and the starting moment of the effective touch electrical signal is determined, and Identify the material of the touch object based on infrared shielding electrical signals and elastic wave data.

Benefits of technology

It improves the accuracy of material identification, overcomes the problem that infrared shielding electrical signals do not have material specificity and the original touch electrical signal is susceptible to vibration interference, and achieves accurate identification of the material of the touch object.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023080607_12092024_PF_FP_ABST
    Figure CN2023080607_12092024_PF_FP_ABST
Patent Text Reader

Abstract

A material identification method, an interactive board, and a storage medium. The material identification method is used for an interactive board; the interactive board comprises an operation panel (11), an infrared touch sensor (12), and an elastic wave sensor (15); the infrared touch sensor (12) is arranged on at least one edge of the operation panel (11) to form a touch detection area of the interactive board; the elastic wave sensor (15) is used for detecting vibration of the operation panel (11) to generate an electric signal; material identification for a touch object is performed by combining an infrared blocking electric signal and an original touch electric signal. Second, by setting a first duration, in the case that first material information cannot be generated in time according to the infrared blocking electric signal and the original touch electric signal, the material type of the touch object can be confirmed directly using second material information generated according to the infrared blocking electric signal, and an excessively long calculation delay can be avoided, thereby improving use experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

A material identification method, interactive tablet and storage medium Technical Field

[0001] The embodiments of the present application relate to the field of material identification, and in particular to a material identification method, an interactive tablet, and a storage medium. Background Art

[0002] Currently, interactive devices such as tablets and large display boards primarily interact with users via their built-in infrared touchscreens or capacitive touchscreens. During this interaction, the device's ability to determine the material type of the object being touched is limited to the touch area. However, if the touch area measurement is inaccurate or unavailable, the device cannot accurately determine the material type of the object being touched.

[0003] In summary, how to accurately determine the material of the touch object has become a technical problem that urgently needs to be solved.

[0004] Application Contents

[0005] The embodiments of the present application provide a material recognition method, an interactive tablet, and a storage medium, which can accurately identify the material of a touch object, solving the technical problem in the prior art that interactive devices cannot accurately identify the material of a touch object.

[0006] In a first aspect, embodiments of the present application provide a material identification method for an interactive tablet, the interactive tablet including an operating panel, an infrared touch sensor, and an elastic wave sensor. The infrared touch sensor is disposed on at least one edge of the operating panel to form a touch detection area of ​​the interactive tablet. The elastic wave sensor is configured to detect vibrations of the operating panel and generate an electrical signal. The material identification method includes:

[0007] When the touch object performs a touch operation in the touch detection area, the infrared touch sensor generates an infrared blocking electrical signal from the first moment;

[0008] Calculate the average energy of the original touch electrical signal within the current time window;

[0009] Calculate the ratio of the average energy value to the historical average energy value, where the historical average energy value is the average energy value of the original touch electrical signal in the previous time window.

[0010] Determine whether the ratio is greater than a preset threshold;

[0011] If it is greater than, the initial moment of the current time window is obtained, and the initial moment of the current time window is used as the starting moment of the effective touch electrical signal;

[0012] Acquire effective touch electrical signals within a preset time length after the start time as elastic wave data;

[0013] The first material information of the touch object is determined according to the infrared shielding electric signal and the elastic wave data.

[0014] In a second aspect, embodiments of the present application provide an interactive tablet, comprising an operating panel, an infrared touch sensor, an elastic wave sensor, and at least one processing device. The infrared touch sensor is disposed on at least one edge of the operating panel to form a touch detection area of ​​the interactive tablet. The elastic wave sensor is configured to detect vibration of the operating panel and generate an electrical signal. The at least one processing device is configured to:

[0015] When the touch object performs a touch operation in the touch detection area, the infrared touch sensor generates an infrared blocking electrical signal from the first moment;

[0016] From the first moment, the elastic wave sensor begins to generate the original touch electrical signal;

[0017] Calculate the average energy of the original touch electrical signal within the current time window;

[0018] Calculate the ratio of the average energy value to the historical average energy value, where the historical average energy value is the average energy value of the original touch electrical signal in the previous time window.

[0019] Determine whether the ratio is greater than a preset threshold;

[0020] If it is greater than, the initial moment of the current time window is obtained, and the initial moment of the current time window is used as the starting moment of the effective touch electrical signal;

[0021] Acquire effective touch electrical signals within a preset time length after the start time as elastic wave data;

[0022] The first material information of the touch object is determined according to the infrared shielding electric signal and the elastic wave data.

[0023] In a third aspect, an embodiment of the present application provides a storage medium storing computer-executable instructions, which, when executed by a computer processor, are used to perform a material identification method as described in the first aspect.

[0024] As described above, the embodiments of the present application provide a material identification method, an interactive tablet, and a storage medium. The method is used for an interactive tablet, which includes an operating panel, an infrared touch sensor, and an elastic wave sensor. The infrared touch sensor is arranged on at least one edge of the operating panel to form a touch detection area of ​​the interactive tablet. The elastic wave sensor is used to detect the vibration of the operating panel and generate an electrical signal. The material identification method includes: when a touch object performs a touch operation in the touch detection area, the infrared touch sensor generates an infrared blocking electrical signal from a first moment; calculates the energy average value of the original touch electrical signal in the current time window; calculates the ratio of the energy average value to the historical energy average value, the historical energy average value is the energy average value of the original touch electrical signal in the previous time window; determines whether the ratio is greater than a preset threshold; if greater, obtains the initial moment of the current time window, and uses the initial moment of the current time window as the starting moment of the effective touch electrical signal; obtains the effective touch electrical signal within a preset time length after the starting moment as elastic wave data; and determines the first material information of the touch object based on the infrared blocking electrical signal and the elastic wave data.

[0025] The embodiment of the present application combines infrared blocking electrical signals and original touch electrical signals to identify the material of the touch object, thereby improving the accuracy of material identification. It overcomes the low material identification rate caused by the lack of material specificity of infrared blocking electrical signals and the susceptibility of original touch electrical signals to vibration interference, and solves the technical problem in the prior art that interactive devices cannot accurately identify the material of the touch object. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] FIG1A is a schematic structural diagram of an infrared touch-sensitive display screen provided in an embodiment of the present application.

[0027] FIG1B is a schematic diagram of a partial structure of an infrared touch-sensitive display screen provided in an embodiment of the present application.

[0028] FIG1C is a schematic diagram of a touch object in different touch states provided by an embodiment of the present application.

[0029] FIG2 is a schematic diagram of a touch object obliquely contacting an operation panel according to an embodiment of the present application.

[0030] FIG3 is a schematic diagram showing the principle of detecting a touch object by a capacitive touch screen according to an embodiment of the present application.

[0031] FIG4 is a flow chart of a material identification method provided in an embodiment of the present application.

[0032] FIG5 is a schematic structural diagram of an interactive tablet provided in an embodiment of the present application.

[0033] FIG6 is a flow chart of another material identification method provided in an embodiment of the present application.

[0034] FIG7 is a schematic diagram of a process for dynamically updating a preset threshold value provided in an embodiment of the present application.

[0035] FIG8 is a flow chart of another material identification method provided in an embodiment of the present application.

[0036] FIG9 is a schematic diagram of an elastic wave sensor provided in an embodiment of the present application and arranged on an operating panel.

[0037] FIG10 is a schematic diagram of elastic wave data of different modes detected by elastic wave sensors at different positions according to an embodiment of the present application.

[0038] FIG11 is a schematic diagram of the structure of a multi-layer fully connected network provided in an embodiment of the present application.

[0039] FIG12 is a schematic structural diagram of another interactive tablet provided in an embodiment of the present application.

[0040] Figure numerals: infrared touch-sensitive display screen 10, operation panel 11, infrared touch sensor 12, first frame 111, second frame 112, third frame 113, fourth frame 114, infrared transmitter 121, infrared receiver 122, first touch state 131, second touch state 132, third touch state 133, fourth touch state 134, fifth touch state 135, capacitive touch screen 14, elastic wave sensor 15. DETAILED DESCRIPTION

[0041] The following description and accompanying drawings sufficiently illustrate specific embodiments of the present application to enable those skilled in the art to practice them. The examples represent only possible variations. Unless expressly required, individual components and functions are optional, and the order of operations may vary. Portions and features of some embodiments may be included in or replace portions and features of other embodiments. The scope of the embodiments of the present application includes the entire scope of the claims, as well as all available equivalents of the claims. Herein, each embodiment may be referred to individually or collectively by the term "invention," which is merely for convenience and is not intended to automatically limit the scope of the application to any single invention or inventive concept if more than one invention is in fact disclosed. Herein, relational terms such as first and second, etc., are used solely to distinguish one entity or operation from another, and do not require or imply any actual relationship or order between these entities or operations. Furthermore, the terms "comprise," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, or apparatus comprising a set of elements includes not only those elements, but also other elements not explicitly listed. The various embodiments herein are described in a progressive manner, with each embodiment focusing on the differences from the other embodiments. Reference can be made to the common and similar parts between the various embodiments. For structures, products, etc. disclosed in the embodiments, the description is relatively simple because they correspond to the parts disclosed in the embodiments. For relevant parts, refer to the method description.

[0042] An interactive device refers to a device that can exchange information with a user in a certain interactive manner, such as a mobile phone or tablet computer that exchanges information with a user through gesture recognition. At present, when an interactive device identifies the type of a touch object, it generally does so through an infrared touch-sensitive display screen or a capacitive touch screen provided on the interactive device. A touch object refers to an object that comes into contact with the interactive device, such as a chalk, an eraser, a marker, a conference pen, a stylus, or a finger. An infrared touch-sensitive display screen refers to a touch display screen provided with an infrared touch sensor. For example, as shown in FIG1A , an infrared touch-sensitive display screen 10 includes an operating panel 11 and an infrared touch sensor, and the infrared touch sensor is provided on at least one edge of the operating panel 11 to form a touch detection area. The operating panel 11 includes a first frame 111, a second frame 112, a third frame 113, and a fourth frame 114. The first frame 111 is located at the top, also known as the sky side; the third frame 113 is located at the bottom, also known as the ground side; the second frame 112 and the fourth frame 114 are located on opposite sides, so the second frame 112 is also known as the left side, and the fourth frame 114 is also known as the right side. The infrared touch sensor includes an infrared transmitter 121 and an infrared receiver 122. In one embodiment, the infrared transmitter 121 of one set of infrared touch sensors is located on the first frame 111, and the infrared receiver 122 is located on the third frame 113. Another set of infrared touch sensors has an infrared transmitter 121 located on the second frame 112, and an infrared receiver 122 located on the fourth frame 114. The infrared transmitter 121 is used to transmit infrared light, and the infrared receiver 122 is used to receive infrared light. When the infrared light emitted by the infrared transmitter 121 is blocked, preventing the infrared receiver 122 from receiving the infrared light, it can be determined that an obstruction exists between the infrared transmitter 121 and the infrared receiver 122. Therefore, the detection range of the infrared touch sensors can be determined based on the range covered by the infrared rays emitted by all infrared touch sensors (as shown by the straight line in FIG1A ). The corresponding touch detection area on the infrared touch-sensitive display screen can be determined based on the detection range. The touch detection range refers to the range within which a touch object can be detected when performing a touch operation on the operating panel. It will be understood that the size and location of the touch detection range are specifically determined by the number and location of the infrared touch sensors.

[0043] When an infrared touch-sensitive display is operating, the infrared transmitter 121 of the infrared touch sensor emits infrared light at a set frequency, and the infrared receiver 122 receives the infrared light. This process is called the infrared touch sensor's scanning process. In this embodiment, when a touch object enters the touch detection area, the infrared light emitted by the infrared touch sensor is blocked by the touch object. The electrical signal received by the infrared receiver 122 in the infrared touch sensor changes, generating an infrared blocking signal. By analyzing the infrared blocking signal, further information such as the location and area of ​​the touch object can be obtained. In one embodiment, an infrared processor is provided inside the interactive tablet, and together with the infrared touch sensor is called an infrared touch frame. The infrared processor is an MCU (Microcontroller Unit) that is matched with the infrared touch sensor, such as an 811 SOC (System on Chip). When the infrared processor has the logical processing capability of infrared occlusion electrical signals, the infrared processor can provide touch processing services for upper-layer applications based on the infrared occlusion electrical signals. That is, the infrared processor can process the infrared occlusion electrical signals scanned by the infrared touch sensor of the touch object, for example, calculate at least one of the following data: the coordinates (X coordinate, Y coordinate) of the touch object, calculate the width and height, mark the time when the touch object appears, calculate the cross-sectional area of ​​the touch object, etc., to form a touch data packet (that is, touch point data).

[0044] In one embodiment, a central processing unit is also provided inside the interactive tablet, and USB components such as a USB HUB, a USB switch, and a USB Redriver are provided between the central processing unit and the infrared processor. The central processing unit can serve as a HID (Human Interface Device). The infrared processor and the central processing unit communicate through the USB components. When the infrared processor generates a touch data packet, the touch data packet is transmitted to the central processing unit, and the central processing unit then reports the touch data packet to the upper-level application of the operating system.

[0045] It should be noted that in some models of interactive tablets, the central processing unit has the logical processing capability of infrared occlusion electrical signals. In this case, the central processing unit can provide touch processing services for upper-level applications based on the infrared occlusion electrical signals. That is, the infrared processor uploads the infrared occlusion electrical signals to the central processing unit, and the central processing unit can process the infrared occlusion electrical signals scanned by the infrared touch sensor for the touch object, for example, calculate the coordinates (X coordinate, Y coordinate) of the touch object, calculate the width and height, mark the time when the touch object appears, and calculate the cross-sectional area of ​​the touch object, etc., to form a touch data packet (that is, touch point data).

[0046] It should be further explained that, as shown in Figure 1B, under normal circumstances, since the infrared touch sensor 12 is higher than the surface of the operation panel 11 (also called the cover plate), the infrared touch sensor 12 filters and transmits light through a filter strip (also called a filter). The filter strip is usually made by adding a dye to the raw material and then using an injection molding or casting process. The filter strip can transmit infrared light while filtering out other ambient light, thereby improving the signal-to-noise ratio of the infrared blocking electrical signal. Then, the infrared light scanned by the infrared touch sensor 12 on the surface of the operation panel 11 has a certain height range. Therefore, the infrared touch sensor 12 forms a touch detection area in the vertical direction of the operation panel 11, and its height is H. The height H is relatively large, generally greater than 2 mm (millimeter), and cannot be ignored.

[0047] The infrared touch-sensitive display implements the touch function of an interactive tablet: When a touch object (such as a hand or pen) writes on the operating panel, the general process is to first press the touch object, then move it when it contacts the surface of the operating panel, and finally lift it. As shown in Figure 1C, from first touch state 131, second touch state 132, third touch state 133, fourth touch state 134 to fifth touch state 135, it describes the partial processing operations of the infrared touch-sensitive display when the touch object is pressed (Down), moved (Move), and lifted (Up) in a single touch operation.

[0048] In the first touch state 131, the touch object begins to press and is above the touch detection area, that is, the distance between the touch object and the plane where the surface of the operation panel 11 is located is greater than H. The infrared rays of the infrared touch sensor 12 during the scanning process are not blocked by the touch object, and no infrared blocking electrical signal is generated. At this time, the infrared processor or the central processing unit does not report the touch point data.

[0049] In the second touch state 132, the touch object continues to be pressed and is in the touch detection area, and does not touch the surface of the operation panel 11, that is, the distance between the touch object and the plane where the surface of the operation panel 12 is located is greater than 0 and less than H. The infrared light during the scanning process of the infrared touch sensor 12 is blocked by the touch object, generating an infrared blocking electrical signal. At this time, the infrared processor or the central processing unit will report the touch point data according to the infrared blocking electrical signal.

[0050] In the third touch state 133, the touch object is within the touch detection area and has touched the surface of the operating panel 11. The touch object can move on the surface of the operating panel 11. That is, the distance between the touch object and the plane on which the surface of the operating panel 11 lies is less than or equal to 0 (less than 0 indicates that the surface of the operating panel 11 is concave under the force of the touch object). Obviously, the distance between the touch object and the plane on which the surface of the operating panel 11 lies is less than H. At this time, the infrared light from the infrared touch sensor 12 is blocked by the touch object during the scanning process, generating an infrared blocking electrical signal. The infrared processor or central processing unit then reports the touch point data based on the infrared blocking electrical signal.

[0051] In the fourth touch state 134, the touch object begins to lift up and is in the touch detection area, but does not touch the surface of the operation panel 11. That is, the distance between the touch object and the plane where the surface of the operation panel 11 is located is greater than 0 and less than H. The infrared light during the scanning process of the infrared touch sensor 12 is blocked by the touch object, generating an infrared blocking electrical signal. At this time, the infrared processor or the central processing unit will report the touch point data according to the infrared blocking electrical signal.

[0052] In the fifth touch state 135, the touching object continues to be lifted and is above the touch detection area. That is, the distance between the touching object and the plane of the surface of the operation panel 11 is greater than H. The infrared light during the scanning process of the infrared touch sensor 12 is not blocked by the touching object, and no infrared blocking electrical signal is generated. At this time, the infrared processor or the central processing unit does not report the touch point data.

[0053] Therefore, when the infrared touch sensor 12 first scans a touch object, the touch object is not in contact with the operation panel 11. The touch object needs to continue moving toward the operation panel 11 in a direction perpendicular to the operation panel 11, a height H, before it contacts the operation panel 11. In other words, after the infrared touch sensor 12 first scans the touch object, a period of time must pass before the touch object touches the operation panel 11. If the touch object does not touch the operation panel 11 within a period of time after the infrared touch sensor 12 first scans the touch object, it indicates that the touch object may have accidentally entered the touch detection area of ​​the infrared touch sensor 12, and no touch operation is required on the operation panel 11. In this case, i.e., in the aforementioned second touch state 132, the infrared light scanned by the infrared touch sensor 12 is blocked by the touch object, and the infrared touch sensor 12 generates an infrared blocking electrical signal. At this time, the infrared processor or central processing unit still reports the touch point data. That is, when a touch object writes on the operation panel of the infrared touch-sensitive display screen, touch point data will be generated when the touch object enters the touch detection area of ​​the infrared touch sensor 12 but does not touch the operation panel.

[0054] In addition, the current method of determining the area of ​​the touched object based on the touch point data is only applicable to the case where the touch object is in vertical contact with the operation panel 11. When the touch object touches the operation panel at an angle, the range of infrared rays blocked by the touch object will be larger, as shown in FIG2 , causing the area of ​​the touch object determined based on the touch point data to also become larger, resulting in the misidentification of the type of the touch object.

[0055] In another case, when a capacitive touch screen is provided on the interactive device, users currently mostly use capacitive touch operations on the interactive device, that is, pressing the touch object until the touch object touches the surface of the screen, thereby realizing the touch operation on the interactive device. As shown in Figure 3, Figure 3 is a structural schematic diagram of the capacitive touch screen 14. When the touch object contacts the metal layer of the capacitive touch screen 14, the capacitance at the contact point on the metal layer will change, as shown by the darker gray squares in Figure 3, causing the frequency of the oscillator connected to the metal layer to change. By measuring the change in the frequency of the oscillator, the position of the contact point and the area of ​​the touch object can be determined, so that the subsequent interactive device can determine the type of the touch object based on the area. However, when the touch object is an insulating touch object, the capacitive touch screen 14 cannot effectively identify the touch object, nor can it identify the area of ​​the touch object, and it is easy to misidentify the type of the touch object. In another embodiment, when the touch object in contact with the capacitive touch screen is an active capacitive stylus, the position detection circuit inside the active capacitive stylus collects the electrical signal on the capacitive touch screen to determine the position information of the active capacitive stylus on the capacitive touch screen and sends the position information to the interactive device. At the same time, the interactive device can also determine the type of active capacitive stylus based on the signal sent by the active capacitive stylus. However, this method requires that the touch object be an active device and that the touch object also has the function of sending signals to the interactive device. The implementation conditions are relatively harsh and cannot be applied to most usage scenarios.

[0056] Based on this, an embodiment of the present application provides a material identification method, as shown in Figure 4, which is a flow chart of a material identification method provided by an embodiment of the present application. The material identification method provided by an embodiment of the present application can be executed by a material identification device, and the material identification device can be implemented by software and / or hardware. The material identification device can be composed of two or more physical entities, or it can be composed of one physical entity. For example, the material identification device can be an interactive device such as a mobile phone, an interactive tablet, and a display board. The material identification method provided by an embodiment of the present application is used for an interactive tablet, and the interactive tablet includes an operating panel, an infrared touch sensor, and an elastic wave sensor. The infrared touch sensor is arranged on at least one edge of the operating panel to form a touch detection area of ​​the interactive tablet, and the elastic wave sensor is used to detect the vibration of the operating panel and generate an electrical signal.

[0057] An interactive tablet refers to a tablet computer that can interact with a user. For example, a tablet product that interacts with a user through interactive touch technologies such as multi-point infrared or optical touch technologies. It should be further explained that the structure of the interactive tablet provided in this embodiment is shown in Figure 5. The interactive tablet includes an operation panel 11, an infrared touch sensor 12, and an elastic wave sensor 15. The infrared touch sensor 12 is arranged on at least one edge of the operation panel 11. Among them, the operation panel 11 is the link for the user to interact with the interactive tablet. The interactive tablet can display different interfaces or contents through the operation panel 11. The user can send different instructions to the interactive device through gestures or touch operations on the operation panel 11. For example, the operation panel 11 can be a touch screen, etc. In this embodiment, the detection range of the infrared touch sensor can be determined based on the range covered by the infrared rays emitted by the infrared touch sensor on different edges, thereby determining the touch detection area of ​​the infrared touch sensor on the operation panel 11 of the interactive tablet. In addition, the elastic wave sensor 15 provided on the interactive tablet is used to detect elastic waves generated on the operating panel 11 due to the contact of the touch object when the operating panel 11 vibrates, and generates an electrical signal based on the elastic wave, which includes waveform information of the elastic wave.

[0058] It's important to further explain that when a touch object touches the surface of the operating panel, the touched area deforms, generating elastic waves that propagate through the panel. Elastic waves are a type of stress wave, a form of propagation of stress and strain disturbances. Specifically, elastic waves are how stress and strain caused by disturbances or external forces are transmitted through an elastic medium. Elastic forces interact between particles in an elastic medium. When a particle is displaced from its equilibrium position by a disturbance or external force, the elastic restoring force causes it to vibrate, causing displacement and vibration of surrounding particles. This vibration then propagates through the elastic medium, accompanied by energy transfer. Wherever the vibration strikes, stress and strain change.

[0059] The frequency of the elastic waves generated when a touch object touches the surface of the operating panel of the interactive tablet is determined by the two contact media, the touch object and the operating panel. During the touch process, a low-frequency fundamental wave and higher-order harmonics are generated. The energy of the low-frequency fundamental wave is generally much higher than the energy of the higher-order harmonics. Therefore, in this embodiment, the resonant frequency of the elastic wave sensor is designed to be consistent with the frequency of the fundamental wave for the elastic waves generated when some commonly used touch objects touch the surface of the operating panel of the interactive tablet, and the frequency of the fundamental wave is positioned as the operating frequency for material identification, thereby improving the signal-to-noise ratio of the sensor.

[0060] In one embodiment, at least one elastic wave sensor is installed on the operating panel of the interactive tablet, wherein the operating frequency of the elastic wave sensor is basically consistent with the frequency used to distinguish different materials in the elastic waves generated when the touch object touches the surface of the operating panel. Under this condition, the sensitivity of detecting the elastic waves generated when the touch object writes on the operating panel can be enhanced, so that the elastic wave sensor detects the elastic waves generated when the touch object touches the surface of the operating panel, thereby generating a high-quality electrical signal and improving the accuracy of detecting the material of the touch object.

[0061] Since elastic waves can be transmitted in the operation panel, in theory, the elastic wave sensor can be installed at any position where the elastic waves occur on the operation panel, which can be any position on the operation panel or any position that is in direct or indirect contact with the operation panel, and can detect the elastic waves generated by the touch object touching the surface of the operation panel.

[0062] In one embodiment, the elastic wave sensor can utilize a piezoelectric sensor. A piezoelectric sensor is a sensing component that utilizes the piezoelectric effect generated by certain dielectrics when subjected to force. The piezoelectric effect refers to the phenomenon in which certain dielectrics, when deformed (including bending and stretching) by an external force in a specific direction, generate charge on their surface due to changes in the charge distribution within the material.

[0063] Specifically, piezoelectric sensors are affected by elastic waves and generate electrical signals using the positive piezoelectric effect. The so-called positive piezoelectric effect refers to the fact that when certain dielectrics in a piezoelectric sensor are deformed by a force applied in a certain direction (such as the deformation caused by a touch object touching the surface of an operating panel), a certain charge is generated on the electrode surface, causing it to be charged. When the external force is removed, the dielectric returns to its normal, uncharged state.

[0064] Generally speaking, the operating panel of an interactive tablet is generally large in size, and the services it provides, such as electronic whiteboards and document annotation, have a high degree of freedom. A user may use a touch object to touch the operating panel of the interactive tablet at any coordinate on the surface of the operating panel, thereby triggering a touch operation (such as clicking an icon, writing handwriting, etc.). The position where the elastic wave sensor is installed on the operating panel is fixed, and the posture of the elastic wave sensor is fixed. For an elastic wave sensor in a fixed position and posture, the sensitivity and accuracy of detecting the electrical signals generated at different coordinates on the operating panel of the interactive tablet vary. Generally speaking, the closer the coordinate that triggers the touch operation is to the elastic wave sensor, the higher the accuracy of the elastic wave detected by the elastic wave sensor. Conversely, the farther the coordinate that triggers the touch operation is from the elastic wave sensor, the lower the accuracy of the elastic wave detected by the elastic wave sensor.

[0065] It's important to note that if the coordinates triggering a touch operation are too close to the elastic wave sensor, the electrical signal generated by the elastic wave sensor will exceed the maximum voltage of the operational amplifier, resulting in distortion. While maintaining a certain level of sensitivity and accuracy, the elastic wave sensor can be considered to have a detection range for elastic waves. Therefore, the relationship between this detection range and the interactive tablet's operating panel can be used to determine the number and location of elastic wave sensors installed on the same interactive tablet's operating panel.

[0066] Taking into account that the user may use a touch object to touch the operation panel of the interactive tablet at any coordinate on the surface of the operation panel of the interactive tablet, and the part of the operation panel located in the invisible area (such as the area blocked by the frame) is limited, the surface area of ​​the operation panel of the interactive tablet represents the area of ​​the operation panel touched by the user using the touch object. In general, the number of elastic wave sensors is positively correlated with the surface area of ​​the operation panel of the interactive tablet, that is, the larger the surface area of ​​the operation panel of the interactive tablet, the more elastic wave sensors there are, and conversely, the smaller the surface area of ​​the operation panel of the interactive tablet, the fewer elastic wave sensors there are. Of course, at least one elastic wave sensor is installed on the back of the operation panel of the interactive tablet, that is, the number of elastic wave sensors is at least one.

[0067] The material identification method provided in the embodiment of the present application includes:

[0068] Step 101: When a touch object performs a touch operation in a touch detection area, the infrared touch sensor generates an infrared blocking electrical signal from a first moment.

[0069] In this embodiment, when a touch object performs a touch operation within the touch detection area of ​​the infrared touch sensor, the infrared touch sensor emits infrared light to scan the touch object, and the infrared touch sensor begins to generate an infrared blocking electrical signal. The first moment refers to the moment when the infrared touch sensor's infrared light first scans the touch object.

[0070] Step 102: Starting from the first moment, the elastic wave sensor begins to generate an original touch electrical signal.

[0071] At the same time, starting from the first moment, the elastic wave sensor generates an original touch electrical signal according to the vibration of the operation panel, wherein the original touch electrical signal is the electrical signal generated by the elastic wave sensor according to the vibration of the operation panel after the first moment.

[0072] It should be noted that the elastic wave sensor begins generating the original touch electrical signal from the first moment, which does not mean that the original touch electrical signal is generated at the same time as the first moment, but rather that the elastic wave sensor will generate the original touch electrical signal after the first moment. Based on the touch detection area with a height of H formed by the infrared touch sensor described in detail above, it can be understood that for a complete touch operation, the touching object first enters the touch detection area with a height of H and then makes contact with the operating panel at a height of 0. Corresponding to the movement of the touching object, the infrared occlusion signal is generated earlier than the touch electrical signal, that is, the touch electrical signal is not generated at the same time as the first moment, but is generated after the first moment. The absolute duration of this lag may be small, but the relative order relationship cannot be eliminated. The definition of the first moment in this solution and the generation of the original touch electrical signal with the first moment as a reference are to confirm the true starting moment of the touch electrical signal, that is, to confirm the exact time when the touching object contacts the operating panel, thereby confirming the infrared occlusion signal generated when the touching object contacts the operating panel, and then achieving a touch response that accurately corresponds to the actual contact position and time based on the confirmed infrared occlusion signal.

[0073] Step 103: Determine first material information of the touch object according to the infrared shielding electrical signal and the original touch electrical signal.

[0074] After generating the infrared blocking electric signal and the original touch electric signal, the first material information of the touch object is determined based on the infrared blocking electric signal and the original touch electric signal. The first material information includes information about the material of the touch object, for example, the first material information is a stylus or chalk, etc. In one embodiment, in the process of determining the first material information of the touch object, the probabilities corresponding to different materials can be first generated based on the original touch electric signal, for example, the probability of chalk is 65%, the probability of stylus is 35%, etc. Afterwards, the probability is further calibrated using the infrared blocking electric signal to obtain the target probability. For example, the area of ​​the touch object can be determined based on the infrared blocking electric signal, for example, the area of ​​the touch object is 5mm 2 or 10mm 2 After that, the probabilities corresponding to different materials are further adjusted based on the area to obtain the target probability, and finally the first material information of the touch object is generated according to the target probability.

[0075] Step 104: Determine whether to obtain first material information within a first time period after the first moment, and use the first material information as the material type of the touch object.

[0076] In this embodiment, if the first material information is obtained within a first duration after the first moment, the first material information is used as the material type of the touch object. It should be further explained that the first duration is set in this embodiment because, during the use of the interactive tablet, the touch object may block the infrared touch sensor without contacting the operating panel, or the elastic wave data may be missed. Therefore, by setting the first duration, it is possible to determine whether the touch object blocking the infrared touch sensor and contacting the interactive tablet are a continuous action. If the first material signal is obtained within the first duration of the first moment, it indicates that the touch object touched the operating panel within a very short period of time after blocking the infrared touch sensor, that is, the touch action is a valid touch action. In this case, the first material information can be used as the material type of the touch object. Conversely, if the original touch signal is missed or the touch object accidentally blocks the infrared sensor, in which case, since the original touch signal cannot be obtained to generate the first material information, the material information is not used as the material type of the touch object. It is understood that in this embodiment, the first duration can be set according to actual needs. For example, considering the delay that can be received during the user's use and the time required to confirm the material type of the touch object, the first time length can be set to 20-50 milliseconds. In one embodiment, the first time length can be set to 32 milliseconds.

[0077] Step 105: Determine that the first material information is not obtained within a first time period after the first moment, and obtain second material information as the material type of the touch object, wherein the second material information is generated according to the infrared shielding electrical signal.

[0078] If the first material information cannot be obtained within the first time period after the first moment, in order to avoid excessive calculation delay or missed detection of elastic waves resulting in a long waiting time for the original touch electrical signal, the second material information is generated according to the infrared blocking electrical signal, and the second material information is used as the material type of the touch object, wherein the second material information also includes information about the material of the touch object. In one embodiment, in the process of generating the second material information according to the infrared blocking electrical signal, the area of ​​the touch object can be determined according to the infrared blocking electrical signal, and then the second material information of the touch object can be further generated according to the area of ​​the touch object. Exemplarily, the touch area ranges corresponding to different touch objects are stored in advance, so that the second material information of the touch object can be generated according to the area of ​​the touch object. For example, the touch area range of the stylus is 3-6mm. 2 , the touch area of ​​chalk ranges from 8-12mm 2 , when the area of ​​the touch object is 5mm 2 , then the second material information generated at this time is the stylus. When the area of ​​the touch object is 10mm 2 , the second material information generated at this time is chalk.

[0079] As described above, in the embodiment of the present application, when a touch object performs a touch operation in the touch detection area, the infrared blocking electric signal and the original touch electric signal sent by the infrared touch sensor and the elastic wave sensor are received respectively. If the first material information can be generated based on the infrared blocking electric signal and the original touch electric signal within the first time period after the first moment when the infrared blocking electric signal begins to be generated, the material type of the touch object is determined based on the first material information; otherwise, the material type of the touch object is determined based on the second material information generated by the infrared blocking electric signal. The embodiment of the present application can improve the accuracy of material recognition by combining the infrared blocking electric signal and the original touch electric signal to identify the material of the touch object, overcome the problem of low material recognition rate due to the lack of material specificity of the infrared blocking electric signal and the susceptibility of the original touch electric signal to vibration interference, and solve the technical problem in the prior art that the interactive device cannot accurately identify the material of the touch object.

[0080] In the embodiment of the present application, by setting up an elastic wave sensor, the original touch electrical signal generated by the elastic wave sensor when the touch object operates on the operation panel can be collected, so that the material information of the touch object can be obtained in combination with the original touch electrical signal. In the material recognition process, how to locate the starting moment of the effective touch electrical signal in the original touch electrical signal is related to the problem of recognition efficiency and recognition accuracy. One solution in the prior art (hereinafter referred to as Solution 1) is to use the moment when the infrared touch sensor starts to generate the infrared blocking electrical signal as the starting moment of the effective touch electrical signal, and the original touch electrical signal after the starting moment as the effective touch electrical signal, and calculate the material information of the touch object based on the effective touch electrical signal. However, as described above, when the touch object writes on the operation panel, when it enters the touch detection area of ​​the infrared touch sensor but does not touch the operation panel, it will cause the infrared touch sensor to generate an infrared blocking electrical signal, and at this time the touch object has not actually touched the operation panel. Therefore, there is a time difference between the starting time of the effective touch electrical signal determined in this way and the actual starting time of the effective touch electrical signal. The signal during this time difference is actually a noise signal, which will have an adverse effect on the recognition accuracy and speed of the touch object material.

[0081] To solve the above problem, the inventors have creatively proposed a solution mechanism (hereinafter referred to as Solution 2), which determines the starting time based on the change in the signal-to-noise ratio of the original touch electrical signal. By setting a preset threshold and combining the change in the signal-to-noise ratio of the original touch electrical signal with whether it is greater than the preset threshold, the effective touch electrical signal in the original touch electrical signal is extracted. Specifically, the signal-to-noise ratio refers to the ratio of the signal to noise in an electronic device or electronic system. In one embodiment, the signal-to-noise ratio refers to the ratio between the original touch electrical signal and the noise. When the signal-to-noise ratio is greater than a certain value (preset threshold), it means that the value of the original touch electrical signal is large at this time, and the original touch electrical signal is not generated by noise, but by the contact between the touch object and the operation panel. Therefore, the starting time corresponding to the effective touch electrical signal can be determined. Specifically, the signal-to-noise ratio can be obtained by calculating the ratio of the energy average of the original touch electrical signal in the current time window to the historical energy average, where the historical energy average is the energy average of the original touch electrical signal in the previous time window. If the ratio is greater than a preset threshold, it indicates that the original touch signal detected in the current window has a larger amplitude than the original touch signal detected in the previous time window. This amplitude change is unlikely to be caused by the environment, and therefore can be considered to be caused by the contact between the touch object and the operation panel. Therefore, the initial moment of the current window can be used as the starting moment of the original touch signal, that is, the moment when the touch object first touched the operation panel.

[0082] Specifically, as shown in FIG6 , FIG6 is a material identification method provided by solution 2 of the embodiment of the present application, which is a specific embodiment of the material identification method. Referring to FIG6 , the material identification method includes:

[0083] Step 201: When a touch object performs a touch operation in a touch detection area, the infrared touch sensor generates an infrared blocking electrical signal from a first moment.

[0084] Step 202: Starting from the first moment, the elastic wave sensor begins to generate an original touch electrical signal.

[0085] Step 203: Determine the starting time of the effective touch electrical signal based on the original touch electrical signal and a preset threshold.

[0086] In this embodiment, after obtaining the original touch electrical signal, the starting moment of the effective touch electrical signal is further determined based on the original touch electrical signal and combined with a preset threshold. The original touch electrical signal generated by the elastic wave sensor may include noise signals and interference signals, etc., and it is necessary to further confirm the effective touch electrical signal contained therein. In the embodiment of the present application, the original touch electrical signal collected by the elastic wave sensor is combined for calculation to obtain the starting moment of the effective touch electrical signal contained therein, so that the effective touch electrical signal can be correctly located. Among them, the starting moment is the moment when the touch object first contacts the operation panel.

[0087] Based on the above embodiment, in step 203, determining the starting time of the effective touch electrical signal based on the original touch electrical signal and the preset threshold value includes:

[0088] Step 2031: Calculate the average energy value of the original touch electrical signal in the current time window.

[0089] A time window refers to a fixed length of time, and the moment the previous time window ends is the moment a new time window begins. The length of time in the time window can be set according to actual needs. For example, the length of the time window can be set to 5 milliseconds or 10 milliseconds. In this embodiment, the specific length of the time window is not limited. In this embodiment, within the current time window, the energy of the original touch electrical signal detected by the elastic wave sensor is determined in real time, and the average value of the energy is calculated. The energy of the original touch electrical signal refers to the sum of the kinetic energy and potential energy of the elastic medium. When the elastic wave propagates in the elastic medium, each particle vibrates near its equilibrium position, so that the elastic medium has vibration kinetic energy; and because the vibration causes the distance between each particle to change, the medium is deformed, so that it has deformation potential energy. The sum of the vibration kinetic energy and the deformation potential energy is called the energy of the elastic wave in the medium.

[0090] Step 2032: Calculate the ratio of the energy average value to the historical energy average value, where the historical energy average value is the energy average value of the original touch electrical signal in the previous time window.

[0091] After calculating the energy average value in the current time window, the ratio of the corresponding energy average value in the current window to the historical energy average value corresponding to the previous time window is further calculated. The historical energy average value is the energy average value of the original touch electrical signal detected in the previous time window.

[0092] Step 2033: Determine whether the ratio is greater than a preset threshold.

[0093] Step 2034: If it is greater than, obtain the initial time of the current time window, and use the initial time of the current time window as the starting time of the effective touch electrical signal.

[0094] The preset threshold refers to a pre-set threshold. In this embodiment, to distinguish between raw touch signals in ambient noise and raw touch signals generated when a touch object contacts the interactive panel, the preset threshold can be set to a value of 4 or greater. If the ratio is greater than the preset threshold, it indicates that the raw touch signal detected in the current window has a larger amplitude than the raw touch signal detected in the previous time window. This amplitude change is unlikely to be caused by the environment, and therefore can be considered to be caused by contact between the touch object and the operating panel. Therefore, the initial moment of the current window can be used as the starting moment of the valid touch signal, that is, the moment when the touch object first contacts the operating panel.

[0095] By combining a preset threshold with signal-to-noise ratio (SNR) analysis in Solution 2, a valid elastic wave signal can be more effectively extracted from the original elastic wave signal. This, combined with a classification model or neural network recognition algorithm, can identify the material information of the touched object. Compared to existing methods that rely on infrared occlusion electrical signals to determine the starting moment of the valid elastic wave signal, this solution can more accurately identify the material information of the touched object.

[0096] However, in the process of applying the second solution, the inventor discovered that for interactive tablets, due to their large size, generally larger than 65 inches, or even 86 inches or larger, their internal working circuits are relatively complex, and environmental noise may be generated during operation. Moreover, since the use scenarios of interactive tablets are relatively diverse, they are often used to play audio and video information or conduct video conferences, etc., and environmental noise may also be generated during the sounding of their speakers. The noise frequency of the above-mentioned environmental noise of the interactive tablet is not stable and has no regularity, and it is impossible to classify or identify the noise through a classification model or a neural network recognition algorithm. In actual applications, the environmental noise signal may also meet the condition that the signal-to-noise ratio is greater than the preset threshold, thereby making the extracted effective elastic wave signal inaccurate and containing environmental noise, resulting in a reduction in the accuracy of the recognition result of the material information of the touch object.

[0097] In order to solve the problems of Solution 2, the inventors provide another solution mechanism (hereinafter referred to as Solution 3): in the absence of a touch object, the preset threshold is dynamically adjusted according to the noise in the current environment, thereby avoiding the situation where noise is mistakenly identified as contact between a touch object and the operation panel due to excessive noise.

[0098] Specifically, it also includes:

[0099] Step 2035: Dynamically update the preset threshold value according to the first electrical signal generated by the infrared touch sensor and the second electrical signal generated by the elastic wave sensor.

[0100] In this embodiment, a preset threshold value can be dynamically updated based on a first electrical signal generated by the infrared touch sensor and a second electrical signal generated by the elastic wave sensor. The first electrical signal refers to the electrical signal generated by the infrared touch sensor, and the second electrical signal refers to the electrical signal generated by the elastic wave sensor. The first and second electrical signals are used only to distinguish between different hardware sources of the electrical signals. Furthermore, the first and second electrical signals can be generated after the infrared touch sensor and the elastic wave sensor are activated, respectively. When the presence of a touching object is determined based on the first electrical signal, the first electrical signal is the aforementioned infrared blocking electrical signal. This infrared blocking electrical signal is actually a specific signal identified from the first electrical signal. A touching object can be either blocking or not blocking. Therefore, if the first electrical signal is not the infrared blocking electrical signal, it is assumed that the touching object is not currently present. When the second electrical signal determines that the touching object is in contact with the interactive tablet, the second electrical signal is the aforementioned original touch electrical signal. Similarly, the original touch electrical signal is actually a specific signal identified from the second electrical signal. Therefore, if the second electrical signal is not the original touch electrical signal, it is assumed that the touching object is not currently touching the interactive tablet. For the original touch electric signal, the signal state of the second electric signal when the touch object does not touch should be used as a reference, and the originally set preset threshold deviates from the signal state of the second electric signal when no touch occurs during actual use. Therefore, when the interactive tablet determines that there is no touch object based on the first electric signal generated by the infrared touch sensor, the preset threshold is dynamically updated according to the amplitude of the second electric signal generated by the current elastic wave sensor, thereby avoiding the situation where the noise is mistakenly identified as contact between the touch object and the operation panel when the noise in the environment is too large. Specifically, in step 2035, the preset threshold is dynamically updated according to the first electric signal generated by the infrared touch sensor and the second electric signal generated by the elastic wave sensor, including:

[0101] Step 20351: When it is determined that there is no touch object according to the first electrical signal generated by the infrared touch sensor, it is determined in real time whether the instantaneous amplitude of the second electrical signal generated by the elastic wave sensor is greater than a preset threshold.

[0102] First, when it is determined that there is no touch object at present based on the first electrical signal generated by the infrared touch sensor, it is determined whether the instantaneous amplitude of the second electrical signal generated by the elastic wave sensor is greater than the preset threshold. Among them, when it is determined that the first electrical signal is not an infrared blocking electrical signal, it can be determined that there is no touch object in the touch detection area, and the second electrical signal detected by the current elastic wave sensor is further obtained. At this time, the second electrical signal reflects the background noise of the interactive tablet, that is, the environmental noise (mainly including circuit working noise, etc.). By judging whether the instantaneous amplitude of the second electrical signal is greater than the preset threshold, the size of the noise in the current environment can be determined so as to dynamically adjust the preset threshold. Among them, the instantaneous amplitude refers to the amplitude of the energy of the current second electrical signal.

[0103] Step 20352: When the instantaneous amplitude of the second electrical signal is greater than the preset threshold, the preset threshold is set as the first preset threshold.

[0104] When the instantaneous amplitude of the second electrical signal is greater than the preset threshold, it indicates that the ambient noise of the interactive tablet is relatively high and the preset threshold value needs to be increased to prevent the excessive ambient noise from being mistakenly recognized as contact between the touch object and the operation panel. Therefore, the preset threshold value is set to the first preset threshold value with a larger value.

[0105] Step 20353: When the instantaneous amplitude of the second electrical signal is less than the preset threshold, the preset threshold is set as the second preset threshold.

[0106] If the instantaneous amplitude of the second electrical signal is less than the preset threshold, it indicates that the ambient noise of the interactive tablet is low. Therefore, the preset threshold can be set to a smaller second preset threshold. When the instantaneous amplitude of the second electrical signal is equal to the preset threshold, either the first preset threshold or the second preset threshold can be selected as the preset threshold. The specific process is shown in Figure 7. In one embodiment, the first preset threshold can be set to 10, and the second preset threshold can be set to 4.

[0107] For example, during the teaching process, when the teacher uses the interactive tablet to play audio and video, the speaker in the interactive tablet will cause the interactive tablet to vibrate at the same time when it makes a sound, generating environmental noise. At this time, when the interactive tablet determines that there is no touch object based on the first electrical signal generated by the infrared touch sensor, it further determines the instantaneous amplitude of the second electrical signal generated by the current elastic wave sensor. When the instantaneous amplitude of the second electrical signal is greater than the preset threshold, it means that the environmental noise of the interactive tablet is large at this time, and the value of the preset threshold needs to be increased to avoid misidentifying the environmental noise generated by the speaker as a contact between the touch object and the operation panel. The interactive tablet can set the preset threshold to a first preset threshold with a larger value, for example, setting the first preset threshold to 10. If the instantaneous amplitude of the original touch electrical signal is less than the preset threshold, it means that the environmental noise of the interactive tablet is small at this time (that is, the speaker does not make a sound), and the interactive tablet can set the preset threshold to a second preset threshold with a smaller value, for example, setting the second preset threshold to 4.

[0108] The above is the process of dynamically setting the preset threshold in Scheme 3. Through Scheme 3, when it is determined that there is no valid touch object and the instantaneous amplitude of the second electrical signal is greater than the preset threshold, it indicates that the interactive tablet is in working state. At this time, the environmental noise is large, so the preset threshold is adjusted to the larger first preset threshold to avoid the situation where the environmental noise is mistakenly identified as a valid touch electrical signal when the touch object contacts the interactive tablet. If the instantaneous amplitude of the second electrical signal is less than the preset threshold, it means that the environmental noise of the interactive tablet is small at this time, so the preset threshold can be set to the second preset threshold with a smaller value, thereby improving the detection sensitivity of the valid touch electrical signal. Through Scheme 3, when a touch object is operating on the interactive tablet, for some click operations, etc., the noise can be better filtered out and the valid touch electrical signal can be accurately extracted, ensuring a high detection accuracy and avoiding inaccurate extraction results due to noise.

[0109] In one embodiment of the present application, the following steps are also included:

[0110] Step 204 : Acquire valid touch electrical signals within a preset time length after the start time as elastic wave data.

[0111] After determining the start time of the valid touch electrical signal in step 203, the valid touch electrical signal generated within a preset time period after the start time can be further used as elastic wave data. The preset time period can be set according to actual needs and is not limited to a specific value in this embodiment.

[0112] Step 205: Determine first material information of the touch object according to the infrared shielding electrical signal and the elastic wave data.

[0113] Step 206: Determine whether to obtain first material information within a first time period after the first moment, and use the first material information as the material type of the touch object.

[0114] Step 207: Determine that the first material information is not obtained within a first time period after the first moment, and obtain second material information as the material type of the touch object, wherein the second material information is generated according to the infrared shielding electrical signal.

[0115] As described above, in the embodiment of the present application, when no touch object is detected, the current environmental noise is estimated based on the instantaneous amplitude of the second electrical signal generated by the elastic wave sensor, and the preset threshold is dynamically adjusted based on the environmental noise. When the environmental noise is large, the preset threshold is set to a first preset threshold with a larger value, and when the environmental noise is small, the preset threshold is set to a second preset threshold with a smaller value. By dynamically adjusting the preset threshold, the embodiment of the present application can prevent the interactive tablet from being interfered with by environmental noise, which could lead to the environmental noise being mistakenly identified as contact between the touch object and the operating panel. Thus, when the touch object performs a touch operation on the interactive tablet, the starting time of the effective touch electrical signal can be more accurately determined to obtain effective elastic wave data, thereby improving the accuracy of subsequent material identification using effective elastic wave data.

[0116] As shown in FIG8 , FIG8 is a material identification method provided by an embodiment of the present application, which is a specific embodiment of the above-mentioned material identification method. Referring to FIG8 , the material identification method includes:

[0117] Step 301: When a touch object performs a touch operation in a touch detection area, the infrared touch sensor generates an infrared blocking electrical signal from a first moment.

[0118] Step 302: Starting from the first moment, the elastic wave sensor begins to generate an original touch electrical signal.

[0119] Step 303: Determine the starting time of the effective touch electrical signal based on the original touch electrical signal and a preset threshold.

[0120] Step 304: Acquire valid touch electrical signals within a preset time period after the start time as elastic wave data.

[0121] Step 305: Generate probabilities corresponding to different materials based on the elastic wave data.

[0122] In this embodiment, after obtaining valid elastic wave data, probabilities corresponding to different materials are further generated based on the elastic wave data, where probability represents the likelihood of an event occurring. In this embodiment, the probability represents the likelihood that the touching object is of different materials. For example, the probability that the touching object is a finger is 55%, or the probability that the touching object is a stylus is 80%. In one embodiment, the elastic wave data can be input into a trained neural network to obtain the probabilities corresponding to different materials.

[0123] Based on the above embodiment, generating probabilities corresponding to different materials based on elastic wave data in step 305 includes:

[0124] Step 3051: Preprocess the elastic wave data to obtain target data.

[0125] First, to eliminate the impact of elastic wave sensor differences and the different modal elastic wave data generated by touch locations on subsequent calculation results, the elastic wave data must be preprocessed to obtain the target data. For example, invalid data, such as data with clipping distortion or low energy, can be removed from the elastic wave data. The data can then be fused to obtain the target data.

[0126] In one embodiment, the elastic wave data is generated based on valid touch electrical signals corresponding to a plurality of elastic wave sensors.

[0127] It should be noted that, in this embodiment, a preset time length is used as a data processing cycle. The elastic wave data generated during the data processing cycle can be described or recorded in a set, and each element in the set is generated according to the effective touch electrical signal corresponding to an elastic wave sensor. For example, the elastic wave data set D1 = (d1, d2···d n ) T , where T is the preset time length, d i is the elastic wave data obtained based on the effective touch electrical signal of the i-th elastic wave sensor, n is the number of elastic wave sensors,

[0128] Accordingly, in step 3051, the elastic wave data is preprocessed to obtain target data, including:

[0129] Step 30511: Perform time-frequency transformation on the elastic wave data corresponding to the multiple elastic wave sensors to obtain frequency domain data corresponding to the elastic wave data.

[0130] First, the elastic wave data corresponding to the multiple elastic wave sensors are subjected to time-frequency transformation to obtain frequency domain data corresponding to the elastic wave data, wherein the time-frequency transformation refers to converting the time domain data into frequency domain data. Exemplarily, each elastic wave data in the elastic wave data set D1 can be subjected to Fourier transformation to obtain the corresponding frequency domain data D2. It can be understood that the frequency domain data can also be described or recorded in a set manner, that is, the frequency domain data set includes the frequency domain data corresponding to each elastic wave data in the elastic wave data set D1. In one embodiment, before performing the time-frequency transformation, the amplitude of each data in the elastic wave data set D1 can also be compared with the preset effective signal amplitude to determine the data with amplitude limiting distortion (that is, the data with a value greater than the effective signal amplitude), and the data with amplitude limiting distortion can be eliminated.

[0131] Step 30512: Perform multi-channel signal fusion on the frequency domain data to obtain fused data.

[0132] After obtaining the frequency domain data, multi-channel fusion is performed on the frequency domain data to obtain fused data. Multi-channel fusion refers to fusing each data in the frequency domain data set to obtain fused data. In this embodiment, the purpose of multi-channel signal fusion is to eliminate the differences between the elastic wave sensors and the influence of the elastic wave data of different modes generated by the touch position on the subsequent calculation results. The difference in elastic wave sensors refers to the influence of the production process or production environment during the production of the elastic wave sensors, which leads to slight differences in the elastic wave sensors produced on the same production line. Even if two elastic wave sensors produced by the same production line are placed in the same position, there will be slight differences in the elastic waves collected by the two elastic wave sensors. The elastic waves of different modes generated by the touch position refer to the elastic waves collected by the elastic wave sensor with different modes when the elastic wave propagates to different positions. For example, the area of ​​the operation panel 11 of the interactive tablet is shown in FIG9 , and elastic wave sensors 15 are respectively provided below positions 1 to 12 of the operation panel 11. When the touch point between the touch object and the operation panel 11 is position 1, the elastic wave sensors 15 at different positions will detect elastic waves of different modes, as shown in FIG10 , which is a schematic diagram of elastic waves of different modes detected by the elastic wave sensors 15 at positions 1 to 12. Since each elastic wave sensor can only reflect partial information about the vibration characteristics of the touch object, the material recognition accuracy of each elastic wave sensor is limited, resulting in poor accuracy in material recognition. Therefore, in this embodiment, by fusing the frequency domain data corresponding to the elastic wave, the expression of material information can be enhanced, and the influence of the difference in the signal of each elastic wave sensor due to different touch positions on the subsequent calculation process can be avoided.

[0133] In this embodiment, multi-channel signal fusion can be performed by weighted averaging or neural network, so as to obtain target data. Specifically, different multi-channel signal fusion methods are described below.

[0134] In one embodiment, performing multi-channel signal fusion on frequency domain data to obtain fused data includes:

[0135] Perform weighted averaging on the frequency domain data to obtain fused data.

[0136] In one embodiment, the frequency domain data may be weighted averaged to obtain fused data. For example, assuming that the frequency domain data is D2=(d 21 ,d 22 ···d 2n ) T , the formula for weighted averaging of frequency domain data is as follows:

[0137] Among them, D3 is the fusion data, w i (i=1,2...n) is the empirical weight parameter, d 2i is the i-th data in the frequency domain data D2.

[0138] In one embodiment, performing multi-channel signal fusion on frequency domain data to obtain fused data includes:

[0139] The frequency domain data is input into the preset first neural network to obtain fused data.

[0140] In another embodiment, the frequency domain data may be input into the trained first neural network to obtain fused data, as follows:

[0141] Among them, c i 、h i (i=1,2...n) is the training weight parameter of the first neural network, and f is the activation function of the first neural network. The frequency domain data D2 is input into the trained first neural network for calculation to obtain the fusion signal.

[0142] Step 30513: Filter the fused data to obtain target data.

[0143] Finally, the fused data is filtered to obtain the required target data.

[0144] In one embodiment, preprocessing the elastic wave data in step 3051 to obtain target data includes:

[0145] Step 30514: Calculate the system function of the elastic wave propagating to each elastic wave sensor.

[0146] In this embodiment, the system function of elastic wave propagation to each elastic wave sensor is first calculated. The system function is a rational function of the complex variable S with real coefficients, i.e., a real rational function. The process for calculating the system function of elastic waves can be referenced to the process for calculating system functions in the prior art and will not be further described in this embodiment.

[0147] Step 30515: Divide the elastic wave data corresponding to each elastic wave sensor by the corresponding system function to obtain first data corresponding to each elastic wave sensor.

[0148] After calculating the system function corresponding to each elastic wave sensor, the elastic wave data corresponding to each elastic wave sensor is divided by the corresponding system function to obtain first data corresponding to each elastic wave sensor. Specifically, in this embodiment, the first data corresponding to each elastic wave sensor is obtained by dividing the elastic wave data corresponding to each elastic wave sensor in the elastic wave data set by the system function corresponding to the elastic wave sensor.

[0149] Step 30516: Calculate the average value of all first data to obtain target data.

[0150] After obtaining the first data corresponding to each elastic wave sensor, the average value of all the first data is calculated to obtain the target data. In one embodiment, the calculation formula of the target data D4 is as follows:

[0151] Among them, H i represents the system function corresponding to the i-th elastic wave sensor.

[0152] The above is the process of preprocessing the elastic wave data in step 3051 to obtain target data.

[0153] Step 3052: Input the target data into a preset neural network to obtain the probabilities corresponding to different materials.

[0154] After obtaining the target data set, the target data set is input into the trained neural network to obtain the probabilities corresponding to different materials. In one embodiment, the neural network is a multi-layer fully connected network, including a first fully connected layer, a second fully connected layer, a third fully connected layer, a first BN layer, a second BN layer, a Dropout layer, and a Softmax layer; the first fully connected layer, the first BN layer, the second fully connected layer, the second BN layer, the Dropout layer, the third fully connected layer, and the Softmax layer are connected in sequence, as shown in Figure 11.

[0155] Specifically, for the one-dimensional data X=(x1,x2...x n )T , after the feature mapping of the fully connected layer, the feature vector S=(s1,s2...s m ) T , where n is the number of one-dimensional data and m is the number of nodes output by the fully connected layer (the dimension of the feature vector). The specific calculation is shown in Formula 4:

[0156] Among them, g is the activation function, w ij and b ij are the weight parameters of the corresponding nodes in the fully connected layer, and k is the number of input nodes.

[0157] Eigenvector S=(s1,s2...s m ) T After normalization through the BN layer, the normalized feature V = (v1, v2...v m ) T , as shown in Formula 5:

[0158] Among them, β b ,γ b ,m b ,δ b is the training parameter.

[0159] After stacking the fully connected layer and the BN layer, the one-dimensional data input to the multi-layer fully connected network is linearly mapped to feature data, and finally the feature data is input to the Dropout layer and the Softmax layer to obtain the probability. Among them, the Dropout layer is used to mask the connection mode of the fully connected layer according to the Bernoulli distribution probability during the training process of the multi-layer fully connected network, as shown in Formula 6:

[0160] Among them, r ij Generate random 0 and 1 with probability p according to Bernoulli distribution. In actual use, the Dropout probability value p is 0, that is, r ij Always equal to 1.

[0161] Finally, the softmax layer is used to obtain the probability Y corresponding to each material = (y1, y2...y t ) T , as shown in Formula 7:

[0162] Where t is the number of materials.

[0163] It should be further explained that, in this embodiment, the training parameters and weight parameters of the multi-layer fully connected network are obtained by pre-training the multi-layer fully connected network.

[0164] The training parameters and weight parameters of the multi-layer fully connected network are obtained by training the multi-layer fully connected network using the cross entropy loss function and the Adam optimization algorithm. The specific training process is:

[0165] Obtain a sufficient number of historical target data sets as training data, and extract a portion of the historical target data sets as validation sets. The historical target data sets are target data sets obtained historically. Then, label the corresponding material information for each historical target data in the training set and generate a one-hot label:

[0166] Where L is the label of the qth material.

[0167] Afterwards, the cross entropy loss function and Adam optimization algorithm are used to train the multi-layer fully connected network.

[0168] The cross entropy loss is shown in Formula 8:

[0169] The process of training a multi-layer fully connected network using the cross entropy loss function and the Adam optimization algorithm can refer to the relevant neural network training process. It should be noted that in this embodiment, the training rounds of the multi-layer fully connected network are 100 times, and the amount of data in the training data during each training is 512. After the training is completed, the verification set is input into the trained multi-layer fully connected network, and the probability of the multi-layer fully connected network output is used to determine whether the trained multi-layer fully connected network meets the requirements. If the recognition rate of the multi-layer fully connected network for the verification set reaches 0.9975 or above, it is determined that the multi-layer fully connected network is a trained multi-layer fully connected network, and the training parameters and weight parameters can be obtained from the multi-layer fully connected network.

[0170] The above training process for training parameters and weight parameters can be summarized as follows: collecting a first preset amount of target data as training data, and collecting a second preset amount of target data as verification data; receiving material labels corresponding to each training data and verification data; training the multi-layer fully connected network using the cross-entropy loss function and the Adam optimization algorithm in rounds, wherein each round uses the training data corresponding to the preset data volume for training, and each round trains a corresponding initial network model; verifying the initial network model through the verification data, and when the verification recognition rate of the initial network model reaches the preset index, confirming that the training parameters and weight parameters of the initial network model are the training parameters and weight parameters of the multi-layer fully connected network and ending the training. Based on the training process described in this summary, the training rounds, the preset data volume corresponding to each round, the cross-entropy loss function, and other implementation details used as exemplary descriptions in the specific training process described above can all be adjusted.

[0171] The above steps describe the process of deriving the probabilities corresponding to different materials from elastic wave data. Using a multi-layer, fully connected network to output the probabilities corresponding to different materials yields higher recognition accuracy and greater robustness than traditional manual feature-based methods.

[0172] Step 306: Adjust the probability according to the infrared blocking electrical signal to obtain the target probability.

[0173] After obtaining the probability, in order to prevent the elastic wave data from being disturbed by vibration and thus reducing the accuracy of material recognition, in this embodiment, the probability is further adjusted based on the infrared blocking electrical signal to obtain the target probability. Specifically, in one embodiment, adjusting the probability based on the infrared blocking electrical signal to obtain the target probability includes:

[0174] Step 3061: Determine the area of ​​the touch object according to the infrared shielding electrical signal.

[0175] First, the area of ​​the touch object is determined according to the infrared shielding electric signal. The process of determining the area of ​​the touch object according to the infrared shielding electric signal can be referred to existing literature and will not be described in detail in this embodiment.

[0176] Step 3062: Determine the weights corresponding to the areas and different materials based on the areas of the touch object.

[0177] After determining the area of ​​the touched object, the weights corresponding to the area and different materials are further determined. The weight refers to the importance of a factor or indicator relative to a certain object. In this embodiment, the area has different numerical ranges, for example, the numerical range is 8-12mm. 2 Represents a touch object, the value range is 16-22mm 2 Characterizes a touch object, the value range is 25-35mm 2 Characterizes a touch object, so different areas and different materials falling into different area ranges have corresponding weights. For example, when the area of ​​the touch object is 10mm 2 , the corresponding chalk weight is 0.2, the stylus weight is 0.6, and the finger weight is 0.2. When the area of ​​the touch object is 20mm 2 , the corresponding chalk weight is 0.6, the stylus weight is 0.2, and the finger weight is 0.2. When the area of ​​the touch object is 30mm 2 , the corresponding chalk weight is 0.2, the stylus weight is 0.2, and the finger weight is 0.6. It can be understood that the weights of different materials corresponding to different areas are pre-set.

[0178] Step 3063: Adjust the probability (the aforementioned probabilities corresponding to different materials) according to the weight to obtain the target probability.

[0179] After obtaining the weights between the area of ​​the touched object and the different materials, the probabilities corresponding to the different materials output by the multi-layer fully connected network are adjusted according to the weights to obtain the target probabilities. Specifically, in this embodiment, the probability corresponding to each material is multiplied by the corresponding weight to obtain the target probabilities of different materials. For example, the probabilities of different materials output by the multi-layer fully connected network are shown in Table 1:

[0180] Table 1

[0181] The weights of different materials obtained according to the area of ​​the touch object are shown in Table 2:

[0182] Table 2

[0183] At this point, the probability corresponding to each material is multiplied by the corresponding weight. That is, the target probability of chalk is 0.3×0.2=0.06, the target execution degree of the stylus is 0.2×0.2=0.04, and the target probability of the finger is 0.5×0.6=0.3.

[0184] Step 307: Generate first material information of the touch object according to the target probability.

[0185] Finally, the first material information is generated based on the target probability. Specifically, among each material, the material with the highest target probability is selected, and the first material information is generated based on this material. For example, when the target probability of a finger is the highest, the first material information is generated based on the finger.

[0186] Step 308: Determine whether to obtain first material information within a first time period after the first moment, and use the first material information as the material type of the touch object.

[0187] Step 309: Determine that the first material information is not obtained within a first time period after the first moment, and obtain second material information as the material type of the touch object, wherein the second material information is generated according to the infrared shielding electrical signal.

[0188] As described above, when pre-processing the elastic wave data, the embodiment of the present application fuses the elastic wave data through a multi-channel fusion strategy to obtain fused data, thereby avoiding the situation where the elastic wave data detected by a single elastic wave sensor is used to determine the material of the touch object, resulting in the elastic wave data being invalid due to anomalies, and thus misidentification. It can also enhance the stability of the target data set and avoid the impact of the difference in elastic wave data detected by each elastic wave sensor due to different touch positions on subsequent calculations. In addition, the embodiment of the present application uses a multi-layer fully connected network to output the probabilities corresponding to different materials. Compared with the traditional artificial feature method, the recognition accuracy is high and the robustness is good. Secondly, the embodiment of the present application also adjusts the probability in combination with the infrared occlusion electrical signal, which can improve the recognition accuracy of the multi-layer fully connected network and improve the accuracy of material recognition.

[0189] In one embodiment, it further includes:

[0190] Step 401: If the first material information is not obtained within the first time period after the first moment, obtain the infrared blocking electrical signal of the previous moment, and determine whether the current touch operation is associated with the touch operation of the previous moment based on the current infrared blocking electrical signal. If so, obtain the material type corresponding to the previous moment as the material type of the touch event.

[0191] In this embodiment, when it is determined that the first material information has not been obtained within a first time period after the first moment, an infrared shielding electrical signal from the previous moment is also obtained, and based on the current infrared shielding electrical signal, it is determined whether the current touch operation is associated with the touch operation from the previous moment. Here, association means that the current touch operation of the touch object on the operating panel and the touch operation from the previous moment are generated by a series of continuous actions, such as a user continuously sliding a finger across the touch detection area of ​​the operating panel. Because the pause time of the touch object when performing a series of continuous actions is very short, the possibility of changing the touch object during the touch process can be ruled out, that is, the material of the touch object remains unchanged. If the current touch operation is associated with the touch operation from the previous moment, the possibility of the touch object's material changing can be ruled out, and the material type of the previous touch event can be directly used as the material type of the current touch event.

[0192] For example, if the first, second, and third touch operations are multiple consecutive touch operations generated by a series of continuous touch actions, after confirming the first material type of the touch object in the first touch operation, the first material type of the touch object can be directly obtained as the second material type of the touch object in the second touch operation. Similarly, the second material type can be directly obtained as the third material type of the touch object in the third touch operation. It is understood that if a series of continuous touch actions also generates a fourth touch operation... and so on, the same analogy is applied, and this is not further described in this embodiment.

[0193] Specifically, in one embodiment, when determining whether the current touch operation is associated with the touch operation at the previous moment, it can be confirmed whether the current touch operation is associated with the touch operation at the previous moment based on the time interval between the current touch operation and the touch operation at the previous moment and the distance between the touch points.

[0194] In one embodiment, in step 401, obtaining the infrared blocking electrical signal at the previous moment and determining whether the current touch operation is associated with the touch operation at the previous moment based on the current infrared blocking electrical signal include:

[0195] Step 4011: Determine the touch point based on the current infrared shielding electrical signal, and determine the historical touch point based on the infrared shielding electrical signal at the previous moment.

[0196] The touch point refers to the point where the touch object contacts the interactive flat panel. In this embodiment, the current touch point of the touch object is first determined based on the current infrared blocking electrical signal, and the historical touch point of the touch object at the previous moment is determined based on the infrared blocking electrical signal at the previous moment.

[0197] Step 4012: Calculate the distance between the touch point and the historical touch points, and determine the time interval between the first moment and the previous moment.

[0198] After determining the historical touch point at the previous moment, the distance between the touch point and the historical touch point is further calculated, and the time interval between the first moment and the previous moment is determined.

[0199] Step 4013: When the distance is less than the preset distance and the time interval is less than the preset time interval, determine that the current touch operation is associated with the touch operation at the previous moment.

[0200] When the distance between the touch point and the historical touch point is less than the preset distance, and the time interval between the first moment and the previous moment is less than the preset time interval, it indicates that the current touch operation and the previous touch operation are generated by a series of coherent touch actions of the touch object, and it is determined that the current touch operation is associated with the touch operation at the previous moment.

[0201] As described above, the present embodiment determines whether the current touch operation is associated with the previous touch operation. If so, the material type corresponding to the previous touch operation is obtained as the material type of the touch event. This reduces the computational effort required to identify the material of the touched object, further reducing material identification latency, avoiding lags caused by computational delays, and improving the user experience.

[0202] As shown in FIG12 , FIG12 is a schematic structural diagram of an interactive tablet provided by the present application. The interactive tablet includes an operating panel 11, an infrared touch sensor 12, an elastic wave sensor 15, and at least one processing device 16. The infrared touch sensor 12 is provided on at least one edge of the operating panel 11 to form a touch detection area of ​​the interactive tablet. The elastic wave sensor 15 is used to detect vibration of the operating panel 11 and generate an electrical signal. The at least one processing device 16 is used to:

[0203] When the touch object performs a touch operation in the touch detection area, the infrared touch sensor generates an infrared blocking electrical signal from the first moment;

[0204] From the first moment, the elastic wave sensor begins to generate the original touch electrical signal;

[0205] Calculate the average energy of the original touch electrical signal within the current time window;

[0206] Calculate the ratio of the average energy value to the historical average energy value, where the historical average energy value is the average energy value of the original touch electrical signal in the previous time window.

[0207] Determine whether the ratio is greater than a preset threshold;

[0208] If it is greater than, the initial moment of the current time window is obtained, and the initial moment of the current time window is used as the starting moment of the effective touch electrical signal;

[0209] Acquire effective touch electrical signals within a preset time length after the start time as elastic wave data;

[0210] The first material information of the touch object is determined according to the infrared shielding electric signal and the elastic wave data.

[0211] In this embodiment, a plurality of elastic wave sensors are installed on the back of the operation panel, and the elastic wave sensors can be installed on the operation panel directly or indirectly. For example, when directly installed, the elastic wave sensor can be installed on the back of the operation panel by gluing; when indirectly installed, it can be indirectly installed on the back of the operation panel through a mounting component. For example, after the elastic wave sensor is installed on the FPC circuit board, the FPC circuit board is then installed on the back of the control panel, and the electrical signal is transmitted through the FPC circuit board. Among them, the FPC (Flexible Printed Circuit board) circuit board, that is, the flexible circuit board, is generally made of polyimide or polyester film as the base material, and has the advantages of light weight, thin thickness, strong foldability, and high wiring density.

[0212] In the embodiment of the present application, when a touch object performs a touch operation in the touch detection area, the infrared blocking electric signal and the original touch electric signal sent by the infrared touch sensor and the elastic wave sensor are received respectively. If the first material information can be generated based on the infrared blocking electric signal and the original touch electric signal within a first period of time after the first moment when the infrared blocking electric signal begins to be generated, the material type of the touch object is determined based on the first material information; otherwise, the material type of the touch object is determined based on the second material information generated by the infrared blocking electric signal. By combining the infrared blocking electric signal and the original touch electric signal to identify the material of the touch object, the embodiment of the present application can improve the accuracy of material identification, overcome the problem of low material identification rate due to the lack of material specificity of the infrared blocking electric signal and the susceptibility of the original touch electric signal to vibration interference, and solve the technical problem in the prior art that the interactive device cannot accurately identify the material of the touch object. Secondly, in the embodiment of the present application, by setting the first time length, when the first material information cannot be generated in time based on the infrared blocking electrical signal and the original touch electrical signal, the second material information generated based on the infrared blocking electrical signal can be directly used to confirm the material type of the touch object, thereby avoiding the technical problem of poor user experience due to excessive calculation delay.

[0213] Based on the above embodiment, the method further includes:

[0214] The preset threshold is dynamically updated according to the first electrical signal generated by the infrared touch sensor and the second electrical signal generated by the elastic wave sensor.

[0215] On the basis of the above embodiment, dynamically updating the preset threshold value according to the first electrical signal generated by the infrared touch sensor and the second electrical signal generated by the elastic wave sensor includes:

[0216] When it is determined that no touch object exists according to the first electrical signal generated by the infrared touch sensor, determining in real time whether the instantaneous amplitude of the second electrical signal generated by the elastic wave sensor is greater than a preset threshold;

[0217] When the instantaneous amplitude of the second electrical signal is greater than the preset threshold, setting the preset threshold to the first preset threshold;

[0218] When the instantaneous amplitude of the second electrical signal is less than the preset threshold, the preset threshold is set as the second preset threshold.

[0219] Based on the above embodiment, determining the first material information of the touch object according to the infrared shielding electric signal and the elastic wave data includes:

[0220] Generate probabilities corresponding to different materials based on elastic wave data;

[0221] The probability is adjusted according to the infrared blocking electrical signal to obtain the target probability;

[0222] First material information of the touch object is generated according to the target probability.

[0223] On the basis of the above embodiment, the probability is adjusted according to the infrared blocking electric signal to obtain the target probability, including:

[0224] Calculate the area of ​​the touched object based on the infrared blocking electrical signal;

[0225] According to the area of ​​the touched object, determine the corresponding weights between the area and different materials;

[0226] The probability is adjusted according to the weight to obtain the target probability.

[0227] Based on the above embodiment, generating probabilities corresponding to different materials based on elastic wave data includes:

[0228] Preprocess the elastic wave data to obtain target data;

[0229] Input the target data into the preset neural network to obtain the probabilities corresponding to different materials.

[0230] Based on the above embodiment, elastic wave data is generated based on the effective touch electrical signals corresponding to the multiple elastic wave sensors, and the elastic wave data is preprocessed to obtain target data, including:

[0231] Performing time-frequency transformation on elastic wave data corresponding to the plurality of elastic wave sensors to obtain frequency domain data corresponding to the elastic wave data;

[0232] Perform multi-channel signal fusion on frequency domain data to obtain fused data;

[0233] Filter the fused data to obtain the target data.

[0234] Based on the above embodiment, multi-channel signal fusion is performed on the frequency domain data to obtain fused data, including:

[0235] Perform weighted averaging on the frequency domain data to obtain fused data.

[0236] Based on the above embodiment, multi-channel signal fusion is performed on the frequency domain data to obtain fused data, including:

[0237] The frequency domain data is input into the preset first neural network to obtain fused data.

[0238] Based on the above embodiment, elastic wave data is preprocessed to obtain target data, including:

[0239] Calculate the system function of elastic wave propagation to each elastic wave sensor;

[0240] Dividing the elastic wave data corresponding to each elastic wave sensor by the corresponding system function to obtain first data corresponding to each elastic wave sensor;

[0241] Calculate the average of all first data to obtain target data.

[0242] Based on the above embodiment, the neural network is a multi-layer fully connected network, including a first fully connected layer, a second fully connected layer, a third fully connected layer, a first BN layer, a second BN layer, a Dropout layer and a Softmax layer; the first fully connected layer, the first BN layer, the second fully connected layer, the second BN layer, the Dropout layer, the third fully connected layer and the Softmax layer are connected in sequence.

[0243] Based on the above embodiment, the training parameters and weight parameters of the multi-layer fully connected network are obtained by training the multi-layer fully connected network using the cross entropy loss function and the Adam optimization algorithm.

[0244] Based on the above embodiment, the training parameters and weight parameters are obtained by training in the following manner:

[0245] Collecting a first preset amount of target data as training data, and collecting a second preset amount of target data as verification data;

[0246] Receive material labels corresponding to each training data and validation data;

[0247] The multi-layer fully connected network is trained in rounds using the cross entropy loss function and the Adam optimization algorithm. Each round uses training data corresponding to a preset amount of data for training, and each round of training obtains the corresponding initial network model.

[0248] The initial network model is verified by verification data. When the verification recognition rate of the initial network model reaches the preset index, the training parameters and weight parameters of the initial network model are confirmed to be the training parameters and weight parameters of the multi-layer fully connected network and the training is terminated.

[0249] Based on the above embodiment, the following further aspects are included:

[0250] If the first material information is not obtained within the first time period after the first moment, the infrared blocking electrical signal of the previous moment is obtained, and based on the current infrared blocking electrical signal, it is determined whether the current touch operation is associated with the touch operation of the previous moment. If so, the material type corresponding to the previous moment is obtained as the material type of the touch event.

[0251] On the basis of the above embodiment, obtaining the infrared blocking electrical signal at the previous moment and determining whether the current touch operation is associated with the touch operation at the previous moment according to the current infrared blocking electrical signal include:

[0252] Determine the touch point based on the current infrared occlusion electrical signal, and determine the historical touch point based on the infrared occlusion electrical signal at the previous moment;

[0253] Calculate the distance between the touch point and the historical touch points, and determine the time interval between the first moment and the previous moment;

[0254] When the distance is less than the preset distance and the time interval is less than the preset time interval, it is determined that the current touch operation is associated with the touch operation at the previous moment.

[0255] The interactive tablet embodiment of the present application is used to perform relevant operations in the material identification method provided in any embodiment of the present application, and has corresponding functions and beneficial effects.

[0256] In addition, an embodiment of the present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform relevant operations in the material identification method provided in any embodiment of the present application, and have corresponding functions and beneficial effects.

[0257] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products.

[0258] Therefore, the application can adopt the form of complete hardware embodiment, complete software embodiment, or the embodiment in combination with software and hardware. Moreover, the application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The application is described with reference to the flow chart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow chart and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instruction executed by the processor of the computer or other programmable data processing device produces a device for realizing the function specified in one flow chart flow chart or multiple flows and / or one block or multiple blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device that implements the functions specified in one or more processes of the flowchart and / or one or more blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes of the flowchart and / or one or more blocks of the block diagram.

[0259] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in a computer-readable medium, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0260] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media 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 disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0261] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0262] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of this application. It should be understood that the above descriptions are merely specific embodiments of this application and are not intended to limit the scope of protection of this application. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application by those skilled in the art should be included within the scope of protection of this application.

Claims

1. A material recognition method for an interactive tablet, wherein: The interactive tablet comprises an operation panel, an infrared touch sensor and an elastic wave sensor, wherein the infrared touch sensor is arranged at at least one edge of the operation panel to form a touch detection area of ​​the interactive tablet, and the elastic wave sensor is used to detect vibration of the operation panel and generate an electrical signal. The material recognition method comprises: When the touch object performs a touch operation in the touch detection area, the infrared touch sensor generates an infrared blocking electrical signal from a first moment; Starting from the first moment, the elastic wave sensor starts to generate an original touch electrical signal; Calculating the energy average value of the original touch electrical signal in the current time window; Calculating a ratio of the energy average value to a historical energy average value, wherein the historical energy average value is an energy average value of the original touch electrical signal in a previous time window; Determining whether the ratio is greater than a preset threshold; If it is greater than, the initial time of the current time window is obtained, and the initial time of the current time window is used as the starting time of the effective touch electrical signal; Acquire a valid touch electrical signal within a preset time length after the starting moment as elastic wave data; The first material information of the touch object is determined according to the infrared shielding electrical signal and the elastic wave data.

2. A material identification method according to claim 1, wherein: The method further comprises: The preset threshold is dynamically updated according to the first electrical signal generated by the infrared touch sensor and the second electrical signal generated by the elastic wave sensor.

3. A material identification method according to claim 2, wherein: The dynamically updating the preset threshold value according to the first electrical signal generated by the infrared touch sensor and the second electrical signal generated by the elastic wave sensor includes: When it is determined that the touch object does not exist according to the first electrical signal generated by the infrared touch sensor, determining in real time whether the instantaneous amplitude of the second electrical signal generated by the elastic wave sensor is greater than a preset threshold; When the instantaneous amplitude of the second electrical signal is greater than the preset threshold, setting the preset threshold to the first preset threshold; When the instantaneous amplitude of the second electrical signal is smaller than the preset threshold, the preset threshold is set as a second preset threshold.

4. A material identification method according to claim 1, wherein: The determining the first material information of the touch object according to the infrared shielding electrical signal and the elastic wave data includes: generating probabilities corresponding to different materials according to the elastic wave data; The probability is adjusted according to the infrared blocking electrical signal to obtain a target probability; The first material information of the touch object is generated according to the target probability.

5. A material identification method according to claim 4, wherein: The step of adjusting the probability according to the infrared shielding electrical signal to obtain the target probability includes: Calculating the area of ​​the touch object according to the infrared shielding electrical signal; Determining, according to the area of ​​the touch object, the weights corresponding to the area and the different materials; The probability is adjusted according to the weight to obtain a target probability.

6. A material identification method according to claim 4, wherein: The generating probabilities corresponding to different materials according to the elastic wave data includes: Preprocessing the elastic wave data to obtain target data; The target data is input into a preset neural network to obtain the probabilities corresponding to different materials.

7. A material identification method according to claim 6, wherein: The elastic wave data is generated according to the effective touch electrical signals corresponding to the plurality of elastic wave sensors, and the preprocessing of the elastic wave data to obtain the target data includes: Performing time-frequency transformation on elastic wave data corresponding to the plurality of elastic wave sensors to obtain frequency domain data corresponding to the elastic wave data; Performing multi-channel signal fusion on the frequency domain data to obtain fused data; The fused data is filtered to obtain target data.

8. A material identification method according to claim 7, wherein: The performing multi-channel signal fusion on the frequency domain data to obtain fused data includes: The frequency domain data is weighted averaged to obtain fused data.

9. A material identification method according to claim 7, wherein: The performing multi-channel signal fusion on the frequency domain data to obtain fused data includes: The frequency domain data is input into a preset first neural network to obtain fused data.

10. A material identification method according to claim 6, wherein: The preprocessing of the elastic wave data to obtain target data includes: Calculate the system function of the elastic wave propagating to each of the elastic wave sensors; Dividing the elastic wave data corresponding to each of the elastic wave sensors by the corresponding system function to obtain first data corresponding to each of the elastic wave sensors; Calculate the average of all the first data to obtain target data.

11. A material identification method according to claim 6, wherein: The neural network is a multi-layer fully connected network, including a first fully connected layer, a second fully connected layer, a third fully connected layer, a first BN layer, a second BN layer, a Dropout layer and a Softmax layer; the first fully connected layer, the first BN layer, the second fully connected layer, the second BN layer, the Dropout layer, the third fully connected layer and the Softmax layer are connected in sequence.

12. A material identification method according to claim 11, wherein: The training parameters and weight parameters of the multi-layer fully connected network are obtained by training the multi-layer fully connected network using a cross entropy loss function and an Adam optimization algorithm.

13. A material identification method according to claim 12, wherein: The training parameters and weight parameters are obtained by training in the following manner: Collecting a first preset amount of target data as training data, and collecting a second preset amount of target data as verification data; Receiving a material label corresponding to each of the training data and the validation data; The multi-layer fully connected network is trained by using a cross entropy loss function and an Adam optimization algorithm in rounds, wherein each round is trained by using the training data corresponding to a preset data volume, and each round of training obtains a corresponding initial network model; The initial network model is verified by the verification data. When the verification recognition rate of the initial network model reaches a preset index, the training parameters and weight parameters of the initial network model are confirmed to be the training parameters and weight parameters of the multi-layer fully connected network and the training is terminated.

14. A material identification method according to claim 1, wherein: Also includes: If the first material information is not obtained within the first time period after the first moment, the infrared blocking electrical signal of the previous moment is obtained, and based on the current infrared blocking electrical signal, it is determined whether the current touch operation is associated with the touch operation of the previous moment; if so, the material type corresponding to the previous moment is obtained as the material type of the touch event.

15. A material identification method according to claim 14, wherein: The acquiring of the infrared shielding electrical signal at the previous moment, and judging whether the current touch operation is associated with the touch operation at the previous moment according to the current infrared shielding electrical signal, includes: Determine the touch point according to the current infrared blocking electrical signal, and determine the historical touch point according to the infrared blocking electrical signal at the previous moment; Calculating the distance between the touch point and the historical touch point, and determining the time interval between the first moment and the previous moment; When the distance is less than the preset distance and the time interval is less than the preset time interval, it is determined that the current touch operation is associated with the touch operation at the previous moment.

16. An interactive tablet, wherein: The interactive tablet comprises an operation panel, an infrared touch sensor, an elastic wave sensor and at least one processing device, wherein the infrared touch sensor is arranged at at least one edge of the operation panel to form a touch detection area of ​​the interactive tablet, the elastic wave sensor is used to detect vibration of the operation panel and generate an electrical signal, and the at least one processing device is used to: When the touch object performs a touch operation in the touch detection area, the infrared touch sensor generates an infrared blocking electrical signal from a first moment; Starting from the first moment, the elastic wave sensor starts to generate an original touch electrical signal; Calculating the energy average value of the original touch electrical signal in the current time window; Calculating a ratio of the energy average value to a historical energy average value, wherein the historical energy average value is an energy average value of the original touch electrical signal in a previous time window; Determining whether the ratio is greater than a preset threshold; If it is greater than, the initial time of the current time window is obtained, and the initial time of the current time window is used as the starting time of the effective touch electrical signal; Acquire a valid touch electrical signal within a preset time length after the starting moment as elastic wave data; The first material information of the touch object is determined according to the infrared shielding electrical signal and the elastic wave data.

17. An interactive tablet according to claim 16, wherein: There are a plurality of elastic wave sensors, and the elastic wave sensors are directly or indirectly mounted on the back side of the operation panel.

18. A storage medium storing computer executable instructions, wherein: When the computer executable instructions are executed by a computer processor, they are used to perform a material identification method according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Touch positioning device and method

    CN110162193A

  • Interaction method and interaction panel

    CN114690853A

  • False touch prevention method and device based on contact tracking, interaction panel and storage medium

    CN114690931A

  • Frame assembly with elastic wave sensor and interactive panel

    CN217821391U

  • Touch data processing method and interaction tablet

    WO2022222384A1