WO2022133987A1 - 触控位置识别方法、装置、系统及计算机可读存储介质 - Google Patents

触控位置识别方法、装置、系统及计算机可读存储介质 Download PDF

Info

Publication number
WO2022133987A1
WO2022133987A1 PCT/CN2020/139328 CN2020139328W WO2022133987A1 WO 2022133987 A1 WO2022133987 A1 WO 2022133987A1 CN 2020139328 W CN2020139328 W CN 2020139328W WO 2022133987 A1 WO2022133987 A1 WO 2022133987A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
position data
stylus
area
boundary line
Prior art date
Application number
PCT/CN2020/139328
Other languages
English (en)
French (fr)
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 CN202080005745.0A priority Critical patent/CN112912830B/zh
Priority to PCT/CN2020/139328 priority patent/WO2022133987A1/zh
Publication of WO2022133987A1 publication Critical patent/WO2022133987A1/zh

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/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
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
    • 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
    • G06F3/03545Pens or stylus
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present disclosure relates to the field of touch technology, and in particular, to a touch position recognition method, device, system, and computer-readable storage medium.
  • the technical problem to be solved by the present disclosure is that most TVs or computers at this stage do not provide a touch screen.
  • the non-touch screen itself cannot recognize touch operations, so it is impossible to use touch interaction directly on the TV or computer screen, and the user experience is not good.
  • embodiments of the present disclosure provide a touch position identification method, device, system, and computer-readable storage medium.
  • the present disclosure provides a touch position recognition method, which is suitable for a touch operation on a device to be touched by using a stylus, and the stylus includes an infrared signal a transmitting module and an infrared signal receiving module; when in use, the infrared signal transmitting module transmits infrared information along both the first direction and the second direction; the infrared signal receiving module can receive the reflected signal of the infrared signal;
  • the touch device includes a touch area; the first direction and the second direction intersect; and both the first direction and the second direction are parallel to the touch area;
  • the touch position recognition method includes:
  • position data of the click position of the stylus is determined.
  • the present disclosure also provides a touch position recognition device, which is suitable for a touch operation on a device to be touched by using a stylus, the stylus comprising an infrared a signal transmitting module and an infrared signal receiving module; when in use, the infrared signal transmitting module transmits infrared information along both the first and second directions; the infrared signal receiving module can receive the reflected signal of the infrared signal; the The device to be touched includes a touch area; the first direction and the second direction intersect; and both the first direction and the second direction are parallel to the touch area;
  • the touch position recognition method and device are the touch position recognition method and device.
  • a first reflection information acquisition module configured to acquire a first reflection signal formed when the touch pen clicks on the touch area
  • the position data determination module of the touch position is configured to determine the position data of the click position of the touch pen based on the first reflected signal.
  • the present disclosure further provides a touch position recognition system, including a touch pen, a device to be touched, and a position data determination component of the touch position;
  • the stylus is connected in communication with the position data determination component of the touch position;
  • the touch pen includes an infrared signal transmitting module and an infrared signal receiving module; when in use, the infrared signal transmitting module transmits infrared information along both the first direction and the second direction; the infrared signal receiving module can receive the infrared signal the reflected signal of the signal;
  • the device to be touched includes a touch area; the first direction and the second direction intersect; and both the first direction and the second direction are parallel to the touch area;
  • the stylus for acquiring the first reflected signal formed when the stylus clicks the touch area
  • the position data determination component of the touch position is configured to determine the position data of the click position of the touch pen based on the first reflected signal.
  • the present disclosure further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the steps of any of the above methods when executing the computer program.
  • the present disclosure also provides a computer-readable storage medium, where the computer-readable storage medium stores programs or instructions, and the programs or instructions cause a computer to execute the steps of any of the foregoing methods.
  • the touch position recognition method, device, system and computer-readable storage medium utilize the infrared signal transmitting module and the infrared signal receiving module installed on the touch pen. , to detect the position of the touch position of the stylus in space, so as to realize the recognition of the touch position.
  • touch position recognition it can achieve the purpose of interacting with a device that does not have a touch function in a touch manner without structural modification of the touch device, which can improve user experience.
  • it has broad application prospects for three reasons. First, the touch position recognition can be performed regardless of whether the device to be touched has computing power or not.
  • the touch device can complete the touch operation; secondly, because in the above technical solution, the infrared signal transmitting module and the infrared signal receiving module are installed on the stylus to check the distance, which is not limited by the size of the touchable area. No matter how big the touch area is, the touch position recognition can be realized; thirdly, because in the technical solutions provided by the embodiments of the present disclosure, the touch position recognition mainly relies on the cooperation of the touch pen and software, which has good portability and low cost. low. In practice, the technical solution provided by the present disclosure can also provide an alternative touch position recognition method for the touch screen, which can cope with the failure of the touch screen and the like.
  • FIG. 1 is a structural block diagram of a touch position recognition system according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a touch position recognition method according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of another touch position recognition method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a touch position recognition method provided by an embodiment of the present disclosure.
  • FIG. 5 is a flowchart of another touch position recognition method provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of another touch position recognition method provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of another touch position recognition method provided by an embodiment of the present disclosure.
  • FIG. 8 is a structural block diagram of a touch position recognition device according to an embodiment of the present disclosure.
  • FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present disclosure.
  • the touch position recognition method provided by the present application can be applied to the application environment shown in FIG. 1 .
  • the touch position recognition method is applied to a touch position recognition system.
  • the touch position recognition system includes a touch pen 101 , a device to be touched 102 , and a touch position data determination component 103 communicatively connected with the touch pen 101 .
  • the touch pen 101 includes an infrared signal transmitting module 1011 and an infrared signal receiving module 1012; when in use, the infrared signal transmitting module 1011 transmits infrared information in both the first direction and the second direction; the infrared signal receiving module 1012 can receive infrared signals
  • the reflected signal; the device 102 to be touched includes a touch area.
  • the first direction and the second direction intersect, and both the first direction and the second direction are parallel to the touch area.
  • the first direction and the second direction are perpendicular.
  • the stylus 101 should be understood as a device with a tip that can complete operations such as clicking, sliding, etc. in a small area. This is because, during use, the user uses the tip of the stylus 101 to click on the touch area of the device to be touched 102 as required to complete the touch operation. Only in this way can the chance of accidental touch be reduced.
  • the stylus 101 is a pen-shaped device, or the stylus 101 is a finger-ring device.
  • the touch pen is used to obtain the first reflected signal formed when the touch pen clicks on the touch area.
  • the infrared signal receiving module 1012 in the stylus is used to acquire the first reflection signal formed when the stylus touches the touch area.
  • the position data determination component of the touch position is used for determining the position data of the click position of the touch pen based on the first reflected signal.
  • the position data determination component of the touch position can be integrated in the touch pen; can also be integrated in the device to be touched; and can also be integrated in other electronic devices.
  • the component for determining the position data of the touch position is integrated into the stylus, when performing a touch operation, the user uses the stylus 101 to click on a certain position in the touch area of the device 102 to be touched as required, and the stylus 101 Infrared signals are emitted along both the first direction and the second direction, and the infrared signals are reflected by the blocking object to form a first reflected signal.
  • the stylus 101 acquires the first reflected signal; and then determines the position data of the clicked position of the stylus based on the first reflected signal.
  • the device to be touched 102 needs to have computing capability.
  • the user uses the stylus 101 to click on a certain position in the touch area of the device 102 to be touched as required, and the stylus 101 emits infrared signals in both the first direction and the second direction. The obstruction is reflected to form a first reflected signal.
  • the stylus 101 acquires the first reflected signal, and transmits the first reflected signal to the device to be touched 102 , and the device to be touched 102 determines the position data of the clicked position of the stylus based on the first reflected signal.
  • the stylus 101 communicates with the device to be touched 102 through Bluetooth technology or wifi technology.
  • the device 102 to be touched may or may not have computing capability.
  • the user uses the stylus 101 to click on a certain position in the touch area of the device 102 to be touched as required, and the stylus 101 emits infrared signals in both the first direction and the second direction. The obstruction is reflected to form a first reflected signal.
  • the stylus 101 acquires the first reflected signal, transmits the first reflected signal to other electronic devices, and the position data determination component of the touch position in the other electronic devices determines the position of the clicked position of the stylus 101 based on the first reflected signal data.
  • the stylus 101 communicates with other electronic devices through Bluetooth technology or wifi technology.
  • the stylus 101 is similar to a mouse
  • other electronic devices are similar to a computer
  • the device to be touched 102 is similar to a desktop for supporting the mouse and providing a flat surface for the mouse.
  • the device to be touched 102 has computing capability, it can further be set that the device to be touched 102 also has display capability. If the device 102 to be touched has a display capability, the device 102 to be touched may specifically be a TV, a smart phone, a portable wearable device, a computer, and the like.
  • the device 102 to be touched may be a desktop, a screen, a blackboard, or the like.
  • Other electronic devices may specifically be televisions, smart phones, portable wearable devices, and computers.
  • FIG. 2 is a flowchart of a method for recognizing a touch position according to an embodiment of the present disclosure. This embodiment is mainly described by taking the example that the position data determination component of the touch position is integrated in the device to be touched. The method is applied to the touch position recognition system in FIG. 1 for illustration. Referring to Fig. 2, the touch position recognition method includes:
  • the main touch switch can be designed at the tip position, and the infrared signal transmitting module and the infrared signal receiving module are both designed at positions close to the tip.
  • the tip is clicked on the device to be touched or slid on the device to be touched, the tip is in a pressed state, and the infrared signal emitting module starts to emit infrared signals at this time.
  • the infrared signal is reflected by the blocking object, the first reflected signal is formed.
  • the infrared signal receiving module starts to receive the first reflected signal, and transmits the first reflected signal to the device to be touched in real time.
  • the function of the blocking object is to reflect the infrared signal emitted by the infrared signal transmitting module of the touch pen.
  • the infrared signal can be reflected by any object, it can act as a shield.
  • the shielding objects may be walls, roofs, baffles, and borders of display screens.
  • the position data of the clicked position of the stylus refers to data that can specifically indicate the relative positional relationship between the clicked position of the stylus and the touch area.
  • the position data of the stylus click position includes the distance of the stylus click position from the boundary of the touch area.
  • the touch pen includes an infrared signal transmitting module and an infrared signal receiving module; when in use, the infrared signal transmitting module transmits infrared information along both the first direction and the second direction; the infrared signal receiving module can receive the reflection of the infrared signal
  • the device to be touched includes a touch area; the touch position identification method includes: acquiring a first reflection signal formed when a touch pen clicks on the touch area; and determining position data of the click position of the touch pen based on the first reflection signal , Since the infrared signal itself has a ranging function, the essence of the above technical solution is to detect the position of the click position of the stylus in space by using the infrared signal transmitting module and the infrared signal receiving module installed on the stylus, and then realize Recognition of touch location.
  • the realization of the touch position recognition method does not require structural modification of the touch-control device, and can achieve the purpose of interacting with a device that does not originally have a touch-control function in a
  • the above technical solution can also provide an alternative touch position recognition method for the touch screen, which can cope with the failure of the touch screen and the like.
  • the touch position recognition can be performed regardless of whether the device to be touched has computing capability, which makes it possible to select an object of suitable size as required in practice.
  • the touch device can complete the touch operation; secondly, because in the above technical solution, the infrared signal transmitting module and the infrared signal receiving module are installed on the stylus to check the distance, which is not limited by the size of the touchable area. No matter the size of the touch area, the touch position recognition can be realized; thirdly, since the touch position recognition of the above technical solution mainly relies on the cooperation of the stylus and the software, the portability is good and the cost is low.
  • the touch position identification method further includes: determining the position data of the boundary line of the touch area; determining the position data of the click position of the stylus based on the first reflected signal, including: A reflected signal and the position data of the boundary line of the touch area determine the position data of the click position of the stylus.
  • the touch position recognition includes:
  • the purpose of this step is to establish a spatial model of the touch area, or to specify the position of the touch area in space.
  • the device to be touched determines the position data of the boundary line of the touch area.
  • the second reflection signal formed during the movement of the stylus pen along the boundary line of the touch area for one week is acquired; based on the second reflection signal, the boundary of the touch area is determined. Line position data.
  • the stylus acquires the second reflection signal formed during the movement of the stylus along the boundary line of the touch area for one cycle.
  • the device to be touched determines the distance from each point on the boundary line of the touch area to the occluder based on the second reflection signal; and determines the position data of the boundary line of the touch area based on the distance from each point on the boundary line of the touch area to the occluder.
  • A is the device to be touched
  • B is the touch area of the device to be touched
  • C1 and C2 are obstructions
  • the first direction is the X direction
  • the second direction is the Y direction.
  • the obstruction may be a roof or a wall.
  • the specific implementation method of this step may further include: acquiring a third reflection signal formed by the touch pen clicking on the vertex of the polygon; and determining the boundary line of the touch area based on the third reflection signal. location data.
  • the stylus acquires the third reflection signal formed by the stylus clicking on the vertex of the polygon.
  • the device to be touched determines the distance from each vertex of the polygon to the occluder based on the third reflection signal; and determines the position data of the boundary line of the touch area based on the distance from each vertex of the polygon to the occluder.
  • S302 Acquire a first reflected signal formed when the touch pen clicks on the touch area.
  • the position data of the boundary line of the touch area includes the distance from the boundary line of the touch area to the obstruction; when performing this step, the device to be touched determines the distance from the click position of the stylus to the obstruction based on the first reflected signal , and then the device to be touched determines the position data of the clicked position of the stylus based on the distance from the clicked position of the stylus to the obstruction and the distance from the boundary line of the touch area to the obstruction. Specifically, for the device to be touched, the difference between the distance between the click position of the stylus and the obstruction and the distance between the boundary line of the touch area and the obstruction may be used as the position data of the click position of the stylus.
  • the position data of the boundary line of the touch area B includes: the upper edge of the touch area B is parallel to the barrier C1 , and the distance from the barrier C1 is y1 ; the left line of the touch area B is y1 ; The shielding object C2 is parallel, and the distance from the shielding object C2 is x1.
  • the touch pen clicks the M point of the touch area B to form a first reflected signal.
  • the coordinates of point M can be uniquely determined.
  • the area that can be used as a touch area is often limited.
  • the device to be touched is a TV
  • Other areas of the area (such as the non-display area surrounding the display area) have touch functions.
  • the device to be touched further includes a display area, the touch area is located in the display area, and the area of the touch area is smaller than the area of the display area; the touch position identification method further includes: determining The position data of the boundary line of the display area; based on the first reflection signal, determining the position data of the click position of the stylus pen, including: determining the position of the click position of the stylus pen based on the first reflection signal and the position data of the boundary line of the display area data.
  • the touch position recognition includes:
  • S402. Determine the position data of the boundary line of the display area.
  • the device to be touched determines the position data of the boundary line of the display area.
  • the fourth reflection signal formed during the movement of the stylus pen along the boundary line of the display area for one week is obtained; based on the fourth reflection signal, the position of the boundary line of the display area is determined. data.
  • the shape of the display area is a polygon; the specific implementation method of this step includes: acquiring a fifth reflection signal formed by the touch pen clicking on the vertex of the polygon; and determining the position data of the boundary line of the display area based on the fifth reflection signal.
  • S403 Acquire a first reflected signal formed when the touch pen clicks on the touch area.
  • the position data of the boundary line of the display area includes the distance from the boundary line of the display area to the obstruction; when performing this step, the device to be touched determines the distance from the click position of the stylus to the obstruction based on the first reflected signal, And the distance from the boundary line of the display area to the occluder, to determine the position data of the click position of the stylus.
  • the difference between the distance between the click position of the stylus pen and the obstruction and the distance between the boundary line of the display area and the obstruction can be used as the position data of the click position of the stylus pen.
  • A is the device to be touched
  • B is the touch area of the device to be touched
  • D is the display area of the device to be touched
  • the touch area B is located within the display area D
  • the area of the touch area B is smaller than the area of display area D.
  • Both C1 and C2 are shields. This arrangement can achieve the purpose that only a part of the display area has the touch function, and other parts do not have the touch function, which can meet diverse usage requirements.
  • the non-display area N and the display area D form a “concave” shape when viewed from the side.
  • the non-display area N is higher than the display area D.
  • S402 may not be executed to simplify the calculation process of the touch position identification method.
  • the touch position recognition method further includes: judging whether the current stylus click position is within the touch area; if so, based on the position data of the stylus click position, performing a touch response.
  • performing a touch response refers to performing the next operation according to the content corresponding to the clicked position of the stylus. Exemplarily, if a dialog box asking the user "whether to restart the device" is displayed on the screen. If it is detected that "Yes” is displayed at the location where the stylus is clicked, restart the device.
  • steps in the flowcharts of FIGS. 2 , 3 and 5 are sequentially displayed according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 2 , FIG. 3 and FIG. 5 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The order of execution of the sub-steps or phases is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or phases of the other steps.
  • a touch position recognition device is provided.
  • the touch position recognition device is suitable for the case where a touch pen is used to perform touch operations on a device to be touched, and the touch pen includes: An infrared signal transmitting module and an infrared signal receiving module; when in use, the infrared signal transmitting module transmits infrared information along both the first direction and the second direction; the infrared signal receiving module can receive the reflected signal of the infrared signal; the device to be touched includes a touch area; the first direction and the second direction intersect; and both the first direction and the second direction are parallel to the touch area.
  • the touch position recognition device includes: a first reflection information acquisition module 501 and a touch position position data determination module 502, wherein: the first reflection information acquisition module 501 is used to acquire the information formed when the touch pen touches the touch area.
  • the first reflection signal; the position data determination module 502 of the touch position is configured to determine the position data of the click position of the touch pen based on the first reflection signal.
  • a touch position identification device including: a first reflection information acquisition module, a position data determination module for the touch position, and a first boundary line position data determination module, wherein: the first boundary line The position data determination module is used to determine the position data of the boundary line of the touch area; the first reflection information acquisition module is used to acquire the first reflection signal formed when the touch pen touches the touch area; the position data of the touch position is determined The module is configured to determine the position data of the click position of the touch pen based on the first reflection signal and the position data of the boundary line of the touch area.
  • the first boundary line position data determination module includes: a second reflected signal acquisition unit and a first boundary line position data determination unit.
  • the second reflection signal acquisition unit is used to acquire the second reflection signal formed during the movement of the stylus pen along the boundary line of the touch area for one week;
  • the first boundary line position data determination unit is used to determine the position based on the second reflection signal.
  • the reflected signal determines the position data of the boundary line of the touch area.
  • the shape of the touch area is a polygon;
  • the first boundary line position data determination module includes: a third reflected signal acquisition unit and a second boundary line position data determination unit.
  • a third reflection signal acquisition unit used to acquire a third reflection signal formed by the touch pen clicking on the vertex of the polygon; a second boundary line position data determination unit, used to determine the position of the boundary line of the touch area based on the third reflection signal data.
  • the position data of the boundary line of the touch area includes the distance from the boundary line of the touch area to the obstruction; the position data determination module of the touch position is specifically configured to: determine the stylus based on the first reflection signal The distance from the click position to the occluder; based on the distance from the stylus click position to the occluder and the distance from the boundary line of the touch area to the occluder, determine the position data of the stylus click position.
  • a touch position recognition device the device to be touched further includes a display area, the touch area is located in the display area, and the area of the touch area is smaller than the area of the display area; the touch position recognition The device includes: a position data determination module of the touch position, a first reflection information acquisition module, and a second boundary line position data determination module, wherein:
  • the second boundary line position data determination module is used to determine the position data of the boundary line of the display area;
  • the first reflection information acquisition module is used to obtain the first reflection signal formed when the stylus touches the touch area;
  • the touch position The position data determination module is used for determining the position data of the click position of the stylus based on the first reflection signal and the position data of the boundary line of the display area.
  • the second boundary line position data determination module includes: a fourth reflected signal acquisition unit and a third boundary line position data determination unit.
  • the fourth reflection signal acquisition unit is used to acquire the fourth reflection signal formed in the process of the stylus moving along the boundary line of the display area for one week;
  • the third boundary line position data determination unit is used to obtain the fourth reflection signal based on the fourth reflection Signal to determine the position data of the boundary line of the display area.
  • the shape of the display area is a polygon;
  • the second boundary line position data determination module includes: a fifth reflected signal acquisition unit and a fourth boundary line position data determination unit.
  • a fifth reflection signal acquisition unit for acquiring a fifth reflection signal formed by the touch pen clicking on the vertex of the polygon;
  • a fourth boundary line position data determination unit for determining the position data of the boundary line of the display area based on the fifth reflection signal .
  • the touch position recognition method further includes a judgment module and a response module; the judgment module is used to judge whether the current stylus click position is within the touch area;
  • the response module is used for the current touch position of the touch pen to be located in the touch area, and to perform a touch response based on the position data of the touch position of the touch pen.
  • the essence of the above technical solution is to detect the position of the clicked position of the stylus in space by using the infrared signal transmitting module and the infrared signal receiving module installed on the stylus, so as to realize the touch identification of the control position.
  • the realization of this touch position recognition device can achieve the purpose of interacting with a device that does not have a touch function in a touch manner without structural modification of the device to be touched, and can improve user experience.
  • the above technical solution can also provide an alternative touch position recognition method for the touch screen, which can cope with the failure of the touch screen and the like.
  • the touch position recognition can be performed regardless of whether the device to be touched has computing capability, which makes it possible to select an object of suitable size as required in practice.
  • the touch device can complete the touch operation; secondly, because in the above technical solution, the infrared signal transmitting module and the infrared signal receiving module are installed on the stylus to check the distance, which is not limited by the size of the touchable area. No matter the size of the touch area, the touch position recognition can be realized; thirdly, since the touch position recognition of the above technical solution mainly relies on the cooperation of the stylus and the software, the portability is good and the cost is low.
  • Each module in the above-mentioned touch position recognition device may be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or stored in the memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a touch position recognition system includes a stylus, a device to be touched, and a position data determination component of the touch position; the stylus is connected in communication with the position data determination component of the touch position;
  • the touch pen includes an infrared signal transmitting module and an infrared signal receiving module; when in use, the infrared signal transmitting module transmits infrared information along both the first direction and the second direction; the infrared signal receiving module can receive the reflected signal of the infrared signal;
  • the device includes a touch area; the first direction and the second direction intersect; and both the first direction and the second direction are parallel to the touch area; the stylus is used to obtain the first The reflected signal; the position data determination component of the touch position is used for determining the position data of the click position of the touch pen based on the first reflected signal.
  • the position data determination component of the touch position is integrated into the stylus; or, the position data determination component of the touch position is integrated into the device to be touched; or; the position data determination component of the touch position integrated into other electronic devices.
  • the stylus is used to acquire a second reflection signal formed during the movement of the stylus along the boundary line of the touch area for one week; the position data determination component of the touch position is used to The reflected signal is used to determine the position data of the boundary line of the touch area, and the position data of the click position of the touch pen is determined based on the first reflection signal and the position data of the boundary line of the touch area.
  • the shape of the touch area is a polygon
  • the stylus is used to obtain a third reflection signal formed by the stylus clicking on the vertex of the polygon;
  • the position data determination component of the touch position is used to determine the position based on the third reflection
  • the signal is used to determine the position data of the boundary line of the touch area, and the position data of the click position of the touch pen is determined based on the first reflection signal and the position data of the boundary line of the touch area.
  • the position data of the boundary line of the touch area includes the distance from the boundary line of the touch area to the obstruction; the position data of the touch position determines the position of the component based on the first reflection signal and the boundary line of the touch area during execution.
  • the step of determining the position data of the click position of the stylus pen is based on the first reflected signal, determining the distance from the click position of the stylus pen to the obstruction; The distance from the area boundary line to the occluder, which determines the position data of the click position of the stylus.
  • the device to be touched further includes a display area, the touch area is located in the display area, and the area of the touch area is smaller than the area of the display area;
  • the fourth reflection signal formed during the movement of the boundary line for one week;
  • the position data determination component of the touch position is used to determine the position data of the boundary line of the display area based on the fourth reflection signal, and based on the first reflection signal and the boundary of the display area The position data of the line, which determines the position data of the stylus click position.
  • the device to be touched further includes a display area, the touch area is located in the display area, and the area of the touch area is smaller than that of the display area; the shape of the display area is a polygon; the stylus is used to acquire the touch The fifth reflection signal formed at the vertex of the polygon is clicked by the pen; the position data determination component of the touch position is used to determine the position data of the boundary line of the display area based on the fifth reflection signal, and based on the first reflection signal and the boundary line of the display area , which determines the location data of where the stylus is clicked.
  • the position data determination component of the touch position is further configured to determine whether the current touch position of the touch pen is within the touch area; if so, a touch response is performed based on the position data of the touch position of the touch pen.
  • the essence of the above technical solution is to detect the position of the clicked position of the stylus in space by using the infrared signal transmitting module and the infrared signal receiving module installed on the stylus, so as to realize the touch identification of the control position.
  • the realization of this touch position recognition device can achieve the purpose of interacting with a device that does not have a touch function in a touch manner without structural modification of the device to be touched, and can improve user experience.
  • the above technical solution can also provide an alternative touch position recognition method for the touch screen, which can cope with the failure of the touch screen and the like.
  • the touch position recognition can be performed regardless of whether the device to be touched has computing capability, which makes it possible to select an object of suitable size as required in practice.
  • the touch device can complete the touch operation; secondly, because in the above technical solution, the infrared signal transmitting module and the infrared signal receiving module are installed on the stylus to check the distance, which is not limited by the size of the touchable area. No matter the size of the touch area, the touch position recognition can be realized; thirdly, since the touch position recognition of the above technical solution mainly relies on the cooperation of the stylus and the software, the portability is good and the cost is low.
  • an electronic device in one embodiment, the electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. 9 .
  • the electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected by a system bus.
  • the processor of the electronic device is used to provide computing and control capabilities.
  • the memory of the electronic device includes a non-volatile storage medium and an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the electronic device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, near field communication (NFC) or other technologies.
  • a touch position recognition method is realized.
  • the display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen
  • the input device of the electronic device can be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the electronic device , or an external keyboard, trackpad, or mouse.
  • FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied.
  • the specific electronic device may be Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • the touch position recognition device provided by the present application can be implemented in the form of a computer program, and the computer program can be executed on the electronic device as shown in FIG. 9 .
  • the memory of the electronic device may store various program modules constituting the touch position identification device, for example, the first reflection information acquisition module 501 and the touch position position data determination module 502 shown in FIG. 8 .
  • the computer program constituted by each program module enables the processor to execute the steps in the touch position recognition method of each embodiment of the present application described in this specification.
  • the electronic device shown in FIG. 9 can acquire the first reflection signal formed when the touch pen touches the touch area through the first reflection information acquisition module 501 in the touch position identification device shown in FIG. 8 .
  • the electronic device may determine the position data of the clicked position of the stylus pen based on the first reflected signal through the position data determination module 502 of the touch position.
  • an electronic device including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the processor implements the following steps: acquiring the first step formed when the stylus touches the touch area. a reflection signal; based on the first reflection signal, determine the position data of the click position of the stylus.
  • the processor further implements the following steps when executing the computer program: determining the position data of the boundary line of the touch area; acquiring the first reflection signal formed when the touch pen touches the touch area; based on the first reflection signal and The position data of the boundary line of the touch area, which determines the position data of the click position of the stylus.
  • the processor executes the computer program, the following steps are further implemented: acquiring a second reflection signal formed during the movement of the stylus pen along the boundary line of the touch area for one cycle; and determining the touch point based on the second reflection signal.
  • the position data of the boundary line of the control area is obtained; the first reflection signal formed when the stylus touches the touch area is obtained; the position data of the click position of the touch pen is determined based on the first reflection signal and the position data of the boundary line of the touch area.
  • the shape of the touch area is a polygon; when the processor executes the computer program, the processor further implements the following steps: acquiring a third reflection signal formed by the touch pen clicking on the vertex of the polygon; determining the touch based on the third reflection signal The position data of the boundary line of the area; the first reflection signal formed when the stylus touches the touch area; the position data of the click position of the touch pen is determined based on the first reflection signal and the position data of the boundary line of the touch area.
  • the position data of the boundary line of the touch area includes the distance from the boundary line of the touch area to the obstruction; when the processor executes the computer program, the processor further implements the following steps: determining, based on the first reflected signal, the location where the touch pen clicks The distance of the occluder; based on the distance from the touch position of the stylus to the occluder and the distance from the boundary line of the touch area to the occluder, determine the position data of the clicked position of the stylus.
  • the device to be touched further includes a display area, the touch area is located in the display area, and the area of the touch area is smaller than the area of the display area; when the processor executes the computer program, the following steps are further implemented: determining the size of the display area.
  • the position data of the boundary line; the first reflection signal formed when the stylus touches the touch area; the position data of the click position of the touch pen is determined based on the position data of the boundary line of the display area of the first reflection signal.
  • the processor executes the computer program, the following steps are further implemented: acquiring a fourth reflection signal formed during the movement of the stylus pen along the boundary line of the display area for one cycle; and determining the display area based on the fourth reflection signal The position data of the boundary line.
  • the shape of the display area is a polygon; when the processor executes the computer program, the processor further implements the following steps: acquiring a fifth reflection signal formed at the vertex of the polygon clicked by the touch pen; determining the boundary of the display area based on the fifth reflection signal Line position data.
  • the processor when the processor executes the computer program, the processor further implements the following steps: acquiring a first reflection signal formed when the touch pen clicks on the touch area; determining the position data of the click position of the touch pen based on the first reflection signal; Determine whether the current stylus click position is within the touch area; if so, perform a touch response based on the position data of the stylus click position.
  • the essence of the above technical solution is to detect the position of the clicked position of the stylus in space by using the infrared signal transmitting module and the infrared signal receiving module installed on the stylus, so as to realize the touch identification of the control position.
  • the realization of the touch position recognition method does not require structural modification of the touch-control device, and can achieve the purpose of interacting with a device that does not originally have a touch-control function in a touch manner, thereby improving user experience.
  • the above technical solution can also provide an alternative touch position recognition method for the touch screen, which can cope with the failure of the touch screen and the like.
  • the touch position recognition can be performed regardless of whether the device to be touched has computing capability, which makes it possible to select an object of suitable size as required in practice.
  • the touch device can complete the touch operation; secondly, because in the above technical solution, the infrared signal transmitting module and the infrared signal receiving module are installed on the stylus to check the distance, which is not limited by the size of the touchable area. No matter the size of the touch area, the touch position recognition can be realized; thirdly, since the touch position recognition of the above technical solution mainly relies on the cooperation of the stylus and the software, the portability is good and the cost is low.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: acquiring a first reflected signal formed when a touch pen touches a touch area ; Based on the first reflection signal, determine the position data of the click position of the touch pen.
  • the following steps are further implemented: determining the position data of the boundary line of the touch area; acquiring the first reflection signal formed when the touch pen touches the touch area; and based on the first reflection signal and the position data of the boundary line of the touch area to determine the position data of the click position of the stylus.
  • the following steps are further implemented: acquiring a second reflection signal formed during the movement of the stylus pen along the boundary line of the touch area for one cycle; and determining, based on the second reflection signal, The position data of the boundary line of the touch area; the first reflection signal formed when the stylus touches the touch area is obtained; the position data of the click position of the touch pen is determined based on the first reflection signal and the position data of the boundary line of the touch area .
  • the shape of the touch area is a polygon; when the computer program is executed by the processor, the following steps are further implemented: acquiring a third reflection signal formed by the touch pen clicking on the vertex of the polygon; and determining the touch point based on the third reflection signal.
  • the position data of the boundary line of the control area is obtained; the first reflection signal formed when the stylus touches the touch area is obtained; the position data of the click position of the touch pen is determined based on the first reflection signal and the position data of the boundary line of the touch area.
  • the position data of the boundary line of the touch area includes the distance from the boundary line of the touch area to the obstruction; when the computer program is executed by the processor, the following steps are further implemented: determining the click position of the stylus based on the first reflected signal The distance to the occluder; based on the distance from the stylus click position to the occluder and the distance from the boundary line of the touch area to the occluder, determine the position data of the stylus click position.
  • the device to be touched further includes a display area, the touch area is located in the display area, and the area of the touch area is smaller than the area of the display area; when the computer program is executed by the processor, the following steps are further implemented: determining the display area The position data of the boundary line is obtained; the first reflection signal formed when the touch pen touches the touch area is obtained; the position data of the click position of the touch pen is determined based on the first reflection signal and the position data of the boundary line of the display area.
  • the following steps are further implemented: acquiring a fourth reflection signal formed during the movement of the stylus pen along the boundary line of the display area for one cycle; and determining the display based on the fourth reflection signal Location data for area boundary lines.
  • the shape of the display area is a polygon; when the computer program is executed by the processor, the following steps are further implemented: acquiring a fifth reflection signal formed by the touch pen clicking on the vertex of the polygon; and determining the display area based on the fifth reflection signal The position data of the boundary line.
  • the following steps are further implemented: acquiring a first reflection signal formed when the touch pen clicks on the touch area; and determining position data of the click position of the touch pen based on the first reflection signal ; Determine whether the current stylus click position is within the touch area; if so, perform a touch response based on the position data of the stylus click position.
  • the essence of the above technical solution is to realize the recognition of the touch position by using the infrared signal transmitting module and the infrared signal receiving module installed on the touch pen.
  • the realization of this touch position identification method does not require structural modification of the touch device, and can realize touch interaction with a device that does not have a touch function originally, which can improve user experience.
  • the above technical solution can also provide an alternative touch position recognition method for the touch screen, which can cope with the failure of the touch screen and the like.
  • the touch position recognition can be performed regardless of whether the device to be touched has computing capability, which makes it possible to select an object with a suitable size as required in practice.
  • the touch device can complete the touch operation; secondly, because in the above technical solution, the infrared signal transmitting module and the infrared signal receiving module are installed on the stylus to check the distance, which is not limited by the size of the touchable area. No matter the size of the touch area, the touch position recognition can be realized; thirdly, since the touch position recognition of the above technical solution mainly relies on the cooperation of the stylus pen and the software, the portability is good and the cost is low.
  • any reference to a memory, a database or other media used in the various embodiments provided in this application may include at least one of a non-volatile memory and a volatile memory.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in various forms, such as Static Random Access Memory (SRAM) and Dynamic Random Access Memory (DRAM).
  • the touch position recognition method provided by the present disclosure detects the position of the touch position in space by using the infrared signal transmitting module and the infrared signal receiving module installed on the touch pen, thereby realizing the recognition of the touch position. In the whole process of touch position recognition, it can achieve the purpose of interacting with a device that does not have a touch function by touch without structural modification of the touch device, which has strong industrial practicability.

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

