WO2021135885A1 - 用于触发显示笔迹的信号发射方法以及笔迹显示方法 - Google Patents

用于触发显示笔迹的信号发射方法以及笔迹显示方法 Download PDF

Info

Publication number
WO2021135885A1
WO2021135885A1 PCT/CN2020/135112 CN2020135112W WO2021135885A1 WO 2021135885 A1 WO2021135885 A1 WO 2021135885A1 CN 2020135112 W CN2020135112 W CN 2020135112W WO 2021135885 A1 WO2021135885 A1 WO 2021135885A1
Authority
WO
WIPO (PCT)
Prior art keywords
electrical signal
active capacitive
handwriting
capacitive pen
pen
Prior art date
Application number
PCT/CN2020/135112
Other languages
English (en)
French (fr)
Inventor
张德亮
何光
向杨
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021135885A1 publication Critical patent/WO2021135885A1/zh

Links

Images

Classifications

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

Definitions

  • This application relates to the field of terminal technology, and in particular to a signal transmission method for triggering the display of handwriting and a handwriting display method.
  • the medium for writing on the touch screen can be a human body (usually a finger) or a stylus pen.
  • the current stylus pens on the market are mainly divided into electromagnetic pens and capacitive pens.
  • the capacitive stylus pens are mainly divided into passive capacitive pens and active capacitive pens. Among them, when using an active capacitive pen to write on the touch screen, because the capacitive touch screen can only perceive the proximity of the active capacitive pen, it cannot sense whether the active capacitive pen actually touches the touch screen.
  • the active capacitive pen uses a Bluetooth communication module or the like to communicate with the touch device to notify the touch device when it controls the touch screen to start displaying handwriting, resulting in a longer response time for the active capacitive pen to display each time the touch screen is triggered.
  • the present application provides a signal transmission method and a handwriting display method for triggering the display of handwriting, which can shorten the response time of the active capacitive pen triggering the touch screen to display the handwriting.
  • the present application provides a signal transmission method for triggering display of handwriting, the method is executed by an active capacitive pen, the active capacitive pen includes a receiving electrode, at least one transmitting electrode, and a pressure sensor, and the method includes: Acquire the first electrical signal detected by the receiving electrode; analyze the first electrical signal to determine that the first electrical signal is a modulated electrical signal emitted by the touch device; according to the analysis result, control the transmitting electrode to emit a second Electrical signal; acquiring the tip pressure of the active capacitive pen detected by the pressure sensor; when the tip pressure satisfies the preset condition that the tip of the active capacitive pen touches an object, control the transmitting electrode to emit a third electrical signal , Wherein the third electrical signal is used to trigger the touch device to display handwriting, and the second electrical signal is used to enable the touch device to determine the location of the handwriting.
  • the transmitting electrode includes a first transmitting electrode and a second transmitting electrode
  • the second electrical signal is an electrical signal of a first frequency transmitted by the first transmitting electrode
  • the third The electrical signal is an electrical signal of the second frequency emitted by the second transmitting electrode.
  • the second electrical signal and the third electrical signal are electrical signals emitted by the same transmitting electrode of the active capacitive pen, and the second electrical signal is an electrical signal with a first frequency.
  • the third electrical signal is an electrical signal with a second frequency, and when the pen tip pressure meets the preset condition that the pen tip of the active capacitive pen touches an object, the transmitting electrode is controlled to transmit the third electrical signal,
  • the method includes: when the pen tip pressure satisfies the preset condition that the pen tip of the active capacitive pen touches an object, controlling the frequency of the transmitting electrode to emit electrical signals from the first frequency to the second frequency.
  • the second electrical signal and the third electrical signal are electrical signals transmitted by the same transmitting electrode of the active capacitive pen, and the transmitting electrode is controlled to transmit the second signal according to the analysis result.
  • the electrical signal includes: controlling the transmitting electrode to continuously emit the second electrical signal according to the analysis result; when the pen tip pressure meets the preset condition that the pen tip of the active capacitive pen touches an object, controlling The transmitting electrode transmitting the third electrical signal includes: when the pressure of the pen tip meets a preset condition that the pen tip of the active capacitive pen touches an object, controlling the transmitting electrode to stop transmitting the second electrical signal; When the preset duration is reached, the transmitting electrode is controlled to transmit the third electrical signal.
  • the second electrical signal and the third electrical signal are electrical signals with the same parameter.
  • the acquiring the first electrical signal detected by the receiving electrode includes: acquiring the first electrical signal detected by the receiving electrode with a first duration as a period; and controlling the first electrical signal detected by the receiving electrode according to the analysis result.
  • the transmitting electrode to transmit the second electrical signal includes: controlling the transmitting electrode to continuously transmit the second electrical signal for a second period of time with respect to the analysis result of the current detection period of the first electrical signal.
  • the acquiring the tip pressure of the active capacitive pen detected by the pressure sensor includes: acquiring the tip pressure of the active capacitive pen detected by the pressure sensor with a third period as a period When the tip pressure meets the preset condition that the tip of the active capacitive pen touches an object, controlling the transmitter electrode to emit a third electrical signal includes: for the current detection period of the tip pressure, when the tip pressure The preset condition that the tip of the active capacitive pen touches the object is satisfied, and the transmitting electrode is controlled to continuously transmit the third electrical signal for a fourth period of time.
  • the parsing the first electrical signal and determining that the first electrical signal is a modulated electrical signal emitted by a touch device includes: preset demodulation corresponding to the modulated electrical signal The method analyzes the first electrical signal to obtain verification information in the first electrical signal; according to the verification information, it is determined that the first electrical signal is the modulated electrical signal emitted by the touch device.
  • the step of acquiring the tip pressure of the active capacitive pen detected by the pressure sensor is performed when it is determined that the first electrical signal is a modulated electrical signal emitted by a touch device.
  • the preset condition is that the change in the pressure of the pen tip exceeds a preset threshold.
  • the active capacitive pen further includes a short-range wireless communication module, and before acquiring the first electrical signal detected by the receiving electrode, the method further includes: using the short-range wireless communication The module is paired with the touch device.
  • the present application provides a handwriting display method, the method is executed by a touch device, and the method includes: controlling a touch screen component of the touch device to emit a modulated electrical signal; determining that the touch screen component detects an electrical signal Acquire the frequency of the detected electrical signal; determine that the frequency of the detected electrical signal is the frequency of the electrical signal (denoted as the second electrical signal in the embodiment of the present application) that is used to determine the location of the handwriting agreed in advance; Determine that the touch screen component detects another electrical signal; acquire the frequency of the detected another electrical signal; determine that the frequency of the another electrical signal is a pre-agreeed electrical signal used to trigger the display of handwriting (implemented in this application) For example, it is recorded as the frequency of the third electrical signal); controlling the touch screen component to start displaying handwriting, wherein the location of the handwriting is determined at least according to the detected electrical signal.
  • the two electrical signals detected by the touch control device are electrical signals emitted by the same emitting electrode of the active capacitive pen.
  • the first electrical signal received by the touch screen component is the electrical signal emitted by the first transmitting electrode of the active capacitive pen
  • the second electrical signal received by the touch screen component is the active capacitor.
  • the electrical signal emitted by the pen’ s second emitting electrode.
  • the display position of the handwriting may be determined according to the position of the receiving point on the touch screen of the first electrical signal received by the touch screen component.
  • the display position of the handwriting can also be adjusted according to the position of the receiving point on the touch screen component of the second electrical signal received by the touch screen component.
  • the display effect of the handwriting can also be determined according to the relative positional relationship of the two electrical signals received by the touch screen component at the receiving point on the touch screen (such as the display effect of the handwriting according to the two electrical signals).
  • the difference in inclination shows different pen tip effects, etc.), and then the touch screen component is controlled to display the handwriting according to the determined display effect.
  • the method before the control of the touch screen of the touch device to transmit the modulated electrical signal, the method further includes: using a short-range wireless communication module to pair with the active capacitive pen.
  • the present application provides a handwriting display method, the method is executed by a touch device, and the method includes: controlling a touch screen component of the touch device to emit a modulated electrical signal; determining that the touch screen component senses simultaneous There are two electrical signals, and the distance between the two electrical signals on the touch screen component is less than a preset distance; the touch screen component is controlled to start displaying handwriting, wherein the location of the handwriting is at least based on the two electrical signals The electric signal received first is confirmed.
  • the third aspect also provides some possible implementation manners, and you can refer to the possible implementation manners provided by the second aspect, which will not be repeated here.
  • the present application provides a handwriting display method, the method is executed by a touch device, and the method includes: controlling a touch screen component of the touch device to emit a modulated electrical signal; determining that the touch screen component detects an electrical signal When it is determined that the electrical signal is stopped, start timing; when the timing duration does not exceed the preset duration, determine that the touch screen component detects the electrical signal again; control the touch screen component to start displaying handwriting, where the handwriting is The position is determined based on the electrical signal.
  • the fourth aspect also provides some possible implementation manners, and you can refer to the possible implementation manners provided by the second aspect, which will not be repeated here.
  • the present application provides an active capacitive pen.
  • the active capacitive pen includes: a receiving electrode configured to detect electrical signals; a pressure sensor configured to detect the tip pressure of the active capacitive pen; and at least one transmitting electrode , Configured to transmit electrical signals; one or more processors; memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs It includes an instruction, and when the instruction is executed by the active capacitive pen, the active capacitive pen executes the method according to the first aspect or any possible implementation manner of the first aspect.
  • the present application provides a touch control device, the touch control device includes: a touch screen assembly, including a sensor and a display screen, the sensor is configured to detect electrical signals and transmit modulated electrical signals; one or more processors Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs include instructions, when the instructions are executed by the touch device When the time, the touch control device is caused to execute the handwriting display method as described in the second, third, fourth aspects and any one of the possible implementation manners thereof.
  • the present application provides a touch control system that includes the active capacitive stylus described in the fifth aspect and the touch control device described in the sixth aspect.
  • the present application provides a computer-readable storage medium, including computer instructions, which, when the computer instructions run on an electronic device, cause the electronic device to perform any of the possibilities of the first aspect or the first aspect.
  • the present application provides a computer-readable storage medium, including computer instructions, when the computer instructions run on an electronic device, the electronic device can execute the second, third, or fourth aspects or any one of them.
  • the present application provides a chip that includes a processor and a data interface.
  • the processor reads instructions stored in a memory through the data interface, and executes the first aspect or any one of the first aspect. The method in the implementation.
  • the chip may further include a memory in which instructions are stored, and the processor is configured to execute instructions stored on the memory.
  • the processor is configured to execute the first aspect or the method in any possible implementation manner of the first aspect.
  • the present application provides a chip that includes a processor and a data interface, and the processor reads instructions stored in a memory through the data interface, and executes the second, third, and fourth aspects or any of them.
  • the processor reads instructions stored in a memory through the data interface, and executes the second, third, and fourth aspects or any of them.
  • the chip may further include a memory in which instructions are stored, and the processor is configured to execute instructions stored on the memory.
  • the processor is used to execute the methods in the second, third, and fourth aspects or any of their possible implementation manners.
  • the technical solutions provided by any of the above aspects and optional implementations thereof use the active capacitive pen to emit an electrical signal after being close to the touch device so that the modulated electrical signal sent by the touch screen of the touch device is detected, and the active capacitive pen is
  • the pressure sensor senses that it touches the touch screen and then emits electrical signals. After the touch screen receives two electrical signals, it triggers the display of handwriting, which can shorten the response time of handwriting display, and does not require active capacitive pen activation electrodes other than hardware circuits (such as Bluetooth module, NFC module and other short-distance wireless communication modules), and the response time of the touch screen to electrical signals is less than the time of the short-distance wireless communication module to exchange information. Therefore, it can reduce the delay of handwriting showing water and improve the sensitivity of handwriting showing water. , Improve the user experience.
  • FIG. 1 is a schematic diagram 1 of an application scenario of a handwriting display method provided by an embodiment of this application;
  • FIG. 2 is a schematic diagram 1 of interaction of a handwriting display method provided by an embodiment of this application;
  • FIG. 3 is a schematic diagram of the structure of a data frame provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of an electrical signal emitted by a transmitting electrode according to an embodiment of the application
  • FIG. 5 is a second schematic diagram of an application scenario of a handwriting display method provided by an embodiment of this application.
  • FIG. 6 is a second schematic diagram of interaction of a handwriting display method provided by an embodiment of this application.
  • FIG. 7 is a third schematic diagram of interaction of a handwriting display method provided by an embodiment of this application.
  • FIG. 8 is a schematic structural diagram of an active capacitive pen provided by an embodiment of this application.
  • FIG. 9 is a schematic structural diagram of a touch device provided by an embodiment of the application.
  • the embodiment of the present application provides a handwriting display method.
  • the handwriting display method can be applied to the touch system as shown in FIG. 1.
  • FIG. 1 it is a touch control system 10, which includes a touch control device 100 and an Active Electrostatic Stylus (AES) 200.
  • AES Active Electrostatic Stylus
  • the touch device 100 can be a tablet device with a touch panel (TP) component 101.
  • the touch device 100 can also be replaced with a computer, a notebook computer, a handheld computer PDA ( Personal Digital Assistant) and other computer equipment.
  • TP touch panel
  • PDA Personal Digital Assistant
  • the touch screen assembly 101 includes a bonded sensor and a display screen, wherein the sensor is configured to detect electrical signals and emit modulated electrical signals.
  • the sensor of the touch screen assembly 101 can sense the electrical signal of the medium (for example, a finger, a capacitive pen), and the electrical signal of the medium will cause a change in the capacitance of the sensor near the medium, thereby realizing the position pointed to by the sensing medium.
  • the sensor also The modulated electric signal may be transmitted, and the modulated electric signal may carry information to notify the active capacitive pen 200.
  • the display screen of the touch screen assembly 101 can display corresponding effects according to the electrical signals received by the sensor, for example, an application (Application, APP for short) installed in the operating system such as opening a drawing on the touch device 100 or the operating system's own components
  • an application Application, APP for short
  • the movement path of the active capacitive pen 200 can be displayed on the touch screen assembly 101, that is, the handwriting is displayed.
  • the shape and other effects can be configured through software functions.
  • the sensor and display screen in the touch screen assembly 101 of the touch device 100 may not fit together, for example, a notebook computer with an external handwriting board (the sensor is set in the handwriting board).
  • the laptop includes a display screen).
  • the type of the display screen may be LCD (Liquid Crystal Display).
  • the touch device 100 may also include a system-on chip (System on Chip, SOC for short).
  • SOC System on Chip
  • the SOC is an integrated circuit with a dedicated target, including a complete operating system and all the contents of embedded software. It can process the signal of the touch screen component 101 and control the display to display the corresponding effect.
  • the above-mentioned modulated electrical signal carries The information may be sent to the sensor by the SOC of the touch device 100.
  • the SOC may be provided inside the casing of the touch device 100.
  • the touch control device 100 may also include a Bluetooth module or other short-range wireless communication modules.
  • the active capacitive pen 200 is a capacitive pen with an (electrical) source. Unlike passive capacitive pens that cannot actively generate electrical signals, the active capacitive pen 200 can use power to actively send electrical signals so that the active capacitive pen 200 is on the sensor of the touch screen assembly 101. When near the sensor, the sensor can sense the electrical signal sent by the active capacitive pen 200.
  • the touch screen component 101 can sense the electrical signal sent by the active capacitive pen 200, and the active capacitive pen 200 can also sense the electrical signal sent by the touch screen component 101. As shown in FIG. 1, the active capacitive pen 200 includes a receiver electrode 201 (used to receive electrical signals), a first transmission (Transmission) electrode 202 (used to transmit electrical signals), and a second transmission electrode 205.
  • the active capacitive pen may include multiple receiving electrodes; in some designs, the transmitting electrode of the active capacitive pen may include only one or more than two; in some designs, one of the receiving electrodes
  • the electrode and one emitter electrode can be the same electrode.
  • the active capacitive pen 200 shown in FIG. 1 further includes a pressure sensor 203 (Pressure Sensor) and a microcontroller unit 204 (Microcontroller Unit, MCU for short).
  • the pressure sensor 203 is arranged at the front end of the pen (near the pen tip) to sense the tip pressure of the active capacitive pen 200.
  • the active capacitive pen 200 When the tip of the active capacitive pen 200 touches the touch screen assembly 101 (or After other objects), the signal sensed by the pressure sensor 203 changes, and the micro-control unit 204 can process the signal sensed by the pressure sensor 203 to determine the change in the pressure on the tip of the active capacitive pen 200 and the magnitude of the pressure change.
  • the active capacitive pen 200 also includes a short-distance wireless transmission module (such as a Bluetooth module, a near field communication NFC module, etc.). As shown in FIG. 1, the active capacitive pen 200 also includes a Bluetooth module 206.
  • the Bluetooth module 206 can be used to communicate with the Bluetooth module of the touch device 100.
  • the active capacitive pen 200 can exchange handshake information with the touch device 100 through the Bluetooth module 206 for pairing.
  • the handwriting display method provided by the embodiment of the present application is applied to the touch system 10 as shown in FIG. 1, and may include the following steps as shown in FIG. 2.
  • the active capacitive pen 200 and the touch device 100 are paired using Bluetooth communication.
  • the Bluetooth module 206 of the active capacitive pen 200 can be normally open.
  • the active capacitive pen 200 can also be equipped with a power switch. After the power is turned on, the Bluetooth module 206 is powered and can be searched by surrounding devices with Bluetooth modules. Find. After the Bluetooth function of the touch device 100 is turned on, the Bluetooth module of the touch device 100 can search for Bluetooth devices that are within the Bluetooth transmission distance.
  • the surrounding Bluetooth devices include the active capacitive pen 200. For example, the user can click on the touch device 100 to view the Bluetooth device list, select the icon of the active capacitive pen 200, and the touch device 100 and the active capacitive pen 200 start to perform the Bluetooth pairing process.
  • the touch screen assembly 101 of the touch device 100 sends a first electrical signal.
  • the sensor of the touch screen assembly 101 sends out a first electrical signal.
  • the first electrical signal is a modulated signal and may carry verification information, such as the identification information of the touch device 100, so that the successfully paired active capacitive pen 200 determines to send the first electrical signal after receiving the first electrical signal
  • the device at is a successfully paired touch device 100.
  • the aforementioned identification information may be sent by the touch device 100 during the Bluetooth pairing process in step 300, and the active capacitive pen 200 may be stored in its own memory after receiving the identification information.
  • the information carried by the first electrical signal may be a data frame whose header is a fixed format.
  • An optional data frame is shown in FIG. 3, and the data frame is binary data of multiple bits.
  • the data frame format includes a frame header, a data field and a check field.
  • the frame header format is fixed.
  • the frame header can carry communication protocol version information so that the active capacitive pen 200 and the touch screen assembly 101 follow the requirements of the corresponding version of the communication protocol. Communication.
  • the data field can carry other data that needs to be transmitted, such as the above-mentioned verification information, and the verification field is used to carry verification data.
  • the content of the communication protocol may include identification information of the touch device 100 (used to enable the active capacitive pen 200 to recognize the identity of the touch device 100) and the like.
  • the first electrical signal may be a signal obtained by modulating the foregoing data frame using a direct sequence spread spectrum (Direct Sequence Spread Spectrum, DSSS) technology.
  • the frequency of the first electrical signal is in a designated frequency band.
  • the frequency of the first electrical signal can be configured in a range of 100KHZ to 400KHZ.
  • the touch screen assembly 101 may repeatedly transmit the first electrical signal in a fixed period.
  • the foregoing information format, modulation mode, and frequency band interval of the first electrical signal are only for example, and the embodiment of the present application does not limit this.
  • the receiving electrode 201 of the active capacitive pen 200 receives the first electrical signal of the touch screen assembly 101 and notifies the MCU 204.
  • the receiving electrode 201 needs to be within a certain distance from the signal source to receive the signal, when the user holds the active capacitive pen 200 close to the touch screen assembly 101, so that the distance between the receiving electrode 201 and the touch screen assembly 101 is within a certain range, the receiving electrode 201 can The first electrical signal is received.
  • the first electrical signal may be sent to the MCU 204 after being processed by the filter comparison module of the active capacitive pen 200.
  • the filter comparison module may be a hardware circuit module arranged in the active capacitance pen 200, which filters the first electrical signal to filter out waveforms in the frequency band of the non-first electrical signal, and eliminate the interference signal coupled during the transmission of the first electrical signal.
  • the filter comparison module can also perform signal amplification processing on the filtered signal, and then restore the amplified signal to the data obtained after the above-mentioned data frame is subjected to DSSS modulation through the comparator.
  • the MCU204 can use the pre-agreeed DSSS demodulation method
  • the data restored by the comparator is analyzed, the carried identification information is compared with the identification information stored in the Bluetooth pairing process, and it is confirmed that the first electrical signal is the modulated electrical signal sent by the touch device 100.
  • the receiving electrode 201 of the active capacitive pen 200 may be configured to collect electrical signals at a fixed period, for example, the MCU 204 collects the electrical signals sensed by the receiving electrode 201 at a fixed period.
  • the MCU 204 determines that the first electrical signal is the electrical signal transmitted by the touch device 100.
  • the decoding module in the MCU204 can decode the data after DSSS modulation to obtain the above-mentioned data frame before DSSS modulation, and then determine whether the data frame is sent by the touch device 100 For example, the MCU 204 may determine that the first electrical signal is the electrical signal emitted by the touch device 100 according to the identification information of the touch device 100 carried in the frame header of the data frame.
  • the active capacitive pen 200 may use the identification information of the touch device 100 stored after successful Bluetooth pairing in step 300 as a comparison basis.
  • the active capacitive pen 200 successfully authenticates the touch device 100.
  • the active capacitive pen 200 after determining that the first electrical signal is the electrical signal transmitted by the touch device 100, it is equivalent to determining that the active capacitive pen 200 is close to the touch screen assembly 101 of the touch device 100 .
  • the MCU 204 of the active capacitive pen 200 controls the first transmitting electrode 202 of the active capacitive pen 200 to transmit the second electrical signal.
  • the MCU 204 determines that the first electrical signal is the electrical signal transmitted by the touch device 100, it controls the first transmitting electrode 202 to transmit the second electrical signal. Specifically, the MCU 204 controls the first transmitting electrode 202 to emit the second electrical signal in an implementation manner that turns on the driving circuit of the first transmitting electrode 202, and the driving circuit of the first transmitting electrode 202 is used to adjust the first transmitting electrode 202 emitted.
  • the voltage value of the second electrical signal can convert the low-voltage signal (the low-voltage signal is powered by the voltage source of the active capacitive pen 200) into a high-voltage signal (such as 40V). After the driving circuit of the first transmitter electrode 202 is turned on, it is the first transmitter.
  • the electrode 202 provides power so that the first transmitting electrode 202 emits a second electrical signal.
  • the MCU 204 may also control the frequency of the second electrical signal.
  • the frequency of the second electrical signal may be controlled by controlling the frequency of turning on and turning off the driving circuit.
  • the second electrical signal is a single-frequency signal, which does not carry information or data to be transmitted.
  • the frequency of the second electrical signal can be configured within a narrow band frequency between 100KHZ and 400KHZ, for example , 150KHZ ⁇ 150.5KHZ.
  • the data frame corresponding to the first electrical signal sent by the touch device 100 may also include communication frequency information configured for the active capacitive stylus 200.
  • the MCU204 may The communication frequency information set by the touch device 100 carried in the electrical signal controls the frequency of the second electrical signal.
  • the MCU 204 of the active capacitive pen 200 determines that the first electrical signal is transmitted by the touch device 100 After the electrical signal is generated, the first transmitting electrode 202 can be controlled to continuously transmit the second electrical signal for a period of time (the second duration). For example, the collection period is 5ms and the transmission duration is 10ms. If the receiving electrode 201 collects the first electrical signal, After the MCU204 determines that the first electrical signal is detected, the MCU204 controls the first transmitting electrode 202 to transmit the second electrical signal for 10ms.
  • the MCU204 determines that the first electrical signal is detected.
  • the first transmitting electrode 202 can be controlled to emit 10ms from the current moment.
  • the active capacitive pen 200 can continuously emit the second electrical signal after it is close to the touch device 100 and can detect the first electrical signal.
  • the touch screen assembly 101 can continuously detect the second electrical signal until the active capacitive pen 200 is far away from the touch device 100, and the receiving electrode 201 no longer detects the first electrical signal, then the first transmitting electrode 202 of the active capacitive pen 200 has finished transmitting.
  • the second duration may be greater than the first duration, so that the first electrical signal transmitted by the active capacitive pen 200 maintains continuity.
  • the touch screen assembly 101 of the touch device 100 After sensing the second electrical signal, the touch screen assembly 101 of the touch device 100 sends the second electrical signal to the SOC of the touch device 100.
  • the second electrical signal sent by the active capacitive pen 200 can be sensed by the touch screen component 101. Specifically, the capacitance value near the tip of the active capacitive pen 200 on the touch screen component 101 changes, and the SOC can be determined according to the change in the capacitance value sensed by the touch screen component 101 The second electrical signal is received, and the receiving position of the second electrical signal on the touch screen assembly 101 can also be determined.
  • the MCU 204 of the active capacitive pen 200 determines that the pressure change detected by the pressure sensor 203 of the active capacitive pen 200 exceeds a preset threshold, thereby determining that the tip of the active capacitive pen 200 contacts the touch screen assembly 101.
  • the MCU 204 determines that the pressure change detected by the pressure sensor 203 exceeds the preset threshold (or detects the pressure exceeding the preset threshold), then the active capacitance is determined.
  • the pen tip of the pen 200 touches an object.
  • the object touched by the pen tip is the touch screen assembly 101.
  • the pressure sensor 203 of the active capacitive pen 200 can always enable detection after the active capacitive pen 200 is turned on, but the MCU 204 of the active capacitive pen 200 starts to obtain the tip pressure detection result of the pressure sensor 203 after determining that the first electrical signal is detected.
  • the MCU 204 of the active capacitive pen 200 can control the pressure sensor 203 to enable detection after determining that the first electrical signal is detected.
  • the MCU 204 of the active capacitive pen 200 controls the second transmitting electrode 205 of the active capacitive pen 200 to transmit a third electrical signal.
  • the MCU204 After the MCU204 determines that the change in the tip pressure of the active capacitive pen 200 exceeds the preset threshold, the MCU204 can turn on the driving circuit of the second transmitting electrode 205 so that the second transmitting electrode 205 emits a third electrical signal. This step is the same as the MCU204 controlling the first transmitting The second electrical signal emitted by the electrode 202 is similar and will not be repeated here.
  • the MCU 204 of the active capacitive pen 200 only controls the second transmitting electrode 205 to transmit the third electrical signal when it is determined that the first electrical signal is detected and the pressure sensor 203 detects the contact with the object.
  • the specific implementation can be through
  • the detection method of the pressure sensor 203 of the active capacitive pen 200 is implemented as in the embodiments (2) and (3) in step 306.
  • the active capacitive pen 200 determines that the pen tip is in contact with the object, it can control the second transmitting electrode 205 to continuously transmit the third electrical signal for a period of time (fourth period), for example, the collection period is 5ms and the transmission duration is 10ms. If the MCU204 determines If the pen tip touches the object, the MCU204 controls the second transmitting electrode 205 to emit a 10ms third electrical signal.
  • the MCU204 calculates that the pen tip touches the object, and then controls the second The transmitting electrode 205 emits 10ms from the current moment. In this way, after the tip of the active capacitive pen 200 contacts the touch screen assembly 101, it can continuously emit the third electrical signal, and the touch screen assembly 101 can continue to detect the third electrical signal until The active capacitive pen 200 determines that the pen tip does not touch the object.
  • the fourth duration may be greater than the third duration, so that the third electrical signal transmitted by the active capacitive pen 200 maintains continuity.
  • the third electrical signal may also be a single-frequency electrical signal as shown in FIG. 4, and the voltage amplitude may be the same as that of the second electrical signal, but the frequency of the third electrical signal and the frequency band of the second electrical signal are
  • the frequency band of the second electrical signal is configured in 150KHZ ⁇ 150.5KHZ
  • the frequency band of the third electrical signal is configured in 280KHZ ⁇ 280.3KHZ.
  • the frequency of the second electrical signal and the third electrical signal can be based on The communication frequency information carried in the foregoing data frame sent by the control device 100 is configured.
  • the touch screen component 101 of the touch device 100 senses the third electrical signal and notifies the SOC of the touch device 100.
  • the touch screen component 101 can sense the third electrical signal, and the capacitance value of the touch screen component 101 near the pen tip contact position changes.
  • the SOC can determine that the third electrical signal is received according to the change in the capacitance value sensed by the touch screen component 101, and the third electrical signal can also be determined.
  • the receiving position of the electrical signal on the touch screen assembly 101 can be determined.
  • the SOC of the touch device 100 determines that the third electrical signal is received, and controls the touch screen assembly 101 to display handwriting.
  • the pen drop point of the handwriting displayed on the display screen of the touch screen assembly 101 is determined according to the second electrical signal emitted by the first transmitting electrode 202 of the active capacitive pen 200, that is, the second electrical signal can be used to make the touch
  • the device determines the location of the handwriting.
  • the first transmitting electrode 202 of the active capacitive pen 200 may be arranged near the tip of the pen.
  • the second emitting electrode 205 of the active capacitive pen 200 can be arranged near the first emitting electrode 202.
  • the second emitting electrode 205 can be arranged on the side farther from the pen tip and at a position about 1 cm away from the first emitting electrode 202.
  • the SOC of the device 100 can calculate the tilt angle of the active capacitive pen 200 relative to the touch screen assembly 101 (referred to as the tilt angle) according to the receiving point positions of the second electrical signal and the third electrical signal on the touch screen assembly 101, thereby determining the displayed handwriting form ( For example, the thickness of the handwriting, the depth of the color), in order to enrich the effect of the stroke.
  • the third electrical signal is used to trigger the touch device to display handwriting.
  • the SOC determines that the third electrical signal can be received in different implementation manners.
  • the embodiments of the present application provide the following exemplary implementation manners:
  • the first frequency of the second electrical signal transmitted by the first transmitting electrode 202 of the active capacitive pen 200 is different from the second frequency of the third electrical signal transmitted by the second transmitting electrode 205
  • the specific values of the first frequency and the second frequency are pre-stored.
  • the first frequency and the second frequency can be factory settings, optional, and can also be actively used during the Bluetooth pairing process.
  • the capacitive pen 200 informs the touch device 100.
  • the first frequency and the second frequency may also be values set by the touch device 100 in the first electrical signal.
  • the active capacitive pen 200 determines the touch after analyzing the first electrical signal.
  • the specific values of the first frequency and the second frequency configured by the control device 100 are not limited in the embodiment of the present application.
  • the SOC of the touch device 100 determines that the frequency of the electrical signal received by the touch screen assembly 101 is the pre-agreeed second frequency for triggering the display of handwriting, that is, the touch device 100 determines that the third electrical signal is received, then the touch The SOC of the device 100 controls the touch screen assembly 101 to display the handwriting of the active capacitive pen 200. This is because the active capacitive pen 200 is configured to emit the third electrical signal after touching the object.
  • the SOC of the touch device 100 determines that the third electrical signal is received, the tip of the active capacitive pen 200 has already touched Objects need to display handwriting, and then the SOC controls the touch screen assembly 101 to display the handwriting of the active capacitive pen 200.
  • the aforementioned data frame can also be used to configure the frequency of the second electrical signal and the frequency of the third electrical signal, and the active capacitive pen 200 configures the frequencies of the second electrical signal and the third electrical signal respectively according to the protocol of the data frame.
  • Another optional implementation manner is that the first emitting electrode 202 and the second emitting electrode 205 of the active capacitive pen 200 are separated by a predetermined distance, for example, 1 cm.
  • a predetermined distance for example 1 cm.
  • the SOC of the touch device 100 determines that the touch screen assembly 101 detects that two electrical signals are received at the same time, and the distance between the receiving points of the two electrical signals is less than the preset distance, it determines that the third electrical signal is received.
  • the second electrical signal is transmitted after the receiving electrode 201 of the active capacitive pen 200 can detect the first electrical signal transmitted by the touch screen assembly 101, and the third electrical signal is transmitted when it is detected that the pen tip is in contact with the object.
  • the touch screen assembly 101 can detect the second electrical signal and the third electrical signal at the same time.
  • Another optional implementation is that after the SOC detects two electrical signals, if the frequency difference between the two electrical signals is higher than a preset value, it is determined that the handwriting of the active capacitive pen 200 needs to be displayed. Since the touch screen assembly 101 can determine the frequency of the electrical signal after detecting the electrical signal, this embodiment is equivalent to a modification of the embodiment (1), and will not be repeated here.
  • the touch screen assembly 101 displays handwriting according to the control of the SOC, showing the effect of the active capacitive pen 200 producing water.
  • the touch screen component 101 is controlled to display the handwriting of the corresponding form at the corresponding position.
  • the active capacitive pen transmits an electrical signal after determining that it receives the first electrical signal sent by the touch device, and transmits the electrical signal again after the pressure sensor of the active capacitive pen senses contact with the touch screen component After the touch screen component receives two electrical signals, it triggers the display of handwriting, which can shorten the response time of handwriting display.
  • the micro-control unit of the active capacitive pen controls the Bluetooth module to interact with the touch device to make the touch
  • the control device controls the touch screen component to display handwriting.
  • the handwriting display method provided by the embodiment of the application does not require an active capacitive pen to use a Bluetooth module to notify the touch device that the touch screen component has been touched.
  • the response time of the sensor of the touch screen component to electrical signals is shorter than that of Bluetooth The response time of the module to receive the signal. Therefore, the handwriting display method provided in the embodiments of the present application can reduce the delay of handwriting showing water, improve the sensitivity of handwriting showing water, and improve the user experience.
  • the water out response time of the handwriting display method provided by the embodiment of the present application can be shortened by 30-40 ms.
  • the transmitting electrode of the active capacitive pen 200 described above includes only one transmitting electrode.
  • the active capacitive pen 200 includes only one transmitting electrode 202.
  • the active capacitive pen 200 includes only one transmitting electrode.
  • the configuration of the remaining components and the configuration of the touch device 100 can be the same as the scenario shown in FIG. 1, and will not be repeated here.
  • the handwriting display method provided by the embodiment of this application is applied in the application scenario shown in FIG. 5, the execution steps are similar to those in the scenario shown in FIG. 1, except that the specific execution of step 304, step 307, and step 309 The method is different.
  • the handwriting display method provided by the embodiment of the present application replaces the above steps 304, 307, and 309 respectively. Steps 311 to 313 are as follows:
  • the MCU 204 controls the first transmitting electrode 202 to transmit a second electrical signal with a first frequency.
  • the MCU 204 determines that the first electrical signal is the electrical signal transmitted by the touch device 100, it controls the first transmitting electrode 202 to transmit the second electrical signal with the first frequency.
  • the MCU 204 controls the first transmitting electrode 202 to transmit a third electrical signal with a second frequency.
  • the MCU204 can change the frequency at which the first transmitting electrode 202 transmits the electrical signal, from the first frequency to the second frequency, that is, equivalent to controlling the first transmitting electrode 202 transmits a third electrical signal having a frequency different from that of the second electrical signal, where the frequency of the second electrical signal is the first frequency, and the frequency of the third electrical signal is the second frequency.
  • the SOC determines that the received electrical signal frequency is the second frequency, and controls the touch screen component 101 to display handwriting.
  • this step can also be replaced by the SOC controlling the touch screen component 101 to display handwriting after determining that the frequency change of the electrical signal exceeds a preset value.
  • the handwriting display method provided by the embodiments of the present application informs the touch device that the active capacitive pen has touched the touch screen by changing the frequency of the electrical signal emitted by the transmitting electrode, so that the touch device starts to display handwriting without calling the communication module such as the Bluetooth module. It can shorten the trigger response time for the touch device to determine to start displaying handwriting.
  • the embodiment of this application can be applied to a touch system in which an active capacitive pen includes only one transmitting electrode, can reduce the manufacturing cost of the active capacitive pen, can be applied to more application scenarios, and improve the handwriting display method provided by the embodiment of this application. The scope of application.
  • the transmitting electrode of the active capacitive pen 200 described above includes only one transmitting electrode.
  • the active capacitive pen 200 includes only one transmitting electrode 202.
  • the active capacitive pen 200 includes only one transmitting electrode.
  • the configuration of the remaining components and the configuration of the touch device 100 can be the same as the scenario shown in FIG. 1, and will not be repeated here.
  • the handwriting display method provided by the embodiment of the present application is applied in the application scenario shown in FIG. 5, the execution steps are similar to those in the scenario shown in FIG. 1, except that the specific execution modes of step 307 and step 309 are different.
  • the handwriting display method provided in the embodiment of the present application replaces the above steps 307 and 309 with the following steps 314 to and respectively Step 315:
  • the MCU204 of the active capacitive pen 200 controls the first transmitting electrode 202 of the active capacitive pen 200 to stop transmitting the second electrical signal, and transmits the third electrical signal after the timing reaches the preset duration, wherein the frequency of the third electrical signal is the same as that of the second electrical signal.
  • the frequency of the electrical signal may be the same. In the case of the same frequency, it is equivalent to that the first transmitting electrode 202 transmits the second electrical signal again after the interruption of the preset duration.
  • the MCU 204 determines that the first electrical signal is the electrical signal transmitted by the touch device 100, it controls the first transmitting electrode 202 to transmit the second electrical signal. For example, after determining that the first electrical signal is the electrical signal transmitted by the touch device 100, it controls The first transmitting electrode 202 starts to transmit the second electrical signal.
  • the frequency of the second electrical signal may be controlled by the MCU 204.
  • the MCU 204 may control the frequency of the second electrical signal by controlling the frequency of turning on and turning off the driving circuit of the first transmitting electrode 202.
  • the second electrical signal is a single-frequency signal, which does not carry information or data to be transmitted.
  • the frequency of the second electrical signal can be configured in a narrow band frequency between 100KHZ and 400KHZ, for example , 150KHZ ⁇ 150.5KHZ.
  • the SOC determines that the time interval during which the electrical signal received by the touch screen component 101 is interrupted is less than or equal to the preset duration, and then controls the touch screen component 101 to display handwriting.
  • the SOC determines that the time interval after the electrical signal is stopped until the electrical signal is received again is less than the preset duration, it is determined that the handwriting needs to be displayed. SOC does not need to judge according to the frequency of the electrical signal. It only needs to start timing after the electrical signal stops. If the electrical signal is not received again after the preset time period, there is no need to display the handwriting. If the electrical signal is received again within the preset time period , The handwriting is displayed. Therefore, in the embodiment of the present application, the electrical signal emitted by the first transmitting electrode 202 of the active capacitive pen 200 can be configured as an electrical signal that remains stable.
  • the transmitting electrode is controlled to continuously emit electrical signals, and after the tip of the active capacitive pen touches the touch screen component, the transmitting electrode is controlled to be interrupted for a short time (for example, 5ms), after interrupting the preset time, the electric signal is transmitted again to notify the touch device to start displaying handwriting without calling a communication module such as a Bluetooth module, which can shorten the trigger response time for the touch device to determine to start displaying handwriting.
  • a short time For example, 5ms
  • the electric signal is transmitted again to notify the touch device to start displaying handwriting without calling a communication module such as a Bluetooth module, which can shorten the trigger response time for the touch device to determine to start displaying handwriting.
  • the embodiments of the present application can be applied to a touch system in which the active capacitive pen only includes one transmitting electrode and the frequency at which the transmitting electrode emits electrical signals cannot be changed.
  • the production cost of the active capacitive pen can be reduced, and it can be applied to more application scenarios.
  • an embodiment of the present application discloses an active capacitive pen.
  • the active capacitive pen includes: a receiving electrode 401 configured to detect electrical signals; a pressure sensor 402 configured to detect the tip pressure of the active capacitive pen; A transmitting electrode 403 is configured to transmit electrical signals; a second transmitting electrode 404 is configured to transmit electrical signals; one or more processors 405; a memory 406; wherein, each of the above-mentioned devices can pass through one or more communication buses 408
  • the active capacitive pen also includes: and one or more computer programs 407, of which one or more computer programs 407 are stored in the memory 406, for example, the active capacitive pen may specifically be the active capacitive pen in FIG. 1 200.
  • the receiving electrode 401 may be the receiving electrode 201 shown in FIG. 1
  • the first transmitting electrode 403 may be the first transmitting electrode 202 shown in FIG. 1
  • the second transmitting electrode 404 may be the receiving electrode 201 shown in FIG.
  • the processor 405 may specifically be the micro-processing unit 204 shown in FIG. 1, which is not limited in the embodiment of the present application.
  • one or more computer programs 407 include instructions.
  • the active capacitive pen executes the steps performed by the active capacitive pen 200 in the foregoing embodiment 1. Specifically, it may include the following steps:
  • Step 1 After determining that the electrical signal detected by the receiving electrode is a modulated electrical signal transmitted by the touch screen component of the touch device, control the first transmitting electrode to emit a first electrical signal with a first frequency;
  • Step 2 After determining that the tip of the active capacitive pen touches the object according to the tip pressure, the second transmitting electrode is controlled to emit the second electrical signal of the second frequency.
  • the active capacitive pen when the command is executed by the active capacitive pen, the active capacitive pen is caused to perform the following steps: use the first duration as a period to detect whether the first electrical signal is a modulated electrical signal; In the case of modulating the electrical signal, the first electrical signal is controlled to continue to be transmitted for a second period of time.
  • the active capacitive pen when the command is executed by the active capacitive pen, the active capacitive pen is made to perform the following steps: determine whether the pen tip touches the object with the third period as a period; after determining that the pen tip touches the object, control the third The electric signal continues to be transmitted for the fourth period of time.
  • the active capacitive pen when the command is executed by the active capacitive pen, the active capacitive pen is caused to perform the following steps: after determining that the electrical signal received by the receiving electrode is a modulated electrical signal, obtain the pen tip pressure detected by the pressure sensor.
  • the active capacitive pen further includes: a first drive circuit configured to be turned on or off under the control of the processor, and when the first drive circuit is turned on, the first drive circuit provides A power supply, wherein the processor is configured to control the first driving circuit to be turned on and off, so that the first transmitting electrode emits an electrical signal at a first frequency; the second driving circuit is configured to be turned on or off under the control of the processor , When the second driving circuit is turned on, the second driving circuit provides power to the second emitter electrode, wherein the processor is configured to control the second driving circuit to turn on and off, so that the second emitter electrode emits at the second frequency electric signal.
  • the active capacitive pen also includes a short-range wireless communication module.
  • the active capacitive pen of the embodiment of the present application may not include the second transmitting electrode 404.
  • one or more computer programs 507 of the active capacitive pen include When the instruction is executed by the active capacitive pen, the active capacitive pen executes the steps performed by the active capacitive pen 200 in the above-mentioned embodiment 2, which may specifically include the following steps:
  • Step 1 After determining that the electrical signal received by the receiving electrode is a modulated electrical signal transmitted by the touch screen component of the touch device, control the transmitting electrode to transmit the electrical signal at a first frequency;
  • Step 2 After determining that the pen tip of the active capacitive pen touches an object according to the pen tip pressure, control the frequency of the transmitting electrode to emit electrical signals from the first frequency to the second frequency.
  • the instructions included in one or more computer programs 507 of the active capacitive pen may also cause the active capacitive pen to perform each step of the foregoing embodiment 3, which may specifically include the following step:
  • Step 1 After determining that the electrical signal received by the receiving electrode is a modulated electrical signal transmitted by the touch screen component of the touch device, control the transmitting electrode to transmit the electrical signal;
  • Step 2 After determining that the tip of the active capacitive pen touches an object according to the tip pressure, control the transmitting electrode to continue to transmit the electrical signal after interrupting a preset period of time.
  • an embodiment of the present application discloses a touch device.
  • the touch device includes: a touch screen component 701 configured to detect electrical signals and transmit modulated electrical signals; one or more processors 702; and a memory 703; And one or more computer programs 704, each of the above-mentioned devices may be connected through one or more communication buses 705.
  • the aforementioned touch device may specifically be the touch device 100 in FIG. 1
  • the aforementioned touch screen component 701 may specifically be the touch screen component 101 shown in FIG. 1
  • the aforementioned processor 702 and memory 703 may be specifically configured in Embodiment 1.
  • the embodiment of the present application does not impose any limitation on this.
  • One or more computer programs 704 are stored in the memory 703, and the one or more computer programs 704 include instructions.
  • the above-mentioned instructions can be used to execute the steps performed by the touch device 101 in the foregoing embodiment 1. Specifically, when When the instruction is executed by the touch device, the touch device executes the following steps:
  • Step 1 Control the touch screen component to emit modulated electrical signals
  • Step 2. Determine that the touch screen component detects an electrical signal
  • Step 3 Obtain the frequency of the electrical signal detected by the touch screen component
  • Step 4 Determine that the touch screen component detects the first electrical signal of the first frequency, where the first frequency is the frequency of the electrical signal emitted by the active capacitive pen after detecting that the pen tip touches the object;
  • Step 5 Control the touch screen component to display handwriting according to the electrical signal detected by the touch screen component.
  • the touch device when the instruction is executed by the touch device, the touch device is caused to perform the following steps: it is determined that the touch screen component detects the first electrical signal after detecting the second electrical signal of the second frequency, where The second electrical signal is the electrical signal emitted by the active capacitive pen after detecting the modulated electrical signal, and the first electrical signal is the electrical signal emitted by the active capacitive pen after detecting that the pen tip touches the object.
  • the first electrical signal is the electrical signal emitted by the first transmitting electrode of the active capacitive pen
  • the second electrical signal is the electrical signal emitted by the second transmitting electrode of the active capacitive pen.
  • the touch device when the instruction is executed by the touch device, the touch device is caused to perform the following steps: adjust the display position according to the position of the receiving point of the first electrical signal on the touch screen assembly, and/or, according to the first electrical signal
  • the position of the receiving point of an electric signal on the touch screen assembly and the position of the receiving point of the second electric signal on the touch screen assembly adjust the display effect of the handwriting; control the touch screen assembly to display the adjusted handwriting.
  • the instructions included in one or more computer programs 704 may be used to execute each step performed by the touch device 101 in the foregoing embodiment 2. Specifically, when the instructions are When the touch device is executed, make the touch device perform the following steps:
  • Step 1 Control the touch screen component of the touch device to emit modulated electrical signals
  • Step 2. Determine that the touch screen component detects an electrical signal
  • Step 3 Timing the interruption duration of the electrical signal detected by the touch screen component
  • Step 4 When the interruption duration is less than or equal to the preset duration, control the touch screen assembly to display handwriting according to the electrical signal detected by the touch screen assembly, where the electrical signal is that the active capacitive pen controls the emitter electrode to continue emitting after detecting the modulated electrical signal
  • the preset duration of the electrical signal is configured to be greater than or equal to the duration of the active capacitive pen interrupting the transmission of the electrical signal after detecting that the pen tip touches the object.
  • the instructions included in one or more computer programs 704 may be used to execute each step performed by the touch device 101 in the foregoing embodiment 3. Specifically, when the instructions are When the touch device is executed, make the touch device perform the following steps:
  • Step 1 Control the touch screen component of the touch device to emit modulated electrical signals
  • Step 2 Determine that the first electrical signal and the second electrical signal are detected on the touch screen assembly at the same time, and the distance between the first electrical signal and the second electrical signal on the touch screen assembly is less than a preset distance, where the first electrical signal is an active capacitor
  • the pen controls the electrical signal emitted by the first transmitting electrode of the active capacitive pen.
  • the second electrical signal is the electrical signal emitted by the second transmitting electrode of the active capacitive pen after the active capacitive pen detects that the pen tip touches the object.
  • the preset distance is the distance between the first transmitting electrode and the second transmitting electrode;
  • Step 3 Control the touch screen assembly to display handwriting according to the first electrical signal and the second electrical signal.
  • the functional units in the various embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage
  • the medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Landscapes

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

