Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating a method for supporting an active pen according to an embodiment of the present invention. The method may be performed by a computer device (e.g., a touch adapter pad). As shown in fig. 1, the method includes the following.
S110: the touch adapter plate receives a first touch signal which is generated when a touch sensor in the touch equipment senses touch operation of a touch object and meets first format information.
The touch object can be an active pen, a passive pen or a finger of an operator; the first touch signal is an induction signal generated by the touch sensor when an operator performs touch operation on the touch equipment through the touch object.
S120: the touch adapter board converts a first touch signal meeting the first format information into a second touch signal meeting the second format information, and sends the second touch signal to the active pen controller, so that the active pen controller generates corresponding touch information according to the second touch signal and sends the touch information to the touch equipment.
It should be noted that the first touch signal and the second touch signal are sensing signals (Rx signals), and the active pen controller may determine, by receiving the Rx signals, capacitance change conditions on the touch sensor during the active pen touch process according to the received Rx signals, so as to determine coordinates of touch points, that is, positions of the touch points.
In the embodiment of the present invention, the format information of the touch signal that can be recognized by the touch sensor is the first format information, the format information of the touch signal that can be recognized by the active pen controller is the second format information, and the touch adapter board can convert the sensing signal returned by the touch sensor into the sensing signal that can be recognized by the active pen controller and send the sensing signal to the active pen controller.
The touch sensor may be a touch sensor in an existing touch device. The touch adapter plate and the active pen controller can be devices independent of the existing touch devices and active pens, can be integrated devices, and can also be independent of the touch adapter plate, the active pen controller is integrated in the active pen, the touch adapter plate and the active pen controller are connected and communicated in a wireless mode, and the like.
According to the technical scheme provided by the embodiment of the invention, a first touch signal which is generated when a touch sensor in touch equipment senses the touch operation of a touch object and meets first format information is received through a touch adapter plate; the touch adapter board converts a first touch signal meeting the first format information into a second touch signal meeting the second format information, and sends the second touch signal to the active pen controller, so that the active pen controller generates corresponding touch information according to the second touch signal and sends the touch information to the touch equipment, the existing touch equipment which does not support the active pen can support the active pen, and user experience is improved.
Fig. 2 is a flowchart illustrating a method for supporting an active pen according to another embodiment of the present invention. The method may be performed by a computer device (e.g., a touch adapter pad). As shown in fig. 2, the method includes the following.
S210: and the touch adapter plate receives a third touch signal which is sent by the active pen controller and meets the second format information.
S220: the touch adapter board converts the third touch signal meeting the second format information into a fourth touch signal meeting the first format information, and sends the fourth touch signal to the touch sensor.
S230: the touch adapter plate receives a first touch signal which is returned by the touch sensor and meets the first format information.
S240: the touch adapter board converts a first touch signal meeting the first format information into a second touch signal meeting the second format information, and sends the second touch signal to the active pen controller.
It should be noted that the third touch signal and the fourth touch signal are driving signals (Tx signals). The touch adapter plate can convert the driving signal from the main stylus controller into a driving signal which can be identified by the touch sensor and send the driving signal to the touch sensor.
In one embodiment of the present invention, the method of supporting an active pen further comprises: the touch adapter plate is connected with the active pen controller and connected with the touch sensor.
For example, the touch adapter board and the active pen controller are integrated into a USB device independent of the existing touch device. The touch adapter board can be connected with the active pen controller through the flexible circuit board FPC. In addition, the touch adapter plate can be connected with an FPC of a touch sensor in the touch equipment through a USB interface.
In an embodiment of the present invention, the first format information includes first pin information, and the second format information includes second pin information.
For example, after the touch adapter board is connected to the touch sensor through the FPC, the touch adapter board can detect and identify FPC pin information (i.e., first pin information) of the touch sensor, for example, 128 bits; the touch adapter board may sequentially connect the recognized first pin information according to the pin information (i.e., the second pin information) that can be recognized by the active pen, i.e., perform FPC pin information conversion, e.g., converting 128 bits into 256 bits. Therefore, when the touch adapter board receives the 256-bit touch signal sent by the active pen controller, the 256-bit touch signal can be converted into a 128-bit touch signal which can be identified by the touch sensor; in addition, when the touch adapter board receives a 128-bit touch signal returned by the touch sensor, the 128-bit touch signal can be converted into a 256-bit touch signal which can be recognized by the active pen controller.
It should be understood that the 128 bits and 256 bits are only exemplary descriptions, and the format information may include information such as ground information and power supply signal in addition to the pin information, and the content of the format information is not particularly limited by the present invention.
In an embodiment of the present invention, before the touch adapter board receives a third touch signal satisfying the second format information sent by the active pen controller, the method for supporting the active pen further includes: the method comprises the steps that a touch adapter plate identifies pin information of a touch sensor to obtain first format information, and the first format information is stored; after the touch adapter board converts the third touch signal meeting the second format information into the fourth touch signal meeting the first format information, the method for supporting the active pen further comprises the following steps: the format of the fourth touch signal is collated with the stored first format information, wherein the sending of the fourth touch signal to the touch sensor includes: and when the calibration result is correct, the touch adapter plate sends a fourth touch signal to the touch sensor.
For example, the touch patch panel may save the identified 128-bit pin information to a register. When the touch adapter board converts the 256-bit touch signal from the active pen controller into a 128-bit touch signal, the converted 128-bit touch signal is checked with 128-bit pin information stored in a register to determine whether the converted 128-bit touch signal is correct, and when the conversion is correct, the converted information is sent to the touch sensor; and when the conversion is wrong, the format conversion is carried out again until the correction result is correct. By storing the identified format information, the conversion result can be corrected after the format conversion is carried out on the touch adapter plate, so that the conversion accuracy is improved.
Fig. 3 is a flowchart illustrating a method for supporting an active pen according to another embodiment of the present invention. The method may be performed by a computer device (e.g., a system on a chip). As shown in fig. 3, the method includes the following.
S310: the system chip in the touch device receives touch information sent by an active pen controller outside the touch device, wherein the touch information is generated by the active pen controller according to a second touch signal output by a touch adapter plate, and the second touch signal is obtained by converting the touch adapter plate according to a first touch signal generated by a touch sensor of the touch device when the touch sensor senses touch operation of a touch object.
S320: and the system chip generates a response to the touch operation according to the touch information.
For example, the touch information may be touch coordinate information and a pressure signal, so that the system chip generates a touch instruction according to the touch coordinate information and the pressure signal, and further generates a response to a touch operation; the touch information may also be a touch instruction generated by the active pen controller according to the touch coordinate information and the pressure signal, so that the system chip generates a response to the touch operation according to the touch instruction. It should be understood that the touch information may be touch coordinate information, a pressure signal, a touch command, or the like, and the present invention is not limited thereto.
According to the technical scheme provided by the embodiment of the invention, the system chip in the touch equipment receives the touch information sent by the active pen controller outside the touch equipment, and the system chip generates the response to the touch operation according to the touch information, so that the system chip in the touch equipment can support the active pen controller outside the touch equipment and generate the response to the touch operation according to the information sent by the external active pen controller.
In an embodiment of the present invention, before the system chip in the touch device receives touch information sent by an active pen controller outside the touch device, the method further includes: the system chip receives connection request information sent by the active pen controller; according to the connection request information, the system chip terminates the connection with the touch controller, and terminates the connection between the touch controller and the touch sensor so as to establish communication connection with the active pen controller, wherein the touch device comprises the system chip, the touch controller and the touch sensor.
In an embodiment of the present invention, the system chip may receive the connection request information sent by the active pen controller in a drive-free communication manner, for example, a USB drive-free communication manner, with the active pen controller outside the touch device. It should be understood that the above description is only exemplary, and the present invention is not limited in particular to the communication manner between the system chip and the active pen controller.
It should be noted that the conventional touch device can support touch operations of a finger and a passive stylus, but cannot support an active stylus mainly because the original components cannot recognize information (such as a pressure-sensitive signal) output by the active stylus. In view of this, in the embodiment of the present application, the system chip may terminate the connection between the system chip in the existing touch device and the touch controller by receiving connection request information sent by an active pen controller outside the touch device, and terminate the connection between the touch controller and the touch sensor, so as to establish the connection between the system chip and the external active pen controller, so that the existing touch device can support the active pen. That is to say, in the embodiment of the present application, the active pen controller replaces an original touch controller in the touch device, and the active pen controller can not only receive the sensing signal generated by the touch sensor, but also receive information such as a pressure sensing signal output by the active pen, and send the information to the system chip, so that the touch operation of the active pen can be recognized and responded on the premise of not changing the original internal structure of the touch device, and therefore, the embodiment of the present application can be generally applied to any existing touch device.
It should be understood that the communication among the system chip, the touch sensor, and the touch controller in the existing touch device may also be interrupted by shielding, and the connection termination manner among the system chip, the touch sensor, and the touch controller in the existing touch device is not particularly limited by the present invention.
It should be understood that the active pen controller may support the active pen, and may also have the function of a touch controller in a touch device, that is, the active pen controller may support touch operations of a finger, a passive pen and an active pen, which is not limited in the present invention.
Fig. 4 is a flowchart illustrating a method for supporting an active pen according to another embodiment of the present invention. The method may be performed by an active pen controller. As shown in fig. 4, the method includes the following.
S410: the active pen controller sends connection request information to establish communication connection with a system chip in the touch device.
S420: the active pen controller receives a second touch signal which is transmitted by the touch adapter board and is converted from a first touch signal and meets second format information, wherein the first touch signal is generated when a touch sensor of the touch equipment senses touch operation of a touch object.
S430: and the active pen controller generates touch information according to the second touch signal.
S440: the active pen controller sends touch information to the system chip.
According to the technical scheme provided by the embodiment of the invention, the active pen controller sends the connection request information to establish communication connection with a system chip in the touch equipment; the active pen controller receives a second touch signal which is transmitted by the touch adapter plate and is converted from a first touch signal and meets second format information, wherein the first touch signal is generated when a touch sensor of the touch equipment senses touch operation of a touch object; the active pen controller generates touch information according to the second touch signal; the active pen controller sends touch information to the system chip, so that the existing touch equipment can support the active pen.
In an embodiment of the present invention, the method for supporting an active pen further includes: the active pen controller receives a pressure intensity signal sent by an active pen, wherein the active pen controller generates touch information according to a second touch signal, and the method comprises the following steps: and the active pen controller generates touch information containing the stroke thickness and the pen point track according to the pressure intensity signal and the second touch signal.
Particularly, the active pen comprises a pressure sensor, and the weight of the stroke, namely the pressure intensity, can be measured. The active pen controller can receive the pressure intensity signal sent by the active pen.
In addition, the active pen controller receives a touch signal (i.e., the second touch signal) including a position of the touch point through the touch adapter plate, and the active pen controller may obtain position information of the touch point according to the touch signal. In addition, the active pen controller can subdivide the touch signal, for example, divide 1 touch signal into 1024 touch signals on average, and then generate a touch instruction containing the stroke thickness according to the pressure intensity. Specifically, the greater the pressure intensity is, the more the number of touch signals is, and the thicker the stroke is; the smaller the pressure intensity is, the fewer the number of touch signals is, and the thinner the stroke is. For example, a thick stroke corresponds to 900 parts and a thin stroke corresponds to 200 parts.
The active pen controller can generate touch information containing pen point tracks (namely touch point positions) and stroke thicknesses by receiving pressure intensity signals sent by the active pen, so that the system chip can control the display screen to present the aesthetic feeling of the stroke thicknesses according to the strength of a user, and the user experience is improved.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Fig. 5 is a block diagram of a touch adapter board according to an embodiment of the invention. As shown in fig. 5, thetouch adapter board 500 includes anidentification register 510 and aconversion module 520.
Theidentification register 510 is used for identifying first format information of a touch sensor in the touch device.
Theconversion module 520 is configured to receive a first touch signal that is generated when the touch sensor senses a touch operation of a touch object and satisfies first format information; and converting the first touch signal meeting the first format information into a second touch signal meeting the second format information, and sending the second touch signal to the active pen controller, so that the active pen controller generates corresponding touch information according to the second touch signal and sends the touch information to the touch equipment.
According to the technical scheme provided by the embodiment of the invention, the touch adapter plate can perform format conversion of the touch signal between the touch sensor and the active pen controller, so that the connection between the touch sensor in the existing touch equipment and the external active pen controller is established, the existing touch equipment can support the active pen, and the user experience is improved.
In another embodiment of the present invention, the touch adapter board further includes acalibration register 530 for storing the first format information, and theconversion module 520 is further configured to receive a third touch signal that satisfies the second format information and is sent by the active pen controller, convert the third touch signal that satisfies the second format information into a fourth touch signal that satisfies the first format information, calibrate the format of the fourth touch signal with the stored first format information, and send the fourth touch signal to the touch sensor when the calibration result is correct.
Fig. 6 is a block diagram of an active pen controller according to an embodiment of the present invention. As shown in fig. 6, theactive pen controller 600 includes aconnection module 610, areception module 620, ageneration module 630, and atransmission module 640.
Theconnection module 610 is configured to send connection request information to establish a communication connection with a system chip in the touch device.
The receivingmodule 620 is configured to receive a second touch signal that is transmitted by the touch adapter board and is converted from a first touch signal and satisfies a second format information, where the first touch signal is generated when a touch sensor of the touch device senses a touch operation of a touch object.
Thegenerating module 630 is configured to generate touch information according to the second touch signal.
The sendingmodule 640 is configured to send the touch information to the system chip.
According to the technical scheme provided by the embodiment of the invention, the active pen controller sends the connection request information to establish communication connection with a system chip in the touch equipment; the active pen controller receives a second touch signal which is transmitted by the touch adapter plate and is converted from a first touch signal and meets second format information, wherein the first touch signal is generated when a touch sensor of the touch equipment senses touch operation of a touch object; the active pen controller generates touch information according to the second touch signal; the active pen controller sends touch information to the system chip, so that the existing touch equipment can support the active pen.
Fig. 7 is a block diagram of a system chip according to an embodiment of the invention. As shown in fig. 7, the system-on-chip 700 includes a receivingmodule 710 and agenerating module 720.
The receivingmodule 710 is configured to receive touch information sent by an active pen controller outside the touch device, where the touch information is generated by the active pen controller according to a second touch signal output by the touch adapter board, and the second touch signal is obtained by converting, by the touch adapter board, a first touch signal generated when a touch sensor of the touch device senses a touch operation of a touch object.
Thegenerating module 720 is configured to generate a response to the touch operation according to the touch information.
According to the technical scheme provided by the embodiment of the invention, the system chip in the touch equipment receives the touch information sent by the active pen controller outside the touch equipment, and the system chip generates the response to the touch operation according to the touch information, so that the system chip in the touch equipment can support the active pen controller outside the touch equipment and generate the response to the touch operation according to the information sent by the external active pen controller.
Fig. 8 is a block diagram of a touch device according to an embodiment of the invention. As shown in fig. 8, thetouch device 800 includes atouch sensor 810, atouch controller 820, and asystem chip 700.
Atouch sensor 810;
atouch controller 820;
thesystem chip 700 is configured to receive connection request information sent by an active pen controller outside the touch device, so as to establish a communication connection with the active pen controller; receiving touch information sent by an active pen controller outside the touch equipment; and generating a response to the touch operation according to the touch information.
According to the technical scheme provided by the embodiment of the invention, the system chip establishes communication connection with the active pen controller by receiving connection request information sent by the active pen controller outside the touch equipment; receiving touch information sent by an active pen controller outside the touch equipment; and generating a response to the touch operation according to the touch information, so that the existing touch equipment can support the active pen and generate the response to the touch operation of the active pen.
Fig. 9 is a block diagram illustrating a system for supporting an active pen according to an embodiment of the present invention. As shown in fig. 9, the system includes atouch device 800, atouch adapter board 500, anactive pen controller 600, and anactive pen 900.
Thetouch device 800 includes atouch sensor 810, atouch controller 820 and asystem chip 700, and can support touch operations of a finger and a passive stylus, and cannot support an active stylus, so that the weight of a stroke cannot be recognized, and the thickness of the stroke cannot be represented.
Theactive pen controller 600 is integrated with thetouch adapter board 500 in a USB device independent of the existingtouch device 800 and theactive pen 900. By inserting the USB device into the USB interface of the existingtouch device 800, any existingtouch device 800 can easily support theactive pen 900 without changing the internal components and structure of the existingtouch device 800.
Specifically, when the USB device is plugged into the USB interface of the existingtouch device 800, theactive pen controller 600 sends the connection request information to thesystem chip 700 in a USB drive-free communication manner.
Thesystem chip 700 terminates the connection between thesystem chip 700 and thetouch controller 820 in thetouch device 800 and terminates the connection between thetouch controller 820 and thetouch sensor 810 according to the connection request information, i.e. interrupts the original touch information processing channel of the touch device, thereby realizing the communication connection between thesystem chip 700 and theactive pen controller 600.
Theidentification register 510 in thetouch adapter board 500 detects and identifies the first format information of thetouch sensor 810, and stores the first format information in thecalibration register 530.
Theconversion module 520 in thetouch adapter board 500 performs format conversion on the third touch signal satisfying the second format information and sent by theactive pen controller 600, and converts the third touch signal satisfying the first format information into the fourth touch signal satisfying the first format information and capable of being identified by thetouch sensor 810.
Theconversion module 520 collates the format of the fourth touch signal with the first format information stored in thecollation register 530, and sends the fourth touch signal to thetouch sensor 810 when the collation result is correct.
Theconversion module 520 performs format conversion on the first touch signal satisfying the first format information returned by thetouch sensor 810, converts the first touch signal into a second touch signal satisfying the second format information that can be recognized by theactive pen controller 600, and sends the second touch signal to theactive pen controller 600.
Theactive pen 900 transmits the pressure intensity information to theactive pen controller 600.
Theactive pen controller 600 generates touch information including the stroke size and the pen tip trajectory according to the received second touch signal including the touch point position and the received pressure intensity signal transmitted by theactive pen 900.
Thesystem chip 700 receives the touch information sent by theactive pen controller 600, and controls the display screen to display strokes of corresponding thickness and corresponding trajectory.
According to the technical scheme provided by the embodiment of the invention, the system chip, the touch controller and the touch sensor in the existing touch equipment are terminated according to the connection request information sent by the active pen controller, the connection between the system chip and the external active pen controller is established, and the connection between the touch sensor and the active pen controller is established through the touch adapter plate, so that the existing touch equipment can support the active pen. In addition, through receiving the pressure intensity signal that initiative pen sent, can be with the touch-control information that only contains touch point position, handle into and not only contain the nib orbit (touch point position promptly), contain the touch-control information of stroke thickness again, and then can make the display screen according to user's dynamics size, demonstrate the thickness aesthetic feeling of stroke, improve user experience.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
Fig. 10 is a block diagram of anelectronic device 1000 according to an embodiment of the invention.
Referring to fig. 10,electronic device 1000 includes aprocessing component 1010 that further includes one or more processors, and memory resources, represented bymemory 1020, for storing instructions, such as application programs, that are executable byprocessing component 1010. The application programs stored inmemory 1020 may include one or more modules that each correspond to a set of instructions. Further, theprocessing component 1010 is configured to execute instructions to perform a method of supporting an active pen as described in any of the embodiments above.
Theelectronic device 1000 may also include a power supply component configured to perform power management of theelectronic device 1000, a wired or wireless network interface configured to connect theelectronic device 1000 to a network, and an input-output (I/O) interface. Theelectronic device 1000 may operate based on an operating system stored in thememory 1020, such as Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
A non-transitory computer readable storage medium, wherein instructions stored in the storage medium, when executed by a processor of theelectronic device 1000, enable theelectronic device 1000 to perform any of the above-described methods for supporting an active pen. For example, the electronic device may be a touch adapter, and the corresponding method for supporting an active pen includes: the method comprises the steps that a touch adapter plate receives a first touch signal which is generated when a touch sensor in touch equipment senses touch operation of a touch object and meets first format information; the touch adapter board converts a first touch signal meeting the first format information into a second touch signal meeting the second format information, and sends the second touch signal to the active pen controller, so that the active pen controller generates corresponding touch information according to the second touch signal and sends the touch information to the touch equipment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part thereof, which essentially contributes to the prior art, can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program check codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that the combination of the features in the present application is not limited to the combination described in the claims or the combination described in the embodiments, and all the features described in the present application may be freely combined or combined in any manner unless contradictory to each other.
It should be noted that the above-mentioned embodiments are only specific examples of the present invention, and obviously, the present invention is not limited to the above-mentioned embodiments, and many similar variations exist. All modifications which would occur to one skilled in the art and which are, therefore, directly derived or suggested from the disclosure herein are deemed to be within the scope of the present invention.
It should be understood that the terms first, second, third, fourth, etc. mentioned in the embodiments of the present invention are only used for clearly describing the technical solutions of the embodiments of the present invention, and are not used to limit the protection scope of the present invention.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.