WO2022032559A1 - Touch-control input signal acquisition method and system, and infrared touch-control device - Google Patents

Touch-control input signal acquisition method and system, and infrared touch-control device Download PDF

Info

Publication number
WO2022032559A1
WO2022032559A1 PCT/CN2020/108836 CN2020108836W WO2022032559A1 WO 2022032559 A1 WO2022032559 A1 WO 2022032559A1 CN 2020108836 W CN2020108836 W CN 2020108836W WO 2022032559 A1 WO2022032559 A1 WO 2022032559A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
pressure
infrared
light path
signal
Prior art date
Application number
PCT/CN2020/108836
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
Application filed by 深圳市康冠商用科技有限公司 filed Critical 深圳市康冠商用科技有限公司
Priority to PCT/CN2020/108836 priority Critical patent/WO2022032559A1/en
Publication of WO2022032559A1 publication Critical patent/WO2022032559A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means

Definitions

  • the present invention relates to the technical field of touch devices, and in particular, to a method and system for acquiring a touch input signal, and an infrared touch device.
  • touch screens With the increasing popularity of electronic products, electronic devices with touch screens are more and more popular. Users can perform touch operations on the touch screens to input touch input signals to the electronic devices and control the electronic devices.
  • the touch operation can be realized by using a touch pen, and more refined touch operations can be performed on the infrared touch screen through the touch pen.
  • the touch pen can be used to write on the infrared touch screen to input handwriting.
  • the touch point coordinates of the touch pen are only obtained through the occlusion of the infrared light path in the infrared touch screen and output to other terminal devices.
  • the obtained handwriting is generated by the change of the touch point coordinates, and the width of the handwriting at any position is equal, which cannot be true.
  • some devices are provided with a receiving end that separately receives the touch pen pressure sensitive signal. Since the touch pen pressure sensitive signal and the touch point coordinate signal are processed separately, the touch point coordinate signal is switched to multiple terminal devices. During the output process, the pressure-sensitive signal cannot be switched and output with the touch-point coordinate signal, which makes it difficult for the terminal device receiving the signal to receive the touch-point coordinate signal and the pressure-sensitive signal synchronously. Therefore, the touch input signal acquisition method in the prior art has the problem that high-quality touch input signals cannot be acquired and output synchronously.
  • Embodiments of the present invention provide a touch input signal acquisition method, system, and infrared touch device, aiming at the problem in the prior art that high-quality touch input signals cannot be acquired and output synchronously.
  • an embodiment of the present invention provides a touch input signal acquisition method, which is applied to a touch input signal acquisition system.
  • the touch input signal acquisition system includes an infrared touch screen, a touch pen, a signal switch, and a control motherboard.
  • the touch pen, the signal switch and the control board are all connected in communication with the infrared touch screen
  • the infrared touch screen includes a touch signal processing module and a pressure-sensitive signal receiving and processing module, wherein the method includes:
  • the pressure-sensitive value of the pen-tip is detected in real time to obtain pressure-sensitive value detection information and sent to the pressure-sensitive signal receiving and processing module;
  • the infrared touch screen detects that the infrared light path is blocked, transmit infrared light path scanning information including the blocked infrared light path to the touch signal processing module;
  • the pressure-sensitive signal receiving and processing module receives the pressure-sensitive value detection information, and the touch signal processing module simultaneously receives the infrared optical path scanning information;
  • the touch signal processing module analyzes the infrared optical path scanning information according to a preset touch signal analysis rule to obtain the coordinates of the touch point;
  • the pressure-sensing signal receiving and processing module analyzes the pressure-sensing value detection information according to a preset pressure-sensing value analysis rule to obtain a pressure-sensing width value;
  • the infrared touch screen generates a touch input signal according to the coordinates of the touch point and the pressure-sensitive width value, and outputs the signal to the signal switch and the control main board at the same time.
  • an embodiment of the present invention further provides a touch input signal acquisition system, the system includes an infrared touch screen, a touch pen, a signal switch and a control motherboard, the infrared touch screen includes a touch signal processing module, a pressure-sensitive signal A receiving processing module, a touch input signal output unit and a scanning information output unit, the touch pen includes a pressure sensitive value detection unit and a wireless transmission unit, wherein:
  • the pressure-sensing value detection unit configured to perform real-time detection on the pressure-sensing value of the pen-tip to obtain pressure-sensing value detection information if the touch pen detects that the pen tip is pressed;
  • the wireless sending unit configured to send to the pressure-sensitive signal receiving and processing module
  • the scanning information output unit is configured to transmit infrared light path scanning information including the blocked infrared light path to the touch signal processing module if the infrared touch screen detects that the infrared light path is blocked;
  • the touch signal processing module is configured to receive the infrared light path scanning information and analyze the infrared light path scanning information according to a preset touch signal analysis rule to obtain touch point coordinates;
  • the pressure-sensing signal receiving and processing module is configured to receive the pressure-sensing value detection information and analyze the pressure-sensing value detection information according to a preset pressure-sensing value analysis rule to obtain a pressure-sensing width value;
  • the touch input signal output unit is configured to generate a touch input signal according to the coordinates of the touch point and the pressure-sensitive width value, and output the touch input signal to the signal switch and the control motherboard at the same time.
  • an embodiment of the present invention further provides an infrared touch device, which includes an infrared touch screen, a touch pen, a control board and a device body, a first signal output interface, a second signal output interface, the signal switch and the
  • the infrared touch screen is arranged on the main body of the device, the infrared touch screen includes a touch signal processing module and a pressure-sensitive signal receiving and processing module, the control board is arranged in the main body of the device, and the touch pen is arranged in the In the accommodating cavity of the main body of the device, the touch pen can be taken out from the accommodating cavity and a touch operation can be performed on the infrared touch screen to input corresponding touch input signals to the infrared touch screen, and the signals are switched.
  • the switch is used to switch the touch input signal from the infrared touch screen to the first signal output interface or the second signal output interface for output
  • the control motherboard is used to receive the touch input signal from the infrared touch screen to output
  • the corresponding operation control is performed according to the touch input signal, and the infrared touch device is used to implement the touch input signal acquisition method described in the first aspect.
  • an embodiment of the present invention further provides an infrared touch device, which includes an infrared touch screen and a touch pen, wherein the infrared touch screen includes a first memory, a first processor, and is stored on the first memory and can be accessed by a touch pen.
  • a first computer program running on the first processor, the touch pen including a second memory, a second processor, and a first computer program stored on the second memory and executable on the second processor
  • Embodiments of the present invention provide a touch input signal acquisition method, system, and infrared touch device.
  • the method includes: if the touch pen detects that the pen tip is pressed, performing real-time detection on the pressure sensitivity value of the pen tip to obtain pressure sensitivity value detection information and Send it to the pressure-sensitive signal receiving and processing module; if the infrared touch screen detects that the infrared light path is blocked, it transmits the infrared light path scanning information including the blocked infrared light path to the touch signal processing module; the pressure-sensitive signal receiving and processing module receives the pressure-sensitive value detection
  • the touch signal processing module synchronously receives the infrared optical path scanning information; the touch signal processing module analyzes the infrared optical path scanning information according to the preset touch signal analysis rules to obtain the coordinates of the touch point; the pressure-sensitive signal receiving and processing module
  • the built-in pressure sensitivity value analysis rule analyzes the pressure sensitivity value detection information to obtain the pressure sensitivity value width value; the infrared
  • the pressure sensitive value detection information and the infrared optical path scanning information are received synchronously and integrated and processed, so that the two signals can be synchronized in time to improve the quality of the obtained touch input signal.
  • the signal is uploaded to the signal switch and the control board at the same time to ensure the synchronous output of the touch input signal.
  • FIG. 1 is a schematic flowchart of a method for acquiring a touch input signal according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a use state of a method for acquiring a touch input signal provided by an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a sub-flow for acquiring a touch input signal according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of another sub-flow of the method for acquiring a touch input signal according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another sub-flow of the method for acquiring a touch input signal according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another sub-flow of a method for acquiring a touch input signal provided by an embodiment of the present invention.
  • FIG. 7 is a schematic block diagram of a system for acquiring a touch input signal according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an infrared touch device provided by an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an application scenario of the method for acquiring a touch input signal provided by an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for acquiring a touch input signal provided by an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of an infrared touch device provided by an embodiment of the present invention.
  • the touch input signal acquisition method is applied to the touch input signal acquisition system 100.
  • the touch input signal acquisition system 100 can be implemented as an infrared touch device, and the infrared touch device includes a touch pen 10, an infrared touch screen 20, The control board 30 (not shown in FIG.
  • the control board 30 is arranged in the main body 40 of the device, the touch pen 10 is arranged in the accommodating cavity 41 of the main body 40 of the device, and the touch pen 10 can be taken out from the accommodating cavity 41 and A touch operation is performed on the infrared touch screen 20 to input a corresponding touch input signal to the infrared touch screen 20, and the signal switch 53 is used to switch the touch input signal from the infrared touch screen 20 to the infrared touch screen 20.
  • the first signal output interface 51 or the second signal output interface 52 outputs, and the control board 30 is used for receiving touch input signals from the infrared touch screen 20 to perform corresponding operation control according to the touch input signals.
  • FIG. 9 is a schematic diagram of an application scenario of the method for acquiring a touch input signal provided by an embodiment of the present invention.
  • the first signal output interface 51 can be connected to the terminal device A by a USB connection
  • the second signal output interface 52 It can be connected to the terminal device B by a USB connection.
  • the pressure-sensitive signal receiving and processing module 22 receives the pressure-sensitive value detection information from the touch pen 10, and the touch signal processing module 21 synchronously receives the infrared optical path scanning information of the infrared touch screen and analyzes and analyzes it.
  • the touch input signal is obtained by integration.
  • the touch input signal is input to the switch 53 and the control board 30.
  • the signal switch 53 can be manually controlled to switch and output the touch input signal to the terminal device A or the terminal device B;
  • the pin (control signal output pin) sends a control signal to the signal switch 53, and the control signal switch 53 switches and outputs the touch input signal to terminal device A or terminal device B.
  • Device A or device B can input HDMI signals to control Motherboard 30 .
  • the infrared touch screen 20 can be a touch screen without a display function, and the infrared touch device can be a handwriting input board, a handwriting control board, etc.; it can also be an infrared touch display screen with a display function, and the infrared touch device can be a mobile phone , tablet computer, etc.
  • the touch pen 10, the signal switch 53 and the control board 30 are all connected to the infrared touch screen 20 for communication
  • the infrared touch screen 20 includes a touch signal processing module 21 and a pressure-sensitive signal receiving and processing module 22, specifically Yes, the touch pen 10 can establish a wireless communication connection with the pressure-sensitive signal receiving and processing module 22, and the method is executed by the application software installed in the infrared touch screen 20 and the touch pen 10 to realize the corresponding touch input signal acquisition method described above.
  • the touch pen 10 can perform touch operations on the infrared touch screen 20, the pressure-sensitive signal receiving and processing module 22 receives the pressure-sensitive value detection information from the touch pen 10, and the touch signal processing module 21 simultaneously receives the infrared optical path scanning information of the infrared touch screen. And analyze and integrate to obtain the touch input signal, which can be simultaneously connected to two other terminals (terminal device A and terminal device B in FIG. 9 ) through the first signal output interface 51 and the second signal output interface 52, and the signal
  • the switch 53 switches and controls the output of the touch input signal to other terminals, and the other terminals may be terminal devices such as notebook computers, desktop computers, smart TVs, large-screen displays, monitors, or interactive electronic whiteboards.
  • the method includes steps S110-S160.
  • the touch pen detects that the pen tip is pressed, the pressure-sensitive value of the pen-tip is detected in real time to obtain pressure-sensitive value detection information and sent to the pressure-sensitive signal receiving and processing module.
  • the touch pen includes a pen tip and a pressure sensor for sensing the pressure value of the pen tip. If the user writes with the touch pen, the front end of the pen tip is pressed and the rear end of the pen tip presses the pressure sensor, and the back end of the pen tip presses the pressure sensor. For the pressure sensor, the pressure sensitivity value of the pressure sensor is greater than zero at this time.
  • the pressure sensitivity value of the pressure sensor changes from zero to a value greater than zero, it means that the pen tip is pressed at this time, and the pressure sensitivity value of the pen tip can be affected.
  • Real-time detection is performed to obtain pressure-sensitive value detection information, and the pressure-sensitive value detection information is a series of pressure-sensitive values collected according to the interval sequence.
  • the touch pen is also provided with a communication module, which can establish a wireless communication connection with the pressure-sensitive signal receiving and processing module through the communication module, and send the pressure-sensitive value detection information to the pressure-sensitive signal receiving and processing module through the established wireless communication connection.
  • the communication module can be a Bluetooth module
  • Step S110 may further include judging whether the pressure sensitivity value in the pressure sensitivity value detection information changes; if the pressure sensitivity value in the pressure sensitivity value detection information changes, sending the pressure sensitivity value detection information to the The pressure-sensitive signal receiving and processing module.
  • the pressure sensitivity value detection information is sent to the pressure sensitivity signal receiving and processing module.
  • the touch pen obtains the pressure sensitivity value detection information, it is necessary to judge whether the pressure sensitivity value has changed. If it changes, the stylus is used correctly at this time, and the pressure-sensitive value detection information can be sent to the pressure-sensitive signal receiving and processing module for further processing.
  • the pressure sensitivity values corresponding to two consecutive collection times in the pressure sensitivity value detection information can be obtained, and it can be judged whether the pressure sensitivity values of the two consecutive collection times are equal. If they are equal, it means that the pressure sensitivity values have not changed. It indicates that the pressure sensitivity value has changed.
  • the infrared touch screen detects that the infrared light path is blocked, the infrared light path scanning information including the blocked infrared light path is transmitted to the touch signal processing module.
  • the infrared touch screen is a rectangular or square area.
  • the infrared touch screen includes transmitting lamps and receiving lamps. The number of transmitting lamps and receiving lamps is equal.
  • the receiving lamps are located on either side, left or right side of the upper or lower side of the infrared touch screen.
  • the transmitting light and the receiving light are facing each other, and the user can use the hand, touch pen or other parts to perform touch operations on the infrared touch screen.
  • FIG. 2 is a schematic diagram of a use state of the method for acquiring a touch input signal provided by an embodiment of the present invention.
  • the receiving lights are located on the upper and left sides of the infrared touch screen, and the transmitting lights are located directly opposite to the receiving lights.
  • Figure 2 shows the working process of the infrared signal emitted by the lower side emitting lamp of the infrared touch screen to scan the longitudinal optical path.
  • the infrared signal emitted by the emitting lamp is received by the receiving lamp R9, and the receiving lamp R9 obtains the vertical The voltage value of the optical path V9, the infrared signal emitted by the emitting lamp is received by the receiving lamp R5, and the receiving lamp R5 obtains the voltage value of the inclined optical path L9.
  • the scanning rules turn on the emitting lamps in sequence and obtain the received infrared voltage value of the receiving lamp corresponding to the lit emitting lamp, so as to obtain the voltage value of the scanned infrared light path, wherein the infrared light path may include a horizontal light path and a vertical light path,
  • the horizontal light path includes horizontal light paths and inclined light paths, and the longitudinal light paths include vertical light paths and inclined light paths.
  • the infrared rays in the infrared light path covered by the touch point in the infrared touch screen will be blocked, and the receiving light corresponding to the blocked infrared light path cannot receive part of the infrared rays, resulting in the infrared light received by the receiving light.
  • the blocked infrared light path can be obtained through the change of the intensity of the infrared signal received by the lamp. Scan all infrared light paths included in the infrared touch screen once to obtain the scanning information of the infrared touch screen.
  • the infrared touch screen sends infrared light path scanning information including the blocked infrared light path to the touch signal processing module. If the infrared touch screen detects that a certain infrared light path is blocked, the infrared light path scanning information including the blocked infrared light path is sent to the touch signal processing module.
  • the infrared receiving lamp in the infrared touch screen can establish a wired communication connection with the touch signal processing module, and the infrared optical path scanning information of the infrared receiving lamp can be sent to the touch signal processing module through the wired communication connection.
  • the step of transmitting the infrared light path scanning information including the blocked infrared light path to the touch signal processing module further includes S1210.
  • S1210. Determine whether the blocked infrared light path matches the range of the pen tip according to a preset range of the pen tip; if the blocked infrared light path matches the range of the pen tip, execute the process that will include the blocked infrared light path
  • the scanning information can be further analyzed to determine whether the blocked infrared light path in the scanning information matches the range of the pen tip.
  • the preset range of the pen tip is an area range corresponding to the size of the pen tip.
  • step S1210 includes sub-steps S1211 , S1212 , S1213 and S1214 .
  • S1211 Acquire a blocked infrared light path and an unblocked infrared light path adjacent to the blocked infrared light path; S1212. Determine the distance between the blocked infrared light path and the unblocked infrared light path.
  • S1213, combine all the touch boundaries corresponding to the blocked infrared light paths to obtain a touch range; S1214, determine whether the touch range is included in the range of the pen tip, and obtain the blocked range The judgment result of whether the infrared light path matches the range of the pen tip.
  • the blocked infrared light paths and an unblocked infrared light path that is closest and parallel to each blocked infrared light path can be obtained, and the middle line of the two infrared light paths can be obtained as the touch
  • the touch range is obtained by combining all the touch boundaries, and it is judged whether the touch range is included in the range of the pen tip, so as to obtain the judgment result of whether the blocked infrared light path matches the range of the pen tip.
  • the range of the pen tip can be slightly larger than the cross-sectional area of the pen tip. If the touch range is included in the range of the pen tip, it means that the user is using the touch pen to perform touch operations; if the touch range is not included in the range of the pen tip, it means that the user is not using Touch pen for touch operation.
  • the pressure-sensitive signal receiving and processing module receives the pressure-sensitive value detection information, and the touch signal processing module synchronously receives the infrared optical path scanning information.
  • Each pressure sensitivity value in the pressure sensitivity value detection information is collected according to the sequence, that is, each pressure sensitivity value corresponds to a collection time, and the interval between collection times can be 10-60ms (milliseconds).
  • the optical path scanning information includes the information obtained by scanning the infrared optical path of the infrared touch screen multiple times. Each scan of the infrared optical path corresponds to a scanning time, and the scanning time is the infrared voltage value received by the receiving lamp in the infrared touch screen. The time when the collection took place.
  • the pressure-sensitive value detection information and the infrared optical path scanning information can be simultaneously received in real time through the pressure-sensitive signal receiving and processing module and the touch signal processing module. That is, the pressure-sensitive value detection information and the infrared optical path scanning information corresponding to the same collection time can be obtained through the pressure-sensitive signal receiving and processing module and the touch signal processing module, respectively, to ensure that the pressure-sensitive value detection information and the infrared optical path scanning information are in time. Keep it in sync to facilitate subsequent integrated output.
  • the touch signal processing module and the pressure-sensitive signal receiving and processing module can also judge whether the touch signal processing module and the pressure-sensitive signal receiving and processing module receive the pressure-sensitive value detection information and the infrared optical path scanning information at the same time. If only the pressure-sensitive value detection information is received, it means that the touch pen has not The touch operation is performed on the infrared touch screen, and the corresponding prompt information can be sent to the user at this time; if only the infrared light path scanning information is received, it indicates that the user is performing the touch operation without using the touch pen (for example, using a finger to touch control operation). Only when the pressure sensitive value detection information and the infrared optical path scanning information are received at the same time, the touch input signal is obtained by analyzing the pressure sensitive value detection information and the infrared optical path scanning information.
  • the touch signal processing module analyzes the infrared optical path scanning information according to a preset touch signal analysis rule to obtain the coordinates of the touch point.
  • the touch signal analysis rule is the specific rule for analyzing the infrared light path scanning information.
  • the coordinates of the touch point can be obtained by analyzing the infrared light path scanning information, that is, when the user uses a stylus to perform a touch operation on the infrared touch screen the center coordinates of .
  • step S140 includes sub-steps S141 , S142 , S143 and S144 .
  • S141 Acquire a blocked infrared light path and an unblocked infrared light path adjacent to the blocked infrared light path in the infrared light path scanning information; S142, compare the blocked infrared light path with the unblocked infrared light path. Block the middle line between the infrared light paths as the touch boundary; S143, obtain the minimum circumscribed circles corresponding to all the touch boundaries according to the touch signal analysis rule; S144, obtain the coordinate position of the center of the minimum circumscribed circle as the corresponding coordinates of the touch point.
  • the analysis rule is the calculation rule for calculating the minimum circumscribed circle corresponding to the touch boundary.
  • the minimum circumscribed circle formed by all the touch boundaries can be calculated, and the touch point can be obtained by obtaining the coordinate position of the center of the minimum circumscribed circle in the infrared touch screen.
  • the coordinates of the touch point, the coordinates of the touch point can be represented by (x, y).
  • the pressure-sensing signal receiving and processing module analyzes the pressure-sensing value detection information according to a preset pressure-sensing value analysis rule to obtain a pressure-sensing width value.
  • the pressure-sensing value analysis rule is a specific rule for analyzing the pressure-sensing value detection information.
  • the corresponding pressure-sensing width value can be obtained by analyzing the pressure-sensing value detection information, and the pressure-sensing width value can be used to simulate the user's use of a touch pen. The actual handwriting width when writing and other touch operations.
  • step S150 includes sub-steps S151 , S152 , S153 and S154 .
  • S151 Determine whether the pressure-sensing value is within the pressure-sensing value interval; S152. If the pressure-sensing value is within the pressure-sensing value interval, obtain one corresponding to the pressure-sensing value in the width interval The width value is used as the pressure-sensitive width value; S153, if the pressure-sensitive value is less than the minimum value of the pressure-sensitive value interval, the minimum width value of the width interval is used as the pressure-sensitive width value; S154, if the pressure-sensitive value is The sensitivity value is greater than the maximum value of the pressure sensitivity value interval, and the maximum width value of the width interval is used as the pressure sensitivity width value.
  • the pressure sensitivity value analysis rule includes a pressure sensitivity value interval and a width interval.
  • the pressure sensitivity value interval is the interval information used to indicate the pressure range, such as [50mN, 1000mN]
  • the width interval is the interval used to indicate the width of the handwriting Information, such as [1px, 20px]
  • the pressure sensitivity value interval and the width interval are interrelated, that is, each pressure sensitivity value in the pressure sensitivity value interval corresponds to a width value in the width interval.
  • the pressure-sensing width value When obtaining the pressure-sensing width value, first determine whether the pressure-sensing value is within the pressure-sensing value range, and if the pressure-sensing value is within the pressure-sensing value range, obtain a width value corresponding to the pressure-sensing value as the pressure-sensing width value, For example, if the pressure sensitivity value is 100 mN, and a width value corresponding to the pressure sensitivity value is 2px (2-pixel width), the obtained pressure sensitivity width value is 2px.
  • the pressure sensitivity value is less than the minimum value of the pressure sensitivity value interval, take the minimum width value (1px) of the width interval as the pressure sensitivity width value; if the pressure sensitivity value is greater than the maximum value of the pressure sensitivity value interval, take the maximum width value of the width interval ( 20px) as the pressure-sensitive width value.
  • the infrared touch screen generates a touch input signal according to the touch point coordinates and the pressure-sensing width value, and outputs the signal to the signal switch and the control mainboard at the same time.
  • step S160 includes sub-steps S161 and S162.
  • the pressure-sensing signal receiving and processing module and the touch signal processing module receive the pressure-sensing value detection information and the infrared optical path scanning information synchronously in real time, the pressure-sensing value detection information and the infrared optical path scanning information at the same collection time can be directly obtained, and correspondingly analyzed Obtain a touch point coordinate and a pressure-sensitive width value at the same acquisition time, use the touch point coordinate as the center point, and use the corresponding pressure-sensitive width value as the handwriting width to generate a virtual handwriting point, The virtual handwriting obtained by smooth connection of virtual handwriting points is used as a touch input signal.
  • the width of the virtual handwriting can change with the pressure of the user pressing the touch pen during the writing process, and because the pressure-sensitive signal receiving and processing module and the touch-sensitive signal processing module receive the pressure-sensitive value detection information and the infrared optical path scanning information synchronously, and integrate and integrate them.
  • the processing ensures that the two signals can be synchronized in time, thereby improving the quality of the obtained touch input signal.
  • the touch input signal including the pressure sensitive value detection information and the infrared optical path scanning information can be uploaded to the signal switch and the control board at the same time, which can ensure the synchronous output of the touch input signal.
  • the signal switch is used to switch the touch input signal from the infrared touch screen to the first signal output interface or the second signal output interface for output, which can make the switching output of the touch input signal more flexible , convenient
  • the first signal output interface or the second signal output interface can be connected to other terminal equipment (such as notebook computers, desktop computers, smart TVs, large-screen displays, monitors or interactive whiteboards and other terminal equipment) and touch
  • the input signal is output, and the touch input signal is also synchronously transmitted to the control board (such as the Android control board), and the control board is used to receive the touch input signal and perform corresponding operation control (such as the Android operating system) according to the touch input signal. control accordingly).
  • the control board such as the Android control board
  • a method for acquiring a touch input signal includes: if the touch pen detects that the pen tip is pressed, performing real-time detection on the pressure sensitivity value of the pen tip to obtain pressure sensitivity value detection information and sending it to the pressure sensitivity signal receiving and processing module ; If the infrared touch screen detects that the infrared light path is blocked, it transmits the infrared light path scanning information including the blocked infrared light path to the touch signal processing module; the pressure-sensitive signal receiving and processing module receives the pressure-sensitive value detection information and the touch signal processing module synchronizes Receive infrared light path scanning information; the touch signal processing module analyzes the infrared light path scanning information according to the preset touch signal analysis rules to obtain the coordinates of the touch point; the pressure-sensitive signal receiving and processing module analyzes the The pressure-sensitive value detection information is analyzed to obtain a pressure-sensitive width value; the infrared touch screen generates a touch input signal according to the touch point coordinates and the pressure-sensitive width value
  • the pressure sensitive value detection information and the infrared optical path scanning information are received synchronously and integrated and processed, so that the two signals can be synchronized in time to improve the quality of the obtained touch input signal.
  • the signal is uploaded to the signal switch and the control board at the same time to ensure the synchronous output of the touch input signal.
  • An embodiment of the present invention further provides a touch input signal acquisition system 100, and the touch input signal acquisition system 100 is configured to execute any embodiment of the aforementioned touch input signal acquisition method.
  • FIG. 7 is a schematic block diagram of a system for acquiring a touch input signal provided by an embodiment of the present invention.
  • the touch input signal acquisition system 100 includes a touch pen 10 , an infrared touch screen 20 , a signal switch 53 and a control motherboard 30 .
  • the touch pen 10 includes a pressure-sensitive value detection unit 11 and a wireless transmission unit 12
  • the infrared touch screen 20 includes a touch signal processing module 21 , a pressure-sensitive signal receiving and processing module 22 , and a touch input signal output unit 23 . and scan information output unit 24 .
  • the pressure-sensitive value detection unit 11 is configured to perform real-time detection on the pressure-sensitive value of the pen-tip to obtain pressure-sensitive value detection information if the touch pen detects that the pen tip is pressed;
  • the wireless sending unit 12 is configured to send to the pressure-sensitive signal receiving and processing module
  • the scanning information output unit 24 is configured to transmit infrared light path scanning information including the blocked infrared light path to the touch signal processing module if the infrared touch screen detects that the infrared light path is blocked;
  • the touch signal processing module 21 is configured to receive the infrared light path scanning information and analyze the infrared light path scanning information according to a preset touch signal analysis rule to obtain touch point coordinates;
  • the pressure-sensing signal receiving and processing module 22 is configured to receive the pressure-sensing value detection information and analyze the pressure-sensing value detection information according to a preset pressure-sensing value analysis rule to obtain a pressure-sensing width value;
  • the touch input signal output unit 23 is configured to generate a touch input signal according to the coordinates of the touch point and the pressure-sensing width value, and output the signal to the signal switch and the control mainboard at the same time.
  • the above touch input signal acquisition method is applied to the touch input signal acquisition system provided by the embodiment of the present invention.
  • the method includes: if the touch pen detects that the pen tip is pressed, performing real-time detection on the pressure sensitivity value of the pen tip to obtain pressure sensitivity value detection information and send it to the pressure-sensitive signal receiving and processing module; if the infrared touch screen detects that the infrared light path is blocked, it transmits the infrared light path scanning information including the blocked infrared light path to the touch signal processing module; the pressure-sensitive signal receiving and processing module receives the pressure-sensitive value
  • the detection information and the touch signal processing module synchronously receive the infrared light path scanning information; the touch signal processing module analyzes the infrared light path scanning information according to the preset touch signal analysis rules to obtain the coordinates of the touch point; the pressure-sensitive signal receiving and processing module according to The preset pressure-sensing value analysis rule analyzes the pressure-sensing value detection information to obtain the pressure-sensing width
  • the pressure sensitive value detection information and the infrared optical path scanning information are received synchronously and integrated and processed, so that the two signals can be synchronized in time to improve the quality of the obtained touch input signal.
  • the signal is uploaded to the signal switch and the control board at the same time to ensure the synchronous output of the touch input signal.
  • an infrared touch device infrared touch screen and a touch pen, wherein the infrared touch screen includes a first memory, a first processor, and is stored on the first memory and can be stored at any location.
  • a first computer program running on the first processor, the touch pen including a second memory, a second processor, and a second computer stored on the second memory and executable on the second processor A program, wherein the first processor executes the first computer program and the second processor executes the second computer program to jointly implement the above-mentioned method for acquiring a touch input signal.
  • the disclosed apparatus, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only logical function division.
  • there may be other division methods, or units with the same function may be grouped into one Units, such as multiple units or components, may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solutions in the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • the read storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
  • the aforementioned computer-readable storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A touch-control input signal acquisition method and system, and an infrared touch-control device. The method comprises: if a touch pen detects that a pen tip is pressed, detecting a pressure sensing value of the pen tip in real time to obtain pressure sensing value detection information, and sending same to a pressure sensing signal receiving and processing module; if an infrared touch screen detects that an infrared light path is blocked, transmitting infrared light path scanning information that contains the blocked infrared light path to a touch-control signal processing module; the touch-control signal processing module parsing the infrared light path scanning information to obtain touch-control point coordinates; the pressure sensing signal receiving and processing module parsing the pressure sensing value detection information to obtain a pressure sensing width value; and generating a touch-control input signal and outputting same to a signal switching switch and a control mainboard.

