WO2022222384A1 - Touch data processing method and interaction tablet - Google Patents

Touch data processing method and interaction tablet Download PDF

Info

Publication number
WO2022222384A1
WO2022222384A1 PCT/CN2021/122175 CN2021122175W WO2022222384A1 WO 2022222384 A1 WO2022222384 A1 WO 2022222384A1 CN 2021122175 W CN2021122175 W CN 2021122175W WO 2022222384 A1 WO2022222384 A1 WO 2022222384A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
elastic wave
touch data
infrared
infrared touch
Prior art date
Application number
PCT/CN2021/122175
Other languages
French (fr)
Chinese (zh)
Inventor
陈玉香
Original Assignee
广州创知科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202110436301.9A external-priority patent/CN114692580A/en
Priority claimed from CN202110436274.5A external-priority patent/CN114690853B/en
Application filed by 广州创知科技有限公司 filed Critical 广州创知科技有限公司
Publication of WO2022222384A1 publication Critical patent/WO2022222384A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes

Definitions

  • the present disclosure relates to the technical field of electronic device control, and in particular, to a touch data processing method and an interactive tablet.
  • the infrared touch frame includes infrared transmitters and infrared receivers installed around the display screen of the interactive tablet, or on the top, bottom or left and right sides.
  • the touch operation on the display screen is recognized by the infrared transmitter and the infrared receiver, and the corresponding infrared touch data is obtained and sent to the processor of the interactive tablet.
  • the interactive tablet performs corresponding operations according to the infrared touch data, such as displaying a corresponding writing track on the display screen of the interactive tablet according to the movement track of the touch object.
  • the response to the touch operation is basically only based on the specific input judgment of the touch track, such as track input based on the touch track or simple command reception.
  • the target control needs to be realized according to the combination of multiple touch inputs. For example, for the writing process, when setting the display attribute of the writing track or switching the operation mode of writing and erasing, it requires more complicated Only the touch operation combination can achieve the setting target, the operation is more complicated and the efficiency is low.
  • the present disclosure provides a touch data processing method and an interactive tablet, so as to solve the technical problems in the prior art that the interactive tablet requires a relatively complex touch operation combination to achieve the setting target, the operation is cumbersome and the efficiency is low.
  • the present disclosure provides a touch data processing method applied to an interactive tablet, the interactive tablet includes a display screen, a processing device and an infrared touch frame, the interactive tablet further includes an elastic wave detection device, the method include:
  • the infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in the touch detection area of the interactive tablet; the infrared touch data includes touch position information and/or touch parameters information;
  • the processing device receives the infrared touch data sent by the infrared touch frame
  • the elastic wave detection device receives the infrared touch data, wherein the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device;
  • the elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet;
  • the elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal;
  • the elastic wave detection apparatus sends medium type information to the processing device, where the medium type information includes a medium type corresponding to the touch object.
  • the present disclosure uses the infrared touch frame to detect the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet, and uses the elastic wave detection device to detect the elastic wave signal generated when the touch object touches the display screen.
  • the location information and/or touch parameter information, and the elastic wave signal determine the medium type.
  • the infrared touch data and the elastic wave signal determine the medium type, the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included.
  • the information is sent to the processing device, so that the processing device can perform different response operations according to different media types of the touch object, and the operation is simple and the efficiency is high.
  • the present disclosure provides a touch data processing method applied to an interactive tablet, the interactive tablet includes a display screen, a processing device and an infrared touch frame, the interactive tablet further includes an elastic wave detection device, the method include:
  • the infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in the touch detection area of the interactive tablet; the infrared touch data includes touch position information and/or touch parameters information;
  • the processing device receives the infrared touch data sent by the infrared touch frame
  • the elastic wave detection device receives the infrared touch data, wherein the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device;
  • the elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet;
  • the elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal;
  • the elastic wave detection device sends medium type information to the processing device, where the medium type information includes a medium type corresponding to the touch object;
  • the processing device After receiving the medium type information, the processing device starts a response to the received infrared touch data according to the medium type.
  • the present disclosure uses the infrared touch frame to detect the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet, and uses the elastic wave detection device to detect the elastic wave signal generated when the touch object touches the display screen.
  • the location information and/or touch parameter information, and the elastic wave signal determine the medium type.
  • the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included.
  • the information is sent to the processing device, so that the processing device can initiate a response to the received infrared touch data according to the medium type, so that the processing device can perform different response operations according to different media types of the touched object, with simple operation and high efficiency.
  • the processing device starts to process and respond to the received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen.
  • the timing of processing and responding to infrared touch data is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback. For example, when the user uses the touch object to write on the display screen, the writing The position and timing of the track are consistent with the position and timing of the touch object touching the display screen to achieve zero height of writing.
  • the present disclosure provides a touch data processing method, applied to an interactive tablet, the interactive tablet includes a display screen, a processing device and an infrared touch frame, the interactive tablet further includes an elastic wave detection device, the method include:
  • the infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in the touch detection area of the interactive tablet; the infrared touch data includes touch position information and/or touch parameters information;
  • the processing device receives the infrared touch data sent by the infrared touch frame
  • the elastic wave detection device receives the infrared touch data, wherein the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device;
  • the elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet;
  • the elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal;
  • the elastic wave detection device sends medium type information to the processing device, where the medium type information includes a medium type corresponding to the touch object;
  • the processing device responds to the received infrared touch data before receiving the medium type information
  • the processing device After receiving the medium type information, the processing device starts a response to the received infrared touch data.
  • the present disclosure uses the infrared touch frame to detect the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet, and uses the elastic wave detection device to detect the elastic wave signal generated when the touch object touches the display screen.
  • the location information and/or touch parameter information, and the elastic wave signal determine the medium type.
  • the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included.
  • the information is sent to the processing device, so that the processing device can initiate a response to the received infrared touch data according to the medium type, so that the processing device can perform different response operations according to different media types of the touched object, with simple operation and high efficiency.
  • the processing device before receiving the medium type sent by the elastic wave detection device, the processing device directly responds to the received infrared touch data, so as to ensure the normal response to the infrared touch data.
  • the communication between the elastic wave detection devices is abnormal, it cannot be Error correction processing of normal response infrared touch data.
  • the processing device starts to process and respond to the received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen.
  • the timing of infrared touch data processing and response is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback.
  • the present disclosure provides an interactive tablet, including a display screen, a processing device, an infrared touch frame, and an elastic wave detection device, wherein the display screen, the infrared touch frame, and the elastic wave detection device are all related to the connection of the processing equipment;
  • the infrared touch frame is used to detect infrared touch data and send the infrared touch data to the processing device, wherein the infrared touch data is performed by a touch object in the touch detection area of the interactive tablet when a touch operation is performed generating, the infrared touch data includes touch position information and/or touch parameter information;
  • the elastic wave detection device for detecting elastic wave signals, wherein the elastic wave signals are generated when the touch object contacts the display screen of the interactive tablet;
  • the processing device After receiving the infrared touch data sent by the processing device, determine the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, and sending media type information to the processing device, where the media type information includes a media type corresponding to the touch object;
  • the processing equipment is used for:
  • the medium type information sent by the elastic wave detection device is received.
  • the present disclosure uses the infrared touch frame to detect the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet.
  • the infrared touch frame sends the infrared touch data to the elastic wave detection device through the processing device, and the elastic wave detection device detects that the touch object touches the display screen.
  • the elastic wave detection device After receiving the infrared touch data sent by the processing device, the elastic wave detection device determines the medium type according to the touch position information and/or touch parameter information in the infrared touch data and the elastic wave signal, and combines the infrared The touch data and the elastic wave signal determine the medium type, which improves the recognition accuracy of the touch object, and sends the medium type information of the medium type containing the touch object to the processing device, so that the processing device can perform different operations according to different media types of the touch object.
  • the response operation is simple and efficient.
  • the present disclosure provides an interactive tablet, including a display screen, a processing device, an infrared touch frame, and an elastic wave detection device, wherein the display screen, the infrared touch frame, and the elastic wave detection device are all related to the the processing device is connected, and the infrared touch frame is connected to the elastic wave detection device;
  • the infrared touch frame is used to detect infrared touch data, send the infrared touch data to the elastic wave detection device, and send the infrared touch data to the processing device, wherein the infrared touch data is generated by the touch object Generated when a touch operation is performed in the touch detection area of the interactive tablet, and the infrared touch data includes touch position information and/or touch parameter information;
  • the elastic wave detection device for detecting elastic wave signals the elastic wave signals are generated when the touch object contacts the display screen of the interactive tablet;
  • the processing device After receiving the infrared touch data sent by the infrared touch frame, determine the media type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal , and send media type information to the processing device, where the media type information includes the media type corresponding to the touch object;
  • the processing equipment is used for:
  • the medium type information sent by the elastic wave detection device is received.
  • the present disclosure uses the infrared touch frame to detect the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet, the infrared touch frame directly sends the infrared touch data to the elastic wave detection device, and the elastic wave detection device detects that the touch object touches the display screen and generates the infrared touch data.
  • the elastic wave detection device After receiving the infrared touch data sent by the infrared touch frame, the elastic wave detection device determines the medium type according to the touch position information and/or touch parameter information in the infrared touch data and the elastic wave signal, and combines the infrared touch data with the elastic wave signal.
  • the data and the elastic wave signal determine the medium type, which improves the recognition accuracy of the touching object, and sends the medium type information of the medium type containing the touching object to the processing device, so that the processing device can perform different processing according to different media types of the touching object. Responsive operation, simple operation and high efficiency.
  • FIG. 1 is a schematic structural diagram of an interactive tablet provided by the present disclosure
  • FIG. 2 is a flowchart of a touch data processing method provided by the present disclosure
  • FIG. 3 is a schematic diagram of a detection principle of an infrared touch frame provided by the present disclosure
  • FIG. 4 is a schematic diagram of the hardware structure of an interactive tablet provided by the present disclosure.
  • FIG. 5 is a logic diagram of a touch data processing provided by the present disclosure.
  • FIG. 6 is another logic diagram of touch data processing provided by the present disclosure.
  • FIG. 7 is an operation schematic diagram of a touch operation provided by the present disclosure.
  • FIG. 8 is a schematic diagram showing a writing track provided by the present disclosure.
  • FIG. 9 is a flowchart of another touch data processing method provided by the present disclosure.
  • FIG. 10 is a structural block diagram of an interactive tablet provided by the present disclosure.
  • FIG. 11 is a structural block diagram of an interactive tablet provided by the present disclosure.
  • first and second are only used to distinguish one entity or operation or object from another entity or operation or object, and do not necessarily require or imply these Entities or operations or objects precede any such actual relationship or order.
  • first and second for a first media type and a second media type are used to distinguish two different media types, such as the tip and tail of a writing pen.
  • the specific meanings of the above terms in the present disclosure can be understood according to specific situations.
  • plural means two or more.
  • the embodiment takes the interactive tablet as the actual carrier, and exemplarily describes the detailed process of detecting the touch operation, judging the touch operation, and displaying the response of the touch operation when the touch data processing method is implemented.
  • the interactive tablet it can be an integrated device that controls the content displayed on the display panel and realizes human-computer interaction through touch technology. one or more functions.
  • FIG. 1 is a schematic structural diagram of an interactive tablet provided by the present disclosure.
  • the interactive tablet 100 includes at least one display screen 500 .
  • the interactive tablet 100 further includes a processing device 200 , an infrared touch frame 300 and an elastic In the wave detection device 400 , the infrared touch frame 300 is disposed around the interactive tablet 100 to form a touch detection area of the interactive tablet 100 .
  • the touch detection area is an area for detecting a touch operation that occurs on the interactive tablet 100 , and is an area in a physical sense. If the frame of the interactive tablet 100 is relatively narrow and the display screen 500 is close to the frame of the interactive tablet 100, the infrared touch frame 300 can be regarded as being arranged around the display screen 500.
  • the position of the infrared touch frame 300 may be set only around the display screen 500 , or may be set around the entire interactive tablet 100 .
  • the infrared touch frame 300 can detect the infrared touch data generated by the touch operation of the touch object at any position on the touch detection area.
  • the infrared touch frame 300 and the elastic wave detection device 400 are connected to the processing device 200 through a serial port connection.
  • a port transceiver (HUB) is set to expand the connection port, so as to realize the connection with the infrared touch frame 300 and the elastic wave detection device 400. communication connection.
  • the infrared touch frame 300 and the elastic wave detection device 400 can also be connected through a serial port to directly perform data exchange.
  • the user can use a finger or a writing pen and other similar objects as a touch object, and the touch object can click or move on the display screen of the interactive tablet to realize a touch operation.
  • the infrared touch frame 300 detects that the touch object is touching.
  • the touch operation in the detection area generates corresponding infrared touch data and sends it to the interactive tablet.
  • the interactive tablet receives the infrared touch data, it responds according to the touch position represented by the infrared touch data to realize the touch function.
  • the interactive tablet responds to the control, or the touch position represented by the infrared touch data is a track, and the interactive tablet generates a corresponding writing track according to the infrared touch data.
  • controls refer to elements of the graphical interface of application software or operating systems, such as page-turning controls, minimize controls, etc.
  • the application software or operating system of the interactive tablet can perform predefined functions, such as After clicking the page turning control, the application software of the interactive tablet will perform page turning processing accordingly.
  • the interactive tablet is installed with at least one operating system, wherein the operating system includes, but is not limited to, an Android system, a Linux system, and a Windows system.
  • the interactive tablet can be installed with at least one application program with a writing function.
  • the application program may be an application program that comes with the operating system, and at the same time, an application program downloaded from a third-party device or server is also installed.
  • the application program in addition to the writing function based on touch operation, the application program also has other editing functions, such as inserting a table, inserting a picture, illustrating a graph, drawing a table, drawing a graph, and the like.
  • the graphic interface displayed on the display screen of the interactive tablet corresponds to the projected area of the touch detection area for detecting user operations on the display screen (ie, the touch detection area is in front of the graphic interface).
  • the infrared touch frame of the display screen can sense the change of infrared light, and obtain a touch signal containing the coordinates of the touch position and the touch signal.
  • the trigger time of the signal according to the coordinates of the touch position and the trigger time of the touch signal, can obtain the infrared touch data that reflects the writing track input from the writing pen or the user's finger each time it falls into the writing process to the lifting stop writing process.
  • the writing track input by the user is displayed in real time on the graphical interface of the display screen.
  • the writing process is not limited to writing, and any input process implemented on the display screen of the interactive tablet for displaying the operation track can be regarded as a writing process.
  • the touch operation may respond to operations such as clicking, dragging, and the like by the user.
  • the underlying coordinate processing methods of these different response methods are the same, which will eventually lead to the change of the picture displayed on the display screen visually.
  • various interactive display designs of the interactive tablet can be realized.
  • a whiteboard application refers to an application for users to perform operations such as writing and displaying. It can be used to generate handwriting according to the user's writing operation (touch operation) on the interface of the whiteboard application, and can also be used in the interface of the whiteboard application. Insert and display multimedia elements, which may include graphics, images, tables, documents, audio files, and/or video files.
  • users can implement operations such as writing, drawing, and erasing similar to the physical blackboard, and further have better digital functions such as moving, saving, zooming, inserting pictures, color adjustment, and stroke thickness setting.
  • the whiteboard application can also be named as writing application, electronic whiteboard application, collaborative whiteboard application, etc. No matter how the name is changed, as long as the application used to realize the above functions is equivalent to the whiteboard application of the present disclosure.
  • the elastic wave detection device can be arranged on the display screen, and is used to detect the elastic wave signal generated when the touch object touches the display screen of the interactive tablet.
  • the elastic wave detection device includes an elastic wave collection plate and at least one elastic wave sensor, and a piezoelectric elastic wave sensor is installed at the frame of the display screen or inside the cover plate.
  • the characteristic elastic wave signal, the elastic wave signal starts from the contact point and propagates around the display screen, or propagates to the inside of the display screen.
  • the piezoelectric elastic wave sensor located at the frame of the display screen or inside the cover can convert the elastic wave signal into a voltage signal, and send the voltage signal to the elastic wave acquisition board, and transmit the voltage signal to the elastic wave acquisition board with temperature compensation.
  • Amplification is performed in the IC chip of the circuit, and is converted into a digital elastic wave signal through an analog-to-digital conversion circuit. It should be noted that this solution does not specifically limit the location of the elastic wave detection device, as long as the elastic wave signal generated by the touch object touching the display screen of the interactive tablet can be detected.
  • the elastic wave sensor For the mechanical vibration below the audio frequency, the sound in the audio frequency range, and the ultrasonic wave beyond the audio frequency, these are all wave phenomena of gas, liquid, solid and other media. Compared with light and electromagnetic waves, this wave phenomenon is called elastic wave.
  • the elastic wave sensor For the detection of elastic wave signals, the elastic wave sensor is used to complete the elastic wave sensor.
  • the elastic wave sensor is specifically installed in the position where the vibration of the display screen can be transmitted, so as to realize the event that the touch object on the display screen touches the display screen, without necessarily being installed. where the vibration occurs.
  • elastic wave sensors can be arranged at the four corners of the display screen, of course, other arrangements are also possible, such as setting at the midpoint of each side of the rectangular frame of the display screen, and the number can also be other numbers, such as 2, 5
  • the number of specific arrangements can be set according to the size and detection accuracy of the display screen.
  • the size of the display screen The larger the detection accuracy, the higher the number of elastic wave sensor settings.
  • the elastic wave sensor can be directly installed on the surface of the display screen, for example, directly installed on the upper surface of the display screen or the lower surface of the display screen, so as to receive the vibration transmitted by the display screen and improve the accuracy of touch detection.
  • the elastic wave sensor can also be installed within the frame of the display screen, reducing the impact on the internal mechanism and reducing the common mode noise interference from the display screen.
  • the elastic wave sensor can also be installed on other components in contact with the display screen, and receive vibrations that occur on the display screen through the transmission of other components.
  • the source of elastic waves includes various noise-generating components (such as motors, speakers, fans, etc.)
  • the interactive tablet will generate elastic waves that are not intended by the user to control.
  • the noise generated by the speaker mainly comes from the elastic wave generated in the overall medium of the interactive flat panel when it emits sound.
  • the elastic wave sensor it can be detected at any time. to various elastic wave signals, but many of them are not from the touch operation itself.
  • FIG. 2 is a flowchart of a touch data processing method provided by the present disclosure.
  • the touch data processing method provided by the present disclosure is applied to an interactive tablet.
  • the interactive tablet may be composed of two or more physical entities, or one Physical entity composition.
  • the interactive tablet can be a conference tablet, a teaching tablet, an industrial control computer, etc., for realizing content display and interactive response in the process of human-computer interaction.
  • the touch data processing method includes:
  • the infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in a touch detection area of the interactive tablet.
  • an infrared touch frame is arranged around the surface of the display screen.
  • the infrared touch frame scans the touch object through optical signals to detect that the touch object is on the display screen.
  • the infrared touch frame includes an infrared transmitter and an infrared receiver, the infrared transmitter is used for emitting infrared light, and the infrared receiver is used for receiving infrared light, and a beam grid is formed by densely distributed infrared light in different directions to locate the touch point.
  • M infrared transmitters are arranged on one side of the horizontal direction of the display screen, and N infrared emitters are arranged on one side of the vertical direction.
  • M infrared receivers are arranged on the other side in the horizontal direction, and N infrared receivers are arranged on the other side in the vertical direction.
  • An infrared receiver the infrared transmitter emits infrared light at a certain frequency, and the corresponding infrared receiver receives infrared light at a certain frequency.
  • the first light intensity threshold represents a real and effective touch, rather than noise or when the object is close to but not completely touched, it is measured when the infrared light is partially blocked.
  • the actual touch position is the touch position when the touch object is in contact with the display screen.
  • the position of the second light intensity threshold is marked as an effective touch area, and the area of the touch area is the contact position of the touch object and the display screen.
  • the continuous infrared light intensity pixel map of multiple frames records the contact position and contact area of the touch object on the display screen, and the touch object can be obtained from the contact position and contact area recorded in consecutive frames Movement speed on the display.
  • the touch object leaves the display screen the occlusion of the touch object to infrared light becomes smaller. If the contact position in the previous frame of infrared light intensity pixel map, the relative position in the current infrared light intensity pixel map and the adjacent area do not exceed For pixels with a third light intensity threshold, it is determined that the relationship between the touch object and the display screen at this time is out of touch, and the third light intensity threshold represents the maximum light intensity when out of touch.
  • the infrared touch frame will output a corresponding infrared blocked signal.
  • the contact area between the touch object and the display screen, the moving speed of the touch object on the display screen and the touch position when the touch object is in contact with the display screen can be measured according to the infrared blocked signal, and the corresponding infrared touch data can be obtained.
  • the infrared touch data includes touch state information (including DOWN state, MOVE state and UP state), touch position information and/or touch parameter information.
  • each collected data will have a flag bit, which can be combined with the flag bit to obtain the touch state information.
  • the flag bit is 01.
  • the flag bit is 00.
  • the flag bit changes from the original 00 to 01, it can be determined that the touch The state is DOWN state; the flag bit changes from the original 01 to 00, the touch state can be determined to be the UP state; the flag bit remains 01, the touch state can be determined to be the MOVE state.
  • infrared touch data is generated based on the touch state information, the touch position information and the touch parameter information.
  • Figure 3 shows a schematic diagram of the detection principle of an infrared touch frame. It needs to be explained that there has always been a long-term technical problem in the industry to realize the touch function of the interactive tablet through the infrared touch sensor, that is, zero writing Highly technical issue.
  • the so-called zero writing height means that when a touch object (such as a hand or a writing pen) writes on the display screen, the writing track is generated when the touch object touches the surface of the display screen, and the touch object is in contact with the surface of the display screen when the writing produces handwriting.
  • the spacing is zero.
  • the infrared touch frame 300 transmits or receives light signals in a certain height range, thereby forming a touch detection area in the vertical direction relative to the display screen 500 , Its height is H.
  • H Its height
  • the touch object In a touch operation, the touch object will go through states 131-137 in FIG. 3 , in which the state 131 , state 132 to state 133 describe the process of the touch object from starting the touch operation to starting to contact the display screen 500 .
  • the infrared touch frame detects the first frame of touch data, and the touch state of the touch object at this time is the touch drop state.
  • the touch object In state 131, the touch object is in touch. Above the control detection area, no infrared touch data will be generated.
  • state 132 if the touch object is in the touch detection area, but does not touch the surface of the display screen 500, infrared touch data will be generated (generated during this process).
  • the first frame of infrared touch data is the first frame of touch data).
  • the touch object In state 133, the touch object is in the touch detection area and has touched the display screen 500, and infrared touch data will be generated.
  • state 134 to state 135, describe the process that the touch object touches the display screen 500 and moves on the display screen 500.
  • the touch state of the touch object is always the touch movement state.
  • the touch movement state the touch The object continues to touch the display screen 500, and at the same time, infrared touch data is generated.
  • state 136 to state 137 describe the process of the touch object being lifted from the display screen 500 to leaving the touch detection area.
  • the infrared touch frame detects To the last frame of touch data, and the touch state of the touch object is the touch up state at this time, in state 136, the touch object is in the touch detection area and does not touch the display screen 500, and infrared touch data will be generated.
  • the touch object is above the touch detection area, and no infrared touch data is generated. It can be understood that, in one touch operation, the infrared touch data generated during the process from state 132 to state 136 is continuous infrared touch data.
  • the infrared touch data between the first frame of touch data and the last frame of touch data is intermediate touch data.
  • the infrared touch frame When the touch object performs a touch operation in the touch detection area of the interactive tablet, the infrared touch frame will generate an infrared sensing signal, so that the calculation is performed according to the infrared sensing signal, and after correspondingly generating infrared touch data, the infrared touch data is sent to the processing equipment.
  • the infrared touch data generated by the infrared touch frame is continuous data, which is embodied as data including multiple frames.
  • the infrared touch data provided by the present disclosure includes touch state information, touch position information, and touch parameter information.
  • the touch state information is used to represent the touch state of the corresponding touch object in the current touch operation, and the touch state includes a touch down state (DOWN), a touch move state (MOVE), and a touch up state (UP).
  • the touch position information is used to reflect the touch position of the touch object on the display screen, which can be represented by the XY coordinate points on the display screen
  • the touch parameter information at least reflects the touch area of the touch point when the touch object touches the display screen, which is It can be represented by the width and height corresponding to the touch area, or by the radius or diameter corresponding to the touch area.
  • the data format of the infrared touch data can be determined according to the communication method between the infrared touch frame and the processing device and/or the elastic wave detection device. The data format of the data is shown in Table 1:
  • the point state represents the touch state in the infrared touch data.
  • the infrared touch data generated in one touch operation includes the first frame of touch data, the middle touch data and the last frame of touch data.
  • the touch state information in the first frame of touch data indicates that the touch state of the touch object is the touch falling state
  • the middle touch data indicates that the touch state of the touch object is a touch moving state
  • the touch state information in the touch data of the last frame indicates that the touch state of the touch object is a touch lift state.
  • S102 The processing device receives the infrared touch data sent by the infrared touch frame.
  • the processing device in order to further solve the problem of zero writing height, when the processing device receives the infrared touch data sent by the infrared touch frame, it needs to determine when to respond to the received infrared touch data.
  • the so-called response in this embodiment of the present invention, refers to whether the processing device processes the infrared touch data as valid data.
  • the processing device in order to solve the problem of zero writing height, the processing device needs to process the continuously received infrared touch data as valid data, and a precondition is required, that is: the processing device confirms the touch object that triggers the infrared touch data, and The display screen of the interactive tablet is in contact. How the processing device confirms that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet is also a technical problem to be solved in this embodiment.
  • an elastic wave detection device is set in the interactive tablet, the vibration signal (ie elastic wave signal) generated on the display screen of the interactive tablet is detected by the elastic wave detection device, and the elastic wave detection device is installed
  • the communication hardware and communication protocol with the processing device of the interactive tablet enable the elastic wave detection device to send the information confirming that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet to the processing device, helping the processing device to obtain the judgment ability .
  • the processing device when the processing device receives the infrared touch data sent by the infrared touch frame, but does not receive the information sent by the elastic wave detection device confirming that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet, the processing The device may not respond to received infrared touch data.
  • the infrared transmitter and infrared receiver at the corresponding position detect the blocking of infrared rays by the touch object, and the infrared touch frame starts Infrared touch data is detected, but no elastic wave signal is detected by the elastic wave detection device. Since the touch object does not touch the display screen at this time, the infrared touch data generated in this process does not need to be processed, the infrared touch data can be discarded, and the corresponding writing track does not need to be displayed on the display screen.
  • the elastic wave detection apparatus receives infrared touch data, wherein the infrared touch data is sent to the elastic wave detection apparatus by the infrared touch frame or the processing device.
  • the embodiment of the present invention realizes the identification of the touch object medium through the elastic wave detection device; secondly, the embodiment of the present invention enables the elastic wave detection device to obtain infrared touch data. Therefore, the elastic wave detection device can identify the medium type of the touched object in combination with the obtained infrared touch data, thereby improving the identification accuracy.
  • the embodiment of the present invention designs a new communication hardware circuit and communication protocol between the infrared touch frame and the elastic wave detection device, so that when the infrared touch frame detects infrared touch data, it can send infrared touch data to the elastic wave detection device, thereby
  • the elastic wave detection device may identify the medium type of the touched object by combining the touch position information and/or touch parameter information in the infrared touch data.
  • the processing device may also send infrared touch data to the elastic wave detection device.
  • the infrared touch frame when the infrared touch frame is communicatively connected to the elastic wave detection device, the infrared touch frame directly sends the data to the elastic wave detection device, that is, when the infrared touch frame receives continuous infrared touch data, it directly sends the number of infrared touches to the elastic wave detection device. Wave detection device, while sending continuous infrared touch data to the processing device.
  • the infrared touch frame is not in communication connection with the elastic wave detection device, when the infrared touch frame detects continuous infrared touch data, it sends continuous infrared touch data to the processing device, and the processing device sends the infrared touch data to the elastic wave detection device.
  • the elastic wave detection apparatus receives infrared touch data, wherein the infrared touch data is sent to the elastic wave detection apparatus by an infrared touch frame or a processing device; specifically:
  • the elastic wave detection device receives the first frame of touch data of the infrared touch data, wherein the first frame of touch data of the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device; the touch state information in the first frame of touch data indicates the touch The touch state of the object is the touch drop state.
  • the first frame of touch data reflects the touch position of the effective touch when the touch object initially enters the touch detection area.
  • the infrared touch data received by the elastic wave detection device may also be the first frame or the second frame of touch data in which the touch state information indicates that the touch state of the touch object is the touch movement state. It can be understood that the touch data of the first frame or the second frame of the touch moving state is closer to the touch position when the touch object first enters the touch detection area.
  • the second frame of touch data can also accurately determine and correct the medium type of the touch object.
  • the elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet.
  • a characteristic elastic wave signal When the touch object touches the display screen of the interactive tablet, a characteristic elastic wave signal will be generated.
  • the elastic wave signal starts from the contact point between the touch object and the display screen and propagates around the display screen, or propagates to the inside of the display screen. Therefore, the elastic wave detection device will detect the elastic wave signal. After detecting the elastic wave signal, the elastic wave detection device buffers the elastic wave signal.
  • the elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal.
  • the response of the interactive tablet to the user's touch operation is associated with the medium type of the touch object used by the user, so , it is necessary to accurately identify the medium type of the touch object.
  • How to accurately identify the medium type of the touching object based on the elastic wave signal is a long-standing technical problem in the industry.
  • Type recognition accuracy is a long-standing technical problem in the industry.
  • various interference sources may exist, resulting in a relatively large noise signal in the elastic wave signal detected by the elastic wave detection device. Only by improving the recognition algorithm, although the recognition accuracy can be improved to a certain extent, this method still directly uses the elastic wave signal to identify the medium type of the touched object.
  • the high The accurate identification algorithm may also cause errors in the identified medium type, which affects the response effect of the interactive panel.
  • the interactive tablet specifically converts the audio signal into an acoustic signal through the speaker.
  • the speaker makes its paper cone or diaphragm vibrate and resonate with the surrounding air through electromagnetic, piezoelectric or electrostatic effects. (resonance) to produce sound, that is to say, in the process of sounding by the speaker, a vibration signal will also be generated, and the elastic wave detection device will also collect the vibration signal.
  • the elastic wave signal detected by the elastic wave detection device will be the actual elastic wave of the touch operation of the touch object.
  • the elastic wave signal detected by the elastic wave detection device has a relatively large noise signal, and the existing solution only recognizes the medium type of the touched object based on the elastic wave signal, which makes it difficult to accurately recognize even the high-precision recognition algorithm.
  • the media type of the touch object is if the user uses a touch object to perform a touch operation on the display screen of the interactive tablet.
  • the present invention proposes a method for identifying the medium type of the touch object with higher accuracy in combination with the specific usage scenario of the interactive tablet, adding infrared touch data as a parameter for identifying the medium type of the touching object, and by adding the infrared touch data of the interactive tablet
  • the infrared touch data generated by the frame is sent to the elastic wave detection device in a direct or indirect way.
  • the elastic wave detection device combines the infrared touch data to identify the medium type of the touched object, which can reduce the influence of noise signals on the recognition result and improve the impact of the touch object.
  • the recognition accuracy of the media type is a direct or indirect way.
  • the elastic wave detection device does not combine all infrared touch data generated by the infrared touch frame to identify the medium type of the object to be touched.
  • the elastic wave detection device receives the first frame of touch data of the infrared touch data, and elastic wave signals, determine the media type corresponding to the touch object, and send the media type information of the touch object to the processing device; wherein, the first frame of touch data of the infrared touch data is sent by the infrared touch frame or the processing device to the elastic wave detection device .
  • the infrared touch frame When the touch object performs a touch operation in the touch detection area of the interactive tablet, the infrared touch frame first detects that the infrared rays are blocked, and then performs the corresponding conversion calculation, and calculates the specific touch position information, touch area and other touches according to the blocked situation. Parameter information.
  • the elastic wave detection device detects the elastic wave signal, but may not receive the infrared touch data sent by the infrared touch frame. Therefore, it needs to wait for the infrared touch data to be received, and then combine the infrared touch data and the elastic wave signal. Determine the media type of the touch object.
  • steps S101, S102, S103, and S104 are not in a definite sequence.
  • steps are numbered only for convenience of description.
  • S101 and S102 may be sequential or synchronous.
  • S101 is also executed synchronously.
  • S101 and S102 may also be executed synchronously.
  • the elastic wave detection device After receiving the infrared touch data, the elastic wave detection device determines the medium type corresponding to the touched object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal. In one embodiment, the present disclosure determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the first frame of touch data in the infrared touch data, and the elastic wave signal. It can be understood that the first frame of touch data reflects the initial touch position of the touch object for the touch operation. According to the first frame of touch data combined with the elastic wave signal, the interference of the non-touch position on the elastic wave signal can be eliminated, which can be more accurate. Determine the media type corresponding to the touch object.
  • the touch position information is used to represent the position information of the touch point corresponding to the touch operation, which can be represented by X and Y coordinate values
  • the touch parameter information includes information used to represent the area of the touch point corresponding to the touch operation, which can be It is represented by the width value and height value of the contact area or contact point.
  • the elastic wave detection device identifies the medium type corresponding to the touch object, it is specifically: after acquiring the first frame of touch data, firstly combine the information in the time domain and frequency domain of the elastic wave signal, including the information that exceeds the set signal-to-noise ratio threshold in the time domain
  • the absolute value and relative value of the energy at the characteristic frequency point in the small-band time-frequency analysis can be obtained, and the starting point of the elastic wave signal can be judged accordingly.
  • the method of judging the starting point may be a threshold method (determining whether the signal-to-noise ratio or signal quantity exceeds a preset threshold), or a zero-crossing rate (determining whether the signal is a non-random vibration signal).
  • the elastic wave detection device when the elastic wave detection device uses multiple elastic wave sensors to detect the elastic wave signal, the elastic wave detection device can determine or calculate the effective elasticity according to the touch position information and/or touch parameter information of the first frame of touch data, etc. wave signal (signal used for medium identification), so as to determine the starting point of the effective elastic wave signal.
  • the elastic wave sensor that is closest to the touch point can be determined according to the touch position information in the infrared touch data. Since the signal intensity it generates is the highest and the signal-to-noise ratio of the signal it generates is the largest, the elastic wave sensor generated by the elastic wave sensor has the highest signal-to-noise ratio. wave signal as an effective elastic wave signal.
  • weighting processing can also be performed on the elastic wave signals of each elastic wave sensor according to the touch position information of the infrared touch data, and the result obtained by the weighting processing can be regarded as an effective elastic wave signal, and the corresponding weight of each elastic wave sensor can be a predetermined value.
  • the set value can also be a function that is negatively related to the distance of the touch position, for example, the weight is the reciprocal of the distance or the square of the reciprocal, etc.
  • the signal before the starting point is analyzed and obtained, and the signal before the starting point is used as the noise estimation value, and the signal after the starting point is identified accordingly, and the signal after the starting point is identified as the elastic wave material.
  • identification signal As an embodiment, signal processing is performed on the identification signal.
  • the signal processing includes algorithms such as time-frequency conversion, windowing and smoothing, multi-channel fusion, noise reduction, etc., to obtain a fused elastic wave frequency domain signal, and the elastic wave frequency
  • the domain signal is placed in the setting algorithm (including statistical learning, machine learning, deep learning and other model algorithms, or eigenvalue comparison algorithms) to obtain the ID of the material and its confidence interval, and report the material ID and confidence interval to the Handling equipment.
  • the determined media type needs to be corrected according to the comparison between the confidence interval and the preset confidence threshold.
  • the ID of the material type is 01
  • the confidence interval is 85%
  • the confidence threshold is set to 80. %
  • the confidence interval is 75%
  • the medium type needs to be corrected, and the correction can be performed by referring to various methods described later in the present disclosure.
  • the elastic wave detection device after receiving the first frame or the second frame of touch data in which the touch state information indicates that the touch state of the touch object is the touch movement state (that is, the touch state information is MOVE), the elastic wave detection device also adopts the same The steps to carry out the material recognition of the touch object.
  • the first frame of touch data or the second frame of touch data whose touch state is the touch movement state will increase the delay of one frame of data or two frames of data, but the relative Compared with the original solution that only determines the medium type of the touch object based on the elastic wave signal, the interference of the non-touch position on the elastic wave signal can also be excluded, and the medium type corresponding to the touch object can be determined more accurately.
  • the elastic wave detection device After determining the medium type corresponding to the touch object, the elastic wave detection device reports the medium type to the processing device.
  • the elastic wave detection device may report the medium type to the processing device several times in a row (for example, four times) to ensure that the medium type is correctly transmitted to the processing device.
  • the elastic wave detection device will not report other data until a new touch operation is detected before determining that the touch-up state of the touch object is received.
  • the touch-up state of the touch object is also represented by the infrared touch data.
  • the processing device or the infrared touch frame sends the frame data whose touch state is the touch-up state to the elastic wave detection device, and the elastic wave detection device is based on the touch state of the frame data. Determines the touch-up state of the received touch object.
  • the elastic wave detection device after detecting the elastic wave signal, buffers the elastic wave signal until receiving the infrared touch data, and then according to the touch position information and/or touch parameter information of the infrared touch data, And the elastic wave signal to determine the medium type corresponding to the touch object.
  • the elastic wave detection device buffers the elastic wave signal and waits for the arrival of infrared touch data.
  • the elastic wave detection device determines the medium type corresponding to the touched object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, and sends the medium type to the processing device.
  • the elastic wave detection device has not received the infrared touch data within the preset time threshold, all currently buffered elastic wave signals are cleared. In this way, the influence of the interference signal can be filtered out, the elastic wave detection device can avoid unnecessary processing steps, and the processing efficiency can be improved.
  • the elastic wave detection device when the elastic wave detection device detects the elastic wave signal, it waits for the arrival of the first frame of touch data, and before the first frame of touch data arrives, the elastic wave signal may be generated by an interference source. Based on this, the touch data processing method provided by the present disclosure further includes: the elastic wave detection device determines that the first frame of touch data is not received within a preset time threshold, and clears the buffered elastic wave signal.
  • the elastic wave detection device when the elastic wave detection device detects and buffers the elastic wave signal, it waits for the arrival of the first frame of touch data. If the elastic wave detection device receives the first frame of touch data within the preset time threshold, it will perform the steps of determining the media type corresponding to the touch object according to the first frame of touch data and the elastic wave signal, and sending the media type to the processing device. If the elastic wave detection device has not received the first frame of touch data within the preset time threshold, all the currently buffered elastic wave signals are cleared. In this way, the influence of the interference signal can be filtered out, the elastic wave detection device can avoid unnecessary processing steps, and the processing efficiency can be improved.
  • step S105 includes steps S1051 and S1052:
  • the elastic wave detection device After receiving the infrared touch data, the elastic wave detection device reads touch position information and/or touch parameter information in the infrared touch data.
  • the infrared touch data sent by the present disclosure to the elastic wave detection device is the first frame of touch data.
  • the elastic wave detection device reads the touch position information and/or touch data in the first frame of touch data after receiving the first frame of touch data. Parameter information.
  • S1052 Input the touch position information and the elastic wave signal into the trained feature recognition model to obtain the medium type corresponding to the touch object.
  • the infrared touch data provided by the present disclosure includes touch state information, touch position information and touch parameter information
  • the elastic wave detection device reads out the first frame of touch data after receiving the first frame of touch data in the infrared touch data.
  • the touch position information in the data can be understood as the touch position of the touch object on the display screen.
  • the elastic wave detection device inputs the touch position information and the elastic wave signal into the trained feature recognition model, and the feature recognition model analyzes and processes the touch position information and the elastic wave signal to determine the corresponding touch object media type.
  • the feature recognition model can determine the touch position information and the medium type corresponding to the elastic wave signal by means of a neural network.
  • a feature recognition model can be built based on a neural network, and the training is performed based on elastic wave signals and touch position information as input and the corresponding medium type as output.
  • Add touch position information and/or touch parameter information as features to the feature recognition model for training which can be the most original input feature of the feature recognition model, or it can be an additional feature of a certain layer in the network of the feature recognition model , and the recognition results are directly output by the feature recognition model.
  • S1052 may also input the touch parameter information, touch position information and elastic wave signal into the trained feature recognition model to obtain the medium type corresponding to the touch object. Therefore, the touch parameter information is also used as a recognition parameter of the feature recognition model.
  • the elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, including:
  • the elastic wave detection device After receiving the infrared touch data, the elastic wave detection device reads the touch position information in the infrared touch data;
  • An embodiment of the fusion process is: based on the preset position information of multiple elastic wave sensors, combined with the touch position information, calculate the distances S1, S2, . . . between the touch point represented by the touch position information and different elastic wave sensors. Sn (n is a natural number), and then based on the calculated distance, the elastic wave signals collected by multiple elastic wave sensors are fused to obtain a preprocessing result. For example, a possible implementation case is that after weighting the signal of each sensor by 1/(Sn) ⁇ 2, the weighted result is used as the preprocessing result.
  • step S105 may further include steps S1053-S1055:
  • S1054 Correct the extracted features according to the touch position information in the infrared touch data.
  • the elastic wave detection device receives the first frame of touch data after performing feature extraction on the elastic wave signal; according to the touch position information and/or touch parameter information in the first frame of touch data, the extracted features are Correction.
  • a feature database is preset in the elastic wave detection device, and the feature database records the correspondence between preset features and preset medium types.
  • the corresponding relationship between the preset feature and the preset medium type may be recorded in the form of a key-value pair.
  • the elastic wave detection device extracts the buffered elastic wave signal, and performs feature extraction on the elastic wave signal.
  • the first frame of touch data sent from the infrared touch frame or the processing device is received, and the touch position information and/or touch parameter information in the first frame of touch data is read out.
  • the touch position information and/or touch parameter information to correct the extracted features.
  • the corrected features are matched and compared in the preset feature database, and when the preset features that are consistent or the similarity reaches the set similarity requirement are matched, the preset features correspond to the preset features.
  • the preset media type is determined as the media type corresponding to the touch object.
  • step S1053 specifically includes: after the elastic wave detection device performs feature extraction on the elastic wave signal , determine that no infrared touch data is received, then wait to receive infrared touch data until infrared touch data is received.
  • the elastic wave detection device After the elastic wave detection device performs feature extraction on the elastic wave signal and determines that the first frame of touch data has not been received, it waits to receive the first frame of touch data until the first frame of touch data is received.
  • the elastic wave detection device performs feature extraction on the elastic wave signal, if the first frame of touch data has not yet been received, it does not directly compare the extracted features with the preset feature database, but waits to receive the first frame of touch data. data until the first frame of touch data is received. After the feature is corrected, it is compared with the preset feature database to ensure the correctness of the final determined medium type and reduce the influence of the interference source on the determination of the medium type.
  • the elastic wave detection device when it obtains the medium type of the touching object through the feature recognition model or the feature database, it also obtains the confidence interval corresponding to the medium type.
  • the medium types determined by the elastic wave detection device may be one or more types.
  • the medium type When a medium type is uniquely determined according to the first frame of touch data and the elastic wave signal, and the confidence interval of the medium type is higher than the set confidence threshold, the medium type can be directly determined as the medium type corresponding to the touch object.
  • the media type is used as the media type corresponding to the touch object.
  • the touch data processing method in the step of obtaining the media type corresponding to the touch object, at least two media types are obtained, and the confidence interval corresponding to each media type is lower than the set confidence threshold. Based on this, the touch data processing method provided by the present disclosure further includes:
  • S1056 Determine one of at least two medium types as the medium type corresponding to the touch object according to the touch parameter information of the infrared touch data.
  • Step S1056 may be performed by the elastic wave detection device, or may be performed by a processing device.
  • the process performed by the processing device is: the processing device receives the medium type information sent by the elastic wave detection device; the medium type information includes at least two kinds of media type; and then the processing device determines one of at least two medium types as the medium type corresponding to the touch object according to the touch parameter information of the infrared touch data.
  • the elastic wave detection device obtains two or more medium types through the feature identification model or feature database, and when the confidence interval corresponding to each medium type is lower than the set confidence threshold, these medium types are corrected, and one of them is determined.
  • media type as the media type corresponding to the touch object.
  • one of at least two medium types is determined as the medium type corresponding to the touch object, which specifically includes:
  • the preset threshold interval is used to characterize the numerical range of the touch parameter of the medium type
  • the medium type corresponding to the first preset threshold interval is used as the medium type corresponding to the touch object.
  • the present disclosure modifies the medium type according to touch parameter information (eg, touch area) in the infrared touch data, and determines the medium type corresponding to the touch object according to the matching degree between the touch parameter information and each medium type.
  • touch parameter information eg, touch area
  • the elastic wave detection device or processing device records the area ranges corresponding to different media types (that is, the aforementioned preset threshold interval, where the preset threshold interval is used to represent the area parameter of the medium type.
  • the elastic wave detection device or processing device determines the preset area range corresponding to each medium type, And obtain the touch parameter information in the infrared contact data, determine the touch area of the current touch object touching the display screen, and determine the area range that is closer to the touch area and the corresponding medium according to the matching degree or area gap between the touch area and each area range. type, and use the media type as the media type corresponding to the touch object. For example, set the confidence threshold to 90%. When the confidence interval of the media type is greater than 90%, the media type can be used as the media type corresponding to the touch object.
  • the confidence interval is 51%; for material 2, the confidence interval is 49%. If the confidence intervals of the two media types are both lower than the set confidence thresholds, the preset area ranges corresponding to Material 1 and Material 2 are obtained. Assuming that the touch area is combined with the touch area in the touch parameter information, confirm that the touch area is closer to the area range of Material 1. , then it is determined that the medium type determined after the correction is Material 1, and Material 1 is used as the medium type corresponding to the touch object. More specifically, when the user operates with a finger on the display screen of the interactive tablet, the medium types identified by the elastic wave detection device may be: finger, with a confidence interval of 51%; brush, with a confidence interval of 49%.
  • the confidence interval of the finger and the brush are both set with a confidence threshold of 90%, it is necessary to obtain the touch area in the touch parameter information.
  • the obtained touch area represented by the width value and the height value
  • the preset area range of the finger is (6 ⁇ 2, 6 ⁇ 2)
  • the preset area range of the brush is (5 ⁇ 1, 4 ⁇ 1.5)
  • the area range is (6 ⁇ 2, 6 ⁇ 2), so the finger is used as the medium type corresponding to the touch object.
  • step S1056 may be processed by an elastic wave detection device or a processing device, wherein the infrared touch data may be the aforementioned first frame of touch data, or may be the next frame or any frame of infrared touch data after the first frame of touch data.
  • Touch Data The present disclosure corrects the obtained medium type through infrared touch data, determines the medium type corresponding to the touch object, reduces the deviation caused by the interference source to determine the medium type, and ensures the accuracy of the medium type determination.
  • the touch data processing method provided by the present disclosure further includes:
  • the processing device determines, according to the touch position information of the infrared touch data, whether the current touch operation is associated with the last lifted touch operation, and if so, obtains the media type corresponding to the last touch operation as the touch operation the corresponding medium type.
  • the processing device determines the medium type corresponding to the touch object according to whether the current touch operation is related to the previous touch operation. For example, the processing device determines whether the time and distance thresholds between the start point of the current touch operation and the end point of the previous touch operation are within the set time and distance thresholds; associated with the touch operation.
  • the processing device obtains the touch position information in the first frame of touch data of this touch operation, and according to the touch position information is the pen drop position of this touch operation, and uses the corresponding timestamp of the first frame of touch data as Pen down time, and obtain the touch position information in the infrared touch data when the last touch operation was lifted, the touch position information is the pen lift position of the last touch operation, and the corresponding timestamp of the infrared touch data as a pen time.
  • the time and distance thresholds include a time threshold T0 and a distance threshold S0, and the time threshold T0 and the distance threshold S0 may be two fixed values or values with a linear or non-linear relationship.
  • the medium type corresponding to the last touch operation is acquired as the medium type corresponding to the touch object.
  • the corresponding writing track can be displayed on the display screen directly according to the infrared touch data, without updating the infrared touch data by the medium type. It can be understood that when the confidence interval of the medium type is lower than the set confidence threshold, after the processing device performs error correction of the medium type according to the relationship between the current touch operation and the touch operation that was lifted last time, there is no need to correct the error of the medium type. The error result is sent to the elastic wave detection device to improve the data processing efficiency.
  • the present disclosure corrects the media type by using the correlation relationship between the current touch operation and the last lifted touch operation, determines the media type corresponding to the touch object, reduces the deviation caused by the interference source to the determination of the media type, and ensures the determination of the media type. degree of accuracy.
  • the elastic wave detection apparatus sends medium type information to the processing device, where the medium type information includes the medium type corresponding to the touch object.
  • the medium type information refers to the information containing the medium type corresponding to the touch object sent by the elastic wave detection device to the processing device. Other information, in which the media type is integrated, is sent to the processing device.
  • the elastic wave detection device After determining the medium type corresponding to the touch object, the elastic wave detection device generates corresponding medium type information based on the medium type, and sends the medium type information to the processing device.
  • the present disclosure determines the medium type corresponding to the touch object by using the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, and feeds back the corresponding medium type information to the processing device. Accurately determine the media types corresponding to different touch positions, and can respond differently to touch operations at the corresponding touch positions for different media types, enriching the interactive experience of the interactive tablet.
  • the touch data processing method provided by the present disclosure further includes:
  • the processing device in order to further solve the problem of zero writing height, when the processing device receives the infrared touch data sent by the infrared touch frame, it needs to determine when to respond to the received infrared touch data.
  • the so-called response in this embodiment of the present invention, refers to whether the processing device processes the infrared touch data as valid data.
  • the processing device in order to solve the problem of zero writing height, the processing device needs to process the continuously received infrared touch data as valid data, and a precondition is required, that is: the processing device confirms the touch object that triggers the infrared touch data, and The display screen of the interactive tablet is in contact. How the processing device confirms that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet is also a technical problem to be solved in this embodiment.
  • an elastic wave detection device is set in the interactive tablet, the vibration signal generated on the display screen of the interactive tablet is detected by the elastic wave detection device, and the elastic wave detection device and the processing equipment of the interactive tablet are installed
  • the communication hardware and communication protocol so that the elastic wave detection device can send the information (such as the aforementioned medium type information) used to confirm that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet to the processing device, so as to help the processing device obtain the ability to judge.
  • the processing device when the processing device receives the infrared touch data sent by the infrared touch frame, but does not receive the information sent by the elastic wave detection device to confirm that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet , the processing device may not respond to the received infrared touch data.
  • the processing device determines the medium type corresponding to the touch object according to the medium type information, and processes and responds to the subsequently received infrared touch data according to the determined medium type.
  • the processing and response to the subsequently received infrared touch data may be to update the subsequently received infrared touch data and respond accordingly (for example, to display the writing track) according to the medium type, or it may be to update the subsequently received infrared touch data according to the medium type and respond accordingly (for example, to display the writing track).
  • the received infrared touch data performs a touch response (for example, a click operation, a long-press operation, etc. are performed according to the medium type).
  • the processing device processes and responds to the subsequently received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen.
  • the timing of infrared touch data processing and response is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback. The timing is consistent to achieve zero height of writing.
  • step S107 is specifically: after receiving the medium type information, the processing device starts a response to the received infrared touch data, and outputs a response result associated with the medium type of the touch object. More specifically, it includes steps S1071-S1072:
  • starting to update the received infrared touch data refers to updating the infrared touch data received after the time when the medium type information is received. For example, if the time when the medium type is received is t1, the infrared touch data received after the time t1 is updated. In the specific implementation process, it may be processed by recording the receiving time. It is also possible to update the data of a preset flag bit after receiving the medium type, for example, from 00 to 01, so that in subsequent processing, as long as the flag bit is 01, the read infrared touch data is updated.
  • S1072 The processing device displays the corresponding writing track on the display screen according to the updated infrared touch data.
  • the processing device After the processing device receives the medium type information, it starts to cache the infrared touch data sent by the received infrared touch frame; and reads the cached infrared touch data in turn, updates the received infrared touch data according to the medium type, and updates the received infrared touch data according to the updated The corresponding infrared touch data will be displayed on the display screen. Specifically, after receiving the medium type reported by the elastic wave detection device, the processing device starts to cache the infrared touch data sent by the infrared touch frame. Optionally, after determining that the medium type reported by the elastic wave detection device is received, the processing device notifies the elastic wave detection device that the medium type has been successfully received.
  • the processing device starts to cache the infrared touch data after receiving the medium type, ignoring the infrared touch data generated before the touch object touches the display screen (when these infrared touch data are generated, the touch object just enters the touch detection area and does not touch the display screen. screen), only the infrared touch data is generated after the touch object touches the display screen, and the position and timing of displaying the writing track are consistent with the position and timing of the touch object touching the display screen, so as to achieve zero height of writing. Moreover, the infrared touch data generated before the touch object touches the display screen is not cached, which saves the processing resources of the processing device. In the updating process of this step, the processing device sequentially reads the buffered infrared touch data in the order of first-in, first-out, and updates the read infrared touch data according to the medium type.
  • the corresponding writing track is drawn according to the updated infrared touch data, and displayed on the display screen, for example, the corresponding writing track is drawn according to the display attributes (thickness, color, line type, etc.) represented by the updated infrared touch data.
  • the writing track is displayed on the display screen, so as to achieve the purpose of displaying different writing handwriting according to different media types of touch objects.
  • Figure 4 provides a schematic diagram of the hardware structure of an interactive tablet.
  • a system layer and an application layer are set in the processing device, wherein the system layer is used to perform data processing at the data level, such as for the received sensor Data analysis and processing, the application layer is used to perform data processing at the application level, such as analysis and processing according to application task requirements.
  • the system layer After the system layer completes data processing, it sends the data processing results to the application layer through the data interface, and the application layer passes the data through the data interface.
  • the interface is distributed to a specific application, and further processing is performed by the specific application.
  • the cached infrared touch data is read in sequence, and the step of updating the infrared touch data according to the medium type is processed at the system layer, and the corresponding writing track is displayed on the display screen according to the updated infrared touch data.
  • the steps are handled at the application layer. That is, after the system layer completes the update of the infrared touch data, it reports the updated infrared touch data to the application layer, and the application layer distributes the updated infrared touch data to the whiteboard application, and the whiteboard application executes the subsequent display of the writing track. step.
  • the system layer can run the driver of the processing device, and the application layer can run the application installed on the processing device, including the aforementioned whiteboard application, the annotation application of the interactive tablet, or other writing applications.
  • the driver reads the cached infrared touch data in sequence according to the first-in, first-out order, updates the read infrared touch data according to the medium type, and sends the updated infrared touch data to the application layer, which then sends the updated infrared touch data to the application layer.
  • the infrared touch data is sent to the application program, and after the application program receives the updated infrared touch data, it responds, draws a corresponding writing track, and displays it on the display screen.
  • corresponding standard touch parameter information (including standard touch height information and standard touch width information) is determined in advance for different media types, and accordingly, infrared touch data is updated according to the media type, which specifically includes steps S10721-S10722 :
  • S10722 Update touch parameter information of the infrared touch data to standard touch parameter information to obtain updated infrared touch data.
  • the processing device determines the standard touch parameter information corresponding to the medium type, and updates the touch parameter information in the infrared touch data obtained from the cache to the standard touch parameter information, for example, changing the touch parameter information in the touch parameter information
  • the height information and width information are replaced with the standard touch height information and standard touch width information in the standard touch parameter information, so as to obtain the updated infrared touch data.
  • the medium type can be subsequently determined according to the standard touch parameter information, so as to display the corresponding handwriting or perform the corresponding operation.
  • S10723 Write the ID corresponding to the medium type into the data packet of the infrared touch data, and update the infrared touch data.
  • IDs corresponding to different media types are recorded in the processing device, and the IDs are used to represent different media types.
  • the processing device After receiving the medium type, the processing device obtains the ID corresponding to the medium type, reads the buffered infrared touch data, and writes the ID into the infrared touch data to update the infrared touch data.
  • the system layer in the processing device sends the updated infrared touch data to the application layer, and the application layer can read the ID in the infrared touch data to determine the corresponding medium type, so as to display the corresponding handwriting or execute Corresponding operations, for example, draw the corresponding handwriting through the preset display attributes (color, handwriting thickness, line type, etc.) of the medium type associated with the ID.
  • the ID corresponding to the medium type into the infrared touch data, there is no need to update the touch parameter information, that is, the touch area of the infrared touch data is retained, but an ID is added to characterize the medium type.
  • the handwriting of the corresponding attribute can be drawn according to the actual touch area, and the display of the writing track is more accurate.
  • the display attribute of the writing track can be determined based on the infrared touch data.
  • the corresponding writing track is displayed on the display screen, which specifically includes step S10724:
  • S10724 Read the touch state information, touch position information and touch parameter information of each frame of the updated infrared touch data, when the touch state information indicates that the touch state is a touch movement state, according to the display attribute corresponding to the touch parameter information, in Touch the position indicated by the position information to display the corresponding writing track.
  • display attributes corresponding to different touch parameters are recorded in the application layer, and the display attributes include the thickness, color, and line type (dotted line, solid line, style, etc.) corresponding to the writing track when drawing and displaying the writing track.
  • the touch parameter is (5,5), it corresponds to writing white handwriting
  • the touch parameter is (3,3), it corresponds to writing red handwriting.
  • the system layer after updating the infrared touch data according to the medium type, reports the updated infrared touch data to the application layer that needs to use the infrared touch data to display the writing track.
  • the application layer continuously reads the updated infrared touch data, and determines the touch state information, touch position information and touch parameter information of each frame of data in the infrared touch data, so as to draw the writing track according to the display attribute corresponding to the touch parameter information.
  • Different touch parameter information is generated by different media types, the display properties of the writing track can be quickly determined, and the display properties can be set quickly by touching objects of different media types.
  • the operation process is simple and efficient, and the interaction efficiency of the interactive tablet is improved.
  • the writing track is displayed according to the continuously obtained infrared touch data until the infrared touch data is not obtained.
  • the corresponding writing track is displayed on the display screen. Specifically, step S1065 is included:
  • S10725 Continue to acquire the updated infrared touch data, and display a corresponding writing track on the display screen according to the updated infrared touch data, until it is confirmed that no infrared touch data is acquired.
  • the system layer reports the updated infrared touch data to the application layer that needs to use the infrared touch data to display the writing track.
  • the application layer continuously acquires the updated infrared touch data, and displays the corresponding writing track on the display screen according to the updated infrared touch data, until it is determined that no infrared touch data is acquired, and the current touch operation is determined to be completed.
  • step S107 is specifically as follows: after the processing device receives the medium type information, determines the controls operated by the touch object according to the infrared touch data, and responds to the controls in combination with the medium type of the touch object.
  • the infrared touch data indicates that the touch position is an annotation control, and when the processing device presets touch objects of different media types to click the annotation control, different annotation programs are invoked. Then, when the infrared touch data feedbacks the touch object to click on the annotation control, the processing device responds according to the medium type of the touch object, and calls the corresponding annotation program.
  • the elastic wave detection device suspends work until receiving the touch data of the last frame of the infrared touch frame or the infrared touch data sent by the processing device, and clears the buffered elasticity wave signal and continue to work.
  • the touch state information in the touch data of the last frame indicates that the touch state of the touch object is a touch-up state.
  • the elastic wave device reports the medium type to the processing device, and after successfully reporting the medium type, the elastic wave detection device suspends work until it receives the touch data of the last frame sent by the infrared touch frame or the processing device.
  • the suspension of operation of the elastic wave detection device can be understood as the steps of suspending the buffering of the elastic wave signal, and determining the medium type corresponding to the touched object according to the first frame of touch data and the elastic wave signal, and sending the medium type to the processing device.
  • the infrared touch frame or the processing device determines whether the touch data of the last frame is received according to the touch state information in the infrared touch data, and determines that the touch data of the last frame is received when the touch state information indicates that the touch state of the touch object is the touch-up state. As an implementation manner, after the infrared touch frame or the processing device confirms that the touch data of the last frame of the infrared touch data is received, it sends the touch data of the last frame to the elastic wave detection device.
  • the elastic wave detection device clears the previously buffered elastic wave signal and continues to work, that is, continues to buffer the elastic wave signal, and determines the corresponding touch object according to the first frame of touch data and the elastic wave signal. the media type and send the media type to the processing device.
  • the elastic wave detection device suspends work after reporting the medium type to the processing equipment, no longer buffers or processes newly generated elastic wave signals, filters the influence of interference signals, avoids unnecessary processing steps by the elastic wave detection device, improves processing efficiency, and After receiving the touch data of the last frame, continue to work after clearing the buffered elastic wave signal, so as to avoid unnecessary influence on the determination of the next medium type and ensure the accuracy of medium type identification.
  • Fig. 5 shows a logic diagram of touch data processing provided by the present disclosure.
  • T is the time span of the touch operation
  • time T3 is the time when the touch object approaches the display screen.
  • the elastic wave detection device detects the elastic The wave signal is buffered (from time T2 to time T4 in the figure).
  • TOUCH in the figure represents the time point when the touch object starts to perform touch operation but does not enter the touch detection area.
  • DOWN is the time when the touch object starts to enter the touch detection area.
  • the infrared touch data reported at this time is the first frame of touch data.
  • the infrared touch box reports the first frame of touch data to the processing device at the time of T3, and the processing device sends the data to the elastic wave.
  • the detection device sends the first frame of touch data (time T4), and after receiving the first frame of touch data, the elastic wave detection device feeds back to the processing device to confirm receipt of the first frame of touch data (time T5 in the figure). From DOWN to UP (that is, from time T1 to time T12), the infrared touch frame will continue to send infrared touch data to the processing device.
  • the infrared touch data there will be a time gap of several frames of infrared touch data between the infrared touch frame detecting the infrared touch data and reporting the infrared touch data. It is dust and other noise points), but after continuous calculation of more than two frames of infrared touch data, it is determined that there is a real touch operation, and then the infrared touch data is reported.
  • the first frame of infrared touch data reported to the processing device is referred to as the first frame of infrared touch data, that is, the first frame of infrared touch data may be the second, third, or fourth frame of infrared touch data calculated by the infrared touch frame.
  • the data, and which frame to report, is determined by the working characteristics of the infrared touch frame.
  • the elastic wave detection device After receiving the first frame of touch data, the elastic wave detection device determines the media type corresponding to the touch object (from T4 to T7 in the figure) according to the first frame of touch data and the elastic wave signal, and uploads the media type to the processing device (T7 in the figure). time), after receiving the medium type, the processing device can feed back to the elastic wave detection device to confirm the received medium type (time T8 in the figure). Meanwhile, the elastic wave detection device suspends work after sending the medium type to the processing equipment.
  • the processing device After receiving the medium type, the processing device starts to cache the received infrared touch data sent by the infrared touch frame (infrared touch data after time T9 in the figure). At the same time, the processing device sequentially reads the cached infrared touch data, updates the infrared touch data according to the medium type (time T10 in the figure), and displays the corresponding writing track on the display screen (from T11 in the figure) according to the updated infrared touch data time begins).
  • the processing device sends the touch data of the last frame to the elastic wave detection device, and the elastic wave detection device will clear the buffered elastic waves in response to the touch data of the last frame signal and continue working.
  • FIG. 6 shows another touch data processing logic diagram provided by the present disclosure.
  • the difference between the rest of the above touch data processing logic is that , when the infrared touch frame detects the first frame of touch data in the infrared touch data, it directly sends the first frame of touch data to the elastic wave detection device, instead of sending the first frame of touch data to the elastic wave detection device through the processing device (times T3 and T4 in Figure 6, Time T12 and time T13 are at the same time).
  • the infrared touch frame detection detects the touch data of the last frame in the infrared touch data, it directly sends the touch data of the last frame to the elastic wave detection device, instead of sending it to the elastic wave detection device through the processing device.
  • the touch data processing logic at other time points reference may be made to the touch data processing logic provided above, which will not be repeated here.
  • FIG. 7 is an operation schematic diagram of a touch operation provided by the present disclosure
  • FIG. 8 is a display schematic diagram of a writing track provided by the present disclosure.
  • a writing pen is used as a touch object to perform a touch operation on the display screen
  • the direction of the arrow in FIG. 7 is the moving direction of the writing pen.
  • a pen-down event, a writing event and a pen-up event will occur in sequence, corresponding to the touch-down state, the touch-moving state and the touch-up state of the writing pen on the display screen.
  • the operation track of the writing pen is divided into A1, A2 and A3 according to the moving direction of the writing pen, corresponding to the touch drop state of the writing pen on the display screen (corresponding to the DOWN point), the touch moving state corresponds to the DOWN point to the UP point in Figures 5 and 6), and the touch lift state corresponds to the UP point in Figures 5 and 6).
  • the writing pen did not touch the display screen, and the elastic wave detection device failed to detect the touch operation of the writing pen on the display screen.
  • the writing pen touched the display screen, and the elastic wave detection device Elastic wave signal detected.
  • the infrared touch frame can detect infrared touch data during the entire process of pen down, move and up.
  • the elastic wave detection device buffers the elastic wave signal in the A1 stage, determines the medium type according to the elastic wave signal and the first frame of touch data, reports it to the processing device, and stops working after reporting the medium type.
  • the processing device displays the writing track to the display screen according to the medium type and infrared touch data in the A2 stage. After receiving the touch data of the last frame in the A3 stage, the elastic wave detection device clears the buffered elastic wave signal and continues to work.
  • the writing track finally displayed on the display screen is shown as track B in FIG. 8 , wherein track B is divided into B2 and B3, corresponding to A2 and A3 respectively.
  • the processing device when the processing device does not receive the medium type reported by the elastic wave detection device, it discards the received infrared touch data and does not respond to the currently received infrared touch data.
  • the medium type is not determined, the infrared touch data is not responded to, but the infrared touch data is processed only after the medium type is determined, and the infrared touch data cached at this time can be determined to be when the touch object actually touches the display screen.
  • the writing track displayed on the display screen is closer to the actual touch track of the touch object on the display screen.
  • the writing track will not be displayed when the touch object touches the display screen, but the writing track will be displayed after the medium type is determined.
  • tracking it is determined that the touch object has contacted the display screen, and the zero writing height of the writing operation is realized.
  • the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet is detected by the infrared touch frame
  • the elastic wave signal generated when the touch object touches the display screen is detected by the elastic wave detection device.
  • the location information and/or touch parameter information, and the elastic wave signal determine the medium type, start to cache the continuously received infrared touch data after the medium type is determined, and update the infrared touch data according to the medium type, and display the infrared touch data according to the updated infrared touch data.
  • the corresponding writing track is displayed on the screen, and the medium type is determined by combining the infrared touch data and elastic wave signal, which improves the recognition accuracy of the touched object.
  • the infrared touch data is cached and responded to, and the displayed writing track is the same as the one.
  • the actual touch track of the touch object on the display screen is closer, and at the same time, the writing track is displayed when it is determined that the touch object has touched the display screen, rather than before the touch object actually touches the display screen (although the touch object has entered the touch detection at this time).
  • the timing of the display of the writing track is closer to the timing when the touch object touches the display screen, the display of the writing track is more accurate, the zero writing height of the writing operation is realized, and the medium type can quickly
  • the display properties of the writing track are determined, and the display properties can be quickly modified by touching objects of different media types, and the differentiated display of writing handwriting with different display properties is realized.
  • the operation process is simple and efficient, and the interaction efficiency of the interactive tablet is improved.
  • the processing device waits for receiving the medium type within a preset time threshold, correspondingly, the touch
  • the data processing method further includes step S1081:
  • the processing device determines that the medium type sent by the elastic wave detection device has not been received within the preset time threshold, and directly displays the corresponding writing track on the display screen according to the infrared touch data.
  • the processing device waits for the elastic wave detection device to send the medium type to it.
  • the elastic wave detection device receives the infrared touch data, it takes 13-20ms to obtain the medium type in combination with the infrared touch data and report it to the processing device. Therefore, a preset time threshold (for example, 20ms) can be set as the waiting time for the elastic wave. Detecting device feedback time.
  • the processing device determines that the medium type sent by the elastic wave detection device is not received within the preset time threshold (for example, 20ms), it is considered that the elastic wave signal is generated by an interference source, a false alarm event caused by a false touch, or a system Or the communication is abnormal, the corresponding writing track is displayed on the display screen directly according to the infrared touch data, that is, the step of updating the infrared touch data according to the medium type is not performed, but the corresponding writing track is displayed on the display screen according to the original infrared touch data. Writing track.
  • the preset time threshold for example, 20ms
  • step S107 is executed to update the infrared touch data according to the medium type, and display the corresponding writing track on the display screen according to the updated infrared touch data.
  • the processing device does not receive the medium type sent by the elastic wave detection device within the preset time threshold, it directly displays the writing track on the display screen according to the infrared touch data, so as to avoid failure to display due to false alarm events, system or communication abnormalities The situation of the writing track ensures the user's writing experience.
  • the processing device waits for receiving the medium type within a preset time threshold, correspondingly, the touch
  • the data processing method further includes step S1082:
  • the processing device determines that the medium type sent by the elastic wave detection device has not been received within the preset time threshold, obtains the medium type last sent by the elastic wave detection device, updates the infrared touch data according to the medium type, and updates the infrared touch data according to the updated infrared Touch the data to display the corresponding writing track on the display.
  • the processing device waits for the elastic wave detection device to send the medium type to it. If the processing device determines that the medium type sent by the elastic wave detection device has not been received within a preset time threshold (for example, 20ms), it is considered that a false alarm event occurred in the elastic wave detection device or the system or communication is abnormal, and the elastic wave detection device is obtained.
  • the media type sent last time, update the infrared touch data according to the media type, and display the corresponding writing track on the display screen according to the updated infrared touch data. At this time, the display properties of the writing track are the same as the display properties of the last touch operation.
  • step S107 is executed to update the infrared touch data according to the medium type, and display the corresponding writing track on the display screen according to the updated infrared touch data.
  • the processing device does not receive the medium type sent by the elastic wave detection device within the preset time threshold, according to the infrared touch data and the last medium type, the writing track is displayed on the display screen to avoid false alarm events, system or communication If an exception occurs, the writing track cannot be displayed, so as to ensure the user's writing experience.
  • the touch data processing method provided by the present disclosure further includes:
  • the processing device Before receiving the medium type information, the processing device responds to the received infrared touch data.
  • the processing device Before receiving the medium type sent by the elastic wave detection device, the processing device does not process the subsequent infrared touch data, but directly responds to the received infrared touch data, for example, directly obtains the cached infrared touch data and displays the corresponding data on the display screen.
  • the processing device Before receiving the medium type sent by the elastic wave detection device, it is not necessary to update the infrared touch data, but directly display the corresponding writing trajectory on the display screen according to the infrared touch data until the medium type is received, and then The infrared touch is updated according to the medium type, to ensure the normal response to the infrared touch data, and to realize the error correction of the failure to display the writing track normally when the communication between the elastic wave detection devices is abnormal.
  • FIG. 9 shows a flowchart of another touch data processing method provided by the present disclosure, and the touch data processing method is an embodiment of the above-mentioned touch data processing method.
  • the touch data processing method includes:
  • the infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in a touch detection area of the interactive tablet.
  • the elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet.
  • S203 The processing device receives the infrared touch data sent by the infrared touch frame.
  • the elastic wave detection device After receiving the first frame of touch data of the infrared touch data, the elastic wave detection device determines the medium type corresponding to the touch object according to the first frame of touch data and the elastic wave signal, and sends the medium type to the processing device; wherein, the infrared touch data The first frame of touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device.
  • the processing device After receiving the medium type information, the processing device starts to cache the received infrared touch data sent by the infrared touch frame.
  • S206 The processing device sequentially reads the buffered infrared touch data, updates the infrared touch data according to the medium type, and displays a corresponding writing track on the display screen according to the updated infrared touch data.
  • the processing device After receiving the second medium type sent by the elastic wave detection device, the processing device sequentially reads the cached infrared touch data, updates the infrared touch data according to the second medium type, and erases the infrared touch data according to the updated infrared touch data The writing track corresponding to the data.
  • the interactive tablet provided by the present disclosure is configured with a writing pen
  • the writing pen includes a pen tip and a pen tail, wherein the media type of the pen tip is the first media type, and the media type of the pen tail is the second media type.
  • the touch operation performed with the tip of the pen can be considered as a writing operation performed on the display screen
  • the touch operation performed with the tail of the pen can be considered as an erase operation performed on the display screen.
  • the processing device After receiving the infrared touch data sent by the infrared touch frame or sending the first frame of touch data to the elastic wave detection device, the processing device waits for the elastic wave detection device to send the medium type to it.
  • the elastic wave detection device reads the buffered elastic wave signal, and then determines the medium type corresponding to the touched object in combination with the first frame of touch data sent to it by the infrared touch frame or the processing device.
  • the touch object is the tip of a writing pen
  • the medium type sent by the elastic wave detection device to the processing device is the first medium type, and the aforementioned step 206 is performed, and when the touch object is the pen end of the writing pen, the medium sent to the processing device is The type is the second medium type, and the foregoing step 207 is performed.
  • the processing device After receiving the first medium type sent by the elastic wave detection device, the processing device will update the infrared touch data according to the first medium type, and display the corresponding writing track on the display screen according to the updated infrared touch data.
  • the processing device After receiving the second medium type sent by the elastic wave detection device, the processing device sequentially reads the cached infrared touch data, updates the infrared touch data according to the second medium type, and erases the display screen according to the updated infrared touch data.
  • the writing track corresponding to the infrared touch data.
  • different touch parameter information is associated with different display attributes. When the pen tail is writing, it can be understood that the display attribute is to eliminate handwriting. By presetting the standard touch parameter information of the pen tail and setting it in the application layer , then the application layer will correspondingly erase the corresponding handwriting when receiving the infrared touch data representing the operation of the pen tail.
  • the head and tail of the writing pen are respectively made of materials corresponding to different types of touch media. Based on different media types in different parts, the operation of a writing pen at different positions can directly complete the corresponding touch operation in some cases, without the need to operate the function control multiple times in the touch detection area to hit the desired Triggered control action.
  • the media types of the pen head and the pen tail are respectively corresponding to different touch operations.
  • the second medium type characterizing the end of the pen corresponds to an erasing operation that corrects the existing writing track.
  • the pen head and the pen tail can also correspond to touch control operations.
  • the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet is detected by the infrared touch frame
  • the elastic wave signal generated when the touch object touches the display screen is detected by the elastic wave detection device.
  • the location information and/or touch parameter information, and the elastic wave signal determine the medium type.
  • the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included.
  • the information is sent to the processing device, so that the processing device can initiate a response to the received infrared touch data according to the medium type, so that the processing device can perform different response operations according to different media types of the touched object, with simple operation and high efficiency.
  • the processing device starts to process and respond to the received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen.
  • the timing of processing and responding to infrared touch data is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback. For example, when the user uses the touch object to write on the display screen, the writing The position and timing of the track are consistent with the position and timing of the touch object touching the display screen to achieve zero height of writing, and the display properties of the writing track can be quickly determined by the medium type, and the display can be quickly realized by touching objects of different media types.
  • the modification of attributes realizes the differentiated display of writing handwriting with different display attributes, the operation process is simple and efficient, and the interactive efficiency of the interactive tablet is improved.
  • FIG. 10 is a structural block diagram of an interactive tablet provided by the present disclosure.
  • the interactive tablet can be used to execute the touch data processing method in the embodiment of FIG. 2 .
  • the interactive tablet includes a display screen, a processing device, an infrared touch frame and an elastic wave detection device.
  • the infrared touch frame is arranged around the display screen to The touch detection area of the interactive tablet is formed, and the display screen, the infrared touch frame and the elastic wave detection device are all connected with the processing equipment.
  • the infrared touch frame is used to detect infrared touch data and send the infrared touch data to the processing device, wherein the infrared touch data is generated when the touch object performs a touch operation in the touch detection area of the interactive tablet, and the infrared touch data includes touch position information and / or touch parameter information;
  • an elastic wave detection device for detecting an elastic wave signal, wherein the elastic wave signal is generated when a touch object contacts the display screen of the interactive tablet;
  • the processing device After receiving the infrared touch data sent by the processing device, according to the touch position information and/or touch parameter information of the infrared touch data, as well as the elastic wave signal, determine the medium type corresponding to the touch object, and send the medium type information to the processing device.
  • the type information includes the media type corresponding to the touch object;
  • the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet is detected by the infrared touch frame
  • the elastic wave signal generated when the touch object touches the display screen is detected by the elastic wave detection device.
  • the location information and/or touch parameter information, and the elastic wave signal determine the medium type.
  • the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included.
  • the information is sent to the processing device, so that the processing device can initiate a response to the received infrared touch data according to the medium type, so that the processing device can perform different response operations according to different media types of the touched object, with simple operation and high efficiency.
  • the processing device starts to process and respond to the received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen.
  • the timing of processing and responding to infrared touch data is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback. For example, when the user uses the touch object to write on the display screen, the writing The position and timing of the track are consistent with the position and timing of the touch object touching the display screen to achieve zero height of writing, and the display properties of the writing track can be quickly determined by the medium type, and the display can be quickly realized by touching objects of different media types.
  • FIG. 11 is a structural block diagram of an interactive tablet provided by the present disclosure.
  • the interactive tablet can be used to execute the touch data processing method in the embodiment of FIG. 9
  • the interactive tablet includes a display screen, a processing device, an infrared touch frame and an elastic wave detection device, and the infrared touch frame is arranged around the display screen to The touch detection area of the interactive tablet is formed, the display screen, the infrared touch frame and the elastic wave detection device are all connected with the processing equipment, and the infrared touch frame is connected with the elastic wave detection device.
  • the infrared touch frame is used to detect infrared touch data, send the infrared touch data to the elastic wave detection device, and send the infrared touch data to the processing device, wherein the infrared touch data is touched by the touch object in the touch detection area of the interactive tablet When generated, the infrared touch data includes touch position information and/or touch parameter information;
  • an elastic wave detection device for detecting elastic wave signals, the elastic wave signals are generated when a touch object touches the display screen of the interactive tablet;
  • the medium type information includes the medium type corresponding to the touch object
  • the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet is detected by the infrared touch frame
  • the elastic wave signal generated when the touch object touches the display screen is detected by the elastic wave detection device.
  • the location information and/or touch parameter information, and the elastic wave signal determine the medium type.
  • the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included.
  • the information is sent to the processing device, so that the processing device can initiate a response to the received infrared touch data according to the medium type, so that the processing device can perform different response operations according to different media types of the touched object, with simple operation and high efficiency.
  • the processing device starts to process and respond to the received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen.
  • the timing of processing and responding to infrared touch data is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback. For example, when the user uses the touch object to write on the display screen, the writing The position and timing of the track are consistent with the position and timing of the touch object touching the display screen to achieve zero height of writing, and the display properties of the writing track can be quickly determined by the medium type, and the display can be quickly realized by touching objects of different media types.
  • the present disclosure also provides a readable storage medium containing computer-executable instructions, when executed by a computer processor, the computer-executable instructions are used to execute the touch data processing method provided by the above embodiments.
  • storage medium any of various types of memory devices or storage devices.
  • storage medium is intended to include: installation media, such as CD-ROMs, floppy disks, or tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc.
  • the storage medium may also include other types of memory or combinations thereof.
  • the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network such as the Internet.
  • the second computer system may provide program instructions to the first computer for execution.
  • storage medium may include two or more storage media that may reside in different locations (eg, in different computer systems connected by a network).
  • the storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors.
  • a readable storage medium containing computer-executable instructions provided by the present disclosure is not limited to the above-mentioned touch data processing method, and can also execute any of the touch data processing methods provided in any embodiment of the present disclosure. related operations.
  • the interactive tablet and storage medium provided in the above embodiments can perform the touch data processing method provided by any embodiment of the present disclosure.
  • touch data provided by any embodiment of the present disclosure. Approach.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Automation & Control Theory (AREA)
  • Position Input By Displaying (AREA)

