CN113110763A - Touch detection method and device, chip and electronic equipment - Google Patents

Touch detection method and device, chip and electronic equipment Download PDF

Info

Publication number
CN113110763A
CN113110763A CN202110454661.1A CN202110454661A CN113110763A CN 113110763 A CN113110763 A CN 113110763A CN 202110454661 A CN202110454661 A CN 202110454661A CN 113110763 A CN113110763 A CN 113110763A
Authority
CN
China
Prior art keywords
touch
detection
active pen
instruction
event information
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110454661.1A
Other languages
Chinese (zh)
Inventor
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chipone Technology Beijing Co Ltd
Original Assignee
Chipone Technology Beijing Co Ltd
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 Chipone Technology Beijing Co Ltd filed Critical Chipone Technology Beijing Co Ltd
Priority to CN202110454661.1A priority Critical patent/CN113110763A/en
Publication of CN113110763A publication Critical patent/CN113110763A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • 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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
    • 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

Abstract

The disclosure relates to a touch detection method, a touch detection device, a chip and an electronic device, wherein the method comprises the following steps: configuring touch event information according to a transmission protocol of the paired active pens, wherein the touch event information comprises a plurality of trigger durations and a plurality of detection instructions, and each touch duration corresponds to each detection instruction one by one; and starting timing under the condition that the configuration of the touch event information is finished, sequentially comparing timing duration with each trigger duration in the touch event information, and executing a target detection instruction corresponding to the target trigger duration under the condition that the target trigger duration equal to the timing duration is matched. The embodiment of the disclosure can realize the sequential execution of each detection instruction in the touch event information of the current active pen, improve the touch detection efficiency, and can support different active pens according to the transmission protocols of different active pens, thereby improving the flexibility and the expansibility of the device.

Description