Description

触控输入信号获取方法、系统及红外触控设备Touch input signal acquisition method, system and infrared touch device 技术领域technical field
本发明涉及触控设备技术领域,尤其涉及一种触控输入信号获取方法、系统及红外触控设备。The present invention relates to the technical field of touch devices, and in particular, to a method and system for acquiring a touch input signal, and an infrared touch device.
背景技术Background technique
随着电子产品逐渐普及,带有触摸屏的电子设备越来越受到人们的青睐,用户可在触摸屏上进行触控操作,以将触控输入信号输入至电子设备并实现对电子设备的操控。触摸操作可采用触摸笔来实现,通过触摸笔可在红外触摸屏上进行更加精细化的触控操作,例如可通过触摸笔在红外触摸屏上书写以输入笔迹,然而传统的触控输入信号获取方法中,仅通过红外触摸屏中红外光路的遮挡获取触摸笔的触控点坐标并输出至其它终端设备,所得到的笔迹均通过触控点坐标的变化生成且笔迹在任一位置的宽度均相等,无法真实模拟用户的书写状态。为解决上述问题,部分设备中设置有单独接收触摸笔压感信号的接收端,由于触摸笔压感信号与触控点坐标信号分别被单独处理,在将触控点坐标信号切换至多个终端设备进行输出过程中,压感信号无法随触控点坐标信号进行切换输出,导致接收信号的终端设备难以同步接收触控点坐标信号及压感信号。因而,现有技术方法中的触控输入信号获取方法存在无法获取高质量触控输入信号并进行同步输出的问题。With the increasing popularity of electronic products, electronic devices with touch screens are more and more popular. Users can perform touch operations on the touch screens to input touch input signals to the electronic devices and control the electronic devices. The touch operation can be realized by using a touch pen, and more refined touch operations can be performed on the infrared touch screen through the touch pen. For example, the touch pen can be used to write on the infrared touch screen to input handwriting. However, in the traditional touch input signal acquisition method. , the touch point coordinates of the touch pen are only obtained through the occlusion of the infrared light path in the infrared touch screen and output to other terminal devices. The obtained handwriting is generated by the change of the touch point coordinates, and the width of the handwriting at any position is equal, which cannot be true. Simulate the user's writing state. In order to solve the above problems, some devices are provided with a receiving end that separately receives the touch pen pressure sensitive signal. Since the touch pen pressure sensitive signal and the touch point coordinate signal are processed separately, the touch point coordinate signal is switched to multiple terminal devices. During the output process, the pressure-sensitive signal cannot be switched and output with the touch-point coordinate signal, which makes it difficult for the terminal device receiving the signal to receive the touch-point coordinate signal and the pressure-sensitive signal synchronously. Therefore, the touch input signal acquisition method in the prior art has the problem that high-quality touch input signals cannot be acquired and output synchronously.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种触控输入信号获取方法、系统及红外触控设备,旨在现有技术方法中所存在的无法获取高质量触控输入信号并进行同步输出的问题。Embodiments of the present invention provide a touch input signal acquisition method, system, and infrared touch device, aiming at the problem in the prior art that high-quality touch input signals cannot be acquired and output synchronously.
第一方面,本发明实施例提供了一种触控输入信号获取方法,该方法应用于触控输入信号获取系统所述触控输入信号获取系统包括红外触摸屏、触摸笔、信号切换开关及控制主板,所述触摸笔、所述信号切换开关及所述控制主板均与所述红外触摸屏进行通讯连接,所述红外触摸屏包括触控信号处理模块及压感信号接收处理模块,其中,方法包括:In a first aspect, an embodiment of the present invention provides a touch input signal acquisition method, which is applied to a touch input signal acquisition system. The touch input signal acquisition system includes an infrared touch screen, a touch pen, a signal switch, and a control motherboard. , the touch pen, the signal switch and the control board are all connected in communication with the infrared touch screen, and the infrared touch screen includes a touch signal processing module and a pressure-sensitive signal receiving and processing module, wherein the method includes:
若所述触摸笔检测到笔尖被按压,对所述笔尖的压感值进行实时检测得到压感值检测信息并发送至所述压感信号接收处理模块;If the touch pen detects that the pen tip is pressed, the pressure-sensitive value of the pen-tip is detected in real time to obtain pressure-sensitive value detection information and sent to the pressure-sensitive signal receiving and processing module;
若所述红外触摸屏检测到红外光路被遮挡,将包含所述被遮挡的红外光路的红外光路扫描信息传输至所述触控信号处理模块;If the infrared touch screen detects that the infrared light path is blocked, transmit infrared light path scanning information including the blocked infrared light path to the touch signal processing module;
所述压感信号接收处理模块接收所述压感值检测信息且所述触控信号处理模块同步接收所述红外光路扫描信息;The pressure-sensitive signal receiving and processing module receives the pressure-sensitive value detection information, and the touch signal processing module simultaneously receives the infrared optical path scanning information;
所述触控信号处理模块根据预置的触控信号解析规则对所述红外光路扫描信息进行解析以得到触控点坐标;The touch signal processing module analyzes the infrared optical path scanning information according to a preset touch signal analysis rule to obtain the coordinates of the touch point;
所述压感信号接收处理模块根据预置的压感值解析规则对所述压感值检测信息进行解析以得到压感宽度值;The pressure-sensing signal receiving and processing module analyzes the pressure-sensing value detection information according to a preset pressure-sensing value analysis rule to obtain a pressure-sensing width value;
所述红外触摸屏根据所述触控点坐标及所述压感宽度值生成触控输入信号并同时输出至所述信号切换开关及所述控制主板。The infrared touch screen generates a touch input signal according to the coordinates of the touch point and the pressure-sensitive width value, and outputs the signal to the signal switch and the control main board at the same time.
第二方面,本发明实施例还提供了一种触控输入信号获取系统,该系统包括红外触摸屏、触摸笔、信号切换开关及控制主板,所述红外触摸屏包括触控信号处理模块、压感信号接收处理模块、触控输入信号输出单元及扫描信息输出单元,所述触摸笔包括压感值检测单元及无线发送单元,其中:In a second aspect, an embodiment of the present invention further provides a touch input signal acquisition system, the system includes an infrared touch screen, a touch pen, a signal switch and a control motherboard, the infrared touch screen includes a touch signal processing module, a pressure-sensitive signal A receiving processing module, a touch input signal output unit and a scanning information output unit, the touch pen includes a pressure sensitive value detection unit and a wireless transmission unit, wherein:
所述压感值检测单元,用于若所述触摸笔检测到笔尖被按压,对所述笔尖的压感值进行实时检测得到压感值检测信息;the pressure-sensing value detection unit, configured to perform real-time detection on the pressure-sensing value of the pen-tip to obtain pressure-sensing value detection information if the touch pen detects that the pen tip is pressed;
所述无线发送单元,用于发送至所述压感信号接收处理模块;the wireless sending unit, configured to send to the pressure-sensitive signal receiving and processing module;
所述扫描信息输出单元,用于若所述红外触摸屏检测到红外光路被遮挡,将包含所述被遮挡的红外光路的红外光路扫描信息传输至所述触控信号处理模块;The scanning information output unit is configured to transmit infrared light path scanning information including the blocked infrared light path to the touch signal processing module if the infrared touch screen detects that the infrared light path is blocked;
所述触控信号处理模块,用于接收所述红外光路扫描信息并根据预置的触控信号解析规则对所述红外光路扫描信息进行解析以得到触控点坐标;The touch signal processing module is configured to receive the infrared light path scanning information and analyze the infrared light path scanning information according to a preset touch signal analysis rule to obtain touch point coordinates;
所述压感信号接收处理模块,用于接收所述压感值检测信息并根据预置的压感值解析规则对所述压感值检测信息进行解析以得到压感宽度值;The pressure-sensing signal receiving and processing module is configured to receive the pressure-sensing value detection information and analyze the pressure-sensing value detection information according to a preset pressure-sensing value analysis rule to obtain a pressure-sensing width value;
所述触控输入信号输出单元,用于根据所述触控点坐标及所述压感宽度值生成触控输入信号并同时输出至所述信号切换开关及所述控制主板。The touch input signal output unit is configured to generate a touch input signal according to the coordinates of the touch point and the pressure-sensitive width value, and output the touch input signal to the signal switch and the control motherboard at the same time.
第三方面,本发明实施例又提供了一种红外触控设备,其包括红外触摸屏、触摸笔、控制主板及设备主体,第一信号输出接口、第二信号输出接口、所述信号切换开关及所述红外触摸屏设置于所述设备主体上,所述红外触摸屏包括 触控信号处理模块、压感信号接收处理模块,所述控制主板设置于所述设备主体内,所述触摸笔设置于所述设备主体的容置腔内,可从所述容置腔内取出所述触摸笔并在所述红外触摸屏上进行触控操作,以输入相应触控输入信号至所述红外触摸屏,所述信号切换开关用于对来自所述红外触摸屏的触控输入信号切换至所述第一信号输出接口或所述第二信号输出接口进行输出,所述控制主板用于接收来自红外触摸屏的触控输入信号以根据所述触控输入信号执行相应的操作控制,所述红外触控设备用于实现上述第一方面所述的触控输入信号获取方法。In a third aspect, an embodiment of the present invention further provides an infrared touch device, which includes an infrared touch screen, a touch pen, a control board and a device body, a first signal output interface, a second signal output interface, the signal switch and the The infrared touch screen is arranged on the main body of the device, the infrared touch screen includes a touch signal processing module and a pressure-sensitive signal receiving and processing module, the control board is arranged in the main body of the device, and the touch pen is arranged in the In the accommodating cavity of the main body of the device, the touch pen can be taken out from the accommodating cavity and a touch operation can be performed on the infrared touch screen to input corresponding touch input signals to the infrared touch screen, and the signals are switched. The switch is used to switch the touch input signal from the infrared touch screen to the first signal output interface or the second signal output interface for output, and the control motherboard is used to receive the touch input signal from the infrared touch screen to output The corresponding operation control is performed according to the touch input signal, and the infrared touch device is used to implement the touch input signal acquisition method described in the first aspect.
第四方面,本发明实施例还提供了一种红外触控设备,其包括红外触摸屏、触摸笔,所述红外触摸屏包括第一存储器、第一处理器及存储在所述第一存储器上并可在所述第一处理器上运行的第一计算机程序,所述触摸笔包括第二存储器、第二处理器及存储在所述第二存储器上并可在所述第二处理器上运行的第二计算机程序,所述第一处理器执行所述第一计算机程序且所述第二处理器执行所述第二计算机程序以共同实现上述第一方面所述的触控输入信号获取方法。In a fourth aspect, an embodiment of the present invention further provides an infrared touch device, which includes an infrared touch screen and a touch pen, wherein the infrared touch screen includes a first memory, a first processor, and is stored on the first memory and can be accessed by a touch pen. A first computer program running on the first processor, the touch pen including a second memory, a second processor, and a first computer program stored on the second memory and executable on the second processor Two computer programs, wherein the first processor executes the first computer program and the second processor executes the second computer program to jointly implement the touch input signal acquisition method of the first aspect.
本发明实施例提供了一种触控输入信号获取方法、系统及红外触控设备,方法包括:若触摸笔检测到笔尖被按压,对笔尖的压感值进行实时检测得到压感值检测信息并发送至压感信号接收处理模块;若红外触摸屏检测到红外光路被遮挡,将包含被遮挡的红外光路的红外光路扫描信息传输至触控信号处理模块;压感信号接收处理模块接收压感值检测信息且触控信号处理模块同步接收红外光路扫描信息;触控信号处理模块根据预置的触控信号解析规则对红外光路扫描信息进行解析以得到触控点坐标;压感信号接收处理模块根据预置的压感值解析规则对压感值检测信息进行解析以得到压感宽度值;红外触摸屏根据触控点坐标及压感宽度值生成触控输入信号并同时输出至信号切换开关及控制主板。通过上述方法,同步接收压感值检测信息及红外光路扫描信息并进行整合及处理,则可确保两种信号可在时间上的同步以提高所得到的触控输入信号的质量,将触控输入信号同时上传至信号切换开关及控制主板,可确保触控输入信号的同步输出。Embodiments of the present invention provide a touch input signal acquisition method, system, and infrared touch device. The method includes: if the touch pen detects that the pen tip is pressed, performing real-time detection on the pressure sensitivity value of the pen tip to obtain pressure sensitivity value detection information and Send it to the pressure-sensitive signal receiving and processing module; if the infrared touch screen detects that the infrared light path is blocked, it transmits the infrared light path scanning information including the blocked infrared light path to the touch signal processing module; the pressure-sensitive signal receiving and processing module receives the pressure-sensitive value detection The touch signal processing module synchronously receives the infrared optical path scanning information; the touch signal processing module analyzes the infrared optical path scanning information according to the preset touch signal analysis rules to obtain the coordinates of the touch point; the pressure-sensitive signal receiving and processing module The built-in pressure sensitivity value analysis rule analyzes the pressure sensitivity value detection information to obtain the pressure sensitivity value width value; the infrared touch screen generates the touch input signal according to the touch point coordinates and the pressure sensitivity value width value and outputs it to the signal switch and the control board at the same time. Through the above method, the pressure sensitive value detection information and the infrared optical path scanning information are received synchronously and integrated and processed, so that the two signals can be synchronized in time to improve the quality of the obtained touch input signal. The signal is uploaded to the signal switch and the control board at the same time to ensure the synchronous output of the touch input signal.
附图说明Description of drawings
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要 使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention, which are of great significance to the art For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明实施例提供的触控输入信号获取方法的流程示意图;FIG. 1 is a schematic flowchart of a method for acquiring a touch input signal according to an embodiment of the present invention;
图2为本发明实施例提供的触控输入信号获取方法的使用状态示意图;2 is a schematic diagram of a use state of a method for acquiring a touch input signal provided by an embodiment of the present invention;
图3为本发明实施例提供的触控输入信号获取的子流程示意图;FIG. 3 is a schematic diagram of a sub-flow for acquiring a touch input signal according to an embodiment of the present invention;
图4为本发明实施例提供的触控输入信号获取方法的另一子流程示意图;4 is a schematic diagram of another sub-flow of the method for acquiring a touch input signal according to an embodiment of the present invention;
图5为本发明实施例提供的触控输入信号获取方法的另一子流程示意图;5 is a schematic diagram of another sub-flow of the method for acquiring a touch input signal according to an embodiment of the present invention;
图6为本发明实施例提供的触控输入信号获取方法的另一子流程示意图;6 is a schematic diagram of another sub-flow of a method for acquiring a touch input signal provided by an embodiment of the present invention;
图7为本发明实施例提供的触控输入信号获取系统的示意性框图;7 is a schematic block diagram of a system for acquiring a touch input signal according to an embodiment of the present invention;
图8为本发明实施例提供的红外触控设备的结构示意图;FIG. 8 is a schematic structural diagram of an infrared touch device provided by an embodiment of the present invention;
图9为本发明实施例提供的触控输入信号获取方法的应用场景示意图。FIG. 9 is a schematic diagram of an application scenario of the method for acquiring a touch input signal provided by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It is to be understood that, when used in this specification and the appended claims, the terms "comprising" and "comprising" indicate the presence of the described features, integers, steps, operations, elements and/or components, but do not exclude one or The presence or addition of a number of other features, integers, steps, operations, elements, components, and/or sets thereof.
还应当理解,在此本发明说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It is also to be understood that the terminology used in this specification of the present invention is for the purpose of describing particular embodiments only and is not intended to limit the present invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise.
还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should further be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items .
请参阅图1及图8,图1是本发明实施例提供的触控输入信号获取方法的流程示意图,图8是本发明实施例提供的红外触控设备的结构示意图。该触控输入信号获取方法应用于触控输入信号获取系统100中,触控输入信号获取系统 100可以实现为一种红外触控设备,所述红外触控设备包括触摸笔10、红外触摸屏20、控制主板30(图8中未示出)及设备主体40,第一信号输出接口51、第二信号输出接口52、所述信号切换开关53及所述红外触摸屏20设置于所述设备主体40上,所述控制主板30设置于所述设备主体40内,所述触摸笔10设置于所述设备主体40的容置腔41内,可从所述容置腔41内取出所述触摸笔10并在所述红外触摸屏20上进行触控操作,以输入相应触控输入信号至所述红外触摸屏20,所述信号切换开关53用于对来自所述红外触摸屏20的触控输入信号切换至所述第一信号输出接口51或所述第二信号输出接口52进行输出,所述控制主板30用于接收来自红外触摸屏20的触控输入信号以根据所述触控输入信号执行相应的操作控制。Please refer to FIG. 1 and FIG. 8 , FIG. 1 is a schematic flowchart of a method for acquiring a touch input signal provided by an embodiment of the present invention, and FIG. 8 is a schematic structural diagram of an infrared touch device provided by an embodiment of the present invention. The touch input signal acquisition method is applied to the touch input signal acquisition system 100. The touch input signal acquisition system 100 can be implemented as an infrared touch device, and the infrared touch device includes a touch pen 10, an infrared touch screen 20, The control board 30 (not shown in FIG. 8 ) and the device body 40 , the first signal output interface 51 , the second signal output interface 52 , the signal switch 53 and the infrared touch screen 20 are arranged on the device body 40 , the control board 30 is arranged in the main body 40 of the device, the touch pen 10 is arranged in the accommodating cavity 41 of the main body 40 of the device, and the touch pen 10 can be taken out from the accommodating cavity 41 and A touch operation is performed on the infrared touch screen 20 to input a corresponding touch input signal to the infrared touch screen 20, and the signal switch 53 is used to switch the touch input signal from the infrared touch screen 20 to the infrared touch screen 20. The first signal output interface 51 or the second signal output interface 52 outputs, and the control board 30 is used for receiving touch input signals from the infrared touch screen 20 to perform corresponding operation control according to the touch input signals.
图9为本发明实施例提供的触控输入信号获取方法的应用场景示意图,如图9所示,第一信号输出接口51可采用USB连接方式与终端设备A相连接,第二信号输出接口52可采用USB连接方式与终端设备B相连接,压感信号接收处理模块22接收来自触摸笔10的压感值检测信息且触控信号处理模块21同步接收红外触摸屏的红外光路扫描信息并进行解析及整合得到触控输入信号。触控输入信号输入至切换开关53及控制主板30,此时可采用手动方式控制信号切换开关53将触控输入信号切换输出至终端设备A或终端设备B;还可通过控制主板30的GPIO引脚(控制信号输出引脚)发送控制信号至信号切换开关53,以控制信号切换开关53将触控输入信号切换输出至终端设备A或终端设备B,设备A或者设备B可输入HDMI信号至控制主板30。FIG. 9 is a schematic diagram of an application scenario of the method for acquiring a touch input signal provided by an embodiment of the present invention. As shown in FIG. 9 , the first signal output interface 51 can be connected to the terminal device A by a USB connection, and the second signal output interface 52 It can be connected to the terminal device B by a USB connection. The pressure-sensitive signal receiving and processing module 22 receives the pressure-sensitive value detection information from the touch pen 10, and the touch signal processing module 21 synchronously receives the infrared optical path scanning information of the infrared touch screen and analyzes and analyzes it. The touch input signal is obtained by integration. The touch input signal is input to the switch 53 and the control board 30. At this time, the signal switch 53 can be manually controlled to switch and output the touch input signal to the terminal device A or the terminal device B; The pin (control signal output pin) sends a control signal to the signal switch 53, and the control signal switch 53 switches and outputs the touch input signal to terminal device A or terminal device B. Device A or device B can input HDMI signals to control Motherboard 30 .
其中,红外触摸屏20可以是不带显示功能的触摸屏,则红外触控设备可以是手写输入板、手写控制板等;也可以是带显示功能的红外触摸显示屏,则红外触控设备可以是手机、平板电脑等,触摸笔10、所述信号切换开关53及控制主板30均与所述红外触摸屏20进行通讯连接,红外触摸屏20包括触控信号处理模块21及压感信号接收处理模块22,具体的,触摸笔10可与压感信号接收处理模块22建立无线通讯连接,该方法通过安装于红外触摸屏20及触摸笔10中的应用软件进行执行以实现上述的触控输入信号获取方法中对应的功能,触摸笔10可在红外触摸屏20上进行触控操作,压感信号接收处理模块22接收来自触摸笔10的压感值检测信息且触控信号处理模块21同步接收红外触摸屏的红外光路扫描信息并进行解析及整合得到触控输入信号,可通过第一信号输出接口51及第二信号输出接口52同时连接两台其它终端(如图9中的终端设备A 及终端设备B),并通过信号切换开关53对触控输入信号的输出至其他终端进行切换控制,其它终端可以是笔记本电脑、台式电脑、智能电视、大屏幕显示器、监视器或交互式电子白板等终端设备等。Wherein, the infrared touch screen 20 can be a touch screen without a display function, and the infrared touch device can be a handwriting input board, a handwriting control board, etc.; it can also be an infrared touch display screen with a display function, and the infrared touch device can be a mobile phone , tablet computer, etc., the touch pen 10, the signal switch 53 and the control board 30 are all connected to the infrared touch screen 20 for communication, and the infrared touch screen 20 includes a touch signal processing module 21 and a pressure-sensitive signal receiving and processing module 22, specifically Yes, the touch pen 10 can establish a wireless communication connection with the pressure-sensitive signal receiving and processing module 22, and the method is executed by the application software installed in the infrared touch screen 20 and the touch pen 10 to realize the corresponding touch input signal acquisition method described above. The touch pen 10 can perform touch operations on the infrared touch screen 20, the pressure-sensitive signal receiving and processing module 22 receives the pressure-sensitive value detection information from the touch pen 10, and the touch signal processing module 21 simultaneously receives the infrared optical path scanning information of the infrared touch screen. And analyze and integrate to obtain the touch input signal, which can be simultaneously connected to two other terminals (terminal device A and terminal device B in FIG. 9 ) through the first signal output interface 51 and the second signal output interface 52, and the signal The switch 53 switches and controls the output of the touch input signal to other terminals, and the other terminals may be terminal devices such as notebook computers, desktop computers, smart TVs, large-screen displays, monitors, or interactive electronic whiteboards.
如图1所示,该方法包括步骤S110~S160。As shown in FIG. 1, the method includes steps S110-S160.
S110、若所述触摸笔检测到笔尖被按压,对所述笔尖的压感值进行实时检测得到压感值检测信息并发送至所述压感信号接收处理模块。S110. If the touch pen detects that the pen tip is pressed, perform real-time detection on the pressure sensitivity value of the pen tip to obtain pressure sensitivity value detection information, and send the detection information to the pressure sensitivity signal receiving and processing module.
若所述触摸笔检测到笔尖被按压,对所述笔尖的压感值进行实时检测得到压感值检测信息并发送至所述压感信号接收处理模块。具体的,触摸笔包括笔尖以及用于感应所述笔尖压力值的压力感应器,若用户使用触摸笔进行书写,则笔尖的前端被按压且笔尖的后端按压压力感应器,笔尖的后端按压压力感应器则此时压力感应器的压感值大于零,若压力感应器的压感值由零变化至某一大于零的数值,则表明此时笔尖被按压,可对笔尖的压感值进行实时检测得到压感值检测信息,压感值检测信息为根据间序列所采集得到的一系列压感值。If the touch pen detects that the pen tip is pressed, the pressure-sensitive value of the pen-tip is detected in real time to obtain pressure-sensitive value detection information and sent to the pressure-sensitive signal receiving and processing module. Specifically, the touch pen includes a pen tip and a pressure sensor for sensing the pressure value of the pen tip. If the user writes with the touch pen, the front end of the pen tip is pressed and the rear end of the pen tip presses the pressure sensor, and the back end of the pen tip presses the pressure sensor. For the pressure sensor, the pressure sensitivity value of the pressure sensor is greater than zero at this time. If the pressure sensitivity value of the pressure sensor changes from zero to a value greater than zero, it means that the pen tip is pressed at this time, and the pressure sensitivity value of the pen tip can be affected. Real-time detection is performed to obtain pressure-sensitive value detection information, and the pressure-sensitive value detection information is a series of pressure-sensitive values collected according to the interval sequence.
将所述压感值检测信息发送至所述压感信号接收处理模块。具体的,触摸笔内还设有通信模块,可通过通信模块与压感信号接收处理模块建立无线通讯连接,并通过所建立的无线通讯连接将压感值检测信息发送至压感信号接收处理模块,其中,通信模块可以是蓝牙模块Sending the pressure-sensitive value detection information to the pressure-sensitive signal receiving and processing module. Specifically, the touch pen is also provided with a communication module, which can establish a wireless communication connection with the pressure-sensitive signal receiving and processing module through the communication module, and send the pressure-sensitive value detection information to the pressure-sensitive signal receiving and processing module through the established wireless communication connection. , where the communication module can be a Bluetooth module
步骤S110中还可以包括判断所述压感值检测信息中的压感值是否发生变化;若所述压感值检测信息中的压感值发生变化,将所述压感值检测信息发送至所述压感信号接收处理模块。Step S110 may further include judging whether the pressure sensitivity value in the pressure sensitivity value detection information changes; if the pressure sensitivity value in the pressure sensitivity value detection information changes, sending the pressure sensitivity value detection information to the The pressure-sensitive signal receiving and processing module.
判断所述压感值检测信息中的压感值是否发生变化,若发生变化则将所述压感值检测信息发送至所述压感信号接收处理模块。触摸笔获取到压感值检测信息后,还需对其中的压感值是否发生变化进行判断,若压感值未发生变化,则表明此时触控笔未被正确使用;若压感值发生变化,则此时触控笔被正确使用,可将压感值检测信息发送至压感信号接收处理模块进行进一步处理。具体的,可获取压感值检测信息中连续两个采集时间对应的压感值,并判断连续两个采集时间的压感值是否相等,若相等则表明压感值未发生变化,若不相等则表明压感值发生变化。It is judged whether the pressure sensitivity value in the pressure sensitivity value detection information changes, and if there is a change, the pressure sensitivity value detection information is sent to the pressure sensitivity signal receiving and processing module. After the touch pen obtains the pressure sensitivity value detection information, it is necessary to judge whether the pressure sensitivity value has changed. If it changes, the stylus is used correctly at this time, and the pressure-sensitive value detection information can be sent to the pressure-sensitive signal receiving and processing module for further processing. Specifically, the pressure sensitivity values corresponding to two consecutive collection times in the pressure sensitivity value detection information can be obtained, and it can be judged whether the pressure sensitivity values of the two consecutive collection times are equal. If they are equal, it means that the pressure sensitivity values have not changed. It indicates that the pressure sensitivity value has changed.
S120、若所述红外触摸屏检测到红外光路被遮挡,将包含所述被遮挡的红外光路的红外光路扫描信息传输至所述触控信号处理模块。S120. If the infrared touch screen detects that the infrared light path is blocked, transmit infrared light path scanning information including the blocked infrared light path to the touch signal processing module.
若所述红外触摸屏检测到红外光路被遮挡,将包含所述被遮挡的红外光路 的红外光路扫描信息传输至所述触控信号处理模块。红外触摸屏为一个长方形或正方形区域,红外触摸屏中包含发射灯及接收灯,发射灯与接收灯的数量相等,接收灯位于红外触摸屏的上侧或下侧中的任意一侧及左侧或右侧中的任意一侧,发射灯与接收灯正对,用户可在红外触摸屏上使用手、触摸笔或其它部件进行触摸操作。图2为本发明实施例提供的触控输入信号获取方法的使用状态示意图,如图2所示,在本实施例中接收灯位于红外触摸屏的上侧及左侧,发射灯位于与接收灯正对的右侧及下侧。图2中示意了红外触摸屏的下侧发射灯发射红外信号以对纵向光路进行扫描的工作过程,以发射灯T9为例,该发射灯发射的红外信号被接收灯R9接收,接收灯R9得到垂直光路V9的电压值,该发射灯发射的红外信号被接收灯R5接收,接收灯R5得到倾斜光路L9的电压值。If the infrared touch screen detects that the infrared light path is blocked, the infrared light path scanning information including the blocked infrared light path is transmitted to the touch signal processing module. The infrared touch screen is a rectangular or square area. The infrared touch screen includes transmitting lamps and receiving lamps. The number of transmitting lamps and receiving lamps is equal. The receiving lamps are located on either side, left or right side of the upper or lower side of the infrared touch screen. On either side of the IR touch screen, the transmitting light and the receiving light are facing each other, and the user can use the hand, touch pen or other parts to perform touch operations on the infrared touch screen. FIG. 2 is a schematic diagram of a use state of the method for acquiring a touch input signal provided by an embodiment of the present invention. As shown in FIG. 2 , in this embodiment, the receiving lights are located on the upper and left sides of the infrared touch screen, and the transmitting lights are located directly opposite to the receiving lights. Right and underside of the pair. Figure 2 shows the working process of the infrared signal emitted by the lower side emitting lamp of the infrared touch screen to scan the longitudinal optical path. Taking the emitting lamp T9 as an example, the infrared signal emitted by the emitting lamp is received by the receiving lamp R9, and the receiving lamp R9 obtains the vertical The voltage value of the optical path V9, the infrared signal emitted by the emitting lamp is received by the receiving lamp R5, and the receiving lamp R5 obtains the voltage value of the inclined optical path L9.
根据扫描规则依次点亮发射灯并获取与所点亮的发射灯对应的接收灯接收红外电压值,即可得到所扫描的红外光路的电压值,其中,红外光路可以包括横向光路及纵向光路,横向光路包含水平光路及倾斜光路,纵向光路包含垂直光路及倾斜光路。用户在红外触摸屏上进行触控操作则会导致红外触摸屏中触摸点所覆盖的红外光路中的红外线被遮挡,被遮挡的红外光路对应的接收灯由于无法接收到部分红外线导致该接收灯接收的红外电压值下降,则可通过灯接收所接收的红外信号强度的变化情况获取被遮挡的红外光路。对红外触摸屏中所包含的所有红外光路均进行一次扫描即可得到红外触摸屏的扫描信息,通过判断扫描信息中每一接收灯的电压值是否不小于预设电压阈值即可对红外光路是否被遮挡进行判断,若至少存在一个接收灯的电压值小于电压阈值,则得到红外光路被遮挡的判断结果;否则得到红外光路未被遮挡的判断结果。According to the scanning rules, turn on the emitting lamps in sequence and obtain the received infrared voltage value of the receiving lamp corresponding to the lit emitting lamp, so as to obtain the voltage value of the scanned infrared light path, wherein the infrared light path may include a horizontal light path and a vertical light path, The horizontal light path includes horizontal light paths and inclined light paths, and the longitudinal light paths include vertical light paths and inclined light paths. When the user performs touch operation on the infrared touch screen, the infrared rays in the infrared light path covered by the touch point in the infrared touch screen will be blocked, and the receiving light corresponding to the blocked infrared light path cannot receive part of the infrared rays, resulting in the infrared light received by the receiving light. When the voltage value drops, the blocked infrared light path can be obtained through the change of the intensity of the infrared signal received by the lamp. Scan all infrared light paths included in the infrared touch screen once to obtain the scanning information of the infrared touch screen. By judging whether the voltage value of each receiving lamp in the scanning information is not less than the preset voltage threshold, it is possible to check whether the infrared light path is blocked. Judging, if there is at least one receiving lamp whose voltage value is less than the voltage threshold, obtain the judgment result that the infrared light path is blocked; otherwise, obtain the judgment result that the infrared light path is not blocked.
将包含所述被遮挡的红外光路的红外光路扫描信息发送至所述触控信号处理模块。若红外触摸屏检测到某一红外光路被遮挡,将包含所述被遮挡的红外光路的红外光路扫描信息发送至所述触控信号处理模块。红外触摸屏中的红外接收灯可与触控信号处理模块建立有线通讯连接,则可通过有线通讯连接将红外接收灯的红外光路扫描信息发送至触控信号处理模块。Sending infrared light path scanning information including the blocked infrared light path to the touch signal processing module. If the infrared touch screen detects that a certain infrared light path is blocked, the infrared light path scanning information including the blocked infrared light path is sent to the touch signal processing module. The infrared receiving lamp in the infrared touch screen can establish a wired communication connection with the touch signal processing module, and the infrared optical path scanning information of the infrared receiving lamp can be sent to the touch signal processing module through the wired communication connection.
具体的,所述将包含所述被遮挡的红外光路的红外光路扫描信息传输至所述触控信号处理模块的步骤之前还包括S1210。S1210、根据预设的笔尖范围判断被遮挡的红外光路是否与所述笔尖范围相匹配;若被遮挡的红外光路与所述笔尖范围相匹配,则执行所述将包含所述被遮挡的红外光路的红外光路扫描信 息传输至所述触控信号处理模块的步骤。Specifically, the step of transmitting the infrared light path scanning information including the blocked infrared light path to the touch signal processing module further includes S1210. S1210. Determine whether the blocked infrared light path matches the range of the pen tip according to a preset range of the pen tip; if the blocked infrared light path matches the range of the pen tip, execute the process that will include the blocked infrared light path The step of transmitting the scanning information of the infrared optical path to the touch signal processing module.
若红外触摸屏中存在红外光路被遮挡,则可对扫描信息进行进一步分析,扫描信息中被遮挡的红外光路是否与所述笔尖范围相匹配的判断结果。其中,预设的笔尖范围即为与笔尖尺寸相对应的一个区域范围。If the infrared light path in the infrared touch screen is blocked, the scanning information can be further analyzed to determine whether the blocked infrared light path in the scanning information matches the range of the pen tip. The preset range of the pen tip is an area range corresponding to the size of the pen tip.
在一实施例中,如图3所示,步骤S1210包括子步骤S1211、S1212、S1213和S1214。In one embodiment, as shown in FIG. 3 , step S1210 includes sub-steps S1211 , S1212 , S1213 and S1214 .
S1211、获取一条所述被遮挡的红外光路及与所述被遮挡的红外光路相邻的一条未被遮挡红外光路;S1212、将所述被遮挡的红外光路与所述未被遮挡红外光路之间的中间线作为触摸边界;S1213、将所有所述被遮挡的红外光路对应的触摸边界进行组合得到触摸范围;S1214、判断所述触摸范围是否包含于所述笔尖范围内,得到所述被遮挡的红外光路是否与所述笔尖范围相匹配的判断结果。S1211. Acquire a blocked infrared light path and an unblocked infrared light path adjacent to the blocked infrared light path; S1212. Determine the distance between the blocked infrared light path and the unblocked infrared light path. S1213, combine all the touch boundaries corresponding to the blocked infrared light paths to obtain a touch range; S1214, determine whether the touch range is included in the range of the pen tip, and obtain the blocked range The judgment result of whether the infrared light path matches the range of the pen tip.
具体的,对扫描信息进行分析过程中,可获取被遮挡的红外光路及与每一条被遮挡的红外光路最接近且平行的一条未被遮挡的红外光路,获取两条红外光路的中间线作为触摸边界,将所有触摸边界进行组合得到触摸范围,判断触摸范围是否包含于笔尖范围内,以得到被遮挡的红外光路是否与笔尖范围相匹配的判断结果。笔尖范围可略大于笔尖的截面积,若触摸范围包含于笔尖范围内,则表明此时是用户在使用触摸笔进行触控操作;若触摸范围不包含于笔尖范围内,则表明此时不是使用触摸笔进行触控操作。Specifically, in the process of analyzing the scanning information, the blocked infrared light paths and an unblocked infrared light path that is closest and parallel to each blocked infrared light path can be obtained, and the middle line of the two infrared light paths can be obtained as the touch The touch range is obtained by combining all the touch boundaries, and it is judged whether the touch range is included in the range of the pen tip, so as to obtain the judgment result of whether the blocked infrared light path matches the range of the pen tip. The range of the pen tip can be slightly larger than the cross-sectional area of the pen tip. If the touch range is included in the range of the pen tip, it means that the user is using the touch pen to perform touch operations; if the touch range is not included in the range of the pen tip, it means that the user is not using Touch pen for touch operation.
S130、所述压感信号接收处理模块接收所述压感值检测信息且所述触控信号处理模块同步接收所述红外光路扫描信息。S130. The pressure-sensitive signal receiving and processing module receives the pressure-sensitive value detection information, and the touch signal processing module synchronously receives the infrared optical path scanning information.
压感值检测信息中的每一压感值均根据间序列所采集得到,也即是每一压感值均对应一个采集时间,采集时间之间的间隔可以是10-60ms(毫秒),红外光路扫描信息中包含对红外触摸屏的红外光路进行多次扫描所得到的信息,对红外光路进行每一次扫描均对应一个扫描时间,扫描时间也即是对红外触摸屏中接收灯所接收的红外电压值进行采集的时间。由于触控信号处理模块及压感信号接收处理模块均设置于红外触摸屏内,因此可通过压感信号接收处理模块及触控信号处理模块实时同步接收到压感值检测信息及红外光路扫描信息,也即是可通过压感信号接收处理模块及触控信号处理模块分别获取同一采集时间对应的压感值检测信息及红外光路扫描信息,以确保压感值检测信息及红外光路扫描信息在时间上保持同步,以方便后续进行整合输出。Each pressure sensitivity value in the pressure sensitivity value detection information is collected according to the sequence, that is, each pressure sensitivity value corresponds to a collection time, and the interval between collection times can be 10-60ms (milliseconds). The optical path scanning information includes the information obtained by scanning the infrared optical path of the infrared touch screen multiple times. Each scan of the infrared optical path corresponds to a scanning time, and the scanning time is the infrared voltage value received by the receiving lamp in the infrared touch screen. The time when the collection took place. Since the touch signal processing module and the pressure-sensitive signal receiving and processing module are both set in the infrared touch screen, the pressure-sensitive value detection information and the infrared optical path scanning information can be simultaneously received in real time through the pressure-sensitive signal receiving and processing module and the touch signal processing module. That is, the pressure-sensitive value detection information and the infrared optical path scanning information corresponding to the same collection time can be obtained through the pressure-sensitive signal receiving and processing module and the touch signal processing module, respectively, to ensure that the pressure-sensitive value detection information and the infrared optical path scanning information are in time. Keep it in sync to facilitate subsequent integrated output.
此外,还可对触控信号处理模块及压感信号接收处理模块是否同时接收到 压感值检测信息及红外光路扫描信息进行判断,若仅接收到压感值检测信息,则表明触摸笔并未在红外触摸屏上进行触控操作,此时可向用户发出相应的提示信息;若仅接收到红外光路扫描信息,则表明用户正以未使用触摸笔的方式进行触控操作(如使用手指进行触控操作)。只有同时接收到压感值检测信息及红外光路扫描信息,在对压感值检测信息及红外光路扫描信息进行解析得到触控输入信号。In addition, it can also judge whether the touch signal processing module and the pressure-sensitive signal receiving and processing module receive the pressure-sensitive value detection information and the infrared optical path scanning information at the same time. If only the pressure-sensitive value detection information is received, it means that the touch pen has not The touch operation is performed on the infrared touch screen, and the corresponding prompt information can be sent to the user at this time; if only the infrared light path scanning information is received, it indicates that the user is performing the touch operation without using the touch pen (for example, using a finger to touch control operation). Only when the pressure sensitive value detection information and the infrared optical path scanning information are received at the same time, the touch input signal is obtained by analyzing the pressure sensitive value detection information and the infrared optical path scanning information.
S140、所述触控信号处理模块根据预置的触控信号解析规则对所述红外光路扫描信息进行解析以得到触控点坐标。S140, the touch signal processing module analyzes the infrared optical path scanning information according to a preset touch signal analysis rule to obtain the coordinates of the touch point.
触控信号解析规则即为对红外光路扫描信息进行解析的具体规则,对红外光路扫描信息进行解析即可得到触控点坐标,也即是用户使用触控笔在红外触摸屏上进行触控操作时的中心坐标。The touch signal analysis rule is the specific rule for analyzing the infrared light path scanning information. The coordinates of the touch point can be obtained by analyzing the infrared light path scanning information, that is, when the user uses a stylus to perform a touch operation on the infrared touch screen the center coordinates of .
在一实施例中,如图4所示,步骤S140包括子步骤S141、S142、S143和S144。In one embodiment, as shown in FIG. 4 , step S140 includes sub-steps S141 , S142 , S143 and S144 .
S141、获取所述红外光路扫描信息中一条被遮挡的红外光路及与所述被遮挡的红外光路相邻的一条未被遮挡红外光路;S142、将所述被遮挡的红外光路与所述未被遮挡红外光路之间的中间线作为触摸边界;S143、根据所述触控信号解析规则获取所有所述触摸边界对应的最小外接圆;S144、获取所述最小外接圆的圆心所在的坐标位置作为对应的触控点坐标。S141. Acquire a blocked infrared light path and an unblocked infrared light path adjacent to the blocked infrared light path in the infrared light path scanning information; S142, compare the blocked infrared light path with the unblocked infrared light path. Block the middle line between the infrared light paths as the touch boundary; S143, obtain the minimum circumscribed circles corresponding to all the touch boundaries according to the touch signal analysis rule; S144, obtain the coordinate position of the center of the minimum circumscribed circle as the corresponding coordinates of the touch point.
对红外光路扫描信息中被遮挡的红外光路进行进一步分析后即可对触摸笔进行触控操作的坐标位置进行精准定位。解析规则即为计算与触摸边界对应最小外接圆的计算规则,通过解析规则即可计算得到所有触摸边界所组成的最小外接圆,获取最小外接圆的圆心在红外触摸屏中的坐标位置即可得到触控点坐标,触控点坐标可采用(x,y)进行表示。After further analysis of the blocked infrared light path in the infrared light path scanning information, the coordinate position of the touch operation of the touch pen can be accurately positioned. The analysis rule is the calculation rule for calculating the minimum circumscribed circle corresponding to the touch boundary. Through the analysis rule, the minimum circumscribed circle formed by all the touch boundaries can be calculated, and the touch point can be obtained by obtaining the coordinate position of the center of the minimum circumscribed circle in the infrared touch screen. The coordinates of the touch point, the coordinates of the touch point can be represented by (x, y).
S150、所述压感信号接收处理模块根据预置的压感值解析规则对所述压感值检测信息进行解析以得到压感宽度值。S150. The pressure-sensing signal receiving and processing module analyzes the pressure-sensing value detection information according to a preset pressure-sensing value analysis rule to obtain a pressure-sensing width value.
压感值解析规则即为对压感值检测信息进行解析的具体规则,对压感值检测信息进行解析即可得到对应的压感宽度值,压感宽度值即可用于模拟用户使用触摸笔进行书写等触控操作时真实的笔迹宽度。The pressure-sensing value analysis rule is a specific rule for analyzing the pressure-sensing value detection information. The corresponding pressure-sensing width value can be obtained by analyzing the pressure-sensing value detection information, and the pressure-sensing width value can be used to simulate the user's use of a touch pen. The actual handwriting width when writing and other touch operations.
在一实施例中,如图5所示,步骤S150包括子步骤S151、S152、S153和S154。In one embodiment, as shown in FIG. 5 , step S150 includes sub-steps S151 , S152 , S153 and S154 .
S151、判断所述压感值是否位于所述压感值区间内;S152、若所述压感值 位于所述压感值区间内,获取所述宽度区间中与所述压感值对应的一个宽度值作为压感宽度值;S153、若所述压感值小于所述压感值区间的最小值,将所述宽度区间的最小宽度值作为所述压感宽度值;S154、若所述压感值大于所述压感值区间的最大值,将所述宽度区间的最大宽度值作为所述压感宽度值。S151. Determine whether the pressure-sensing value is within the pressure-sensing value interval; S152. If the pressure-sensing value is within the pressure-sensing value interval, obtain one corresponding to the pressure-sensing value in the width interval The width value is used as the pressure-sensitive width value; S153, if the pressure-sensitive value is less than the minimum value of the pressure-sensitive value interval, the minimum width value of the width interval is used as the pressure-sensitive width value; S154, if the pressure-sensitive value is The sensitivity value is greater than the maximum value of the pressure sensitivity value interval, and the maximum width value of the width interval is used as the pressure sensitivity width value.
具体的,压感值解析规则包括压感值区间及宽度区间,压感值区间即是用于表示压力范围的区间信息,如[50mN,1000mN],宽度区间即是用于表示笔迹宽度的区间信息,如[1px,20px],压感值区间与宽度区间相互关联,也即是压感值区间中每一压感值均对应宽度区间内的一个宽度值。在获取压感宽度值时,先判断压感值是否位于压感值区间内,若压感值位于所述压感值区间内,则获取与压感值对应一个宽度值作为压感宽度值,例如,若压感值为100mN,与该压感值对应的一个宽度值为2px(2个像素宽度),则得到的压感宽度值为2px。若压感值小于压感值区间的最小值,取宽度区间的最小宽度值(1px)作为压感宽度值;若压感值大于压感值区间的最大值,取宽度区间的最大宽度值(20px)作为压感宽度值。Specifically, the pressure sensitivity value analysis rule includes a pressure sensitivity value interval and a width interval. The pressure sensitivity value interval is the interval information used to indicate the pressure range, such as [50mN, 1000mN], and the width interval is the interval used to indicate the width of the handwriting Information, such as [1px, 20px], the pressure sensitivity value interval and the width interval are interrelated, that is, each pressure sensitivity value in the pressure sensitivity value interval corresponds to a width value in the width interval. When obtaining the pressure-sensing width value, first determine whether the pressure-sensing value is within the pressure-sensing value range, and if the pressure-sensing value is within the pressure-sensing value range, obtain a width value corresponding to the pressure-sensing value as the pressure-sensing width value, For example, if the pressure sensitivity value is 100 mN, and a width value corresponding to the pressure sensitivity value is 2px (2-pixel width), the obtained pressure sensitivity width value is 2px. If the pressure sensitivity value is less than the minimum value of the pressure sensitivity value interval, take the minimum width value (1px) of the width interval as the pressure sensitivity width value; if the pressure sensitivity value is greater than the maximum value of the pressure sensitivity value interval, take the maximum width value of the width interval ( 20px) as the pressure-sensitive width value.
S160、所述红外触摸屏根据所述触控点坐标及所述压感宽度值生成触控输入信号并同时输出至所述信号切换开关及所述控制主板。S160, the infrared touch screen generates a touch input signal according to the touch point coordinates and the pressure-sensing width value, and outputs the signal to the signal switch and the control mainboard at the same time.
在一实施例中,如图6所示,步骤S160包括子步骤S161和S162。In one embodiment, as shown in FIG. 6 , step S160 includes sub-steps S161 and S162.
S161、获取每一采集时间对应的所述触控点坐标及所述压感宽度值,以所述触控点坐标为中心点生成与所述压感宽度值对应的虚拟笔迹作为所述触控输入信号;S162、将所述触控输入信号同时输出至所述信号切换开关及所述控制主板。S161. Acquire the touch point coordinates and the pressure-sensitive width value corresponding to each collection time, and use the touch point coordinates as a center point to generate a virtual handwriting corresponding to the pressure-sensitive width value as the touch input signal; S162, output the touch input signal to the signal switch and the control mainboard simultaneously.
由于压感信号接收处理模块及触控信号处理模块实时同步接收到压感值检测信息及红外光路扫描信息,则可直接获取同一采集时间的压感值检测信息及红外光路扫描信息,并对应解析得到同一采集时间的一个触控点坐标及一个压感宽度值,将该触控点坐标作为中心点,将对应的该压感宽度值作为笔迹宽度生成一个虚拟笔迹点,将多个采集时间的虚拟笔迹点进行平滑连接所得到的虚拟笔迹作为触控输入信号。则虚拟笔迹的宽度可随用户书写过程中按压触摸笔的压力进行变化,且由于通过压感信号接收处理模块及触控信号处理模块同步接收压感值检测信息及红外光路扫描信息并进行整合及处理,则可确保两种信号可在时间上的同步,提高了所得到的触控输入信号的质量。将包含压感值检测信息及红外光路扫描信息的触控输入信号可同时上传至信号切换开关及控制 主板,可确保触控输入信号的同步输出。具体的,信号切换开关用于对来自所述红外触摸屏的触控输入信号切换至所述第一信号输出接口或所述第二信号输出接口进行输出,可使触控输入信号的切换输出更加灵活、便捷,第一信号输出接口或第二信号输出接口可分别连接其它终端设备(如笔记本电脑、台式电脑、智能电视、大屏幕显示器、监视器或交互式电子白板等终端设备)并对触控输入信号进行输出,触控输入信号还同步传输至控制主板(如安卓控制主板),控制主板用于接收触控输入信号并根据所述触控输入信号执行相应的操作控制(如对安卓操作系统进行相应的操作控制)。Since the pressure-sensing signal receiving and processing module and the touch signal processing module receive the pressure-sensing value detection information and the infrared optical path scanning information synchronously in real time, the pressure-sensing value detection information and the infrared optical path scanning information at the same collection time can be directly obtained, and correspondingly analyzed Obtain a touch point coordinate and a pressure-sensitive width value at the same acquisition time, use the touch point coordinate as the center point, and use the corresponding pressure-sensitive width value as the handwriting width to generate a virtual handwriting point, The virtual handwriting obtained by smooth connection of virtual handwriting points is used as a touch input signal. Then the width of the virtual handwriting can change with the pressure of the user pressing the touch pen during the writing process, and because the pressure-sensitive signal receiving and processing module and the touch-sensitive signal processing module receive the pressure-sensitive value detection information and the infrared optical path scanning information synchronously, and integrate and integrate them. The processing ensures that the two signals can be synchronized in time, thereby improving the quality of the obtained touch input signal. The touch input signal including the pressure sensitive value detection information and the infrared optical path scanning information can be uploaded to the signal switch and the control board at the same time, which can ensure the synchronous output of the touch input signal. Specifically, the signal switch is used to switch the touch input signal from the infrared touch screen to the first signal output interface or the second signal output interface for output, which can make the switching output of the touch input signal more flexible , convenient, the first signal output interface or the second signal output interface can be connected to other terminal equipment (such as notebook computers, desktop computers, smart TVs, large-screen displays, monitors or interactive whiteboards and other terminal equipment) and touch The input signal is output, and the touch input signal is also synchronously transmitted to the control board (such as the Android control board), and the control board is used to receive the touch input signal and perform corresponding operation control (such as the Android operating system) according to the touch input signal. control accordingly).
在本发明实施例所提供了触控输入信号获取方法,包括:若触摸笔检测到笔尖被按压,对笔尖的压感值进行实时检测得到压感值检测信息并发送至压感信号接收处理模块;若红外触摸屏检测到红外光路被遮挡,将包含被遮挡的红外光路的红外光路扫描信息传输至触控信号处理模块;压感信号接收处理模块接收压感值检测信息且触控信号处理模块同步接收红外光路扫描信息;触控信号处理模块根据预置的触控信号解析规则对红外光路扫描信息进行解析以得到触控点坐标;压感信号接收处理模块根据预置的压感值解析规则对压感值检测信息进行解析以得到压感宽度值;红外触摸屏根据触控点坐标及压感宽度值生成触控输入信号并同时输出至信号切换开关及控制主板。通过上述方法,同步接收压感值检测信息及红外光路扫描信息并进行整合及处理,则可确保两种信号可在时间上的同步以提高所得到的触控输入信号的质量,将触控输入信号同时上传至信号切换开关及控制主板,可确保触控输入信号的同步输出。A method for acquiring a touch input signal provided in an embodiment of the present invention includes: if the touch pen detects that the pen tip is pressed, performing real-time detection on the pressure sensitivity value of the pen tip to obtain pressure sensitivity value detection information and sending it to the pressure sensitivity signal receiving and processing module ; If the infrared touch screen detects that the infrared light path is blocked, it transmits the infrared light path scanning information including the blocked infrared light path to the touch signal processing module; the pressure-sensitive signal receiving and processing module receives the pressure-sensitive value detection information and the touch signal processing module synchronizes Receive infrared light path scanning information; the touch signal processing module analyzes the infrared light path scanning information according to the preset touch signal analysis rules to obtain the coordinates of the touch point; the pressure-sensitive signal receiving and processing module analyzes the The pressure-sensitive value detection information is analyzed to obtain a pressure-sensitive width value; the infrared touch screen generates a touch input signal according to the touch point coordinates and the pressure-sensitive width value, and outputs the signal to the signal switch and the control board at the same time. Through the above method, the pressure sensitive value detection information and the infrared optical path scanning information are received synchronously and integrated and processed, so that the two signals can be synchronized in time to improve the quality of the obtained touch input signal. The signal is uploaded to the signal switch and the control board at the same time to ensure the synchronous output of the touch input signal.
本发明实施例还提供一种触控输入信号获取系统100,该触控输入信号获取系统100用于执行前述触控输入信号获取方法的任一实施例。具体地,请参阅图7,图7是本发明实施例提供的触控输入信号获取系统的示意性框图。该触控输入信号获取系统100包括触摸笔10、红外触摸屏20、信号切换开关53及控制主板30。An embodiment of the present invention further provides a touch input signal acquisition system 100, and the touch input signal acquisition system 100 is configured to execute any embodiment of the aforementioned touch input signal acquisition method. Specifically, please refer to FIG. 7 , which is a schematic block diagram of a system for acquiring a touch input signal provided by an embodiment of the present invention. The touch input signal acquisition system 100 includes a touch pen 10 , an infrared touch screen 20 , a signal switch 53 and a control motherboard 30 .
如图7所示,所述触摸笔10包括压感值检测单元11及无线发送单元12,红外触摸屏20包括触控信号处理模块21、压感信号接收处理模块22、触控输入信号输出单元23及扫描信息输出单元24。As shown in FIG. 7 , the touch pen 10 includes a pressure-sensitive value detection unit 11 and a wireless transmission unit 12 , and the infrared touch screen 20 includes a touch signal processing module 21 , a pressure-sensitive signal receiving and processing module 22 , and a touch input signal output unit 23 . and scan information output unit 24 .
所述压感值检测单元11,用于若所述触摸笔检测到笔尖被按压,对所述笔尖的压感值进行实时检测得到压感值检测信息;The pressure-sensitive value detection unit 11 is configured to perform real-time detection on the pressure-sensitive value of the pen-tip to obtain pressure-sensitive value detection information if the touch pen detects that the pen tip is pressed;
所述无线发送单元12,用于发送至所述压感信号接收处理模块;The wireless sending unit 12 is configured to send to the pressure-sensitive signal receiving and processing module;
所述扫描信息输出单元24,用于若所述红外触摸屏检测到红外光路被遮挡,将包含所述被遮挡的红外光路的红外光路扫描信息传输至所述触控信号处理模块;The scanning information output unit 24 is configured to transmit infrared light path scanning information including the blocked infrared light path to the touch signal processing module if the infrared touch screen detects that the infrared light path is blocked;
所述触控信号处理模块21,用于接收所述红外光路扫描信息并根据预置的触控信号解析规则对所述红外光路扫描信息进行解析以得到触控点坐标;The touch signal processing module 21 is configured to receive the infrared light path scanning information and analyze the infrared light path scanning information according to a preset touch signal analysis rule to obtain touch point coordinates;
所述压感信号接收处理模块22,用于接收所述压感值检测信息并根据预置的压感值解析规则对所述压感值检测信息进行解析以得到压感宽度值;The pressure-sensing signal receiving and processing module 22 is configured to receive the pressure-sensing value detection information and analyze the pressure-sensing value detection information according to a preset pressure-sensing value analysis rule to obtain a pressure-sensing width value;
所述触控输入信号输出单元23,用于根据所述触控点坐标及所述压感宽度值生成触控输入信号并同时输出至所述信号切换开关及所述控制主板。The touch input signal output unit 23 is configured to generate a touch input signal according to the coordinates of the touch point and the pressure-sensing width value, and output the signal to the signal switch and the control mainboard at the same time.
在本发明实施例所提供的触控输入信号获取系统应用上述触控输入信号获取方法,方法包括:若触摸笔检测到笔尖被按压,对笔尖的压感值进行实时检测得到压感值检测信息并发送至压感信号接收处理模块;若红外触摸屏检测到红外光路被遮挡,将包含被遮挡的红外光路的红外光路扫描信息传输至触控信号处理模块;压感信号接收处理模块接收压感值检测信息且触控信号处理模块同步接收红外光路扫描信息;触控信号处理模块根据预置的触控信号解析规则对红外光路扫描信息进行解析以得到触控点坐标;压感信号接收处理模块根据预置的压感值解析规则对压感值检测信息进行解析以得到压感宽度值;红外触摸屏根据触控点坐标及压感宽度值生成触控输入信号并同时输出至信号切换开关及控制主板。通过上述方法,同步接收压感值检测信息及红外光路扫描信息并进行整合及处理,则可确保两种信号可在时间上的同步以提高所得到的触控输入信号的质量,将触控输入信号同时上传至信号切换开关及控制主板,可确保触控输入信号的同步输出。The above touch input signal acquisition method is applied to the touch input signal acquisition system provided by the embodiment of the present invention. The method includes: if the touch pen detects that the pen tip is pressed, performing real-time detection on the pressure sensitivity value of the pen tip to obtain pressure sensitivity value detection information and send it to the pressure-sensitive signal receiving and processing module; if the infrared touch screen detects that the infrared light path is blocked, it transmits the infrared light path scanning information including the blocked infrared light path to the touch signal processing module; the pressure-sensitive signal receiving and processing module receives the pressure-sensitive value The detection information and the touch signal processing module synchronously receive the infrared light path scanning information; the touch signal processing module analyzes the infrared light path scanning information according to the preset touch signal analysis rules to obtain the coordinates of the touch point; the pressure-sensitive signal receiving and processing module according to The preset pressure-sensing value analysis rule analyzes the pressure-sensing value detection information to obtain the pressure-sensing width value; the infrared touch screen generates the touch input signal according to the touch point coordinates and the pressure-sensing width value, and outputs it to the signal switch and the control board at the same time. . Through the above method, the pressure sensitive value detection information and the infrared optical path scanning information are received synchronously and integrated and processed, so that the two signals can be synchronized in time to improve the quality of the obtained touch input signal. The signal is uploaded to the signal switch and the control board at the same time to ensure the synchronous output of the touch input signal.
在本发明的另一实施例中一种红外触控设备,其包括红外触摸屏、触摸笔,所述红外触摸屏包括第一存储器、第一处理器及存储在所述第一存储器上并可在所述第一处理器上运行的第一计算机程序,所述触摸笔包括第二存储器、第二处理器及存储在所述第二存储器上并可在所述第二处理器上运行的第二计算机程序,所述第一处理器执行所述第一计算机程序且所述第二处理器执行所述第二计算机程序以共同实现上述的触控输入信号获取方法。In another embodiment of the present invention, an infrared touch device includes an infrared touch screen and a touch pen, wherein the infrared touch screen includes a first memory, a first processor, and is stored on the first memory and can be stored at any location. A first computer program running on the first processor, the touch pen including a second memory, a second processor, and a second computer stored on the second memory and executable on the second processor A program, wherein the first processor executes the first computer program and the second processor executes the second computer program to jointly implement the above-mentioned method for acquiring a touch input signal.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的设备、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。本领域普通技术人员可以意识到,结合本文中所公开的实 施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices, devices and units, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here. Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
在本发明所提供的几个实施例中,应该理解到,所揭露的设备、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为逻辑功能划分,实际实现时可以有另外的划分方式,也可以将具有相同功能的单元集合成一个单元,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only logical function division. In actual implementation, there may be other division methods, or units with the same function may be grouped into one Units, such as multiple units or components, may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solutions in the embodiments of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个计算机可读存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的计算机可读存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or a part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer can The read storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned computer-readable storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于 此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed by the present invention. Modifications or substitutions should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (10)

  1. 一种触控输入信号获取方法,其特征在于,所述触控输入信号获取方法应用于触控输入信号获取系统,所述触控输入信号获取系统包括红外触摸屏、触摸笔、信号切换开关及控制主板,所述触摸笔、所述信号切换开关及所述控制主板均与所述红外触摸屏进行通讯连接,所述红外触摸屏包括触控信号处理模块及压感信号接收处理模块,所述触控输入信号获取方法包括:A touch input signal acquisition method, characterized in that the touch input signal acquisition method is applied to a touch input signal acquisition system, and the touch input signal acquisition system includes an infrared touch screen, a touch pen, a signal switch and a control The main board, the touch pen, the signal switch and the control main board are all connected in communication with the infrared touch screen, and the infrared touch screen includes a touch signal processing module and a pressure-sensitive signal receiving and processing module, and the touch input Signal acquisition methods include:
    若所述触摸笔检测到笔尖被按压,对所述笔尖的压感值进行实时检测得到压感值检测信息并发送至所述压感信号接收处理模块;If the touch pen detects that the pen tip is pressed, the pressure-sensitive value of the pen-tip is detected in real time to obtain pressure-sensitive value detection information and sent to the pressure-sensitive signal receiving and processing module;
    若所述红外触摸屏检测到红外光路被遮挡,将包含所述被遮挡的红外光路的红外光路扫描信息传输至所述触控信号处理模块;If the infrared touch screen detects that the infrared light path is blocked, transmit infrared light path scanning information including the blocked infrared light path to the touch signal processing module;
    所述压感信号接收处理模块接收所述压感值检测信息且所述触控信号处理模块同步接收所述红外光路扫描信息;The pressure-sensitive signal receiving and processing module receives the pressure-sensitive value detection information, and the touch signal processing module simultaneously receives the infrared optical path scanning information;
    所述触控信号处理模块根据预置的触控信号解析规则对所述红外光路扫描信息进行解析以得到触控点坐标;The touch signal processing module analyzes the infrared optical path scanning information according to a preset touch signal analysis rule to obtain the coordinates of the touch point;
    所述压感信号接收处理模块根据预置的压感值解析规则对所述压感值检测信息进行解析以得到压感宽度值;The pressure-sensing signal receiving and processing module analyzes the pressure-sensing value detection information according to a preset pressure-sensing value analysis rule to obtain a pressure-sensing width value;
    所述红外触摸屏根据所述触控点坐标及所述压感宽度值生成触控输入信号并同时输出至所述信号切换开关及所述控制主板。The infrared touch screen generates a touch input signal according to the coordinates of the touch point and the pressure-sensitive width value, and outputs the signal to the signal switch and the control main board at the same time.
  2. 根据权利要求1所述的触控输入信号获取方法,其特征在于,所述对所述笔尖的压感值进行实时检测得到压感值检测信息并发送至所述压感信号接收处理模块,包括:The method for acquiring a touch input signal according to claim 1, wherein the real-time detection of the pressure-sensitive value of the pen tip to obtain pressure-sensitive value detection information and send it to the pressure-sensitive signal receiving and processing module, comprising: :
    判断所述压感值检测信息中的压感值是否发生变化;judging whether the pressure sensitivity value in the pressure sensitivity value detection information has changed;
    若所述压感值检测信息中的压感值发生变化,将所述压感值检测信息发送至所述压感信号接收处理模块。If the pressure-sensing value in the pressure-sensing value detection information changes, the pressure-sensing value detection information is sent to the pressure-sensing signal receiving and processing module.
  3. 根据权利要求1所述的触控输入信号获取方法,其特征在于,所述将包含所述被遮挡的红外光路的红外光路扫描信息传输至所述触控信号处理模块之前,还包括:The method for acquiring a touch input signal according to claim 1, wherein before transmitting the infrared light path scanning information including the blocked infrared light path to the touch signal processing module, the method further comprises:
    根据预设的笔尖范围判断被遮挡的红外光路是否与所述笔尖范围相匹配;According to the preset range of the pen tip, determine whether the blocked infrared light path matches the range of the pen tip;
    若被遮挡的红外光路与所述笔尖范围相匹配,则执行所述将包含所述被遮 挡的红外光路的红外光路扫描信息传输至所述触控信号处理模块的步骤。If the blocked infrared light path matches the range of the pen tip, the step of transmitting the infrared light path scanning information including the blocked infrared light path to the touch signal processing module is performed.
  4. 根据权利要求1所述的触控输入信号获取方法,其特征在于,所述根据所述触控点坐标及所述压感宽度值生成触控输入信号并同时输出至所述信号切换开关及所述控制主板,包括:The method for acquiring a touch input signal according to claim 1, wherein the touch input signal is generated according to the coordinates of the touch point and the pressure-sensitive width value, and is output to the signal switch and the signal switch at the same time. The control board described above, including:
    获取每一采集时间对应的所述触控点坐标及所述压感宽度值,以所述触控点坐标为中心点生成与所述压感宽度值对应的虚拟笔迹作为所述触控输入信号;Obtain the touch point coordinates and the pressure-sensitive width value corresponding to each collection time, and use the touch point coordinates as a center point to generate a virtual handwriting corresponding to the pressure-sensitive width value as the touch input signal ;
    将所述触控输入信号同时输出至所述信号切换开关及所述控制主板。The touch input signal is simultaneously output to the signal switch and the control motherboard.
  5. 根据权利要求1所述的触控输入信号获取方法,其特征在于,所述根据预置的触控信号解析规则对所述红外光路扫描信息进行解析以得到触控点坐标,包括:The method for acquiring a touch input signal according to claim 1, wherein the analyzing the infrared optical path scanning information according to a preset touch signal analysis rule to obtain the coordinates of the touch point, comprising:
    获取所述红外光路扫描信息中一条被遮挡的红外光路及与所述被遮挡的红外光路相邻的一条未被遮挡红外光路;Obtaining a blocked infrared light path and an unblocked infrared light path adjacent to the blocked infrared light path in the infrared light path scanning information;
    将所述被遮挡的红外光路与所述未被遮挡红外光路之间的中间线作为触摸边界;Taking the middle line between the blocked infrared light path and the unblocked infrared light path as a touch boundary;
    根据所述触控信号解析规则获取所有所述触摸边界对应的最小外接圆;Obtain the minimum circumscribed circles corresponding to all the touch boundaries according to the touch signal analysis rule;
    获取所述最小外接圆的圆心所在的坐标位置作为对应的触控点坐标。The coordinate position where the center of the minimum circumscribed circle is located is obtained as the corresponding touch point coordinates.
  6. 根据权利要求1所述的触控输入信号获取方法,其特征在于,所述压感值解析规则包括压感值区间及宽度区间,所述根据预置的压感值解析规则对所述压感值检测信息进行解析以得到压感宽度值,包括:The method for acquiring a touch input signal according to claim 1, wherein the pressure sensitivity value analysis rule includes a pressure sensitivity value interval and a width interval, and the pressure sensitivity value analysis rule is based on a preset pressure sensitivity value analysis rule. The value detection information is parsed to obtain the pressure-sensitive width value, including:
    判断所述压感值是否位于所述压感值区间内;judging whether the pressure sensitivity value is within the pressure sensitivity value interval;
    若所述压感值位于所述压感值区间内,获取所述宽度区间中与所述压感值对应的一个宽度值作为压感宽度值;If the pressure-sensing value is within the pressure-sensing value interval, acquiring a width value corresponding to the pressure-sensing value in the width interval as the pressure-sensing width value;
    若所述压感值小于所述压感值区间的最小值,将所述宽度区间的最小宽度值作为所述压感宽度值;If the pressure sensitivity value is smaller than the minimum value of the pressure sensitivity value interval, the minimum width value of the width interval is used as the pressure sensitivity width value;
    若所述压感值大于所述压感值区间的最大值,将所述宽度区间的最大宽度值作为所述压感宽度值。If the pressure sensitivity value is greater than the maximum value of the pressure sensitivity value interval, the maximum width value of the width interval is used as the pressure sensitivity width value.
  7. 根据权利要求3所述的触控输入信号获取方法,其特征在于,所述根据预设的笔尖范围判断被遮挡的红外光路是否与所述笔尖范围相匹配,包括;The method for acquiring a touch input signal according to claim 3, wherein the determining whether the blocked infrared light path matches the range of the pen tip according to a preset range of the pen tip comprises;
    获取一条所述被遮挡的红外光路及与所述被遮挡的红外光路相邻的一条未被遮挡红外光路;Acquiring a blocked infrared light path and an unblocked infrared light path adjacent to the blocked infrared light path;
    将所述被遮挡的红外光路与所述未被遮挡红外光路之间的中间线作为触摸 边界;Taking the middle line between the blocked infrared light path and the unblocked infrared light path as the touch boundary;
    将所有所述被遮挡的红外光路对应的触摸边界进行组合得到触摸范围;Combining the touch boundaries corresponding to all the blocked infrared light paths to obtain a touch range;
    判断所述触摸范围是否包含于所述笔尖范围内,得到所述被遮挡的红外光路是否与所述笔尖范围相匹配的判断结果。It is determined whether the touch range is included in the range of the pen tip, and a determination result of whether the blocked infrared light path matches the range of the pen tip is obtained.
  8. 一种触控输入信号获取系统,其特征在于,所述触控输入信号获取系统包括红外触摸屏、触摸笔、信号切换开关及控制主板,所述红外触摸屏包括触控信号处理模块、压感信号接收处理模块、触控输入信号输出单元及扫描信息输出单元,所述触摸笔包括压感值检测单元及无线发送单元;A touch input signal acquisition system, characterized in that, the touch input signal acquisition system includes an infrared touch screen, a touch pen, a signal switch and a control motherboard, and the infrared touch screen includes a touch signal processing module, a pressure-sensitive signal receiver a processing module, a touch input signal output unit and a scan information output unit, the touch pen includes a pressure sensitivity value detection unit and a wireless transmission unit;
    所述压感值检测单元,用于若所述触摸笔检测到笔尖被按压,对所述笔尖的压感值进行实时检测得到压感值检测信息;the pressure-sensing value detection unit, configured to perform real-time detection on the pressure-sensing value of the pen-tip to obtain pressure-sensing value detection information if the touch pen detects that the pen tip is pressed;
    所述无线发送单元,用于发送至所述压感信号接收处理模块;the wireless sending unit, configured to send to the pressure-sensitive signal receiving and processing module;
    所述扫描信息输出单元,用于若所述红外触摸屏检测到红外光路被遮挡,将包含所述被遮挡的红外光路的红外光路扫描信息传输至所述触控信号处理模块;The scanning information output unit is configured to transmit infrared light path scanning information including the blocked infrared light path to the touch signal processing module if the infrared touch screen detects that the infrared light path is blocked;
    所述触控信号处理模块,用于接收所述红外光路扫描信息并根据预置的触控信号解析规则对所述红外光路扫描信息进行解析以得到触控点坐标;The touch signal processing module is configured to receive the infrared light path scanning information and analyze the infrared light path scanning information according to a preset touch signal analysis rule to obtain touch point coordinates;
    所述压感信号接收处理模块,用于接收所述压感值检测信息并根据预置的压感值解析规则对所述压感值检测信息进行解析以得到压感宽度值;The pressure-sensing signal receiving and processing module is configured to receive the pressure-sensing value detection information and analyze the pressure-sensing value detection information according to a preset pressure-sensing value analysis rule to obtain a pressure-sensing width value;
    所述触控输入信号输出单元,用于根据所述触控点坐标及所述压感宽度值生成触控输入信号并同时输出至所述信号切换开关及所述控制主板。The touch input signal output unit is configured to generate a touch input signal according to the coordinates of the touch point and the pressure-sensitive width value, and output the touch input signal to the signal switch and the control motherboard at the same time.
  9. 一种红外触控设备,其特征在于,包括红外触摸屏、触摸笔、控制主板及设备主体,第一信号输出接口、第二信号输出接口、所述信号切换开关及所述红外触摸屏设置于所述设备主体上,所述红外触摸屏包括触控信号处理模块、压感信号接收处理模块,所述控制主板设置于所述设备主体内,所述触摸笔设置于所述设备主体的容置腔内,可从所述容置腔内取出所述触摸笔并在所述红外触摸屏上进行触控操作,以输入相应触控输入信号至所述红外触摸屏,所述信号切换开关用于对来自所述红外触摸屏的触控输入信号切换至所述第一信号输出接口或所述第二信号输出接口进行输出,所述控制主板用于接收来自红外触摸屏的触控输入信号以根据所述触控输入信号执行相应的操作控制,所述红外触控设备用于实现如权利要求1至7中任一项所述触控输入信号获取方法。An infrared touch device is characterized in that it comprises an infrared touch screen, a touch pen, a control board and a device main body, a first signal output interface, a second signal output interface, the signal switch and the infrared touch screen are arranged on the On the main body of the device, the infrared touch screen includes a touch signal processing module and a pressure-sensitive signal receiving and processing module, the control board is arranged in the main body of the device, and the touch pen is arranged in the accommodating cavity of the main body of the device, The touch pen can be taken out from the accommodating cavity and a touch operation can be performed on the infrared touch screen to input corresponding touch input signals to the infrared touch screen. The touch input signal of the touch screen is switched to the first signal output interface or the second signal output interface for output, and the control board is used to receive the touch input signal from the infrared touch screen to execute according to the touch input signal Corresponding operation control, the infrared touch device is used to implement the touch input signal acquisition method according to any one of claims 1 to 7 .
  10. 一种红外触控设备,其特征在于,包括红外触摸屏、触摸笔,所述红外 触摸屏包括第一存储器、第一处理器及存储在所述第一存储器上并可在所述第一处理器上运行的第一计算机程序,所述触摸笔包括第二存储器、第二处理器及存储在所述第二存储器上并可在所述第二处理器上运行的第二计算机程序,所述第一处理器执行所述第一计算机程序且所述第二处理器执行所述第二计算机程序以共同实现如权利要求1至7中任一项所述的触控输入信号获取方法。An infrared touch device, characterized in that it includes an infrared touch screen and a touch pen, the infrared touch screen includes a first memory, a first processor, and is stored on the first memory and can be accessed on the first processor a first computer program running, the touch pen including a second memory, a second processor, and a second computer program stored on the second memory and executable on the second processor, the first The processor executes the first computer program and the second processor executes the second computer program to jointly implement the touch input signal acquisition method according to any one of claims 1 to 7 .