Abstract

A touch data processing method and an interaction tablet. Infrared touch data generated when a touch object touches a touch-control detection region of an interaction tablet is detected by means of an infrared touch frame, an elastic wave signal generated when the touch object touches a display screen is detected by means of an elastic wave detection apparatus, and a medium type is determined according to touch position information and/or touch parameter information in the infrared touch data, and the elastic wave signal. A medium type is determined by means of combining infrared touch data with an elastic wave signal, thereby improving the recognition precision of a touch object. In addition, medium type information containing the medium type of the touch object is sent to a processing device, such that the processing device can execute different response operations according to different medium types of the touch object. The operation is simple, and the efficiency is high.

Description

触摸数据处理方法及交互平板Touch data processing method and interactive tablet 技术领域technical field
本公开涉及电子设备控制技术领域,尤其涉及触摸数据处理方法及交互平板。The present disclosure relates to the technical field of electronic device control, and in particular, to a touch data processing method and an interactive tablet.
背景技术Background technique
利用红外触摸框在显示屏上进行触控操作,是交互平板常用的触控方式之一,红外触摸框包括安装在交互平板的显示屏四周,或上下或左右两侧的红外发射器和红外接收器,由红外发射器和红外接收器识别在显示屏上进行的触控操作,得到相应的红外触摸数据,并发送至交互平板的处理器。交互平板根据红外触摸数据执行相应的操作,例如根据触摸物的移动轨迹在交互平板的显示屏上显示对应的书写轨迹等。Using the infrared touch frame to perform touch operations on the display screen is one of the commonly used touch methods for interactive tablets. The infrared touch frame includes infrared transmitters and infrared receivers installed around the display screen of the interactive tablet, or on the top, bottom or left and right sides. The touch operation on the display screen is recognized by the infrared transmitter and the infrared receiver, and the corresponding infrared touch data is obtained and sent to the processor of the interactive tablet. The interactive tablet performs corresponding operations according to the infrared touch data, such as displaying a corresponding writing track on the display screen of the interactive tablet according to the movement track of the touch object.
交互平板在使用过程中,对触控操作的响应基本只有基于触控轨迹的具体输入判断,例如基于触控轨迹的轨迹输入或简单指令接收,当要改变触控轨迹的输入效果或实现较为复杂的控制指令时,需要根据多个触控输入的组合才能实现目标控制,例如对于书写过程来说,进行书写轨迹的显示属性设置或者进行书写、擦除的操作方式的切换时,需要较为复杂的触控操作组合才能实现设置目标,操作较为繁琐,效率较低。During the use of the interactive tablet, the response to the touch operation is basically only based on the specific input judgment of the touch track, such as track input based on the touch track or simple command reception. When the input effect of the touch track needs to be changed or the implementation is more complicated When the control command is used, the target control needs to be realized according to the combination of multiple touch inputs. For example, for the writing process, when setting the display attribute of the writing track or switching the operation mode of writing and erasing, it requires more complicated Only the touch operation combination can achieve the setting target, the operation is more complicated and the efficiency is low.
发明内容SUMMARY OF THE INVENTION
本公开提供触摸数据处理方法及交互平板,以解决现有技术中交互平板需要较为复杂的触控操作组合才能实现设置目标,操作繁琐、效率较低的技术问题。The present disclosure provides a touch data processing method and an interactive tablet, so as to solve the technical problems in the prior art that the interactive tablet requires a relatively complex touch operation combination to achieve the setting target, the operation is cumbersome and the efficiency is low.
在第一方面,本公开提供了一种触摸数据处理方法,应用于交互平板,所述交互平板包括显示屏、处理设备和红外触摸框,所述交互平板还包括弹性波检测装置,所述方法包括:In a first aspect, the present disclosure provides a touch data processing method applied to an interactive tablet, the interactive tablet includes a display screen, a processing device and an infrared touch frame, the interactive tablet further includes an elastic wave detection device, the method include:
所述红外触摸框检测到红外触摸数据,所述红外触摸数据由触摸物在所述交互平板的触控检测区域进行触控操作时产生;所述红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in the touch detection area of the interactive tablet; the infrared touch data includes touch position information and/or touch parameters information;
所述处理设备接收所述红外触摸框发送的所述红外触摸数据;The processing device receives the infrared touch data sent by the infrared touch frame;
所述弹性波检测装置接收到所述红外触摸数据,其中,所述红外触摸数据由所述红外触摸框或所述处理设备发送至所述弹性波检测装置;The elastic wave detection device receives the infrared touch data, wherein the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device;
所述弹性波检测装置检测到弹性波信号;所述弹性波信号由所述触摸物接触所述交互平板的显示屏时生成;The elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet;
所述弹性波检测装置根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所 述弹性波信号,确定所述触摸物对应的介质类型;The elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal;
所述弹性波检测装置向所述处理设备发送介质类型信息,所述介质类型信息包括所述触摸物对应的介质类型。The elastic wave detection apparatus sends medium type information to the processing device, where the medium type information includes a medium type corresponding to the touch object.
本公开通过红外触摸框检测触摸物触摸交互平板的触控检测区域时产生的红外触摸数据,并通过弹性波检测装置检测触摸物接触显示屏时产生的弹性波信号,根据红外触摸数据中的触摸位置信息和/或触摸参数信息,以及弹性波信号确定介质类型,通过结合红外触摸数据和弹性波信号确定介质类型,提高了对触摸物的识别精度,而且将包含触摸物的介质类型的介质类型信息发送到处理设备,使得处理设备可以根据触摸物的不同的介质类型执行不同的响应操作,操作简单,效率较高。The present disclosure uses the infrared touch frame to detect the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet, and uses the elastic wave detection device to detect the elastic wave signal generated when the touch object touches the display screen. The location information and/or touch parameter information, and the elastic wave signal determine the medium type. By combining the infrared touch data and the elastic wave signal to determine the medium type, the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included. The information is sent to the processing device, so that the processing device can perform different response operations according to different media types of the touch object, and the operation is simple and the efficiency is high.
在第二方面,本公开提供了一种触摸数据处理方法,应用于交互平板,所述交互平板包括显示屏、处理设备和红外触摸框,所述交互平板还包括弹性波检测装置,所述方法包括:In a second aspect, the present disclosure provides a touch data processing method applied to an interactive tablet, the interactive tablet includes a display screen, a processing device and an infrared touch frame, the interactive tablet further includes an elastic wave detection device, the method include:
所述红外触摸框检测到红外触摸数据,所述红外触摸数据由触摸物在所述交互平板的触控检测区域进行触控操作时产生;所述红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in the touch detection area of the interactive tablet; the infrared touch data includes touch position information and/or touch parameters information;
所述处理设备接收所述红外触摸框发送的所述红外触摸数据;The processing device receives the infrared touch data sent by the infrared touch frame;
所述弹性波检测装置接收到所述红外触摸数据,其中,所述红外触摸数据由所述红外触摸框或所述处理设备发送至所述弹性波检测装置;The elastic wave detection device receives the infrared touch data, wherein the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device;
所述弹性波检测装置检测到弹性波信号;所述弹性波信号由所述触摸物接触所述交互平板的显示屏时生成;The elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet;
所述弹性波检测装置根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型;The elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal;
所述弹性波检测装置向所述处理设备发送介质类型信息,所述介质类型信息包括所述触摸物对应的介质类型;The elastic wave detection device sends medium type information to the processing device, where the medium type information includes a medium type corresponding to the touch object;
所述处理设备接收到所述介质类型信息后,根据所述介质类型,启动对接收到的所述红外触摸数据的响应。After receiving the medium type information, the processing device starts a response to the received infrared touch data according to the medium type.
本公开通过红外触摸框检测触摸物触摸交互平板的触控检测区域时产生的红外触摸数据,并通过弹性波检测装置检测触摸物接触显示屏时产生的弹性波信号,根据红外触摸数据中的触摸位置信息和/或触摸参数信息,以及弹性波信号确定介质类型,通过结合红外触摸数据和弹性波信号确定介质类型,提高了对触摸物的识别精度,而且将包含触摸物的介质类型的介质类型信息发送到处理设备,使得处理设备根据介质类型,启动对接收到的红外触摸数据的响应,从而处理设备可以根据触摸物的不同的介质类型执行不同的响应操作,操作简单,效率较高。而且处理设备在接收到介质类型之后才启动对接收到的红外触摸数据进行处理及 响应,忽略在触摸物接触显示屏之前产生的红外触摸数据,只处理触摸物接触显示屏之后产生红外触摸数据,对红外触摸数据进行处理及响应的时机与触摸物接触显示屏的位置与时机保持一致,用户的触控操作得到更准确的反馈,例如用户采用触摸物在显示屏上进行书写操作时,显示书写轨迹的位置及时机与触摸物接触显示屏的位置与时机保持一致,实现书写的零高度。The present disclosure uses the infrared touch frame to detect the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet, and uses the elastic wave detection device to detect the elastic wave signal generated when the touch object touches the display screen. The location information and/or touch parameter information, and the elastic wave signal determine the medium type. By combining the infrared touch data and the elastic wave signal to determine the medium type, the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included. The information is sent to the processing device, so that the processing device can initiate a response to the received infrared touch data according to the medium type, so that the processing device can perform different response operations according to different media types of the touched object, with simple operation and high efficiency. Moreover, the processing device starts to process and respond to the received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen. The timing of processing and responding to infrared touch data is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback. For example, when the user uses the touch object to write on the display screen, the writing The position and timing of the track are consistent with the position and timing of the touch object touching the display screen to achieve zero height of writing.
在第三方面,本公开提供了一种触摸数据处理方法,应用于交互平板,所述交互平板包括显示屏、处理设备和红外触摸框,所述交互平板还包括弹性波检测装置,所述方法包括:In a third aspect, the present disclosure provides a touch data processing method, applied to an interactive tablet, the interactive tablet includes a display screen, a processing device and an infrared touch frame, the interactive tablet further includes an elastic wave detection device, the method include:
所述红外触摸框检测到红外触摸数据,所述红外触摸数据由触摸物在所述交互平板的触控检测区域进行触控操作时产生;所述红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in the touch detection area of the interactive tablet; the infrared touch data includes touch position information and/or touch parameters information;
所述处理设备接收所述红外触摸框发送的所述红外触摸数据;The processing device receives the infrared touch data sent by the infrared touch frame;
所述弹性波检测装置接收到所述红外触摸数据,其中,所述红外触摸数据由所述红外触摸框或所述处理设备发送至所述弹性波检测装置;The elastic wave detection device receives the infrared touch data, wherein the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device;
所述弹性波检测装置检测到弹性波信号;所述弹性波信号由所述触摸物接触所述交互平板的显示屏时生成;The elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet;
所述弹性波检测装置根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型;The elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal;
所述弹性波检测装置向所述处理设备发送介质类型信息,所述介质类型信息包括所述触摸物对应的介质类型;The elastic wave detection device sends medium type information to the processing device, where the medium type information includes a medium type corresponding to the touch object;
所述处理设备接收到所述介质类型信息之前,对接收到的所述红外触摸数据进行响应;The processing device responds to the received infrared touch data before receiving the medium type information;
所述处理设备接收到所述介质类型信息后,启动对接收到的所述红外触摸数据的响应。After receiving the medium type information, the processing device starts a response to the received infrared touch data.
本公开通过红外触摸框检测触摸物触摸交互平板的触控检测区域时产生的红外触摸数据,并通过弹性波检测装置检测触摸物接触显示屏时产生的弹性波信号,根据红外触摸数据中的触摸位置信息和/或触摸参数信息,以及弹性波信号确定介质类型,通过结合红外触摸数据和弹性波信号确定介质类型,提高了对触摸物的识别精度,而且将包含触摸物的介质类型的介质类型信息发送到处理设备,使得处理设备根据介质类型,启动对接收到的红外触摸数据的响应,从而处理设备可以根据触摸物的不同的介质类型执行不同的响应操作,操作简单,效率较高。而且处理设备在接收到弹性波检测装置发送的介质类型之前,直接对接收到的红外触摸数据进行响应,保证对红外触摸数据的正常响应,实现对弹性波检测装置之间的通信异常时,无法正常响应红外触摸数据的纠错处理。处理设备在接收到介质类型之后才启动对接收到的红外触摸数据进行处理及响应,忽略在触摸物接触显示屏之前产生的红外触摸数据,只处理触摸物接触显示屏之后产生红外触摸数据,对红外触摸数据进行处理及响应的时机与 触摸物接触显示屏的位置与时机保持一致,用户的触控操作得到更准确的反馈。The present disclosure uses the infrared touch frame to detect the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet, and uses the elastic wave detection device to detect the elastic wave signal generated when the touch object touches the display screen. The location information and/or touch parameter information, and the elastic wave signal determine the medium type. By combining the infrared touch data and the elastic wave signal to determine the medium type, the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included. The information is sent to the processing device, so that the processing device can initiate a response to the received infrared touch data according to the medium type, so that the processing device can perform different response operations according to different media types of the touched object, with simple operation and high efficiency. Moreover, before receiving the medium type sent by the elastic wave detection device, the processing device directly responds to the received infrared touch data, so as to ensure the normal response to the infrared touch data. When the communication between the elastic wave detection devices is abnormal, it cannot be Error correction processing of normal response infrared touch data. The processing device starts to process and respond to the received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen. The timing of infrared touch data processing and response is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback.
在第四方面,本公开提供了一种交互平板,包括显示屏、处理设备、红外触摸框和弹性波检测装置,所述显示屏、所述红外触摸框和所述弹性波检测装置均与所述处理设备连接;In a fourth aspect, the present disclosure provides an interactive tablet, including a display screen, a processing device, an infrared touch frame, and an elastic wave detection device, wherein the display screen, the infrared touch frame, and the elastic wave detection device are all related to the connection of the processing equipment;
所述红外触摸框,用于检测红外触摸数据,向所述处理设备发送所述红外触摸数据,其中,所述红外触摸数据由触摸物在所述交互平板的触控检测区域进行触控操作时产生,所述红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame is used to detect infrared touch data and send the infrared touch data to the processing device, wherein the infrared touch data is performed by a touch object in the touch detection area of the interactive tablet when a touch operation is performed generating, the infrared touch data includes touch position information and/or touch parameter information;
所述弹性波检测装置,用于检测弹性波信号,其中,所述弹性波信号由所述触摸物接触所述交互平板的显示屏时生成;以及the elastic wave detection device for detecting elastic wave signals, wherein the elastic wave signals are generated when the touch object contacts the display screen of the interactive tablet; and
在接收到所述处理设备发送的所述红外触摸数据后,根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型,并向所述处理设备发送介质类型信息,所述介质类型信息包括所述触摸物对应的介质类型;After receiving the infrared touch data sent by the processing device, determine the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, and sending media type information to the processing device, where the media type information includes a media type corresponding to the touch object;
所述处理设备,用于:The processing equipment is used for:
接收所述红外触摸框发送的所述红外触摸数据,向所述弹性波检测装置发送所述红外触摸数据;以及receiving the infrared touch data sent by the infrared touch frame, and sending the infrared touch data to the elastic wave detection device; and
接收所述弹性波检测装置发送的所述介质类型信息。The medium type information sent by the elastic wave detection device is received.
本公开通过红外触摸框检测触摸物触摸交互平板的触控检测区域时产生的红外触摸数据,红外触摸框通过处理设备向弹性波检测装置发送红外触摸数据,弹性波检测装置检测触摸物接触显示屏时产生的弹性波信号,弹性波检测装置在接收到处理设备发送的红外触摸数据后,根据红外触摸数据中的触摸位置信息和/或触摸参数信息,以及弹性波信号确定介质类型,通过结合红外触摸数据和弹性波信号确定介质类型,提高了对触摸物的识别精度,而且将包含触摸物的介质类型的介质类型信息发送到处理设备,使得处理设备可以根据触摸物的不同的介质类型执行不同的响应操作,操作简单,效率较高。The present disclosure uses the infrared touch frame to detect the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet. The infrared touch frame sends the infrared touch data to the elastic wave detection device through the processing device, and the elastic wave detection device detects that the touch object touches the display screen. After receiving the infrared touch data sent by the processing device, the elastic wave detection device determines the medium type according to the touch position information and/or touch parameter information in the infrared touch data and the elastic wave signal, and combines the infrared The touch data and the elastic wave signal determine the medium type, which improves the recognition accuracy of the touch object, and sends the medium type information of the medium type containing the touch object to the processing device, so that the processing device can perform different operations according to different media types of the touch object. The response operation is simple and efficient.
在第五方面,本公开提供了一种交互平板,包括显示屏、处理设备、红外触摸框和弹性波检测装置,所述显示屏、所述红外触摸框和所述弹性波检测装置均与所述处理设备连接,所述红外触摸框与所述弹性波检测装置连接;In a fifth aspect, the present disclosure provides an interactive tablet, including a display screen, a processing device, an infrared touch frame, and an elastic wave detection device, wherein the display screen, the infrared touch frame, and the elastic wave detection device are all related to the the processing device is connected, and the infrared touch frame is connected to the elastic wave detection device;
所述红外触摸框,用于检测红外触摸数据,向所述弹性波检测装置发送所述红外触摸数据,以及向所述处理设备发送所述红外触摸数据,其中,所述红外触摸数据由触摸物在所述交互平板的触控检测区域进行触控操作时产生,所述红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame is used to detect infrared touch data, send the infrared touch data to the elastic wave detection device, and send the infrared touch data to the processing device, wherein the infrared touch data is generated by the touch object Generated when a touch operation is performed in the touch detection area of the interactive tablet, and the infrared touch data includes touch position information and/or touch parameter information;
所述弹性波检测装置,用于检测弹性波信号,所述弹性波信号由所述触摸物接触所述交互平板的显示屏时生成;以及the elastic wave detection device for detecting elastic wave signals, the elastic wave signals are generated when the touch object contacts the display screen of the interactive tablet; and
在接收到所述红外触摸框发送的所述红外触摸数据后,根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型,并向所述处理设备发送介质类型信息,所述介质类型信息包括所述触摸物对应的介质类型;After receiving the infrared touch data sent by the infrared touch frame, determine the media type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal , and send media type information to the processing device, where the media type information includes the media type corresponding to the touch object;
所述处理设备,用于:The processing equipment is used for:
接收所述红外触摸框发送的所述红外触摸数据;以及receiving the infrared touch data sent by the infrared touch frame; and
接收所述弹性波检测装置发送的所述介质类型信息。The medium type information sent by the elastic wave detection device is received.
本公开通过红外触摸框检测触摸物触摸交互平板的触控检测区域时产生的红外触摸数据,红外触摸框直接向弹性波检测装置发送红外触摸数据,弹性波检测装置检测触摸物接触显示屏时产生的弹性波信号,弹性波检测装置在接收到红外触摸框发送的红外触摸数据后,根据红外触摸数据中的触摸位置信息和/或触摸参数信息,以及弹性波信号确定介质类型,通过结合红外触摸数据和弹性波信号确定介质类型,提高了对触摸物的识别精度,而且将包含触摸物的介质类型的介质类型信息发送到处理设备,使得处理设备可以根据触摸物的不同的介质类型执行不同的响应操作,操作简单,效率较高。The present disclosure uses the infrared touch frame to detect the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet, the infrared touch frame directly sends the infrared touch data to the elastic wave detection device, and the elastic wave detection device detects that the touch object touches the display screen and generates the infrared touch data. After receiving the infrared touch data sent by the infrared touch frame, the elastic wave detection device determines the medium type according to the touch position information and/or touch parameter information in the infrared touch data and the elastic wave signal, and combines the infrared touch data with the elastic wave signal. The data and the elastic wave signal determine the medium type, which improves the recognition accuracy of the touching object, and sends the medium type information of the medium type containing the touching object to the processing device, so that the processing device can perform different processing according to different media types of the touching object. Responsive operation, simple operation and high efficiency.
附图说明Description of drawings
图1是本公开提供的一种交互平板的结构示意图;FIG. 1 is a schematic structural diagram of an interactive tablet provided by the present disclosure;
图2是本公开提供的一种触摸数据处理方法的流程图;FIG. 2 is a flowchart of a touch data processing method provided by the present disclosure;
图3是本公开提供的一种红外触摸框的检测原理示意图;3 is a schematic diagram of a detection principle of an infrared touch frame provided by the present disclosure;
图4是本公开提供的一种交互平板的硬件结构示意图;4 is a schematic diagram of the hardware structure of an interactive tablet provided by the present disclosure;
图5是本公开提供的一种触摸数据处理逻辑图;FIG. 5 is a logic diagram of a touch data processing provided by the present disclosure;
图6是本公开提供的另一种触摸数据处理逻辑图;FIG. 6 is another logic diagram of touch data processing provided by the present disclosure;
图7是本公开提供的一种触控操作的操作示意图;FIG. 7 is an operation schematic diagram of a touch operation provided by the present disclosure;
图8是本公开提供的一种书写轨迹的显示示意图;8 is a schematic diagram showing a writing track provided by the present disclosure;
图9是本公开提供的另一种触摸数据处理方法的流程图;FIG. 9 is a flowchart of another touch data processing method provided by the present disclosure;
图10是本公开提供的一种交互平板的结构框图;10 is a structural block diagram of an interactive tablet provided by the present disclosure;
图11是本公开提供的一种交互平板的结构框图。FIG. 11 is a structural block diagram of an interactive tablet provided by the present disclosure.
具体实施方式Detailed ways
为了使本公开的目的、技术方案和优点更加清楚,下面结合附图对本公开具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本公开,而非对本公开的限定。为了便于描述,附图中仅示出了与本公开相关的部分而非全部内容。在更加 详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the specific embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present disclosure, but not to limit the present disclosure. For convenience of description, the accompanying drawings show only some but not all contents related to the present disclosure. Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts various operations (or steps) as a sequential process, many of the operations may be performed in parallel, concurrently, or concurrently. Additionally, the order of operations can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
需要说明的是,在本公开中,诸如第一和第二之类的关系术语仅仅用来将一个实体或操作或对象与另一个实体或操作或对象区分开来,而不一定要求或者暗示这些实体或操作或对象之前存在任何这种实际的关系或顺序。例如,第一介质类型和第二介质类型的“第一”和“第二”用来区分两个不同介质类型,例如书写笔的笔尖和笔尾。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本公开中的具体含义。此外,在本公开的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be noted that in this disclosure, relational terms such as first and second are only used to distinguish one entity or operation or object from another entity or operation or object, and do not necessarily require or imply these Entities or operations or objects precede any such actual relationship or order. For example, "first" and "second" for a first media type and a second media type are used to distinguish two different media types, such as the tip and tail of a writing pen. For those of ordinary skill in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific situations. Also, in the description of the present disclosure, unless stated otherwise, "plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
为了便于理解,实施例中以交互平板为实际载体,示例性描述触摸数据处理方法实施时触控操作的检测、触控操作的判断和触控操作的响应显示的详细过程。对于交互平板可以是通过触控技术对显示在显示平板上的内容进行操控和实现人机交互操作的一体化设备,其集成了投影机、电子白板、幕布、音响、电视机以及视频会议终端等一种或多种功能。For ease of understanding, the embodiment takes the interactive tablet as the actual carrier, and exemplarily describes the detailed process of detecting the touch operation, judging the touch operation, and displaying the response of the touch operation when the touch data processing method is implemented. For the interactive tablet, it can be an integrated device that controls the content displayed on the display panel and realizes human-computer interaction through touch technology. one or more functions.
图1给出了本公开提供的一种交互平板的结构示意图,如图1所示,交互平板100包括至少一块显示屏500,另外,交互平板100还包括处理设备200、红外触摸框300和弹性波检测装置400,其中,红外触摸框300设置于交互平板100的四周以形成交互平板100的触控检测区域,交互平板100的四周是指交互平板100的四边。触控检测区域是用于检测发生在交互平板100上的触控操作的区域,是一个物理意义上的区域。如果交互平板100的边框比较窄,显示屏500靠近交互平板100的边框处,则红外触摸框300可看做是设置在显示屏500的四周,具体应用中,可以根据实际需要检测的区域来设置红外触摸框300的位置,可以是只设置在显示屏500的周围,也可以是设置在整个交互平板100的周围。红外触摸框300可检测到触摸物在触控检测区域上的任何位置进行触控操作所产生的红外触摸数据,红外触摸框300和弹性波检测装置400通过串口连接方式与处理设备200连接,图1中,当处理设备200只有一个串口需要同时连接红外触摸框300和弹性波检测装置400时,设置端口收发设备(HUB)进行连接端口的扩展,实现与红外触摸框300和弹性波检测装置400的通信连接。红外触摸框300与弹性波检测装置400也可以通过串口连接,直接进行数据交互。FIG. 1 is a schematic structural diagram of an interactive tablet provided by the present disclosure. As shown in FIG. 1 , the interactive tablet 100 includes at least one display screen 500 . In addition, the interactive tablet 100 further includes a processing device 200 , an infrared touch frame 300 and an elastic In the wave detection device 400 , the infrared touch frame 300 is disposed around the interactive tablet 100 to form a touch detection area of the interactive tablet 100 . The touch detection area is an area for detecting a touch operation that occurs on the interactive tablet 100 , and is an area in a physical sense. If the frame of the interactive tablet 100 is relatively narrow and the display screen 500 is close to the frame of the interactive tablet 100, the infrared touch frame 300 can be regarded as being arranged around the display screen 500. In specific applications, it can be set according to the actual area to be detected. The position of the infrared touch frame 300 may be set only around the display screen 500 , or may be set around the entire interactive tablet 100 . The infrared touch frame 300 can detect the infrared touch data generated by the touch operation of the touch object at any position on the touch detection area. The infrared touch frame 300 and the elastic wave detection device 400 are connected to the processing device 200 through a serial port connection. In 1, when the processing device 200 has only one serial port and needs to be connected to the infrared touch frame 300 and the elastic wave detection device 400 at the same time, a port transceiver (HUB) is set to expand the connection port, so as to realize the connection with the infrared touch frame 300 and the elastic wave detection device 400. communication connection. The infrared touch frame 300 and the elastic wave detection device 400 can also be connected through a serial port to directly perform data exchange.
用户可以通过手指或书写笔等类似的物体作为触摸物,通过触摸物在交互平板的显示屏上进行点击或移动等方式实现触控操作,相应的,红外触摸框300检测到触摸物在触控检测区域的触控操作,生成相应的红外触摸数据并发送到交互平板,交互平板接收到红外触摸数据后,根据红外触摸数据表征的触控位置进行响应,以实现触控功能。例如,红外触摸数据表征的触控位置处有控件,则交互平板对控件进行响应,或者红外触摸数据表征的触控位置为一段轨迹,则交互平板根据红外触摸数据生成相应的书写轨迹。这里,控件是指应用软件或操作系统的图形界面的元素,例如翻页控件、最小化控件等,通过对控件进行触控,从而交互平板的应用软件或操作系统可以执行预定义的功能,例如点击翻页控件后,交互平板的应用软件相应进行翻页处理。典型的,交互平板安装有至少一种操作系统,其中,操作系统包括但不限定于安卓系统、Linux系统及Windows系统。作为一种实施方式,交互平板可以安装至少一个具有书写功能的应用程序。其中,该应用程序可以为操作系统自带的应用程序,同时,也安装有从第三方设备或者服务器中下载的应用程序。可选的,应用程序除具备基于触控操作的书写功能外,还具有其他编辑功能,如插入表格、插入图片、插图图形、绘制表格、绘制图形等功能。The user can use a finger or a writing pen and other similar objects as a touch object, and the touch object can click or move on the display screen of the interactive tablet to realize a touch operation. Correspondingly, the infrared touch frame 300 detects that the touch object is touching. The touch operation in the detection area generates corresponding infrared touch data and sends it to the interactive tablet. After the interactive tablet receives the infrared touch data, it responds according to the touch position represented by the infrared touch data to realize the touch function. For example, if there is a control at the touch position represented by the infrared touch data, the interactive tablet responds to the control, or the touch position represented by the infrared touch data is a track, and the interactive tablet generates a corresponding writing track according to the infrared touch data. Here, controls refer to elements of the graphical interface of application software or operating systems, such as page-turning controls, minimize controls, etc. By touching the controls, the application software or operating system of the interactive tablet can perform predefined functions, such as After clicking the page turning control, the application software of the interactive tablet will perform page turning processing accordingly. Typically, the interactive tablet is installed with at least one operating system, wherein the operating system includes, but is not limited to, an Android system, a Linux system, and a Windows system. As an embodiment, the interactive tablet can be installed with at least one application program with a writing function. The application program may be an application program that comes with the operating system, and at the same time, an application program downloaded from a third-party device or server is also installed. Optionally, in addition to the writing function based on touch operation, the application program also has other editing functions, such as inserting a table, inserting a picture, illustrating a graph, drawing a table, drawing a graph, and the like.
交互平板的显示屏中显示的图形界面,对应于检测用户操作的触控检测区域在显示屏上的投射区域(即触控检测区域在图形界面的前方)。在触控检测区域进行触控操作时,如通过书写笔或手指接触交互平板的显示屏,显示屏的红外触摸框可以感应到红外光的变化,得到含有触摸位置的坐标的触摸信号以及该触摸信号的触发时间,根据触摸位置的坐标以及触摸信号的触发时间,可以得到反映书写笔或用户手指每次落入书写至抬起停止书写过程中输入的书写轨迹的红外触摸数据,根据红外触摸数据在显示屏的图形界面实时显示用户输入的书写轨迹。当然,书写过程不限于写字,在交互平板的显示屏实现的任何用于显示操作轨迹的录入过程均可视为书写过程。此外根据触摸操作的发生位置的显示元素的不同,触摸操作可以响应为用户的点击、拖拽等操作。这些不同的响应方式在底层的坐标处理方式是相同的,最终从视觉上会导致显示屏中显示的画面的变化。基于触摸和显示等基本功能的硬件实现,可以实现交互平板的各种交互显示设计。The graphic interface displayed on the display screen of the interactive tablet corresponds to the projected area of the touch detection area for detecting user operations on the display screen (ie, the touch detection area is in front of the graphic interface). When a touch operation is performed in the touch detection area, such as touching the display screen of the interactive tablet with a writing pen or a finger, the infrared touch frame of the display screen can sense the change of infrared light, and obtain a touch signal containing the coordinates of the touch position and the touch signal. The trigger time of the signal, according to the coordinates of the touch position and the trigger time of the touch signal, can obtain the infrared touch data that reflects the writing track input from the writing pen or the user's finger each time it falls into the writing process to the lifting stop writing process. According to the infrared touch data The writing track input by the user is displayed in real time on the graphical interface of the display screen. Of course, the writing process is not limited to writing, and any input process implemented on the display screen of the interactive tablet for displaying the operation track can be regarded as a writing process. In addition, according to the different display elements at the location where the touch operation occurs, the touch operation may respond to operations such as clicking, dragging, and the like by the user. The underlying coordinate processing methods of these different response methods are the same, which will eventually lead to the change of the picture displayed on the display screen visually. Based on the hardware implementation of basic functions such as touch and display, various interactive display designs of the interactive tablet can be realized.
以在白板应用使用过程中呈现的图形界面,即白板应用的界面中进行的触控操作为示例进行阐述。如前所述,白板应用指供用户进行书写、展示等操作的应用,可以用于根据用户在白板应用的界面的书写操作(触控操作)生成书写笔迹,也可以用于在白板应用的界面插入和显示多媒体元素,多媒体元素可以包括图形、图像、表格、文档、音频文件和/或视频文件。在白板应用的界面中,用户可以实现与实体黑板类似的写、画、擦除等操作,并进一步有更好的移动、保存、缩放、插入图片、颜色调整、笔画粗细设置等数字化功能。在实际应 用中,白板应用也可以命名为书写应用、电子白板应用、协同白板应用等名称,不管名称如何改变,只要用于实现上述功能的应用,均等同于本公开的白板应用。The graphic interface presented during the use of the whiteboard application, that is, the touch operation performed in the interface of the whiteboard application is used as an example for description. As mentioned above, a whiteboard application refers to an application for users to perform operations such as writing and displaying. It can be used to generate handwriting according to the user's writing operation (touch operation) on the interface of the whiteboard application, and can also be used in the interface of the whiteboard application. Insert and display multimedia elements, which may include graphics, images, tables, documents, audio files, and/or video files. In the interface of the whiteboard application, users can implement operations such as writing, drawing, and erasing similar to the physical blackboard, and further have better digital functions such as moving, saving, zooming, inserting pictures, color adjustment, and stroke thickness setting. In practical application, the whiteboard application can also be named as writing application, electronic whiteboard application, collaborative whiteboard application, etc. No matter how the name is changed, as long as the application used to realize the above functions is equivalent to the whiteboard application of the present disclosure.
作为一种实施方式,本方案提供的弹性波检测装置可以设置在显示屏上,用于检测触摸物在触碰交互平板的显示屏时生成的弹性波信号。例如,弹性波检测装置包括有弹性波采集板和至少一个弹性波传感器,在显示屏边框处或盖板内侧安装压电式弹性波传感器,当触摸物在显示屏上触碰时,会产生具有特征的弹性波信号,该弹性波信号从接触点开始,沿着显示屏向四周传播,或者向显示屏内侧传播。位于显示屏边框处或盖板内侧的压电式弹性波传感器可以将弹性波信号转换为电压信号,并将电压信号发送给弹性波采集板,通过弹性波采集板将电压信号传输至具有温度补偿电路的IC芯片中进行放大处理,并通过模数转换电路转换为数字的弹性波信号。需要说明的是,本方案对弹性波检测装置设置的位置不做具体的限定,只要能够实现检测触摸物触摸交互平板的显示屏产生的弹性波信号即可。As an embodiment, the elastic wave detection device provided in this solution can be arranged on the display screen, and is used to detect the elastic wave signal generated when the touch object touches the display screen of the interactive tablet. For example, the elastic wave detection device includes an elastic wave collection plate and at least one elastic wave sensor, and a piezoelectric elastic wave sensor is installed at the frame of the display screen or inside the cover plate. The characteristic elastic wave signal, the elastic wave signal starts from the contact point and propagates around the display screen, or propagates to the inside of the display screen. The piezoelectric elastic wave sensor located at the frame of the display screen or inside the cover can convert the elastic wave signal into a voltage signal, and send the voltage signal to the elastic wave acquisition board, and transmit the voltage signal to the elastic wave acquisition board with temperature compensation. Amplification is performed in the IC chip of the circuit, and is converted into a digital elastic wave signal through an analog-to-digital conversion circuit. It should be noted that this solution does not specifically limit the location of the elastic wave detection device, as long as the elastic wave signal generated by the touch object touching the display screen of the interactive tablet can be detected.
对于音频以下的机械振动,音频范围的声音,超过音频的超声波,这些都是气体、液体、固体等介质的波动现象,相对于光和电磁波来说,这种波动现象叫做弹性波。对于弹性波信号的检测,通过弹性波传感器完成,弹性波传感器具体安装在可以传递显示屏发生的振动的位置,从而实现对显示屏上触控物体触碰到显示屏的事件,而不一定安装在发生振动的位置。例如可以在显示屏的4个角布置弹性波传感器,当然也可以有其它的布置方式,例如在显示屏的矩形边框每条边的中点设置,数量也可以是其它数量,例如2个、5个,只要弹性波传感器能够检测到触控操作过程中触摸物与显示屏接触时的振动,具体布置的数量可以根据显示屏的尺寸和检测精度进行针对性设置,一般来说,显示屏的尺寸越大,检测精度要求越高,弹性波传感器设置的数量越多。弹性波传感器可以直接安装在显示屏的表面,例如直接安装在显示屏的上表面或者显示屏的下表面,从而接收由显示屏传递的振动,提高触碰检测的精确度。弹性波传感器还可以安装在显示屏的边框内,减少对内部机构的影响,同时减少来自显示屏的共模噪声干扰。当然,弹性波传感器也可以安装在与显示屏相接触的其他部件上,通过其他部件的传递接收发生在显示屏的振动。For the mechanical vibration below the audio frequency, the sound in the audio frequency range, and the ultrasonic wave beyond the audio frequency, these are all wave phenomena of gas, liquid, solid and other media. Compared with light and electromagnetic waves, this wave phenomenon is called elastic wave. For the detection of elastic wave signals, the elastic wave sensor is used to complete the elastic wave sensor. The elastic wave sensor is specifically installed in the position where the vibration of the display screen can be transmitted, so as to realize the event that the touch object on the display screen touches the display screen, without necessarily being installed. where the vibration occurs. For example, elastic wave sensors can be arranged at the four corners of the display screen, of course, other arrangements are also possible, such as setting at the midpoint of each side of the rectangular frame of the display screen, and the number can also be other numbers, such as 2, 5 As long as the elastic wave sensor can detect the vibration of the touch object in contact with the display screen during the touch operation, the number of specific arrangements can be set according to the size and detection accuracy of the display screen. Generally speaking, the size of the display screen The larger the detection accuracy, the higher the number of elastic wave sensor settings. The elastic wave sensor can be directly installed on the surface of the display screen, for example, directly installed on the upper surface of the display screen or the lower surface of the display screen, so as to receive the vibration transmitted by the display screen and improve the accuracy of touch detection. The elastic wave sensor can also be installed within the frame of the display screen, reducing the impact on the internal mechanism and reducing the common mode noise interference from the display screen. Of course, the elastic wave sensor can also be installed on other components in contact with the display screen, and receive vibrations that occur on the display screen through the transmission of other components.
从弹性波产生的源头而言,包括交互平板内各种产生噪声的元件(如马达、喇叭、风扇等)和交互平板外部产生噪声的设备(如室内空调、电视等),这些元件在使用的过程中,会导致交互平板产生非用户控制本意的弹性波。通过元件的类别,可以确认该元件产生噪声的方式,例如,喇叭所产生的噪声主要来自于其发出声音时所导致的交互平板整体介质中产生弹性波,对于弹性波传感器而言,可以随时检测到各种弹性波信号,但是其中有很多并不是来自于触控操作本身。As far as the source of elastic waves is concerned, it includes various noise-generating components (such as motors, speakers, fans, etc.) During the process, the interactive tablet will generate elastic waves that are not intended by the user to control. Through the category of the component, you can confirm the way that the component generates noise. For example, the noise generated by the speaker mainly comes from the elastic wave generated in the overall medium of the interactive flat panel when it emits sound. For the elastic wave sensor, it can be detected at any time. to various elastic wave signals, but many of them are not from the touch operation itself.
图2给出了本公开提供的一种触摸数据处理方法的流程图,本公开提供的触摸数据处理 方法应用于交互平板,该交互平板可以是两个或多个物理实体构成,也可以是一个物理实体构成。例如交互平板可以是会议平板、教学平板、工业控制计算机等,用于实现对人机交互过程中的内容显示和交互响应。FIG. 2 is a flowchart of a touch data processing method provided by the present disclosure. The touch data processing method provided by the present disclosure is applied to an interactive tablet. The interactive tablet may be composed of two or more physical entities, or one Physical entity composition. For example, the interactive tablet can be a conference tablet, a teaching tablet, an industrial control computer, etc., for realizing content display and interactive response in the process of human-computer interaction.
参考图2,本公开提供的触摸数据处理方法包括:Referring to FIG. 2 , the touch data processing method provided by the present disclosure includes:
S101:红外触摸框检测到红外触摸数据,红外触摸数据由触摸物在交互平板的触控检测区域进行触控操作时产生。S101: The infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in a touch detection area of the interactive tablet.
示例性的,为实现显示屏的触控功能,在显示屏表面的四周设置红外触摸框,当触摸物触碰显示屏时,红外触摸框通过光信号扫描触摸物,以检测触摸物在显示屏进行触控操作时生成的红外触摸数据。具体的,红外触摸框包括红外发射器与红外接收器,红外发射器用于发射红外光,红外接收器用于接收红外光,利用不同方向上密布的红外光线形成光束栅格来定位触摸点。示例性的,显示屏水平方向一侧设置M个红外发射器,垂直方向一侧设置N个红外发射器,对应的,水平方向另一侧设置M个红外接收器,垂直方向另一侧设置N个红外接收器,红外发射器以一定频率发射红外光,对应的红外接收器以一定频率接收红外光。当触摸物触碰显示屏时,触摸物会完全或部分遮挡一个或多个垂直水平的红外光,然后得到一张M*N的红外光强像素图。首先,在红外光强像素图上找到大于第一光强阈值的位置,第一光强阈值表示真实有效的触碰,而非噪声或者物体接近而未完全触碰时半遮挡红外光时测得的光强,真实触碰位置即为触摸物与显示屏接触时的接触位置。进一步的,找到真实触碰位置的临近区域中大于第二光强阈值的位置,第二光强阈值大于噪声值,其可以表示真实触碰区的延伸,将真实触碰位置的临近区域中大于第二光强阈值的位置标记为有效的触摸区域,触摸区域的面积即为触摸物与显示屏接触的接触位置。当触摸物在显示屏上移动时,多帧时间连续的红外光强像素图记录有触摸物在显示屏上的接触位置和接触面积,通过连续帧中记录的接触位置和接触面积可得到触摸物在显示屏上的移动速度。当触摸物离开显示屏时,触摸物对红外光的遮挡变小,如果上一帧红外光强像素图中的接触位置,在当前红外光强像素图中的相对位置以及邻近区域内均没有超过第三光强阈值的像素,则确定此时触摸物与显示屏的关系为脱离触碰,第三光强阈值表示脱离触碰时的最大光强。可理解的,当用户通过触摸物触碰显示屏时,显示屏上安装的红外发射器和红外接收器之间的红外光线传输路径会被触摸物阻挡,红外触摸框将输出对应的红外受阻信号,根据被红外受阻信号可测得触摸物与显示屏的接触面积、触摸物在显示屏上的移动速度和触摸物与显示屏接触时的触控位置,并得到相应的红外触摸数据。其中,红外触摸数据包括触摸状态信息(包括DOWN状态、MOVE状态和UP状态)、触摸位置信息和/或触摸参数信息。需要进行说明的是,红外触摸框在根据采集数据计算触摸位置信息和触摸参数信息的过程中,每个采集数据都会有一个标志位, 可结合标志位得到触摸状态信息。一般的,红外触摸框确定收集到有效的采集数据时,标志位为01,确定未接收到有效的采集数据时,标志位为00,在标志位从原来的00变为01时,可确定触摸状态为DOWN状态;标志位从原来的01变为00,可确定触摸状态为UP状态;标志位保持为01,可确定触摸状态为MOVE状态。最后,基于触摸状态信息、触摸位置信息和触摸参数信息生成红外触摸数据。Exemplarily, in order to realize the touch function of the display screen, an infrared touch frame is arranged around the surface of the display screen. When the touch object touches the display screen, the infrared touch frame scans the touch object through optical signals to detect that the touch object is on the display screen. Infrared touch data generated when a touch operation is performed. Specifically, the infrared touch frame includes an infrared transmitter and an infrared receiver, the infrared transmitter is used for emitting infrared light, and the infrared receiver is used for receiving infrared light, and a beam grid is formed by densely distributed infrared light in different directions to locate the touch point. Exemplarily, M infrared transmitters are arranged on one side of the horizontal direction of the display screen, and N infrared emitters are arranged on one side of the vertical direction. Correspondingly, M infrared receivers are arranged on the other side in the horizontal direction, and N infrared receivers are arranged on the other side in the vertical direction. An infrared receiver, the infrared transmitter emits infrared light at a certain frequency, and the corresponding infrared receiver receives infrared light at a certain frequency. When the touch object touches the display screen, the touch object will completely or partially block one or more vertical and horizontal infrared lights, and then an M*N infrared light intensity pixel map is obtained. First, find a position on the infrared light intensity pixel map that is greater than the first light intensity threshold. The first light intensity threshold represents a real and effective touch, rather than noise or when the object is close to but not completely touched, it is measured when the infrared light is partially blocked. The actual touch position is the touch position when the touch object is in contact with the display screen. Further, find the position in the vicinity of the real touch position that is greater than the second light intensity threshold, and the second light intensity threshold is greater than the noise value, which can represent the extension of the real touch area, and the adjacent area of the real touch position is greater than The position of the second light intensity threshold is marked as an effective touch area, and the area of the touch area is the contact position of the touch object and the display screen. When the touch object moves on the display screen, the continuous infrared light intensity pixel map of multiple frames records the contact position and contact area of the touch object on the display screen, and the touch object can be obtained from the contact position and contact area recorded in consecutive frames Movement speed on the display. When the touch object leaves the display screen, the occlusion of the touch object to infrared light becomes smaller. If the contact position in the previous frame of infrared light intensity pixel map, the relative position in the current infrared light intensity pixel map and the adjacent area do not exceed For pixels with a third light intensity threshold, it is determined that the relationship between the touch object and the display screen at this time is out of touch, and the third light intensity threshold represents the maximum light intensity when out of touch. Understandably, when the user touches the display screen through a touch object, the infrared light transmission path between the infrared transmitter and the infrared receiver installed on the display screen will be blocked by the touch object, and the infrared touch frame will output a corresponding infrared blocked signal. , the contact area between the touch object and the display screen, the moving speed of the touch object on the display screen and the touch position when the touch object is in contact with the display screen can be measured according to the infrared blocked signal, and the corresponding infrared touch data can be obtained. Wherein, the infrared touch data includes touch state information (including DOWN state, MOVE state and UP state), touch position information and/or touch parameter information. It should be noted that, in the process of calculating the touch position information and touch parameter information according to the collected data, each collected data will have a flag bit, which can be combined with the flag bit to obtain the touch state information. Generally, when the infrared touch frame determines that valid collection data has been collected, the flag bit is 01. When it is determined that valid collection data has not been received, the flag bit is 00. When the flag bit changes from the original 00 to 01, it can be determined that the touch The state is DOWN state; the flag bit changes from the original 01 to 00, the touch state can be determined to be the UP state; the flag bit remains 01, the touch state can be determined to be the MOVE state. Finally, infrared touch data is generated based on the touch state information, the touch position information and the touch parameter information.
图3给出了一种红外触摸框的检测原理示意图,需要进行解释的是,对于通过红外触控传感器来实现交互平板的触控功能,在本行业中一直存在长期的技术难题,即零书写高度技术问题。所谓零书写高度是指:触摸物(例如手或书写笔)在显示屏上书写时,触摸物触碰到显示屏的表面时,才产生书写轨迹,触摸物在书写产生笔迹时与显示屏表面的间距为零。为了更好的理解零书写高度,结合图3作进一步的说明,红外触摸框300发射或接收光信号是存在一定高度范围的,从而在相对于显示屏500的垂直方向上形成触控检测区域,其高度为H,在触摸物落入、抬起的过程中,会存在触摸物位于该触控检测区域内、但并未接触到显示屏500表面的情况,此时依然会检测到红外触摸数据。Figure 3 shows a schematic diagram of the detection principle of an infrared touch frame. It needs to be explained that there has always been a long-term technical problem in the industry to realize the touch function of the interactive tablet through the infrared touch sensor, that is, zero writing Highly technical issue. The so-called zero writing height means that when a touch object (such as a hand or a writing pen) writes on the display screen, the writing track is generated when the touch object touches the surface of the display screen, and the touch object is in contact with the surface of the display screen when the writing produces handwriting. The spacing is zero. In order to better understand the zero writing height, with reference to FIG. 3 for further explanation, the infrared touch frame 300 transmits or receives light signals in a certain height range, thereby forming a touch detection area in the vertical direction relative to the display screen 500 , Its height is H. During the process of falling and lifting the touch object, there may be a situation where the touch object is located in the touch detection area, but does not touch the surface of the display screen 500, and the infrared touch data will still be detected at this time. .
在一次触控操作中,触摸物会经历图3中的状态131-137,其中从状态131、状态132至状态133描述触摸物从开始进行触控操作到开始接触到显示屏500的过程,在状态131到状态132之间触摸物刚进入触控检测区域时,红外触摸框检测到首帧触摸数据,并且此时触摸物的触摸状态为触摸落入状态,在状态131中,触摸物处于触控检测区域之上,并不会产生红外触摸数据,在状态132中,触摸物处于触控检测区域中,但并未触碰到显示屏500表面,会产生红外触摸数据(在这过程中产生的第一帧红外触摸数据为首帧触摸数据),在状态133中,触摸物处于触控检测区域中,已触碰到显示屏500,会产生红外触摸数据。In a touch operation, the touch object will go through states 131-137 in FIG. 3 , in which the state 131 , state 132 to state 133 describe the process of the touch object from starting the touch operation to starting to contact the display screen 500 . From state 131 to state 132, when the touch object just enters the touch detection area, the infrared touch frame detects the first frame of touch data, and the touch state of the touch object at this time is the touch drop state. In state 131, the touch object is in touch. Above the control detection area, no infrared touch data will be generated. In state 132, if the touch object is in the touch detection area, but does not touch the surface of the display screen 500, infrared touch data will be generated (generated during this process). The first frame of infrared touch data is the first frame of touch data). In state 133, the touch object is in the touch detection area and has touched the display screen 500, and infrared touch data will be generated.
从状态133、状态134至状态135描述触摸物接触到显示屏500并在显示屏500上移动的过程,在这过程中,触摸物的触摸状态始终为触摸移动状态,在触摸移动状态中,触摸物持续触碰到显示屏500,同时产生红外触摸数据。From state 133, state 134 to state 135, describe the process that the touch object touches the display screen 500 and moves on the display screen 500. During this process, the touch state of the touch object is always the touch movement state. In the touch movement state, the touch The object continues to touch the display screen 500, and at the same time, infrared touch data is generated.
从状态135、状态136至状态137描述触摸物从显示屏500上抬起至离开触控检测区域的过程,在状态136到状态137之间触摸物刚离开触控检测区域时,红外触摸框检测到末帧触摸数据,并且此时触摸物的触摸状态为触摸抬起状态,在状态136中,触摸物处于触控检测区域中,并未触碰到显示屏500,会产生红外触摸数据,在状态137中,触摸物处于触控检测区域之上,并不会产生红外触摸数据。可以理解的是,在一次触控操作中,状态132至状态136过程中产生的红外触摸数据为连续的红外触摸数据。在首帧触摸数据和末帧触摸数据之间的红外触摸数据为中间触摸数据。From state 135, state 136 to state 137, describe the process of the touch object being lifted from the display screen 500 to leaving the touch detection area. From state 136 to state 137, when the touch object just leaves the touch detection area, the infrared touch frame detects To the last frame of touch data, and the touch state of the touch object is the touch up state at this time, in state 136, the touch object is in the touch detection area and does not touch the display screen 500, and infrared touch data will be generated. In state 137, the touch object is above the touch detection area, and no infrared touch data is generated. It can be understood that, in one touch operation, the infrared touch data generated during the process from state 132 to state 136 is continuous infrared touch data. The infrared touch data between the first frame of touch data and the last frame of touch data is intermediate touch data.
触摸物在交互平板的触控检测区域进行触控操作时,红外触摸框将会产生红外传感信号, 从而根据红外传感信号进行计算,对应生成红外触摸数据后,将红外触摸数据发送至处理设备。这里,红外触摸框生成的红外触摸数据是一个持续的数据,具体表现为包括多个帧的数据。When the touch object performs a touch operation in the touch detection area of the interactive tablet, the infrared touch frame will generate an infrared sensing signal, so that the calculation is performed according to the infrared sensing signal, and after correspondingly generating infrared touch data, the infrared touch data is sent to the processing equipment. Here, the infrared touch data generated by the infrared touch frame is continuous data, which is embodied as data including multiple frames.
作为一种实施方式,本公开提供的红外触摸数据包括触摸状态信息、触摸位置信息和触摸参数信息。可以理解的是,触摸状态信息用于表示对应触摸物在当前触控操作中的触摸状态,触摸状态包括触摸落入状态(DOWN)、触摸移动状态(MOVE)和触摸抬起状态(UP),触摸位置信息用于反映触摸物在显示屏上的触摸位置,其可通过在显示屏上的XY坐标点进行表示,触摸参数信息至少反映触摸物在接触显示屏时的触摸点的触摸面积,其可通过触摸面积对应的宽度和高度进行表示,也可以通过触摸面积对应的半径或直径来表示。红外触摸数据的数据格式可根据红外触摸框与处理设备和/或弹性波检测装置的通信方式进行确定,例如通过USB通信方式进行通信,用触摸面积对应的宽度和高度表示触摸参数信息的红外触摸数据的数据格式如表1所示:As an embodiment, the infrared touch data provided by the present disclosure includes touch state information, touch position information, and touch parameter information. It can be understood that the touch state information is used to represent the touch state of the corresponding touch object in the current touch operation, and the touch state includes a touch down state (DOWN), a touch move state (MOVE), and a touch up state (UP). The touch position information is used to reflect the touch position of the touch object on the display screen, which can be represented by the XY coordinate points on the display screen, and the touch parameter information at least reflects the touch area of the touch point when the touch object touches the display screen, which is It can be represented by the width and height corresponding to the touch area, or by the radius or diameter corresponding to the touch area. The data format of the infrared touch data can be determined according to the communication method between the infrared touch frame and the processing device and/or the elastic wave detection device. The data format of the data is shown in Table 1:
表1Table 1
字节号 byte number 作用effect
00 报文IDmessage ID
11 点IDpoint ID
22 点状态point status
33 点的X坐标低字节数据Point's X coordinate low byte data
44 点的X坐标高字节数据Point's X coordinate high byte data
55 点的Y坐标低字节数据Point's Y coordinate low byte data
66 点的Y坐标高字节数据Point's Y coordinate high byte data
77 触摸面积W低字节数据Touch area W low byte data
88 触摸面积W高字节数据Touch area W high byte data
99 触摸面积H低字节数据Touch area H low byte data
1010 触摸面积H高字节数据Touch area H high byte data
...... ......
上表中,点状态表示红外触摸数据中的触摸状态。另外,在一次触控操作中产生的红外触摸数据包括首帧触摸数据、中间触摸数据和末帧触摸数据,首帧触摸数据中的触摸状态信息指示触摸物的触摸状态为触摸落入状态,中间触摸数据中的触摸状态信息指示触摸物的触摸状态为触摸移动状态,末帧触摸数据中的触摸状态信息指示触摸物的触摸状态为触摸抬起 状态。In the above table, the point state represents the touch state in the infrared touch data. In addition, the infrared touch data generated in one touch operation includes the first frame of touch data, the middle touch data and the last frame of touch data. The touch state information in the first frame of touch data indicates that the touch state of the touch object is the touch falling state, and the middle touch data The touch state information in the touch data indicates that the touch state of the touch object is a touch moving state, and the touch state information in the touch data of the last frame indicates that the touch state of the touch object is a touch lift state.
S102:处理设备接收红外触摸框发送的红外触摸数据。S102: The processing device receives the infrared touch data sent by the infrared touch frame.
在本发明实施例中,为了进一步解决零书写高度的问题,当处理设备接收红外触摸框发送的红外触摸数据时,需要判断对何时接收到的红外触摸数据作出响应。所谓响应,在本发明实施例中,是指处理设备是否把红外触摸数据作为有效的数据进行处理。在本发明实施例中,为了解决零书写高度的问题,处理设备将持续接收到的红外触摸数据作为有效数据进行处理需要前置一个条件,即:处理设备确认触发红外触摸数据的触摸物,与交互平板的显示屏有接触。处理设备如何确认触发红外触摸数据的触摸物与交互平板的显示屏有接触,也是本实施例需要解决的技术问题。In this embodiment of the present invention, in order to further solve the problem of zero writing height, when the processing device receives the infrared touch data sent by the infrared touch frame, it needs to determine when to respond to the received infrared touch data. The so-called response, in this embodiment of the present invention, refers to whether the processing device processes the infrared touch data as valid data. In the embodiment of the present invention, in order to solve the problem of zero writing height, the processing device needs to process the continuously received infrared touch data as valid data, and a precondition is required, that is: the processing device confirms the touch object that triggers the infrared touch data, and The display screen of the interactive tablet is in contact. How the processing device confirms that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet is also a technical problem to be solved in this embodiment.
具体的,在本发明实施例中,在交互平板中设置一个弹性波检测装置,通过弹性波检测装置检测交互平板的显示屏上产生的振动信号(即弹性波信号),并设置弹性波检测装置与交互平板的处理设备的通信硬件及通信协议,使得弹性波检测装置能够将确认触发红外触摸数据的触摸物与交互平板的显示屏有接触的信息发送给处理设备,帮助处理设备获得该判断能力。Specifically, in the embodiment of the present invention, an elastic wave detection device is set in the interactive tablet, the vibration signal (ie elastic wave signal) generated on the display screen of the interactive tablet is detected by the elastic wave detection device, and the elastic wave detection device is installed The communication hardware and communication protocol with the processing device of the interactive tablet enable the elastic wave detection device to send the information confirming that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet to the processing device, helping the processing device to obtain the judgment ability .
作为一种实施方式,当处理设备接收红外触摸框发送的红外触摸数据,却没有接收到弹性波检测装置发送的确认触发红外触摸数据的触摸物与交互平板的显示屏有接触的信息时,处理设备可对接收到的红外触摸数据不进行响应。As an embodiment, when the processing device receives the infrared touch data sent by the infrared touch frame, but does not receive the information sent by the elastic wave detection device confirming that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet, the processing The device may not respond to received infrared touch data.
具体的,在一次触控操作中,当触摸物正在接近但未接触到显示屏,在这过程中,对应位置的红外发射器和红外接收器检测到触摸物对红外线的阻挡,红外触摸框开始检测到红外触摸数据,但弹性波检测装置未检测到弹性波信号。由于此时触摸物并未接触到显示屏,这个过程中产生的红外触摸数据不需要进行处理,可将红外触摸数据进行丢弃,也不需要在显示屏上显示对应书写轨迹。Specifically, in a touch operation, when the touch object is approaching but not touching the display screen, during this process, the infrared transmitter and infrared receiver at the corresponding position detect the blocking of infrared rays by the touch object, and the infrared touch frame starts Infrared touch data is detected, but no elastic wave signal is detected by the elastic wave detection device. Since the touch object does not touch the display screen at this time, the infrared touch data generated in this process does not need to be processed, the infrared touch data can be discarded, and the corresponding writing track does not need to be displayed on the display screen.
S103:弹性波检测装置接收到红外触摸数据,其中,红外触摸数据由红外触摸框或处理设备发送至弹性波检测装置。S103: The elastic wave detection apparatus receives infrared touch data, wherein the infrared touch data is sent to the elastic wave detection apparatus by the infrared touch frame or the processing device.
在本发明实施例中,为了使得交互平板对用户的触控操作的响应实现多样化,可以设计基于触摸物的不同介质类型,实现与该介质类型相对应的响应或实现方式。为了达到该目标,首先,交互平板的处理器要精准的识别触摸物的介质类型,精准的识别触摸物的介质类型也是行业中长期存在的一个技术难题,产生了各种算法来解决这个问题,但是,精准的识别触摸物的介质类型的算法对触摸物所处于的环境及应用场景有非常大的关系。在本发明实施例中,结合交互平板的特殊使用场景,结合交互平板具有的红外触摸数据识别能力,创造性的提出了一种更精准的识别触摸物的介质类型的方法,即:引入红外触摸数据。与现有技术不 同的是,首先,本发明实施例通过弹性波检测装置来实现触摸物介质的识别;其次,本发明实施例使得弹性波检测装置能够获得红外触摸数据。从而弹性波检测装置可以结合获得的红外触摸数据来识别触摸物的介质类型,提高识别精度。In this embodiment of the present invention, in order to diversify the response of the interactive tablet to the user's touch operation, different media types based on the touch objects can be designed to implement responses or implementations corresponding to the media types. In order to achieve this goal, first of all, the processor of the interactive tablet must accurately identify the media type of the touch object. Accurately identifying the media type of the touch object is also a long-standing technical problem in the industry, and various algorithms have been generated to solve this problem. However, the algorithm for accurately identifying the medium type of the touch object has a great relationship with the environment and application scenario where the touch object is located. In the embodiment of the present invention, combined with the special use scene of the interactive tablet and the infrared touch data recognition capability of the interactive tablet, a more accurate method for identifying the medium type of the touch object is creatively proposed, that is, introducing infrared touch data . Different from the prior art, firstly, the embodiment of the present invention realizes the identification of the touch object medium through the elastic wave detection device; secondly, the embodiment of the present invention enables the elastic wave detection device to obtain infrared touch data. Therefore, the elastic wave detection device can identify the medium type of the touched object in combination with the obtained infrared touch data, thereby improving the identification accuracy.
具体的,本发明实施例通过设计红外触摸框与弹性波检测装置新的通信硬件电路及通信协议,使得红外触摸框在检测到红外触摸数据时,能够向弹性波检测装置发送红外触摸数据,从而后续步骤中,弹性波检测装置可以结合红外触摸数据中的触摸位置信息和/或触摸参数信息来识别触摸物的介质类型。Specifically, the embodiment of the present invention designs a new communication hardware circuit and communication protocol between the infrared touch frame and the elastic wave detection device, so that when the infrared touch frame detects infrared touch data, it can send infrared touch data to the elastic wave detection device, thereby In a subsequent step, the elastic wave detection device may identify the medium type of the touched object by combining the touch position information and/or touch parameter information in the infrared touch data.
可选的,还可以是由处理设备向弹性波检测装置发送红外触摸数据。Optionally, the processing device may also send infrared touch data to the elastic wave detection device.
具体的,在红外触摸框与弹性波检测装置通信连接时,由红外触摸框直接向弹性波检测装置发送,即红外触摸框在接收到连续的红外触摸数据时,直接将红外触摸数发送至弹性波检测装置,同时向处理设备发送连续的红外触摸数据。在红外触摸框未与弹性波检测装置通信连接时,红外触摸框在检测到连续的红外触摸数据时,向处理设备发送连续的红外触摸数据,由处理设备向弹性波检测装置发送红外触摸数据。Specifically, when the infrared touch frame is communicatively connected to the elastic wave detection device, the infrared touch frame directly sends the data to the elastic wave detection device, that is, when the infrared touch frame receives continuous infrared touch data, it directly sends the number of infrared touches to the elastic wave detection device. Wave detection device, while sending continuous infrared touch data to the processing device. When the infrared touch frame is not in communication connection with the elastic wave detection device, when the infrared touch frame detects continuous infrared touch data, it sends continuous infrared touch data to the processing device, and the processing device sends the infrared touch data to the elastic wave detection device.
在一个可能的实施例中,本公开提供的弹性波检测装置接收到红外触摸数据,其中,红外触摸数据由红外触摸框或处理设备发送至弹性波检测装置;具体为:In a possible embodiment, the elastic wave detection apparatus provided by the present disclosure receives infrared touch data, wherein the infrared touch data is sent to the elastic wave detection apparatus by an infrared touch frame or a processing device; specifically:
弹性波检测装置接收到红外触摸数据的首帧触摸数据,其中,红外触摸数据的首帧触摸数据由红外触摸框或处理设备发送至弹性波检测装置;首帧触摸数据中的触摸状态信息指示触摸物的触摸状态为触摸落入状态。首帧触摸数据反映了触摸物在一开始进入触控检测区域时的有效触控的触控位置。The elastic wave detection device receives the first frame of touch data of the infrared touch data, wherein the first frame of touch data of the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device; the touch state information in the first frame of touch data indicates the touch The touch state of the object is the touch drop state. The first frame of touch data reflects the touch position of the effective touch when the touch object initially enters the touch detection area.
在其他实施例中,弹性波检测装置接收到的红外触摸数据还可以是:触摸状态信息指示触摸物的触摸状态为触摸移动状态的第一帧或第二帧触摸数据。可以理解的是,触摸移动状态的第一帧或第二帧触摸数据为位置与触摸物一开始进入触控检测区域时的触控位置时的位置较为接近,通过触摸移动状态的第一帧或第二帧触摸数据同样可准确地进行触摸物介质类型的确定与修正。In other embodiments, the infrared touch data received by the elastic wave detection device may also be the first frame or the second frame of touch data in which the touch state information indicates that the touch state of the touch object is the touch movement state. It can be understood that the touch data of the first frame or the second frame of the touch moving state is closer to the touch position when the touch object first enters the touch detection area. The second frame of touch data can also accurately determine and correct the medium type of the touch object.
S104:弹性波检测装置检测到弹性波信号;弹性波信号由触摸物接触交互平板的显示屏时生成。S104: The elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet.
当触摸物接触交互平板的显示屏时,会产生具有特征的弹性波信号,该弹性波信号从触摸物与显示屏的接触点开始,沿着显示屏向四周传播,或者向显示屏内侧传播,因此弹性波检测装置将会检测到弹性波信号。弹性波检测装置在检测到弹性波信号后,对弹性波信号进行缓存。When the touch object touches the display screen of the interactive tablet, a characteristic elastic wave signal will be generated. The elastic wave signal starts from the contact point between the touch object and the display screen and propagates around the display screen, or propagates to the inside of the display screen. Therefore, the elastic wave detection device will detect the elastic wave signal. After detecting the elastic wave signal, the elastic wave detection device buffers the elastic wave signal.
S105:弹性波检测装置根据红外触摸数据的触摸位置信息和/或触摸参数信息,以及弹性 波信号,确定触摸物对应的介质类型。S105: The elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal.
如前所述,为了使得交互平板对用户的触摸操作的响应实现多样化,本公开实施例中,交互平板对用户的触控操作的响应与用户所使用的触摸物的介质类型相关联,因此,需要精准的识别触摸物的介质类型。而如何基于弹性波信号精确地识别触摸物的介质类型是行业中长期存在的一个技术难题,在过去的技术发展过程中,一致致力于通过各种各样的识别算法来提高对触摸物的介质类型的识别精度。但是,在交互平板的应用场景中,可能会存在各种干扰源,导致弹性波检测装置所检测到的弹性波信号存在较大的噪声信号。仅通过对识别算法进行改进,虽然能在一定程度上提高识别精度,但是这种方式仍然是直接利用弹性波信号识别触摸物的介质类型,当噪声信号对弹性波信号造成较大影响时,高精度的识别算法也可能出现识别得到的介质类型出错的情况,影响交互平板的响应效果。例如,交互平板在播放音视频的过程中,具体通过扬声器将音频信号转换成声信号,具体是扬声器通过电磁、压电或静电效应,使其纸盆或膜片振动并与周围的空气产生共振(共鸣)而发出声音,也就是说,扬声器发声的过程中,也会产生振动信号,弹性波检测装置也会采集到该振动信号。因此当交互平板在播放音视频时,若用户使用触摸物在交互平板的显示屏上进行触控操作,弹性波检测装置所检测到的弹性波信号将是触摸物的触控操作的实际弹性波信号以及音频播放导致的振动信号的叠加信号。此时,弹性波检测装置所检测到的弹性波信号存在较大的噪声信号,现有方案仅基于弹性波信号基于来识别触摸物的介质类型,导致再高精度的识别算法也难以精确识别得到触摸物的介质类型。因此,本发明结合交互平板的具体使用场景,提出了一种更高精度的识别触摸物的介质类型的方法,增加红外触摸数据作为识别触摸物的介质类型的参数,通过将交互平板的红外触摸框所产生的红外触摸数据以直接或间接的方式发送到弹性波检测装置,弹性波检测装置结合红外触摸数据来识别触摸物的介质类型,可以降低噪声信号对识别结果的影响,提高对触摸物的介质类型的识别精度。As mentioned above, in order to diversify the response of the interactive tablet to the user's touch operation, in this embodiment of the present disclosure, the response of the interactive tablet to the user's touch operation is associated with the medium type of the touch object used by the user, so , it is necessary to accurately identify the medium type of the touch object. How to accurately identify the medium type of the touching object based on the elastic wave signal is a long-standing technical problem in the industry. Type recognition accuracy. However, in the application scenario of the interactive tablet, various interference sources may exist, resulting in a relatively large noise signal in the elastic wave signal detected by the elastic wave detection device. Only by improving the recognition algorithm, although the recognition accuracy can be improved to a certain extent, this method still directly uses the elastic wave signal to identify the medium type of the touched object. When the noise signal has a great influence on the elastic wave signal, the high The accurate identification algorithm may also cause errors in the identified medium type, which affects the response effect of the interactive panel. For example, in the process of playing audio and video, the interactive tablet specifically converts the audio signal into an acoustic signal through the speaker. Specifically, the speaker makes its paper cone or diaphragm vibrate and resonate with the surrounding air through electromagnetic, piezoelectric or electrostatic effects. (resonance) to produce sound, that is to say, in the process of sounding by the speaker, a vibration signal will also be generated, and the elastic wave detection device will also collect the vibration signal. Therefore, when the interactive tablet is playing audio and video, if the user uses a touch object to perform a touch operation on the display screen of the interactive tablet, the elastic wave signal detected by the elastic wave detection device will be the actual elastic wave of the touch operation of the touch object. A superimposed signal of the signal and the vibration signal caused by the audio playback. At this time, the elastic wave signal detected by the elastic wave detection device has a relatively large noise signal, and the existing solution only recognizes the medium type of the touched object based on the elastic wave signal, which makes it difficult to accurately recognize even the high-precision recognition algorithm. The media type of the touch object. Therefore, the present invention proposes a method for identifying the medium type of the touch object with higher accuracy in combination with the specific usage scenario of the interactive tablet, adding infrared touch data as a parameter for identifying the medium type of the touching object, and by adding the infrared touch data of the interactive tablet The infrared touch data generated by the frame is sent to the elastic wave detection device in a direct or indirect way. The elastic wave detection device combines the infrared touch data to identify the medium type of the touched object, which can reduce the influence of noise signals on the recognition result and improve the impact of the touch object. The recognition accuracy of the media type.
具体的,弹性波检测装置并不是结合红外触摸框所产生的所有红外触摸数据来识别获得触摸物的介质类型,弹性波检测装置接收到红外触摸数据的首帧触摸数据后,根据首帧触摸数据和弹性波信号,确定触摸物对应的介质类型,并将该触摸物的介质类型信息发送至处理设备;其中,红外触摸数据的首帧触摸数据由红外触摸框或处理设备发送至弹性波检测装置。当触摸物在交互平板的触控检测区域进行触控操作时,首先红外触摸框检测到红外线被遮挡,然后进行相应的转换计算,根据被遮挡情况计算出具体的触摸位置信息、触摸面积等触摸参数信息。在这个过程中,弹性波检测装置检测到弹性波信号,但是可能还未接收到红外触摸框发送的红外触摸数据,因此,需要等待接收到红外触摸数据后,再结合红外触摸数据和弹性波信号确定触摸物的介质类型。Specifically, the elastic wave detection device does not combine all infrared touch data generated by the infrared touch frame to identify the medium type of the object to be touched. After the elastic wave detection device receives the first frame of touch data of the infrared touch data, and elastic wave signals, determine the media type corresponding to the touch object, and send the media type information of the touch object to the processing device; wherein, the first frame of touch data of the infrared touch data is sent by the infrared touch frame or the processing device to the elastic wave detection device . When the touch object performs a touch operation in the touch detection area of the interactive tablet, the infrared touch frame first detects that the infrared rays are blocked, and then performs the corresponding conversion calculation, and calculates the specific touch position information, touch area and other touches according to the blocked situation. Parameter information. In this process, the elastic wave detection device detects the elastic wave signal, but may not receive the infrared touch data sent by the infrared touch frame. Therefore, it needs to wait for the infrared touch data to be received, and then combine the infrared touch data and the elastic wave signal. Determine the media type of the touch object.
本公开中,步骤S101、S102、S103、S104之间并没有确定的先后顺序。这里,仅为了描述方便进行步骤编号,在实际执行过程中,S101和S102可以是有先后的,也可以是同步的。执行S104的过程中,实际上由于触摸物还在操作,S101也是同步执行的。而且,在步骤S105的执行过程中,S101和S102也可以是在同步执行的。In the present disclosure, steps S101, S102, S103, and S104 are not in a definite sequence. Here, steps are numbered only for convenience of description. In the actual execution process, S101 and S102 may be sequential or synchronous. In the process of executing S104, in fact, since the touch object is still operating, S101 is also executed synchronously. Moreover, during the execution of step S105, S101 and S102 may also be executed synchronously.
弹性波检测装置在接收到红外触摸数据后,根据红外触摸数据的触摸位置信息和/或触摸参数信息,以及弹性波信号,确定触摸物对应的介质类型。在一个实施例中,本公开根据红外触摸数据中的首帧触摸数据的触摸位置信息和/或触摸参数信息,以及弹性波信号,确定触摸物对应的介质类型。可以理解的是,首帧触摸数据反应了触摸物进行触控操作的起始触控位置,根据首帧触摸数据结合弹性波信号,排除非触控位置对弹性波信号的干扰,可以更准确地确定触摸物对应的介质类型。After receiving the infrared touch data, the elastic wave detection device determines the medium type corresponding to the touched object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal. In one embodiment, the present disclosure determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the first frame of touch data in the infrared touch data, and the elastic wave signal. It can be understood that the first frame of touch data reflects the initial touch position of the touch object for the touch operation. According to the first frame of touch data combined with the elastic wave signal, the interference of the non-touch position on the elastic wave signal can be eliminated, which can be more accurate. Determine the media type corresponding to the touch object.
示例性的,触摸位置信息用于表征触控操作对应的触摸点的位置信息,可以通过X、Y坐标值表示,触摸参数信息包括用于表征触控操作对应的触摸点的面积的信息,可以通过接触面积或接触点的宽度值、高度值表示。弹性波检测装置识别触摸物对应的介质类型时具体为:在获取首帧触摸数据后,首先结合弹性波信号的时域、频域的信息,这些信息包括时域上超过设定信噪比阈值的时间点,得到小波段时频分析中特征频点处的能量绝对值与相对值,并据此来判断弹性波信号的起振点。判断起振点的方法可以是通过阈值方法(判断信噪比或信号量是否超过预设阈值),也可以是通过过零率(判断信号是否为非随机振动信号)进行。Exemplarily, the touch position information is used to represent the position information of the touch point corresponding to the touch operation, which can be represented by X and Y coordinate values, and the touch parameter information includes information used to represent the area of the touch point corresponding to the touch operation, which can be It is represented by the width value and height value of the contact area or contact point. When the elastic wave detection device identifies the medium type corresponding to the touch object, it is specifically: after acquiring the first frame of touch data, firstly combine the information in the time domain and frequency domain of the elastic wave signal, including the information that exceeds the set signal-to-noise ratio threshold in the time domain The absolute value and relative value of the energy at the characteristic frequency point in the small-band time-frequency analysis can be obtained, and the starting point of the elastic wave signal can be judged accordingly. The method of judging the starting point may be a threshold method (determining whether the signal-to-noise ratio or signal quantity exceeds a preset threshold), or a zero-crossing rate (determining whether the signal is a non-random vibration signal).
其中,当弹性波检测装置采用多个弹性波传感器进行弹性波信号检测时,弹性波检测装置可以根据首帧触摸数据的触摸位置信息和/或触摸参数信息等,来判断或者计算获得有效的弹性波信号(用于进行介质识别的信号),从而再判断该有效的弹性波信号的起振点。具体的,可以是根据红外触摸数据中的触摸位置信息,确定距离触摸点最近的弹性波传感器,由于其产生的信号强度最高,其产生信号的信噪比最大,将该弹性波传感器产生的弹性波信号作为有效的弹性波信号。另外,也可根据红外触摸数据的触摸位置信息,对于各弹性波传感器的弹性波信号进行加权处理,将加权处理得到的结果作为有效的弹性波信号,各弹性波传感器对应的权重可以是一个预设的数值,也可以是一个与触摸位置的距离负相关的函数,如权重为距离的倒数或倒数的平方等。Wherein, when the elastic wave detection device uses multiple elastic wave sensors to detect the elastic wave signal, the elastic wave detection device can determine or calculate the effective elasticity according to the touch position information and/or touch parameter information of the first frame of touch data, etc. wave signal (signal used for medium identification), so as to determine the starting point of the effective elastic wave signal. Specifically, the elastic wave sensor that is closest to the touch point can be determined according to the touch position information in the infrared touch data. Since the signal intensity it generates is the highest and the signal-to-noise ratio of the signal it generates is the largest, the elastic wave sensor generated by the elastic wave sensor has the highest signal-to-noise ratio. wave signal as an effective elastic wave signal. In addition, weighting processing can also be performed on the elastic wave signals of each elastic wave sensor according to the touch position information of the infrared touch data, and the result obtained by the weighting processing can be regarded as an effective elastic wave signal, and the corresponding weight of each elastic wave sensor can be a predetermined value. The set value can also be a function that is negatively related to the distance of the touch position, for example, the weight is the reciprocal of the distance or the square of the reciprocal, etc.
在确定起振点后,分析得到起振前的信号,并将起振前的信号作为噪声估计值,并据此识别起振点后的信号,将起振点后的信号作为弹性波材质识别的识别信号。作为一种实施方式,对识别信号进行信号处理,信号处理包括时频转化、加窗平滑、多通道融合、降噪等算法,得出融合后的弹性波频域信号,并且将该弹性波频域信号置入设定算法(包括统计学习、机器学习、深度学习等模型算法,或者特征值比对算法),得出材质的ID,以及其置信区间, 并将该材质ID与置信区间上报给处理设备。可选的,可根据置信区间与预设的设定置信阈值的比较情况确定是否需要对确定的介质类型进行修正,例如材质类型的ID为01,置信区间为85%,设定置信阈值为80%,则表示材质01是触摸物对应的介质类型。相反如果置信区间是75%,则需进对介质类型行修正,具体可以参照本公开后续描述的多种方式进行修正。After the starting point is determined, the signal before the starting point is analyzed and obtained, and the signal before the starting point is used as the noise estimation value, and the signal after the starting point is identified accordingly, and the signal after the starting point is identified as the elastic wave material. identification signal. As an embodiment, signal processing is performed on the identification signal. The signal processing includes algorithms such as time-frequency conversion, windowing and smoothing, multi-channel fusion, noise reduction, etc., to obtain a fused elastic wave frequency domain signal, and the elastic wave frequency The domain signal is placed in the setting algorithm (including statistical learning, machine learning, deep learning and other model algorithms, or eigenvalue comparison algorithms) to obtain the ID of the material and its confidence interval, and report the material ID and confidence interval to the Handling equipment. Optionally, it can be determined whether the determined media type needs to be corrected according to the comparison between the confidence interval and the preset confidence threshold. For example, the ID of the material type is 01, the confidence interval is 85%, and the confidence threshold is set to 80. %, it means that the material 01 is the medium type corresponding to the touch object. On the contrary, if the confidence interval is 75%, the medium type needs to be corrected, and the correction can be performed by referring to various methods described later in the present disclosure.
作为备选的实施例,弹性波检测装置在接收到触摸状态信息指示触摸物的触摸状态为触摸移动状态(即触摸状态信息为MOVE)的第一帧或第二帧触摸数据后,也采用同样的步骤进行触摸物的材质识别。采用触摸状态为触摸移动状态的第一帧触摸数据或第二帧触摸数据,相比采用红外触摸数据的首帧触摸数据来说,虽然会增加一帧数据或两帧数据的时延,但是相比原有的仅根据弹性波信号来确定触摸物的介质类型的方案,同样也能排除非触控位置对弹性波信号的干扰,可以更准确地确定触摸物对应的介质类型。As an alternative embodiment, after receiving the first frame or the second frame of touch data in which the touch state information indicates that the touch state of the touch object is the touch movement state (that is, the touch state information is MOVE), the elastic wave detection device also adopts the same The steps to carry out the material recognition of the touch object. Compared with the first frame of touch data using infrared touch data, the first frame of touch data or the second frame of touch data whose touch state is the touch movement state will increase the delay of one frame of data or two frames of data, but the relative Compared with the original solution that only determines the medium type of the touch object based on the elastic wave signal, the interference of the non-touch position on the elastic wave signal can also be excluded, and the medium type corresponding to the touch object can be determined more accurately.
弹性波检测装置在确定触摸物对应的介质类型后,将介质类型上报至处理设备。可选的,弹性波检测装置可连续多次(例如四次)向处理设备上报介质类型,保证介质类型正确传递给处理设备。在成功上报介质类型后,弹性波检测装置在确定接收到触摸物的触摸抬起状态前,不会再上报其他数据,直至检测到新的触控操作。触摸物的触摸抬起状态也是由红外触摸数据表征的,处理设备或者红外触摸框将触摸状态为触摸抬起状态的帧数据发送到弹性波检测装置,弹性波检测装置根据该帧数据的触摸状态确定接收到触摸物的触摸抬起状态。After determining the medium type corresponding to the touch object, the elastic wave detection device reports the medium type to the processing device. Optionally, the elastic wave detection device may report the medium type to the processing device several times in a row (for example, four times) to ensure that the medium type is correctly transmitted to the processing device. After the medium type is successfully reported, the elastic wave detection device will not report other data until a new touch operation is detected before determining that the touch-up state of the touch object is received. The touch-up state of the touch object is also represented by the infrared touch data. The processing device or the infrared touch frame sends the frame data whose touch state is the touch-up state to the elastic wave detection device, and the elastic wave detection device is based on the touch state of the frame data. Determines the touch-up state of the received touch object.
在一个可能的实施例中,弹性波检测装置检测到弹性波信号后,对弹性波信号进行缓存,直到接收到红外触摸数据后,再根据红外触摸数据的触摸位置信息和/或触摸参数信息,以及弹性波信号,确定触摸物对应的介质类型。In a possible embodiment, after detecting the elastic wave signal, the elastic wave detection device buffers the elastic wave signal until receiving the infrared touch data, and then according to the touch position information and/or touch parameter information of the infrared touch data, And the elastic wave signal to determine the medium type corresponding to the touch object.
具体的,弹性波检测装置检测到弹性波信号后,对弹性波信号进行缓存,并等待红外触摸数据的到来。弹性波检测装置在接收到红外触摸数据时,再根据红外触摸数据的触摸位置信息和/或触摸参数信息,以及弹性波信号,确定触摸物对应的介质类型,并将介质类型发送至处理设备。可选的,若弹性波检测装置在预设时间阈值内仍未接收到红外触摸数据,则清除目前缓存的所有弹性波信号。通过本方式,可以过滤掉干扰信号的影响,避免弹性波检测装置进行不必要的处理步骤,提高处理效率。Specifically, after detecting the elastic wave signal, the elastic wave detection device buffers the elastic wave signal and waits for the arrival of infrared touch data. When receiving the infrared touch data, the elastic wave detection device determines the medium type corresponding to the touched object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, and sends the medium type to the processing device. Optionally, if the elastic wave detection device has not received the infrared touch data within the preset time threshold, all currently buffered elastic wave signals are cleared. In this way, the influence of the interference signal can be filtered out, the elastic wave detection device can avoid unnecessary processing steps, and the processing efficiency can be improved.
在一个可能的实施例中,弹性波检测装置在检测到弹性波信号时,等待首帧触摸数据的到来,在未等到首帧触摸数据时,该弹性波信号可能是由干扰源产生的。基于此,本公开提供的触摸数据处理方法还包括:弹性波检测装置确定在预设时间阈值内,未接收到首帧触摸数据,将缓存的弹性波信号清除。In a possible embodiment, when the elastic wave detection device detects the elastic wave signal, it waits for the arrival of the first frame of touch data, and before the first frame of touch data arrives, the elastic wave signal may be generated by an interference source. Based on this, the touch data processing method provided by the present disclosure further includes: the elastic wave detection device determines that the first frame of touch data is not received within a preset time threshold, and clears the buffered elastic wave signal.
具体的,弹性波检测装置在检测到并缓存弹性波信号时,等待首帧触摸数据的到来。若弹性波检测装置在预设时间阈值内接收到首帧触摸数据,则执行根据首帧触摸数据和弹性波 信号,确定触摸物对应的介质类型,并将介质类型发送至处理设备的步骤。若弹性波检测装置在预设时间阈值内仍未接收到首帧触摸数据,则清除目前缓存的所有弹性波信号。通过本方式,可以过滤掉干扰信号的影响,避免弹性波检测装置进行不必要的处理步骤,提高处理效率。Specifically, when the elastic wave detection device detects and buffers the elastic wave signal, it waits for the arrival of the first frame of touch data. If the elastic wave detection device receives the first frame of touch data within the preset time threshold, it will perform the steps of determining the media type corresponding to the touch object according to the first frame of touch data and the elastic wave signal, and sending the media type to the processing device. If the elastic wave detection device has not received the first frame of touch data within the preset time threshold, all the currently buffered elastic wave signals are cleared. In this way, the influence of the interference signal can be filtered out, the elastic wave detection device can avoid unnecessary processing steps, and the processing efficiency can be improved.
在具体实现本方案时,可利用特征识别模型进行介质类型的确定,对应的,步骤S105包括步骤S1051和S1052:In the specific implementation of this solution, the feature identification model can be used to determine the medium type. Correspondingly, step S105 includes steps S1051 and S1052:
S1051:弹性波检测装置接收到红外触摸数据后,读取红外触摸数据中的触摸位置信息和/或触摸参数信息。S1051: After receiving the infrared touch data, the elastic wave detection device reads touch position information and/or touch parameter information in the infrared touch data.
具体的,本公开向弹性波检测装置发送的红外触摸数据为首帧触摸数据,基于此,弹性波检测装置接收到首帧触摸数据后,读取首帧触摸数据中的触摸位置信息和/或触摸参数信息。Specifically, the infrared touch data sent by the present disclosure to the elastic wave detection device is the first frame of touch data. Based on this, the elastic wave detection device reads the touch position information and/or touch data in the first frame of touch data after receiving the first frame of touch data. Parameter information.
S1052:将触摸位置信息和弹性波信号,输入到训练好的特征识别模型中,获得触摸物对应的介质类型。S1052: Input the touch position information and the elastic wave signal into the trained feature recognition model to obtain the medium type corresponding to the touch object.
在一个实施例中,本公开提供的红外触摸数据包括触摸状态信息、触摸位置信息和触摸参数信息,弹性波检测装置在接收到红外触摸数据中的首帧触摸数据后,读取出首帧触摸数据中的触摸位置信息,该触摸位置信息可理解为触摸物在显示屏上的触摸位置。In one embodiment, the infrared touch data provided by the present disclosure includes touch state information, touch position information and touch parameter information, and the elastic wave detection device reads out the first frame of touch data after receiving the first frame of touch data in the infrared touch data. The touch position information in the data can be understood as the touch position of the touch object on the display screen.
作为一种实施方式,弹性波检测装置将触摸位置信息,以及弹性波信号输入到训练好的特征识别模型中,由特征识别模型对触摸位置信息,以及弹性波信号进行分析处理,确定触摸物对应的介质类型。特征识别模型可通过神经网络的方式确定触摸位置信息和弹性波信号所对应的介质类型。例如,可基于神经网络搭建得到特征识别模型,并基于弹性波信号、触摸位置信息作为输入,对应的介质类型作为输出进行训练。将触摸位置信息和/或触摸参数信息作为特征添加到特征识别模型中进行训练,该特征可以是特征识别模型最原始的输入特征,也可以是在特征识别模型的网络中某一层的额外特征,并由特征识别模型直接输出识别结果。在一个实施例中,S1052也可以将触摸参数信息、触摸位置信息和弹性波信号,输入到训练好的特征识别模型中,获得触摸物对应的介质类型。从而将触摸参数信息也作为特征识别模型的一个识别参数。As an embodiment, the elastic wave detection device inputs the touch position information and the elastic wave signal into the trained feature recognition model, and the feature recognition model analyzes and processes the touch position information and the elastic wave signal to determine the corresponding touch object media type. The feature recognition model can determine the touch position information and the medium type corresponding to the elastic wave signal by means of a neural network. For example, a feature recognition model can be built based on a neural network, and the training is performed based on elastic wave signals and touch position information as input and the corresponding medium type as output. Add touch position information and/or touch parameter information as features to the feature recognition model for training, which can be the most original input feature of the feature recognition model, or it can be an additional feature of a certain layer in the network of the feature recognition model , and the recognition results are directly output by the feature recognition model. In one embodiment, S1052 may also input the touch parameter information, touch position information and elastic wave signal into the trained feature recognition model to obtain the medium type corresponding to the touch object. Therefore, the touch parameter information is also used as a recognition parameter of the feature recognition model.
在一个实施例中,弹性波信号为多个,弹性波检测装置根据红外触摸数据的触摸位置信息和/或触摸参数信息,以及弹性波信号,确定触摸物对应的介质类型,包括:In one embodiment, there are multiple elastic wave signals, and the elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, including:
弹性波检测装置接收到红外触摸数据后,读取红外触摸数据中的触摸位置信息;After receiving the infrared touch data, the elastic wave detection device reads the touch position information in the infrared touch data;
对多个弹性波信号进行融合处理,得到预处理信号;Integrate multiple elastic wave signals to obtain preprocessed signals;
将触摸位置信息和预处理信号,输入到训练好的特征识别模型中,获得触摸物对应的介 质类型。Input the touch position information and preprocessing signal into the trained feature recognition model to obtain the media type corresponding to the touch object.
融合处理的一种实施方式为:基于事先设定的多个弹性波传感器的位置信息,结合触摸位置信息,计算该触摸位置信息所表征的触摸点与不同弹性波传感器的距离S1,S2,…Sn(n为自然数),进而基于计算得到的距离对多个弹性波传感器采集的弹性波信号进行融合处理,获得预处理结果。例如一种可能的实施案例是,以1/(Sn)^2将每个传感器的信号进行加权后,将加权得到的结果作为预处理结果。An embodiment of the fusion process is: based on the preset position information of multiple elastic wave sensors, combined with the touch position information, calculate the distances S1, S2, . . . between the touch point represented by the touch position information and different elastic wave sensors. Sn (n is a natural number), and then based on the calculated distance, the elastic wave signals collected by multiple elastic wave sensors are fused to obtain a preprocessing result. For example, a possible implementation case is that after weighting the signal of each sensor by 1/(Sn)^2, the weighted result is used as the preprocessing result.
在具体实现本方案时,还可利用特征数据库进行介质类型的确定,对应的,步骤S105还可以包括步骤S1053-S1055:When the solution is specifically implemented, the feature database can also be used to determine the medium type. Correspondingly, step S105 may further include steps S1053-S1055:
S1053:弹性波检测装置在对弹性波信号进行特征提取后,接收到红外触摸数据。S1053: After the elastic wave detection device performs feature extraction on the elastic wave signal, the infrared touch data is received.
S1054:根据红外触摸数据中的触摸位置信息,对提取得到的特征进行修正。S1054: Correct the extracted features according to the touch position information in the infrared touch data.
在一个实施例中,弹性波检测装置在对弹性波信号进行特征提取后,接收到首帧触摸数据;根据首帧触摸数据中的触摸位置信息和/或触摸参数信息,对提取得到的特征进行修正。In one embodiment, the elastic wave detection device receives the first frame of touch data after performing feature extraction on the elastic wave signal; according to the touch position information and/or touch parameter information in the first frame of touch data, the extracted features are Correction.
S1055:根据修正后的特征,与预设的特征数据库进行比对,获得触摸物对应的介质类型。S1055: Comparing the corrected feature with a preset feature database to obtain a medium type corresponding to the touch object.
在弹性波检测装置中预先设置有特征数据库,该特征数据库中记录有预设特征和预设介质类型之间的对应关系。其中,预设特征和预设介质类型之间的对应关系可通过键值对的方式进行记录。A feature database is preset in the elastic wave detection device, and the feature database records the correspondence between preset features and preset medium types. The corresponding relationship between the preset feature and the preset medium type may be recorded in the form of a key-value pair.
具体的,弹性波检测装置在检测到并缓存弹性波信号后,提取缓存的弹性波信号,并对弹性波信号进行特征提取。在对弹性波信号进行特征提取后,接收到来自红外触摸框或处理设备发送的首帧触摸数据,并读取出首帧触摸数据中的触摸位置信息和/或触摸参数信息,根据触摸位置信息和/或触摸参数信息对提取得到的特征进行修正。在完成对特征的修正后,将修正后的特征在预设的特征数据库中进行匹配比对,在匹配到一致或相似度达到设定相似度要求的预设特征时,将该预设特征对应的预设介质类型确定为触摸物对应的介质类型。Specifically, after detecting and buffering the elastic wave signal, the elastic wave detection device extracts the buffered elastic wave signal, and performs feature extraction on the elastic wave signal. After the feature extraction of the elastic wave signal, the first frame of touch data sent from the infrared touch frame or the processing device is received, and the touch position information and/or touch parameter information in the first frame of touch data is read out. According to the touch position information and/or touch parameter information to correct the extracted features. After the correction of the features is completed, the corrected features are matched and compared in the preset feature database, and when the preset features that are consistent or the similarity reaches the set similarity requirement are matched, the preset features correspond to the preset features. The preset media type is determined as the media type corresponding to the touch object.
在一个实施例中,弹性波检测装置在对提取得到的特征进行修正之前,需要等待首帧触摸数据的到来,对应的,步骤S1053具体包括:弹性波检测装置在对弹性波信号进行特征提取后,确定未接收到红外触摸数据,则等待接收红外触摸数据,直到接收到红外触摸数据。In one embodiment, the elastic wave detection device needs to wait for the arrival of the first frame of touch data before correcting the extracted features. Correspondingly, step S1053 specifically includes: after the elastic wave detection device performs feature extraction on the elastic wave signal , determine that no infrared touch data is received, then wait to receive infrared touch data until infrared touch data is received.
具体的,弹性波检测装置在对弹性波信号进行特征提取后,确定未接收到首帧触摸数据,则等待接收首帧触摸数据,直到接收到首帧触摸数据。Specifically, after the elastic wave detection device performs feature extraction on the elastic wave signal and determines that the first frame of touch data has not been received, it waits to receive the first frame of touch data until the first frame of touch data is received.
具体的,弹性波检测装置在对弹性波信号进行特征提取后,若仍未接收到首帧触摸数据,不直接将提取的特征与预设的特征数据库进行比对,而是等待接收首帧触摸数据,直到接收到首帧触摸数据。在对特征进行修正后才与预设的特征数据库进行比对,保证最终确定的介质类型的正确性,减少干扰源对介质类型确定的影响。Specifically, after the elastic wave detection device performs feature extraction on the elastic wave signal, if the first frame of touch data has not yet been received, it does not directly compare the extracted features with the preset feature database, but waits to receive the first frame of touch data. data until the first frame of touch data is received. After the feature is corrected, it is compared with the preset feature database to ensure the correctness of the final determined medium type and reduce the influence of the interference source on the determination of the medium type.
如前,弹性波检测装置通过特征识别模型或特征数据库获得触摸物的介质类型的同时,会得到介质类型对应的置信度区间。其中,弹性波检测装置确定的介质类型可以是一种或多种。在根据首帧触摸数据和弹性波信号唯一确定一个介质类型,且该介质类型的置信度区间高于设定置信阈值时,可直接确定该介质类型为触摸物对应的介质类型。在获得两种或以上的介质类型时,若存在置信度区间高于设定置信阈值的介质类型,则将该介质类型作为触摸物对应的介质类型。As before, when the elastic wave detection device obtains the medium type of the touching object through the feature recognition model or the feature database, it also obtains the confidence interval corresponding to the medium type. Wherein, the medium types determined by the elastic wave detection device may be one or more types. When a medium type is uniquely determined according to the first frame of touch data and the elastic wave signal, and the confidence interval of the medium type is higher than the set confidence threshold, the medium type can be directly determined as the medium type corresponding to the touch object. When two or more media types are obtained, if there is a media type whose confidence interval is higher than the set confidence threshold, the media type is used as the media type corresponding to the touch object.
在一个可能的实施例中,获得触摸物对应的介质类型的步骤中,获得的介质类型为至少两种,且每种介质类型对应的置信区间均低于设定置信阈值。基于此,本公开提供的触摸数据处理方法还包括:In a possible embodiment, in the step of obtaining the media type corresponding to the touch object, at least two media types are obtained, and the confidence interval corresponding to each media type is lower than the set confidence threshold. Based on this, the touch data processing method provided by the present disclosure further includes:
S1056:根据红外触摸数据的触摸参数信息,确定至少两种介质类型中的其中一种作为触摸物对应的介质类型。S1056: Determine one of at least two medium types as the medium type corresponding to the touch object according to the touch parameter information of the infrared touch data.
步骤S1056可以是由弹性波检测装置执行的,也可以是由处理设备执行的,处理设备执行的过程为:处理设备接收到弹性波检测装置发送的介质类型信息;介质类型信息包括至少两种介质类型;然后处理设备根据红外触摸数据的触摸参数信息,确定至少两种介质类型中的其中一种作为触摸物对应的介质类型。Step S1056 may be performed by the elastic wave detection device, or may be performed by a processing device. The process performed by the processing device is: the processing device receives the medium type information sent by the elastic wave detection device; the medium type information includes at least two kinds of media type; and then the processing device determines one of at least two medium types as the medium type corresponding to the touch object according to the touch parameter information of the infrared touch data.
弹性波检测装置通过特征识别模型或特征数据库获得两种或以上的介质类型,且每种介质类型对应的置信区间均低于设定置信阈值时,则对这些介质类型进行修正后,确定其中一种介质类型作为触摸物对应的介质类型。The elastic wave detection device obtains two or more medium types through the feature identification model or feature database, and when the confidence interval corresponding to each medium type is lower than the set confidence threshold, these medium types are corrected, and one of them is determined. media type as the media type corresponding to the touch object.
在一个实施例中,根据红外触摸数据的触摸参数信息,确定至少两种介质类型中的其中一种作为触摸物对应的介质类型,具体包括:In one embodiment, according to touch parameter information of the infrared touch data, one of at least two medium types is determined as the medium type corresponding to the touch object, which specifically includes:
获取红外触摸数据中的触摸参数信息;Obtain touch parameter information in infrared touch data;
获得至少两种介质类型对应的预设阈值区间;预设阈值区间用于表征介质类型的触摸参数的数值范围;obtaining a preset threshold interval corresponding to at least two medium types; the preset threshold interval is used to characterize the numerical range of the touch parameter of the medium type;
确定各预设阈值区间中,与触摸参数信息最接近的第一预设阈值区间;determining the first preset threshold interval closest to the touch parameter information among the preset threshold intervals;
将第一预设阈值区间对应的介质类型,作为触摸物对应的介质类型。The medium type corresponding to the first preset threshold interval is used as the medium type corresponding to the touch object.
具体的,本公开根据红外触摸数据中的触摸参数信息(例如触摸面积)对介质类型进行修正,根据触摸参数信息与各介质类型的匹配程度确定触摸物对应的介质类型。以触摸参数信息为触摸面积信息为例,弹性波检测装置或处理设备记录有不同介质类型对应的面积范围(即前述的预设阈值区间,这里预设阈值区间用于表征介质类型的面积参数的数值范围),在获得的介质类型为至少两种并且每种介质类型对应的置信区间均低于设定置信阈值时,弹性波检测装置或处理设备确定各个介质类型对应的预设的面积范围,并获取红外接触数据中 的触摸参数信息,确定当前触摸物接触显示屏的触摸面积,根据该触摸面积与各个面积范围的匹配程度或面积差距,确定与触摸面积更接近的面积范围以及对应的介质类型,并将该介质类型作为触摸物对应的介质类型。例如将设定置信阈值设置为90%,在介质类型的置信区间大于90%时,可将该介质类型作为触摸物对应的介质类型,在获得两种介质类型,并且两种类型为:材质1,置信区间为51%;材质2,置信区间为49%。两种介质类型的置信区间均低于设定置信阈值,则获取材质1和材质2对应的预设的面积范围,假设结合触摸参数信息中的触摸面积,确认触摸面积更接近材质1的面积范围,则确定修正后确定的介质类型为材质1,将材质1作为触摸物对应的介质类型。更具体的,当用户用手指在交互平板的显示屏上进行操作时,弹性波检测装置识别获得的介质类型可能是:手指,置信区间为51%;毛笔,置信区间为49%。由于手指和毛笔的置信区间均设定置信阈值90%,因此,需要获取触摸参数信息中的触摸面积,假设获取得到的触摸面积(用宽度值、高度值表示)为(7,7),而手指的预设的面积范围为(6±2,6±2),毛笔的预设的面积范围为(5±1,4±1.5),则判断(7,7)更接近手指的预设的面积范围(6±2,6±2),因此将手指作为触摸物对应的介质类型。Specifically, the present disclosure modifies the medium type according to touch parameter information (eg, touch area) in the infrared touch data, and determines the medium type corresponding to the touch object according to the matching degree between the touch parameter information and each medium type. Taking the touch parameter information as touch area information as an example, the elastic wave detection device or processing device records the area ranges corresponding to different media types (that is, the aforementioned preset threshold interval, where the preset threshold interval is used to represent the area parameter of the medium type. Numerical range), when the obtained medium types are at least two and the confidence interval corresponding to each medium type is lower than the set confidence threshold, the elastic wave detection device or processing device determines the preset area range corresponding to each medium type, And obtain the touch parameter information in the infrared contact data, determine the touch area of the current touch object touching the display screen, and determine the area range that is closer to the touch area and the corresponding medium according to the matching degree or area gap between the touch area and each area range. type, and use the media type as the media type corresponding to the touch object. For example, set the confidence threshold to 90%. When the confidence interval of the media type is greater than 90%, the media type can be used as the media type corresponding to the touch object. When two media types are obtained, and the two types are: Material 1 , the confidence interval is 51%; for material 2, the confidence interval is 49%. If the confidence intervals of the two media types are both lower than the set confidence thresholds, the preset area ranges corresponding to Material 1 and Material 2 are obtained. Assuming that the touch area is combined with the touch area in the touch parameter information, confirm that the touch area is closer to the area range of Material 1. , then it is determined that the medium type determined after the correction is Material 1, and Material 1 is used as the medium type corresponding to the touch object. More specifically, when the user operates with a finger on the display screen of the interactive tablet, the medium types identified by the elastic wave detection device may be: finger, with a confidence interval of 51%; brush, with a confidence interval of 49%. Since the confidence interval of the finger and the brush are both set with a confidence threshold of 90%, it is necessary to obtain the touch area in the touch parameter information. Suppose that the obtained touch area (represented by the width value and the height value) is (7,7), and The preset area range of the finger is (6±2, 6±2), and the preset area range of the brush is (5±1, 4±1.5), then it is judged that (7, 7) is closer to the preset area of the finger. The area range is (6±2, 6±2), so the finger is used as the medium type corresponding to the touch object.
可以理解的是,步骤S1056可以是弹性波检测装置或处理设备进行处理,其中红外触摸数据可以是前述的首帧触摸数据,也可以是下一帧或者首帧触摸数据之后的任一帧的红外触摸数据。本公开通过红外触摸数据对获得的介质类型进行修正,确定触摸物对应的介质类型,减少干扰源对介质类型确定造成的偏差,保证介质类型确定的准确程度。It can be understood that step S1056 may be processed by an elastic wave detection device or a processing device, wherein the infrared touch data may be the aforementioned first frame of touch data, or may be the next frame or any frame of infrared touch data after the first frame of touch data. Touch Data. The present disclosure corrects the obtained medium type through infrared touch data, determines the medium type corresponding to the touch object, reduces the deviation caused by the interference source to determine the medium type, and ensures the accuracy of the medium type determination.
在一个可能的实施例中,获得触摸物对应的介质类型的步骤中,所获得的介质类型的置信区间低于设定置信阈值,本公开提供的触摸数据处理方法还包括:In a possible embodiment, in the step of obtaining the medium type corresponding to the touch object, the obtained confidence interval of the medium type is lower than the set confidence threshold, and the touch data processing method provided by the present disclosure further includes:
S1057:处理设备根据红外触摸数据的触摸位置信息,判断当前的触控操作与上一次抬起的触控操作是否相关联,若相关联,则获取上一次触控操作对应的介质类型,作为触摸物对应的介质类型。S1057: The processing device determines, according to the touch position information of the infrared touch data, whether the current touch operation is associated with the last lifted touch operation, and if so, obtains the media type corresponding to the last touch operation as the touch operation the corresponding medium type.
在弹性波检测装置获得的介质类型的置信区间低于设定置信阈值时,处理设备根据本次触控操作与上一次触控操作是否关联来确定触摸物对应的介质类型。例如,处理设备判断本次触控操作的起点与上一次触控操作的终点之间的时间与距离阈值是否在设定时间与距离阈值内,若是则认为当前的触控操作与上一次抬起的触控操作相关联。When the confidence interval of the medium type obtained by the elastic wave detection device is lower than the set confidence threshold, the processing device determines the medium type corresponding to the touch object according to whether the current touch operation is related to the previous touch operation. For example, the processing device determines whether the time and distance thresholds between the start point of the current touch operation and the end point of the previous touch operation are within the set time and distance thresholds; associated with the touch operation.
具体的,处理设备获取本次触控操作的首帧触摸数据中的触摸位置信息,根据该触摸位置信息即为本次触控操作的落笔位置,并将首帧触摸数据的对应的时间戳作为落笔时间,并获取上一次触控操作中抬起时的红外触摸数据中的触摸位置信息,该触摸位置信息即为上一次触控操作的抬笔位置,并将红外触摸数据的对应的时间戳作为抬笔时间。作为一种实施方 式,计算落笔位置与抬笔位置之间的距离间隔ΔS,以及抬笔时间之间的时间距离ΔT,判断落笔位置是否在上一次触控操作的抬笔位置附近,以及落笔时间是否在上一次触控操作的落笔时间附近,即判断(ΔS,ΔT)是否在时间与距离阈值(S0,T0)以内,若在时间与距离阈值内,则判定当前的触控操作与上一次抬起的触控操作相关联。其中时间与距离阈值包括时间阈值T0和距离阈值S0,时间阈值T0和距离阈值S0可以是两个固定的值,也可以是有线性或非线性关系的值。Specifically, the processing device obtains the touch position information in the first frame of touch data of this touch operation, and according to the touch position information is the pen drop position of this touch operation, and uses the corresponding timestamp of the first frame of touch data as Pen down time, and obtain the touch position information in the infrared touch data when the last touch operation was lifted, the touch position information is the pen lift position of the last touch operation, and the corresponding timestamp of the infrared touch data as a pen time. As an implementation, calculate the distance interval ΔS between the pen-down position and the pen-up position, and the time distance ΔT between the pen-up time, to determine whether the pen-down position is near the pen-up position of the last touch operation, and the pen-down time Whether it is near the pen-down time of the last touch operation, that is, it is judged whether (ΔS, ΔT) is within the time and distance thresholds (S0, T0). associated with a lift touch action. The time and distance thresholds include a time threshold T0 and a distance threshold S0, and the time threshold T0 and the distance threshold S0 may be two fixed values or values with a linear or non-linear relationship.
作为一种实施方式,在确定当前的触控操作与上一次抬起的触控操作相关联时,获取上一次触控操作对应的介质类型,作为触摸物对应的介质类型。在确定当前的触控操作与上一次抬起的触控操作不关联时,可直接根据红外触摸数据,在显示屏上显示相应的书写轨迹,而不利用介质类型更新红外触摸数据。可以理解的是,在介质类型的置信区间低于设定置信阈值时,处理设备根据当前的触控操作与上一次抬起的触控操作的关联关系进行介质类型的纠错后,无需将纠错结果发送给弹性波检测装置,提高数据处理效率。本公开通过当前的触控操作与上一次抬起的触控操作的关联关系对介质类型进行纠错,确定触摸物对应的介质类型,减少干扰源对介质类型确定造成的偏差,保证介质类型确定的准确程度。As an implementation manner, when it is determined that the current touch operation is associated with the last lifted touch operation, the medium type corresponding to the last touch operation is acquired as the medium type corresponding to the touch object. When it is determined that the current touch operation is not related to the last lifted touch operation, the corresponding writing track can be displayed on the display screen directly according to the infrared touch data, without updating the infrared touch data by the medium type. It can be understood that when the confidence interval of the medium type is lower than the set confidence threshold, after the processing device performs error correction of the medium type according to the relationship between the current touch operation and the touch operation that was lifted last time, there is no need to correct the error of the medium type. The error result is sent to the elastic wave detection device to improve the data processing efficiency. The present disclosure corrects the media type by using the correlation relationship between the current touch operation and the last lifted touch operation, determines the media type corresponding to the touch object, reduces the deviation caused by the interference source to the determination of the media type, and ensures the determination of the media type. degree of accuracy.
S106:弹性波检测装置向处理设备发送介质类型信息,介质类型信息包括触摸物对应的介质类型。介质类型信息是指弹性波检测装置向处理设备发送的包含触摸物对应的介质类型的信息,可以是单独生成的仅包含介质类型的信息,也可以是弹性波检测装置与处理设备进行数据交互的其它信息,将介质类型集成在该其它信息中发送到处理设备。S106: The elastic wave detection apparatus sends medium type information to the processing device, where the medium type information includes the medium type corresponding to the touch object. The medium type information refers to the information containing the medium type corresponding to the touch object sent by the elastic wave detection device to the processing device. Other information, in which the media type is integrated, is sent to the processing device.
弹性波检测装置在确定触摸物对应的介质类型后,基于介质类型生成对应的介质类型信息,并向处理设备发送该介质类型信息。本公开通过红外触摸数据的触摸位置信息和/或触摸参数信息,以及弹性波信号,确定触摸物对应的介质类型,并向处理设备反馈对应的介质类型信息,在存在多个触摸物时,可准确判断在不同触摸位置所对应的介质类型,并可针对不同介质类型,对相应触摸位置的触控操作进行不同的响应,丰富交互平板的交互体验。After determining the medium type corresponding to the touch object, the elastic wave detection device generates corresponding medium type information based on the medium type, and sends the medium type information to the processing device. The present disclosure determines the medium type corresponding to the touch object by using the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, and feeds back the corresponding medium type information to the processing device. Accurately determine the media types corresponding to different touch positions, and can respond differently to touch operations at the corresponding touch positions for different media types, enriching the interactive experience of the interactive tablet.
在一个可能的实施例中,本公开提供的触摸数据处理方法还包括:In a possible embodiment, the touch data processing method provided by the present disclosure further includes:
S107:处理设备接收到介质类型信息后,根据介质类型,启动对接收到的红外触摸数据的响应。S107: After receiving the medium type information, the processing device starts a response to the received infrared touch data according to the medium type.
在本发明实施例中,为了进一步解决零书写高度的问题,当处理设备接收红外触摸框发送的红外触摸数据时,需要判断对何时接收到的红外触摸数据作出响应。所谓响应,在本发明实施例中,是指处理设备是否把红外触摸数据作为有效的数据进行处理。在本发明实施例中,为了解决零书写高度的问题,处理设备将持续接收到的红外触摸数据作为有效数据进行处理需要前置一个条件,即:处理设备确认触发红外触摸数据的触摸物,与交互平板的显示 屏有接触。处理设备如何确认触发红外触摸数据的触摸物与交互平板的显示屏有接触,也是本实施例需要解决的技术问题。In this embodiment of the present invention, in order to further solve the problem of zero writing height, when the processing device receives the infrared touch data sent by the infrared touch frame, it needs to determine when to respond to the received infrared touch data. The so-called response, in this embodiment of the present invention, refers to whether the processing device processes the infrared touch data as valid data. In the embodiment of the present invention, in order to solve the problem of zero writing height, the processing device needs to process the continuously received infrared touch data as valid data, and a precondition is required, that is: the processing device confirms the touch object that triggers the infrared touch data, and The display screen of the interactive tablet is in contact. How the processing device confirms that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet is also a technical problem to be solved in this embodiment.
具体的,在本发明实施例中,在交互平板中设置一个弹性波检测装置,通过弹性波检测装置检测交互平板的显示屏上产生的振动信号,并设置弹性波检测装置与交互平板的处理设备的通信硬件及通信协议,使得弹性波检测装置能够将用于确认触发红外触摸数据的触摸物与交互平板的显示屏有接触的信息(例如前述介质类型信息)发送给处理设备,帮助处理设备获得该判断能力。Specifically, in the embodiment of the present invention, an elastic wave detection device is set in the interactive tablet, the vibration signal generated on the display screen of the interactive tablet is detected by the elastic wave detection device, and the elastic wave detection device and the processing equipment of the interactive tablet are installed The communication hardware and communication protocol, so that the elastic wave detection device can send the information (such as the aforementioned medium type information) used to confirm that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet to the processing device, so as to help the processing device obtain the ability to judge.
作为一种实施方式,当处理设备接收红外触摸框发送的红外触摸数据,却没有接收到弹性波检测装置发送的用于确认触发红外触摸数据的触摸物与交互平板的显示屏有接触的信息时,处理设备可对接收到的红外触摸数据不进行响应。As an embodiment, when the processing device receives the infrared touch data sent by the infrared touch frame, but does not receive the information sent by the elastic wave detection device to confirm that the touch object that triggers the infrared touch data is in contact with the display screen of the interactive tablet , the processing device may not respond to the received infrared touch data.
具体的,处理设备在接收到弹性波装置返回的介质类型信息后,根据介质类型信息确定触摸物对应的介质类型,并根据确定的介质类型,对后续接收到的红外触摸数据进行处理及响应。其中,对后续接收到的红外触摸数据进行处理及响应,可以是根据介质类型对后续接收到的红外触摸数据进行更新以及进行相应的响应(例如显示书写轨迹),也可以是根据介质类型对后续接收到的红外触摸数据进行触摸响应(例如根据介质类型来执行点击操作、长按操作等)。处理设备在接收到介质类型之后才对后续接收到的红外触摸数据进行处理及响应,忽略在触摸物接触显示屏之前产生的红外触摸数据,只处理触摸物接触显示屏之后产生红外触摸数据,对红外触摸数据进行处理及响应的时机与触摸物接触显示屏的位置与时机保持一致,用户的触控操作得到更准确的反馈,例如显示书写轨迹的位置及时机与触摸物接触显示屏的位置与时机保持一致,实现书写的零高度。Specifically, after receiving the medium type information returned by the elastic wave device, the processing device determines the medium type corresponding to the touch object according to the medium type information, and processes and responds to the subsequently received infrared touch data according to the determined medium type. The processing and response to the subsequently received infrared touch data may be to update the subsequently received infrared touch data and respond accordingly (for example, to display the writing track) according to the medium type, or it may be to update the subsequently received infrared touch data according to the medium type and respond accordingly (for example, to display the writing track). The received infrared touch data performs a touch response (for example, a click operation, a long-press operation, etc. are performed according to the medium type). The processing device processes and responds to the subsequently received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen. The timing of infrared touch data processing and response is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback. The timing is consistent to achieve zero height of writing.
在一个可能的实施例中,步骤S107具体为:处理设备接收到介质类型信息后,启动对接收到的红外触摸数据的响应,输出与触摸物的介质类型相关联的响应结果。更具体的,包括步骤S1071-S1072:In a possible embodiment, step S107 is specifically: after receiving the medium type information, the processing device starts a response to the received infrared touch data, and outputs a response result associated with the medium type of the touch object. More specifically, it includes steps S1071-S1072:
S1071:处理设备接收到介质类型信息后,根据介质类型,启动对接收到的红外触摸数据进行更新。S1071: After receiving the medium type information, the processing device starts to update the received infrared touch data according to the medium type.
其中,启动对接收到的红外触摸数据进行更新是指对在接收到介质类型信息的时刻之后接收到的红外触摸数据进行更新。例如,接收到介质类型的时刻为t1,则对t1时刻之后接收到的红外触摸数据进行更新。具体实现过程中,可以是通过记录接收时刻来处理。也可以是在接收到介质类型后,将预设的一个标志位的数据进行更新,例如从00更新为01,从而后续进行处理时,只要该标志位是01,则将读取到的红外触摸数据进行更新。Wherein, starting to update the received infrared touch data refers to updating the infrared touch data received after the time when the medium type information is received. For example, if the time when the medium type is received is t1, the infrared touch data received after the time t1 is updated. In the specific implementation process, it may be processed by recording the receiving time. It is also possible to update the data of a preset flag bit after receiving the medium type, for example, from 00 to 01, so that in subsequent processing, as long as the flag bit is 01, the read infrared touch data is updated.
S1072:处理设备根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹。S1072: The processing device displays the corresponding writing track on the display screen according to the updated infrared touch data.
处理设备接收到介质类型信息后,开始对接收到的红外触摸框发送的红外触摸数据进行缓存;并依次读取缓存的红外触摸数据,根据介质类型更新接收到的红外触摸数据,并根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹。具体的,处理设备在接收到弹性波检测装置上报的介质类型后,开始对红外触摸框发送的红外触摸数据进行缓存。可选的,处理设备在确定接收到弹性波检测装置上报的介质类型后,通知弹性波检测装置已成功接收介质类型。处理设备在接收到介质类型之后才开始缓存红外触摸数据,忽略在触摸物接触显示屏之前产生的红外触摸数据(产生这些红外触摸数据时,触摸物只是进入触控检测区域,并未接触到显示屏),只处理触摸物接触显示屏之后产生红外触摸数据,显示书写轨迹的位置与时机与触摸物接触显示屏的位置与时机保持一致,实现书写的零高度。而且对触摸物接触显示屏之前产生的红外触摸数据不进行缓存处理,节约了处理设备的处理资源。本步骤的更新过程中,处理设备按照先进先出的顺序,依次读取缓存的红外触摸数据,根据介质类型更新读取出的红外触摸数据。After the processing device receives the medium type information, it starts to cache the infrared touch data sent by the received infrared touch frame; and reads the cached infrared touch data in turn, updates the received infrared touch data according to the medium type, and updates the received infrared touch data according to the updated The corresponding infrared touch data will be displayed on the display screen. Specifically, after receiving the medium type reported by the elastic wave detection device, the processing device starts to cache the infrared touch data sent by the infrared touch frame. Optionally, after determining that the medium type reported by the elastic wave detection device is received, the processing device notifies the elastic wave detection device that the medium type has been successfully received. The processing device starts to cache the infrared touch data after receiving the medium type, ignoring the infrared touch data generated before the touch object touches the display screen (when these infrared touch data are generated, the touch object just enters the touch detection area and does not touch the display screen. screen), only the infrared touch data is generated after the touch object touches the display screen, and the position and timing of displaying the writing track are consistent with the position and timing of the touch object touching the display screen, so as to achieve zero height of writing. Moreover, the infrared touch data generated before the touch object touches the display screen is not cached, which saves the processing resources of the processing device. In the updating process of this step, the processing device sequentially reads the buffered infrared touch data in the order of first-in, first-out, and updates the read infrared touch data according to the medium type.
本步骤中,根据更新后的红外触摸数据绘制相应的书写轨迹,并在显示屏上进行显示,例如按照更新后的红外触摸数据所表征的显示属性(粗细、颜色、线型等)绘制相应的书写轨迹,并在显示屏上进行显示,从而实现根据不同介质类型的触摸物显示不同书写笔迹的目的。In this step, the corresponding writing track is drawn according to the updated infrared touch data, and displayed on the display screen, for example, the corresponding writing track is drawn according to the display attributes (thickness, color, line type, etc.) represented by the updated infrared touch data. The writing track is displayed on the display screen, so as to achieve the purpose of displaying different writing handwriting according to different media types of touch objects.
图4提供了一种交互平板的硬件结构示意图,如图4所示,在处理设备中设置有系统层和应用层,其中系统层用于执行数据层面的数据处理,例如对接收到的传感数据的分析处理,应用层用于执行应用层面的数据处理,例如根据应用任务需求进行分析处理,系统层在完成数据处理后,通过数据接口将数据处理结果发送给应用层,应用层再通过数据接口分发给具体的应用,由具体应用进行进一步的处理。对应的,本公开中依次读取缓存的红外触摸数据,根据介质类型更新红外触摸数据的步骤是在系统层进行处理的,而根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹的步骤是在应用层进行处理的。即系统层在完成对红外触摸数据的更新后,将更新后的红外触摸数据上报到应用层中,应用层将更新后的红外触摸数据分发给白板应用,由白板应用执行后续的显示书写轨迹的步骤。更具体的,系统层可运行处理设备的驱动程序,应用层可运行处理设备安装的应用程序,包括前述的白板应用、交互平板的批注应用或者其它书写应用等。驱动程序按照先进先出的顺序,依次读取缓存的红外触摸数据,根据介质类型更新读取出的红外触摸数据,并将更新后的红外触摸数据发送至应用层,应用层再将更新后的红外触摸数据发送给应用程序,应用程序接收到更新后的红外触摸数据后,进行响应,绘制相应的书写轨迹,并在显示屏上进行显示。Figure 4 provides a schematic diagram of the hardware structure of an interactive tablet. As shown in Figure 4, a system layer and an application layer are set in the processing device, wherein the system layer is used to perform data processing at the data level, such as for the received sensor Data analysis and processing, the application layer is used to perform data processing at the application level, such as analysis and processing according to application task requirements. After the system layer completes data processing, it sends the data processing results to the application layer through the data interface, and the application layer passes the data through the data interface. The interface is distributed to a specific application, and further processing is performed by the specific application. Correspondingly, in the present disclosure, the cached infrared touch data is read in sequence, and the step of updating the infrared touch data according to the medium type is processed at the system layer, and the corresponding writing track is displayed on the display screen according to the updated infrared touch data. The steps are handled at the application layer. That is, after the system layer completes the update of the infrared touch data, it reports the updated infrared touch data to the application layer, and the application layer distributes the updated infrared touch data to the whiteboard application, and the whiteboard application executes the subsequent display of the writing track. step. More specifically, the system layer can run the driver of the processing device, and the application layer can run the application installed on the processing device, including the aforementioned whiteboard application, the annotation application of the interactive tablet, or other writing applications. The driver reads the cached infrared touch data in sequence according to the first-in, first-out order, updates the read infrared touch data according to the medium type, and sends the updated infrared touch data to the application layer, which then sends the updated infrared touch data to the application layer. The infrared touch data is sent to the application program, and after the application program receives the updated infrared touch data, it responds, draws a corresponding writing track, and displays it on the display screen.
在具体实现本方案时,预先针对不同的介质类型确定对应的标准触摸参数信息(包括标 准触摸高度信息和标准触摸宽度信息),相应的,根据介质类型更新红外触摸数据,具体包括步骤S10721-S10722:In the specific implementation of this solution, corresponding standard touch parameter information (including standard touch height information and standard touch width information) is determined in advance for different media types, and accordingly, infrared touch data is updated according to the media type, which specifically includes steps S10721-S10722 :
S10721:确定介质类型的标准触摸参数信息。S10721: Determine the standard touch parameter information of the medium type.
S10722:将红外触摸数据的触摸参数信息更新为标准触摸参数信息,得到更新后的红外触摸数据。S10722: Update touch parameter information of the infrared touch data to standard touch parameter information to obtain updated infrared touch data.
具体的,处理设备在接收到介质类型后,确定该介质类型对应的标准触摸参数信息,并将从缓存获取的红外触摸数据中的触摸参数信息更新为标准触摸参数信息,例如将触摸参数信息中的高度信息和宽度信息替换为标准触摸参数信息中的标准触摸高度信息和标准触摸宽度信息,从而得到更新后的红外触摸数据。通过将红外触摸数据中的触摸参数信息更新为介质类型的标准触摸参数信息,后续根据标准触摸参数信息即可确定介质类型,从而显示对应的笔迹或执行相应操作。Specifically, after receiving the medium type, the processing device determines the standard touch parameter information corresponding to the medium type, and updates the touch parameter information in the infrared touch data obtained from the cache to the standard touch parameter information, for example, changing the touch parameter information in the touch parameter information The height information and width information are replaced with the standard touch height information and standard touch width information in the standard touch parameter information, so as to obtain the updated infrared touch data. By updating the touch parameter information in the infrared touch data to the standard touch parameter information of the medium type, the medium type can be subsequently determined according to the standard touch parameter information, so as to display the corresponding handwriting or perform the corresponding operation.
在具体实现本方案时,可根据不同的介质类型设定不同的ID,相应的,根据介质类型更新红外触摸数据,具体包括步骤S10723:In the specific implementation of this solution, different IDs can be set according to different media types, and accordingly, the infrared touch data is updated according to the media type, which specifically includes step S10723:
S10723:将介质类型对应的ID写入红外触摸数据的数据包中,更新红外触摸数据。S10723: Write the ID corresponding to the medium type into the data packet of the infrared touch data, and update the infrared touch data.
具体的,在处理设备中记录有不同介质类型所对应的ID,利用ID来表征不同的介质类型。处理设备在接收到介质类型后,获取该介质类型对应的ID,读取出缓存的红外触摸数据后,将ID写入红外触摸数据中,以更新红外触摸数据。处理设备中的系统层在更新红外触摸数据后,将更新后的红外触摸数据发送给应用层,应用层可读取红外触摸数据中的ID来确定对应的介质类型,从而显示对应的笔迹或执行相应操作,例如通过预先设定的与该ID关联的介质类型的显示属性(颜色、笔迹粗细、线条种类等)绘制相应的笔迹。通过将介质类型对应的ID写入红外触摸数据的方式,不需要对触摸参数信息进行更新,即保留红外触摸数据的触摸面积,而是新增ID来表征介质类型,在根据更新后的红外触摸数据显示书写轨迹时,可根据实际的触摸面积来绘制相应属性的笔迹,书写轨迹的显示更加精确。Specifically, IDs corresponding to different media types are recorded in the processing device, and the IDs are used to represent different media types. After receiving the medium type, the processing device obtains the ID corresponding to the medium type, reads the buffered infrared touch data, and writes the ID into the infrared touch data to update the infrared touch data. After updating the infrared touch data, the system layer in the processing device sends the updated infrared touch data to the application layer, and the application layer can read the ID in the infrared touch data to determine the corresponding medium type, so as to display the corresponding handwriting or execute Corresponding operations, for example, draw the corresponding handwriting through the preset display attributes (color, handwriting thickness, line type, etc.) of the medium type associated with the ID. By writing the ID corresponding to the medium type into the infrared touch data, there is no need to update the touch parameter information, that is, the touch area of the infrared touch data is retained, but an ID is added to characterize the medium type. When the data shows the writing track, the handwriting of the corresponding attribute can be drawn according to the actual touch area, and the display of the writing track is more accurate.
在一个可能的实施例中,书写轨迹的显示属性可基于红外触摸数据进行确定,相应的,根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹,其具体包括步骤S10724:In a possible embodiment, the display attribute of the writing track can be determined based on the infrared touch data. Correspondingly, according to the updated infrared touch data, the corresponding writing track is displayed on the display screen, which specifically includes step S10724:
S10724:读取更新后的红外触摸数据的每帧数据的触摸状态信息、触摸位置信息和触摸参数信息,当触摸状态信息指示触摸状态为触摸移动状态时,根据触摸参数信息对应的显示属性,在触摸位置信息指示的位置,显示相应的书写轨迹。S10724: Read the touch state information, touch position information and touch parameter information of each frame of the updated infrared touch data, when the touch state information indicates that the touch state is a touch movement state, according to the display attribute corresponding to the touch parameter information, in Touch the position indicated by the position information to display the corresponding writing track.
具体的,在应用层中记录有不同的触摸参数所对应的显示属性,显示属性包括在绘制显示书写轨迹时,书写轨迹对应的粗细、颜色、线条种类(虚线、实线、样式等)。例如触摸参数为(5,5)时,对应书写白色笔迹,触摸参数为(3,3)时,对应书写红色笔迹。系统层 在根据介质类型更新红外触摸数据后,将更新后的红外触摸数据上报给需要利用红外触摸数据进行书写轨迹的显示的应用层。应用层持续读取更新后的红外触摸数据,并确定红外触摸数据中每帧数据的触摸状态信息、触摸位置信息和触摸参数信息,从而根据触摸参数信息对应的显示属性,进行书写轨迹的绘制。通过不同介质类型产生不同的触摸参数信息,可快速确定书写轨迹的显示属性,通过不同介质类型的触摸物即可快速实现显示属性的设置,操作过程简洁高效,提高了交互平板的交互效率。Specifically, display attributes corresponding to different touch parameters are recorded in the application layer, and the display attributes include the thickness, color, and line type (dotted line, solid line, style, etc.) corresponding to the writing track when drawing and displaying the writing track. For example, when the touch parameter is (5,5), it corresponds to writing white handwriting, and when the touch parameter is (3,3), it corresponds to writing red handwriting. The system layer, after updating the infrared touch data according to the medium type, reports the updated infrared touch data to the application layer that needs to use the infrared touch data to display the writing track. The application layer continuously reads the updated infrared touch data, and determines the touch state information, touch position information and touch parameter information of each frame of data in the infrared touch data, so as to draw the writing track according to the display attribute corresponding to the touch parameter information. Different touch parameter information is generated by different media types, the display properties of the writing track can be quickly determined, and the display properties can be set quickly by touching objects of different media types. The operation process is simple and efficient, and the interaction efficiency of the interactive tablet is improved.
在一个可能的实施例中,根据持续获取到的红外触摸数据显示书写轨迹,直至未获取到红外触摸数据,相应的,根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹,其具体包括步骤S1065:In a possible embodiment, the writing track is displayed according to the continuously obtained infrared touch data until the infrared touch data is not obtained. Correspondingly, according to the updated infrared touch data, the corresponding writing track is displayed on the display screen. Specifically, step S1065 is included:
S10725:持续获取更新后的红外触摸数据,并根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹,直至确认未获取到红外触摸数据。S10725: Continue to acquire the updated infrared touch data, and display a corresponding writing track on the display screen according to the updated infrared touch data, until it is confirmed that no infrared touch data is acquired.
具体的,系统层在根据介质类型更新红外触摸数据后,将更新后的红外触摸数据上报给需要利用红外触摸数据进行书写轨迹的显示的应用层。应用层持续获取更新后的红外触摸数据,并根据更新后的红外触摸数据在显示屏上显示相应的书写轨迹,直至确定未获取到红外触摸数据,确定本次触控操作已完成。Specifically, after updating the infrared touch data according to the medium type, the system layer reports the updated infrared touch data to the application layer that needs to use the infrared touch data to display the writing track. The application layer continuously acquires the updated infrared touch data, and displays the corresponding writing track on the display screen according to the updated infrared touch data, until it is determined that no infrared touch data is acquired, and the current touch operation is determined to be completed.
在一个可能的实施例中,步骤S107具体为:处理设备接收到介质类型信息后,根据红外触摸数据确定触摸物所操作的控件,并结合触摸物的介质类型,对控件进行响应操作。例如红外触摸数据表征触控位置为批注控件,且处理设备预设设置了不同介质类型的触摸物点击批注控件时,调用不同的批注程序。则红外触摸数据反馈触摸物点击批注控件时,处理设备根据触摸物的介质类型进行响应,调用相应的批注程序。In a possible embodiment, step S107 is specifically as follows: after the processing device receives the medium type information, determines the controls operated by the touch object according to the infrared touch data, and responds to the controls in combination with the medium type of the touch object. For example, the infrared touch data indicates that the touch position is an annotation control, and when the processing device presets touch objects of different media types to click the annotation control, different annotation programs are invoked. Then, when the infrared touch data feedbacks the touch object to click on the annotation control, the processing device responds according to the medium type of the touch object, and calls the corresponding annotation program.
在一个可能的实施例中,弹性波检测装置在将介质类型发送至处理设备后,暂停工作,直到接收到红外触摸框或处理设备发送的红外触摸数据的末帧触摸数据后,清除缓存的弹性波信号,并继续工作。其中,末帧触摸数据中的触摸状态信息指示触摸物的触摸状态为触摸抬起状态。In a possible embodiment, after sending the medium type to the processing device, the elastic wave detection device suspends work until receiving the touch data of the last frame of the infrared touch frame or the infrared touch data sent by the processing device, and clears the buffered elasticity wave signal and continue to work. The touch state information in the touch data of the last frame indicates that the touch state of the touch object is a touch-up state.
具体的,弹性波装置在确定介质类型后,向处理设备上报该介质类型,并在成功上报介质类型后,弹性波检测装置暂停工作,直至接收到红外触摸框或处理设备发送的末帧触摸数据。其中,弹性波检测装置暂停工作可理解为暂停对弹性波信号进行缓存,以及根据首帧触摸数据和弹性波信号,确定触摸物对应的介质类型,并将介质类型发送至处理设备的步骤。Specifically, after determining the medium type, the elastic wave device reports the medium type to the processing device, and after successfully reporting the medium type, the elastic wave detection device suspends work until it receives the touch data of the last frame sent by the infrared touch frame or the processing device. . The suspension of operation of the elastic wave detection device can be understood as the steps of suspending the buffering of the elastic wave signal, and determining the medium type corresponding to the touched object according to the first frame of touch data and the elastic wave signal, and sending the medium type to the processing device.
红外触摸框或处理设备根据红外触摸数据中的触摸状态信息确定是否接收到末帧触摸数据,在触摸状态信息指示触摸物的触摸状态为触摸抬起状态时,确定接收到末帧触摸数据。作为一种实施方式,红外触摸框或处理设备确认接收到红外触摸数据的末帧触摸数据后,向 弹性波检测装置发送末帧触摸数据。The infrared touch frame or the processing device determines whether the touch data of the last frame is received according to the touch state information in the infrared touch data, and determines that the touch data of the last frame is received when the touch state information indicates that the touch state of the touch object is the touch-up state. As an implementation manner, after the infrared touch frame or the processing device confirms that the touch data of the last frame of the infrared touch data is received, it sends the touch data of the last frame to the elastic wave detection device.
弹性波检测装置在确定接收到末帧触摸数据后,清除先前缓存的弹性波信号,并继续工作,即继续对弹性波信号进行缓存,以及根据首帧触摸数据和弹性波信号,确定触摸物对应的介质类型,并将介质类型发送至处理设备的步骤。弹性波检测装置在向处理设备上报介质类型后暂停工作,不再缓存或处理新产生的弹性波信号,过滤干扰信号的影响,避免弹性波检测装置进行不必要的处理步骤,提高处理效率,并在接收到末帧触摸数据之后,清除缓存的弹性波信号后继续工作,以避免对下一次介质类型的确定造成不必要的影响,保证介质类型识别的准确度。After determining that the last frame of touch data is received, the elastic wave detection device clears the previously buffered elastic wave signal and continues to work, that is, continues to buffer the elastic wave signal, and determines the corresponding touch object according to the first frame of touch data and the elastic wave signal. the media type and send the media type to the processing device. The elastic wave detection device suspends work after reporting the medium type to the processing equipment, no longer buffers or processes newly generated elastic wave signals, filters the influence of interference signals, avoids unnecessary processing steps by the elastic wave detection device, improves processing efficiency, and After receiving the touch data of the last frame, continue to work after clearing the buffered elastic wave signal, so as to avoid unnecessary influence on the determination of the next medium type and ensure the accuracy of medium type identification.
图5给出了本公开提供的一种触摸数据处理逻辑图,如图5所示,以处理设备向弹性波检测装置发送首帧触摸数据为例,其中T为触控操作的时间跨度,从TOUCH(T1时刻)到DOWN(T3时刻)之间为触摸物向显示屏接近的时间,假设在这段时间中干扰源产生的震动(从图中T2时刻开始),弹性波检测装置检测到弹性波信号并进行缓存(图中T2时刻到T4时刻),图中TOUCH表示触摸物开始进行触控操作但未进入触控检测区域的时间点,DOWN为触摸物开始进入触控检测区域后,红外触摸框检测到红外触摸数据后上报红外触摸数据的时间点,此时上报的红外触摸数据为首帧触摸数据,同时红外触摸框在T3时刻向处理设备上报首帧触摸数据,由处理设备向弹性波检测装置发送首帧触摸数据(T4时刻),弹性波检测装置在接收到首帧触摸数据后,向处理设备反馈确认收到首帧触摸数据(图中T5时刻)。从DOWN到UP之间(即T1时刻到T12时刻),红外触摸框将持续向处理设备发送红外触摸数据。在实际处理中,红外触摸框检测到红外触摸数据与上报红外触摸数据之间会有若干帧红外触摸数据的时间间隙,红外触摸框计算得到第一帧红外触摸数据后并不会马上上报(避免是灰尘等噪声点),而是会在持续计算得到两帧以上的红外触摸数据后,确定存在真实的触控操作,才会上报红外触摸数据。这里,将上报给处理设备的第一帧红外触摸数据称作首帧红外触摸数据,即首帧红外触摸数据有可能是红外触摸框计算获得的第二帧、第三帧或第四帧红外触摸数据,具体上报哪一帧,由红外触摸框的工作特性确定。Fig. 5 shows a logic diagram of touch data processing provided by the present disclosure. As shown in Fig. 5, taking the processing device sending the first frame of touch data to the elastic wave detection device as an example, where T is the time span of the touch operation, from The time between TOUCH (time T1) and DOWN (time T3) is the time when the touch object approaches the display screen. Assuming the vibration generated by the interference source during this time (starting from time T2 in the figure), the elastic wave detection device detects the elastic The wave signal is buffered (from time T2 to time T4 in the figure). TOUCH in the figure represents the time point when the touch object starts to perform touch operation but does not enter the touch detection area. DOWN is the time when the touch object starts to enter the touch detection area. The time point at which the touch box reports the infrared touch data after detecting the infrared touch data. The infrared touch data reported at this time is the first frame of touch data. At the same time, the infrared touch box reports the first frame of touch data to the processing device at the time of T3, and the processing device sends the data to the elastic wave. The detection device sends the first frame of touch data (time T4), and after receiving the first frame of touch data, the elastic wave detection device feeds back to the processing device to confirm receipt of the first frame of touch data (time T5 in the figure). From DOWN to UP (that is, from time T1 to time T12), the infrared touch frame will continue to send infrared touch data to the processing device. In actual processing, there will be a time gap of several frames of infrared touch data between the infrared touch frame detecting the infrared touch data and reporting the infrared touch data. It is dust and other noise points), but after continuous calculation of more than two frames of infrared touch data, it is determined that there is a real touch operation, and then the infrared touch data is reported. Here, the first frame of infrared touch data reported to the processing device is referred to as the first frame of infrared touch data, that is, the first frame of infrared touch data may be the second, third, or fourth frame of infrared touch data calculated by the infrared touch frame. The data, and which frame to report, is determined by the working characteristics of the infrared touch frame.
弹性波检测装置在接收到首帧触摸数据后,根据首帧触摸数据和弹性波信号确定触摸物对应的介质类型(图中T4时刻到T7时刻),并向处理设备上传介质类型(图中T7时刻),处理设备在接收到介质类型后,可以向弹性波检测装置反馈确认收到介质类型(图中T8时刻)。同时,弹性波检测装置在将介质类型发送至处理设备后,暂停工作。After receiving the first frame of touch data, the elastic wave detection device determines the media type corresponding to the touch object (from T4 to T7 in the figure) according to the first frame of touch data and the elastic wave signal, and uploads the media type to the processing device (T7 in the figure). time), after receiving the medium type, the processing device can feed back to the elastic wave detection device to confirm the received medium type (time T8 in the figure). Meanwhile, the elastic wave detection device suspends work after sending the medium type to the processing equipment.
处理设备在接收到介质类型后,开始对接收到的红外触摸框发送的红外触摸数据进行缓存(图中T9时刻之后的红外触摸数据)。同时,处理设备依次读取缓存的红外触摸数据,根据介质类型更新红外触摸数据(图中T10时刻),并根据更新后的红外触摸数据,在显示屏 上显示相应的书写轨迹(从图中T11时刻开始)。最后,处理设备在接收到红外触摸框上报的末帧触摸数据后(图中T12时刻),向弹性波检测装置发送末帧触摸数据,弹性波检测装置将响应末帧触摸数据清除缓存的弹性波信号,并继续工作。After receiving the medium type, the processing device starts to cache the received infrared touch data sent by the infrared touch frame (infrared touch data after time T9 in the figure). At the same time, the processing device sequentially reads the cached infrared touch data, updates the infrared touch data according to the medium type (time T10 in the figure), and displays the corresponding writing track on the display screen (from T11 in the figure) according to the updated infrared touch data time begins). Finally, after receiving the touch data of the last frame reported by the infrared touch frame (time T12 in the figure), the processing device sends the touch data of the last frame to the elastic wave detection device, and the elastic wave detection device will clear the buffered elastic waves in response to the touch data of the last frame signal and continue working.
图6给出了本公开提供的另一种触摸数据处理逻辑图,如图6所示,以红外触摸框向弹性波检测装置发送首帧触摸数据为例,其余上述触摸数据处理逻辑的区别在于,红外触摸框检测到红外触摸数据中的首帧触摸数据时,直接向弹性波检测装置发送首帧触摸数据,而不是通过处理设备向弹性波检测装置发送(图6中T3时刻和T4时刻、T12时刻和T13时刻在同一时间点上)。红外触摸框检在检测到红外触摸数据中的末帧触摸数据时,直接向弹性波检测装置发送末帧触摸数据,而不是通过处理设备向弹性波检测装置发送。其余时间点的触摸数据处理逻辑可参考上述提供的触摸数据处理逻辑,本处不再赘述。FIG. 6 shows another touch data processing logic diagram provided by the present disclosure. As shown in FIG. 6 , taking the infrared touch frame sending the first frame of touch data to the elastic wave detection device as an example, the difference between the rest of the above touch data processing logic is that , when the infrared touch frame detects the first frame of touch data in the infrared touch data, it directly sends the first frame of touch data to the elastic wave detection device, instead of sending the first frame of touch data to the elastic wave detection device through the processing device (times T3 and T4 in Figure 6, Time T12 and time T13 are at the same time). When the infrared touch frame detection detects the touch data of the last frame in the infrared touch data, it directly sends the touch data of the last frame to the elastic wave detection device, instead of sending it to the elastic wave detection device through the processing device. For the touch data processing logic at other time points, reference may be made to the touch data processing logic provided above, which will not be repeated here.
图7给出了本公开提供的一种触控操作的操作示意图,图8给出了本公开提供的一种书写轨迹的显示示意图。如图7所示,假设以书写笔作为触摸物在显示屏上进行触控操作,图7中箭头方向为书写笔的移动方向。在本次书写操作中,会依次发生落笔事件、书写事件和抬笔事件,对应书写笔在显示屏上的触摸落入状态、触摸移动状态和触摸抬起状态。图8中轨迹A为书写笔的操作轨迹,操作轨迹按照书写笔的移动方向划分为A1、A2和A3,分别对应书写笔在显示屏上的触摸落入状态(对应图5和图6中的DOWN点)、触摸移动状态对应图5和图6中的DOWN点到UP点)和触摸抬起状态对应图5和图6中的UP点)。在落笔的过程中,书写笔未接触到显示屏,弹性波检测装置未能检测到书写笔对显示屏的触碰操作,而在进入书写阶段时,书写笔接触到显示屏,弹性波检测装置检测到弹性波信号。在落笔、移动和抬笔的整个过程中,红外触摸框均能检测到红外触摸数据。弹性波检测装置在A1阶段缓存弹性波信号,并根据弹性波信号和首帧触摸数据确定介质类型并上报给处理设备,并在上报介质类型后停止工作。处理设备在A2阶段根据介质类型和红外触摸数据向显示屏显示书写轨迹。弹性波检测装置在A3阶段接收到末帧触摸数据后清除缓存的弹性波信号并继续工作。最后在显示屏上显示的书写轨迹如图8中轨迹B所示,其中轨迹B划分为B2和B3,分别对应于A2和A3。FIG. 7 is an operation schematic diagram of a touch operation provided by the present disclosure, and FIG. 8 is a display schematic diagram of a writing track provided by the present disclosure. As shown in FIG. 7 , it is assumed that a writing pen is used as a touch object to perform a touch operation on the display screen, and the direction of the arrow in FIG. 7 is the moving direction of the writing pen. In this writing operation, a pen-down event, a writing event and a pen-up event will occur in sequence, corresponding to the touch-down state, the touch-moving state and the touch-up state of the writing pen on the display screen. The track A in FIG. 8 is the operation track of the writing pen, and the operation track is divided into A1, A2 and A3 according to the moving direction of the writing pen, corresponding to the touch drop state of the writing pen on the display screen (corresponding to the DOWN point), the touch moving state corresponds to the DOWN point to the UP point in Figures 5 and 6), and the touch lift state corresponds to the UP point in Figures 5 and 6). During the writing process, the writing pen did not touch the display screen, and the elastic wave detection device failed to detect the touch operation of the writing pen on the display screen. When entering the writing stage, the writing pen touched the display screen, and the elastic wave detection device Elastic wave signal detected. The infrared touch frame can detect infrared touch data during the entire process of pen down, move and up. The elastic wave detection device buffers the elastic wave signal in the A1 stage, determines the medium type according to the elastic wave signal and the first frame of touch data, reports it to the processing device, and stops working after reporting the medium type. The processing device displays the writing track to the display screen according to the medium type and infrared touch data in the A2 stage. After receiving the touch data of the last frame in the A3 stage, the elastic wave detection device clears the buffered elastic wave signal and continues to work. The writing track finally displayed on the display screen is shown as track B in FIG. 8 , wherein track B is divided into B2 and B3, corresponding to A2 and A3 respectively.
可以理解的是,本公开中,处理设备在未接收到弹性波检测装置上报的介质类型时,丢弃接收到的红外触摸数据,不对当前接收到的红外触摸数据进行响应。在未确定介质类型时,不对红外触摸数据进行响应,而是在确定介质类型之后才对红外触摸数据进行响应处理,并且此时缓存到的红外触摸数据可确定是触摸物实际接触到显示屏时产生的红外触摸数据,显示到显示屏上的书写轨迹与触摸物在显示屏上的实际触摸轨迹更接近。并且,由于没有对触摸物实际接触显示屏之前产生的红外触摸数据进行处理,在触摸物接触显示屏的过程中不会 显示书写轨迹,而是在确定介质类型后才显示书写轨迹,在显示书写轨迹时确定触摸物已经接触显示屏,实现书写操作的零书写高度。It can be understood that, in the present disclosure, when the processing device does not receive the medium type reported by the elastic wave detection device, it discards the received infrared touch data and does not respond to the currently received infrared touch data. When the medium type is not determined, the infrared touch data is not responded to, but the infrared touch data is processed only after the medium type is determined, and the infrared touch data cached at this time can be determined to be when the touch object actually touches the display screen. For the generated infrared touch data, the writing track displayed on the display screen is closer to the actual touch track of the touch object on the display screen. In addition, since the infrared touch data generated before the touch object actually touches the display screen is not processed, the writing track will not be displayed when the touch object touches the display screen, but the writing track will be displayed after the medium type is determined. When tracking, it is determined that the touch object has contacted the display screen, and the zero writing height of the writing operation is realized.
上述,通过红外触摸框检测触摸物触摸交互平板的触控检测区域时产生的红外触摸数据,并通过弹性波检测装置检测触摸物接触显示屏时产生的弹性波信号,根据红外触摸数据中的触摸位置信息和/或触摸参数信息,以及弹性波信号确定介质类型,在确定介质类型后开始缓存持续接收到的红外触摸数据,并根据介质类型更新红外触摸数据,根据更新后的红外触摸数据在显示屏上显示相应的书写轨迹,通过结合红外触摸数据和弹性波信号确定介质类型,提高了对触摸物的识别精度,在确定介质类型后才对红外触摸数据进行缓存和响应,显示的书写轨迹与触摸物在显示屏上的实际触摸轨迹更接近,同时,在确定触摸物已经接触显示屏时才显示书写轨迹,而不是在触摸物实际接触显示屏之前(虽然此时触摸物已进入触控检测区域并产生了红外触摸数据)就显示书写轨迹,书写轨迹的显示时机与触摸物接触显示屏的时机更接近,书写轨迹的显示更精准,实现书写操作的零书写高度,并且通过介质类型可快速确定书写轨迹的显示属性,通过不同介质类型的触摸物即可快速实现对显示属性的修改,实现不同显示属性的书写笔迹的差异化显示,操作过程简洁高效,提高了交互平板的交互效率。In the above, the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet is detected by the infrared touch frame, and the elastic wave signal generated when the touch object touches the display screen is detected by the elastic wave detection device. The location information and/or touch parameter information, and the elastic wave signal determine the medium type, start to cache the continuously received infrared touch data after the medium type is determined, and update the infrared touch data according to the medium type, and display the infrared touch data according to the updated infrared touch data. The corresponding writing track is displayed on the screen, and the medium type is determined by combining the infrared touch data and elastic wave signal, which improves the recognition accuracy of the touched object. After the medium type is determined, the infrared touch data is cached and responded to, and the displayed writing track is the same as the one. The actual touch track of the touch object on the display screen is closer, and at the same time, the writing track is displayed when it is determined that the touch object has touched the display screen, rather than before the touch object actually touches the display screen (although the touch object has entered the touch detection at this time). area and generate infrared touch data) to display the writing track, the timing of the display of the writing track is closer to the timing when the touch object touches the display screen, the display of the writing track is more accurate, the zero writing height of the writing operation is realized, and the medium type can quickly The display properties of the writing track are determined, and the display properties can be quickly modified by touching objects of different media types, and the differentiated display of writing handwriting with different display properties is realized. The operation process is simple and efficient, and the interaction efficiency of the interactive tablet is improved.
在一个可能的实施例中,在处理设备接收红外触摸框发送的红外触摸数据或向弹性波检测装置发送首帧触摸数据之后,处理设备在预设时间阈值内等待接收介质类型,相应的,触摸数据处理方法还包括步骤S1081:In a possible embodiment, after the processing device receives the infrared touch data sent by the infrared touch frame or sends the first frame of touch data to the elastic wave detection device, the processing device waits for receiving the medium type within a preset time threshold, correspondingly, the touch The data processing method further includes step S1081:
S1081:处理设备确定在预设时间阈值内,未接收到弹性波检测装置发送的介质类型,直接根据红外触摸数据,在显示屏上显示相应的书写轨迹。S1081: The processing device determines that the medium type sent by the elastic wave detection device has not been received within the preset time threshold, and directly displays the corresponding writing track on the display screen according to the infrared touch data.
具体的,处理设备接收红外触摸框发送的红外触摸数据或向弹性波检测装置发送首帧触摸数据之后,等待弹性波检测装置向其发送介质类型。一般来说,弹性波检测装置接收到红外触摸数据后,结合红外触摸数据获得介质类型并上报到处理设备的时间为13-20ms,因此可以设置一个预设时间阈值(例如20ms)作为等待弹性波检测装置反馈的时间。若处理设备确定在预设时间阈值(例如20ms)内,未接收到弹性波检测装置发送的介质类型,认为该弹性波信号是由干扰源产生的、由于误触产生的误报事件或者是系统或通信出现异常,则直接根据红外触摸数据,在显示屏上显示相应的书写轨迹,即不执行根据介质类型更新红外触摸数据的步骤,而是根据原始的红外触摸数据在显示屏上显示相应的书写轨迹。若处理设备确定在预设时间阈值内接收到介质类型,则执行步骤S107,根据介质类型更新红外触摸数据,并根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹。处理设备在预设时间阈值内未收到弹性波检测装置发送的介质类型时,直接根据红外触摸数据在显示屏上显示书写轨 迹,以避免由于误报事件、系统或通信出现异常而导致无法显示书写轨迹的情况,保证用户的书写体验。Specifically, after receiving the infrared touch data sent by the infrared touch frame or sending the first frame of touch data to the elastic wave detection device, the processing device waits for the elastic wave detection device to send the medium type to it. Generally speaking, after the elastic wave detection device receives the infrared touch data, it takes 13-20ms to obtain the medium type in combination with the infrared touch data and report it to the processing device. Therefore, a preset time threshold (for example, 20ms) can be set as the waiting time for the elastic wave. Detecting device feedback time. If the processing device determines that the medium type sent by the elastic wave detection device is not received within the preset time threshold (for example, 20ms), it is considered that the elastic wave signal is generated by an interference source, a false alarm event caused by a false touch, or a system Or the communication is abnormal, the corresponding writing track is displayed on the display screen directly according to the infrared touch data, that is, the step of updating the infrared touch data according to the medium type is not performed, but the corresponding writing track is displayed on the display screen according to the original infrared touch data. Writing track. If the processing device determines that the medium type is received within the preset time threshold, step S107 is executed to update the infrared touch data according to the medium type, and display the corresponding writing track on the display screen according to the updated infrared touch data. When the processing device does not receive the medium type sent by the elastic wave detection device within the preset time threshold, it directly displays the writing track on the display screen according to the infrared touch data, so as to avoid failure to display due to false alarm events, system or communication abnormalities The situation of the writing track ensures the user's writing experience.
在一个可能的实施例中,在处理设备接收红外触摸框发送的红外触摸数据或向弹性波检测装置发送首帧触摸数据之后,处理设备在预设时间阈值内等待接收介质类型,相应的,触摸数据处理方法还包括步骤S1082:In a possible embodiment, after the processing device receives the infrared touch data sent by the infrared touch frame or sends the first frame of touch data to the elastic wave detection device, the processing device waits for receiving the medium type within a preset time threshold, correspondingly, the touch The data processing method further includes step S1082:
S1082:处理设备确定在预设时间阈值内,未接收到弹性波检测装置发送的介质类型,获取弹性波检测装置上一次发送的介质类型,根据介质类型更新红外触摸数据,并根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹。S1082: The processing device determines that the medium type sent by the elastic wave detection device has not been received within the preset time threshold, obtains the medium type last sent by the elastic wave detection device, updates the infrared touch data according to the medium type, and updates the infrared touch data according to the updated infrared Touch the data to display the corresponding writing track on the display.
具体的,处理设备接收红外触摸框发送的红外触摸数据或向弹性波检测装置发送首帧触摸数据之后,等待弹性波检测装置向其发送介质类型。若处理设备确定在预设时间阈值(例如20ms)内,未接收到弹性波检测装置发送的介质类型,认为弹性波检测装置发生误报事件或者是系统或通信出现异常,则获取弹性波检测装置上一次发送的介质类型,根据介质类型更新红外触摸数据,并根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹,此时书写轨迹的显示属性与上一次触控操作的显示属性相同。若处理设备确定在预设时间阈值内接收到介质类型,则执行步骤S107,根据介质类型更新红外触摸数据,并根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹。处理设备在预设时间阈值内未收到弹性波检测装置发送的介质类型时,根据红外触摸数据以及上一次的介质类型,在显示屏上显示书写轨迹,以避免由于误报事件、系统或通信出现异常而导致无法显示书写轨迹的情况,保证用户的书写体验。Specifically, after receiving the infrared touch data sent by the infrared touch frame or sending the first frame of touch data to the elastic wave detection device, the processing device waits for the elastic wave detection device to send the medium type to it. If the processing device determines that the medium type sent by the elastic wave detection device has not been received within a preset time threshold (for example, 20ms), it is considered that a false alarm event occurred in the elastic wave detection device or the system or communication is abnormal, and the elastic wave detection device is obtained. The media type sent last time, update the infrared touch data according to the media type, and display the corresponding writing track on the display screen according to the updated infrared touch data. At this time, the display properties of the writing track are the same as the display properties of the last touch operation. same. If the processing device determines that the medium type is received within the preset time threshold, step S107 is executed to update the infrared touch data according to the medium type, and display the corresponding writing track on the display screen according to the updated infrared touch data. When the processing device does not receive the medium type sent by the elastic wave detection device within the preset time threshold, according to the infrared touch data and the last medium type, the writing track is displayed on the display screen to avoid false alarm events, system or communication If an exception occurs, the writing track cannot be displayed, so as to ensure the user's writing experience.
在一个可能的实施例中,本公开提供的触摸数据处理方法还包括:In a possible embodiment, the touch data processing method provided by the present disclosure further includes:
S109:处理设备接收到介质类型信息之前,对接收到的红外触摸数据进行响应。S109: Before receiving the medium type information, the processing device responds to the received infrared touch data.
处理设备在接收到弹性波检测装置发送的介质类型之前,不对后续红外触摸数据进行处理,而是直接对接收到的红外触摸数据进行响应,例如直接获取缓存的红外触摸数据在显示屏上显示相应的书写轨迹,在接收到弹性波检测装置发送的介质类型之前,不需要对红外触摸数据进行更新,而是直接根据红外触摸数据在显示屏上显示相应的书写轨迹,直至接收到介质类型,再根据介质类型对红外触摸进行更新,保证对红外触摸数据的正常响应,实现对弹性波检测装置之间的通信异常时,无法正常显示书写轨迹的纠错。Before receiving the medium type sent by the elastic wave detection device, the processing device does not process the subsequent infrared touch data, but directly responds to the received infrared touch data, for example, directly obtains the cached infrared touch data and displays the corresponding data on the display screen. Before receiving the medium type sent by the elastic wave detection device, it is not necessary to update the infrared touch data, but directly display the corresponding writing trajectory on the display screen according to the infrared touch data until the medium type is received, and then The infrared touch is updated according to the medium type, to ensure the normal response to the infrared touch data, and to realize the error correction of the failure to display the writing track normally when the communication between the elastic wave detection devices is abnormal.
在上述实施例的基础上,图9给出了本公开提供的另一种触摸数据处理方法的流程图,该触摸数据处理方法是对上述触摸数据处理方法的具体化。参考图9,该触摸数据处理方法包括:On the basis of the above-mentioned embodiment, FIG. 9 shows a flowchart of another touch data processing method provided by the present disclosure, and the touch data processing method is an embodiment of the above-mentioned touch data processing method. Referring to FIG. 9, the touch data processing method includes:
S201:红外触摸框检测到红外触摸数据,红外触摸数据由触摸物在交互平板的触控检测区域进行触控操作时产生。S201: The infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in a touch detection area of the interactive tablet.
S202:弹性波检测装置检测到弹性波信号;弹性波信号由触摸物接触交互平板的显示屏时生成。S202: The elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet.
S203:处理设备接收红外触摸框发送的红外触摸数据。S203: The processing device receives the infrared touch data sent by the infrared touch frame.
S204:弹性波检测装置接收到红外触摸数据的首帧触摸数据后,根据首帧触摸数据和弹性波信号,确定触摸物对应的介质类型,并将介质类型发送至处理设备;其中,红外触摸数据的首帧触摸数据由红外触摸框或处理设备发送至弹性波检测装置。S204: After receiving the first frame of touch data of the infrared touch data, the elastic wave detection device determines the medium type corresponding to the touch object according to the first frame of touch data and the elastic wave signal, and sends the medium type to the processing device; wherein, the infrared touch data The first frame of touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device.
S205:处理设备接收到介质类型信息后,开始对接收到的红外触摸框发送的红外触摸数据进行缓存。S205: After receiving the medium type information, the processing device starts to cache the received infrared touch data sent by the infrared touch frame.
S206:处理设备依次读取缓存的红外触摸数据,根据介质类型更新红外触摸数据,并根据更新后的红外触摸数据,在显示屏上显示相应的书写轨迹。S206: The processing device sequentially reads the buffered infrared touch data, updates the infrared touch data according to the medium type, and displays a corresponding writing track on the display screen according to the updated infrared touch data.
S207:处理设备接收到弹性波检测装置发送的第二介质类型后,依次读取缓存的红外触摸数据,根据第二介质类型更新红外触摸数据,并根据更新后的红外触摸数据,擦除红外触摸数据对应的书写轨迹。S207: After receiving the second medium type sent by the elastic wave detection device, the processing device sequentially reads the cached infrared touch data, updates the infrared touch data according to the second medium type, and erases the infrared touch data according to the updated infrared touch data The writing track corresponding to the data.
具体的,本公开提供的交互平板配置有书写笔,该书写笔包括笔尖和笔尾,其中笔尖的介质类型为第一介质类型,笔尾的介质类型为第二介质类型。一般的,可认为利用笔尖进行的触控操作为在显示屏上进行的书写操作,而利用笔尾进行的触控操作来作为在显示屏上进行的擦除操作。Specifically, the interactive tablet provided by the present disclosure is configured with a writing pen, the writing pen includes a pen tip and a pen tail, wherein the media type of the pen tip is the first media type, and the media type of the pen tail is the second media type. Generally, the touch operation performed with the tip of the pen can be considered as a writing operation performed on the display screen, and the touch operation performed with the tail of the pen can be considered as an erase operation performed on the display screen.
处理设备接收红外触摸框发送的红外触摸数据或向弹性波检测装置发送首帧触摸数据之后,等待弹性波检测装置向其发送介质类型。弹性波检测装置读取缓存的弹性波信号,进而结合红外触摸框或处理设备向其发送的首帧触摸数据,确定触摸物对应的介质类型。在触摸物为书写笔的笔尖时,弹性波检测装置向处理设备发送的介质类型为第一介质类型,执行前述步骤206,在触摸物为书写笔的笔笔尾时,向处理设备发送的介质类型为第二介质类,执行前述步骤207。After receiving the infrared touch data sent by the infrared touch frame or sending the first frame of touch data to the elastic wave detection device, the processing device waits for the elastic wave detection device to send the medium type to it. The elastic wave detection device reads the buffered elastic wave signal, and then determines the medium type corresponding to the touched object in combination with the first frame of touch data sent to it by the infrared touch frame or the processing device. When the touch object is the tip of a writing pen, the medium type sent by the elastic wave detection device to the processing device is the first medium type, and the aforementioned step 206 is performed, and when the touch object is the pen end of the writing pen, the medium sent to the processing device is The type is the second medium type, and the foregoing step 207 is performed.
处理设备接收到弹性波检测装置发送的第一介质类型后,将根据第一介质类型更新红外触摸数据,并根据更新后的红外触摸数据在显示屏上显示相应的书写轨迹。而处理设备接收到弹性波检测装置发送的第二介质类型后,依次读取缓存的红外触摸数据,根据第二介质类型更新红外触摸数据,并根据更新后的红外触摸数据,擦除显示屏上红外触摸数据对应的书写轨迹。对于应用层来说,不同的触摸参数信息关联不同的显示属性,笔尾进行书写时,可以理解成显示属性为消除笔迹,通过预先设定笔尾的标准触摸参数信息并在应用层进行设定, 则应用层在接收到表征笔尾的操作的红外触摸数据时,将对应擦除相应的书写笔迹。After receiving the first medium type sent by the elastic wave detection device, the processing device will update the infrared touch data according to the first medium type, and display the corresponding writing track on the display screen according to the updated infrared touch data. After receiving the second medium type sent by the elastic wave detection device, the processing device sequentially reads the cached infrared touch data, updates the infrared touch data according to the second medium type, and erases the display screen according to the updated infrared touch data. The writing track corresponding to the infrared touch data. For the application layer, different touch parameter information is associated with different display attributes. When the pen tail is writing, it can be understood that the display attribute is to eliminate handwriting. By presetting the standard touch parameter information of the pen tail and setting it in the application layer , then the application layer will correspondingly erase the corresponding handwriting when receiving the infrared touch data representing the operation of the pen tail.
书写笔的笔头和笔尾分别由不同的触碰介质类型对应的材料制成。基于不同部位的不同介质类型,一支书写笔的不同位置的操作可以在某些情况下直接完成对应的触控操作,而不需要通过在触控检测区域通过对功能控件多次操作才能命中需要触发的控制操作。适应于用户纸质书写时的操作习惯,在本方案中将笔头和笔尾的介质类型分别对应为不同的触控操作,例如表征笔头的第一介质类型对应为书写轨迹同步输入的书写操作,表征笔尾的第二介质类型对应为对已有书写轨迹进行修正的擦除操作。当然,通过特定轨迹的触控操作或对特定区域的触控操作,笔头和笔尾也可以对应为触控控制操作。The head and tail of the writing pen are respectively made of materials corresponding to different types of touch media. Based on different media types in different parts, the operation of a writing pen at different positions can directly complete the corresponding touch operation in some cases, without the need to operate the function control multiple times in the touch detection area to hit the desired Triggered control action. Adapting to the user's operating habits when writing on paper, in this solution, the media types of the pen head and the pen tail are respectively corresponding to different touch operations. The second medium type characterizing the end of the pen corresponds to an erasing operation that corrects the existing writing track. Of course, through a touch operation on a specific track or a touch operation on a specific area, the pen head and the pen tail can also correspond to touch control operations.
上述,通过红外触摸框检测触摸物触摸交互平板的触控检测区域时产生的红外触摸数据,并通过弹性波检测装置检测触摸物接触显示屏时产生的弹性波信号,根据红外触摸数据中的触摸位置信息和/或触摸参数信息,以及弹性波信号确定介质类型,通过结合红外触摸数据和弹性波信号确定介质类型,提高了对触摸物的识别精度,而且将包含触摸物的介质类型的介质类型信息发送到处理设备,使得处理设备根据介质类型,启动对接收到的红外触摸数据的响应,从而处理设备可以根据触摸物的不同的介质类型执行不同的响应操作,操作简单,效率较高。而且处理设备在接收到介质类型之后才启动对接收到的红外触摸数据进行处理及响应,忽略在触摸物接触显示屏之前产生的红外触摸数据,只处理触摸物接触显示屏之后产生红外触摸数据,对红外触摸数据进行处理及响应的时机与触摸物接触显示屏的位置与时机保持一致,用户的触控操作得到更准确的反馈,例如用户采用触摸物在显示屏上进行书写操作时,显示书写轨迹的位置及时机与触摸物接触显示屏的位置与时机保持一致,实现书写的零高度,并且通过介质类型可快速确定书写轨迹的显示属性,通过不同介质类型的触摸物即可快速实现对显示属性的修改,实现不同显示属性的书写笔迹的差异化显示,操作过程简洁高效,提高了交互平板的交互效率。In the above, the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet is detected by the infrared touch frame, and the elastic wave signal generated when the touch object touches the display screen is detected by the elastic wave detection device. The location information and/or touch parameter information, and the elastic wave signal determine the medium type. By combining the infrared touch data and the elastic wave signal to determine the medium type, the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included. The information is sent to the processing device, so that the processing device can initiate a response to the received infrared touch data according to the medium type, so that the processing device can perform different response operations according to different media types of the touched object, with simple operation and high efficiency. Moreover, the processing device starts to process and respond to the received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen. The timing of processing and responding to infrared touch data is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback. For example, when the user uses the touch object to write on the display screen, the writing The position and timing of the track are consistent with the position and timing of the touch object touching the display screen to achieve zero height of writing, and the display properties of the writing track can be quickly determined by the medium type, and the display can be quickly realized by touching objects of different media types. The modification of attributes realizes the differentiated display of writing handwriting with different display attributes, the operation process is simple and efficient, and the interactive efficiency of the interactive tablet is improved.
图10给出了本公开提供的一种交互平板的结构框图。参考图10,该交互平板可用于执行图2实施例中的触摸数据处理方法,该交互平板包括显示屏、处理设备、红外触摸框和弹性波检测装置,红外触摸框设置于显示屏的四周以形成交互平板的触控检测区域,显示屏、红外触摸框和弹性波检测装置均与处理设备连接。FIG. 10 is a structural block diagram of an interactive tablet provided by the present disclosure. Referring to FIG. 10 , the interactive tablet can be used to execute the touch data processing method in the embodiment of FIG. 2 . The interactive tablet includes a display screen, a processing device, an infrared touch frame and an elastic wave detection device. The infrared touch frame is arranged around the display screen to The touch detection area of the interactive tablet is formed, and the display screen, the infrared touch frame and the elastic wave detection device are all connected with the processing equipment.
红外触摸框,用于检测红外触摸数据,向处理设备发送红外触摸数据,其中,红外触摸数据由触摸物在交互平板的触控检测区域进行触控操作时产生,红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame is used to detect infrared touch data and send the infrared touch data to the processing device, wherein the infrared touch data is generated when the touch object performs a touch operation in the touch detection area of the interactive tablet, and the infrared touch data includes touch position information and / or touch parameter information;
弹性波检测装置,用于检测弹性波信号,其中,弹性波信号由触摸物接触交互平板的显 示屏时生成;以及an elastic wave detection device for detecting an elastic wave signal, wherein the elastic wave signal is generated when a touch object contacts the display screen of the interactive tablet; and
在接收到处理设备发送的红外触摸数据后,根据红外触摸数据的触摸位置信息和/或触摸参数信息,以及弹性波信号,确定触摸物对应的介质类型,并向处理设备发送介质类型信息,介质类型信息包括触摸物对应的介质类型;After receiving the infrared touch data sent by the processing device, according to the touch position information and/or touch parameter information of the infrared touch data, as well as the elastic wave signal, determine the medium type corresponding to the touch object, and send the medium type information to the processing device. The type information includes the media type corresponding to the touch object;
处理设备,用于:Processing equipment for:
接收红外触摸框发送的红外触摸数据,向弹性波检测装置发送红外触摸数据;以及receiving infrared touch data sent by the infrared touch frame, and sending the infrared touch data to the elastic wave detection device; and
接收弹性波检测装置发送的介质类型信息。Receive the medium type information sent by the elastic wave detection device.
上述,通过红外触摸框检测触摸物触摸交互平板的触控检测区域时产生的红外触摸数据,并通过弹性波检测装置检测触摸物接触显示屏时产生的弹性波信号,根据红外触摸数据中的触摸位置信息和/或触摸参数信息,以及弹性波信号确定介质类型,通过结合红外触摸数据和弹性波信号确定介质类型,提高了对触摸物的识别精度,而且将包含触摸物的介质类型的介质类型信息发送到处理设备,使得处理设备根据介质类型,启动对接收到的红外触摸数据的响应,从而处理设备可以根据触摸物的不同的介质类型执行不同的响应操作,操作简单,效率较高。而且处理设备在接收到介质类型之后才启动对接收到的红外触摸数据进行处理及响应,忽略在触摸物接触显示屏之前产生的红外触摸数据,只处理触摸物接触显示屏之后产生红外触摸数据,对红外触摸数据进行处理及响应的时机与触摸物接触显示屏的位置与时机保持一致,用户的触控操作得到更准确的反馈,例如用户采用触摸物在显示屏上进行书写操作时,显示书写轨迹的位置及时机与触摸物接触显示屏的位置与时机保持一致,实现书写的零高度,并且通过介质类型可快速确定书写轨迹的显示属性,通过不同介质类型的触摸物即可快速实现对显示属性的修改,实现不同显示属性的书写笔迹的差异化显示,操作过程简洁高效,提高了交互平板的交互效率。本方案提供的交互平板的具体技术细节和技术效果可参照前述实施例(例如图2实施例中的触摸数据处理方法),本公开不再赘述。In the above, the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet is detected by the infrared touch frame, and the elastic wave signal generated when the touch object touches the display screen is detected by the elastic wave detection device. The location information and/or touch parameter information, and the elastic wave signal determine the medium type. By combining the infrared touch data and the elastic wave signal to determine the medium type, the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included. The information is sent to the processing device, so that the processing device can initiate a response to the received infrared touch data according to the medium type, so that the processing device can perform different response operations according to different media types of the touched object, with simple operation and high efficiency. Moreover, the processing device starts to process and respond to the received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen. The timing of processing and responding to infrared touch data is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback. For example, when the user uses the touch object to write on the display screen, the writing The position and timing of the track are consistent with the position and timing of the touch object touching the display screen to achieve zero height of writing, and the display properties of the writing track can be quickly determined by the medium type, and the display can be quickly realized by touching objects of different media types. The modification of attributes realizes the differentiated display of writing handwriting with different display attributes, the operation process is simple and efficient, and the interactive efficiency of the interactive tablet is improved. For the specific technical details and technical effects of the interactive tablet provided by this solution, reference may be made to the foregoing embodiments (eg, the touch data processing method in the embodiment of FIG. 2 ), which will not be repeated in this disclosure.
图11给出了本公开提供的一种交互平板的结构框图。参考图11,该交互平板可用于执行图9实施例中的触摸数据处理方法,该交互平板包括显示屏、处理设备、红外触摸框和弹性波检测装置,红外触摸框设置于显示屏的四周以形成交互平板的触控检测区域,显示屏、红外触摸框和弹性波检测装置均与处理设备连接,红外触摸框与弹性波检测装置连接。FIG. 11 is a structural block diagram of an interactive tablet provided by the present disclosure. Referring to FIG. 11 , the interactive tablet can be used to execute the touch data processing method in the embodiment of FIG. 9 , the interactive tablet includes a display screen, a processing device, an infrared touch frame and an elastic wave detection device, and the infrared touch frame is arranged around the display screen to The touch detection area of the interactive tablet is formed, the display screen, the infrared touch frame and the elastic wave detection device are all connected with the processing equipment, and the infrared touch frame is connected with the elastic wave detection device.
红外触摸框,用于检测红外触摸数据,向弹性波检测装置发送红外触摸数据,以及向处理设备发送红外触摸数据,其中,红外触摸数据由触摸物在交互平板的触控检测区域进行触控操作时产生,红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame is used to detect infrared touch data, send the infrared touch data to the elastic wave detection device, and send the infrared touch data to the processing device, wherein the infrared touch data is touched by the touch object in the touch detection area of the interactive tablet When generated, the infrared touch data includes touch position information and/or touch parameter information;
弹性波检测装置,用于检测弹性波信号,弹性波信号由触摸物接触交互平板的显示屏时 生成;以及an elastic wave detection device for detecting elastic wave signals, the elastic wave signals are generated when a touch object touches the display screen of the interactive tablet; and
在接收到红外触摸框发送的红外触摸数据后,根据红外触摸数据的触摸位置信息和/或触摸参数信息,以及弹性波信号,确定触摸物对应的介质类型,并向处理设备发送介质类型信息,介质类型信息包括触摸物对应的介质类型;After receiving the infrared touch data sent by the infrared touch frame, according to the touch position information and/or touch parameter information of the infrared touch data, and the elastic wave signal, determine the medium type corresponding to the touch object, and send the medium type information to the processing device, The medium type information includes the medium type corresponding to the touch object;
处理设备,用于:Processing equipment for:
接收红外触摸框发送的红外触摸数据;以及Receive infrared touch data sent by the infrared touch frame; and
接收弹性波检测装置发送的介质类型信息。Receive the medium type information sent by the elastic wave detection device.
上述,通过红外触摸框检测触摸物触摸交互平板的触控检测区域时产生的红外触摸数据,并通过弹性波检测装置检测触摸物接触显示屏时产生的弹性波信号,根据红外触摸数据中的触摸位置信息和/或触摸参数信息,以及弹性波信号确定介质类型,通过结合红外触摸数据和弹性波信号确定介质类型,提高了对触摸物的识别精度,而且将包含触摸物的介质类型的介质类型信息发送到处理设备,使得处理设备根据介质类型,启动对接收到的红外触摸数据的响应,从而处理设备可以根据触摸物的不同的介质类型执行不同的响应操作,操作简单,效率较高。而且处理设备在接收到介质类型之后才启动对接收到的红外触摸数据进行处理及响应,忽略在触摸物接触显示屏之前产生的红外触摸数据,只处理触摸物接触显示屏之后产生红外触摸数据,对红外触摸数据进行处理及响应的时机与触摸物接触显示屏的位置与时机保持一致,用户的触控操作得到更准确的反馈,例如用户采用触摸物在显示屏上进行书写操作时,显示书写轨迹的位置及时机与触摸物接触显示屏的位置与时机保持一致,实现书写的零高度,且通过介质类型可快速确定书写轨迹的显示属性,通过不同介质类型的触摸物即可快速实现对显示属性的修改,实现不同显示属性的书写笔迹的差异化显示,操作过程简洁高效,提高了交互平板的交互效率。本方案提供的交互平板的具体技术细节和技术效果可参照前述实施例(例如图9实施例中的触摸数据处理方法),本公开不再赘述。In the above, the infrared touch data generated when the touch object touches the touch detection area of the interactive tablet is detected by the infrared touch frame, and the elastic wave signal generated when the touch object touches the display screen is detected by the elastic wave detection device. The location information and/or touch parameter information, and the elastic wave signal determine the medium type. By combining the infrared touch data and the elastic wave signal to determine the medium type, the recognition accuracy of the touch object is improved, and the medium type of the medium type of the touch object is included. The information is sent to the processing device, so that the processing device can initiate a response to the received infrared touch data according to the medium type, so that the processing device can perform different response operations according to different media types of the touched object, with simple operation and high efficiency. Moreover, the processing device starts to process and respond to the received infrared touch data after receiving the medium type, ignores the infrared touch data generated before the touch object touches the display screen, and only processes the infrared touch data generated after the touch object touches the display screen. The timing of processing and responding to infrared touch data is consistent with the position and timing of the touch object touching the display screen, and the user's touch operation gets more accurate feedback. For example, when the user uses the touch object to write on the display screen, the writing The position and timing of the track are consistent with the position and timing of the touch object touching the display screen to achieve zero height of writing, and the display properties of the writing track can be quickly determined by the medium type, and the display can be quickly realized by touching objects of different media types. The modification of attributes realizes the differentiated display of writing handwriting with different display attributes, the operation process is simple and efficient, and the interactive efficiency of the interactive tablet is improved. For the specific technical details and technical effects of the interactive tablet provided by this solution, reference may be made to the foregoing embodiments (eg, the touch data processing method in the embodiment of FIG. 9 ), which will not be repeated in this disclosure.
本公开还提供一种包含计算机可执行指令的可读存储介质,计算机可执行指令在由计算机处理器执行时用于执行如上述实施例提供的触摸数据处理方法。The present disclosure also provides a readable storage medium containing computer-executable instructions, when executed by a computer processor, the computer-executable instructions are used to execute the touch data processing method provided by the above embodiments.
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网) 连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROMs, floppy disks, or tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (eg, in different computer systems connected by a network). The storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors.
当然,本公开所提供的一种包含计算机可执行指令的可读存储介质,其计算机可执行指令不限于如上的触摸数据处理方法,还可以执行本公开任意实施例所提供的触摸数据处理方法中的相关操作。Of course, a readable storage medium containing computer-executable instructions provided by the present disclosure is not limited to the above-mentioned touch data processing method, and can also execute any of the touch data processing methods provided in any embodiment of the present disclosure. related operations.
上述实施例中提供的交互平板及存储介质可执行本公开任意实施例所提供的触摸数据处理方法,未在上述实施例中详尽描述的技术细节,可参见本公开任意实施例所提供的触摸数据处理方法。The interactive tablet and storage medium provided in the above embodiments can perform the touch data processing method provided by any embodiment of the present disclosure. For technical details not described in detail in the above embodiments, please refer to the touch data provided by any embodiment of the present disclosure. Approach.
上述仅为本公开的较佳实施例及所运用的技术原理。本公开不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本公开的保护范围。因此,虽然通过以上实施例对本公开进行了较为详细的说明,但是本公开不仅仅限于以上实施例,在不脱离本公开构思的情况下,还可以包括更多其他等效实施例,而本公开的范围由权利要求的范围决定。The above are only the preferred embodiments of the present disclosure and the applied technical principles. The present disclosure is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present disclosure. Therefore, although the present disclosure has been described in detail through the above embodiments, the present disclosure is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present disclosure. The scope is determined by the scope of the claims.