涉及一种触控位置识别方法、装置、系统及计算机可读存储介质,触控位置识别方法适用于利用触控笔(101)在待触控设备(102)上进行触控操作的情况,触控笔(101)包括红外信号发射模块(1011)和红外信号接收模块(1012);在使用时,红外信号发射模块(1011)沿第一方向和第二方向均发射红外信息;红外信号接收模块(1012)能够接收红外信号的反射信号;待触控设备(102)包括触控区域;第一方向和第二方向交叉;且第一方向和第二方向均与触控区域平行;触控位置识别方法包括:获取触控笔(101)点击触控区域时,形成的第一反射信号;基于第一反射信号,确定触控笔(101)点击位置的位置数据。能够实现与原本不具有触控功能的设备以触摸方式进行交互的目的。

Description

触控位置识别方法、装置、系统及计算机可读存储介质 技术领域
本公开涉及触控技术领域,尤其涉及一种触控位置识别方法、装置、系统及计算机可读存储介质。
背景技术
目前以智能手机为代表的,常见的电子设备大多都具备了触控屏功能。但因为价格原因,现阶段的大多数电视或电脑都不提供触控屏。非触摸屏本身不能识别触控操作,所以无法直接在电视或电脑屏幕上使用触摸方式交互,用户体验不好。
发明内容
(一)要解决的技术问题
本公开要解决的技术问题是现阶段的大多数电视或电脑都不提供触控屏。非触摸屏本身不能识别触控操作,所以无法直接在电视或电脑屏幕上使用触摸方式交互,用户体验不好的问题。
(二)技术方案
为了解决上述技术问题,本公开实施例提供了一种触控位置识别方法、装置、系统及计算机可读存储介质。
第一方面,本公开提供了一种触控位置识别方法,所述触控位置识别方法适用于利用触控笔在待触控设备上进行触控操作的情况,所述触控笔包括红外信号发射模块和红外信号接收模块;在使用时,所述红外信号发射模块沿第一方向和第二方向均发射红外信息;所述红外信号接收模块能够接收所述红外信号的反射信号;所述待触控设备包括触控区域;所述第一方向和所述第二方向交叉;且所述第一方向和所述第二方向均与所述触控区域平行;
所述触控位置识别方法包括:
获取所述触控笔点击所述触控区域时,形成的第一反射信号;
基于所述第一反射信号,确定所述触控笔点击位置的位置数据。
第二方面,本公开还提供了一种触控位置识别装置,所述触控位置识别装置适用于利用触控笔在待触控设备上进行触控操作的情况,所述触控笔包括红外信号发射模块和红外信号接收模块;在使用时,所述红外信号发射模块沿第一方向和第二方向均发射红外信息;所述红外信号接收模块能够接收所述红外信号的反射信号;所述待触控设备包括触控区域;所述第一方向和所述第二方向交叉;且所述第一方向和所述第二方向均与所述触控区域平行;
所述触控位置识别方法装置:
第一反射信息获取模块,用于获取所述触控笔点击所述触控区域时,形成的第一反射信号;
触控位置的位置数据确定模块,用于基于所述第一反射信号,确定所述触控笔点击位置的位置数据。
第三方面,本公开还提供了一种触控位置识别系统,包括触控笔、待触控设备以及触控位置的位置数据确定组件;
所述触控笔与所述触控位置的位置数据确定组件通讯连接;
所述触控笔包括红外信号发射模块和红外信号接收模块;在使用时,所述红外信号发射模块沿第一方向和第二方向均发射红外信息;所述红外信号接收模块能够接收所述红外信号的反射信号;
所述待触控设备包括触控区域;所述第一方向和所述第二方向交叉;且所述第一方向和所述第二方向均与所述触控区域平行;
所述触控笔,用于获取所述触控笔点击所述触控区域时,形成的第一反射信号;
所述触控位置的位置数据确定组件,用于基于所述第一反射信号,确定所述触控笔点击位置的位置数据。
第四方面,本公开还提供了一种电子设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现上述任一方法的步骤。
第五方面,本公开还提供了一种计算机可读存储介质,计算机可读存储介质存储程序或指令,程序或指令使计算机执行上述任一方法的步骤。
(三)有益效果
本公开实施例提供的上述技术方案与现有技术相比具有如下优点:
由于红外信号本身具有测距功能,本申请实施例所提供的触控位置识别方法、装置、系统及计算机可读存储介质,通过利用安装于触控笔上的红外信号发射模块和红外信号接收模块,检测触控笔点击位置在空间中的位置,进而实现触控位置的识别。其在整个触控位置识别过程中,不需要对待触控设备进行结构改造,就可以实现与原本不具有触控功能的设备以触摸方式进行交互的目的,可以提高用户体验。此外,其具有广泛的应用前景,原因有三,一是,无论待触控设备是否具有运算能力,均可以进行触控位置识别,这使得在实际中,可以根据需要选择尺寸合适的物体,作为待触控设备,完成触控操作;二是,由于上述技术方案中,红外信号发射模块和红外信号接收模块安装于触控笔上,进行距离检查,其不受可触控区域尺寸的限制。无论触控区域尺寸多大,均可实现触控位置识别;三是,由于本公开实施例提供的技术方案中,触控位置识别的实现主要靠触控笔和软件配合,其便携性好,成本低廉。在实际中,本公开提供的技术方案还可以为触控屏提供一个备选的触控位置识别方式,可以应对触控屏失效等情况。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符 合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种触控位置识别系统的结构框图;
图2为本公开实施例提供的一种触控位置识别方法的流程图;
图3为本公开实施例提供的另一种触控位置识别方法的流程图;
图4为本公开实施例提供的一种触控位置识别方法的原理图;
图5为本公开实施例提供的另一种触控位置识别方法的流程图;
图6为本公开实施例提供的另一种触控位置识别方法的原理图;
图7为本公开实施例提供的另一种触控位置识别方法的原理图;
图8为本公开实施例提供的一种触控位置识别装置的结构框图;
图9为本公开实施例提供的一种电子设备的结构框图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
本申请提供的触控位置识别方法,可以应用于如图1所示的应用环境中。该触控位置识别方法应用于触控位置识别系统中。该触控位置识别系统包括触控笔101、待触控设备102以及与触控笔101通讯连接的触控位置的位置数据确定组件103。其中,触控笔101包括红外信号发射模块1011以及红外信号接收模块1012;在使用时,红外信号发射模块1011沿第一方向和第二方向均发射红外信息;红外信号接收模块1012能够接收红外信号的反射信号;待触控设备102包括触控区域。第一方向和第二方向交叉,且第一方向和第二方向均与该触控区域平行。可选地,第一方向和第二方向垂直。
触控笔101应当理解为具有尖端,能够在较小区域内完成点击、滑动等操作的设备。这是因为,在使用时,用户根据需要利用触控笔101的尖端点击待触控设备102的触控区域,以完成触控操作。只有这样才能降低误触的几率。示例性地,触控笔101为笔形设备,或者,触控笔101为指环形设备。
触控笔用于获取触控笔点击触控区域时,形成的第一反射信号。具体地,触控笔中的红外信号接收模块1012用于获取触控笔点击触控区域时,形成的第一反射信号。触控位置的位置数据确定组件,用于基于第一反射信号,确定触控笔点击位置的位置数据。
在实际中,触控位置的位置数据确定组件可以集成于触控笔中;也可以集成于待触控设备中;还可以集成于其他电子设备中。
若触控位置的位置数据确定组件集成于触控笔中,在进行触控操作时,用户根据需要利用触控笔101点击待触控设备102触控区域内的某一位置,触控笔101沿第一方向和第二方向均发射红外信号,红外信号经遮挡物反射,形成第一反射信号。触控笔101获取该第一反射信号;然后基于第一反射信号,确定触控笔点击位置的位置数据。
若触控位置的位置数据确定组件集成于待触控设备中,需要要求待触控设备102具有运算能力。在进行触控操作时,用户根据需要利用触控笔101点击待触控设备102触控区域内的某一位置,触控笔101沿第一方向和第二方向均发射红外信号,红外信号经遮挡物反射,形成第一反射信号。触控笔101获取该第一反射信号,将该第一反射信号发射至待触控设备102,待触控设备102基于第一反射信号,确定触控笔点击位置的位置数据。可选地,触控笔101与待触控设备102通过蓝牙技术或者wifi技术等进行通讯。
若触控位置的位置数据确定组件集成于其他电子设备中,待触控设备102可以具有运算能力,也可以不具备运算能力。在进行触控操作时,用户根据需要利用触控笔101点击待触控设备102触控区域内的某一位置,触控笔101沿第一方向和第二方向均发射红外信号,红外信号经遮挡物反射,形成第一反射信号。触控笔101获取该第一反射信号,将第一反射信号发射至其他电子设备,其他电子设备中的触控位置的位置数据确定组件基于第一反射信号,确定触控笔101点击位置的位置数据。可选地,触控笔101与其他电子设备通过蓝牙技术或者wifi技术进行通讯。此种情况类似于利用鼠标在桌面移动点击,以控制电脑的效果。具体地,触控笔101类似于鼠标,其他电子设备类似于电脑,待触控设备102类似于用于支撑鼠标并为鼠标提供平面的桌面。
若待触控设备102具有运算能力,进一步可以设置待触控设备102还具备显示能力。若待触控设备102具备显示能力,待触控设备102具体可以为电视、智能手机、便携式可穿戴设备以及电脑等。
若待触控设备102不具有运算能力,待触控设备102可以为桌面、幕布或黑板等。
其他电子设备具体可以为电视、智能手机、便携式可穿戴设备以及电脑等。
图2为本公开实施例提供的一种触控位置识别方法的流程图。本实施例主要以触控位置的位置数据确定组件集成于待触控设备为例进行说明。该方法应用于图1中的触控位置识别系统来举例说明。参见图2,该触控位置识别方法,包括:
S201、获取触控笔点击触控区域时,形成的第一反射信号。
本步骤的具体实现方法有多种,在设计触控笔时,可以在尖端位置处设计触控总开关,红外信号发射模块和红外信号接收模块均设计在靠近尖端的位置。在尖端点击待触控设备或在待触控设备上滑动时,尖端处于按压状态,此时红外信号发射模块开始发射红外信号。红外 信号经过遮挡物反射后,形成第一反射信号。红外信号接收模块开始接收第一反射信号,并将第一反射信号实时传输至待触控设备。
其中,遮挡物的作用是使得触控笔红外信号发射模块发射的红外信号被反射。在实际中,只要能够使得红外信号被反射的物体均可以充当遮挡物。示例性地,遮挡物可以为墙壁、屋顶、挡板以及显示屏的边框等。
S202、基于第一反射信号,确定触控笔点击位置的位置数据。
其中,触控笔点击位置的位置数据是指能够具体表明触控笔点击位置与触控区域的相对位置关系的数据。示例性地,触控笔点击位置的位置数据包括触控笔点击位置距触控区域的边界的距离。
上述技术方案通过设置触控笔包括红外信号发射模块和红外信号接收模块;在使用时,红外信号发射模块沿第一方向和第二方向均发射红外信息;红外信号接收模块能够接收红外信号的反射信号;待触控设备包括触控区域;触控位置识别方法包括:获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号,确定触控笔点击位置的位置数据,由于红外信号本身具有测距功能,上述技术方案的实质是,通过利用安装于触控笔上的红外信号发射模块和红外信号接收模块,检测触控笔点击位置在空间中的位置,进而实现触控位置的识别。这种触控位置识别方法的实现,不需要对待触控设备进行结构改造,就可以实现与原本不具有触控功能的设备以触摸方式进行交互的目的,可以提高用户体验。
上述技术方案还可以为触控屏提供一个备选的触控位置识别方式,可以应对触控屏失效等情况。
上述技术方案具有广泛的应用前景,原因有三,一是,无论待触控设备是否具有运算能力,均可以进行触控位置识别,这使得在实际中,可以根据需要选择尺寸合适的物体,作为待触控设备,完成触控操作;二是,由于上述技术方案中,红外信号发射模块和红外信号接收模块安装于触控笔上,进行距离检查,其不受可触控区域尺寸的限制。无论触控区域尺寸多大,均可实现触控位置识别;三是,由于上述技术方案触控位置识别的实现主要靠触控笔和软件配合,其便携性好,成本低廉。
在其中一个实施例中,可选地,该触控位置识别方法还包括:确定触控区域边界线的位置数据;基于第一反射信号,确定触控笔点击位置的位置数据,包括:基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。具体地,如图3所示,该触控位置识别包括:
S301、确定触控区域边界线的位置数据。
本步骤的目的是建立触控区域的空间模型,或称为明确触控区域在空间中的位置。
具体地,待触控设备确定触控区域边界线的位置数据。
本步骤的具体实现方法有多种,示例性地,获取在触控笔沿触控 区域的边界线移动一周的过程中所形成的第二反射信号;基于第二反射信号,确定触控区域边界线的位置数据。
具体地,触控笔获取在触控笔沿触控区域的边界线移动一周的过程中,形成的第二反射信号。待触控设备基于第二反射信号,确定触控区域边界线上各点到遮挡物的距离;并基于触控区域边界线上各点到遮挡物的距离确定触控区域边界线的位置数据。
示例性地,参见图4,A为待触控设备,B为待触控设备的触控区域,C1和C2均为遮挡物,第一方向为X方向,第二方向为Y方向。在实际中,遮挡物可能为屋顶或墙壁等。本领域技术人员可以理解,触控区域的边界线可以看做点的集合,触控笔沿触控区域的边界线移动一周,意味着在边界线上的各个点处都进行了测距,这样可以得到边界线各个点距遮挡物的测距结果,进而可以得到边界线在空间中的位置数据。这种方法可以确保所得到的边界线的位置数据准确。这种方法尤其适用于触控区域的形状为非多边形的情况。
或者,若触控区域的形状为多边形,本步骤的具体实现方法还可以包括:获取触控笔点击多边形的顶点处形成的第三反射信号;基于第三反射信号,确定触控区域边界线的位置数据。
具体地,触控笔获取触控笔点击多边形的顶点处形成的第三反射信号。待触控设备基于第三反射信号,确定多边形的各顶点到遮挡物的距离;并基于多边形的各顶点到遮挡物的距离确定触控区域边界线的位置数据。
继续参见图4,由于触控区域的形状为四边形,仅获取四边形的四个顶点处形成的第三反射信号,进而得到触控区域边界线的位置数据。显然,这种方法需要测距的点较少,计算量较小,执行速度较快。
S302、获取触控笔点击触控区域时,形成的第一反射信号。
S303、基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。
可选地,触控区域边界线的位置数据包括触控区域边界线到遮挡物的距离;在执行本步骤时,待触控设备基于第一反射信号确定触控笔点击位置到遮挡物的距离,然后待触控设备基于触控笔点击位置到遮挡物的距离以及触控区域边界线到遮挡物的距离,确定触控笔点击位置的位置数据。具体地,可以为待触控设备将触控笔点击位置到遮挡物的距离与触控区域边界线到遮挡物的距离之差作为触控笔点击位置的位置数据。
继续参见图4,假设经S301后,触控区域B边界线的位置数据包括:触控区域B上边线与遮挡物C1平行,且距遮挡物C1的距离为y1;触控区域B左边线与遮挡物C2平行,且距遮挡物C2的距离为x1。在S302,触控笔点击触控区域B的M点,形成第一反射信号。在执行S303时,基于第一反射信号可以得到,M点距遮挡物C1的距离为y2,距遮挡物C2的距离为x2。进一步结合触控区域B边界线的位置数据,可以确定M点距触控区域B上边线距离为y0=y2-y1,距触控区域B 左边线距离为x0=x2-x1。由此可以唯一地确定M点的坐标。
由于在实际中,往往可用作触控区域的面积是有限的,示例性地,若待触控设备为电视,只需要使得电视的显示区域具有触控功能即可,并不需要使得除显示区域的其他区域(如包围显示区域的非显示区域)具有触控功能。通过确定触控区域边界线的位置数据,其实质是在触控之前进行配置,以使得用于执行本公开提供的技术方案的执行主体(如待触控设备)明确具体哪个区域用作触控区域。
需要说明的是,在实际中,若待触控设备相对遮挡物的位置和/或姿态发生变化,需要重新执行S301的步骤。
在上述技术方案的基础上,可选地,待触控设备还包括显示区域,触控区域位于显示区域内,且触控区域的面积小于显示区域的面积;触控位置识别方法还包括:确定显示区域的边界线的位置数据;基于第一反射信号,确定触控笔点击位置的位置数据,包括:基于第一反射信号以及显示区域的边界线的位置数据,确定触控笔点击位置的位置数据。具体地,如图5所示,该触控位置识别包括:
S401、确定触控区域边界线的位置数据。
S402、确定显示区域边界线的位置数据。
具体地,待触控设备确定显示区域边界线的位置数据。
本步骤的具体实现方法有多种,示例性地,获取触控笔沿显示区域的边界线移动一周的过程中,形成的第四反射信号;基于第四反射信号,确定显示区域边界线的位置数据。
或者,显示区域的形状为多边形;本步骤的具体实现方法包括:获取触控笔点击多边形的顶点处形成的第五反射信号;基于第五反射信号,确定显示区域边界线的位置数据。
S403、获取触控笔点击触控区域时,形成的第一反射信号。
S404、基于第一反射信号以及显示区域的边界线的位置数据,确定触控笔点击位置的位置数据。
可选地,显示区域的边界线的位置数据包括显示区域边界线到遮挡物的距离;在执行本步骤时,待触控设备基于第一反射信号确定触控笔点击位置到遮挡物的距离,以及显示区域边界线到遮挡物的距离,确定触控笔点击位置的位置数据。具体地,可以为待触控设备将触控笔点击位置到遮挡物的距离与显示区域边界线到遮挡物的距离之差作为触控笔点击位置的位置数据。
参见图6,假设A为待触控设备,B为待触控设备的触控区域,D为待触控设备的显示区域,触控区域B位于显示区域D之内,触控区域B的面积小于显示区域D的面积。C1和C2均为遮挡物。这样设置可以实现仅显示区域的局部区域具有触控功能,其他部分不具有触控功能的目的,可以满足多样化的使用需求。
需要说明的是,在实际中,如图7所示,可能存在从侧面看,非显示区域N与显示区域D形成“凹”字形的情况。具体地,在垂直于显示面方向,在待触控设备显示区域D与包围显示区域D的非显示区 域N的交界线处,非显示区域N高于显示区域D。此种情况下,若触控笔F红外信号发射模块以及红外信号接收模块的安装位置均较低,会出现如图7所示的情况,构成非显示区域N的结构充当遮挡物,使得红外信号P被反射。这种情况可以不执行S402,以简化触控位置识别方法的计算过程。
在上述各实施例的基础上,可选地,触控位置识别方法还包括;判断当前触控笔点击位置是否位于触控区域内;若是,基于触控笔点击位置的位置数据,进行触控响应。
其中,进行触控响应,是指根据触控笔点击位置处对应的内容,执行下一步操作。示例性地,若屏幕中显示询问用户“是否重启设备”的对话框。若检测到触控笔点击位置处显示的是“是”,则重启设备。
应该理解的是,虽然图2、图3以及图5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2、图3以及图5中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,如图8所示,提供了一种触控位置识别装置,触控位置识别装置适用于利用触控笔在待触控设备上进行触控操作的情况,触控笔包括红外信号发射模块和红外信号接收模块;在使用时,红外信号发射模块沿第一方向和第二方向均发射红外信息;红外信号接收模块能够接收红外信号的反射信号;待触控设备包括触控区域;第一方向和第二方向交叉;且第一方向和第二方向均与触控区域平行。
该触控位置识别装置包括:第一反射信息获取模块501和触控位置的位置数据确定模块502,其中:第一反射信息获取模块501,用于获取触控笔点击触控区域时,形成的第一反射信号;触控位置的位置数据确定模块502,用于基于第一反射信号,确定触控笔点击位置的位置数据。
在其中一个实施例中,提供了一种触控位置识别装置,包括:第一反射信息获取模块、触控位置的位置数据确定模块以及第一边界线位置数据确定模块,其中:第一边界线位置数据确定模块,用于确定触控区域边界线的位置数据;第一反射信息获取模块,用于获取触控笔点击触控区域时,形成的第一反射信号;触控位置的位置数据确定模块,用于基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。
在其中一个实施例中,第一边界线位置数据确定模块,包括:第二反射信号获取单元和第一边界线位置数据确定单元。
其中,第二反射信号获取单元,用于获取在触控笔沿触控区域的 边界线移动一周的过程中所形成的第二反射信号;第一边界线位置数据确定单元,用于基于第二反射信号,确定触控区域边界线的位置数据。
在其中一个实施例中,触控区域的形状为多边形;第一边界线位置数据确定模块,包括:第三反射信号获取单元和第二边界线位置数据确定单元。
第三反射信号获取单元,用于获取触控笔点击多边形的顶点处形成的第三反射信号;第二边界线位置数据确定单元,用于基于第三反射信号,确定触控区域边界线的位置数据。
在其中一个实施例中,触控区域边界线的位置数据包括触控区域边界线到遮挡物的距离;触控位置的位置数据确定模块,具体用于:基于第一反射信号,确定触控笔点击位置到遮挡物的距离;基于触控笔点击位置到遮挡物的距离以及触控区域边界线到遮挡物的距离,确定触控笔点击位置的位置数据。
在其中一个实施例中,提供了一种触控位置识别装置,待触控设备还包括显示区域,触控区域位于显示区域内,且触控区域的面积小于显示区域的面积;触控位置识别装置包括:触控位置的位置数据确定模块、第一反射信息获取模块、以及第二边界线位置数据确定模块,其中:
第二边界线位置数据确定模块,用于确定显示区域的边界线的位置数据;第一反射信息获取模块,用于获取触控笔点击触控区域时,形成的第一反射信号;触控位置的位置数据确定模块,用于基于第一反射信号以及显示区域的边界线的位置数据,确定触控笔点击位置的位置数据。
在其中一个实施例中,第二边界线位置数据确定模块,包括:第四反射信号获取单元和第三边界线位置数据确定单元。
其中,第四反射信号获取单元,用于获取在触控笔沿显示区域的边界线移动一周的过程中所形成的第四反射信号;第三边界线位置数据确定单元,用于基于第四反射信号,确定显示区域边界线的位置数据。
在其中一个实施例中,显示区域的形状为多边形;第二边界线位置数据确定模块,包括:第五反射信号获取单元和第四边界线位置数据确定单元。
第五反射信号获取单元,用于获取触控笔点击多边形的顶点处形成的第五反射信号;第四边界线位置数据确定单元,用于基于第五反射信号,确定显示区域边界线的位置数据。
在其中一个实施例中,触控位置识别方法还包括判断模块和响应模块;判断模块,用于判断当前触控笔点击位置是否位于触控区域内;
响应模块,用于当前触控笔点击位置位于触控区域内,基于触控笔点击位置的位置数据,进行触控响应。
由于红外信号本身具有测距功能,上述技术方案的实质是,通过 利用安装于触控笔上的红外信号发射模块和红外信号接收模块,检测触控笔点击位置在空间中的位置,进而实现触控位置的识别。这种触控位置识别装置的实现,不需要对待触控设备进行结构改造,就可以实现与原本不具有触控功能的设备以触摸方式进行交互的目的,可以提高用户体验。
上述技术方案还可以为触控屏提供一个备选的触控位置识别方式,可以应对触控屏失效等情况。
上述技术方案具有广泛的应用前景,原因有三,一是,无论待触控设备是否具有运算能力,均可以进行触控位置识别,这使得在实际中,可以根据需要选择尺寸合适的物体,作为待触控设备,完成触控操作;二是,由于上述技术方案中,红外信号发射模块和红外信号接收模块安装于触控笔上,进行距离检查,其不受可触控区域尺寸的限制。无论触控区域尺寸多大,均可实现触控位置识别;三是,由于上述技术方案触控位置识别的实现主要靠触控笔和软件配合,其便携性好,成本低廉。
关于触控位置识别装置的具体限定可以参见上文中对于触控位置识别方法的限定,在此不再赘述。上述触控位置识别装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于电子设备中的处理器中,也可以以软件形式存储于电子设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种触控位置识别系统。该系统结构如图1所示,该触控位置识别系统,包括触控笔、待触控设备以及触控位置的位置数据确定组件;触控笔与触控位置的位置数据确定组件通讯连接;触控笔包括红外信号发射模块和红外信号接收模块;在使用时,红外信号发射模块沿第一方向和第二方向均发射红外信息;红外信号接收模块能够接收红外信号的反射信号;待触控设备包括触控区域;第一方向和第二方向交叉;且第一方向和第二方向均与触控区域平行;触控笔,用于获取触控笔点击触控区域时,形成的第一反射信号;触控位置的位置数据确定组件,用于基于第一反射信号,确定触控笔点击位置的位置数据。
在其中一个实施例中,触控位置的位置数据确定组件集成于触控笔中;或者,触控位置的位置数据确定组件集成于待触控设备中;或者;触控位置的位置数据确定组件集成于其他电子设备中。
在其中一个实施例中,触控笔用于获取在触控笔沿触控区域的边界线移动一周的过程中所形成的第二反射信号;触控位置的位置数据确定组件用于基于第二反射信号,确定触控区域边界线的位置数据,以及基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。
在其中一个实施例中,触控区域的形状为多边形,触控笔用于获取触控笔点击多边形的顶点处形成的第三反射信号;触控位置的位置 数据确定组件用于基于第三反射信号,确定触控区域边界线的位置数据,以及基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。
在其中一个实施例中,触控区域边界线的位置数据包括触控区域边界线到遮挡物的距离;触控位置的位置数据确定组件在执行基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据的步骤时,具体包括:基于第一反射信号,确定触控笔点击位置到遮挡物的距离;基于触控笔点击位置到遮挡物的距离以及触控区域边界线到遮挡物的距离,确定触控笔点击位置的位置数据。
在其中一个实施例中,待触控设备还包括显示区域,触控区域位于显示区域内,且触控区域的面积小于显示区域的面积;触控笔用于获取在触控笔沿显示区域的边界线移动一周的过程中所形成的第四反射信号;触控位置的位置数据确定组件用于基于第四反射信号,确定显示区域边界线的位置数据,以及基于第一反射信号以及显示区域边界线的位置数据,确定触控笔点击位置的位置数据。
在其中一个实施例中,待触控设备还包括显示区域,触控区域位于显示区域内,且触控区域的面积小于显示区域的面积;显示区域的形状为多边形;触控笔用于获取触控笔点击多边形的顶点处形成的第五反射信号;触控位置的位置数据确定组件用于基于第五反射信号,确定显示区域边界线的位置数据,以及基于第一反射信号以及显示区域边界线的位置数据,确定触控笔点击位置的位置数据。
在其中一个实施例中,触控位置的位置数据确定组件还用于判断当前触控笔点击位置是否位于触控区域内;若是,基于触控笔点击位置的位置数据,进行触控响应。
由于红外信号本身具有测距功能,上述技术方案的实质是,通过利用安装于触控笔上的红外信号发射模块和红外信号接收模块,检测触控笔点击位置在空间中的位置,进而实现触控位置的识别。这种触控位置识别装置的实现,不需要对待触控设备进行结构改造,就可以实现与原本不具有触控功能的设备以触摸方式进行交互的目的,可以提高用户体验。
上述技术方案还可以为触控屏提供一个备选的触控位置识别方式,可以应对触控屏失效等情况。
上述技术方案具有广泛的应用前景,原因有三,一是,无论待触控设备是否具有运算能力,均可以进行触控位置识别,这使得在实际中,可以根据需要选择尺寸合适的物体,作为待触控设备,完成触控操作;二是,由于上述技术方案中,红外信号发射模块和红外信号接收模块安装于触控笔上,进行距离检查,其不受可触控区域尺寸的限制。无论触控区域尺寸多大,均可实现触控位置识别;三是,由于上述技术方案触控位置识别的实现主要靠触控笔和软件配合,其便携性好,成本低廉。
在一个实施例中,提供了一种电子设备,该电子设备可以是终端, 其内部结构图可以如图9所示。该电子设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该电子设备的处理器用于提供计算和控制能力。该电子设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该电子设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、近场通信(NFC)或其他技术实现。该计算机程序被处理器执行时以实现一种触控位置识别方法。该电子设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该电子设备的输入装置可以是显示屏上覆盖的触摸层,也可以是电子设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的电子设备的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,本申请提供的触控位置识别装置可以实现为一种计算机程序的形式,计算机程序可在如图9所示的电子设备上运行。电子设备的存储器中可存储组成该触控位置识别装置的各个程序模块,比如,图8所示的第一反射信息获取模块501和触控位置的位置数据确定模块502。各个程序模块构成的计算机程序使得处理器执行本说明书中描述的本申请各个实施例的触控位置识别方法中的步骤。
例如,图9所示的电子设备可以通过如图8所示的触控位置识别装置中的第一反射信息获取模块501执行获取触控笔点击触控区域时,形成的第一反射信号。电子设备可通过触控位置的位置数据确定模块502执行基于第一反射信号,确定触控笔点击位置的位置数据。
在一个实施例中,提供了一种电子设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号,确定触控笔点击位置的位置数据。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:确定触控区域边界线的位置数据;获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:获取在触控笔沿触控区域的边界线移动一周的过程中所形成的第二反射信号;基于第二反射信号,确定触控区域边界线的位置数据;获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。
在一个实施例中,触控区域的形状为多边形;处理器执行计算机程序时还实现以下步骤:获取触控笔点击多边形的顶点处形成的第三 反射信号;基于第三反射信号,确定触控区域边界线的位置数据;获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。
在一个实施例中,触控区域边界线的位置数据包括触控区域边界线到遮挡物的距离;处理器执行计算机程序时还实现以下步骤:基于第一反射信号,确定触控笔点击位置到遮挡物的距离;基于触控笔点击位置到遮挡物的距离以及触控区域边界线到遮挡物的距离,确定触控笔点击位置的位置数据。
在一个实施例中,待触控设备还包括显示区域,触控区域位于显示区域内,且触控区域的面积小于显示区域的面积;处理器执行计算机程序时还实现以下步骤:确定显示区域的边界线的位置数据;获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号显示区域的边界线的位置数据,确定触控笔点击位置的位置数据。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:获取在触控笔沿显示区域的边界线移动一周的过程中所形成的第四反射信号;基于第四反射信号,确定显示区域边界线的位置数据。
在一个实施例中,显示区域的形状为多边形;处理器执行计算机程序时还实现以下步骤:获取触控笔点击多边形的顶点处形成的第五反射信号;基于第五反射信号,确定显示区域边界线的位置数据。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号,确定触控笔点击位置的位置数据;判断当前触控笔点击位置是否位于触控区域内;若是,基于触控笔点击位置的位置数据,进行触控响应。
由于红外信号本身具有测距功能,上述技术方案的实质是,通过利用安装于触控笔上的红外信号发射模块和红外信号接收模块,检测触控笔点击位置在空间中的位置,进而实现触控位置的识别。这种触控位置识别方法的实现,不需要对待触控设备进行结构改造,就可以实现与原本不具有触控功能的设备以触摸方式进行交互的目的,可以提高用户体验。
上述技术方案还可以为触控屏提供一个备选的触控位置识别方式,可以应对触控屏失效等情况。
上述技术方案具有广泛的应用前景,原因有三,一是,无论待触控设备是否具有运算能力,均可以进行触控位置识别,这使得在实际中,可以根据需要选择尺寸合适的物体,作为待触控设备,完成触控操作;二是,由于上述技术方案中,红外信号发射模块和红外信号接收模块安装于触控笔上,进行距离检查,其不受可触控区域尺寸的限制。无论触控区域尺寸多大,均可实现触控位置识别;三是,由于上述技术方案触控位置识别的实现主要靠触控笔和软件配合,其便携性好,成本低廉。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:获取触控笔 点击触控区域时,形成的第一反射信号;基于第一反射信号,确定触控笔点击位置的位置数据。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:确定触控区域边界线的位置数据;获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:获取在触控笔沿触控区域的边界线移动一周的过程中所形成的第二反射信号;基于第二反射信号,确定触控区域边界线的位置数据;获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。
在一个实施例中,触控区域的形状为多边形;计算机程序被处理器执行时还实现以下步骤:获取触控笔点击多边形的顶点处形成的第三反射信号;基于第三反射信号,确定触控区域边界线的位置数据;获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号以及触控区域边界线的位置数据,确定触控笔点击位置的位置数据。
在一个实施例中,触控区域边界线的位置数据包括触控区域边界线到遮挡物的距离;计算机程序被处理器执行时还实现以下步骤:基于第一反射信号,确定触控笔点击位置到遮挡物的距离;基于触控笔点击位置到遮挡物的距离以及触控区域边界线到遮挡物的距离,确定触控笔点击位置的位置数据。
在一个实施例中,待触控设备还包括显示区域,触控区域位于显示区域内,且触控区域的面积小于显示区域的面积;计算机程序被处理器执行时还实现以下步骤:确定显示区域的边界线的位置数据;获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号以及显示区域的边界线的位置数据,确定触控笔点击位置的位置数据。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:获取在触控笔沿显示区域的边界线移动一周的过程中所形成的第四反射信号;基于第四反射信号,确定显示区域边界线的位置数据。
在一个实施例中,显示区域的形状为多边形;计算机程序被处理器执行时还实现以下步骤:获取触控笔点击多边形的顶点处形成的第五反射信号;基于第五反射信号,确定显示区域边界线的位置数据。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:获取触控笔点击触控区域时,形成的第一反射信号;基于第一反射信号,确定触控笔点击位置的位置数据;判断当前触控笔点击位置是否位于触控区域内;若是,基于触控笔点击位置的位置数据,进行触控响应。
由于红外信号本身具有测距功能,上述技术方案的实质是,通过利用安装于触控笔上的红外信号发射模块和红外信号接收模块,实现触控位置的识别。这种触控位置识别方法的实现,不需要对待触控设备进行结构改造,就可以实现与原本不具有触控功能的设备以触摸方 式进行交互,可以提高用户体验。
上述技术方案还可以为触控屏提供一个备选的触控位置识别方式,可以应对触控屏失效等情况。
上述技术方案具有广泛的应用前景,原因有三,一是,无论待触控设备是否具有运算能力,均可以进行触控位置识别,这使得在实际中,可以根据需要选择尺寸合适的物体,作为待触控设备,完成触控操作;二是,由于上述技术方案中,红外信号发射模块和红外信号接收模块安装于触控笔上,进行距离检查,其不受可触控区域尺寸的限制。无论触控区域尺寸多大,均可实现触控位置识别;三是,由于上述技术方案触控位置识别的实现主要靠触控笔和软件配合,其便携性好,成本低廉。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,比如静态随机存取存储器(Static Random Access Memory,SRAM)和动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。
工业实用性
本公开提供的触控位置识别方法,通过利用安装于触控笔上的红外信号发射模块和红外信号接收模块,检测触控笔点击位置在空间中的位置,进而实现触控位置的识别。其在整个触控位置识别过程中,不需要对待触控设备进行结构改造,就可以实现与原本不具有触控功能的设备以触摸方式进行交互的目的,具有很强的工业实用性。