PCT/CN2020/108836 2020-08-13 2020-08-13 Touch-control input signal acquisition method and system, and infrared touch-control device WO2022032559A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/108836 WO2022032559A1 (en) 2020-08-13 2020-08-13 Touch-control input signal acquisition method and system, and infrared touch-control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/108836 WO2022032559A1 (en) 2020-08-13 2020-08-13 Touch-control input signal acquisition method and system, and infrared touch-control device

Publications (1)

Publication Number Publication Date
WO2022032559A1 true WO2022032559A1 (en) 2022-02-17

Family

ID=80246812

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/108836 WO2022032559A1 (en) 2020-08-13 2020-08-13 Touch-control input signal acquisition method and system, and infrared touch-control device

Country Status (1)

Country Link
WO (1) WO2022032559A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394839A (en) * 2020-11-20 2021-02-23 青岛海信商用显示股份有限公司 Cursor suspension method of touch display screen and touch device
CN115097962A (en) * 2022-07-06 2022-09-23 深圳市康冠商用科技有限公司 Electronic equipment and infrared touch frame with radio frequency signal processing function thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775009A (en) * 2016-11-29 2017-05-31 广州视源电子科技股份有限公司 A kind of intelligent writing method and system
CN107272955A (en) * 2017-06-19 2017-10-20 广州视源电子科技股份有限公司 A kind of method of touch-responsive, human-computer interaction device, chip and smart machine
CN108776548A (en) * 2018-06-15 2018-11-09 广州华欣电子科技有限公司 Written handwriting generation method, system and associated component based on infrared touch screen
CN209231906U (en) * 2018-12-18 2019-08-09 青岛科锐斯光电科技有限公司 A kind of electronic writing board based on infrared technique

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775009A (en) * 2016-11-29 2017-05-31 广州视源电子科技股份有限公司 A kind of intelligent writing method and system
CN107272955A (en) * 2017-06-19 2017-10-20 广州视源电子科技股份有限公司 A kind of method of touch-responsive, human-computer interaction device, chip and smart machine
CN108776548A (en) * 2018-06-15 2018-11-09 广州华欣电子科技有限公司 Written handwriting generation method, system and associated component based on infrared touch screen
CN209231906U (en) * 2018-12-18 2019-08-09 青岛科锐斯光电科技有限公司 A kind of electronic writing board based on infrared technique

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394839A (en) * 2020-11-20 2021-02-23 青岛海信商用显示股份有限公司 Cursor suspension method of touch display screen and touch device
CN112394839B (en) * 2020-11-20 2022-09-23 青岛海信商用显示股份有限公司 Cursor suspension method of touch display screen and touch device
CN115097962A (en) * 2022-07-06 2022-09-23 深圳市康冠商用科技有限公司 Electronic equipment and infrared touch frame with radio frequency signal processing function thereof