Claims (34)

  1. 一种触摸数据处理方法,应用于交互平板,所述交互平板包括显示屏、处理设备和红外触摸框,所述交互平板还包括弹性波检测装置,所述方法包括:A touch data processing method is applied to an interactive tablet, the interactive tablet includes a display screen, a processing device and an infrared touch frame, the interactive tablet further includes an elastic wave detection device, and the method includes:
    所述红外触摸框检测到红外触摸数据,所述红外触摸数据由触摸物在所述交互平板的触控检测区域进行触控操作时产生;所述红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in the touch detection area of the interactive tablet; the infrared touch data includes touch position information and/or touch parameters information;
    所述处理设备接收所述红外触摸框发送的所述红外触摸数据;The processing device receives the infrared touch data sent by the infrared touch frame;
    所述弹性波检测装置接收到所述红外触摸数据,其中,所述红外触摸数据由所述红外触摸框或所述处理设备发送至所述弹性波检测装置;The elastic wave detection device receives the infrared touch data, wherein the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device;
    所述弹性波检测装置检测到弹性波信号;所述弹性波信号由所述触摸物接触所述交互平板的显示屏时生成;The elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet;
    所述弹性波检测装置根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型;The elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal;
    所述弹性波检测装置向所述处理设备发送介质类型信息,所述介质类型信息包括所述触摸物对应的介质类型。The elastic wave detection apparatus sends medium type information to the processing device, where the medium type information includes a medium type corresponding to the touch object.
  2. 一种触摸数据处理方法,应用于交互平板,所述交互平板包括显示屏、处理设备和红外触摸框,所述交互平板还包括弹性波检测装置,所述方法包括:A touch data processing method is applied to an interactive tablet, the interactive tablet includes a display screen, a processing device and an infrared touch frame, the interactive tablet further includes an elastic wave detection device, and the method includes:
    所述红外触摸框检测到红外触摸数据,所述红外触摸数据由触摸物在所述交互平板的触控检测区域进行触控操作时产生;所述红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in the touch detection area of the interactive tablet; the infrared touch data includes touch position information and/or touch parameters information;
    所述处理设备接收所述红外触摸框发送的所述红外触摸数据;The processing device receives the infrared touch data sent by the infrared touch frame;
    所述弹性波检测装置接收到所述红外触摸数据,其中,所述红外触摸数据由所述红外触摸框或所述处理设备发送至所述弹性波检测装置;The elastic wave detection device receives the infrared touch data, wherein the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device;
    所述弹性波检测装置检测到弹性波信号;所述弹性波信号由所述触摸物接触所述交互平板的显示屏时生成;The elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet;
    所述弹性波检测装置根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型;The elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal;
    所述弹性波检测装置向所述处理设备发送介质类型信息,所述介质类型信息包括所述触摸物对应的介质类型;The elastic wave detection device sends medium type information to the processing device, where the medium type information includes a medium type corresponding to the touch object;
    所述处理设备接收到所述介质类型信息后,启动对接收到的所述红外触摸数据的响应。After receiving the medium type information, the processing device starts a response to the received infrared touch data.
  3. 一种触摸数据处理方法,应用于交互平板,所述交互平板包括显示屏、处理设备和红外触摸框,所述交互平板还包括弹性波检测装置,所述方法包括:A touch data processing method is applied to an interactive tablet, the interactive tablet includes a display screen, a processing device and an infrared touch frame, the interactive tablet further includes an elastic wave detection device, and the method includes:
    所述红外触摸框检测到红外触摸数据,所述红外触摸数据由触摸物在所述交互平板的触控检测区域进行触控操作时产生;所述红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame detects infrared touch data, and the infrared touch data is generated when a touch object performs a touch operation in the touch detection area of the interactive tablet; the infrared touch data includes touch position information and/or touch parameters information;
    所述处理设备接收所述红外触摸框发送的所述红外触摸数据;The processing device receives the infrared touch data sent by the infrared touch frame;
    所述弹性波检测装置接收到所述红外触摸数据,其中,所述红外触摸数据由所述红外触摸框或所述处理设备发送至所述弹性波检测装置;The elastic wave detection device receives the infrared touch data, wherein the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device;
    所述弹性波检测装置检测到弹性波信号;所述弹性波信号由所述触摸物接触所述交互平板的显示屏时生成;The elastic wave detection device detects an elastic wave signal; the elastic wave signal is generated when the touch object contacts the display screen of the interactive tablet;
    所述弹性波检测装置根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型;The elastic wave detection device determines the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal;
    所述弹性波检测装置向所述处理设备发送介质类型信息,所述介质类型信息包括所述触摸物对应的介质类型;The elastic wave detection device sends medium type information to the processing device, where the medium type information includes a medium type corresponding to the touch object;
    所述处理设备接收到所述介质类型信息之前,对接收到的所述红外触摸数据进行响应;The processing device responds to the received infrared touch data before receiving the medium type information;
    所述处理设备接收到所述介质类型信息后,启动对接收到的所述红外触摸数据的响应。After receiving the medium type information, the processing device starts a response to the received infrared touch data.
  4. 根据权利要求2或3所述的触摸数据处理方法,其中,所述处理设备接收到所述介质类型信息后,启动对接收到的所述红外触摸数据的响应,其具体为:The touch data processing method according to claim 2 or 3, wherein after receiving the medium type information, the processing device starts a response to the received infrared touch data, which is specifically:
    所述处理设备接收到所述介质类型信息后,启动对接收到的所述红外触摸数据的响应,输出与所述触摸物的介质类型相关联的响应结果。After receiving the medium type information, the processing device starts a response to the received infrared touch data, and outputs a response result associated with the medium type of the touch object.
  5. 根据权利要求4所述的触摸数据处理方法,其中,所述处理设备接收到所述介质类型信息后,启动对接收到的所述红外触摸数据的响应,输出与所述触摸物的介质类型相关联的响应结果,包括:The touch data processing method according to claim 4, wherein after receiving the medium type information, the processing device starts a response to the received infrared touch data, and outputs an output related to the medium type of the touch object The response results of the link, including:
    所述处理设备接收到所述介质类型信息后,根据所述介质类型,启动对接收到的所述红外触摸数据进行更新;After receiving the medium type information, the processing device starts to update the received infrared touch data according to the medium type;
    所述处理设备根据更新后的所述红外触摸数据,在所述显示屏上显示相应的书写轨迹。The processing device displays a corresponding writing track on the display screen according to the updated infrared touch data.
  6. 根据权利要求4所述的触摸数据处理方法,其中,所述处理设备接收到所述介质类型信息后,启动对接收到的所述红外触摸数据的响应,输出与所述触摸物的介质类型相关联的响应结果,包括:The touch data processing method according to claim 4, wherein after receiving the medium type information, the processing device starts a response to the received infrared touch data, and outputs an output related to the medium type of the touch object The response results of the link, including:
    所述处理设备接收到所述介质类型信息后,根据所述红外触摸数据确定所述触摸物所操作的控件,并结合所述触摸物的介质类型,对所述控件进行响应操作。After receiving the medium type information, the processing device determines the control operated by the touch object according to the infrared touch data, and responds to the control in combination with the medium type of the touch object.
  7. 根据权利要求1至3任一项所述的触摸数据处理方法,其中,所述红外触摸数据还包括触摸状态信息。The touch data processing method according to any one of claims 1 to 3, wherein the infrared touch data further includes touch state information.
  8. 根据权利要求7所述的触摸数据处理方法,其中,所述弹性波检测装置接收到所述红外触摸数据,其中,所述红外触摸数据由所述红外触摸框或所述处理设备发送至所述弹性波检测装置;具体为:The touch data processing method according to claim 7, wherein the elastic wave detection device receives the infrared touch data, wherein the infrared touch data is sent by the infrared touch frame or the processing device to the Elastic wave detection device; specifically:
    所述弹性波检测装置接收到所述红外触摸数据的首帧触摸数据,其中,所述红外触摸数据的首帧触摸数据由所述红外触摸框或所述处理设备发送至所述弹性波检测装置;所述首帧触摸数据中的触摸状态信息指示所述触摸物的触摸状态为触摸落入状态。The elastic wave detection device receives the first frame of touch data of the infrared touch data, wherein the first frame of touch data of the infrared touch data is sent to the elastic wave detection device by the infrared touch frame or the processing device ; The touch state information in the first frame of touch data indicates that the touch state of the touch object is a touch falling state.
  9. 根据权利要求7所述的触摸数据处理方法,其中,所述弹性波检测装置接收到的所述红外触摸数据为:所述触摸状态信息指示所述触摸物的触摸状态为触摸移动状态的第一帧或第二帧触摸数据。The touch data processing method according to claim 7, wherein the infrared touch data received by the elastic wave detection device is: the touch state information indicates that the touch state of the touch object is the first touch movement state. frame or second frame of touch data.
  10. 根据权利要求1至3任一项所述的触摸数据处理方法,其中,所述弹性波检测装置检测到弹性波信号后,对所述弹性波信号进行缓存,直到接收到所述红外触摸数据后,再根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型。The touch data processing method according to any one of claims 1 to 3, wherein after the elastic wave detection device detects the elastic wave signal, the elastic wave signal is buffered until the infrared touch data is received. , and then determine the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal.
  11. 根据权利要求7所述的触摸数据处理方法,其中,所述方法还包括:The touch data processing method according to claim 7, wherein the method further comprises:
    所述弹性波检测装置在将所述介质类型发送至所述处理设备后,暂停工作,直到接收到所述红外触摸框或所述处理设备发送的所述红外触摸数据的末帧触摸数据后,清除缓存的弹性波信号,并继续工作;After sending the medium type to the processing device, the elastic wave detection device suspends work until receiving the touch data of the last frame of the infrared touch data sent by the infrared touch frame or the processing device, Clear the buffered elastic wave signal and continue working;
    其中,所述末帧触摸数据中的触摸状态信息指示所述触摸物的触摸状态为触摸抬起状态。The touch state information in the touch data of the last frame indicates that the touch state of the touch object is a touch-up state.
  12. 根据权利要求11所述的触摸数据处理方法,其中,所述方法还包括:The touch data processing method according to claim 11, wherein the method further comprises:
    所述处理设备确认接收到所述红外触摸数据的末帧触摸数据后,向所述弹性波检测装置发送所述末帧触摸数据。After confirming that the last frame of touch data of the infrared touch data is received, the processing device sends the last frame of touch data to the elastic wave detection device.
  13. 根据权利要求8所述的触摸数据处理方法,其中,所述方法还包括:The touch data processing method according to claim 8, wherein the method further comprises:
    所述弹性波检测装置确定在预设时间阈值内,未接收到所述首帧触摸数据,将缓存的所述弹性波信号清除。The elastic wave detection device determines that the first frame of touch data has not been received within a preset time threshold, and clears the buffered elastic wave signal.
  14. 根据权利要求5所述的触摸数据处理方法,其中,所述根据更新后的所述红外触摸数据,在所述显示屏上显示相应的书写轨迹,其具体为:The touch data processing method according to claim 5, wherein the corresponding writing track is displayed on the display screen according to the updated infrared touch data, which is specifically:
    读取更新后的所述红外触摸数据的每帧数据的触摸状态信息、触摸位置信息和触摸参数信息,当所述触摸状态信息指示触摸状态为触摸移动状态时,根据所述触摸参数信息对应的显示属性,在所述触摸位置信息指示的位置,显示相应的书写轨迹。Read the touch state information, touch position information and touch parameter information of each frame of the updated infrared touch data, and when the touch state information indicates that the touch state is a touch movement state, according to the touch parameter information corresponding The display attribute is to display the corresponding writing track at the position indicated by the touch position information.
  15. 根据权利要求1-3任一项所述的触摸数据处理方法,其中,所述弹性波检测装置根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型,包括:The touch data processing method according to any one of claims 1-3, wherein the elastic wave detection device determines, according to touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, The media type corresponding to the touch object includes:
    所述弹性波检测装置接收到所述红外触摸数据后,读取所述红外触摸数据中的触摸位置信息;After receiving the infrared touch data, the elastic wave detection device reads touch position information in the infrared touch data;
    将所述触摸位置信息和所述弹性波信号,输入到训练好的特征识别模型中,获得所述触摸物对应的介质类型。The touch position information and the elastic wave signal are input into the trained feature recognition model to obtain the medium type corresponding to the touch object.
  16. 根据权利要求1-3任一项所述的触摸数据处理方法,其中,所述弹性波信号为多个,所述所述弹性波检测装置根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型,包括:The touch data processing method according to any one of claims 1-3, wherein there are multiple elastic wave signals, and the elastic wave detection device is based on touch position information and/or touch information of the infrared touch data The parameter information and the elastic wave signal determine the medium type corresponding to the touch object, including:
    所述弹性波检测装置接收到所述红外触摸数据后,读取所述红外触摸数据中的触摸位置信息;After receiving the infrared touch data, the elastic wave detection device reads touch position information in the infrared touch data;
    对多个弹性波信号进行融合处理,得到预处理信号;Integrate multiple elastic wave signals to obtain preprocessed signals;
    将所述触摸位置信息和所述预处理信号,输入到训练好的特征识别模型中,获得所述触摸物对应的介质类型。The touch position information and the preprocessing signal are input into the trained feature recognition model to obtain the medium type corresponding to the touch object.
  17. 根据权利要求1-3任一项所述的触摸数据处理方法,其中,所述弹性波检测装置根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型,包括:The touch data processing method according to any one of claims 1-3, wherein the elastic wave detection device determines, according to touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, The media type corresponding to the touch object includes:
    所述弹性波检测装置在对所述弹性波信号进行特征提取,获得第一特征;The elastic wave detection device is performing feature extraction on the elastic wave signal to obtain a first feature;
    所述弹性波检测装置接收到所述红外触摸数据;The elastic wave detection device receives the infrared touch data;
    所述弹性波检测装置根据所述红外触摸数据中的触摸位置信息,对所述第一特征进行修正;The elastic wave detection device corrects the first feature according to the touch position information in the infrared touch data;
    根据修正后的所述第一特征,与预设的特征数据库进行比对,获得所述触摸物对应的介质类型。Comparing the modified first feature with a preset feature database to obtain the medium type corresponding to the touch object.
  18. 根据权利要求17所述的触摸数据处理方法,其中,所述弹性波检测装置接收到所述红外触摸数据的步骤,包括:The touch data processing method according to claim 17, wherein the step of receiving the infrared touch data by the elastic wave detection device comprises:
    所述弹性波检测装置在对所述弹性波信号进行特征提取后,确定未接收到所述红外触摸数据,则等待接收所述红外触摸数据,直到接收到所述红外触摸数据。After the elastic wave detection device performs feature extraction on the elastic wave signal, it is determined that the infrared touch data is not received, and then waits to receive the infrared touch data until the infrared touch data is received.
  19. 根据权利要求15或16所述的触摸数据处理方法,其中,所述获得所述触摸物对应的介质类型的步骤中,获得的介质类型为至少两种,且每种介质类型对应的置信区间均低于设定置信阈值;所述方法还包括:The touch data processing method according to claim 15 or 16, wherein in the step of obtaining the medium type corresponding to the touch object, the obtained medium types are at least two, and the confidence interval corresponding to each medium type is below a set confidence threshold; the method further includes:
    所述弹性波检测装置根据所述红外触摸数据的触摸参数信息,确定所述至少两种介质类型中的其中一种作为所述触摸物对应的介质类型;The elastic wave detection device determines, according to the touch parameter information of the infrared touch data, one of the at least two medium types as the medium type corresponding to the touch object;
    or
    所述处理设备接收到所述弹性波检测装置发送的介质类型信息;所述介质类型信息包括所述至少两种介质类型;The processing device receives the medium type information sent by the elastic wave detection device; the medium type information includes the at least two medium types;
    所述处理设备根据所述红外触摸数据的触摸参数信息,确定所述至少两种介质类型中的其中一种作为所述触摸物对应的介质类型。The processing device determines, according to the touch parameter information of the infrared touch data, one of the at least two medium types as the medium type corresponding to the touch object.
  20. 根据权利要求19所述的触摸数据处理方法,其中,所述根据所述红外触摸数据,确定所述至少两种介质类型中的其中一种作为所述触摸物对应的介质类型,具体为:The touch data processing method according to claim 19, wherein, according to the infrared touch data, determining one of the at least two medium types as the medium type corresponding to the touch object is specifically:
    获取所述红外触摸数据中的触摸参数信息;acquiring touch parameter information in the infrared touch data;
    获得所述至少两种介质类型对应的预设阈值区间;所述预设阈值区间用于表征介质类型的触摸参数的数值范围;obtaining a preset threshold interval corresponding to the at least two media types; the preset threshold interval is used to characterize the numerical range of the touch parameter of the media type;
    确定各所述预设阈值区间中,与所述触摸参数信息最接近的第一预设阈值区间;determining a first preset threshold interval closest to the touch parameter information among the preset threshold intervals;
    将所述第一预设阈值区间对应的介质类型,作为所述触摸物对应的介质类型。The medium type corresponding to the first preset threshold interval is used as the medium type corresponding to the touch object.
  21. 根据权利要求15或16所述的触摸数据处理方法,其中,所述触摸参数信息包括用于表征所述触控操作对应的触摸点的面积的信息。The touch data processing method according to claim 15 or 16, wherein the touch parameter information includes information used to represent the area of the touch point corresponding to the touch operation.
  22. 根据权利要求15或16所述的触摸数据处理方法,其中,所述获得所述触摸物对应的介质类型的步骤中,所获得的介质类型的置信区间低于设定置信阈值,所述方法还包括:The touch data processing method according to claim 15 or 16, wherein, in the step of obtaining the medium type corresponding to the touch object, a confidence interval of the obtained medium type is lower than a set confidence threshold, and the method further include:
    所述处理设备根据所述红外触摸数据的触摸位置信息,判断当前的触控操作与上一次抬起的触控操作是否相关联,若相关联,则获取上一次触控操作对应的介质类型,作为所述触摸物对应的介质类型。The processing device determines, according to the touch position information of the infrared touch data, whether the current touch operation is associated with the last lifted touch operation, and if so, obtains the media type corresponding to the last touch operation, as the medium type corresponding to the touch object.
  23. 根据权利要求5所述的触摸数据处理方法,其中,所述根据所述介质类型更新所述红外触摸数据,具体为:The touch data processing method according to claim 5, wherein the updating the infrared touch data according to the medium type is specifically:
    确定所述介质类型的标准触摸参数信息;determining standard touch parameter information for the medium type;
    将所述红外触摸数据的触摸参数信息更新为所述标准触摸参数信息,得到更新后的红外触摸数据。The touch parameter information of the infrared touch data is updated to the standard touch parameter information to obtain the updated infrared touch data.
  24. 根据权利要求5所述的触摸数据处理方法,其中,所述根据所述介质类型更新所述红外触摸数据,其具体为:The touch data processing method according to claim 5, wherein the updating of the infrared touch data according to the medium type is specifically:
    将所述介质类型对应的ID写入所述红外触摸数据的数据包中,更新所述红外触摸数据。The ID corresponding to the medium type is written into the data packet of the infrared touch data, and the infrared touch data is updated.
  25. 根据权利要求5所述的触摸数据处理方法,其中,所述根据更新后的所述红外触摸数据,在所述显示屏上显示相应的书写轨迹,包括:The touch data processing method according to claim 5, wherein the displaying a corresponding writing track on the display screen according to the updated infrared touch data comprises:
    持续获取更新后的所述红外触摸数据,并根据所述更新后的所述红外触摸数据,在显示屏上显示相应的书写轨迹,直至确认未获取到所述红外触摸数据。The updated infrared touch data is continuously acquired, and a corresponding writing track is displayed on the display screen according to the updated infrared touch data, until it is confirmed that the infrared touch data is not acquired.
  26. 根据权利要求5所述的触摸数据处理方法,其中,所述交互平板配置有书写笔,所述书写笔包括笔尖和笔尾,所述笔尖的介质类型为第一介质类型,所述笔尾的介质类型为第二介质类型,所述方法还包括:The touch data processing method according to claim 5, wherein the interactive tablet is configured with a writing pen, the writing pen comprises a pen tip and a pen tail, the medium type of the pen tip is a first medium type, and the pen end has a medium type. The medium type is the second medium type, and the method further includes:
    所述处理设备接收到所述弹性波检测装置发送的第二介质类型后,根据所述第二介质类型更新所述红外触摸数据,并根据更新后的所述红外触摸数据,擦除所述红外触摸数据对应的书写轨迹。After receiving the second medium type sent by the elastic wave detection device, the processing device updates the infrared touch data according to the second medium type, and erases the infrared touch data according to the updated infrared touch data Touch the writing track corresponding to the data.
  27. 根据权利要求5所述的触摸数据处理方法,其中,所述方法还包括:The touch data processing method according to claim 5, wherein the method further comprises:
    所述处理设备确定在预设时间阈值内,未接收到所述弹性波检测装置发送的介质类型,直接根据所述红外触摸数据,在所述显示屏上显示相应的书写轨迹。The processing device determines that the medium type sent by the elastic wave detection device has not been received within a preset time threshold, and directly displays the corresponding writing track on the display screen according to the infrared touch data.
  28. 根据权利要求5所述的触摸数据处理方法,其中,所述方法还包括:The touch data processing method according to claim 5, wherein the method further comprises:
    所述处理设备确定在预设时间阈值内,未接收到所述弹性波检测装置发送的介质类型,获取所述弹性波检测装置上一次发送的介质类型,根据所述介质类型更新所述红外触摸数据,并根据更新后的所述红外触摸数据,在所述显示屏上显示相应的书写轨迹。The processing device determines that the medium type sent by the elastic wave detection device has not been received within a preset time threshold, acquires the medium type last sent by the elastic wave detection device, and updates the infrared touch according to the medium type. data, and display the corresponding writing track on the display screen according to the updated infrared touch data.
  29. 一种交互平板,包括显示屏、处理设备、红外触摸框和弹性波检测装置,所述显示屏、所述红外触摸框和所述弹性波检测装置均与所述处理设备连接;An interactive tablet comprising a display screen, a processing device, an infrared touch frame and an elastic wave detection device, wherein the display screen, the infrared touch frame and the elastic wave detection device are all connected to the processing device;
    所述红外触摸框,用于检测红外触摸数据,向所述处理设备发送所述红外触摸数据,其中,所述红外触摸数据由触摸物在所述交互平板的触控检测区域进行触控操作时产生,所述红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame is used to detect infrared touch data and send the infrared touch data to the processing device, wherein the infrared touch data is performed by a touch object in the touch detection area of the interactive tablet when a touch operation is performed generating, the infrared touch data includes touch position information and/or touch parameter information;
    所述弹性波检测装置,用于检测弹性波信号,其中,所述弹性波信号由所述触摸物接触所述交互平板的显示屏时生成;以及the elastic wave detection device for detecting elastic wave signals, wherein the elastic wave signals are generated when the touch object contacts the display screen of the interactive tablet; and
    在接收到所述处理设备发送的所述红外触摸数据后,根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型,并向所述处理设备发送介质类型信息,所述介质类型信息包括所述触摸物对应的介质类型;After receiving the infrared touch data sent by the processing device, determine the medium type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal, and sending media type information to the processing device, where the media type information includes a media type corresponding to the touch object;
    所述处理设备,用于:The processing equipment is used for:
    接收所述红外触摸框发送的所述红外触摸数据,向所述弹性波检测装置发送所述红外触摸数据;以及receiving the infrared touch data sent by the infrared touch frame, and sending the infrared touch data to the elastic wave detection device; and
    接收所述弹性波检测装置发送的所述介质类型信息。The medium type information sent by the elastic wave detection device is received.
  30. 根据权利要求29所述的交互平板,其中,所述处理设备还用于在接收到所述介质类型信息后,根据所述介质类型,启动对接收到的所述红外触摸数据的响应。The interactive tablet according to claim 29, wherein the processing device is further configured to, after receiving the medium type information, initiate a response to the received infrared touch data according to the medium type.
  31. 根据权利要求29所述的交互平板,其中,所述处理设备还用于在接收到所述介质类型信息之前,对接收到的所述红外触摸数据进行响应。The interactive tablet of claim 29, wherein the processing device is further configured to respond to the received infrared touch data before receiving the medium type information.
  32. 一种交互平板,包括显示屏、处理设备、红外触摸框和弹性波检测装置,所述显示屏、所述红外触摸框和所述弹性波检测装置均与所述处理设备连接,所述红外触摸框与所述弹性波检测装置连接;An interactive tablet comprising a display screen, a processing device, an infrared touch frame and an elastic wave detection device, wherein the display screen, the infrared touch frame and the elastic wave detection device are all connected to the processing device, and the infrared touch frame is connected to the processing device. the frame is connected to the elastic wave detection device;
    所述红外触摸框,用于检测红外触摸数据,向所述弹性波检测装置发送所述红外触摸数据,以及向所述处理设备发送所述红外触摸数据,其中,所述红外触摸数据由触摸物在所述交互平板的触控检测区域进行触控操作时产生,所述红外触摸数据包括触摸位置信息和/或触摸参数信息;The infrared touch frame is used to detect infrared touch data, send the infrared touch data to the elastic wave detection device, and send the infrared touch data to the processing device, wherein the infrared touch data is generated by the touch object Generated when a touch operation is performed in the touch detection area of the interactive tablet, the infrared touch data includes touch position information and/or touch parameter information;
    所述弹性波检测装置,用于检测弹性波信号,所述弹性波信号由所述触摸物接触所述交互平板的显示屏时生成;以及the elastic wave detection device for detecting elastic wave signals, the elastic wave signals are generated when the touch object contacts the display screen of the interactive tablet; and
    在接收到所述红外触摸框发送的所述红外触摸数据后,根据所述红外触摸数据的触摸位置信息和/或触摸参数信息,以及所述弹性波信号,确定所述触摸物对应的介质类型,并向所述处理设备发送介质类型信息,所述介质类型信息包括所述触摸物对应的介质类型;After receiving the infrared touch data sent by the infrared touch frame, determine the media type corresponding to the touch object according to the touch position information and/or touch parameter information of the infrared touch data and the elastic wave signal , and send media type information to the processing device, where the media type information includes the media type corresponding to the touch object;
    所述处理设备,用于:The processing equipment is used for:
    接收所述红外触摸框发送的所述红外触摸数据;以及receiving the infrared touch data sent by the infrared touch frame; and
    接收所述弹性波检测装置发送的所述介质类型信息。The medium type information sent by the elastic wave detection device is received.
  33. 根据权利要求32所述的交互平板,其中,所述处理设备还用于在接收到所述介质类型信息后,根据所述介质类型,启动对接收到的所述红外触摸数据的响应。The interactive tablet according to claim 32, wherein the processing device is further configured to, after receiving the medium type information, initiate a response to the received infrared touch data according to the medium type.
  34. 根据权利要求32所述的交互平板,其中,所述处理设备还用于在接收到所述介质类型信息之前,对接收到的所述红外触摸数据进行响应。The interactive tablet of claim 32, wherein the processing device is further configured to respond to the received infrared touch data before receiving the media type information.