Claims (20)

  1. 一种触控位置识别方法,其特征在于,所述触控位置识别方法适用于利用触控笔在待触控设备上进行触控操作的情况,所述触控笔包括红外信号发射模块和红外信号接收模块;在使用时,所述红外信号发射模块沿第一方向和第二方向均发射红外信息;所述红外信号接收模块能够接收所述红外信号的反射信号;所述待触控设备包括触控区域;所述第一方向和所述第二方向交叉;且所述第一方向和所述第二方向均与所述触控区域平行;
    所述触控位置识别方法包括:
    获取所述触控笔点击所述触控区域时,形成的第一反射信号;
    基于所述第一反射信号,确定所述触控笔点击位置的位置数据。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    确定所述触控区域边界线的位置数据;
    所述基于所述第一反射信号,确定所述触控笔点击位置的位置数据,包括:
    基于所述第一反射信号以及所述触控区域边界线的位置数据,确定所述触控笔点击位置的位置数据。
  3. 根据权利要求2所述的方法,其特征在于,所述确定所述触控区域边界线的位置数据,包括:
    获取在所述触控笔沿所述触控区域的边界线移动一周的过程中所形成的第二反射信号;
    基于所述第二反射信号,确定所述触控区域边界线的位置数据。
  4. 根据权利要求2所述的方法,其特征在于,所述触控区域的形状为多边形;
    所述确定所述触控区域边界线的位置数据,包括:
    获取所述触控笔点击所述多边形的顶点处形成的第三反射信号;
    基于所述第三反射信号,确定所述触控区域边界线的位置数据。
  5. 根据权利要求2所述的方法,其特征在于,所述触控区域边界线的位置数据包括所述触控区域边界线到遮挡物的距离;
    所述基于所述第一反射信号以及所述触控区域边界线的位置数据,确定所述触控笔点击位置的位置数据,包括:
    基于所述第一反射信号,确定所述触控笔点击位置到遮挡物的距离;
    基于所述触控笔点击位置到遮挡物的距离以及所述触控区域边界线到遮挡物的距离,确定所述触控笔点击位置的位置数据。
  6. 根据权利要求1所述的方法,其特征在于,所述待触控设备还包括显示区域,所述触控区域位于所述显示区域内,且所述触控区域的面积小于所述显示区域的面积;
    所述方法还包括:
    确定所述显示区域边界线的位置数据;
    所述基于所述第一反射信号,确定所述触控笔点击位置的位置数据,包括:
    基于所述第一反射信号以及所述显示区域边界线的位置数据,确定所述触控笔点击位置的位置数据。
  7. 根据权利要求6所述的方法,其特征在于,所述确定所述显示区域边界线的位置数据,包括:
    获取在所述触控笔沿所述显示区域的边界线移动一周的过程中所形成的第四反射信号;
    基于所述第四反射信号,确定所述显示区域边界线的位置数据。
  8. 根据权利要求6所述的方法,其特征在于,所述显示区域的形状为多边形;
    所述确定所述显示区域边界线的位置数据,包括:
    获取所述触控笔点击所述多边形的顶点处形成的第五反射信号;
    基于所述第五反射信号,确定所述显示区域边界线的位置数据。
  9. 根据权利要求1所述的方法,其特征在于,所述方法还包括;
    判断当前所述触控笔点击位置是否位于所述触控区域内;
    若是,基于所述触控笔点击位置的位置数据,进行触控响应。
  10. 一种触控位置识别装置,其特征在于,所述触控位置识别装置适用于利用触控笔在待触控设备上进行触控操作的情况,所述触控笔包括红外信号发射模块和红外信号接收模块;在使用时,所述红外信号发射模块沿第一方向和第二方向均发射红外信息;所述红外信号接收模块能够接收所述红外信号的反射信号;所述待触控设备包括触控区域;所述第一方向和所述第二方向交叉;且所述第一方向和所述第二方向均与所述触控区域平行;
    所述触控位置识别方法装置:
    第一反射信息获取模块,用于获取所述触控笔点击所述触控区域时,形成的第一反射信号;
    触控位置的位置数据确定模块,用于基于所述第一反射信号,确定所述触控笔点击位置的位置数据。
  11. 一种触控位置识别系统,其特征在于,包括触控笔、待触控设备以及触控位置的位置数据确定组件;
    所述触控笔与所述触控位置的位置数据确定组件通讯连接;
    所述触控笔包括红外信号发射模块和红外信号接收模块;在使用时,所述红外信号发射模块沿第一方向和第二方向均发射红外信息;所述红外信号接收模块能够接收所述红外信号的反射信号;
    所述待触控设备包括触控区域;所述第一方向和所述第二方向交叉;且所述第一方向和所述第二方向均与所述触控区域平行;
    所述触控笔,用于获取所述触控笔点击所述触控区域时,形成的第一反射信号;
    所述触控位置的位置数据确定组件,用于基于所述第一反射信号,确定所述触控笔点击位置的位置数据。
  12. 根据权利要求11所述的系统,其特征在于,包括:
    所述触控位置的位置数据确定组件集成于所述触控笔中;或者;
    所述触控位置的位置数据确定组件集成于所述待触控设备中;或者;
    所述触控位置的位置数据确定组件集成于其他电子设备中。
  13. 根据权利要求11所述的系统,其特征在于,触控笔还用于获取在所述触控笔沿所述触控区域的边界线移动一周的过程中所形成的第二反射信号;
    触控位置的位置数据确定组件用于基于所述第二反射信号,确定所述触控区域边界线的位置数据,以及基于所述第一反射信号以及所述触控区域边界线的位置数据,确定所述触控笔点击位置的位置数据。
  14. 根据权利要求11所述的系统,其特征在于,所述触控区域的形状为多边形;
    触控笔还用于获取所述触控笔点击所述多边形的顶点处形成的第三反射信号;
    触控位置的位置数据确定组件用于基于所述第三反射信号,确定所述触控区域边界线的位置数据,以及基于所述第一反射信号以及所述触控区域边界线的位置数据,确定所述触控笔点击位置的位置数据。
  15. 根据权利要求13或14所述的系统,其特征在于,所述触控区域边界线的位置数据包括所述触控区域边界线到遮挡物的距离;
    触控位置的位置数据确定组件在执行基于所述第一反射信号以及所述触控区域边界线的位置数据,确定所述触控笔点击位置的位置数据的步骤时,具体包括:基于所述第一反射信号,确定所述触控笔点击位置到遮挡物的距离;基于所述触控笔点击位置到遮挡物的距离以及所述触控区域边界线到遮挡物的距离,确定所述触控笔点击位置的位置数据。
  16. 根据权利要求11所述的系统,其特征在于,所述待触控设备还包括显示区域,所述触控区域位于所述显示区域内,且所述触控区域的面积小于所述显示区域的面积;
    触控笔还用于获取在所述触控笔沿所述显示区域的边界线移动一周的过程中所形成的第四反射信号;
    触控位置的位置数据确定组件用于基于所述第四反射信号,确定所述显示区域边界线的位置数据,以及基于所述第一反射信号以及所述显示区域边界线的位置数据,确定所述触控笔点击位置的位置数据。
  17. 根据权利要求11所述的系统,其特征在于,所述待触控设备还包括显示区域,所述触控区域位于所述显示区域内,且所述触控区域的面积小于所述显示区域的面积;所述显示区域的形状为多边形;
    触控笔还用于获取所述触控笔点击所述多边形的顶点处形成的第五反射信号;
    触控位置的位置数据确定组件用于基于所述第五反射信号,确定所述显示区域边界线的位置数据,以及基于所述第一反射信号以及所 述显示区域边界线的位置数据,确定所述触控笔点击位置的位置数据。
  18. 根据权利要求11所述的系统,其特征在于,
    触控位置的位置数据确定组件还用于判断当前所述触控笔点击位置是否位于所述触控区域内;若是,基于所述触控笔点击位置的位置数据,进行触控响应。
  19. 一种电子设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至9中任一项所述方法的步骤。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储程序或指令,所述程序或指令使计算机执行如权利要求1至9任一项所述方法的步骤。