Abstract

一种用于触发显示笔迹的信号发射方法以及笔迹显示方法,涉及终端技术领域,通过主动电容笔在靠近触控设备使得检测到触控设备触摸屏发送的调制电信号之后发射一个电信号,并在主动电容笔的压力传感器感应到接触到触摸屏之后发射另一个电信号,触摸屏在确定接收到第二个电信号之后,触发显示笔迹,可以缩短笔迹被触发显示的响应时间。

Description

用于触发显示笔迹的信号发射方法以及笔迹显示方法
本申请要求于2020年01月03日提交中国专利局、申请号为202010011814.0、申请名称为“用于触发显示笔迹的信号发射方法以及笔迹显示方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种用于触发显示笔迹的信号发射方法以及笔迹显示方法。
背景技术
随着智能手机、平板电脑等电子设备的普及,触摸屏以及触摸显示技术也得到了广泛的应用。在触摸屏上书写的介质可以是人体(通常是手指)或者手写笔。目前市面上的手写笔主要区分为电磁笔、电容笔,其中电容手写笔主要分为被动电容笔和主动电容笔。其中,在使用主动电容笔在触摸屏上书写时,由于电容式触摸屏只能感知到主动电容笔的靠近,无法感知主动电容笔是否真正接触到触摸屏上,在一些相关技术中,采用的解决方案为主动电容笔使用蓝牙通信模块等与触控设备进行通信,以通知触控设备何时控制触摸屏开始显示笔迹,导致触摸屏每次被触发显示主动电容笔的响应时间较长。
发明内容
本申请提供一种用于触发显示笔迹的信号发射方法以及笔迹显示方法,可以缩短主动电容笔触发触摸屏显示笔迹的响应时间。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请提供一种用于触发显示笔迹的信号发射方法,所述方法由主动电容笔执行,所述主动电容笔包括接收电极、至少一个发射电极和压力传感器,所述方法包括:获取所述接收电极检测到的第一电信号;解析所述第一电信号,确定所述第一电信号为触控设备发射的调制电信号;根据解析结果,控制所述发射电极发射第二电信号;获取所述压力传感器检测的所述主动电容笔的笔尖压力;当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极发射第三电信号,其中,所述第三电信号用于触发所述触控设备显示笔迹,所述第二电信号用于使所述触控设备确定所述笔迹所在位置。
在一种可能的实现方式中,所述发射电极包括第一发射电极和第二发射电极,所述第二电信号为所述第一发射电极发射的第一频率的电信号,所述第三电信号为所述第二发射电极发射的第二频率的电信号。
在一种可能的实现方式中,所述第二电信号和所述第三电信号为所述主动电容笔 的同一个发射电极发射的电信号,所述第二电信号为第一频率的电信号,所述第三电信号为第二频率的电信号,所述当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极发射第三电信号,包括:当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极发射电信号的频率由所述第一频率切换为所述第二频率。
在一种可能的实现方式中,所述第二电信号和所述第三电信号为所述主动电容笔的同一个发射电极发射的电信号,所述根据解析结果,控制发射电极发射第二电信号,包括:根据所述解析结果,控制所述发射电极持续的发射所述第二电信号;所述当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极发射第三电信号,包括:当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极停止发射所述第二电信号;当停止时长达到预设时长,控制所述发射电极发射所述第三电信号。
在一种可能的实现方式中,所述第二电信号和所述第三电信号为参数相同的电信号。
在一种可能的实现方式中,所述获取接收电极检测到的第一电信号,包括:以第一时长为周期获取所述接收电极检测到的第一电信号;所述根据解析结果,控制所述发射电极发射第二电信号,包括:针对所述第一电信号的当前检测周期的所述解析结果,控制所述发射电极持续发射第二时长的所述第二电信号。
在一种可能的实现方式中,所述获取所述压力传感器检测的所述主动电容笔的笔尖压力,包括:以第三时长为周期获取所述压力传感器检测的所述主动电容笔的笔尖压力;当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极发射第三电信号,包括:针对所述笔尖压力的当前检测周期,当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极持续发射第四时长的所述第三电信号。
在一种可能的实现方式中,所述解析所述第一电信号,确定所述第一电信号为触控设备发射的调制电信号,包括:以所述调制电信号对应的预设解调方法解析所述第一电信号,得到所述第一电信号中的验证信息;根据所述验证信息确定所述第一电信号为所述触控设备发射的所述调制电信号。
在一种可能的实现方式中,所述获取所述压力传感器检测的所述主动电容笔的笔尖压力的步骤,当确定所述第一电信号为触控设备发射的调制电信号时执行。
在一种可能的实现方式中,所述预设条件为所述笔尖压力的变化超过预设阈值。
在一种可能的实现方式中,所述主动电容笔还包括短距无线通信模块,在获取所述接收电极检测到的第一电信号之前,所述方法还包括:使用所述短距无线通信模块与所述触控设备配对。
第二方面,本申请提供一种笔迹显示方法,所述方法由触控设备执行,所述方法包括:控制所述触控设备的触摸屏组件发射调制电信号;确定所述触摸屏组件检测到电信号;获取所述检测到的电信号的频率;确定所述检测到的电信号的频率是预先协议的用于确定笔迹所在位置的电信号(本申请实施例记为第二电信号)的频率;确定所述触摸屏组件检测到另一个电信号;获取检测到的所述另一个电信号的频率;确定 所述另一个电信号的频率是预先协议的用于触发显示笔迹的电信号(本申请实施例记为第三电信号)的频率;控制所述触摸屏组件开始显示笔迹,其中,所述笔迹所在位置至少根据所述检测到的电信号确定。
可选的,触控设备检测到的两个电信号是主动电容笔的同一个发射电极发射的电信号。
在一种可能的实现方式中,触摸屏组件接收到的第一个电信号是所述主动电容笔的第一发射电极发射的电信号,触摸屏组件接收到的第二个电信号为所述主动电容笔的第二发射电极发射的电信号。
在一种可能的实现方式中,在控制所述触摸屏组件显示笔迹时,可以根据触摸屏组件接收到的第一个电信号在所述触摸屏上的接收点位置,确定所述笔迹的显示位置。
在一种可能的实现方式中,还可以根据触摸屏组件接收到的第二个电信号在所述触摸屏组件上的接收点位置,调整笔迹的显示位置。
在一种可能的实现方式中,还可以根据触摸屏组件接收到的两个电信号在所述触摸屏上的接收点位置的相对位置关系,确定所述笔迹的显示效果(如根据两个电信号的倾斜度的不同显示出不同的笔锋效果等),进而控制所述触摸屏组件按照确定的显示效果显示笔迹。
在一种可能的实现方式中,在所述控制所述触控设备的触摸屏发射调制电信号之前,所述方法还包括:使用短距无线通信模块与所述主动电容笔配对。
第三方面,本申请提供一种笔迹显示方法,所述方法由触控设备执行,所述方法包括:控制所述触控设备的触摸屏组件发射调制电信号;确定所述触摸屏组件上感应到同时存在两个电信号,且所述两个电信号在所述触摸屏组件上的距离小于预设距离;控制所述触摸屏组件开始显示笔迹,其中,所述笔迹所在位置至少根据所述两个电信号中先接收到的电信号确定。第三方面还提供了一些可能的实现方式,可以参考第二方面所提供的可能的实现方式,在此不再赘述。
第四方面,本申请提供一种笔迹显示方法,所述方法由触控设备执行,所述方法包括:控制所述触控设备的触摸屏组件发射调制电信号;确定所述触摸屏组件检测到电信号;当确定所述电信号停止,开始计时;在计时时长未超过预设时长时,确定所述触摸屏组件再次检测到所述电信号;控制所述触摸屏组件开始显示笔迹,其中,所述笔迹所在位置根据所述电信号确定。第四方面还提供了一些可能的实现方式,可以参考第二方面所提供的可能的实现方式,在此不再赘述。
第五方面,本申请提供一种主动电容笔,所述主动电容笔包括:接收电极,被配置为检测电信号;压力传感器,被配置为检测所述主动电容笔的笔尖压力;至少一个发射电极,被配置为发射电信号;一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述主动电容笔执行时,使得所述主动电容笔执行如第一方面或第一方面的任一可能的实现方式所述的方法。
第六方面,本申请提供一种触控设备,所述触控设备包括:触摸屏组件,包括传感器和显示屏,所述传感器被配置为检测电信号和发射调制电信号;一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在 所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述触控设备执行时,使得所述触控设备执行如第二、三、四方面及其任一个可能的实现方式所述的笔迹显示方法。
第七方面,本申请提供一种触控系统,所述触控系统包括第五方面所述的主动电容笔和第六方面所述的触控设备。
第八方面,本申请提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第一方面或第一方面的任一个可能的实现方式所述的用于触发显示笔迹的信号发射方法。
第九方面,本申请提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第二、三、四方面或其任一个可能的实现方式所述的笔迹显示方法。
第十方面,本申请提供一种芯片,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,执行第一方面或第一方面的任一可能的实现方式中的方法。
可选地,作为一种实现方式,所述芯片还可以包括存储器,所述存储器中存储有指令,所述处理器用于执行所述存储器上存储的指令,当所述指令被执行时,所述处理器用于执行第一方面或第一方面的任一可能的实现方式中的方法。
第十一方面,本申请提供一种芯片,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,执行第二、三、四方面或其任一可能的实现方式中的方法。
可选地,作为一种实现方式,所述芯片还可以包括存储器,所述存储器中存储有指令,所述处理器用于执行所述存储器上存储的指令,当所述指令被执行时,所述处理器用于执行第二、三、四方面或其任一可能的实现方式中的方法。
上述任一方面及其可选的实施方式所提供的技术方案,通过主动电容笔在靠近触控设备使得检测到触控设备触摸屏发送的调制电信号之后发射一个电信号,并在主动电容笔的压力传感器感应到接触到触摸屏之后再次发射电信号,触摸屏在接收到两个电信号之后,触发显示笔迹,可以缩短笔迹出水显示的响应时间,不需要主动电容笔启动电极以外的其它硬件电路(例如蓝牙模块、NFC模块等短距无线通信模块),且触摸屏对电信号的响应时间要少于短距无线通信模块交互信息的时间,因此,可以降低笔迹显示出水的延迟,提高笔迹显示出水的灵敏度,提高了用户体验。
附图说明
图1为本申请实施例提供的一种笔迹显示方法的应用场景示意图一;
图2为本申请实施例提供的一种笔迹显示方法的交互示意图一;
图3为本申请实施例提供的一种数据帧的结构示意图;
图4为本申请实施例提供的一种发射电极发射的电信号的示意图;
图5为本申请实施例提供的一种笔迹显示方法的应用场景示意图二;
图6为本申请实施例提供的一种笔迹显示方法的交互示意图二;
图7为本申请实施例提供的一种笔迹显示方法的交互示意图三;
图8为本申请实施例提供的一种主动电容笔的结构示意图;
图9为本申请实施例提供的一种触控设备的结构示意图。
具体实施方式
下面将结合附图对本实施例的实施方式进行详细描述。
实施例1
本申请实施例提供了一种笔迹显示方法。该笔迹显示方法可以应用于如图1所示的触控系统。
如图1所示,为一种触控系统10,包括触控设备100和主动电容笔(Active Electrostatic Stylus,简称AES)200。
触控设备100可以是带有触摸屏(Touch panel,简称TP)组件101的平板设备,在其它应用场景中,触控设备100也可以替换为带有触摸屏组件的电脑、笔记本电脑、掌上电脑PDA(Personal Digital Assistant)等其它计算机设备。
其中,触摸屏组件101包括贴合的传感器和显示屏,其中传感器被配置为检测电信号和发射调制电信号。触摸屏组件101的传感器可以感应介质(例如,手指、电容笔)的电信号,介质的电信号会导致传感器在介质附近的位置发生电容的变化,进而实现感应介质所指向的位置,此外,传感器还可以发射调制电信号,调制电信号可以携带有通知主动电容笔200的信息。触摸屏组件101的显示屏可以根据传感器接收到的电信号显示出对应的效果,例如,在触控设备100打开画图等安装在操作系统中的应用程序(Application,简称APP)或操作系统自有组件时,通过主动电容笔200的笔尖在触摸屏组件101指定的区域内接触并移动,可以在触摸屏组件101上显示出主动电容笔200的移动路径,也即显示笔迹,其中,笔迹的颜色、粗细、形状等效果是可以通过软件功能配置的。需要说明的是,在另外一些应用场景中,触控设备100的触摸屏组件101中的传感器和显示屏可以是不贴合的,例如,外接手写板(传感器设置在手写板内)的笔记本电脑(笔记本电脑包括显示屏)。可选的,显示屏的种类可以是液晶显示器LCD(Liquid Crystal Display)。
触控设备100还可以包括系统级芯片(System on Chip,简称SOC)。SOC是一个有专用目标的集成电路,包含完整的操作系统并有嵌入软件的全部内容,可以对触摸屏组件101的信号进行处理,并控制显示屏显示出对应的效果,上述的调制电信号所携带的信息可以是由触控设备100的SOC发送至传感器。SOC可以设置在触控设备100的外壳内部。
此外,触控设备100还可以包括蓝牙模块,或者其它短距无线通信模块。
主动电容笔200是有(电)源的电容笔,与被动电容笔不可以主动产生电信号不同,主动电容笔200可以使用电源主动发出电信号,以使主动电容笔200在触摸屏组件101的传感器的附近时,传感器能够感应到主动电容笔200发出的电信号。触摸屏组件101可以感应到主动电容笔200发送的电信号,并且,主动电容笔200也可以感应到触摸屏组件101发出的电信号。如图1所示,主动电容笔200包括接收(Receiver)电极201(用于接收电信号)、第一发射(Transmission)电极202(用于发射电信号)和第二发射电极205。可选的,在另外的一些设计中,主动电容笔可以包括多个接收电极;在一些设计中,主动电容笔的发射电极可以仅包括一个,或两 个以上;在一些设计中,其中一个接收电极和一个发射电极可以是同一个电极。如图1所示的主动电容笔200还包括压力传感器203(Pressure Sensor)、微控制单元204(Microcontroller Unit,简称MCU)。如图1所示的主动电容笔200中,压力传感器203设置在笔的前端(笔尖附近),用于感应主动电容笔200的笔尖压力,在主动电容笔200的笔尖接触到触摸屏组件101(或其它物体)之后,压力传感器203感应到的信号发生变化,微控制单元204可以对压力传感器203感应到的信号进行处理,以确定主动电容笔200的笔尖受到的压力发生变化以及压力变化的大小。主动电容笔200还包括短距无线传输模块(例如蓝牙模块、近场通信NFC模块等),如图1所示,主动电容笔200还包括蓝牙模块206。蓝牙模块206可以用于与触控设备100的蓝牙模块进行通信。主动电容笔200可以通过蓝牙模块206与触控设备100交互握手信息,进行配对。
本申请实施例提供的笔迹显示方法应用在如图1所示的触控系统10中,可以包括如图2所示的如下步骤:
300、主动电容笔200与触控设备100使用蓝牙通信方式进行配对。
主动电容笔200的蓝牙模块206可以是常开的,可选的,主动电容笔200还可以配置有电源开关,在电源开启后,蓝牙模块206被供电,能够被周围具有蓝牙模块的设备的搜索发现。触控设备100在开启蓝牙功能之后,可以使用触控设备100的蓝牙模块搜索到周围处于蓝牙传输距离范围内的蓝牙设备,周围的蓝牙设备中包括主动电容笔200。例如,用户可以在触控设备100上点击查看蓝牙设备列表,选中主动电容笔200的图标,触控设备100与主动电容笔200开始执行蓝牙配对的过程。
301、触控设备100的触摸屏组件101发送第一电信号。
在蓝牙配对成功之后,触摸屏组件101的传感器发出第一电信号。第一电信号是调制后的信号,可以携带有验证信息,例如触控设备100的身份识别信息,以使得配对成功的主动电容笔200在接收到第一电信号之后,确定发送第一电信号的设备为配对成功的触控设备100。可选的,上述的身份识别信息可以是在步骤300执行蓝牙配对的过程中由触控设备100发送的,主动电容笔200在接收到身份识别信息之后,可以存储在自身的存储器中。
举例而言,第一电信号携带的信息可以是帧头为固定格式的数据帧,一种可选的数据帧如图3所示,数据帧是多个比特位的二进制数据。数据帧格式包括帧头、数据域和校验域,帧头格式是固定的,帧头中可以携带有通信协议版本信息,以使主动电容笔200与触摸屏组件101按照对应版本通信协议的要求进行通信。数据域可以携带有其它需要传输的数据,例如上述的验证信息,校验域用于携带校验数据。通信协议内容可以包括触控设备100的标识信息(用于使主动电容笔200识别触控设备100的身份)等。第一电信号可以是使用直接序列扩频(Direct Sequence Spread Spectrum,简称DSSS)技术对上述数据帧调制后的信号。第一电信号的频率在指定的频段内,例如,第一电信号的频率可以配置在100KHZ~400KHZ。触摸屏组件101可以是以固定的周期重复的发送第一电信号。上述关于第一电信号的信息格式、调制方式和频段区间仅用于举例,本申请实施例对此不作限定。
302、主动电容笔200的接收电极201接收触摸屏组件101的第一电信号,并通 知MCU204。
由于接收电极201需要在与信号源一定距离内才能够接收到信号,在用户手持主动电容笔200靠近触摸屏组件101,使得接收电极201与触摸屏组件101的距离在一定范围内时,接收电极201能够接收到第一电信号。
第一电信号可以在经过主动电容笔200的滤波比较模块处理后发送至MCU204。滤波比较模块可以是设置在主动电容笔200内的硬件电路模块,对第一电信号进行滤波,以滤除非第一电信号频段内的波形,排除第一电信号在传输过程中耦合的干扰信号,滤波比较模块还可以对滤波后的信号进行信号放大处理,再通过比较器将放大后的信号还原为上述数据帧经过DSSS调制后得到的数据,进而,MCU204可以使用预先协议的DSSS解调方法对比较器还原后的数据进行解析,将携带的身份识别信息与蓝牙配对过程中存储的身份识别信息进行比对,确认第一电信号是触控设备100发送的调制电信号。
可选的,主动电容笔200的接收电极201可以被配置为以固定的周期采集电信号,例如,由MCU204以固定的周期采集接收电极201感应到的电信号。
303、MCU204确定第一电信号是触控设备100发射的电信号。
在MCU204接收到滤波处理模块发送的数据之后,MCU204中的解码模块可以对经过DSSS调制后的数据进行解码处理,得到DSSS调制前的上述数据帧,进而判断该数据帧是否为触控设备100发送的,例如,MCU204可以根据数据帧的帧头中携带的触控设备100的标识信息,确定第一电信号是触控设备100发射的电信号。可选的,主动电容笔200可以根据在步骤300蓝牙配对成功之后存储的触控设备100的标识信息作为对比依据。如果数据帧的帧头中携带的身份标识与预先存储的触控设备100的身份标识信息相同,则主动电容笔200对触控设备100的身份验证成功。又由于接收电极接收电信号存在客观的接收距离限制,因此,在确定第一电信号是触控设备100发射的电信号之后,相当于确定主动电容笔200靠近了触控设备100的触摸屏组件101。
304、主动电容笔200的MCU204控制主动电容笔200的第一发射电极202发射第二电信号。
MCU204在确定第一电信号是触控设备100发射的电信号之后,控制第一发射电极202发射第二电信号。具体的,MCU204控制第一发射电极202发射第二电信号的实施方式可以是,开启第一发射电极202的驱动电路,第一发射电极202的驱动电路用于调整第一发射电极202发射的第二电信号的电压值,可以将低压信号(低压信号由主动电容笔200的电压源提供电源)转换为高压信号(如40V),在第一发射电极202的驱动电路开启之后,为第一发射电极202提供电源,以使第一发射电极202发射第二电信号。第二电信号可以是保持稳定的电平信号;可选的,也可以是如图4所示的电平按周期高低变化的频率信号,其中,第二电信号的频率f=1/t,t为如图4所示的一个信号周期。可选的,MCU204还可以控制第二电信号的频率,例如,可以通过控制驱动电路的开启和关断的频率来控制第二电信号的频率。需要说明的是,第二电信号是单频信号,不携带信息,不携带有要传输的数据,第二电信号的频率可以配置在100KHZ~400KHZ之间的一个较窄的波段频率内,例如,150KHZ~150.5KHZ。
可选的,在触控设备100发出的第一电信号对应的数据帧中,还可以包括为主动电容笔200配置的通信频率信息,在MCU204获取到第一电信号之后,MCU204可以根据第一电信号中携带的触控设备100设置的通信频率信息,控制第二电信号的频率。
可选的,在主动电容笔200的接收电极201被配置为以固定的周期(第一时长)采集电信号的情况下,主动电容笔200的MCU204在确定第一电信号是触控设备100发射的电信号之后,可以控制第一发射电极202将第二电信号持续发射一段时间(第二时长),例如,采集周期是5ms,发射时长为10ms,如果接收电极201采集到第一电信号,则MCU204确定检测到第一电信号之后,MCU204控制第一发射电极202发射10ms的第二电信号,如果接收电极201在下一个采集周期内采集到第一电信号,则MCU204在确定检测到第一电信号之后,可以控制第一发射电极202从当前时刻发射10ms,通过这样的方式,主动电容笔200在靠近触摸设备100、能够检测到第一电信号之后,可以持续的发射第二电信号,触摸屏组件101可以持续的检测到第二电信号,直至主动电容笔200远离触控设备100,接收电极201不再检测到第一电信号,则主动电容笔200的第一发射电极202在发射完上一个10ms的时长之后,停止发射第二电信号。可选的,第二时长可以大于第一时长,以使得主动电容笔200发射的第一电信号保持连续性。
305、触控设备100的触摸屏组件101在感应到第二电信号之后,将第二电信号发送至触控设备100的SOC。
主动电容笔200发出的第二电信号可以被触摸屏组件101感应到,具体的,触摸屏组件101上主动电容笔200笔尖附近的电容值发生改变,SOC可以根据触摸屏组件101感应到的电容值变化确定接收到第二电信号,并且还可以确定出第二电信号在触摸屏组件101上的接收位置。
306、主动电容笔200的MCU204确定主动电容笔200的压力传感器203检测到的压力变化超过预设阈值,从而确定主动电容笔200的笔尖接触到触摸屏组件101。
在主动电容笔200的第一发射电极202发出第二电信号之后,如果MCU204确定压力传感器203检测到的压力变化超过预设阈值(或者,检测到超过预设阈值的压力),则确定主动电容笔200的笔尖接触到物体,在本申请实施例的应用场景中,笔尖接触到的物体是触摸屏组件101。
可选的,主动电容笔200的压力传感器203可以在主动电容笔200开启后一直启用检测,但是主动电容笔200的MCU204在确定检测到第一电信号之后开始获取压力传感器203的笔尖压力检测结果,或者,主动电容笔200的MCU204可以控制压力传感器203在确定检测到第一电信号之后才启用检测。
307、主动电容笔200的MCU204控制主动电容笔200的第二发射电极205发射第三电信号。
在MCU204确定主动电容笔200的笔尖压力变化超过预设阈值之后,MCU204可以开启第二发射电极205的驱动电路,以使第二发射电极205发射第三电信号,该步骤与MCU204控制第一发射电极202发射第二电信号相似,在此不再赘述。
可选的,主动电容笔200的MCU204仅在确定检测到第一电信号,且压力传感 器203检测出接触到物体的情况下,控制第二发射电极205发射第三电信号,具体实施方式可以通过使主动电容笔200的压力传感器203的检测方式如步骤306中的实施方式(2)和(3)来实现。
可选的,在主动电容笔200的压力传感器203被配置为以固定的周期(第三时长)采集电信号、或者MCU204以第三时长为周期获取压力传感器203采集的电信号的情况下,主动电容笔200的MCU204在确定笔尖接触到物体之后,可以控制第二发射电极205将第三电信号持续发射一段时间(第四时长),例如,采集周期是5ms,发射时长为10ms,如果MCU204确定笔尖接触到物体,则MCU204控制第二发射电极205发射10ms的第三电信号,如果压力传感器203在下一个采集周期内采集到的笔尖压力,经MCU204计算后确定笔尖接触到物体,则控制第二发射电极205从当前时刻发射10ms,通过这样的方式,主动电容笔200在笔尖接触到触摸屏组件101之后,可以持续的发射第三电信号,触摸屏组件101可以持续的检测到第三电信号,直至主动电容笔200确定笔尖不接触到物体。可选的,第四时长可以大于第三时长,以使得主动电容笔200发射的第三电信号保持连续性。
需要说明的是,第三电信号也可以是如图4所示的单频的电信号,电压幅值可以与第二电信号相同,但是第三电信号的频率和第二电信号的频段是不同的,例如,第二电信号的频段配置在150KHZ~150.5KHZ,第三电信号的频段配置在280KHZ~280.3KHZ,可选的,第二电信号和第三电信号的频率可以是根据触控设备100发送的上述数据帧中携带的通信频率信息配置的。
308、触控设备100的触摸屏组件101感应到第三电信号,并通知触控设备100的SOC。
触摸屏组件101可以感应到第三电信号,笔尖接触位置附近的触摸屏组件101电容值发生改变,SOC可以根据触摸屏组件101感应到的电容值变化确定接收到第三电信号,还可以确定出第三电信号在触摸屏组件101上的接收位置。
309、触控设备100的SOC确定接收到第三电信号,控制触摸屏组件101显示笔迹。
在触摸屏组件101的显示屏上显示出的笔迹落笔点是根据主动电容笔200的第一发射电极202发射的第二电信号确定的,也即,第二电信号可以用于使所述触控设备确定所述笔迹所在位置。可选的,主动电容笔200的第一发射电极202可以设置在笔尖附近。主动电容笔200的第二发射电极205可以设置在第一发射电极202附近,例如,设置第二发射电极205在较远离笔尖一侧,与第一发射电极202相距1厘米左右的位置,触控设备100的SOC可以根据触摸屏组件101上第二电信号和第三电信号的接收点位置,计算主动电容笔200相对于触摸屏组件101的倾斜角度(简称倾角),从而确定显示出的笔迹形态(例如笔迹的粗细、颜色的深浅),以丰富显示出的笔锋效果。
第三电信号用于触发所述触控设备显示笔迹。SOC判断出接收到第三电信号可以采用不同的实施方式,本申请实施例提供以下几种示例性的实施方式:
(1)一种可选的实施方式为,主动电容笔200的第一发射电极202发射的第二电信号的第一频率与第二发射电极205发射的第三电信号的第二频率是不同的频率, 在触摸设备100中,预先存储有第一频率和第二频率的具体数值,例如,第一频率和第二频率可以是出厂设置,可选的,也可以在蓝牙配对过程中由主动电容笔200通知触控设备100,或者,第一频率和第二频率也可以是由触控设备100在第一电信号中设定的数值,主动电容笔200在解析第一电信号之后确定触控设备100配置的第一频率和第二频率的具体数值,本申请实施例对此不作限制。触摸屏组件101在检测出接收到电信号之后,能够检测电信号的频率,如图4所示,电信号的频率f=1/t。在触摸设备100的SOC确定触摸屏组件101接收到的电信号的频率为预先协议的用于触发显示笔迹的第二频率时,也即,触控设备100确定接收到第三电信号,则触控设备100的SOC控制触摸屏组件101显示主动电容笔200的笔迹。这是由于主动电容笔200被配置为在接触到物体之后发射第三电信号,因此,在触控设备100的SOC确定接收到第三电信号的情况下,主动电容笔200的笔尖已经接触到物体,需要显示笔迹,进而由SOC控制触摸屏组件101显示主动电容笔200的笔迹。可选的,上述数据帧还可以用于配置第二电信号的频率和第三电信号的频率,主动电容笔200根据数据帧的协议来分别配置第二电信号和第三电信号的频率。
(2)另一种可选的实施方式为,主动电容笔200的第一发射电极202和第二发射电极205相距预设距离,例如,1cm。相应的,触摸设备100的SOC在确定触摸屏组件101检测到同时接收到两个电信号,且两个电信号的接收点距离小于预设距离时,确定接收到第三电信号。这是由于第二电信号是在主动电容笔200的接收电极201可以检测到触摸屏组件101发射的第一电信号之后发射的,第三电信号是在检测出笔尖接触到物体的情况下发射的,因此,在用户落笔到触摸屏组件101上的情况下,触摸屏组件101可以同时检测到第二电信号和第三电信号。为了防止触摸屏组件101上接收的其它干扰电信号(如手掌)的影响,需要判断两个电信号的距离是否小于预设距离,如果小于预设距离,则确定接收到的两个电信号为第二电信号和第三电信号。
(3)另一种可选的实施方式为,在SOC检测到两个电信号之后,如果两个电信号的频率差值高于预设数值,则确定需要显示主动电容笔200的笔迹。由于触摸屏组件101在检测到电信号之后可以确定电信号的频率,因此,本实施方式相当于实施方式(1)的变形,在此不再赘述。
310、触摸屏组件101根据SOC的控制显示笔迹,展示出主动电容笔200出水的效果。
在SOC确定笔迹显示形态和位置之后,控制触摸屏组件101在对应位置显示对应形态的笔迹。
本申请实施例提供的笔迹显示方法,通过主动电容笔在确定接收到触控设备发送的第一电信号之后发射电信号,在主动电容笔的压力传感器感应到接触到触摸屏组件之后再次发射电信号,触摸屏组件接收到两次电信号之后,触发显示笔迹,可以缩短笔迹出水显示的响应时间。相对于已有技术的一些触发显示笔迹的实施方式,例如,在主动电容笔接收到触摸屏组件发射的信号之后,通过主动电容笔的微控制单元控制蓝牙模块与触控设备交互信息,以使得触控设备控制触摸屏组件显示笔迹,本申请实施例提供的笔迹显示方法不需要主动电容笔使用蓝牙模块向触控设备通知已接触到触 摸屏组件,触摸屏组件的传感器对电信号的响应时间要少于蓝牙模块接收信号的响应时间,因此,本申请是实施例提供的笔迹显示方法可以降低笔迹显示出水的延迟,提高笔迹显示出水的灵敏度,提高了用户体验。经实验,相对于上述例举的通过蓝牙模块的交互使触摸屏组件出水的方法,本申请实施例提供的笔迹显示方法的出水响应时间可以缩短30~40ms。
实施例2
在另一种可选的应用场景中,上述的主动电容笔200的发射电极仅包括一个发射电极,如图5所示,主动电容笔200仅包括一个发射电极202,该场景中主动电容笔200其余部件的配置、以及触控设备100的配置可以与图1所示的场景相同,在此不再赘述。本申请实施例提供的笔迹显示方法应用在如图5所示的应用场景中时,执行步骤与图1所示的场景中的执行步骤相似,区别在于步骤304、步骤307和步骤309的具体执行方式不同,具体而言,在主动电容笔200仅包括第一发射电极202的情况下,如图6所示,本申请实施例提供的笔迹显示方法将上述步骤304、步骤307和步骤309分别替换为如下步骤311~313:
311、MCU204控制第一发射电极202发射第一频率的第二电信号。
MCU204在确定第一电信号是触控设备100发射的电信号之后,控制第一发射电极202发射第一频率的第二电信号。
312、MCU204控制第一发射电极202发射第二频率的第三电信号。
在MCU204确定主动电容笔200的笔尖接触到触摸屏组件101之后,MCU204可以改变第一发射电极202发射电信号的频率,由第一频率改为第二频率,也即,相当于控制第一发射电极202发射与第二电信号频率不同的第三电信号,其中,第二电信号频率为第一频率,第三电信号频率为第二频率。
313、SOC确定接收到的电信号频率为第二频率,则控制触摸屏组件101显示笔迹。
在SOC确定接收到第二频率的电信号之后,确定接收到第三电信号。可选的,该步骤也可以替换为SOC在判断出电信号的频率变化超过预设数值之后,控制触摸屏组件101显示笔迹。
需要说明的是,在实施例2中未详述的部分,可以参考上述实施例1中对应部分的描述内容,在此不再赘述。
本申请实施例提供的笔迹显示方法,通过改变发射电极发射的电信号的频率,通知触控设备主动电容笔已经接触到触摸屏,以使得触控设备开始显示笔迹,无需调用蓝牙模块等通信模块,可以缩短触控设备确定开始显示笔迹的触发响应时间。本申请实施例可以应用于主动电容笔仅包括一个发射电极的触控系统中,可以减少主动电容笔的制作成本,可以适用于更多的应用场景,提高了本申请实施例提供的笔迹显示方法的适用范围。
实施例3
在另一种可选的应用场景中,上述的主动电容笔200的发射电极仅包括一个发射 电极,如图5所示,主动电容笔200仅包括一个发射电极202,该场景中主动电容笔200其余部件的配置、以及触控设备100的配置可以与图1所示的场景相同,在此不再赘述。本申请实施例提供的笔迹显示方法应用在如图5所示的应用场景中时,执行步骤与图1所示的场景中的执行步骤相似,区别在于步骤307和步骤309的具体执行方式不同,具体而言,在主动电容笔200仅包括第一发射电极202的情况下,如图7所示,本申请实施例提供的笔迹显示方法将上述步骤307和步骤309分别替换为如下步骤314~和步骤315:
314、主动电容笔200的MCU204控制主动电容笔200的第一发射电极202停止发射第二电信号,在计时达到预设时长之后发射第三电信号,其中,第三电信号的频率与第二电信号的频率可以是相同的,在频率相同的情况下,相当于第一发射电极202在中断预设时长之后再次发射第二电信号。
MCU204在确定第一电信号是触控设备100发射的电信号之后,控制第一发射电极202发射第二电信号,例如,在确定第一电信号是触控设备100发射的电信号之后,控制第一发射电极202开始发射第二电信号。可选的,第二电信号可以是保持稳定的电平信号;可选的,也可以是如图4所示的电平按周期高低变化的频率信号,第二电信号的频率f=1/t,t为如图4所示的一个信号周期。可选的,第二电信号的频率可以是由MCU204控制的,例如,MCU204可以通过控制第一发射电极202的驱动电路的开启和关断的频率来控制第二电信号的频率。需要说明的是,第二电信号是单频信号,不携带信息,不携带有要传输的数据,第二电信号的频率可以配置在100KHZ~400KHZ之间的一个较窄的波段频率内,例如,150KHZ~150.5KHZ。
315、SOC确定触摸屏组件101接收到的电信号中断的时间间隔小于或等于预设时长,则控制触摸屏组件101显示笔迹。
如果SOC确定在电信号停止之后直至再次接收到电信号的时间间隔小于预设时长,则确定需要显示笔迹。SOC无需根据电信号的频率进行判断,仅需要在电信号停止之后开始计时,如果在预设时长之后未再次接收到电信号,则无需显示笔迹,如果在预设时长之内再次接收到电信号,则显示笔迹。因此,在本申请实施例中,主动电容笔200的第一发射电极202发射的电信号可以被配置为一个保持平稳的电信号。
需要说明的是,在实施例3中未详述的部分,可以参考上述实施例1中对应部分的描述内容,在此不再赘述。
本申请实施例提供的笔迹显示方法,在主动电容笔靠近触控设备之后,控制发射电极持续的发射电信号,在主动电容笔的笔尖接触到触摸屏组件之后,控制发射电极中断很短的时间(如5ms),在中断预设时长之后再次发射电信号,以通知触控设备开始显示笔迹,无需调用蓝牙模块等通信模块,可以缩短触控设备确定开始显示笔迹的触发响应时间。本申请实施例可以应用于主动电容笔仅包括一个发射电极、且无法更改发射电极发射电信号的频率的触控系统中,可以减少主动电容笔的制作成本,可以适用于更多的应用场景,提高了本申请实施例提供的笔迹显示方法的适用范围。
实施例4
如图8所示,本申请实施例公开了一种主动电容笔,主动电容笔包括:接收电极401,被配置为检测电信号;压力传感器402,被配置为检测主动电容笔的笔尖压力;第一发射电极403,被配置为发射电信号;第二发射电极404,被配置为发射电信号;一个或多个处理器405;存储器406;其中,上述各器件可以通过一个或多个通信总线408连接;主动电容笔还包括:以及一个或多个计算机程序407,其中一个或多个计算机程序407被存储在存储器406中,示例性的,上述主动电容笔具体可以为图1中的主动电容笔200,上述接收电极401具体可以为图1所示的接收电极201,上述第一发射电极403具体可以为图1所示的第一发射电极202,上述第二发射电极404具体可以为图1所示的第二发射电极205,上述处理器405具体可以为图1所示的微处理单元204,本申请实施例对此不做任何限制。
其中,一个或多个计算机程序407包括指令,当指令被主动电容笔执行时,使得主动电容笔执行上述实施例1中主动电容笔200执行的各个步骤,具体可以包括以下步骤:
步骤1,在确定接收电极检测到的电信号是触控设备的触摸屏组件发射的调制电信号之后,控制第一发射电极发射第一频率的第一电信号;
步骤2,在根据笔尖压力,确定主动电容笔的笔尖接触到物体之后,控制第二发射电极发射第二频率的第二电信号。
在一种可能的实现方式中,当指令被主动电容笔执行时,使得主动电容笔执行以下步骤:以第一时长为周期检测第一电信号是否为调制电信号;在确定第一电信号为调制电信号的情况下,控制第一电信号持续发射第二时长。
在一种可能的实现方式中,当指令被主动电容笔执行时,使得主动电容笔执行以下步骤:以第三时长为周期确定笔尖是否接触到物体;在确定笔尖接触到物体之后,控制第三电信号持续发射第四时长。
在一种可能的实现方式中,当指令被主动电容笔执行时,使得主动电容笔执行以下步骤:在确定接收电极接收到的电信号是调制电信号之后,获取压力传感器检测的笔尖压力。
在一种可能的实现方式中,主动电容笔还包括:第一驱动电路,被配置为受处理器控制开启或关断,在第一驱动电路开启时,第一驱动电路为第一发射电极提供电源,其中,处理器被配置为通过控制第一驱动电路开启和关断,以使第一发射电极以第一频率发射电信号;第二驱动电路,被配置为受处理器控制开启或关断,在第二驱动电路开启时,第二驱动电路为第二发射电极提供电源,其中,处理器被配置为通过控制第二驱动电路开启和关断,以使第二发射电极以第二频率发射电信号。
在一种可能的实现方式中,主动电容笔还包括短距无线通信模块。
可选的,在一种可能的实现方式中,本申请实施例的主动电容笔可以不包括第二发射电极404,在该实现方式中,主动电容笔的一个或多个计算机程序507所包括的指令在被主动电容笔执行时,使得主动电容笔执行上述实施例2中主动电容笔200执行的各个步骤,具体可以包括以下步骤:
步骤1,在确定所述接收电极接收到的电信号是触控设备的触摸屏组件发射的调 制电信号之后,控制所述发射电极以第一频率发射电信号;
步骤2,在根据所述笔尖压力确定所述主动电容笔的笔尖接触到物体之后,控制所述发射电极发射电信号的频率由所述第一频率切换为第二频率。
可选的,在上述仅包括一个发射电极的实现方式中,主动电容笔的一个或多个计算机程序507所包括的指令还可以使得主动电容笔执行上述实施例3的各个步骤,具体可以包括以下步骤:
步骤1,在确定所述接收电极接收到的电信号是触控设备的触摸屏组件发射的调制电信号之后,控制所述发射电极发射电信号;
步骤2,在根据所述笔尖压力确定所述主动电容笔的笔尖接触到物体之后,控制所述发射电极在中断预设时长之后,继续发射所述电信号。
实施例5
如图9所示,本申请实施例公开了一种触控设备,触控设备包括:触摸屏组件701,被配置为检测电信号和发射调制电信号;一个或多个处理器702;存储器703;以及一个或多个计算机程序704,上述各器件可以通过一个或多个通信总线705连接。示例性的,上述触控设备具体可以为图1中的触控设备100,上述触摸屏组件701具体可以为图1所示的触摸屏组件101,上述处理器702、存储器703具体可以设置在实施例1中触控设备100的SOC上,本申请实施例对此不做任何限制。
其中一个或多个计算机程序704被存储在存储器703中,一个或多个计算机程序704包括指令,上述指令可以用于执行上述实施例1中触控设备101执行的各个步骤,具体而言,当指令被触控设备执行时,使得触控设备执行以下步骤:
步骤1,控制触摸屏组件发射调制电信号;
步骤2,确定触摸屏组件检测到电信号;
步骤3,获取触摸屏组件检测到的电信号的频率;
步骤4,确定触摸屏组件检测到第一频率的第一电信号,其中,第一频率为主动电容笔在检测出笔尖接触到物体之后发射的电信号的频率;
步骤5,控制触摸屏组件根据触摸屏组件检测到的电信号显示笔迹。
在一种可能的实现方式中,当指令被触控设备执行时,使得触控设备执行以下步骤:确定触摸屏组件在检测到第二频率的第二电信号之后,检测到第一电信号,其中,第二电信号为主动电容笔在检测到调制电信号之后发射的电信号,第一电信号为主动电容笔在检测到笔尖接触到物体之后发射的电信号。
在一种可能的实现方式中,第一电信号为主动电容笔的第一发射电极发射的电信号,第二电信号为主动电容笔的第二发射电极发射的电信号,当指令被触控设备执行时,使得触控设备执行以下步骤:根据第二电信号在触摸屏组件上的接收点位置,确定笔迹的显示位置;控制触摸屏组件在显示位置显示笔迹。
在一种可能的实现方式中,当指令被触控设备执行时,使得触控设备执行以下步骤:根据第一电信号在触摸屏组件上的接收点位置,调整显示位置,和/或,根据第一电信号在触摸屏组件上的接收点位置和第二电信号在触摸屏组件上的接收点位置调 整笔迹的显示效果;控制触摸屏组件显示调整后的笔迹。
可选的,在一种可选的实施方式中,一个或多个计算机程序704所包括的指令可以用于执行上述实施例2中触控设备101执行的各个步骤,具体而言,当指令被触控设备执行时,使得触控设备执行以下步骤:
步骤1,控制触控设备的触摸屏组件发射调制电信号;
步骤2,确定触摸屏组件检测到电信号;
步骤3,对触摸屏组件检测到的电信号的中断时长计时;
步骤4,在中断时长小于或等于预设时长的情况下,控制触摸屏组件根据触摸屏组件检测到的电信号显示笔迹,其中,电信号为主动电容笔在检测出调制电信号之后控制发射电极持续发射的电信号,预设时长被配置为大于或等于主动电容笔在检测出笔尖接触到物体之后中断发射电信号的时长。
可选的,在一种可选的实施方式中,一个或多个计算机程序704所包括的指令可以用于执行上述实施例3中触控设备101执行的各个步骤,具体而言,当指令被触控设备执行时,使得触控设备执行以下步骤:
步骤1,控制触控设备的触摸屏组件发射调制电信号;
步骤2,确定触摸屏组件上同时检测到第一电信号和第二电信号,且第一电信号和第二电信号在触摸屏组件上的距离小于预设距离,其中,第一电信号为主动电容笔在检测到调制电信号之后控制主动电容笔的第一发射电极发射的电信号,第二电信号为主动电容笔在检测出笔尖接触到物体之后控制主动电容笔的第二发射电极发射的电信号,预设距离为第一发射电极和第二发射电极的距离;
步骤3,控制触摸屏组件根据第一电信号和第二电信号显示笔迹。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序 代码的介质。
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。