PCT/CN2021/122175 2021-04-22 2021-09-30 Touch data processing method and interaction tablet WO2022222384A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110436301.9A CN114692580A (en) 2021-04-22 2021-04-22 Annotating control method and interactive panel
CN202110436301.9 2021-04-22
CN202110436274.5A CN114690853B (en) 2021-04-22 2021-04-22 Interaction method and interaction panel
CN202110436274.5 2021-04-22

Publications (1)

Publication Number Publication Date
WO2022222384A1 true WO2022222384A1 (en) 2022-10-27

Family

ID=83723530

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2021/122175 WO2022222384A1 (en) 2021-04-22 2021-09-30 Touch data processing method and interaction tablet
PCT/CN2021/122176 WO2022222385A1 (en) 2021-04-22 2021-09-30 Touch data processing method and interaction tablet

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/122176 WO2022222385A1 (en) 2021-04-22 2021-09-30 Touch data processing method and interaction tablet

Country Status (1)

Country Link
WO (2) WO2022222384A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140313022A1 (en) * 2011-09-29 2014-10-23 Eads Deutschland Gmbh Dataglove Having Tactile Feedback and Method
CN106775005A (en) * 2016-11-23 2017-05-31 广州视源电子科技股份有限公司 Interactive device, Activiation method and device
CN111443820A (en) * 2019-01-17 2020-07-24 北京钛方科技有限责任公司 Method and system for identifying pressing impulse of touch pad
CN112327783A (en) * 2020-11-17 2021-02-05 深圳Tcl新技术有限公司 Device control method, device, terminal and computer readable storage medium
CN112558803A (en) * 2019-09-26 2021-03-26 北京钛方科技有限责任公司 Vehicle-mounted touch device, control method and automobile

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094464A (en) * 2015-08-05 2015-11-25 深圳市华星光电技术有限公司 Infrared touch control device
CN106291192A (en) * 2016-08-22 2017-01-04 青岛海信电器股份有限公司 The method of testing of a kind of interactive infrared touch one-piece machine response delay and device
CN110413188A (en) * 2018-04-28 2019-11-05 北京钛方科技有限责任公司 Smart machine control method and device
CN110308824A (en) * 2019-07-04 2019-10-08 深圳市康冠商用科技有限公司 A kind of processing method, system and the associated component of infrared touch data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140313022A1 (en) * 2011-09-29 2014-10-23 Eads Deutschland Gmbh Dataglove Having Tactile Feedback and Method
CN106775005A (en) * 2016-11-23 2017-05-31 广州视源电子科技股份有限公司 Interactive device, Activiation method and device
CN111443820A (en) * 2019-01-17 2020-07-24 北京钛方科技有限责任公司 Method and system for identifying pressing impulse of touch pad
CN112558803A (en) * 2019-09-26 2021-03-26 北京钛方科技有限责任公司 Vehicle-mounted touch device, control method and automobile
CN112327783A (en) * 2020-11-17 2021-02-05 深圳Tcl新技术有限公司 Device control method, device, terminal and computer readable storage medium