PCT/CN2020/139328 2020-12-25 2020-12-25 触控位置识别方法、装置、系统及计算机可读存储介质 WO2022133987A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080005745.0A CN112912830B (zh) 2020-12-25 2020-12-25 触控位置识别方法、装置、系统及计算机可读存储介质
PCT/CN2020/139328 WO2022133987A1 (zh) 2020-12-25 2020-12-25 触控位置识别方法、装置、系统及计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/139328 WO2022133987A1 (zh) 2020-12-25 2020-12-25 触控位置识别方法、装置、系统及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2022133987A1 true WO2022133987A1 (zh) 2022-06-30

Family

ID=76112917

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139328 WO2022133987A1 (zh) 2020-12-25 2020-12-25 触控位置识别方法、装置、系统及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN112912830B (zh)
WO (1) WO2022133987A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103576919A (zh) * 2012-07-31 2014-02-12 黑莓有限公司 与发射多个红外光束的触控笔相关的装置和方法
CN204808234U (zh) * 2015-05-24 2015-11-25 北京拓思德科技有限公司 白板书写点阵数码笔
CN106775002A (zh) * 2016-11-23 2017-05-31 广州视源电子科技股份有限公司 智能笔、控制方法及装置,交互设备、交互方法及系统
CN109445647A (zh) * 2018-10-17 2019-03-08 上海易视计算机科技股份有限公司 一种显示触控系统及其控制方法
US20190087025A1 (en) * 2011-10-28 2019-03-21 Wacom Co., Ltd. Adaptive transmit voltage in active stylus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000284895A (ja) * 1999-03-31 2000-10-13 Hitachi Software Eng Co Ltd 座標入力ペン並びにそれを用いた電子ボード、座標入力システム及び電子ボードシステム
CN103049111B (zh) * 2012-12-20 2015-08-12 广州视睿电子科技有限公司 一种触控笔及触控坐标计算方法
TWI502434B (zh) * 2013-08-02 2015-10-01 Wistron Corp 觸控模組及其觸控定位方法
CN108351711A (zh) * 2015-09-07 2018-07-31 S·秋赞比巴 数字化书写设备
CN211180793U (zh) * 2019-12-22 2020-08-04 上海品奇数码科技有限公司 一种红外触控笔及红外交互系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190087025A1 (en) * 2011-10-28 2019-03-21 Wacom Co., Ltd. Adaptive transmit voltage in active stylus
CN103576919A (zh) * 2012-07-31 2014-02-12 黑莓有限公司 与发射多个红外光束的触控笔相关的装置和方法
CN204808234U (zh) * 2015-05-24 2015-11-25 北京拓思德科技有限公司 白板书写点阵数码笔
CN106775002A (zh) * 2016-11-23 2017-05-31 广州视源电子科技股份有限公司 智能笔、控制方法及装置,交互设备、交互方法及系统
CN109445647A (zh) * 2018-10-17 2019-03-08 上海易视计算机科技股份有限公司 一种显示触控系统及其控制方法