Claims (21)

  1. 一种用于触发显示笔迹的信号发射方法,其特征在于,所述方法由主动电容笔执行,所述主动电容笔包括接收电极、至少一个发射电极和压力传感器,所述方法包括:
    获取所述接收电极检测到的第一电信号;
    解析所述第一电信号,确定所述第一电信号为触控设备发射的调制电信号;
    根据解析结果,控制所述发射电极发射第二电信号;
    获取所述压力传感器检测的所述主动电容笔的笔尖压力;
    当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极发射第三电信号,其中,所述第三电信号用于触发所述触控设备显示笔迹,所述第二电信号用于使所述触控设备确定所述笔迹所在位置。
  2. 根据权利要求1所述的方法,其特征在于,所述发射电极包括第一发射电极和第二发射电极,所述第二电信号为所述第一发射电极发射的第一频率的电信号,所述第三电信号为所述第二发射电极发射的第二频率的电信号。
  3. 根据权利要求1所述的方法,其特征在于,所述第二电信号和所述第三电信号为所述主动电容笔的同一个发射电极发射的电信号,所述第二电信号为第一频率的电信号,所述第三电信号为第二频率的电信号,所述当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极发射第三电信号,包括:
    当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极发射电信号的频率由所述第一频率切换为所述第二频率。
  4. 根据权利要求1所述的方法,其特征在于,所述第二电信号和所述第三电信号为所述主动电容笔的同一个发射电极发射的电信号,
    所述根据解析结果,控制发射电极发射第二电信号,包括:根据所述解析结果,控制所述发射电极持续的发射所述第二电信号;
    所述当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极发射第三电信号,包括:当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极停止发射所述第二电信号;当停止时长达到预设时长,控制所述发射电极发射所述第三电信号。
  5. 根据权利要求4所述的方法,其特征在于,所述第二电信号和所述第三电信号为参数相同的电信号。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,
    所述获取接收电极检测到的第一电信号,包括:以第一时长为周期获取所述接收电极检测到的第一电信号;
    所述根据解析结果,控制所述发射电极发射第二电信号,包括:针对所述第一电信号的当前检测周期的所述解析结果,控制所述发射电极持续发射第二时长的所述第二电信号。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,
    所述获取所述压力传感器检测的所述主动电容笔的笔尖压力,包括:以第三时长为周期获取所述压力传感器检测的所述主动电容笔的笔尖压力;
    当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极发射第三电信号,包括:针对所述笔尖压力的当前检测周期,当所述笔尖压力满足所述主动电容笔的笔尖接触到物体的预设条件,控制所述发射电极持续发射第四时长的所述第三电信号。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述解析所述第一电信号,确定所述第一电信号为触控设备发射的调制电信号,包括:
    以所述调制电信号对应的预设解调方法解析所述第一电信号,得到所述第一电信号中的验证信息;
    根据所述验证信息确定所述第一电信号为所述触控设备发射的所述调制电信号。
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述获取所述压力传感器检测的所述主动电容笔的笔尖压力的步骤,当确定所述第一电信号为触控设备发射的调制电信号时执行。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述预设条件为所述笔尖压力的变化超过预设阈值。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述主动电容笔还包括短距无线通信模块,在获取所述接收电极检测到的第一电信号之前,所述方法还包括:
    使用所述短距无线通信模块与所述触控设备配对。
  12. 一种笔迹显示方法,其特征在于,所述方法由触控设备执行,所述方法包括:
    控制所述触控设备的触摸屏组件发射调制电信号;
    确定所述触摸屏组件检测到电信号;
    获取所述检测到的电信号的频率;
    确定所述检测到的电信号的频率是预先协议的用于确定笔迹所在位置的电信号的频率;
    确定所述触摸屏组件检测到另一个电信号;
    获取检测到的所述另一个电信号的频率;
    确定所述另一个电信号的频率是预先协议的用于触发显示笔迹的电信号的频率;
    控制所述触摸屏组件开始显示笔迹,其中,所述笔迹所在位置至少根据所述检测到的电信号确定。
  13. 一种笔迹显示方法,其特征在于,所述方法由触控设备执行,所述方法包括:
    控制所述触控设备的触摸屏组件发射调制电信号;
    确定所述触摸屏组件上感应到同时存在两个电信号,且所述两个电信号在所述触摸屏组件上的距离小于预设距离;
    控制所述触摸屏组件开始显示笔迹,其中,所述笔迹所在位置至少根据所述两个电信号中先接收到的电信号确定。
  14. 一种笔迹显示方法,其特征在于,所述方法由触控设备执行,所述方法包括:
    控制所述触控设备的触摸屏组件发射调制电信号;
    确定所述触摸屏组件检测到电信号;
    当确定所述电信号停止,开始计时;
    在计时时长未超过预设时长时,确定所述触摸屏组件再次检测到所述电信号;
    控制所述触摸屏组件开始显示笔迹,其中,所述笔迹所在位置根据所述电信号确定。
  15. 一种主动电容笔,其特征在于,所述主动电容笔包括:接收电极,被配置为检测电信号;压力传感器,被配置为检测所述主动电容笔的笔尖压力;至少一个发射电极,被配置为发射电信号;一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述主动电容笔执行时,使得所述主动电容笔执行权利要求1至11任一项所述的用于触发显示笔迹的信号发射方法。
  16. 一种触控设备,其特征在于,所述触控设备包括:触摸屏组件,包括传感器和显示屏,所述传感器被配置为检测电信号和发射调制电信号;一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述触控设备执行时,使得所述触控设备执行权利要求12-14任一项所述的笔迹显示方法。
  17. 一种触控系统,所述触控系统包括权利要求15所述的主动电容笔和权利要求16所述的触控设备。
  18. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1至11中任一项所述的用于触发显示笔迹的信号发射方法。
  19. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求12至14中任一项所述的笔迹显示方法。
  20. 一种芯片,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,执行如权利要求1至11中任一项所述的用于触发显示笔迹的信号发射方法。
  21. 一种芯片,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,执行如权利要求12至14中任一项所述的用于触发显示笔迹的信号发射方法。
