Touch screen response method, electronic pen response method, and touch system
The touchscreen response method enhances user efficiency by using an electronic pen with a triggerable tip and color gear to distinguish between hand and pen touch operations, eliminating the need for manual mode switching.
Patent Information
- Application Number
- JP2024569023
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2026-03-02
- Estimated Expiration
- 2044-01-26
AI Technical Summary
Conventional touch devices require users to manually switch between input modes, such as normal input and electronic pen input, reducing operational efficiency due to difficulty in distinguishing between touch operations using hands and pens.
A touchscreen response method that utilizes an electronic pen with a triggerable tip and color gear to generate a target color signal, allowing the device to distinguish between hand and pen touch operations by timing the coordination of the color gear and tip trigger, and responding accordingly based on acquired coordinate information.
Enables direct hand or pen touch operations without mode selection, reducing human-machine interaction steps and improving operational efficiency by accurately distinguishing between hand and pen inputs.
Smart Images

Figure 2026507293000001_ABST
Abstract
Description
[Technical Field]
[0001] The present application relates to the technical field of human-machine interaction, and in particular to a touch screen response method, an electronic pen response method, a touch screen response device, an electronic pen response device, a touch system, a computer device, a storage medium and a computer program product. [Background technology]
[0002] With the improvement of science and technology and the quality of life, more and more intelligent devices have appeared in people's daily work and life. Touch devices are one type of intelligent device, such as interactive intelligent panels (IIPs). Operations can be performed directly on the display screen through touch devices, without the need for wired or wireless operation using a mouse or other devices, which is convenient and fast. At the same time, writing devices that allow users to write on touch devices have also appeared. Using a writing device, users can write freely on the touch device as if using a pen. At the same time, users can also choose the color or type of handwriting according to their needs.
[0003] Conventional solutions generally require the user to select an input mode, such as normal input mode or electronic pen input mode, from a menu on the panel before inputting a touch command. This significantly increases the amount of user operation in application scenarios where the input mode needs to be repeatedly switched, reducing the user's operational efficiency.
[0004] Current electronic devices have difficulty distinguishing between touch operations using hands and touch operations using pens, which affects user operation efficiency. Summary of the Invention [Problem to be solved by the invention]
[0005] Based on this, there is a need to address the above technical problems and provide a touch screen response method, an electronic pen response method, a touch screen response device, an electronic pen response device, a touch system, a computer device, a storage medium, and a computer program product that can distinguish between touch operations by hand and touch operations by pen. [Means for solving the problem]
[0006] In a first aspect, the present application provides a touchscreen response method adapted for an electronic device provided with a touchscreen and also equipped with an electronic pen provided with a triggerable pen tip and at least one color gear, said method comprising: starting a timing when a target color signal transmitted by the electronic pen is obtained, the target color signal being generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously; determining that the first coordinate information is an electronic pen trigger event when the first coordinate information is acquired within a predetermined time, the first coordinate information being generated by the touch screen in response to the first touch input; Responding to an electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information.
[0007] In one embodiment thereof, the step of responding to an electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information includes: determining a writing trajectory based on the first coordinate information; determining a target color of the writing trajectory based on the target color signal; and displaying the writing track on the touch screen according to the target color.
[0008] In one embodiment thereof, the method comprises: The method further includes the step of confirming the target color signal as an interference signal if the first coordinate information is not acquired within a preset time.
[0009] In one embodiment thereof, the method comprises: if the target color signal is not acquired, acquiring second coordinate information in response to a second touch operation on the touch screen, and determining that the second coordinate information is a non-electronic pen trigger event; and responding to a non-electronic pen trigger event on the touch screen based on the second coordinate information.
[0010] In one embodiment thereof, the step of responding to a non-electronic pen trigger event on the touch screen based on the second coordinate information includes: determining a touch locus based on the second coordinate information; and adjusting the display content on the touch screen based on the touch trajectory.
[0011] In a second aspect, the present application provides an electronic pen response method comprising an electronic device provided with a triggerable pen tip and at least one color gear, and also provided with a touch screen, the method comprising: If the target color gear is triggered, determining a target color corresponding to the target color gear; When the pen tip is triggered, generating a target color signal corresponding to the target color and transmitting the target color signal to the electronic device, the target color signal starting timing, when first coordinate information is obtained within a preset time, determining that the coordinate information is an electronic pen trigger event, and using the target color signal to instruct the electronic device to respond to the electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information, the first coordinate information being generated by the touch screen in response to the first touch operation.
[0012] In one embodiment, the electronic pen is provided with at least one independent non-self-locking button, each non-self-locking button corresponds to one color gear, and each non-self-locking button is provided with a color indicator light matching the corresponding color gear, and the method includes: when a non-auto-lock button corresponding to the target color gear is pressed, determining a target color corresponding to the target color gear, and lighting a color indicator light corresponding to the target color gear until a non-auto-lock button corresponding to a new color gear is pressed; When the pen tip is triggered, generating a target color signal corresponding to the target color and transmitting the target color signal to the electronic device.
[0013] In one embodiment, the electronic pen is provided with a toggle switch, the toggle switch includes a plurality of toggle positions, each of which corresponds to a color gear, and each of which is provided with a color mark matching the corresponding color gear; and the method includes: If the pen tip is triggered, identifying a currently triggered target color gear, the target color gear being determined based on a toggle position of a toggle switch, the target color gear being used to determine a target color; generating a target color signal corresponding to the target color and transmitting the target color signal to an electronic device; If the electronic device receives the target color signal, switching to a low power operating mode until the toggle position of the toggle switch changes.
[0014] In a third aspect, the present application further provides a touchscreen response device adapted for an electronic device provided with a touchscreen and also equipped with an electronic pen provided with a triggerable pen tip and at least one color gear, the device comprising: A timing module that receives a target color signal transmitted by the electronic pen and uses it to start timing, and the target color signal is generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously; a determination module that, if first coordinate information is acquired within a predetermined time, uses the coordinate information to determine that the electronic pen trigger event occurs, the first coordinate information being generated by the touch screen in response to a first touch input; and a response module for responding to an electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information.
[0015] In a fourth aspect, the present application further provides an electronic pen response device adapted to an electronic pen provided with a triggerable pen tip and at least one color gear, and also equipped with an electronic device provided with a touch screen, the device comprising: a determination module for determining a target color corresponding to the target color gear when the target color gear is triggered; and a transmission module that, when the pen tip is triggered, generates a target color signal corresponding to the target color and transmits the target color signal to the electronic device; the target color signal starts timing; and, when first coordinate information is obtained within a predetermined time, determines that the coordinate information is an electronic pen trigger event and, based on the target color signal and the first coordinate information, instructs the electronic device to respond to the electronic pen trigger event on the touch screen; the first coordinate information is generated by the touch screen in response to the first touch operation.
[0016] In a fifth aspect, the present application further provides a touch system comprising an electronic device provided with a touch screen and an electronic pen provided with a triggerable pen tip and at least one color gear, wherein: The electronic pen is used to determine a target color signal corresponding to the target color gear when the target color gear is triggered, and transmit the target color signal to the electronic device when the pen tip is triggered; When the electronic device acquires the target color signal transmitted by the electronic pen, it starts timing, and when it acquires the first coordinate information within a preset time, it determines that the coordinate information is an electronic pen trigger event, and uses the target color signal and the first coordinate information to respond to the electronic pen trigger event on the touch screen, where the first coordinate information is generated by the touch screen in response to the first touch input.
[0017] In a sixth aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor, when executing the computer program, performs the following steps: a step of starting a time measurement when a target color signal transmitted by the electronic pen is obtained, the target color signal being generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously; If the first coordinate information is acquired within a predetermined time, the coordinate information is determined to be an electronic pen trigger event, and the first coordinate information is generated by the touch screen in response to a first touch input; Responding to an electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information.
[0018] In a seventh aspect, the present application further provides a computer-readable storage medium having stored thereon a computer program, the computer program implementing the following steps when executed by a processor: When the target color signal transmitted by the electronic pen is acquired, timing is started, and the target color signal is generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously; If the first coordinate information is acquired within a predetermined time, the coordinate information is determined to be an electronic pen trigger event, and the first coordinate information is generated by the touch screen in response to a first touch input; Responding to an electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information.
[0019] In an eighth aspect, the present application further provides a computer program product comprising a computer program that, when executed by a processor, performs the following steps: When the target color signal transmitted by the electronic pen is acquired, the timing is started. The target color signal is generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously. If the first coordinate information is acquired within a predetermined time, the coordinate information is determined to be an electronic pen trigger event, and the first coordinate information is generated by the touch screen in response to a first touch input; Responding to an electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information.
[0020] In the above-mentioned touch screen response method, electronic pen response method, touch screen response device, electronic pen response device, touch system, computer device, storage medium, and computer program product, the electronic pen generates a target color signal when the target color gear and the pen tip are triggered simultaneously, the electronic device starts timing when it receives the target color signal transmitted by the electronic pen, the touch screen on the electronic device generates first coordinate information in response to a first touch input, and when it receives the first coordinate information within a predetermined time, it determines that the coordinate information is an electronic pen trigger event and responds to the electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information. The electronic device can distinguish between a touch operation by hand and a touch operation by pen, eliminating the need for a user to manually select an interaction mode before a touch operation. The user can directly perform a touch operation by hand or a touch operation by pen on the touch screen, thereby reducing the number of human-machine interaction steps and improving the operation efficiency of the touch screen. [Brief explanation of the drawings]
[0021] In order to more clearly describe the embodiments of the present application or the technical solutions in the prior art, the drawings necessary for describing the embodiments or the prior art are briefly described below. Obviously, the drawings described below are only the embodiments of the present application, and those skilled in the art can obtain other drawings based on the disclosed drawings without any creative efforts. [Figure 1] FIG. 1 is an application environment diagram of a touch screen response method in one embodiment. [Figure 2] 1 is a flowchart of a touch screen response method in one embodiment. [Figure 3] 1 is a flowchart of an electronic pen response method in one embodiment. [Figure 4] FIG. 1 is a schematic diagram of a non-auto-locking button type electronic pen in one embodiment. [Figure 5]FIG. 1 is a schematic diagram of a non-auto-lock button interrupt detection circuit in one embodiment. [Figure 6] FIG. 1 is a schematic diagram of a toggle switch type electronic pen in one embodiment. [Figure 7] FIG. 1 is a schematic diagram of a toggle switch interrupt detection circuit in one embodiment. [Figure 8] FIG. 1 is a schematic diagram of the operation process of a touch system in one embodiment. [Figure 9] FIG. 10 is a schematic diagram of the operation process of the touch system in another embodiment. [Figure 10] FIG. 1 is a structural block diagram of a touch screen response device in one embodiment. [Figure 11] 1 is a structural block diagram of an electronic pen response device in one embodiment; [Figure 12] 1 is a diagram illustrating the internal structure of a computing device in one embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0022] The technical solutions in the embodiments of the present application will be described below clearly and completely with reference to the drawings in the embodiments of the present application, but obviously, the described embodiments are only a part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, other embodiments that those skilled in the art can obtain without any creative efforts all belong to the protection scope of the present application.
[0023] Interactive intelligent panels (IPs) include conference panels used in conferences and educational panels used in educational settings. When using conference panels or educational panels, users often need to use pens of different colors to write or annotate. Conventional solutions typically require users to switch colors through a menu on the panel, which not only increases user interaction but also deviates from actual usage habits. In reality, multiple pens can support multiple colors, and one pen can switch between multiple colors, meaning that corresponding pens can write characters of corresponding colors. Conventional machine systems can only respond to touch operations on a touchscreen. Because the machine system itself cannot distinguish between objects touching the touchscreen, it can only respond to all touch operations in the selected operating mode. When making a PPT presentation, users often need to annotate the PPT content. Because the machine system cannot distinguish between touch operations by hand or by pen, it requires the user to first click the "Annotation" menu to enter the writing state without knowing whether the user wants to perform a menu operation or annotate. As a result, the operation step is increased by one, but users often forget this operation and want to lift the pen to annotate directly. After realizing that they have made a mistake, they have to cancel, reselect, etc., which affects the user's operation efficiency and experience.
[0024] If the machine system can distinguish between touch operations using an electronic pen and touch operations using a hand, the machine system can independently set touch functions according to the electronic pen and hand, thereby realizing the function of separating touch operations using a hand and touch operations using a pen. A user no longer needs to select an interaction mode on the touch screen before performing a touch operation. Instead, touch operations using a hand or a pen can be performed directly on the touch screen, eliminating the mode selection step and improving the overall efficiency of touch operations. The touchscreen response method according to the embodiment of the present application may be applied to the application environment shown in FIG. 1 . Here, an electronic device 102 communicates with an electronic pen 104 via a data line or a network. The electronic device 102 is provided with a touchscreen. The electronic pen 104 is provided with a triggerable pen tip and at least one color gear. A microprocessor is provided inside the electronic pen 104. The pen tip may have a pressure sensor or a push switch inside, which may be triggered by touching or pressing it. Here, the electronic device 102 may be, but is not limited to, various interactive intelligent panels, personal computers, notebook computers, smartphones, tablet computers, IoT devices, and portable wearable devices, and the IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc.
[0025] In one exemplary embodiment, as shown in FIG. 2, a touch screen response method is provided, and the method is described as being applied to the electronic device 102 of FIG. 1, and includes steps 202 to 206.
[0026] Step 202: if the target color signal transmitted by the electronic pen is obtained, start timing, and the target color signal is generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously.
[0027] When a user needs to input using the electronic pen on the touch screen, the user can selectably trigger any color gear on the electronic pen as a target color gear. After the target color gear is triggered, the electronic pen determines the target color selected by the user and waits for the pen tip to be triggered. When the pen tip is triggered, it transmits a target color signal corresponding to the target color to the electronic pen. When the electronic terminal receives the target color signal, it starts timing.
[0028] It is important to note that a triggered tip does not mean that the tip is in contact with the touchscreen. Any pressure applied to the tip by contacting any object can be considered a triggered state.
[0029] Step 204: if first coordinate information is obtained within a preset time, respond on the touch screen based on the target color signal and the first coordinate information, where the first coordinate information is generated by the touch screen in response to a touch operation.
[0030] Here, the preset time is usually measured in milliseconds (ms), but may be set to, but is not limited to, 10 ms. The first touch input may be, but is not limited to, an operation such as touching and moving the electronic pen on the touch screen.
[0031] Optionally, after starting timing, the electronic terminal acquires coordinate information through the touch screen, and if the coordinate information is acquired within a preset time, it regards it as first coordinate information and determines that the first coordinate information is generated by the trigger of the electronic pen, that is, determines that the user is currently performing a touch operation with the electronic pen. The touch operation with the electronic pen refers to a touch operation in which the tip of the electronic pen contacts the touch screen, and may be, but is not limited to, writing text, drawing figures, and adding color marks.
[0032] Furthermore, when the electronic terminal determines that the first coordinate information is generated by the trigger of the electronic pen, it displays a corresponding electronic pen response result on the touch screen based on the target color signal and the first coordinate information, and the electronic pen response result can reflect the corresponding characteristics of the target color, the first coordinate information and the touch operation by the electronic pen.
[0033] In the touchscreen response method, the electronic pen generates a target color signal when the target color gear and the pen tip are triggered simultaneously; the electronic device starts timing when it receives the target color signal transmitted by the electronic pen; the touchscreen on the electronic device generates first coordinate information in response to a first touch input; if the electronic device receives the first coordinate information within a predetermined time, it determines that the coordinate information is an electronic pen trigger event and responds to the electronic pen trigger event on the touchscreen based on the target color signal and the first coordinate information. The electronic device can distinguish between a touch operation by hand and a touch operation by pen, and the user does not need to select an interaction mode on the touchscreen before performing a touch operation. The user can directly perform a touch operation by hand or a touch operation by pen on the touchscreen, eliminating the need for a mode selection step and reducing human-machine interaction steps, thereby improving touchscreen operation efficiency.
[0034] In one embodiment, the step of responding to an electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information includes the steps of determining a writing path based on the first coordinate information, determining a target color of the writing path based on the target color signal, and displaying the writing path on the touch screen according to the target color.
[0035] Optionally, when the electronic terminal determines that the first coordinate information is an electronic pen trigger event, it determines the movement trajectory of the pen tip of the electronic pen on the touch screen based on the first coordinate information, uses the movement trajectory as a writing trajectory to be displayed on the touch screen, determines a target color of the current writing trajectory based on the target color signal, and finally displays the writing trajectory of the target color on the touch screen, thereby identifying and responding to the electronic pen trigger event.
[0036] In this embodiment, the electronic pen generates a target color signal when the target color gear and the pen tip are triggered simultaneously. The electronic device starts timing when it receives the target color signal transmitted by the electronic pen. If the electronic device receives first coordinate information within a predetermined time, it determines that the coordinate information is an electronic pen trigger event, determines a writing path based on the first coordinate information, determines a target color of the writing path based on the target color signal, and displays the writing path on the touch screen according to the target color. The electronic device can distinguish between touch operations by hand and touch operations by pen, and does not require the user to manually select an electronic pen interaction mode before performing a touch operation. The user can directly perform touch operations by pen on the touch screen, and the electronic device can accurately respond to the touch operations by pen. This reduces the number of human-machine interaction steps, thereby improving the operation efficiency of the touch screen.
[0037] In one embodiment, the method further includes the step of determining the target color signal as an interference signal to which no response is required if the first coordinate information is not acquired within a preset time.
[0038] Optionally, when the electronic device receives the target color signal transmitted by the electronic pen, it starts timing and obtains coordinate information through the touch screen. If the tip of the electronic pen does not contact the touch screen within a preset time, i.e., if the user does not perform a touch input operation on the touch screen, the electronic device will determine that the target color signal transmitted by the electronic pen this time is generated due to an incorrect contact of the electronic pen, and will identify the target color signal as an interference signal and not process it.
[0039] In one possible embodiment, after identifying the target color signal as an interference signal, the electronic device can display prompt information on the touch screen to prompt the user that the color gear of the electronic pen has been mis-touched.
[0040] In this embodiment, the electronic pen generates a target color signal when the target color gear and the pen tip are triggered simultaneously. The electronic device starts timing when it receives the target color signal transmitted by the electronic pen. If it does not receive the first coordinate information within a preset time, it identifies the target color signal as an interference signal. The electronic device can identify a touch operation by the pen, eliminating the need for a user to manually select an electronic pen interaction mode before performing a touch operation. The user can directly perform a touch operation by the pen on the touch screen. The electronic device can accurately respond to the touch operation by the pen. Even if the electronic pen does not accurately contact the touch screen, the electronic device can determine and identify an incorrect operation by the electronic pen and not respond. This reduces the number of human-machine interaction steps, thereby improving the operation efficiency of the touch screen.
[0041] In one embodiment, the method further includes, if the target color signal is not obtained, acquiring second coordinate information in response to a touch operation on the touch screen, and responding on the touch screen based on the second coordinate information.
[0042] Optionally, if the electronic device does not acquire the target color signal, it continues to acquire coordinate information through the touch screen. If it acquires coordinate information, it regards it as second coordinate information and determines that the second coordinate information is not generated by the trigger of the electronic pen, that is, determines that the user is currently performing a touch operation with a non-electronic pen. If the electronic device determines that the second coordinate information is generated by the trigger of the non-electronic pen, it displays a corresponding non-electronic pen response result on the touch screen based on the second coordinate information, and the non-electronic pen response result can reflect the second coordinate information and corresponding characteristics of the touch operation with a finger. A touch operation with a non-electronic pen refers to a touch operation in which a finger or a passive pen contacts the touch screen, and may include, but is not limited to, moving an interface, flipping between pages, zooming in and out, adjusting the volume, and adjusting the screen brightness.
[0043] In this embodiment, if the electronic device does not acquire the target color signal, it responds to a second touch operation on the touch screen by acquiring second coordinate information, determining that the second coordinate information is a non-electronic pen trigger event, and responding to the non-electronic pen trigger event on the touch screen based on the second coordinate information. The electronic device can identify a hand touch operation, eliminating the need for a user to manually select an interaction mode before performing a touch operation. The user can directly perform a hand touch operation on the touch screen, and the electronic device can accurately respond to the hand touch operation. This reduces human-machine interaction steps and improves touch screen operation efficiency.
[0044] In one embodiment, responding to the non-electronic pen trigger event on the touch screen based on the second coordinate information includes determining a touch trajectory based on the second coordinate information; and adjusting display content on the touch screen based on the touch trajectory.
[0045] Optionally, if the electronic terminal determines that the second coordinate information is a non-electronic pen trigger event, it determines a movement trajectory of the finger or passive pen on the touch screen based on the second coordinate information, uses the movement trajectory as a touch trajectory input by the user on the touch screen, determines the touch command input by the user based on the mapping relationship between the touch trajectory and the touch command, and finally adjusts the display content on the touch screen, such as moving the display interface on the touch screen, zooming in or out, turning pages forward or backward, adjusting the volume and adjusting the screen brightness, based on the touch command, to realize identification and response to the non-electronic pen trigger event.
[0046] In this embodiment, if the electronic device does not acquire the target color signal, it responds to a second touch operation on the touch screen by acquiring second coordinate information, determining that the second coordinate information is a non-electronic pen trigger event, determining a touch trajectory based on the second coordinate information, and adjusting the display content on the touch screen based on the touch trajectory. The electronic device can identify a hand touch operation, and the user can directly perform a hand touch operation on the touch screen without manually selecting an interaction mode before the touch operation. The electronic device can accurately respond to the hand touch operation, reducing human-machine interaction steps and improving touch screen operation efficiency.
[0047] In one embodiment, the touchscreen response method, as applied to the electronic device 102 of FIG. 1, includes: If the target color signal is not acquired, the method includes the steps of acquiring second coordinate information in response to a second touch operation on the touch screen and determining that the second coordinate information is not a non-electronic pen trigger event, determining a touch trajectory based on the second coordinate information, and adjusting the display content on the touch screen based on the touch trajectory.
[0048] When the target color signal transmitted by the electronic pen is acquired, timing is started, and the target color signal is generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously.
[0049] If the first coordinate information is acquired within a predetermined time, it is determined that the coordinate information is an electronic pen trigger event, the first coordinate information is generated by the touch screen in response to the first touch input, a writing path is determined based on the first coordinate information, a target color of the writing path is determined based on the target color signal, and the writing path is displayed on the touch screen according to the target color.
[0050] If the first coordinate information is not acquired within a preset time, the target color signal is confirmed as an interference signal.
[0051] In one exemplary embodiment, as shown in FIG. 2, an electronic pen response method is provided, and the method is described as being applied to the electronic device 104 of FIG. 1, and includes steps 302 to 304.
[0052] Step 302: If a target color gear is triggered, determine a target color corresponding to the target color gear.
[0053] Optionally, when a user needs to use the electronic pen to perform a touch operation on the touch screen, the user can select a target color on the electronic pen and trigger a corresponding target color gear, and when the target color gear is triggered, the electronic pen determines the target color currently selected by the user.
[0054] Step 304: When the pen tip is triggered, a target color signal corresponding to the target color is generated and transmitted to the electronic device. The target color signal starts timing. If first coordinate information is obtained within a predetermined time, the coordinate information is determined to be an electronic pen trigger event, and is used to instruct the electronic device to respond to the electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information. The first coordinate information is generated by the touch screen in response to the first touch operation.
[0055] Optionally, when the pen tip is triggered under pressure, the electronic pen generates a corresponding target color signal based on the currently determined target color and transmits the target color signal to the electronic device.
[0056] The electronic device starts timing when it receives a target color signal transmitted by the electronic pen. If the electronic device receives first coordinate information within a preset time, it determines that the coordinate information is an electronic pen trigger event and responds to the electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information. If the electronic device does not receive the first coordinate information within the preset time, it identifies the target color signal as an interference signal.
[0057] In one possible embodiment, the electronic pen is provided with at least one independent non-auto-locking button, each corresponding to one color gear, and each non-auto-locking button is provided with a color indicator light matching the corresponding target color gear, and the method further includes the steps of: when the non-auto-locking button corresponding to the target color gear is pressed, determining a target color corresponding to the target color gear and lighting the color indicator light corresponding to the target color gear until the non-auto-locking button corresponding to a new color gear is pressed; and when the pen tip is triggered, generating a target color signal corresponding to the target color and transmitting the target color signal to the electronic device.
[0058] Specifically, an electronic pen equipped with four independent non-auto-locking buttons has four colored touch buttons on the pen body, i.e., non-auto-locking buttons that spring back when pressed and released, for example, four buttons in blue, green, red, and white, and LED lights of corresponding colors are located on both sides of the buttons, as shown in Figure 4. An MCU circuit is built into the electronic pen, and the MCU has four codes, ID1, ID2, ID3, and ID4, corresponding to the four colors mentioned above. The electronic pen also has a built-in button interrupt detection circuit. As shown in Figure 5, R1, R2, R3, and R4 are respectively divided by R5, where the divided values are VCC*1, VCC*0.8, VCC*0.6, and VCC*0.4, respectively. Other voltage ratios can be set, but it should be noted that the minimum divided voltage must be greater than the VGS turn-on voltage of the QD3A. In this way, the reverse interrupt signal Key_INT can be generated only after a button is pressed. The MCU detects the voltage of RXD / Key through ADC sampling and determines which button is pressed. Then, according to the pressed button, the MCU records the target color currently selected by the user. When the pen tip is triggered, it generates a corresponding target color signal based on the recorded target color and transmits the target color signal to the electronic device.
[0059] In another possible embodiment, the electronic pen is provided with a toggle switch, the toggle switch having a plurality of toggle positions, each corresponding to one color gear, and each toggle position is provided with a color mark matching the corresponding color gear, and the method further includes the steps of: identifying a currently triggered target color gear when the pen tip is triggered, the target color gear being determined based on the toggle position of the toggle switch, and the target color gear being used to determine a target color; generating a target color signal corresponding to the target color and transmitting the target color signal to the electronic device; and when the electronic device receives the target color signal, switching to a low-power operating mode until the toggle position of the toggle switch changes.
[0060] Specifically, as shown in Figure 6, the electronic pen with a toggle switch has four color gears on the toggle switch, each silkscreened with a color (e.g., blue, green, red, and white). The LED color indicator light has been removed to create a low-power pen. The electronic pen has a built-in MCU circuit, which has four codes (ID1, ID2, ID3, and ID4) corresponding to the four colors. Because the toggle switch has an auto-lock function, once a gear is toggled, it remains in that state. When the pen tip is not triggered, the MCU defaults to standby mode. The MCU does not need to record or process any data. Only when the pen tip is triggered does the MCU wake up, identify the currently triggered target color gear, generate a corresponding target color signal based on the target color gear, and transmit the target color signal to the electronic device. After the transmission is complete, the MCU returns to standby mode. This significantly reduces the power consumption of the electronic pen's MCU, achieving a low-power electronic pen design scheme. The pen also has a built-in button interrupt detection circuit. As shown in Figure 7, when the MCU enters standby mode, the GPIO that supplies voltage to the voltage divider is turned off, preventing the user from toggling the switch to generate an interrupt and wake up the MCU. For example, if the switch is pressed to the blue position, this indicates that pin 1 and pin 2 are connected.
[0061] In this embodiment, the electronic pen generates a target color signal when the target color gear and the pen tip are triggered simultaneously. The electronic device starts timing when it receives the target color signal transmitted by the electronic pen. If the electronic device receives first coordinate information within a predetermined time, it determines that the coordinate information is an electronic pen trigger event and responds to the electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information. This realizes the function of switching between four colors with one active pen. After the user selects a color, the electronic device can identify the pen touch operation. Therefore, the user does not need to manually select an interaction mode before performing a touch operation. The user can directly perform a touch operation with their hand or a pen on the touch screen. This reduces the number of human-machine interaction steps and improves the operation efficiency of the touch screen.
[0062] In one exemplary embodiment, by combining the above touch screen response method and electronic pen response method, a touch system is provided, comprising an electronic device provided with a touch screen, and an electronic pen provided with a triggerable pen tip and at least one color gear, The electronic pen is used to determine a target color signal corresponding to the target color gear when the target color gear is triggered, and transmit the target color signal to the electronic device when the pen tip is triggered; When the electronic device acquires the target color signal transmitted by the electronic pen, it starts timing, and when it acquires the first coordinate information within a preset time, it determines that the coordinate information is an electronic pen trigger event, and uses the target color signal and the first coordinate information to respond to the electronic pen trigger event on the touch screen, where the first coordinate information is generated by the touch screen in response to the first touch input.
[0063] In one embodiment, the electronic device is further used to determine a writing path based on the first coordinate information, determine a target color of the writing path based on the target color signal, and display the writing path on the touch screen according to the target color.
[0064] In one embodiment, the electronic device is further adapted to identify the target color signal as an interference signal if the first coordinate information is not acquired within a preset time.
[0065] In one embodiment, if the electronic device does not further acquire a target color signal, the electronic device responds to a second touch operation on the touch screen, acquires second coordinate information, determines that the second coordinate information is a non-electronic pen trigger event, and uses the second coordinate information to respond to the non-electronic pen trigger event on the touch screen.
[0066] In one embodiment, the electronic device is further used to determine a touch trajectory based on the second coordinate information, and adjust display content on the touch screen based on the touch trajectory.
[0067] In one embodiment, as shown in FIG. 4, the electronic pen is provided with at least one independent non-auto-locking button, each non-auto-locking button corresponds to one color gear, and each non-auto-locking button is provided with a color indicator light matching the corresponding target color gear; The electronic pen is further used to determine a target color corresponding to the target color gear when a non-automatic lock button corresponding to the target color gear is pressed, light up a color indicator light corresponding to the target color gear until a non-automatic lock button corresponding to a new color gear is pressed, generate a target color signal corresponding to the target color when the pen tip is triggered, and transmit the target color signal to the electronic device.
[0068] In one embodiment, as shown in FIG. 6 , the electronic pen is provided with a toggle switch, the toggle switch includes a plurality of toggle positions, each of which corresponds to one color gear, and each of which is provided with a color mark matching the corresponding color gear; The electronic pen further identifies a currently triggered target color gear when the pen tip is triggered, the target color gear is determined based on the toggle position of the toggle switch, the target color gear is used to determine a target color, generates a target color signal corresponding to the target color, transmits the target color signal to the electronic device, and when the electronic device receives the target color signal, is used to switch to a low-power operating mode until the toggle position of the toggle switch is changed.
[0069] For example, take the electronic pen shown in Figure 4 as an example. The pen body has four touch buttons (blue, green, red, and white), and LED lights of corresponding colors are arranged on both sides of the buttons. An MCU circuit is built into the pen, and the MCU has ID1, ID2, ID3, and ID4 codes corresponding to the above four colors. The default color of the touch screen is white. The operation process of the touch system, as shown in Figure 8, includes the following steps: when a user uses the pen and presses the blue button, a button interrupt signal is generated. After receiving the interrupt signal, the MCU detects the voltage value through the ADC interface. If the voltage value matches the preset blue button voltage, it is considered that the blue button has been pressed. The preset voltage values are, for example, blue = VCC, green = 0.8*VCC, red = 0.6*VCC, and white = 0.4*VCC, where VCC is the power supply voltage of the MCU. After the judgment is completed, the MCU changes the pen's color indicator to blue. When the pen tip touches the screen, an interrupt signal is generated. After receiving this interrupt signal, the MCU transmits an ID1-encoded signal, which may be an infrared-encoded signal or a radio-encoded signal. The machine system receives and identifies the encoded signal. At the same time, the machine system determines whether coordinate information is received within 10 ms. If so, the machine system confirms that the ID1 signal has been received, and displays the corresponding color corresponding to the operation corresponding to ID1. If not, the machine system considers it an erroneous trigger by the user and does not respond to the operation. If the user performs a touch operation with a finger or a passive pen and the machine system receives only the coordinate information, the machine system responds with an operation corresponding to the finger or passive pen. Because the machine system can distinguish between pen and hand touches, it can realize the function of separating hand touch operations from pen touch operations.
[0070] For example, consider the electronic pen shown in FIG. 6. The pen body is equipped with a toggle switch with four gears, each of which is silk-screened with a color, such as blue, green, red, or white. To create a low-power pen, the LED color indicator light is removed. The pen has a built-in MCU circuit, which has four codes, ID1, ID2, ID3, and ID4, corresponding to the four colors. The touch system's operation process, as shown in FIG. 9, includes the following steps: when the user toggles the toggle switch to the blue position, the MCU performs no operation. When the pen tip presses the screen, an interrupt signal is generated. After receiving this interrupt signal, the MCU sets the GPIO voltage to VCC through an internal push-pull circuit and supplies power through the toggle switch detection circuit. Next, the MCU detects the voltage of RXD / Key through ADC sampling to determine the position of the toggle switch. For example, if it is in the blue position, the MCU sends an ID1 coded signal, which can be an infrared coded signal or a wireless coded signal. After the code transmission is completed, the MCU will enter standby low-power mode. The other logic is the same as the touch button scheme.
[0071] It should be understood that although the steps in the flowcharts according to the above-described embodiments are displayed sequentially according to the direction of the arrows, these steps are not necessarily executed sequentially in the order shown by the arrows. Unless explicitly stated otherwise in this specification, there are no strict order restrictions on the execution of these steps, and these steps may be executed in other orders. Furthermore, at least some of the steps in the flowcharts according to the above-described embodiments may include multiple steps or multiple stages, and these steps or stages may not necessarily be executed and completed at the same time but may be executed at different times. The execution order of these steps or stages is also not necessarily sequential, but may be executed in order or alternately with other steps or at least some of the steps or stages in other steps.
[0072] Based on the same inventive concept, the embodiments of the present application further provide a touchscreen response device for realizing the above-mentioned touchscreen response method. Since the implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above-mentioned method, the specific limitations of one or more embodiments of the touchscreen response device provided below can refer to the above-mentioned limitations of the touchscreen response method, and a repeated description will be omitted here.
[0073] In one exemplary embodiment, as shown in FIG. 10 , a touchscreen response device 1000 is provided, which is applicable to an electronic device having a touchscreen and an electronic pen equipped with a triggerable pen tip and at least one color gear, and the touchscreen response device 1000 includes: a timing module 1001; a determining module 1002; and a response module 1003; The timing module 1001 is used to start timing when it receives a target color signal transmitted by the electronic pen, and the target color signal is generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously; The determination module 1002 is used to determine that the coordinate information is an electronic pen trigger event when first coordinate information is acquired within a preset time, and the first coordinate information is generated by the touch screen in response to a first touch input; The response module 1003 is used to respond to an electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information.
[0074] In one embodiment, the response module 1003 is further used to determine a writing path based on the first coordinate information, determine a target color of the writing path based on the target color signal, and display the writing path on the touch screen according to the target color.
[0075] In one embodiment, the determining module 1002 is further used to identify the target color signal as an interference signal if the first coordinate information is not acquired within a preset time.
[0076] In one embodiment, if the determination module 1002 does not further obtain a target color signal, it responds to a second touch operation on the touch screen, obtains second coordinate information, determines that the second coordinate information is a non-electronic pen trigger event, and is used to respond to the non-electronic pen trigger event on the touch screen based on the second coordinate information.
[0077] In one embodiment, the response module 1003 is further used to determine a touch trajectory based on the second coordinate information, and adjust display content on the touch screen based on the touch trajectory.
[0078] Each module of the touch screen response device may be realized in whole or in part by software, hardware, or a combination thereof. Each module may be integrated into a processor in a computer device in the form of hardware, or may be independent of the processor in a computer device, or may be stored in a memory in the form of software so that the processor can easily call it to perform the operations corresponding to each module.
[0079] Based on the same inventive concept, the embodiments of the present application further provide a touch screen response device for realizing the above-mentioned electronic pen response method. Since the implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above-mentioned method, for the specific limitations of one or more embodiments of the electronic pen response device provided below, reference can be made to the above-mentioned limitations of the electronic pen response method, and a repeated description will be omitted here.
[0080] In one exemplary embodiment, as shown in FIG. 11, an electronic pen response device 1100 is provided, which is applied to an electronic pen equipped with a triggerable pen tip and at least one color gear, and also equipped with an electronic device equipped with a touch screen, and the electronic pen response device 1100 includes: a determination module 1101 and a transmission module 1102, The determination module 1101 is used to determine a target color corresponding to the target color gear when the target color gear is triggered; The transmission module 1102 is used to generate a target color signal corresponding to a target color when the pen tip is triggered and transmit the target color signal to the electronic device, the target color signal starts timing, and if first coordinate information is obtained within a preset time, determines that the coordinate information is an electronic pen trigger event and, based on the target color signal and the first coordinate information, instructs the electronic device to respond to the electronic pen trigger event on the touch screen, the first coordinate information being generated by the touch screen in response to the first touch operation.
[0081] In one embodiment, the electronic pen is provided with at least one independent non-self-locking button, each non-self-locking button corresponds to one color gear, and each non-self-locking button is provided with a color indicator light matching the corresponding color gear; The determination module 1101 is further used to determine a target color corresponding to a target color gear when a non-auto-lock button corresponding to the target color gear is pressed, and to turn on a color indicator light corresponding to the target color gear until a non-auto-lock button corresponding to a new color gear is pressed; The transmitting module 1102 is further used for generating a target color signal corresponding to the target color when the pen tip is triggered, and transmitting the target color signal to the electronic device.
[0082] In one embodiment, the electronic pen is provided with a toggle switch, the toggle switch includes a plurality of toggle positions, each of which corresponds to one color gear, and each of which is provided with a color mark matching the corresponding color gear; The determination module 1101 is further used to identify a currently triggered target color gear when the pen tip is triggered, and the target color gear is determined based on the toggle position of the toggle switch, and the target color gear is used to determine a target color; The transmitting module 1102 is further used to generate a target color signal corresponding to the target color, transmit the target color signal to the electronic device, and when the electronic device receives the target color signal, switch to a low-power operating mode until the toggle position of the toggle switch is changed.
[0083] Each module of the electronic pen response device may be realized in whole or in part by software, hardware, or a combination thereof. Each module may be integrated into a processor in a computer device in the form of hardware, or may be independent of a processor in a computer device, or may be stored in a memory in a computer device in the form of software so that the processor can easily call it to perform the operations corresponding to each module.
[0084] In one exemplary embodiment, a computing device is provided, which may be a terminal, and its internal structure is shown in FIG. 12 . The computing device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computing device is used to provide computing and control capabilities. The memory of the computing device includes a non-volatile storage medium and an internal memory. An operating system and a computer program are stored in the non-volatile storage medium. The internal memory provides an environment for the execution of the operating system and the computer program stored in the non-volatile storage medium. The input / output interface of the computing device is used to exchange information between the processor and an external device. The communication interface of the computing device is used for wired or wireless communication with an external terminal, and the wireless communication may be realized by Wi-Fi, a mobile cellular network, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program realizes a touchscreen response method. The display unit of the computing device is used to form a visually visible screen and may be a display screen, a projection device, or a virtual reality imaging device. The display screen may be a liquid crystal display or an electronic ink display, and the input device of the computing device may be a touch layer covered on the display screen, or a button, trackball, or touchpad provided on the casing of the computing device, or an external keyboard, touchpad, or mouse.
[0085] Those skilled in the art will understand that the structure shown in FIG. 12 is merely a block diagram of a partial structure related to the solution of the present application, and is not intended to limit the computer device to which the solution of the present application is applied; a specific computer device may have more or fewer components than those shown in the drawing, or may combine some components, or may have a different component arrangement.
[0086] In one exemplary embodiment, a computer device is provided, the computer device including a memory and a processor, a computer program stored in the memory, the processor executing the computer program to realize the following steps: start timing when a target color signal transmitted by an electronic pen is obtained; the target color signal is generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously; determine that the coordinate information is an electronic pen trigger event when first coordinate information is obtained within a predetermined time, the first coordinate information is generated by the touch screen in response to a first touch input; and respond to the electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information.
[0087] In one embodiment, when the processor executes the computer program, the processor further realizes the following steps: determine a writing path based on the first coordinate information, determine a target color of the writing path based on the target color signal, and display the writing path on the touch screen according to the target color.
[0088] In one embodiment, when the processor executes the computer program, the processor further realizes the following step: if the first coordinate information is not acquired within a preset time, identify the target color signal as an interference signal.
[0089] In one embodiment, when the processor executes the computer program, the processor further realizes the following steps: if the target color signal is not acquired, respond to a second touch operation on the touch screen, acquire second coordinate information, determine that the second coordinate information is a non-electronic pen trigger event, and respond to the non-electronic pen trigger event on the touch screen based on the second coordinate information.
[0090] In one embodiment, when the processor executes the computer program, the processor further realizes the following steps: determine a touch trajectory based on the second coordinate information, and adjust display content on the touch screen based on the touch trajectory.
[0091] In one embodiment, a computer-readable storage medium storing a computer program is provided, which, when executed by a processor, achieves the following steps: start timing when a target color signal transmitted by the electronic pen is obtained; the target color signal is generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously; when first coordinate information is obtained within a predetermined time, determine that the coordinate information is an electronic pen trigger event; the first coordinate information is generated by the touch screen in response to a first touch input; and respond to the electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information.
[0092] In one embodiment, when the computer program is executed by a processor, it further realizes the following steps: determine a writing path based on the first coordinate information, determine a target color of the writing path based on the target color signal, and display the writing path on the touch screen according to the target color.
[0093] In one embodiment, when the computer program is executed by a processor, the computer program further implements the following steps: if the first coordinate information is not acquired within a preset time, identify the target color signal as an interference signal.
[0094] In one embodiment, when the computer program is executed by the processor, the computer program further realizes the following steps: if the target color signal is not obtained, respond to a second touch operation on the touch screen, obtain second coordinate information, determine that the second coordinate information is a non-electronic pen trigger event, and respond to the non-electronic pen trigger event on the touch screen based on the second coordinate information.
[0095] In one embodiment, when the computer program is executed by the processor, the computer program further realizes the following steps: determine a touch trajectory based on the second coordinate information, and adjust display content on the touch screen based on the touch trajectory.
[0096] In one embodiment, a computer program product is provided, which includes a computer program, and when the computer program is implemented on a processor, the following steps are realized: when a target color signal transmitted by the electronic pen is obtained, start timing; the target color signal is generated by the electronic pen when the target color gear and the pen tip are triggered simultaneously; when first coordinate information is obtained within a predetermined time, determine that the coordinate information is an electronic pen trigger event; the first coordinate information is generated by the touch screen in response to a first touch input; and respond to the electronic pen trigger event on the touch screen based on the target color signal and the first coordinate information.
[0097] In one embodiment, when the computer program is executed by a processor, it further realizes the following steps: determine a writing path based on the first coordinate information, determine a target color of the writing path based on the target color signal, and display the writing path on the touch screen according to the target color.
[0098] In one embodiment, when the computer program is executed by a processor, the computer program further implements the following steps: if the first coordinate information is not acquired within a preset time, identify the target color signal as an interference signal.
[0099] In one embodiment, when the computer program is executed by the processor, the computer program further realizes the following steps: if the target color signal is not obtained, respond to a second touch operation on the touch screen, obtain second coordinate information, determine that the second coordinate information is a non-electronic pen trigger event, and respond to the non-electronic pen trigger event on the touch screen based on the second coordinate information.
[0100] In one embodiment, when the computer program is executed by the processor, the computer program further realizes the following steps: determine a touch trajectory based on the second coordinate information, and adjust display content on the touch screen based on the touch trajectory.
[0101] It should be explained that all user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, display data, etc.) related to this application are information and data approved by the user or fully approved by all parties, and the collection, use and processing of related data must comply with relevant regulations.
[0102] Those skilled in the art will understand that all or part of the flow of the method in the above embodiments can be achieved by instructing relevant hardware through a computer program, and that the computer program can be stored in a non-volatile computer-readable storage medium, which, when executed, can include the flow of each of the above method embodiments. Any reference to memory, database, or other medium used in each embodiment provided by this application may include at least one of non-volatile memory and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (RRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external high-speed cache memory, etc. For purposes of interpretation only, and by way of example and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). Databases according to the embodiments provided by this application may include at least one of relational and non-relational databases. Non-relational databases include, but are not limited to, distributed databases based on blockchains.The processor according to each embodiment provided by the present application may be, but is not limited to, a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc.
[0103] The technical features of the above embodiments may be combined in any manner, and for the sake of brevity, not all possible combinations of the technical features of the above embodiments are described, but combinations of these technical features should be considered within the scope described in this specification unless they are inconsistent.
[0104] The above examples only show some embodiments of the present application, and the descriptions are relatively specific and detailed, but they should not be understood as limiting the patent scope of the present application. It should be noted that those skilled in the art can make some modifications and improvements without departing from the concept of the present application, and all of these modifications and improvements belong to the scope of protection of the present application. Therefore, the scope of protection of the patent of the present application should be subject to the scope of the attached claims.
Claims
1. 1. A touchscreen response method for an electronic device having a touchscreen and also having an electronic pen equipped with a triggerable pen tip and at least one color gear, the method comprising: starting a time measurement when a target color signal transmitted by the electronic pen is acquired, the target color signal being generated by the electronic pen when a target color gear and the pen tip are triggered; and if first coordinate information is acquired within a predetermined time, responding on the touch screen based on the target color signal and the first coordinate information, wherein the first coordinate information is generated by the touch screen in response to a touch operation.
2. the step of responding on the touch screen based on the target color signal and the first coordinate information includes: determining a writing trajectory based on the first coordinate information; determining a target color of the writing path based on the target color signal; and displaying the writing trace on the touch screen according to the target color.
3. 2. The method according to claim 1, wherein if the first coordinate information is not acquired within a preset time, the target color signal is determined to be an interference signal to which no response is required.
4. The method comprises: if the target color signal is not acquired, acquiring second coordinate information in response to a touch operation on the touch screen; 10. The method of claim 1, further comprising the step of responding on the touchscreen based on the second coordinate information.
5. Responding on the touch screen based on the second coordinate information includes: determining a touch locus based on the second coordinate information; and adjusting display content on the touch screen based on the touch track.
6. 2. The method of claim 1, wherein the target color signal is an infrared-coded signal or a radio-coded signal.
7. An electronic pen having a triggerable pen tip and at least one color gear, and an electronic pen response method used in combination with the electronic pen and applied to an electronic device having a touch screen, comprising:
1. An electronic pen response method comprising the steps of: when a target color gear and the pen tip are triggered, determining a target color corresponding to the target color gear, generating a target color signal corresponding to the target color, and transmitting the target color signal to the electronic device; wherein the target color signal is used to start timing, and when first coordinate information is obtained within a predetermined time, to instruct the electronic device to respond on the touch screen based on the target color signal and the first coordinate information, the first coordinate information being generated by the touch screen in response to a touch operation.
8. The electronic pen is provided with at least one independent non-self-locking button, each non-self-locking button corresponds to one color gear, and each non-self-locking button is provided with a color indicator light matching the corresponding color gear, and the method includes: when a non-auto-lock button corresponding to the target color gear is pressed, determining a target color corresponding to the target color gear, and lighting a color indicator light corresponding to the target color gear until a non-auto-lock button corresponding to a new color gear is pressed; 8. The method of claim 7, further comprising the steps of: when the pen tip is triggered, generating the target color signal corresponding to the target color; and transmitting the target color signal to the electronic device.
9. The electronic pen is provided with a toggle switch, the toggle switch includes a plurality of toggle positions, each of which corresponds to one color gear, and each of which is provided with a color mark matching the corresponding color gear; and the method includes: If the nib is triggered, identifying the currently triggered target color gear, the target color gear being determined based on a toggle position of the toggle switch, the target color gear being used to determine the target color; generating a target color signal corresponding to the target color and transmitting the target color signal to the electronic device; 8. The method of claim 7, further comprising: if the electronic device receives the target color signal, switching to a low power operating mode until the toggle position of the toggle switch changes.
10. 8. The method of claim 7, wherein the target color signal is an infrared-coded signal or a radio-coded signal.
11. A touchscreen response device for use in an electronic device having a touchscreen and an electronic pen with a triggerable pen tip and at least one color gear, a timing module that is used to start timing when it receives a target color signal transmitted by the electronic pen, and the target color signal is generated by the electronic pen when the target color gear and the pen tip are triggered; a determination module that, if first coordinate information is acquired within a predetermined time, is used to determine that the first coordinate information is an electronic pen trigger event, the first coordinate information being generated by the touch screen in response to a first touch input; a response module for responding to the electronic pen trigger event on a touch screen based on the target color signal and the first coordinate information.
12. 1. A touch system comprising: an electronic device provided with a touchscreen; an electronic pen provided with a triggerable pen tip and at least one color gear; the electronic pen is used to determine a target color corresponding to the target color gear when the target color gear and the pen tip are triggered, generate a target color signal corresponding to the target color, and transmit the target color signal to the electronic device; When the electronic device acquires a target color signal transmitted by the electronic pen, it starts timing, and when it acquires first coordinate information within a preset time, it is used to respond on the touch screen based on the target color signal and the first coordinate information, and the first coordinate information is generated by the touch screen in response to a touch operation.
13. A computer device comprising a memory in which a computer program is stored and a processor, A computer device characterized in that the processor performs the steps of the method according to any one of claims 1 to 6 when it executes the computer program.
14. A computer-readable storage medium storing a computer program, A computer-readable storage medium, characterized in that the computer program implements the steps of the method according to any one of claims 1 to 6 when executed by a processor.
15. A computer program product comprising a computer program, A computer program product, characterized in that the computer program implements the steps of the method according to any one of claims 1 to 6 when the computer program is executed by a processor.
Citation Information
Patent Citations
Electronic blackboard
JP2002163070A
Coloring unit, and device with coloring function
JP2004103042A
Handwriting input analyzer and pen input device using it
JP2005063247A
Electronic pen system
JP2011145762A
Touch pen
JP2015114894A