Also Published As

Publication number Publication date
WO2022222385A1 (en) 2022-10-27

Similar Documents

Publication Publication Date Title
US7486281B2 (en) Coordinate input apparatus, control method thereof, and program
WO2021136080A1 (en) Touch data processing method and apparatus, intelligent device and storage medium
TW201537444A (en) Method for preventing from accidentally triggering edge swipe gesture and gesture triggering
TWI467465B (en) Method and device for identifying multipoint zoom movement
TWI581171B (en) Method and device for identifying multipoint gestures
CN114690853B (en) Interaction method and interaction panel
CN113791700A (en) Elastic wave-based interaction method and device, interaction panel and storage medium
CN114690930A (en) Handwriting processing method and device, interactive panel and storage medium
CN109933276B (en) Method for judging false hand-sleeve touch in handwriting of large-screen electronic whiteboard based on touch
WO2022242011A1 (en) Method and apparatus for presenting handwriting, and interaction tablet computer and storage medium
WO2022222384A1 (en) Touch data processing method and interaction tablet
WO2011118313A1 (en) Coordinate input device, and program
CN113608661A (en) Man-machine interaction method, interaction panel and storage medium thereof
WO2021128819A1 (en) Handwriting generation method and apparatus, storage medium, electronic device, and system
WO2024103488A1 (en) Contact-type infrared touch method and device, and storage medium
CN116795231A (en) Writing material identification method based on elastic wave and interaction panel
CN113608662A (en) Touch response method and device, terminal equipment and storage medium
WO2022257030A1 (en) Touch data processing method, and interactive flat panel
CN114690931A (en) False touch prevention method and device based on contact tracking, interactive flat plate and storage medium
Ahsan et al. Interactive white board using gestures with KINECT
WO2023016430A1 (en) Writing effect processing method and apparatus, device, and storage medium
CN110989844A (en) Input method, watch, system and storage medium based on ultrasonic waves
CN114690977B (en) Interactive calling method and device based on elastic waves
WO2022222979A1 (en) Writing method and device, interactive tablet, and storage medium
WO2023231731A1 (en) Writing mode switching method and device, interactive tablet, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21937606

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21937606

Country of ref document: EP

Kind code of ref document: A1