PCT/CN2020/135112 2020-01-03 2020-12-10 用于触发显示笔迹的信号发射方法以及笔迹显示方法 WO2021135885A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010011814.0 2020-01-03
CN202010011814.0A CN113076015B (zh) 2020-01-03 2020-01-03 用于触发显示笔迹的信号发射方法以及笔迹显示方法

Publications (1)

Publication Number Publication Date
WO2021135885A1 true WO2021135885A1 (zh) 2021-07-08

Family

ID=76608919

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/135112 WO2021135885A1 (zh) 2020-01-03 2020-12-10 用于触发显示笔迹的信号发射方法以及笔迹显示方法

Country Status (2)

Country Link
CN (1) CN113076015B (zh)
WO (1) WO2021135885A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114397970A (zh) * 2022-01-13 2022-04-26 京东方科技集团股份有限公司 一种触控笔、触控显示设备及其通信方法
CN116107469A (zh) * 2021-11-11 2023-05-12 荣耀终端有限公司 功能模式切换方法、电子设备及系统

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885719A (zh) * 2021-09-30 2022-01-04 惠州Tcl移动通信有限公司 一种电子笔的通讯方法
CN114047834A (zh) * 2022-01-13 2022-02-15 深圳市千分一智能技术有限公司 主动式电容笔的强度校准方法、电子设备及可读存储介质
CN115097962A (zh) * 2022-07-06 2022-09-23 深圳市康冠商用科技有限公司 电子设备及其具有射频信号处理功能的红外触摸框
CN117631873A (zh) * 2022-07-30 2024-03-01 荣耀终端有限公司 一种触摸数据的发送方法及触控笔

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206147550U (zh) * 2016-10-28 2017-05-03 聂莉琼 主动式电容屏压力感应触控笔
CN106843539A (zh) * 2017-01-03 2017-06-13 深圳市绘王动漫科技有限公司 无线无源手写输入系统
CN110262676A (zh) * 2019-06-06 2019-09-20 深圳市优笔触控科技有限公司 一种谐振信号调节装置、电磁笔及电磁手写屏系统
CN110471546A (zh) * 2019-08-21 2019-11-19 京东方科技集团股份有限公司 一种触控笔、触控面板、触控系统和触控方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9772697B2 (en) * 2015-01-04 2017-09-26 Microsoft Technology Licensing, Llc Touch down detection with a stylus
CN106775009A (zh) * 2016-11-29 2017-05-31 广州视源电子科技股份有限公司 一种智能书写方法与系统
CN109683733B (zh) * 2019-01-02 2021-01-26 京东方科技集团股份有限公司 触控笔、触控面板、显示装置及触控感测方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206147550U (zh) * 2016-10-28 2017-05-03 聂莉琼 主动式电容屏压力感应触控笔
CN106843539A (zh) * 2017-01-03 2017-06-13 深圳市绘王动漫科技有限公司 无线无源手写输入系统
CN110262676A (zh) * 2019-06-06 2019-09-20 深圳市优笔触控科技有限公司 一种谐振信号调节装置、电磁笔及电磁手写屏系统
CN110471546A (zh) * 2019-08-21 2019-11-19 京东方科技集团股份有限公司 一种触控笔、触控面板、触控系统和触控方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107469A (zh) * 2021-11-11 2023-05-12 荣耀终端有限公司 功能模式切换方法、电子设备及系统
CN114397970A (zh) * 2022-01-13 2022-04-26 京东方科技集团股份有限公司 一种触控笔、触控显示设备及其通信方法