Touch detection method and device, chip and electronic equipment
Technical Field
The present disclosure relates to the field of touch technologies, and in particular, to a touch detection method, device, chip, and electronic device.
Background
The touch screen is widely applied to more and more electronic devices, a user can control the devices through fingers and can realize specific operation through an active pen, and the use range of the user is expanded. In the currently mainstream touch screen control device, a display part and a touch part are manufactured in the same chip, and in the device supporting an active pen, detection of a hand and a pen is required to be performed within the working time of touch so as to realize respective identification and control of the hand and the pen.
Disclosure of Invention
In view of this, the present disclosure provides a touch detection method applied in a display panel, the method including:
configuring touch event information according to a transmission protocol of the paired active pens, wherein the touch event information comprises a plurality of trigger durations and a plurality of detection instructions, and each touch duration corresponds to each detection instruction one by one;
and starting timing under the condition that the configuration of the touch event information is finished, sequentially comparing timing duration with each trigger duration in the touch event information, and executing a target detection instruction corresponding to the target trigger duration under the condition that the target trigger duration equal to the timing duration is matched.
In one possible implementation, the method further includes:
when detecting that the model of the paired active pen is changed, determining an update transmission protocol of the changed active pen;
and switching the transmission protocol of the changed active pen into the updating transmission protocol, and reconfiguring touch event information based on the updating transmission protocol.
In a possible implementation manner, the detection instruction includes any one or more of an active pen uplink instruction, an active pen downlink instruction, an active pen detection instruction, a touch detection instruction, and a no-operation instruction.
In one possible implementation, the method further includes: and when the timing duration reaches the trigger duration corresponding to any one of the moving pen uplink instruction, the active pen downlink instruction and the active pen detection instruction, configuring the touch module of the display panel to work in a self-capacitance mode.
In one possible implementation, the method further includes: and when the timing duration reaches the trigger duration corresponding to the touch detection instruction, configuring a touch module of the display panel to work in a mutual capacitance mode.
In one possible implementation, the execution time slots of the respective detection instructions are separated by respective display time slots of the display panel.
In one possible implementation manner, the display panel includes any one of a liquid crystal display panel, an organic light emitting diode display panel, a quantum dot light emitting diode display panel, a mini light emitting diode display panel, and a micro light emitting diode display panel.
According to an aspect of the present disclosure, there is provided a touch detection device applied to a display panel, the device including:
a configuration module to: configuring touch event information according to a transmission protocol of the paired active pens, wherein the touch event information comprises a plurality of trigger durations and a plurality of detection instructions, and each touch duration corresponds to each detection instruction one by one;
the execution module is connected to the configuration module and is used for: and starting timing under the condition that the configuration of the touch event information is finished, sequentially comparing timing duration with each trigger duration in the touch event information, and executing a target detection instruction corresponding to the target trigger duration under the condition that the target trigger duration equal to the timing duration is matched.
In one possible implementation, the apparatus further includes:
the determining module is used for determining the update transmission protocol of the changed active pen when the model change of the paired active pen is detected;
and the updating module is connected with the determining module and used for switching the changed transmission protocol of the active pen into the updating transmission protocol and reconfiguring the touch event information based on the updating transmission protocol.
In a possible implementation manner, the detection instruction includes any one or more of an active pen uplink instruction, an active pen downlink instruction, an active pen detection instruction, a touch detection instruction, and a no-operation instruction.
In one possible implementation manner, the execution module is further configured to: and when the timing duration reaches the trigger duration corresponding to any one of the moving pen uplink instruction, the active pen downlink instruction and the active pen detection instruction, configuring the touch module of the display panel to work in a self-capacitance mode.
In one possible implementation manner, the execution module is further configured to: and when the timing duration reaches the trigger duration corresponding to the touch detection instruction, configuring a touch module of the display panel to work in a mutual capacitance mode.
In one possible implementation, the execution time slots of the respective detection instructions are separated by respective display time slots of the display panel.
In one possible implementation manner, the display panel includes any one of a liquid crystal display panel, an organic light emitting diode display panel, a quantum dot light emitting diode display panel, a mini light emitting diode display panel, and a micro light emitting diode display panel.
According to an aspect of the present disclosure, a chip is provided, and the chip includes the touch detection device.
According to an aspect of the present disclosure, there is provided an electronic device including the chip.
In one possible implementation, the electronic device includes a display, a smartphone, or a portable device.
The touch event information is configured according to a transmission protocol of the paired active pens, the touch event information comprises a plurality of trigger durations and a plurality of detection instructions, timing is started under the condition that the configuration of the touch event information is completed, the timing durations are sequentially compared with all the trigger durations in the touch event information, and the target detection instructions corresponding to the target trigger durations are executed under the condition that the target trigger durations equal to the timing durations are matched, so that the sequential execution of all the detection instructions in the touch event information of the current active pen can be realized, the touch detection efficiency is improved, in addition, different active pens can be supported according to the transmission protocol of different active pens, and the flexibility and the expansibility of the device are improved.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flowchart of a touch detection method according to an embodiment of the present disclosure.
Fig. 2 shows a flowchart of a touch detection method according to an embodiment of the present disclosure.
Fig. 3 shows a schematic diagram of a touch detection method according to an embodiment of the present disclosure.
Fig. 4 shows a schematic diagram of a touch display time slot according to an embodiment of the present disclosure.
Fig. 5 shows a block diagram of a touch detection device according to an embodiment of the present disclosure.
Fig. 6 shows a schematic diagram of a touch detection device according to an embodiment of the present disclosure.
Fig. 7 shows a block diagram of a touch detection device according to an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
In the description of the present disclosure, it is to be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like, as used herein, refer to an orientation or positional relationship indicated in the drawings, which is solely for the purpose of facilitating the description and simplifying the description, and does not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and, therefore, should not be taken as limiting the present disclosure.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present disclosure, "a plurality" means two or more unless specifically limited otherwise.
In the present disclosure, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integral; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present disclosure can be understood by those of ordinary skill in the art as appropriate.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Referring to fig. 1, fig. 1 shows a flowchart of a touch detection method according to an embodiment of the disclosure.
The method is applied to a display panel, and as shown in FIG. 1, the method comprises the following steps:
step S11, configuring touch event information according to a transmission protocol of the paired active pens, wherein the touch event information comprises a plurality of trigger durations and a plurality of detection instructions, and each touch duration corresponds to each detection instruction one by one;
step S12, when the configuration of the touch event information is completed, timing is started, timing duration is sequentially compared with each trigger duration in the touch event information, and when a target trigger duration equal to the timing duration is matched, a target detection instruction corresponding to the target trigger duration is executed.
The touch event information is configured according to a transmission protocol of the paired active pens, the touch event information comprises a plurality of trigger durations and a plurality of detection instructions, timing is started under the condition that the configuration of the touch event information is completed, the timing durations are sequentially compared with all the trigger durations in the touch event information, and the target detection instructions corresponding to the target trigger durations are executed under the condition that the target trigger durations equal to the timing durations are matched, so that the sequential execution of all the detection instructions in the touch event information of the current active pen can be realized, the touch detection efficiency is improved, in addition, different active pens can be supported according to the transmission protocol of different active pens, and the flexibility and the expansibility of the device are improved.
In a possible implementation manner, the display panel is a display panel with a touch function, and the display panel includes any one of a liquid crystal display panel, an organic light emitting diode display panel, a quantum dot light emitting diode display panel, a mini light emitting diode display panel, and a micro light emitting diode display panel.
In a possible embodiment, the method can also be applied to a Terminal including the display panel, which is also called a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), and the like, and is a device that provides voice and/or data connectivity to a User, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and the like. Currently, some examples of terminals are: a Mobile Phone (Mobile Phone), a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in Industrial Control (Industrial Control), a wireless terminal in unmanned driving (self driving), a wireless terminal in Remote Surgery (Remote medical Surgery), a wireless terminal in Smart Grid, a wireless terminal in Transportation Safety, a wireless terminal in Smart City (Smart City), a wireless terminal in Smart Home (Smart Home), a wireless terminal in car networking, and the like.
In one example, the transmission protocol of the active pen may include an uplink transmission protocol for uplink data and a downlink transmission protocol for downlink data.
In one example, the uplink transmission protocol may include a prefix field, an uplink command field, and a check field, where the prefix field may be used to carry a Pseudo Random Noise code (PRN code), and the PRN code may be a discrete symbol string having a period and values of 0 and 1, and has an autocorrelation function similar to white Noise, and through the PRN code, parameter adjustment of the active pen may be performed or other functions may be implemented; the uplink command field may be used to carry the uplink command sent by the display panel to the active pen, and the check field may include one or more check bits carrying a check code for checking.
In one example, the downlink transmission protocol may include a downlink information field and a pressure information field, the downlink information field may carry downlink information transmitted by the active pen to the display panel, and the pressure information field may carry pressure information of the active pen and a touch area of the display panel.
Of course, the above description of the transmission protocol is exemplary, the transmission protocol is often different for active pens of different manufacturers, the type of the active pen and the transmission protocol corresponding to the active pen are not limited in the embodiment of the present disclosure, and the embodiment of the present disclosure may support various transmission protocols.
In one example, the active pen includes a component capable of absorbing and converting current, and operates by changing the current through contact with the display panel, and in one example, the active pen may send out a signal with a certain frequency or receive a signal with a certain frequency to establish a connection relationship with the display panel, and for different types of active pens, the active pen is adapted to different transmission protocols, and has corresponding frequency and other parameters, and the embodiment of the disclosure is not limited thereto.
In one possible implementation manner, the detection instruction may include any one or more of an active pen uplink instruction, an active pen downlink instruction, an active pen detection instruction, a touch detection instruction, a no-operation instruction, and the like.
In one example, the active pen stroke instructions may include a start instruction for the display panel to send a signal to the active pen, and the display panel may send a signal to the active pen when the active pen stroke instructions are executed.
In one example, the active pen down command may include an activation command in which the display panel receives a signal from the active pen, and when the active pen down command is executed, the active pen sends the signal and the display panel receives the signal from the active pen.
In one example, the active pen detection instructions may include initiation instructions to perform active pen detection, the display panel initiating detection of the active pen when the active pen detection instructions are executed.
In one example, the touch detection instructions may include start instructions to perform touch detection, and when the touch detection instructions are executed, the display panel starts touch detection (e.g., finger touch, etc.).
In one example, the touch detection instructions may include no-op instructions, which may not perform any operations, or loop instructions to implement latency.
Of course, the above description of the detection instruction is exemplary, and should not be considered as a limitation to the embodiment of the present disclosure, and the embodiment of the present disclosure does not limit the specific detection instruction in the touch event information and the specific time length of the trigger time length corresponding to each detection instruction, and a person skilled in the art may determine the detection instruction according to the transmission protocol of different active pens and set the detection instruction according to needs; the shorter the trigger time, the earlier it is executed.
Referring to fig. 2, fig. 2 is a flowchart illustrating a touch detection method according to an embodiment of the disclosure.
In one possible implementation, as shown in fig. 2, the method may further include:
step S21, when detecting the type change of the paired active pen, determining the update transmission protocol of the changed active pen;
step S22, switching the changed transmission protocol of the active pen to the updated transmission protocol, and reconfiguring touch event information based on the updated transmission protocol.
Through the method, the embodiment of the disclosure can determine the updated transmission protocol of the changed active pen when the type change of the paired active pen is detected, switch the changed transmission protocol of the active pen into the updated transmission protocol, and reconfigure the touch event information based on the updated transmission protocol, so as to support other types of active pens, thereby improving the flexibility and the expandability.
In one example, the active pen may be paired by Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies, and when the pairing is completed, the display panel may detect the model of the active pen (e.g., by unique identification information, version information, or other information of the active pen), and when the active pen changes, the update transmission protocol may be obtained from the storage module or the network.
For example, the display panel may actively acquire and store in the storage module various transmission protocols of the active pen each time a firmware update, a system update, or networking is performed. In one example, a memory module may include a computer-readable storage medium, which may be a tangible device that may hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a programmable read-only memory (PROM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
In one example, the display panel may communicate by wired or wireless means to obtain the protocol on the server or external memory. The display panel may have access to a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
In an example, the user may also update the touch event information as needed, for example, in a case that the active pen is not changed, the user may reconfigure the touch event information as needed, such as increasing a detection instruction, changing an order of the detection instruction, and the like, and the user may configure the touch event information through a configuration interface, which is not limited in the embodiment of the present disclosure.
In one possible implementation, the method may further include:
and when the timing duration reaches the trigger duration corresponding to any one of the moving pen uplink instruction, the active pen downlink instruction and the active pen detection instruction, configuring the touch module of the display panel to work in a self-capacitance mode.
In one example, the display panel may include a touch module, and the touch module may include a touch chip, and when the timing duration is used for triggering the active pen related command, the touch module may be operated in a self-capacitance mode according to an embodiment of the present disclosure, for example, both the sensing electrode and the driving electrode in the touch module may be connected to the sensing unit.
In one example, when performing active pen detection, the active pen may output a signal to a touch module of the display panel, and the display panel may receive a sensing signal to obtain touch related information of the active pen, such as pressure information, frequency information, and the like, and may determine whether active pen contact occurs according to the touch related information.
In one possible implementation, the method may further include:
and when the timing duration reaches the trigger duration corresponding to the touch detection instruction, configuring a touch module of the display panel to work in a mutual capacitance mode.
In one example, the display panel touched by a hand or the like and the active pen and the display panel interact to have different working modes, when active pen detection is performed, the touch module may be set to be in a self-capacitance mode in the embodiment of the present disclosure, and when touch detection is performed, the touch module may be set to be in a mutual capacitance mode in the embodiment of the present disclosure.
In one example, when touch detection is performed, a driving signal may be applied to the driving electrode by the driving unit, and a sensing signal is collected from the sensing electrode by the sensing unit, so that when a human body (e.g., a finger) touches the display panel, capacitance between the driving electrode and the sensing electrode changes, and the display panel may detect a position touched by the human body accordingly.
Of course, the above description of the mode configuration of the touch module of the display panel during active pen detection and touch detection is exemplary and should not be considered as a limitation to the embodiments of the present disclosure, and in other embodiments, a person skilled in the art may set the mode according to actual situations.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a touch detection method according to an embodiment of the disclosure.
In an example, as shown in fig. 3, when the configuration of the touch event information is completed and timing is started, the embodiment of the present disclosure may read the touch event information to obtain a trigger duration and a detection instruction therein, and continuously compare the timing duration with the trigger duration, and when the trigger duration corresponding to the detection execution is reached, execute the corresponding detection instruction, otherwise, continue to compare until a certain trigger duration is reached. For example, when the timing duration reaches the trigger duration corresponding to the no-operation instruction, the no-operation is executed, and if the trigger duration of the no-operation instruction is not reached and the trigger duration corresponding to the pen uplink operation instruction is reached, a pen uplink start signal is generated and the pen uplink operation is executed.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a touch display time slot according to an embodiment of the disclosure.
In one possible implementation, as shown in fig. 4, the execution time slots of the respective detection instructions are separated by respective display time slots of the display panel.
In one example, as shown in fig. 4, the pen up operation may be performed first, and when the timing duration reaches the trigger duration t0, the active pen up command is executed in the pen up time slot.
In one example, as shown in fig. 4, the pen-up time slot and the execution time slots of other detection instructions are separated by the display time slot, so that the embodiments of the present disclosure can avoid the mutual influence of the execution of the detection instructions, thereby improving the accuracy of touch detection.
Referring to fig. 5, fig. 5 is a block diagram of a touch detection device according to an embodiment of the disclosure.
The apparatus may be applied to a display panel, as shown in fig. 5, and includes:
a configuration module 10 for: configuring touch event information according to a transmission protocol of the paired active pens, wherein the touch event information comprises a plurality of trigger durations and a plurality of detection instructions, and each touch duration corresponds to each detection instruction one by one;
an execution module 20, connected to the arrangement 10, for: and starting timing under the condition that the configuration of the touch event information is finished, sequentially comparing timing duration with each trigger duration in the touch event information, and executing a target detection instruction corresponding to the target trigger duration under the condition that the target trigger duration equal to the timing duration is matched.
The touch event information is configured according to a transmission protocol of the paired active pens, the touch event information comprises a plurality of trigger durations and a plurality of detection instructions, timing is started under the condition that the configuration of the touch event information is completed, the timing durations are sequentially compared with all the trigger durations in the touch event information, and the target detection instructions corresponding to the target trigger durations are executed under the condition that the target trigger durations equal to the timing durations are matched, so that the sequential execution of all the detection instructions in the touch event information of the current active pen can be realized, the touch detection efficiency is improved, in addition, different active pens can be supported according to the transmission protocol of different active pens, and the flexibility and the expansibility of the device are improved.
In one example, a configuration module may include processing components including, but not limited to, a single processor, or discrete components, or a combination of a processor and discrete components. The processor may comprise a controller having functionality to execute instructions in an electronic device, which may be implemented in any suitable manner, e.g., by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components. Within the processor, the executable instructions may be executed by hardware circuits such as logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, and embedded microcontrollers.
In one example, when the display panel is powered on or the display panel is paired with an active pen, the configuration module may configure the touch event information according to a transmission protocol of the paired active pen.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating a touch detection device according to an embodiment of the disclosure.
In one possible implementation, as shown in fig. 6, the apparatus may further include:
a determining module 30, configured to determine, when a model change of a paired active pen is detected, an update transmission protocol of the changed active pen;
and an updating module 40, connected to the determining module 30, configured to switch the transmission protocol of the changed active pen to the updated transmission protocol, and reconfigure the touch event information based on the updated transmission protocol.
In a possible implementation manner, the detection instruction includes any one or more of an active pen uplink instruction, an active pen downlink instruction, an active pen detection instruction, a touch detection instruction, and a no-operation instruction.
In one possible implementation manner, the execution module is further configured to: and when the timing duration reaches the trigger duration corresponding to any one of the moving pen uplink instruction, the active pen downlink instruction and the active pen detection instruction, configuring the touch module of the display panel to work in a self-capacitance mode.
In one possible implementation manner, the execution module is further configured to: and when the timing duration reaches the trigger duration corresponding to the touch detection instruction, configuring a touch module of the display panel to work in a mutual capacitance mode.
In one possible implementation, the execution time slots of the respective detection instructions are separated by respective display time slots of the display panel.
In one possible implementation, as shown in fig. 6, the execution module 20 may include a first execution unit 210 and a second execution unit 220, the first execution unit 210 may implement functions of timing, reading touch event information, and comparing the timing duration with the starting duration, and the second execution unit 220 may execute each detection instruction to implement touch detection.
In one example, the first execution unit 210 may include a timing unit 2110, a comparison and analysis unit 2120, and a reading unit 2130, and the second execution unit 220 may include a hand detection unit 2210, a pen detection unit 2220, a pen uplink unit 2230, and the like.
In one example, the timing unit 2110 may include a timer, and when the configuration module 10 completes configuration of the touch event information, the timing unit 2110 may be started to count time to obtain a timing duration.
In an example, the reading unit 2130 may read the touch event information to obtain a trigger duration and a detection instruction.
In one example, the comparison and parsing unit 2120 may include a comparison circuit, which compares the timing duration with the trigger duration to determine a detection instruction to be executed, and obtains the detection instruction according to the address information to send to the second execution unit 220.
In one example, the second execution unit 220 may include a touch chip, and may execute the detection instruction to implement an active pen, human touch detection, or other operations.
In one example, as shown in fig. 6, the touch detection information may be in the form of a table, each trigger duration (time value t0-tn) of the touch detection information has a one-to-one correspondence relationship with each detection command (command cmd0-cmdn), each detection command may be stored in the storage module, and the execution module may obtain the detection command through the association relationship between the trigger duration and the detection command, or through the address information.
Of course, the touch detection information may also be in other forms, and for comparison, the embodiment of the disclosure is not limited.
According to the method and the device, the configuration module can be used for flexibly configuring the event items of the event table according to the transmission protocol contents of different active pens, and then hardware is used for analyzing the event table at the configured time point to respectively detect the active pens and hands, so that the communication and the identification of different active pen protocols are realized, and the flexibility and the expansibility of the device are improved.
Referring to fig. 7, fig. 7 is a block diagram of a touch detection device according to an embodiment of the disclosure. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the device 800 to perform the above-described methods.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (13)

1. A touch detection method is applied to a display panel, and the method comprises the following steps:
configuring touch event information according to a transmission protocol of the paired active pens, wherein the touch event information comprises a plurality of trigger durations and a plurality of detection instructions, and each touch duration corresponds to each detection instruction one by one;
and starting timing under the condition that the configuration of the touch event information is finished, sequentially comparing timing duration with each trigger duration in the touch event information, and executing a target detection instruction corresponding to the target trigger duration under the condition that the target trigger duration equal to the timing duration is matched.
2. The method of claim 1, further comprising:
when detecting that the model of the paired active pen is changed, determining an update transmission protocol of the changed active pen;
and switching the transmission protocol of the changed active pen into the updating transmission protocol, and reconfiguring touch event information based on the updating transmission protocol.
3. The method according to claim 1, wherein the detection instruction comprises any one or more of an active pen up instruction, an active pen down instruction, an active pen detection instruction, a touch detection instruction, and a no-operation instruction.
4. The method of claim 3, further comprising: and when the timing duration reaches the trigger duration corresponding to any one of the moving pen uplink instruction, the active pen downlink instruction and the active pen detection instruction, configuring the touch module of the display panel to work in a self-capacitance mode.
5. The method of claim 3, further comprising: and when the timing duration reaches the trigger duration corresponding to the touch detection instruction, configuring a touch module of the display panel to work in a mutual capacitance mode.
6. A method according to claim 3, wherein the execution slots of the respective detection instructions are separated by respective display slots of the display panel.
7. The method of claim 1, wherein the display panel comprises any one of a liquid crystal display panel, an organic light emitting diode display panel, a quantum dot light emitting diode display panel, a mini light emitting diode display panel, and a micro light emitting diode display panel.
8. A touch detection device applied to a display panel, the device comprising:
a configuration module to: configuring touch event information according to a transmission protocol of the paired active pens, wherein the touch event information comprises a plurality of trigger durations and a plurality of detection instructions, and each touch duration corresponds to each detection instruction one by one;
the execution module is connected to the configuration module and is used for: and starting timing under the condition that the configuration of the touch event information is finished, sequentially comparing timing duration with each trigger duration in the touch event information, and executing a target detection instruction corresponding to the target trigger duration under the condition that the target trigger duration equal to the timing duration is matched.
9. The apparatus of claim 8, further comprising:
the determining module is used for determining the update transmission protocol of the changed active pen when the model change of the paired active pen is detected;
and the updating module is connected with the determining module and used for switching the changed transmission protocol of the active pen into the updating transmission protocol and reconfiguring the touch event information based on the updating transmission protocol.
10. The apparatus according to claim 8, wherein the detection instruction comprises any one or more of an active pen up instruction, an active pen down instruction, an active pen detection instruction, a touch detection instruction, and a no-operation instruction.
11. A chip comprising the touch detection device of any one of claims 8-10.
12. An electronic device, characterized in that the electronic device comprises a chip according to claim 11.
13. The electronic device of claim 12, wherein the electronic device comprises a display, a smartphone, or a portable device.
CN202110454661.1A 2021-04-26 2021-04-26 Touch detection method and device, chip and electronic equipment Pending CN113110763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110454661.1A CN113110763A (en) 2021-04-26 2021-04-26 Touch detection method and device, chip and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110454661.1A CN113110763A (en) 2021-04-26 2021-04-26 Touch detection method and device, chip and electronic equipment

Publications (1)

Publication Number Publication Date
CN113110763A true CN113110763A (en) 2021-07-13

Family

ID=76720292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110454661.1A Pending CN113110763A (en) 2021-04-26 2021-04-26 Touch detection method and device, chip and electronic equipment

Country Status (1)

Country Link
CN (1) CN113110763A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023065808A1 (en) * 2021-10-18 2023-04-27 荣耀终端有限公司 Active stylus-based interaction method and active stylus device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515696A (en) * 2017-08-31 2017-12-26 北京集创北方科技股份有限公司 A kind of touch detecting method and touch module
CN108874199A (en) * 2017-05-08 2018-11-23 义隆电子股份有限公司 Embedded touch display device and communication method thereof with active pen
CN109407874A (en) * 2017-08-17 2019-03-01 义隆电子股份有限公司 Method for performing touch sensing on touch display device and touch display device
CN109643171A (en) * 2016-09-01 2019-04-16 株式会社和冠 Stylus, sensor controller and electronic ruler
CN110007784A (en) * 2019-02-28 2019-07-12 华为技术有限公司 A kind of active stylus calibration method, active stylus and electronic equipment
CN110554826A (en) * 2018-06-01 2019-12-10 义隆电子股份有限公司 Method for performing touch sensing on touch display device
WO2020013964A1 (en) * 2018-07-10 2020-01-16 Microsoft Technology Licensing, Llc Coupling a pen device to a companion device based on pen proximity
CN111580690A (en) * 2020-04-28 2020-08-25 深圳市千分一智能技术有限公司 Stylus mode switching method and device, stylus and readable storage medium
CN111638814A (en) * 2020-06-02 2020-09-08 深圳市汇顶科技股份有限公司 Synchronization method, wireless communication chip, touch control chip and coding chip
CN112352211A (en) * 2018-07-18 2021-02-09 株式会社和冠 Sensor controller, active pen and communication method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109643171A (en) * 2016-09-01 2019-04-16 株式会社和冠 Stylus, sensor controller and electronic ruler
CN108874199A (en) * 2017-05-08 2018-11-23 义隆电子股份有限公司 Embedded touch display device and communication method thereof with active pen
CN109407874A (en) * 2017-08-17 2019-03-01 义隆电子股份有限公司 Method for performing touch sensing on touch display device and touch display device
CN107515696A (en) * 2017-08-31 2017-12-26 北京集创北方科技股份有限公司 A kind of touch detecting method and touch module
CN110554826A (en) * 2018-06-01 2019-12-10 义隆电子股份有限公司 Method for performing touch sensing on touch display device
WO2020013964A1 (en) * 2018-07-10 2020-01-16 Microsoft Technology Licensing, Llc Coupling a pen device to a companion device based on pen proximity
CN112352211A (en) * 2018-07-18 2021-02-09 株式会社和冠 Sensor controller, active pen and communication method
CN110007784A (en) * 2019-02-28 2019-07-12 华为技术有限公司 A kind of active stylus calibration method, active stylus and electronic equipment
CN111580690A (en) * 2020-04-28 2020-08-25 深圳市千分一智能技术有限公司 Stylus mode switching method and device, stylus and readable storage medium
CN111638814A (en) * 2020-06-02 2020-09-08 深圳市汇顶科技股份有限公司 Synchronization method, wireless communication chip, touch control chip and coding chip

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"触控系统、触控笔、触控装置及其控制方法", 科技资讯, no. 08, 13 March 2016 (2016-03-13) *
KI-HYUK SEOL ET AL.: "Active stylus-touch discrimination scheme based on anomaly detection algorithm", 《JOURNAL OF THE SOCIETY FOR INFORMATION DISPLAY》, vol. 28, no. 10, 31 October 2020 (2020-10-31) *
刘平英: "非触控式指令笔的设计", 《万方数据库》, 13 December 2016 (2016-12-13) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023065808A1 (en) * 2021-10-18 2023-04-27 荣耀终端有限公司 Active stylus-based interaction method and active stylus device

Similar Documents

Publication Publication Date Title
US10739854B2 (en) Terminal and touch response method and device
US10169634B2 (en) Method, device and computer-readable storage medium for fingerprint recognition
EP3043236B1 (en) Method and apparatus for implementing a stacked touch key and fingerprint sensor
RU2640644C2 (en) Method, device and electronic device for controlling the intelligent home device
EP3043293A1 (en) Method and device for realizing touch button and fingerprint identification, and terminal device
EP3076640B1 (en) Method, apparatus for controlling state of terminal screen, and electronic device
EP3232309A1 (en) Method and device for launching functions of an application
EP2924552B1 (en) Method and mobile terminal for executing user instructions
EP3136216A1 (en) Method for controlling mobile terminal and mobile terminal
KR101933642B1 (en) Method and apparatus for triggering execution of operation instruction
EP3208704A1 (en) Application control method and device
CN107102772B (en) Touch control method and device
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
US20170315777A1 (en) Method, terminal, and storage medium for starting voice input function of terminal
US20170060260A1 (en) Method and device for connecting external equipment
EP3525075A1 (en) Method for lighting up screen of double-screen terminal, and terminal
US20100333043A1 (en) Terminating a Communication Session by Performing a Gesture on a User Interface
EP3173963B1 (en) Unlocking method and apparatus, computer program and recording medium
EP3232301B1 (en) Mobile terminal and virtual key processing method
KR20150145857A (en) Electronic apparatus and method for pairing in electronic apparatus
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
CN105979066A (en) Screen lighting-up method and screen lighting-up device
CN112306366A (en) Operation method, mobile terminal and storage medium
EP3086221A2 (en) Electronic apparatus, image display system, control program, and method for operating electronic apparatus
EP3142337A1 (en) Method and apparatus for installing application and smart device using them

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination