Active pen protocol, and communication control method and apparatus based on active pen protocol
By designing the active pen protocol in the embedded capacitive touch display device, passive touch scanning, active pen touch scanning and posture recognition functions during the protocol scanning time period are realized, which solves the problem of difficulty in collecting active pen signals in the prior art and improves communication efficiency and display effect.
Patent Information
- Application Number
- PCT/CN2023/125483
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2025-07-24
AI Technical Summary
Existing embedded capacitive touch display devices are difficult to effectively collect active pen signals, especially under the requirements of high-precision application software, touch scanning and posture recognition of active pens cannot be achieved.
An active pen protocol is designed. The touch scanning time unit and display time unit are set during the scanning time period of the protocol. The touch scanning time unit realizes passive touch scanning, active pen touch scanning and posture recognition functions. The display time unit realizes the display function. Through this protocol, the embedded capacitive touch display device collects active pen signals.
Passive touch scanning, active pen touch scanning and posture recognition functions are realized in a short time, improving the communication efficiency between the embedded capacitive touch display device and the active pen, and ensuring the effect of active pen posture recognition and touch effect.
Smart Images

Figure CN2023125483_24072025_PF_FP_ABST
Abstract
Description
Active pen protocol, communication control method and device based on active pen protocol Technical Field
[0001] The present disclosure belongs to the field of display technology, and in particular relates to an active pen protocol, and a communication control method and device based on the active pen protocol. Background Art
[0002] With the explosive growth of touch display devices such as mobile phones and tablet computers, the application software in touch display devices has increasingly higher requirements for screen touch accuracy, so styluses are widely used in touch display devices.
[0003] Styluses include active pens and passive pens. The main touch mode of embedded capacitive touch display devices is currently finger touch. In order to be used with active pens, it is necessary to define an active pen protocol so that the embedded capacitive touch display device can collect active pen signals when communicating with the active pen based on the active pen protocol.
[0004] Summary of the Invention
[0005] The embodiments of the present disclosure provide an active pen protocol, and a communication control method and apparatus based on the active pen protocol, thereby enabling, at least to a certain extent, the acquisition of active pen signals by an embedded capacitive touch display device.
[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by practice of the present disclosure.
[0007] According to a first aspect of an embodiment of the present disclosure, an active pen protocol is provided, comprising: a plurality of protocol scanning time periods, each of the protocol scanning time periods comprising a touch scanning time unit and a display time unit, the touch scanning time unit and the display time unit being sequentially spaced within the protocol scanning time period, wherein the touch scanning time unit is configured to implement a passive touch scanning function, an active pen touch scanning function, and an active pen gesture recognition function, and the display time unit is configured to implement a display function of an embedded capacitive touch display device.
[0008] In some embodiments, the active pen gesture recognition function includes an active pen tilt angle recognition function.
[0009] In some embodiments, the protocol scanning time period is one frame time corresponding to the screen refresh rate of the embedded capacitive touch display device. Within the one frame time, the touch scanning time unit is configured to implement the passive touch scanning function, the active pen touch scanning function, and the active pen gesture recognition function.
[0010] In some embodiments, the number of the touch scanning time units within the one frame time is 13, the number of the display time units within the one frame time is 13, and the number of the touch scanning time units configured to implement the passive touch scanning function within the one frame time is greater than or equal to 2, and the number of the touch scanning time units configured to implement the active pen gesture recognition function within the one frame time is greater than or equal to 2.
[0011] In some embodiments, the touch scanning time unit is further configured to implement a noise adjustment function. Within the one frame time, the third touch scanning time unit and the sixth touch scanning time unit are respectively configured to implement the active pen gesture recognition function, the seventh touch scanning time unit is configured to implement the noise adjustment function, the tenth touch scanning time unit and the thirteenth touch scanning time unit are respectively configured to implement the passive touch scanning function, the first touch scanning time unit, the second touch scanning time unit, the fourth touch scanning time unit, the fifth touch scanning time unit, the eighth touch scanning time unit, the ninth touch scanning time unit, the eleventh touch scanning time unit and the twelfth touch scanning time unit are respectively configured to implement the active pen touch scanning function.
[0012] In some embodiments, the protocol scanning time period is the first frame time or the second frame time corresponding to the screen refresh rate of the embedded capacitive touch display device. During the first frame time, the touch scanning time unit is configured to implement the active pen touch scanning function and the active pen gesture recognition function. During the second frame time, the touch scanning time unit is configured to implement the active pen touch scanning function and the passive touch scanning function.
[0013] In some embodiments, during the first frame time and the second frame time, the touch scanning time unit is further configured to implement a noise adjustment function.
[0014] In some embodiments, the number of the touch scanning time units in the first frame time and the number in the second frame time are 13 respectively, the number of the display time units in the first frame time and the number in the second frame time are 13 respectively, and the number of the touch scanning time units configured to implement the passive touch scanning function in the first frame time and the number in the second frame time are greater than or equal to 2 respectively, and the number of the touch scanning time units configured to implement the active pen gesture recognition function in the first frame time and the number in the second frame time are greater than or equal to 2 respectively.
[0015] In some embodiments, within the first frame time, the sixth touch scan time unit and the tenth touch scan time unit are respectively configured to implement the active pen gesture recognition function, the third touch scan time unit and the thirteenth touch scan time unit are respectively configured to implement the active pen gesture recognition function, implement the noise adjustment function or be idle, the seventh touch scan time unit is configured to implement the noise adjustment function, the first touch scan time unit, the second touch scan time unit, the fourth touch scan time unit, the fifth touch scan time unit, the eighth touch scan time unit, the ninth touch scan time unit, the eleventh touch scan time unit and the twelfth touch scan time unit are respectively configured to implement the active pen gesture recognition function.
[0016] In some embodiments, during the second frame time, the third touch scanning time unit, the sixth touch scanning time unit, the tenth touch scanning time unit and the thirteenth touch scanning time unit are respectively configured to implement the passive touch scanning function, the seventh touch scanning time unit is configured to implement the noise adjustment function, and the first touch scanning time unit, the second touch scanning time unit, the fourth touch scanning time unit, the fifth touch scanning time unit, the eighth touch scanning time unit, the ninth touch scanning time unit, the eleventh touch scanning time unit and the twelfth touch scanning time unit are respectively configured to implement the active pen touch scanning function.
[0017] In some embodiments, the duration of the touch scan time unit is less than or equal to 180 μs.
[0018] In some embodiments, a protocol header time period is further included, and the protocol header time period is configured to implement a recognition function of identification information of the embedded capacitive touch display device.
[0019] In some embodiments, the communication data corresponding to the touch scan time unit is encoded according to a preset phase difference.
[0020] According to a second aspect of an embodiment of the present disclosure, a communication control method based on an active pen protocol is provided, comprising: performing communication between an active pen and an embedded capacitive touch display device based on the active pen protocol as described in the first aspect above.
[0021] In some embodiments, the communication control method based on the active pen protocol also includes: determining the duration of the touch scan time unit from the active pen protocol; controlling the duration of the active pen sending communication data to the embedded capacitive touch display device to be greater than the duration of the touch scan time unit, and the difference between the duration of sending the communication data and the duration of the touch scan time unit is less than a preset value.
[0022] According to a third aspect of an embodiment of the present disclosure, a communication control device based on an active pen protocol is provided, comprising: a communication unit for communicating between an active pen and an embedded capacitive touch display device based on the active pen protocol as described in the first aspect above.
[0023] According to a fourth aspect of an embodiment of the present disclosure, an embedded capacitive touch display device is provided, comprising a processor and a memory, wherein the memory stores computer program instructions that can be executed by the processor, and when the processor executes the computer program instructions, the steps of the communication control method based on the active pen protocol as described in the second aspect above are implemented.
[0024] According to the fifth aspect of an embodiment of the present disclosure, an active pen is provided, comprising a processor and a memory, wherein the memory stores computer program instructions that can be executed by the processor, and when the processor executes the computer program instructions, the steps of the communication control method based on the active pen protocol as described in the second aspect above are implemented.
[0025] In the present disclosure, multiple protocol scan time periods are set in the active pen protocol. Each protocol scan time period includes a touch scan time unit and a display time unit. The touch scan time unit and the display time unit are sequentially spaced within the protocol scan time period. The touch scan time unit is configured to implement passive touch scanning, active pen touch scanning, and active pen gesture recognition functions, and the display time unit is configured to implement the display function of an embedded capacitive touch display device. The active pen protocol provided in the present disclosure can enable the embedded capacitive touch display device to collect active pen signals.
[0026] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort. In the drawings:
[0028] FIG1 shows a schematic diagram of an active pen protocol in one embodiment;
[0029] FIG2 is a schematic diagram showing a communication protocol when an embedded capacitive touch display device performs only passive touch scanning and display in one embodiment;
[0030] FIG3 shows a detailed schematic diagram of the active pen protocol in FIG1 ;
[0031] FIG4 shows another detailed schematic diagram of the active pen protocol in FIG1 ;
[0032] FIG5 shows another detailed schematic diagram of the active pen protocol in FIG1 ;
[0033] FIG6 shows another detailed schematic diagram of the active pen protocol in FIG1 ;
[0034] FIG7 shows another detailed schematic diagram of the active pen protocol in FIG1 ;
[0035] FIG8 shows a detailed schematic diagram of a protocol packet header in one embodiment;
[0036] FIG9 is a schematic diagram showing an encoding format of communication data corresponding to the touch scan time unit in FIG1 ;
[0037] FIG10 is a schematic flow chart showing a communication control method based on the active pen protocol in one embodiment;
[0038] FIG11 shows a block diagram of a communication control device based on an active pen protocol in one embodiment;
[0039] FIG12 shows a schematic structural diagram of an embedded capacitive touch display device or an active pen in one embodiment. DETAILED DESCRIPTION
[0040] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of the present disclosure.
[0041] In addition, the described features, structures or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, well-known methods, devices, implementations or operations are not shown or described in detail to avoid blurring various aspects of the present disclosure.
[0042] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0043] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0044] Figure 1 illustrates a schematic diagram of an active pen protocol according to one embodiment. As shown in Figure 1 , the active pen protocol may include multiple protocol scan time periods, each of which includes a touch scan time unit and a display time unit. The touch scan time units and the display time units are sequentially spaced within the protocol scan time period. The touch scan time unit is configured to implement passive touch scanning, active pen touch scanning, and active pen gesture recognition functions, while the display time unit is configured to implement the display function of an embedded capacitive touch display device.
[0045] It should be noted that the embedded capacitive touch display device usually adopts the long horizontal blank (LHB) method to realize the collection of finger touch signals, that is, within one frame, touch scanning and screen display are performed alternately. In order to realize the collection of active pen signals, the embodiment of the present disclosure needs to realize passive touch scanning, active pen touch scanning, active pen gesture recognition and display functions within the protocol scanning time period. The active pen protocol defined in this way, when used for communication between the active pen and the embedded capacitive touch display device, can not only realize the collection and display functions of the embedded capacitive touch display device for passive touch signals (such as finger touch signals), but also realize the collection of active pen touch signals and active pen gesture signals.
[0046] It's understood that communication data from an embedded capacitive touch display device can be divided into uplink data and downlink data. Uplink data refers to the signal from the embedded capacitive touch display device to the active pen, while downlink data refers to the signal from the active pen or finger to the embedded capacitive touch display device. The protocol scanning period refers to the period during which downlink data is scanned.
[0047] During the implementation process, the active pen protocol may include multiple continuous and identical protocol scanning time periods, and each protocol scanning time period is divided into multiple time units, where some time units are used as touch scanning time units and some time units are used as display time units, and the touch scanning time units and display time units are set in sequence.
[0048] Referring to Figure 1, in some embodiments, the protocol header time period is in the B+Vblank area, and the protocol scanning time period is divided into 26 time units, of which 13 are display time units, such as the display time unit corresponding to the letter "D" in Figure 1; the other 13 time units are touch scanning time units, such as the touch scanning time units corresponding to "T1~T13" in Figure 1, and the time units can be configured to implement passive touch scanning function, active pen touch scanning function and active pen gesture recognition function respectively.
[0049] It should be noted that passive touch scanning refers to the scanning of touch signals generated when an object that does not require power charging (such as a finger) touches the screen of an embedded capacitive touch display device; active pen touch scanning refers to the scanning of touch signals generated when an active pen touches the screen of an embedded capacitive touch display device; active pen posture recognition refers to the recognition of posture signals such as inclination or azimuth when an active pen touches the screen of an embedded capacitive touch display device.
[0050] In some embodiments, the active pen gesture recognition function includes an active pen tilt angle recognition function.
[0051] It is understandable that the inclination angle between the active pen and the screen of the embedded capacitive touch display device will affect the width, opacity, spacing, angle and other parameters of the stroke. Through the active pen inclination recognition function, the embedded capacitive touch display device can control the above parameters of the stroke according to the recognized inclination angle, control the display effect of the graphics in the embedded capacitive touch display device, and make the graphics more natural and realistic.
[0052] Currently, most embedded capacitive touch display devices use a display screen with a screen refresh rate of 60 Hz. If the embedded capacitive touch display device only needs to perform touch scanning and display, the communication protocol shown in FIG. 2 can be used.
[0053] Figure 2 shows a schematic diagram of the communication protocol for an embedded capacitive touch display device in one embodiment, when only passive touch scanning and display are performed. As shown in Figure 2 , in this communication protocol, the time units for feedback of passive touch signals are T1, T2, T4, T5, T8, T9, T11, and T12, the noise adjustment bit is T7, and the remaining time units are used for screen display or idle time. This communication protocol cannot be used for collecting active pen signals.
[0054] If the embedded capacitive touch display device needs to perform active pen touch scanning, active pen gesture recognition, passive touch scanning and display, the active pen protocol shown in Figure 1 can be adopted. Figure 1 limits the functions that can be achieved by the touch scanning time unit, and does not limit the specific position of the touch scanning time unit that realizes each function.
[0055] In the disclosed embodiments, multiple protocol scan time periods are configured within the active pen protocol. These protocol scan time periods include touch scan time units and display time units. These touch scan time units and display time units are sequentially spaced within the protocol scan time periods. The touch scan time units are configured to implement passive touch scanning, active pen touch scanning, and active pen gesture recognition functions, while the display time units are configured to implement the display function of an embedded capacitive touch display device. This new active pen protocol architecture enables the acquisition of active pen signals by an embedded capacitive touch display device.
[0056] Figure 3 shows a detailed schematic diagram of the active pen protocol in Figure 1. As shown in Figure 3, the protocol scanning time period is one frame time corresponding to the screen refresh rate of the embedded capacitive touch display device. Within one frame time, the touch scanning time unit is configured to implement the passive touch scanning function, the active pen touch scanning function, and the active pen gesture recognition function.
[0057] For example, for an embedded capacitive touch display device with a 60Hz refresh rate, the protocol scan period is one frame time corresponding to 60Hz, or 1 / 60 second. In the disclosed embodiments, within one frame time, the touch scan time unit can implement both passive touch scanning, active pen touch scanning, and active pen gesture recognition.
[0058] In some embodiments, the number of touch scanning time units within a frame time is 13, the number of display time units within a frame time is 13, and the number of touch scanning time units configured to implement passive touch scanning function within a frame time is greater than or equal to 2, and the number of touch scanning time units configured to implement active pen gesture recognition function within a frame time is greater than or equal to 2.
[0059] It can be understood that the active pen protocol of the embodiment of the present disclosure divides one frame time into only 26 time units, which can realize three functions. In other words, the three functions can be realized in a shorter time through the active pen protocol, thereby improving the communication efficiency between the embedded capacitive touch display device and the active pen.
[0060] It should be noted that the number of touch scanning time units configured to realize the passive touch scanning function within one frame time is greater than or equal to 2, which can ensure the effect of passive touch scanning; the number of touch scanning time units configured to realize the active pen gesture recognition function within one frame time is greater than or equal to 2, which can ensure the effect of active pen gesture recognition.
[0061] In some embodiments, the touch scanning time unit is further configured to implement a noise adjustment function. Within one frame time, the third touch scanning time unit and the sixth touch scanning time unit are respectively configured to implement an active pen gesture recognition function, the seventh touch scanning time unit is configured to implement a noise adjustment function, the tenth touch scanning time unit and the thirteenth touch scanning time unit are respectively configured to implement a passive touch scanning function, and the first touch scanning time unit, the second touch scanning time unit, the fourth touch scanning time unit, the fifth touch scanning time unit, the eighth touch scanning time unit, the ninth touch scanning time unit, the eleventh touch scanning time unit and the twelfth touch scanning time unit are respectively configured to implement an active pen touch scanning function.
[0062] Among them, noise adjustment refers to collecting noise signals so as to adjust the sampling frequency and other data of the active pen according to the noise signals, which is beneficial to improving the touch effect in the subsequent touch process.
[0063] 3 , the touch scanning time units T3 and T6 are respectively configured to implement the active pen gesture recognition function, the touch scanning time unit T7 is configured to implement the noise adjustment function, the touch scanning time units T10 and T13 are respectively configured to implement the passive touch scanning function, and the touch scanning time units T1, T2, T4, T5, T8, T9, T11 and T12 are respectively configured to implement the active pen touch scanning function.
[0064] In order to realize the functions of each touch scan time unit, the specific design of the touch scan time unit can refer to the following Table 1:
[0065] Table 1
[0066] As shown in Table 1, the touch scan time unit T1 can be configured to collect the active pen number and active pen pressure; the touch scan time unit T2 can be configured to collect the floating / touch status and active pen pressure; the touch scan time unit T3 can be configured to collect the active pen tilt angle; the touch scan time unit T4 can be configured to collect the active pen button status and active pen pressure; the touch scan time unit T5 can be configured to collect the active pen button status and CRC code redundancy detection; the touch scan time unit T6 can be configured to collect the active pen tilt angle; the touch scan time units T8, T9 and T11 can be configured to collect the power information and active pen pressure of the active pen; the touch scan time unit T12 can be configured to collect the power information of the active pen and CRC code redundancy detection.
[0067] In the touch scanning time unit related to the above active pen, 4096 pressure gradients can be achieved through 12-bit pressure acquisition; by reserving H / I for hovering / touch status acquisition, suspension sensing can be achieved; by designing power information acquisition, battery power feedback can be achieved; by designing CRC code redundancy detection, the integrity of the code can be guaranteed.
[0068] The disclosed embodiment realizes passive touch scanning, active pen touch scanning, and active pen gesture recognition within one frame time corresponding to the screen refresh rate of the embedded capacitive touch display device through detailed design of the active pen protocol.
[0069] In some embodiments, the protocol scanning time period is the first frame time and the second frame time corresponding to the screen refresh rate of the embedded capacitive touch display device. During the first frame time, the touch scanning time unit is configured to implement the active pen touch scanning function and the active pen gesture recognition function. During the second frame time, the touch scanning time unit is configured to implement the active pen touch scanning function and the passive touch scanning function.
[0070] It can be understood that the first frame time can be the previous frame time of the second frame time, or the next frame time of the second frame time. The embodiment of the present disclosure does not limit the order of the first frame time and the second frame time. In the active pen protocol, the active pen touch scanning function, the active pen gesture recognition function and the passive touch scanning function are not implemented in the same frame time, but the above three functions are implemented within two adjacent frame times.
[0071] In some embodiments, during the first frame time and the second frame time, the touch scanning time unit is further configured to implement a noise adjustment function.
[0072] Among them, noise adjustment refers to collecting noise signals so as to adjust the sampling frequency and other data of the active pen according to the noise signals, which is beneficial to improving the touch effect of the subsequent touch process.
[0073] In some embodiments, the number of touch scanning time units in the first frame time and the number in the second frame time are 13 respectively, the number of display time units in the first frame time and the number in the second frame time are 13 respectively, and the number of touch scanning time units configured to implement passive touch scanning function in the first frame time and the number in the second frame time are greater than or equal to 2 respectively, and the number of touch scanning time units configured to implement active pen gesture recognition function in the first frame time and the number in the second frame time are greater than or equal to 2 respectively.
[0074] In some embodiments, within the first frame time, the sixth touch scan time unit and the tenth touch scan time unit are respectively configured to implement the active pen gesture recognition function, the third touch scan time unit and the thirteenth touch scan time unit are respectively configured to implement the active pen gesture recognition function, implement the noise adjustment function or be idle, the seventh touch scan time unit is configured to implement the noise adjustment function, the first touch scan time unit, the second touch scan time unit, the fourth touch scan time unit, the fifth touch scan time unit, the eighth touch scan time unit, the ninth touch scan time unit, the eleventh touch scan time unit and the twelfth touch scan time unit are respectively configured to implement the active pen gesture recognition function.
[0075] In some embodiments, within the second frame time, the third touch scanning time unit, the sixth touch scanning time unit, the tenth touch scanning time unit and the thirteenth touch scanning time unit are respectively configured to implement the passive touch scanning function, the seventh touch scanning time unit is configured to implement the noise adjustment function, and the first touch scanning time unit, the second touch scanning time unit, the fourth touch scanning time unit, the fifth touch scanning time unit, the eighth touch scanning time unit, the ninth touch scanning time unit, the eleventh touch scanning time unit and the twelfth touch scanning time unit are respectively configured to implement the active pen touch scanning function.
[0076] Figure 4 is an active pen protocol architecture within the first frame time. As shown in Figure 4, within the first frame time, the touch scanning time units T6 and T10 are respectively configured to implement the active pen gesture recognition function, the touch scanning time units T3 and T13 are respectively configured to implement the active pen gesture recognition function, the touch scanning time unit T7 is configured to implement the noise adjustment function, and the touch scanning time units T1, T2, T4, T5, T8, T9, T11 and T12 are respectively configured to implement the active pen gesture recognition function.
[0077] Figure 5 shows another active pen protocol architecture within the first frame time. As shown in Figure 5, within the first frame time, the touch scanning time units T6 and T10 are respectively configured to implement the active pen gesture recognition function, the touch scanning time units T3, T7 and T13 are respectively configured to implement the noise adjustment function, and the touch scanning time units T1, T2, T4, T5, T8, T9, T11 and T12 are respectively configured to implement the active pen gesture recognition function.
[0078] Figure 6 is another active pen protocol architecture within the first frame time. As shown in Figure 6, within the first frame time, the touch scanning time units T6 and T10 are respectively configured to implement the active pen gesture recognition function, the touch scanning time units T3 and T13 are respectively configured to be idle, the touch scanning time unit T7 is configured to implement the noise adjustment function, and the touch scanning time units T1, T2, T4, T5, T8, T9, T11 and T12 are respectively configured to implement the active pen gesture recognition function.
[0079] Figure 7 is an active pen protocol architecture within the second frame time. As shown in Figure 7, within the second frame time, the touch scanning time units T3, T6, T10 and T13 are respectively configured to implement the passive touch scanning function, the touch scanning time unit T7 is configured to implement the noise adjustment function, and the touch scanning time units T1, T2, T4, T5, T8, T9, T11 and T12 are respectively configured to implement the active pen touch scanning function.
[0080] The disclosed embodiment utilizes two adjacent frame times to realize the passive touch scanning function, the active pen touch scanning function, and the active pen gesture recognition function. Since more touch scanning time units are configured to realize the passive touch scanning function, the solution can simultaneously realize the passive touch scanning function and the active pen gesture recognition function, thereby obtaining a better display effect.
[0081] In some embodiments, the active pen protocol further includes a protocol header period, and the protocol header period is configured to implement a recognition function of identification information of the embedded capacitive touch display device.
[0082] It is understood that data transmission between the active pen and the embedded capacitive touch display device is bidirectional, specifically using square waves, and the communication data is formatted in LHB format. The active pen's operating frequency can be set between 100 kHz and 400 kHz, and this frequency can be adjusted based on specific circumstances. The active pen's tip voltage can be set to 40V. To ensure signal stability, the tip voltage error should not exceed 3V when the active pen's battery voltage varies between 10% and 90%.
[0083] The protocol packet header time period refers to the time period for transmitting uplink data. The uplink data may include a transmission confirmation signal and a synchronization enable signal from the embedded capacitive touch display device to the active pen. In order to facilitate the active pen to identify the embedded capacitive touch display device, the uplink data may also include identification information of the embedded capacitive touch display device.
[0084] Figure 8 shows a detailed schematic diagram of the protocol header in one embodiment. As shown in Figure 8, the uplink data transmitted during the protocol header period can be set to 7 bytes, with each byte lasting 31 μs and represented by an 8-bit binary number. The analog signal of the binary number is emitted by the display screen of the embedded capacitive touch display device. The signal frequency is 500 kHz and is transmitted outward in the form of Direct Sequence Spread Spectrum (DSSS) encoding. After receiving the uplink data, the active pen decodes it in the form of DSSS encoding.
[0085] In the 7 bytes of uplink data, the synchronization enable signal, protocol feature description and protocol feature function definition are located in different bytes respectively, and the function bits can be adjusted according to the specific product form.
[0086] In some embodiments, the duration of the touch scan time unit is less than or equal to 180 μs.
[0087] It can be understood that the downlink data may include the active pen touch signal and active pen gesture recognition signal from the active pen to the embedded capacitive touch display device, as well as the touch signal from the hand to the embedded capacitive touch display device. The signal operating frequency of the downlink data can be set between 100KHz and 400KHz, and the signal operating frequency can be adjusted according to the specific situation.
[0088] It should be noted that the touch scan time unit needs to complete the data transmission of 41 to 91 square waves with a frequency of 100 kHz to 400 kHz. The maximum duration is 180 μs. For example, it can be 140 μs, 180 μs, or other durations. This duration is determined based on the maximum display performance of the embedded capacitive touch display device. During implementation, the maximum duration can be optimized by taking into account the minimum signal strength and the operating range of the signal frequency.
[0089] In some embodiments, the communication data corresponding to the touch scan time unit is encoded according to a preset phase difference.
[0090] It can be understood that the communication data corresponding to the touch scanning time unit is downlink data, and the preset phase difference can be 180°. During the implementation process, binary phase shift keying (BPSK) can be used to encode the communication data. The specific encoding format of the communication data corresponding to the touch scanning time unit can be shown in Figure 9.
[0091] It should be noted that each touch scan time unit requires the transmission of 41 to 91 square waves at a frequency of 100 kHz to 400 kHz, with a maximum duration of 180 μs. Based on this, four bytes can be set, each containing 3 to 13 square waves, with the bytes arranged according to a phase difference encoding of 180°.
[0092] By encoding the communication data corresponding to the touch scanning time unit according to the preset phase difference encoding, the bit error rate of downlink data transmission can be reduced.
[0093] FIG10 is a flow chart of a communication control method based on an active pen protocol according to an embodiment. As shown in FIG10 , a communication control method based on an active pen protocol is provided. The method is described by taking an embedded capacitive touch display device or an active pen as an example. The method may include the following steps:
[0094] Step 1001 : performing communication between an active pen and an embedded capacitive touch display device based on a target active pen protocol.
[0095] It should be noted that the target active pen protocol is the active pen protocol described above.
[0096] It can be understood that since the target active pen protocol stipulates the touch scanning time units for realizing the passive touch scanning function, the active pen touch scanning function and the active pen gesture recognition function, the embedded capacitive touch display device can realize the active pen touch scanning function and the active pen gesture recognition function when communicating with the active pen based on the target active pen protocol.
[0097] During the implementation process, the user generates an active pen touch signal and an active pen gesture signal on the display screen of the embedded capacitive touch display device by operating the active pen. The embedded capacitive touch display device can collect the active pen touch signal and the active pen gesture signal respectively according to the time specified in the target active pen protocol within one frame time or two adjacent frames corresponding to the screen refresh rate, and then display the corresponding content according to the active pen touch signal and the active pen gesture signal.
[0098] In some embodiments, the active pen can also determine the duration of the touch scan time unit from the target active pen protocol, and control the duration of sending communication data to the embedded capacitive touch display device to be greater than the duration of the touch scan time unit, and the difference between the duration of sending communication data to the embedded capacitive touch display device and the duration of the touch scan time unit is less than a preset value.
[0099] During the implementation process, the time it takes for the active pen to send communication data to the embedded capacitive touch display device can be slightly longer than the touch scanning time unit, that is, the time it takes for the active pen to send communication data is slightly longer than the time it takes for the display screen to sense, so that better signal transmission effect can be achieved.
[0100] The disclosed embodiments implement the acquisition of active pen touch signals and active pen gesture signals by the embedded capacitive touch display device by communicating between the active pen and the embedded capacitive touch display device based on the target active pen protocol.
[0101] The following describes an embodiment of the device disclosed herein, which can be used to implement the communication control method based on the active pen protocol described in the above-mentioned embodiment of the present disclosure. For details not disclosed in the device embodiment of the present disclosure, please refer to the embodiment of the communication control method based on the active pen protocol described in the above-mentioned embodiment of the present disclosure.
[0102] FIG11 shows a block diagram of a communication control device based on an active pen protocol according to an embodiment. As shown in FIG11 , the communication control device based on an active pen protocol according to an embodiment of the present disclosure, applied to an embedded capacitive touch display device, includes a communication unit 1101 for communicating between an active pen and the embedded capacitive touch display device based on a target active pen protocol.
[0103] In some embodiments, the communication unit 1101 is also used to determine the duration of the touch scan time unit from the target active pen protocol; control the duration of sending communication data to the embedded capacitive touch display device to be greater than the duration of the touch scan time unit, and the difference between the duration of sending communication data to the embedded capacitive touch display device and the duration of the touch scan time unit is less than a preset value.
[0104] Based on the same concept, an embodiment of the present disclosure also provides an embedded capacitive touch display device or active pen. Referring to Figure 12, a structural schematic diagram of the embedded capacitive touch display device or active pen in an embodiment of the present disclosure is shown. The embedded capacitive touch display device or active pen includes one or more memories 1204, one or more processors 1202 and at least one computer program (computer program instruction) stored in the memory 1204 and executable on the processor 1202. When the processor 1202 executes the computer program, the method described above is implemented.
[0105] In FIG12 , a bus architecture (represented by bus 1200) is shown. Bus 1200 may include any number of interconnected buses and bridges. Bus 1200 links various circuits together, including one or more processors represented by processor 1202 and memory represented by memory 1204. Bus 1200 may also link various other circuits together, such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and, therefore, will not be described further herein. Bus interface 1205 provides an interface between bus 1200 and receiver 1201 and transmitter 1203. Receiver 1201 and transmitter 1203 may be the same component, namely a transceiver, which provides a unit for communicating with various other devices over a transmission medium. Processor 1202 is responsible for managing bus 1200 and general processing, while memory 1204 may be used to store data used by processor 1202 when performing operations.
[0106] Based on the same concept, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer program instructions. When the computer program instructions are executed by a processor, the processor is prompted to implement the steps of the method described above.
[0107] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted via a computer-readable medium as one or more instructions or code. Other examples and implementations are within the scope and spirit of the present disclosure and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwiring, or a combination of any of these. Furthermore, the functional units may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0108] In the several embodiments provided in the present disclosure, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0109] The units described as separate components may or may not be physically separate, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0110] If 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. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store computer program instructions, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0111] The foregoing description is merely an embodiment of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations are readily apparent to those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present disclosure are intended to be within the scope of the claims of the present disclosure.
Claims
1. An active pen protocol, comprising: Multiple protocol scanning time periods, each of the protocol scanning time periods including a touch scanning time unit and a display time unit, the touch scanning time unit and the display time unit being sequentially arranged at intervals within the protocol scanning time period, wherein the touch scanning time unit is configured to implement a passive touch scanning function, implement an active pen touch scanning function, and implement an active pen attitude recognition function, and the display time unit is configured to implement a display function of an in-cell capacitive touch display device.
2. The active pen protocol according to claim 1, wherein, The active pen attitude recognition function includes an active pen tilt angle recognition function.
3. The active pen protocol according to claim 1, wherein, The protocol scanning time period is one frame time corresponding to the screen refresh rate of the in-cell capacitive touch display device.
4. The active pen protocol according to claim 3, wherein, The number of the touch scanning time units within the one frame time is 13, the number of the display time units within the one frame time is 13, and the number of the touch scanning time units configured to implement the passive touch scanning function within the one frame time is greater than or equal to 2, and the number of the touch scanning time units configured to implement the active pen attitude recognition function within the one frame time is greater than or equal to 2.
5. The active pen protocol according to claim 4, wherein, The touch scanning time unit is further configured to implement a noise adjustment function. Within the one frame time, the third touch scanning time unit and the sixth touch scanning time unit are respectively configured to implement the active pen attitude recognition function, the seventh touch scanning time unit is configured to implement the noise adjustment function, the tenth touch scanning time unit and the thirteenth touch scanning time unit are respectively configured to implement the passive touch scanning function, and the first touch scanning time unit, the second touch scanning time unit, the fourth touch scanning time unit, the fifth touch scanning time unit, the eighth touch scanning time unit, the ninth touch scanning time unit, the eleventh touch scanning time unit, and the twelfth touch scanning time unit are respectively configured to implement the active pen touch scanning function.
6. The active pen protocol according to claim 1, wherein, The protocol scanning time period is the first frame time and the second frame time corresponding to the screen refresh rate of the in-cell capacitive touch display device. Within the first frame time, the touch scanning time unit is configured to implement the active pen touch scanning function and the active pen attitude recognition function. Within the second frame time, the touch scanning time unit is configured to implement the active pen touch scanning function and the passive touch scanning function.
7. The active pen protocol according to claim 6, wherein, Within the first frame time and the second frame time, the touch scanning time unit is further configured to implement a noise adjustment function.
8. The active pen protocol according to claim 7, wherein, The number of the touch scan time units in the first frame time and the number of the touch scan time units in the second frame time are both 13, the number of the display time units in the first frame time and the number of the display time units in the second frame time are both 13, and the number of the touch scan time units configured to implement the passive touch scan function in the first frame time and the number of the touch scan time units configured to implement the passive touch scan function in the second frame time are both greater than or equal to 2, and the number of the touch scan time units configured to implement the active pen attitude recognition function in the first frame time and the number of the touch scan time units configured to implement the active pen attitude recognition function in the second frame time are both greater than or equal to 2.
9. The active pen protocol according to claim 8, wherein, In the first frame time, the sixth touch scan time unit and the tenth touch scan time unit are respectively configured to implement the active pen attitude recognition function, the third touch scan time unit and the thirteenth touch scan time unit are respectively configured to implement the active pen attitude recognition function, implement the noise adjustment function or be idle, the seventh touch scan time unit is configured to implement the noise adjustment function, and the first touch scan time unit, the second touch scan time unit, the fourth touch scan time unit, the fifth touch scan time unit, the eighth touch scan time unit, the ninth touch scan time unit, the eleventh touch scan time unit and the twelfth touch scan time unit are respectively configured to implement the active pen attitude recognition function.
10. The active pen protocol according to claim 9, wherein, In the second frame time, the third touch scan time unit, the sixth touch scan time unit, the tenth touch scan time unit and the thirteenth touch scan time unit are respectively configured to implement the passive touch scan function, the seventh touch scan time unit is configured to implement the noise adjustment function, and the first touch scan time unit, the second touch scan time unit, the fourth touch scan time unit, the fifth touch scan time unit, the eighth touch scan time unit, the ninth touch scan time unit, the eleventh touch scan time unit and the twelfth touch scan time unit are respectively configured to implement the active pen touch scan function.
11. The active pen protocol according to any one of claims 1 to 10, wherein The duration of the touch scan time unit is less than or equal to 180 μs.
12. The active pen protocol according to any one of claims 1 to 10 further includes a protocol header time period, and the protocol header time period is configured to implement the identification function of the identification information of the in-cell capacitive touch display device.
13. The active pen protocol according to any one of claims 1 to 10, wherein, The communication data corresponding to the touch scan time unit is encoded according to a preset phase difference.
14. A communication control method based on an active pen protocol, comprising: Performing communication between an active pen and an in-cell capacitive touch display device based on the active pen protocol according to any one of claims 1 to 13.
15. The communication control method according to claim 14 further includes: Determining the duration of the touch scan time unit from the active pen protocol; Control the duration for the active pen to send communication data to the embedded capacitive touch display device to be greater than the duration of the touch scanning time unit, and the difference between the duration of sending the communication data and the duration of the touch scanning time unit is less than a preset value.
16. A communication control device based on an active pen protocol, comprising: A communication unit, configured to perform communication between an active pen and an embedded capacitive touch display device based on the active pen protocol according to any one of claims 1 to 13.
17. An embedded capacitive touch display device includes a processor and a memory, wherein, The memory stores computer program instructions executable by the processor, and when the processor executes the computer program instructions, the steps of the method according to claim 14 are implemented.
18. An active pen includes a processor and a memory, wherein, The memory stores computer program instructions executable by the processor, and when the processor executes the computer program instructions, the steps of the method according to claim 14 or 15 are implemented.