Also Published As

Publication number Publication date
CN112912830A (zh) 2021-06-04
CN112912830B (zh) 2023-07-11

Similar Documents

Publication Publication Date Title
US9996176B2 (en) Multi-touch uses, gestures, and implementation
JP5373065B2 (ja) ドラッグ操作を用いるメニューへのアクセス
US8370772B2 (en) Touchpad controlling method and touch device using such method
US8614682B2 (en) Touchscreen panel unit, scrolling control method, and recording medium
AU2014200701B2 (en) Method and electronic device for displaying virtual keypad
KR102331888B1 (ko) 디스플레이 센서 및 베젤 센서에 대한 도전성 트레이스 라우팅
KR102021048B1 (ko) 사용자 입력을 제어하기 위한 방법 및 그 전자 장치
KR102189787B1 (ko) 터치스크린을 가지는 전자 장치 및 이의 입력 처리 방법
JP2011513880A (ja) タッチスクリーン上の曖昧な入力を解釈する方法
US20140184503A1 (en) Terminal and method for operating the same
JP5861637B2 (ja) 情報端末装置及びタッチパネルの表示方法
WO2018112856A1 (zh) 基于语音控制的位置定位方法、装置、用户设备及计算机程序产品
CN108693997B (zh) 智能交互平板的触摸控制方法、装置及智能交互平板
US10990277B2 (en) Creating tables using gestures
US9760277B2 (en) Electronic device and method for detecting proximity input and touch input
CN105474164B (zh) 间接输入的歧义消除
US20130285924A1 (en) Method and Apparatus Pertaining to the Interpretation of Touch-Based Actions
WO2022133987A1 (zh) 触控位置识别方法、装置、系统及计算机可读存储介质
JP6411067B2 (ja) 情報処理装置及び入力方法
WO2019237921A1 (zh) 触控识别方法、终端和存储介质
WO2018159414A1 (ja) 端末装置及び操作制御プログラム
KR20150122021A (ko) 디스플레이 대상의 이동 방향 조절 방법 및 단말기
TWI493431B (zh) 指向元件之可調整方向提示方法及系統
JP6722239B2 (ja) 情報処理装置、入力方法及びプログラム
KR20150060476A (ko) 터치스크린 상의 명령입력영역 제어 방법 및 장치

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

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

Country of ref document: EP

Kind code of ref document: A1