Also Published As

Publication number Publication date
CN113076015A (zh) 2021-07-06
CN113076015B (zh) 2023-07-18

Similar Documents

Publication Publication Date Title
WO2021135885A1 (zh) 用于触发显示笔迹的信号发射方法以及笔迹显示方法
US9699653B2 (en) Apparatuses for authenticating a wireless connection using time related user actions
US9977519B2 (en) Active pen with bidirectional communication
CN111124158B (zh) 一种信息输入设备、终端及其控制方法、芯片
US9874949B2 (en) Stylus for a digitizer system
KR102394877B1 (ko) Rf 송수신 기능을 가지는 실제 필기 스타일러스와 터치 장치
US10564741B2 (en) Active stylus pairing with a digitizer
EP3336665B1 (en) Method for determining a target working frequency of a stylus, and a touchscreen and a stylus thereof
WO2016108216A1 (en) Active stylus communication with a digitizer
JP2011501884A (ja) 人体通信装置
CN114461129B (zh) 笔迹绘制方法、装置、电子设备和可读存储介质
WO2020107401A1 (zh) 控制屏幕开闭的方法、控制屏幕开闭的装置和电子设备
CN111164553A (zh) 触控感应方法、触控芯片、电子设备以及触控系统
US11169626B2 (en) Transmitter, touch sensitive processing apparatus and processing method thereof and electronic system
TWI731650B (zh) 觸控筆、觸控電子裝置與觸控系統
CN106940608B (zh) 一种显示屏的控制方法、显示屏及电子设备
CN115599229B (zh) 一种触控笔的控制方法和触控笔设备
CN111665962B (zh) 有源笔、有源设备以及输入设备
CN116680154A (zh) 触控笔操作的处理方法及装置
CN117950530A (zh) 电子白板擦除方法、触控显示设备、板擦设备及介质

Legal Events

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

Ref document number: 20908610

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20908610

Country of ref document: EP

Kind code of ref document: A1