Similar Documents

Publication Publication Date Title
WO2022032559A1 (en) Touch-control input signal acquisition method and system, and infrared touch-control device
WO2018107897A1 (en) Touch screen control method and device, mobile terminal, and storage medium
US10042438B2 (en) Systems and methods for text entry
CN110362231B (en) Head-up touch device, image display method and device
AU2012214445A1 (en) Multimodal touchscreen interaction apparatuses, methods and systems
KR101984737B1 (en) Touch system comprising optical touch panel and touch pen, and method of controlling interference optical signal in touch system
WO2018148902A1 (en) Button detection method and device
US8436837B2 (en) Stylus input system
US20190272090A1 (en) Multi-touch based drawing input method and apparatus
TWI636382B (en) Touch sensitive electronic system, processing apparatus and method thereof for simulating stylus as joystick
CN106662923B (en) Information processing apparatus, information processing method, and program
CN110799933A (en) Disambiguating gesture input types using multi-dimensional heat maps
WO2016131364A1 (en) Multi-touch remote control method
JP6235349B2 (en) Display device with touch operation function
WO2020088244A1 (en) Mobile terminal interaction control method and mobile terminal
CN107562205B (en) Projection keyboard of intelligent terminal and operation method of projection keyboard
CN110058723B (en) Writing method, device and system
CN211603864U (en) Intelligent home control system based on gesture recognition
JP2014115752A (en) Pen type input device and electronic information board system
US20210170274A1 (en) Simulatively-touch method, simulatively-touch device, and touch control system
CN103083008B (en) Device with heartbeat measurement function and method for improving heartbeat measurement accuracy rate
TWI444886B (en) Display device for operating host computer by control components
CN106575184B (en) Information processing apparatus, information processing method, and computer readable medium
US20060028443A1 (en) Method and apparatus for generating and inputting displacement signals
TWI739651B (en) Electronic device and touch control method thereof

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: 20949058

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: 20949058

Country of ref document: EP

Kind code of ref document: A1