A signal processing method, apparatus and system

By retrieving signal transmission and reception rules between the active pen and the touch screen and increasing the signal detection cycle, the problems of response delay and screen flickering of the active pen under various screen refresh rates were solved, achieving compatibility of pen writing function and improving user experience.

CN115047990BActive Publication Date: 2026-04-10LENOVO (BEIJING) LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-01
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Existing active pens suffer from complex communication protocols when adapting to touchscreens with various screen refresh rates, leading to response delays and screen flickering issues that negatively impact user experience.

Method used

By detecting the uplink signal of the touch screen, retrieving the signal transmission and reception rules, and increasing the signal detection cycle of the active pen, the active pen and the touch screen can reliably and quickly perform pen writing functions at different screen refresh rates, thereby reducing power consumption.

Benefits of technology

It achieves pen writing compatibility across multiple screen refresh rates, reduces response latency and screen flickering issues, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115047990B_ABST
    Figure CN115047990B_ABST
Patent Text Reader

Abstract

The application provides a signal processing method, device and system. When the touch screen is at any screen refresh rate, an uplink signal can be sent to a stylus based on a predetermined stylus communication protocol determined for a first reference refresh rate. After the stylus detects the uplink signal, a code shooting signal can be emitted to the touch screen according to a signal transceiving rule determined in advance based on a preset screen refresh rate set containing the first reference refresh rate. Subsequently, the stylus can continue to detect the uplink signal sent by the touch screen based on the predetermined stylus communication protocol at the first reference refresh rate according to an increased signal detection period. The stylus and the touch screen can reliably and quickly realize the pen writing function between them, the power consumption of the stylus is reduced, and the response delay or screen flicker caused by frequency switching is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application mainly relates to the field of communication technology, more particularly to a signal processing method, device and system. BACKGROUND

[0002] Touch display is a new industry technology developed by the integration of display screen technology and sensor technology, such as TDDI (Touch with Display Driver Integration) In-Cell (In-Cell Touch Solution) active pen technology, which better meets the needs of scenarios such as online education and office work.

[0003] Currently, in order to adapt to various screen refresh rates of a touch screen and meet the touch and display function requirements of the touch screen, developers need to spend a lot of time and effort to pre-configure a corresponding active pen communication protocol for each screen refresh rate, resulting in a very complex communication protocol configured by the active pen. When a user uses the active pen to operate on a touch screen with different screen refresh rates, the active pen communication protocol selection switching operation will cause the touch screen to respond with delay, flash screen and other problems, affecting the user experience. SUMMARY

[0004] Therefore, the present application provides a signal processing method, which comprises:

[0005] Detecting an uplink signal sent by a touch screen based on a predetermined active pen communication protocol, and calling a signal transceiving rule; wherein the predetermined active pen communication protocol is configured for a first reference refresh rate, and the signal transceiving rule is determined based on a preset screen refresh rate set including the first reference refresh rate, and the touch screen supports at least one of the preset screen refresh rate set;

[0006] According to the signal transceiving rule, a code signal is transmitted to the touch screen to increase the signal detection period of the active pen;

[0007] According to the increased signal detection period, the uplink signal sent by the touch screen based on the predetermined active pen communication protocol is detected.

[0008] Optionally, the first reference refresh rate and a second screen refresh rate in the preset screen refresh rate set are in a multiple relationship; the second screen refresh rate refers to a screen refresh rate in the preset screen refresh rate set except the first reference refresh rate;

[0009] The signal transceiving rule is determined based on a preset screen refresh rate set including the first reference refresh rate, which comprises:

[0010] determining a signal detection period of the active pen based on the first reference refresh rate and the second screen refresh rate, and maintaining a signal transmission period of the active pen as a signal transmission period for the first reference refresh rate.

[0011] Optionally, the transmitting the code input signal to the touch screen according to the signal transmission rule and increasing the signal detection period of the active pen comprises:

[0012] transmitting the code input signal to the touch screen according to a refresh period of the first reference refresh rate;

[0013] adjusting the signal detection period of the active pen to a refresh period of a second reference refresh rate, the second reference refresh rate being a minimum screen refresh rate in the preset screen refresh rate set.

[0014] The application further provides a signal processing method, which comprises:

[0015] transmitting an uplink signal to the active pen based on a predetermined active pen communication protocol, wherein the predetermined active pen communication protocol is configured for a first reference refresh rate, the touch screen supports at least one of a preset screen refresh rate set including the first reference refresh rate, and the first reference refresh rate is greater than or equal to a screen refresh rate of the touch screen;

[0016] receiving a code input signal transmitted by the active pen according to a signal transmission rule after the active pen detects the uplink signal, wherein the signal transmission rule is determined based on the preset screen refresh rate set;

[0017] processing the code input signal based on the predetermined active pen communication protocol to determine a touch position of the active pen on the touch screen.

[0018] Optionally, the transmitting the uplink signal to the active pen based on the predetermined active pen communication protocol comprises:

[0019] obtaining a multiple of the first reference refresh rate and a screen refresh rate of the touch screen;

[0020] obtaining a communication timing sequence under the screen refresh rate by using the predetermined active pen communication protocol and the multiple;

[0021] transmitting the uplink signal to the active pen according to the communication timing sequence under the screen refresh rate;

[0022] The processing the code input signal based on the predetermined active pen communication protocol to determine the touch position of the active pen on the touch screen comprises:

[0023] According to the communication timing under the screen refresh rate, the code signal is processed to determine the touch position of the active pen on the touch screen.

[0024] Optionally, the communication timing under the screen refresh rate is obtained based on the predetermined active pen communication protocol and the multiple, and the method comprises:

[0025] The communication timing under the screen refresh rate is obtained by repeating the communication timing of the predetermined active pen communication protocol by the multiple; or,

[0026] The signal uploading interval in the refresh cycle of the screen refresh rate is determined based on the multiple and the signal uploading interval in the refresh cycle of the first reference refresh rate.

[0027] The communication timing under the screen refresh rate is obtained based on the signal uploading interval in the refresh cycle of the screen refresh rate and the communication timing of the predetermined active pen communication protocol.

[0028] The display time in the refresh cycle of the first reference refresh rate is the same as the display time in the refresh cycle of the screen refresh rate.

[0029] Optionally, the communication timing under the screen refresh rate is obtained based on the predetermined active pen communication protocol and the multiple, and the method comprises:

[0030] An application type of the content output by the touch screen is acquired.

[0031] The communication timing under the screen refresh rate is obtained based on the predetermined active pen communication protocol and the multiple according to a signal processing mode corresponding to the application type.

[0032] The application further provides a signal processing device, which comprises:

[0033] A signal transceiving rule calling module is configured to call a signal transceiving rule when detecting an uplink signal transmitted by a touch screen based on a predetermined active pen communication protocol, wherein the predetermined active pen communication protocol is configured for a first reference refresh rate, and the signal transceiving rule is determined based on a preset screen refresh rate set comprising the first reference refresh rate, and the touch screen supports at least one of the preset screen refresh rate set.

[0034] A signal processing module is configured to emit a code signal to the touch screen according to the signal transceiving rule, and increase a signal detection period of an active pen.

[0035] A signal detection module is configured to detect an uplink signal transmitted by the touch screen based on the active pen communication protocol according to the increased signal detection period.

[0036] The application further provides a signal processing device, which comprises:

[0037] The signal sending module is configured to send an uplink signal to the active pen based on a predetermined active pen communication protocol, wherein the predetermined active pen communication protocol is configured for a first reference refresh rate, the touch screen supports at least one of a preset screen refresh rate set including the first reference refresh rate, and the first reference refresh rate is greater than or equal to a screen refresh rate of the touch screen.

[0038] The signal receiving module is configured to receive a code input signal transmitted by the active pen according to a signal transceiving rule after the active pen detects the uplink signal, wherein the signal transceiving rule is determined based on the predetermined screen refresh rate set.

[0039] The signal processing module is configured to process the code input signal based on the predetermined active pen communication protocol, and determine a touch position of the active pen on the touch screen.

[0040] The application further provides a signal processing system, which comprises an active pen and at least one touch device, wherein the touch device has at least one touch screen, the touch screen of the at least one touch device supports at least one of a preset screen refresh rate set including a first reference refresh rate, and the first reference refresh rate is greater than or equal to a screen refresh rate of the touch screen, and wherein:

[0041] The active pen comprises a first communication module, a first memory and a first processor.

[0042] The first memory is configured to store a first program for implementing the signal processing method on the active pen side.

[0043] The first processor is configured to load and execute the first program stored in the first memory, so as to implement the signal processing method on the active pen side.

[0044] The touch device further comprises a second communication module, a second memory and a second processor.

[0045] The second communication module is communicatively connected with the first communication module, so as to realize signal interaction between the touch device and the active pen.

[0046] The second memory is configured to store a second program for implementing the signal processing method on the touch device side.

[0047] The second processor is configured to load and execute the second program stored in the second memory, so as to implement the signal processing method on the touch device side.

[0048] It can be seen that the application provides a signal processing method, device and system. The active pen can send uplink signals to the touch screen based on the predetermined active pen communication protocol determined for the first reference refresh rate. After the active pen detects the uplink signals, the active pen can emit code signals to the touch screen according to the signal transceiving rule determined based on the preset screen refresh rate set containing the first reference refresh rate. Subsequently, the active pen can continue to detect the uplink signals sent by the touch screen based on the predetermined active pen communication protocol under the first reference refresh rate according to the increased signal detection period. The pen writing function between the active pen and the touch screen can be reliably and quickly realized, the power consumption of the active pen is reduced, and the response delay or screen flashing problem caused by frequency switching is avoided. BRIEF DESCRIPTION OF DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of the provided drawings.

[0050] Figure 1 The scene schematic diagram of an optional example of the signal processing system proposed in the present application;

[0051] Figure 2 The hardware structure schematic diagram of another optional example of the signal processing system proposed in the present application;

[0052] Figure 3 The flow schematic diagram of an optional example of the signal processing method proposed in the present application;

[0053] Figure 4 The flow schematic diagram of another optional example of the signal processing method proposed in the present application;

[0054] Figure 5 The flow schematic diagram of another optional example of the signal processing method proposed in the present application;

[0055] Figure 6 The flow schematic diagram of another optional example of the signal processing method proposed in the present application;

[0056] Figure 7 The optional communication timing schematic diagram under multiple screen refreshes determined based on the predetermined active pen communication protocol suitable for the signal processing method proposed in the present application;

[0057] Figure 8a The communication timing schematic diagram under 60Hz screen refresh;

[0058] Figure 8b The table display intent is adapted to a 60Hz screen refresh rate;

[0059] Figure 9 To be applicable to the signal processing method proposed in this application, here is another optional communication timing diagram under various screen refreshes determined based on a predetermined active pen communication protocol;

[0060] Figure 10 This is a schematic diagram of an optional example of the active pen-side signal processing device proposed in this application;

[0061] Figure 11 This is a schematic diagram of another optional example of the active pen-side signal processing device proposed in this application;

[0062] Figure 12 This is a schematic diagram of an optional example of the signal processing device on the touch device side proposed in this application;

[0063] Figure 13 This is a schematic diagram of another optional example of the signal processing device on the touch device side proposed in this application. Detailed Implementation

[0064] To address the technical problems described in the background section, this application aims to enable the active pen to be compatible with multiple communication protocols, achieving data interaction with touchscreens of various refresh rates. Furthermore, when switching between touchscreens with different refresh rates, it avoids switching and calling tables adapted to the corresponding communication protocols. Instead, it allows for pen-writing data interaction with touchscreens of different refresh rates according to a fixed communication sequence and a corresponding table. In other words, when a user performs pen-writing operations on touchscreens with multiple refresh rates, after detecting uplink signals sent by the touchscreen, it can send a coding signal to the touchscreen according to a preset signal transmission and reception rule, and continue to detect uplink signals sent by the touchscreen at a preset low signal detection frequency. This satisfies the pen-writing function while reducing the power consumption of the active pen and solves technical problems such as response delay and screen flicker caused by frequency switching, thus improving the user's pen-writing experience.

[0065] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0066] Reference Figure 1Fig. 1 is a schematic diagram of a scenario of an optional example of a signal processing system proposed in the present application, which can include a stylus 110 and at least one touch device 120, the touch device 120 can have at least one touch screen 121, and the touch screen 121 of the at least one touch device 120 can support one of a preset screen refresh rate set including a first reference refresh rate, the first reference refresh rate is greater than or equal to the screen refresh rate of the touch screen, and the present application does not limit the values of the screen refresh rates included in the preset screen refresh rate set.

[0067] For example, the preset screen refresh rate set can include 120Hz, 60Hz, 30Hz, 15Hz, etc., or 90Hz, 45Hz, 15Hz, etc., and the corresponding first reference refresh rate can be 120Hz or 90Hz, etc. under different preset screen refresh rate sets.

[0068] In the embodiments of the present application, the touch device 120 can include, but is not limited to, a smart phone, a tablet computer, a netbook, a vehicle-mounted device, a smart medical device, a smart traffic device, a desktop computer, a display, etc. terminal, such as Figure 1 Fig. 2 is a schematic diagram of an application scenario, the stylus 110 can be used as an external input accessory of the touch device 120, and in the process of operating the touch screen of the touch device, the stylus 110 can emit a code signal at the tip, which can be detected by the detection electrode distributed on the touch screen, and the touch position of the tip on the touch screen can be calculated accordingly, and the pen writing function can be realized. The working principle of how the stylus 110 emits the code signal is not described in detail.

[0069] In actual application, the user can use the stylus to perform pen writing operation on any touch device supporting any screen refresh rate in the preset screen refresh rate set, or on different touch devices in different screen refresh rates, or on touch screens in different screen refresh rates, etc. In the process of pen writing operation, the stylus can implement the signal processing method proposed in the following method embodiments, compatible with the multiple screen refresh rates, and realize the pen writing function on the touch screen.

[0070] In the above pen writing operation process, in the case that the same touch device includes multiple touch screens, and the multiple touch screens are in different screen refresh rates at the same time, the user holding the stylus performs mobile touch operation on the multiple touch screens, and any touch screen subjected to the touch operation can determine the touch position of the stylus, output the handwriting of the stylus on the touch screen, and complete the pen writing function based on the predetermined stylus communication protocol, implement the process by referring to the method embodiments described from the touch device side below, and the present application does not make detailed description here.

[0071] Referring to Figure 2 , a hardware structure diagram of another optional example of the signal processing system proposed in the present application is shown in Figure 2 The hardware structure of an optional example of the active pen suitable for the signal processing method proposed in the present application is shown in FIG. 11. The active pen 110 can include, but is not limited to, a first communication module 111, a first memory 112, and a first processor 113, wherein:

[0072] In order to realize the signal interaction between the active pen 110 and the touch device 120 and complete the pen writing operation on the touch screen, the first communication module 11 can include a signal receiving electrode and a signal transmitting electrode, etc. The uplink signal transmitted by the touch screen is detected through the signal receiving electrode, and the code hitting signal is transmitted through the signal transmitting electrode. In combination with the above description of the active pen, the signal transmitting electrode can be installed at the pen tip of the active pen 110 body, and the signal receiving electrode can be installed at the other end of the active pen 110 body or also arranged at the pen tip, but is not limited to this electrode deployment manner, which can be flexibly adjusted as appropriate.

[0073] In addition, the above-mentioned first communication module 111 can also include a communication module capable of realizing data interaction by using wireless signals, such as a Bluetooth module, a WIFI module, a 5G / 6G (5th generation mobile communication network / 6th generation mobile communication network) module, a GPRS module, a radio frequency communication module, etc., so as to realize the data interaction between the active pen 110 and other electronic devices, meet other application requirements, such as voice recognition function, etc. The implementation process of other applications is not described in detail herein.

[0074] It should be understood that the above-mentioned first communication module 111 can also include a communication interface for realizing the data interaction between the internal components of the active pen 110, such as a USB interface, a serial / parallel port, etc. The type of the first communication module 111 and its circuit structure are not limited in the present application, which can be determined as appropriate.

[0075] The first memory 112 can be used to store the first program for implementing the signal processing method executed on the active pen side proposed in the present application; the first processor 113 can be used to load and execute the first program stored in the first memory 112, so as to implement the signal processing method executed on the active pen side proposed in the present application. The implementation process can refer to the method embodiments described below from the active pen side.

[0076] In practical applications, the number of each of the first communication module 111, the first memory 112 and the first processor 113 can be at least one, and the first communication module 111, the first memory 112 and the first processor 113 can be connected to a communication bus in the active pen 110 to realize data interaction between each component in the active pen 110 through the communication bus. The implementation process is not described in detail herein.

[0077] In the embodiment of the present application, the first memory 112 can include a high-speed random access memory and can also include a non-volatile memory, such as at least one magnetic disk storage device or other volatile solid-state storage device. The first processor 113 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a ready-to-program gate array (FPGA) or other programmable logic device, etc. The structure of the first memory 112 and the first processor 113 and their models are not limited in the present application and can be flexibly adjusted according to actual needs.

[0078] It should be understood that, Figure 1 It should be understood that the structure of the active pen 110 shown does not constitute a limitation on the active pen in the embodiments of the present application. In practical applications, the active pen 110 can include more components than those shown or combine certain components, such as a battery, a speaker, a microphone, etc., which are not enumerated one by one herein. Figure 1

[0079] Referring to the hardware structure of an optional example of a touch control device applicable to the signal processing method proposed in the present application shown in FIG. 2, the touch control device 120 can include but is not limited to at least one touch screen 121, a second communication module 122, a second memory 123 and a second processor 124, wherein:

[0080] The touch screen 121 can determine the screen refresh rate for outputting the content according to the application type of the content to be output. Thus, for different application types of the content to be output, the screen refresh rate of the touch screen for outputting the content to be output can be the same or different, which can be determined according to the refresh rate configuration requirement. The configuration method of the screen refresh rate of the touch screen for outputting the content and the signal processing method of the touch screen 122 for outputting the content are not described in detail herein.

[0081] ​It should be noted that the touch screen is of a TDDI (Touch and Display Driver Integration) In-Cell touch display technology, which realizes touch interaction with the active pen and signal processing on the content to be output, and outputs the content. The composition structure and functional configuration of the touch screen supporting the touch display technology will not be described in detail herein.

[0082] In addition, in the case where the touch device 120 includes multiple touch screens, the multiple touch screens can be deployed on different surfaces of the body of the touch device 120, or on the same surface. In order to meet the processing requirements of different applications, the multiple touch screens can each support multiple screen refresh rates, and at the same time, the multiple touch screens can be at different screen refresh rates and output different application contents. Of course, at least two of the multiple touch screens can also be at the same screen refresh rate, and the application does not limit the screen refresh rates supported by the multiple touch screens and the screen refresh rates at the same time, which can be determined as appropriate.

[0083] The second communication module 122 can include a signal transceiver circuit, which can include a signal transmitting electrode (a signal transmitting circuit for transmitting an uplink signal) and a signal receiving electrode (a signal receiving circuit for acquiring a code signal), etc., to realize signal interaction between the active pen 110 and the touch device 120 and complete the pen writing function. It should be noted that the circuit for realizing signal interaction between the active pen 110 and the touch device 120 includes but is not limited to a signal transceiver frequency electrode, and can also be realized by other signal transceiver devices, which will not be enumerated one by one. Optionally, the above-mentioned signal transceiver circuit can be deployed in the corresponding touch screen to support the touch screen to send an uplink signal to the active pen and receive a code signal transmitted by the active pen, and the working principle will not be described in detail.

[0084] In order to realize data interaction between the touch device 120 and other electronic devices, the second communication module 122 can include a communication module capable of realizing data interaction by using wireless signals, such as a Bluetooth module, a WIFI module, a 5G / 6G (fifth generation mobile communication network / sixth generation mobile communication network) module, a GPRS module, a short distance communication module, etc., so that the touch device 120 meets other application communication requirements by using the configured second communication module 122. In addition, the second communication module 122 of the touch device 120 can also include data interfaces such as a USB interface, a serial / parallel port, an I / O interface, etc., by which data transmission between different constituent devices in the touch device 120 is realized, the corresponding functions of the touch device 120 are realized, and the implementation process will not be described in detail.

[0085] The second memory 123 can be configured to store a second program for implementing the signal processing method performed by the stylus device, and the first processor 124 can be configured to load and execute the second program stored in the first memory 123 to implement the signal processing method performed by the stylus device. The implementation process can refer to the method embodiments described below from the perspective of the stylus device.

[0086] The device types of the second memory 123 and the first processor 124 can refer to the related descriptions of the device types of the first memory 112 and the first processor 113 above, and the embodiments of the present application will not be repeated here.

[0087] In some embodiments of the present application, the stylus device 120 can further include at least one input device such as a keyboard, a mouse, a camera, a sound pickup device, at least one output device such as a speaker, a vibration mechanism, a lamp, an antenna, a battery management component, etc. The composition of the stylus device 120 is not limited in the present application, and the above-mentioned components are only examples and are not limited thereto. The composition of the stylus device 120 can be determined according to the type and function of the stylus device 120.

[0088] Reference Figure 3 The flowchart of an optional example of the signal processing method of the present application can be executed by the stylus, as shown in Figure 3 The method can include the following steps:

[0089] In step S31, the uplink signal sent by the touch screen based on the predetermined stylus communication protocol is detected, and the signal transceiving rule is called.

[0090] According to the related descriptions of the technical solutions of the present application above, the stylus can complete the pen writing operation according to a fixed signal transceiving rule, which can be compatible with touch screens with multiple screen refresh rates. Therefore, the signal transceiving rule of the stylus can be determined based on a preset screen refresh rate set including a first reference refresh rate. The generation process of the signal transceiving rule can refer to but not limited to the descriptions of the corresponding parts of the embodiments below, and the embodiments of the present application will not be described in detail here.

[0091] The touch screen at least supports one of the preset screen refresh rate set. The first reference refresh rate can be the maximum screen refresh rate in the plurality of screen refresh rates included in the preset screen refresh rate set, such as 120Hz or 90Hz, which can be determined according to the screen refresh rate values included in the preset screen refresh rate set.

[0092] After determining the value of the first reference refresh rate, the active pen communication protocol can be configured for the first reference refresh rate, i.e., determining the communication timing represented by the table under the first reference refresh rate, and then determining it as the predetermined active pen communication protocol for the touch screen under different screen refresh rates to implement the sending of the uplink signal and the receiving and processing of the code signal.

[0093] In step S32, a code signal is transmitted to the touch screen according to the signal transceiving rule, and the signal detection period of the active pen is increased.

[0094] In step S33, the uplink signal sent by the touch screen based on the predetermined active pen communication protocol is detected according to the increased signal detection period.

[0095] After the above analysis, the signal transceiving rule capable of being downward compatible with multiple screen refresh rates from the first reference refresh rate can be generated in advance and stored in the first memory of the active pen. In this way, during the pen writing operation of the user on the touch screen of any touch device using the active pen, after detecting the uplink signal sent by the touch screen based on the predetermined active pen communication protocol, the pre-stored signal transceiving rule can be retrieved, and the signal transmission characteristics of the subsequent transmitted code signal, such as signal transmission frequency / period, amplitude, etc., and the signal detection characteristics of the subsequent detected uplink signal, such as signal detection frequency / period, etc., can be determined according to the content of the signal transceiving rule. Subsequently, the uplink signal sent by the touch screen can be continuously detected, and the code signal can be transmitted, and the implementation process will not be described in detail in the embodiments of the present application.

[0096] According to the above description of the signal transceiving rule and the predetermined active pen communication protocol, in order to be compatible with multiple screen refresh rates of the touch screen, the corresponding communication timing can be timely and reliably aligned when switching between different screen refresh rates, the response delay can be reduced, and the screen flashing can be avoided. Therefore, the multiple screen refresh rates compatible with the signal processing rule of the active pen can have a multiple relationship, such as 120Hz, 60Hz, 30Hz, 15Hz, etc. 120Hz is selected as the first reference refresh rate, and the signal transceiving rule of the active pen is configured according to the above method.

[0097] In this way, the active pen can continue to emit the code signal according to the original signal emission frequency during the signal transceiving operation according to the signal transceiving rule, for example, the emission electrode of the active pen can normally emit the code signal according to the predetermined active pen communication protocol of the first reference refresh rate. In order to make the predetermined active pen communication protocol compatible with the pen writing function of multiple screen refresh rates, and ensure that the touch control screen receives the touch point rate of the active pen, the signal receiving electrode of the active pen can be adjusted to a lower refresh rate by default, for example, the first reference refresh rate. Subsequently, the signal receiving electrode can continue to detect the uplink signal sent by the touch control screen based on the predetermined active pen communication protocol of the first reference refresh rate according to a larger signal detection period, reliably and quickly realize the pen writing function between the active pen and the touch control screen, reduce the power consumption of the active pen, and avoid the screen flashing problem of the touch control screen.

[0098] Referring to Figure 4 For another optional example of the signal processing method proposed in the application, the method can still be executed by the active pen, and the embodiment can describe an optional detailed implementation of the signal processing method proposed above, but is not limited to this detailed implementation. As shown in Figure 5 The signal processing method proposed in the embodiment can include:

[0099] In step S41, the signal detection period of the active pen is determined based on the first reference refresh rate and the second screen refresh rate, and the signal emission period of the active pen is maintained as the signal emission period for the first reference refresh rate.

[0100] In step S42, the signal transceiving rule of the active pen is generated and stored by using the determined signal detection period and signal emission period of the active pen.

[0101] In the active pen application scenario, the screen refresh rate supported by the touch control screen of each touch control device that is expected to participate in the active pen interaction scenario can be determined in the embodiment, and the obtained set composed of multiple screen refresh rates in a multiple relationship, i.e., the preset screen refresh rate set, is determined as the maximum screen refresh rate, i.e., the first reference refresh rate. It can be seen that the first reference refresh rate and the second screen refresh rate in the preset screen refresh rate set are in a multiple relationship. The second screen refresh rate can refer to the screen refresh rate in the preset screen refresh rate set except the first reference refresh rate, and the application does not limit the number of screen refresh rates contained in the preset screen refresh rate set.

[0102] It should be understood that in different application scenarios, the screen refresh rate supported by the touch device actually used or having the use right can dynamically change and does not necessarily contain all the screen refresh rates in the preset screen refresh rate set, therefore, the embodiment of the application can determine the corresponding first reference refresh rate according to the active pen application scenario, and the first reference refresh rate determined can be different or the same, depending on the situation.

[0103] In combination with the related description of the technical concept of the application above, in the case of determining the predetermined active pen communication protocol for the first reference refresh rate, in order to ensure that the predetermined active pen communication protocol can be compatible with the pen writing function of multiple screen refresh rates, it is proposed that the signal detection period of the uplink signal can contain the refresh period of multiple screen refresh rates, and the signal detection period and each refresh period have a multiple relationship, which can be timely aligned when switching the screen refresh rate, so that the signal transceiving mode after switching the screen refresh rate remains unchanged.

[0104] Therefore, after the active pen detects the uplink signal, the refresh period of the lower second screen refresh rate can be determined as the subsequent signal detection period of the active pen based on the determined first reference refresh rate and multiple second screen refresh rates, and in order to ensure that the handwriting is uninterrupted during handwriting, the signal transmission period of the active pen can be maintained unchanged, that is, the code hitting signal can still be transmitted according to the refresh period of the first reference refresh rate, and the adjustment method of the signal detection period and the signal transmission period after the active pen detects the uplink signal is determined as the signal transceiving rule.

[0105] It should be understood that in the case that the preset screen refresh rate set supported by the touch device in the active pen application scenario is different, the signal transceiving rule suitable for the active pen in the application scenario can be determined and stored according to the method described above. It can be seen that in the case that the preset screen refresh rate set is different, the content of the signal transceiving rule configured according to the above method can be different, that is, the determined signal detection period and signal transmission period can be different, and the application does not make one-by-one examples.

[0106] For example, in the case of selecting 120Hz as the first reference refresh rate, the screen refresh rate set is composed of 120Hz, 60Hz, 30Hz, 15Hz, etc., and the timing setting is performed based on the high screen refresh rate of 120Hz in this embodiment, and the table table suitable for 120Hz is obtained, and the implementation process is not described in detail in the embodiment of the application.

[0107] Therefore, the active pen is expected to be compatible with the 60Hz, 30Hz, 15Hz and other second screen refresh rates of the communication protocol of 120Hz. When the active pen does not detect the uplink signal sent by the touch screen, i.e., before the active pen communicates with the touch device, the signal detection frequency of the signal receiving electrode (i.e., the Rx electrode) of the active pen can be 120Hz, and the uplink signal is continuously detected according to the predetermined active pen communication protocol. After the active pen detects the uplink signal sent by the touch screen, i.e., after the active pen establishes a communication connection with the touch device, the signal detection frequency of the Rx electrode of the active pen can be reduced to 15Hz, and the Tx electrode of the active pen can still transmit the code signal at 120Hz, i.e., the active pen always transmits the normal downlink signal (i.e., the code signal) at the first reference refresh rate to complete the pen writing function.

[0108] Based on the above analysis, in actual application, the application can select the maximum screen refresh rate as the first reference refresh rate and the minimum screen refresh rate as the second reference refresh rate from the preset screen refresh rate set, so as to determine that the refresh period of the first reference refresh rate is the default signal detection period and signal transmission period of the active pen, and at the same time, determine that the refresh period of the second reference refresh rate is the signal detection period to which the active pen is adjusted after detecting the uplink signal, and maintain the default signal transmission period unchanged.

[0109] Step S43, detecting the uplink signal sent by the touch screen based on the predetermined active pen communication protocol, and calling the stored signal transceiving rule;

[0110] Step S44, determining the refresh period of the first reference refresh rate as the signal transmission period according to the signal transceiving rule, and adjusting the signal detection period of the active pen to the refresh period of the second reference refresh rate;

[0111] The second reference refresh rate is the minimum screen refresh rate in the above-mentioned preset screen refresh rate set, such as 15Hz in the above-mentioned example.

[0112] Step S45, transmitting the code signal to the touch screen according to the determined signal transmission period, and continuing to detect the uplink signal sent by the touch screen based on the predetermined active pen communication protocol according to the adjusted signal detection period.

[0113] As to the sending of the uplink signal by the touch screen and the processing of the received code signal, reference can be made to the description of the corresponding part of the method embodiment of the touch device side below. After the active pen pre-constructs the signal transceiving rule according to the above method, in the actual pen writing application, after detecting the uplink signal sent by the touch screen at any screen refresh rate, the active pen can determine the signal detection period / frequency of the active pen in the pen writing operation process according to the content of the signal transceiving rule, and continue to detect the uplink signal sent by the touch screen, thereby ensuring the reliability of the communication connection while reducing the power consumption of the active pen.

[0114] Since the active pen always transmits the code signal at the signal transmission period under the first reference refresh rate, the touch screen of the touch device can process the received code signal based on the predetermined active pen communication protocol for the first reference refresh rate to determine the touch position of the active pen on the touch screen. The handwriting of the active pen on the touch screen is smooth and coherent.

[0115] For example, still taking the scenario where the preset screen refresh rate set is composed of 120Hz, 60Hz, 30Hz, 15Hz, etc., and 120Hz is selected as the first reference refresh rate and 15Hz is selected as the second reference refresh rate as an example for description. It can be seen that one frame time under 15Hz includes 8 frame times under 120Hz, 4 frame times under 60Hz, and 2 frame times under 30Hz. According to the signal transceiving rule described above, the active pen and the touch screen with any screen refresh rate perform touch interaction to realize the pen writing operation. After the active pen detects the uplink signal sent by the touch screen based on the predetermined active pen communication protocol configured for 120Hz, the active pen can send a code signal once every frame time in the continuous 8 frame times under 120Hz, that is, the active pen can send 8 code signals to the touch screen in the continuous 8 refresh periods under 120Hz after detecting the uplink signal once. The implementation process of each code signal transmission and the number of coordinate code bits contained in each transmitted code signal are not described in detail and can be determined according to the principle of pen writing code.

[0116] In this way, in the scenario where the touch screen is switched from 120Hz to 30Hz, since the communication timing under any screen refresh rate of the touch screen is determined based on the active pen communication protocol configured based on 120Hz, and the two are in a multiple relationship, the communication timing of the original screen refresh rate can be aligned with the communication timing of the screen refresh rate after the switch in time, thereby avoiding technical problems such as response delay and screen flashing and improving the user's pen writing experience.

[0117] Reference Figure 5 The flowchart of another optional example of the signal processing method proposed in the present application can be executed by the touch device, such as Figure 5As shown, the method can include:

[0118] Step S51, sending an uplink signal to the active pen based on a predetermined active pen communication protocol;

[0119] In combination with the above description of the technical concept of the present application, and the signal processing method described from the active pen side, at any screen refresh rate of the preset screen refresh rate of the touch screen of the touch device, such as any screen refresh rate after the touch screen is started, or the touch screen is switched from a certain screen refresh rate to another screen refresh rate, or the active pen is moved from a touch screen A with a screen refresh rate A to a touch screen B with a screen refresh rate B for pen writing operation, etc. In order to realize the pen writing function, the current touch screen of the touch device can send an uplink signal to the active pen based on the communication timing under the predetermined active pen communication protocol.

[0120] As described above, the predetermined active pen communication protocol can be configured for the first reference refresh rate, the touch screen at least supports one of the preset screen refresh rate set including the first reference refresh rate, and the first reference refresh rate is greater than or equal to the screen refresh rate of the touch screen, such as the preset screen refresh rate set composed of 120Hz, 60Hz, 30Hz, 15Hz, etc. The first reference refresh rate can be 120Hz, and in some application scenarios, 60Hz can also be selected as the first reference refresh rate; the preset screen refresh rate set composed of 90Hz, 45Hz, the first reference refresh rate can be 90Hz, but not limited to the preset screen refresh rate set content and the value of the first reference refresh rate listed in the present application embodiment.

[0121] Step S52, receiving the code shooting signal transmitted by the active pen according to the signal transceiving rule after detecting the uplink signal;

[0122] For the implementation process of the active pen transmitting the code shooting signal, please refer to the description of the corresponding part of the method embodiment executed by the active pen in the above, which will not be repeated here. As described above, the signal transceiving rule can be determined based on the plurality of screen refresh rates contained in the preset screen refresh rate set, and the implementation process will not be described in detail in this embodiment.

[0123] Step S53, processing the code shooting signal based on the predetermined active pen communication protocol to determine the touch position of the active pen on the touch screen.

[0124] The touch screen at any screen refresh rate in the preset screen refresh rate set is based on the predetermined active pen communication protocol determined for the first reference refresh rate to process the code shooting signal from the active pen to determine the touch position of the active pen on the touch screen, and complete the pen writing function of the active pen on the touch screen.

[0125] As to the processing procedure of the touch device to the received code hitting signal, the working principle of the TDDI In-cell touch display technology can be used to meet the touch interaction requirement and content display requirement of the touch screen, which will not be described herein.

[0126] In summary, in the embodiment of the present application, in the case that one or more touch screens of the touch device support multiple screen refresh rates, since each touch screen of the touch device follows the predetermined active pen communication protocol determined for the first reference refresh rate, any touch screen in the running state can send uplink signals to the active pen based on the predetermined active pen communication protocol, since the active pen communication protocol is compatible with multiple screen refresh rates, after the active pen detects the uplink signal, the active pen transmits code hitting signals to the touch screen according to a fixed signal transmission rule, and increases the subsequent signal detection period, so as to continue to detect the uplink signals sent by the touch screen according to the increased signal detection period, complete the pen writing function of the active pen and the touch screen, ensure smooth and uninterrupted handwriting, and solve the response delay or screen flashing problem caused by frequency switching in the processing mode of configuring multiple active pen communication protocols corresponding to different screen refresh rates.

[0127] Reference Figure 6 The flowchart of another optional example of the signal processing method proposed in the present application can describe an optional detailed implementation of the signal processing method performed by the touch device, but is not limited to this detailed implementation method. As shown in Figure 6 , the detailed implementation method can include but is not limited to:

[0128] Step S61: obtaining the multiple of the first reference refresh rate and the screen refresh rate of the touch screen;

[0129] Step S62: obtaining the communication timing under the screen refresh rate by using the predetermined active pen communication protocol and the multiple;

[0130] In the embodiment of the present application, the multiple screen refresh rates contained in the preset screen refresh rate set that can be supported by the touch screen of different touch devices or different touch screens of a unified touch device or the same touch screen are in a multiple relationship. In order to simplify the communication protocol between the active pen and the touch screen and ensure the high compatibility of the communication protocol, after the predetermined active pen communication protocol is obtained by setting the timing based on the high screen refresh rate, the predetermined active pen communication protocol can be multiplied to obtain the communication timing under the screen refresh rate currently occupied by the touch screen.

[0131] For example, still taking the scenario of the preset screen refresh rate set composed of 120Hz, 60Hz, 30Hz, 15Hz and the like as an example, referring to Figure 7The communication timing diagram under the plurality of screen refreshes determined based on the predetermined active pen communication protocol is shown. If the first reference refresh rate is 120 Hz, the embodiment determines the predetermined active pen communication protocol based on 120 Hz, and obtains, for example, Figure 7 The communication timing diagram under the screen refresh rate of 120 Hz shown in the first row. In each refresh period of 8.33 ms under 120 Hz, the uplink signal can be transmitted according to the same communication timing, the received code signal and the to-be-output content are processed, and the pen writing function and the display function of the touch screen are met.

[0132] When the touch screen switches to the screen refresh rate of 60 Hz, the frame time becomes twice that under 120 Hz, that is, the refresh period under 60 Hz is twice that under 120 Hz. In order to make the predetermined active pen communication protocol compatible with the screen refresh rate of 60 Hz, if the porch interval of the touch screen under different screen refresh rates is to be kept unchanged, the communication timing of the predetermined active pen communication protocol can be repeated by the multiple, and the communication timing under the screen refresh rate is obtained, for example, Figure 7 The communication timing corresponding to the screen refresh rate of 60 Hz in the middle. In the frame / refresh period of 60 Hz, the communication timing of two frames under 120 Hz can be executed.

[0133] The communication timing of the active pen communication protocol is determined directly for the screen refresh rate of 60 Hz, for example, Figure 8a The table of the active pen communication protocol adapted to the screen refresh rate of 60 Hz is obtained, for example, Figure 8b As shown, the communication timing of the predetermined active pen communication protocol is directly proposed in the embodiment, and the multiple obtained is reused, which greatly saves the communication protocol configuration workload. Under the screen refresh rate of 60 Hz, the table configured for 120 Hz can still be called for signal processing, and the problems such as response delay or screen flicker caused by the table after the call switching are avoided.

[0134] In the above communication timing diagram, V can represent vertical synchronization (synchronization with the frame number of the display), and can indicate the place where the last line of the touch screen scan line ends and the first line of the scan begins; U can represent uplink, and the interval corresponding to V and U can indicate the porch interval or the vblank (field blanking) region, Figure 7 1-9 in the middle (corresponding to Figure 8a T in the middle) t may represent the touch processing time for realizing the touch function of the touch screen, such as the processing time of the code signal; and the interval time between the serial numbers (which can correspond to Figure 8a T in the middle)d ) can represent the display time of the touch screen. Figure 7 T can represent the last refresh cycle of the touch screen under 120Hz. f Time can represent the synchronization alignment time.

[0135] Similarly, if the touch screen switches to a screen refresh rate of 30Hz, the frame time of 30Hz is four times that of 120Hz, so the communication timing of the preset active pen communication protocol under 120Hz can be repeated 4 times to form the communication timing performed within a frame time under 30Hz; if the touch screen switches to a screen refresh rate of 15Hz, the communication timing of the preset active pen communication protocol under 120Hz can be repeated 8 times to form the communication timing performed within a frame time under 15Hz.

[0136] In the scenario where the preset screen refresh rate set contains multiple screen refresh rates of 90Hz and 45Hz, referring to the communication timing of the predetermined active pen communication protocol shown in Figure 9 , the predetermined active pen communication protocol can be determined based on 90Hz to obtain the communication timing under a screen refresh rate of 90Hz as shown in the first row of Figure 9 . In this way, when the touch screen switches from 90Hz to 45Hz, or when the touch screen is at 45Hz, the communication timing of the preset active pen communication protocol under 90Hz can be repeated twice to form the communication timing performed within a frame time under 45Hz. For the application scenario of the preset screen refresh rate set containing content, the communication timing under other screen refresh rates can still be obtained by reusing the communication protocol of the high screen refresh rate, without configuring multiple tables and switching and calling during the frequency switching process, ensuring timely response.

[0137] In some embodiments of the present application, the Porch interval within the refresh cycle of different screen refresh rates supported by the touch screen can dynamically change to determine the communication timing under different screen refresh rates in the form of inserting Porch. Therefore, the above step S62 can further include: determining the signal upload interval within the refresh cycle of the current screen refresh rate based on the multiple and the signal upload interval within the refresh cycle of the first reference refresh rate; then, the communication timing under the screen refresh rate can be obtained based on the signal upload interval within the refresh cycle of the screen refresh rate and the communication timing of the predetermined active pen communication protocol; wherein the display time within the refresh cycle of the first reference refresh rate is the same as the display time within the refresh cycle of the screen refresh rate.

[0138] For example, the predetermined active pen communication protocol is still determined based on 120Hz to obtain the communication timing under different screen refresh rates as shown in Figure 7The communication timing under the screen refresh rate of 120Hz shown in the first row, if the touch screen switches to 60Hz, in a frame time under the 60Hz, the porch interval (i.e. the uplink interval) can be adjusted to 8.33ms+the porch interval under the 120Hz, which is equivalent to that in the first 8.33ms of the two 8.33ms timing periods of a frame under the 60Hz, the first 8.33ms is the porch interval, the uplink signal can be sent to the active pen, but no display processing is performed, in the second 8.33ms, the signal processing can be normally performed according to the communication timing under the screen refresh rate of 120Hz, so that the display time in a refresh period under the 60Hz is the same as that in a refresh period under the 120Hz, which reduces the display quality under the 60Hz to a certain extent, and also reduces the power consumption of the touch device.

[0139] Similarly, after the touch screen switches to 30Hz, the porch interval in a frame time is adjusted to 3*8.33ms+the porch interval under the 120Hz, and only in the last 8.33ms, the signal processing is normally performed according to the communication timing under the screen refresh rate of 120Hz, which reduces the display quality of the screen refresh rate of 30Hz, and also reduces the power consumption.

[0140] Therefore, in order to meet the application display requirements, the application can obtain the application type of the content output by the touch screen, so as to obtain the communication timing under the screen refresh rate according to the signal processing mode corresponding to the application type, such as the above porch interval unchanged or the porch insertion mode, based on the predetermined active pen communication protocol and the multiple, the implementation process can refer to the description of the corresponding part in the above, and the embodiment will not be described here. Therefore, for the application type with high display quality requirement, the signal processing mode with unchanged porch interval can be used to determine the communication timing under different screen refresh rates; otherwise, if the display quality requirement is not high, in order to reduce the power consumption, the signal processing mode with porch insertion can be used to determine the communication timing under different screen refresh rates.

[0141] It should be noted that in the above-mentioned signal processing mode of porch insertion, the clock signal of the touch device needs to be adaptively adjusted to support the signal processing method using the communication timing obtained by using this signal processing mode, and the implementation process can be determined according to the control relationship between the clock signal and the communication timing of the active pen communication protocol, which will not be described in detail herein.

[0142] Step S63, sending the uplink signal to the active pen according to the communication timing under the screen refresh rate;

[0143] Step S64, receiving the code signal emitted by the active pen according to the signal transceiving rule after detecting the uplink signal;

[0144] Step S65, according to the communication timing under the screen refresh rate, processing the code signal, determining the touch position of the active pen on the touch screen.

[0145] It can be seen that the touch screen of the touch device is under any screen refresh rate in the preset screen refresh rate set, the communication timing under the screen refresh rate can be directly multiplexed several times according to the predetermined active pen communication protocol, the uplink signal is sent to the active pen according to the communication timing under the screen refresh rate, the communication connection between the touch screen and the active pen is established, after the active pen emits the code signal according to the fixed signal processing rule, the touch screen can directly call the table corresponding to the predetermined active pen communication protocol, and process the received code signal according to the communication timing under the screen refresh rate, complete the pen writing function, avoid the response delay or screen flashing problem caused by frequency switching, and reduce the power consumption of the active pen and the touch device.

[0146] Reference Figure 10 An optional example of the signal processing device of the active pen side proposed in the present application is shown in the structure schematic diagram as shown in the figure. Figure 10 The device can include:

[0147] The signal transceiving rule calling module 101 is used for detecting the uplink signal sent by the touch screen based on the predetermined active pen communication protocol, and calling the signal transceiving rule.

[0148] The predetermined active pen communication protocol is configured for a first reference refresh rate, the signal transceiving rule is determined based on a preset screen refresh rate set including the first reference refresh rate, and the touch screen at least supports one of the preset screen refresh rate set.

[0149] The signal processing module 102 is used for emitting the code signal to the touch screen according to the signal transceiving rule, and increasing the signal detection period of the active pen.

[0150] The signal detection module 103 is used for detecting the uplink signal sent by the touch screen based on the predetermined active pen communication protocol according to the increased signal detection period.

[0151] In some embodiments, if the first reference refresh rate and the second screen refresh rate in the preset screen refresh rate set are in a multiple relationship; the second screen refresh rate refers to the screen refresh rate in the preset screen refresh rate set except the first reference refresh rate, the device can further include:

[0152] The signal transceiving rule configuration module is used for determining the signal transceiving rule based on the preset screen refresh rate set of the first reference refresh rate.

[0153] Optionally, the signal transceiving rule configuration module can include:

[0154] a configuration unit configured to determine a signal detection period of the active pen based on the first reference refresh rate and the second screen refresh rate, and maintain a signal transmission period of the active pen as a signal transmission period for the first reference refresh rate.

[0155] In some embodiments, as shown in Figure 11 The signal processing module 102 can include:

[0156] a code input signal transmission unit 1021 configured to transmit a code input signal to the touch screen according to a refresh period of the first reference refresh rate;

[0157] a signal detection period adjustment unit 1022 configured to adjust a signal detection period of the active pen to a refresh period of a second reference refresh rate, the second reference refresh rate being a minimum screen refresh rate in the preset screen refresh rate set.

[0158] Referring to Figure 12 An optional example of a signal processing device on the touch device side according to the present application is shown in FIG. 1. The device can include:

[0159] a signal sending module 121 configured to send an uplink signal to the active pen based on a predetermined active pen communication protocol;

[0160] The predetermined active pen communication protocol is configured for a first reference refresh rate, the touch screen supports at least one of a preset screen refresh rate set including the first reference refresh rate, and the first reference refresh rate is greater than or equal to a screen refresh rate of the touch screen.

[0161] a signal receiving module 122 configured to receive a code input signal transmitted by the active pen according to a signal transceiving rule after the active pen detects the uplink signal, the signal transceiving rule being determined based on the preset screen refresh rate set;

[0162] a signal processing module 123 configured to process the code input signal based on the predetermined active pen communication protocol, and determine a touch position of the active pen on the touch screen.

[0163] In some embodiments, as shown in Figure 13 The signal sending module 121 can include:

[0164] a refresh rate multiple obtaining unit 1211 configured to obtain a multiple of the first reference refresh rate and a screen refresh rate of the touch screen;

[0165] a communication timing obtaining unit 1212 configured to obtain a communication timing under the screen refresh rate by using the predetermined active pen communication protocol and the multiple.

[0166] The uplink signal sending unit 1213 is configured to send an uplink signal to the active pen according to a communication timing at the screen refresh rate.

[0167] Based on this, the signal processing module can include:

[0168] The code printing signal processing unit is configured to process the code printing signal according to a communication timing at the screen refresh rate, and determine the touch position of the active pen on the touch screen.

[0169] Optionally, the communication timing obtaining unit can include:

[0170] The first processing unit is configured to multiply the communication timing of the predetermined active pen communication protocol by the multiple to obtain the communication timing at the screen refresh rate; or

[0171] The signal uploading interval determining unit is configured to determine a signal uploading interval in a refresh cycle at the screen refresh rate based on the multiple and the signal uploading interval in a refresh cycle at the first reference refresh rate.

[0172] The second processing unit is configured to obtain the communication timing at the screen refresh rate based on the signal uploading interval in a refresh cycle at the screen refresh rate and the communication timing of the predetermined active pen communication protocol.

[0173] The display time in a refresh cycle at the first reference refresh rate is the same as the display time in a refresh cycle at the screen refresh rate.

[0174] In yet some embodiments, the communication timing obtaining unit can also include:

[0175] The application type obtaining unit is configured to obtain an application type of the content output by the touch screen.

[0176] The third processing unit is configured to obtain the communication timing at the screen refresh rate based on the predetermined active pen communication protocol and the multiple according to a signal processing manner corresponding to the application type.

[0177] It should be noted that, as to various modules, units, etc. in the above-mentioned device embodiments, they can be stored in the memory as program modules, and the processor executes the above-mentioned program modules stored in the memory to realize corresponding functions. As to the functions realized by each program module and its combination, and the achieved technical effects, reference can be made to the descriptions of the corresponding parts of the above-mentioned method embodiments, and the present embodiment will not be described herein.

[0178] The application further provides a computer readable storage medium, on which a computer program can be stored, the computer program can be invoked and loaded by a processor of a device (such as a stylus or a touch device) to implement each step of the signal processing method performed by the stylus side or the touch device side in the above-mentioned embodiments.

[0179] Finally, with respect to the above-mentioned embodiments, unless the context clearly indicates otherwise, the words "one", "an", "a", and / or "the" do not denote a singular form but also include a plural form. Generally, the terms "comprise" and "include" only indicate the inclusion of the steps and elements explicitly identified in the context, and these steps and elements do not constitute an exclusive list, and the method or device can also include other steps or elements. The element defined by the statement "comprise a" does not exclude the presence of another identical element in the process, method, product or device comprising the element.

[0180] In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" in the present text only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent: A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0181] The terms such as "first", "second" and the like involved in the present application are only for the purpose of description, used to distinguish one operation, unit or module from another operation, unit or module, and do not necessarily require or imply any such actual relationship or order between the units, operations or modules. And it cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features, therefore, the features with "first", "second" can explicitly or implicitly include one or more of the features.

[0182] In addition, each embodiment in the present specification is described in a progressive or parallel manner, and each embodiment focuses on the difference from other embodiments, and the same or similar parts between each embodiment can be referred to each other. For the device and computer device disclosed by the embodiments, since it corresponds to the method disclosed by the embodiments, the description is relatively simple, and the relevant parts are referred to the method part.

[0183] The foregoing description of the disclosed embodiments enables a person skilled in the art to make or use the application. Modifications of these embodiments will occur to persons of skill in the art, and that the generic principles defined herein can be applied to other embodiments without departing from the spirit or scope of the application. Therefore, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A signal processing method, comprising: detecting uplink signals sent by a touch screen based on a predetermined active pen communication protocol, and calling a signal transceiving rule; wherein the predetermined active pen communication protocol is configured for a first reference refresh rate, the signal transceiving rule is determined based on a preset screen refresh rate set including the first reference refresh rate, the touch screen supports at least one of the preset screen refresh rate set, the first reference refresh rate and a second screen refresh rate in the preset screen refresh rate set are in a multiple relationship, the second screen refresh rate refers to a screen refresh rate in the preset screen refresh rate set except the first reference refresh rate, and the first reference refresh rate is greater than or equal to a screen refresh rate of the touch screen; transmitting a code signal to the touch screen according to the signal transceiving rule, and increasing a signal detection period of the active pen; detecting uplink signals sent by the touch screen based on the predetermined active pen communication protocol according to the increased signal detection period.

2. The method of claim 1, wherein, The signal transceiving rule determined based on the preset screen refresh rate set including the first reference refresh rate comprises: determining the signal detection period of the active pen based on the first reference refresh rate and the second screen refresh rate, and maintaining a signal transmission period of the active pen as a signal transmission period for the first reference refresh rate. 3.The method of claim 1 or 2, wherein the transmitting a code signal to the touch screen according to the signal transceiving rule, and increasing a signal detection period of the active pen comprises: transmitting a code signal to the touch screen according to a refresh period of the first reference refresh rate; adjusting the signal detection period of the active pen to a refresh period of a second reference refresh rate, the second reference refresh rate being a minimum screen refresh rate in the preset screen refresh rate set. 4.A signal processing method, comprising: sending uplink signals to an active pen based on a predetermined active pen communication protocol; wherein the predetermined active pen communication protocol is configured for a first reference refresh rate, a touch screen supports at least one of a preset screen refresh rate set including the first reference refresh rate, and the first reference refresh rate and a second screen refresh rate in the preset screen refresh rate set are in a multiple relationship, the second screen refresh rate refers to a screen refresh rate in the preset screen refresh rate set except the first reference refresh rate, and the first reference refresh rate is greater than or equal to a screen refresh rate of the touch screen; receiving a code signal transmitted by the active pen according to a signal transceiving rule after detecting the uplink signals, the signal transceiving rule being determined based on the preset screen refresh rate set; processing the code signal based on the predetermined active pen communication protocol, and determining a touch position of the active pen on the touch screen. 5.The method of claim 4, wherein the sending uplink signals to an active pen based on a predetermined active pen communication protocol comprises: obtaining a multiple of the first reference refresh rate and a screen refresh rate of a touch screen; obtaining a communication timing under the screen refresh rate by using the predetermined active pen communication protocol and the multiple. According to the communication timing under the screen refresh rate, an uplink signal is sent to the active pen; According to the communication timing under the screen refresh rate, the code input signal is processed to determine the touch position of the active pen on the touch screen.

6. The method of claim 5, wherein the communication timing under the screen refresh rate is obtained based on the predetermined active pen communication protocol and the multiple, and the method comprises: repeating the communication timing of the predetermined active pen communication protocol by the multiple to obtain the communication timing under the screen refresh rate; or, determining the signal uploading interval in the refresh cycle of the screen refresh rate based on the multiple and the signal uploading interval in the refresh cycle of the first reference refresh rate; obtaining the communication timing under the screen refresh rate based on the signal uploading interval in the refresh cycle of the screen refresh rate and the communication timing of the predetermined active pen communication protocol; wherein the display time in the refresh cycle of the first reference refresh rate is the same as the display time in the refresh cycle of the screen refresh rate.

7. The method of claim 5 or 6, wherein the communication timing under the screen refresh rate is obtained based on the predetermined active pen communication protocol and the multiple, and the method comprises: obtaining the application type of the content output by the touch screen; obtaining the communication timing under the screen refresh rate based on the predetermined active pen communication protocol and the multiple according to the signal processing mode corresponding to the application type.

8. A signal processing device, comprising: a signal transceiving rule calling module configured to detect an uplink signal sent by a touch screen based on a predetermined active pen communication protocol, and call a signal transceiving rule; wherein the predetermined active pen communication protocol is configured for a first reference refresh rate, the signal transceiving rule is determined based on a preset screen refresh rate set including the first reference refresh rate, the touch screen supports at least one of the preset screen refresh rate set; the first reference refresh rate and a second screen refresh rate in the preset screen refresh rate set are in a multiple relationship; the second screen refresh rate refers to a screen refresh rate in the preset screen refresh rate set other than the first reference refresh rate; wherein the first reference refresh rate is greater than or equal to the screen refresh rate of the touch screen; a signal processing module configured to emit a code input signal to the touch screen according to the signal transceiving rule, and increase the signal detection period of the active pen; a signal detection module configured to detect the uplink signal sent by the touch screen based on the active pen communication protocol according to the increased signal detection period.

9. A signal processing device, comprising: ​ The signal sending module is configured to send an uplink signal to the active pen based on a predetermined active pen communication protocol, wherein the predetermined active pen communication protocol is configured for a first reference refresh rate, the touch screen supports at least one of a preset screen refresh rate set including the first reference refresh rate, and the first reference refresh rate and a second screen refresh rate in the preset screen refresh rate set are in a multiple relationship; the second screen refresh rate refers to a screen refresh rate in the preset screen refresh rate set except the first reference refresh rate; and the first reference refresh rate is greater than or equal to a screen refresh rate of the touch screen. The signal receiving module is configured to receive a code shooting signal transmitted by the active pen according to a signal transceiving rule after the active pen detects the uplink signal; and the signal transceiving rule is determined based on the predetermined screen refresh rate set. The signal processing module is configured to process the code shooting signal based on the predetermined active pen communication protocol, and determine a touch position of the active pen on the touch screen.

10. A signal processing system comprising: The active pen and at least one touch device, the touch device has at least one touch screen, the touch screen of the at least one touch device supports at least one of a preset screen refresh rate set including a first reference refresh rate, and the first reference refresh rate and a second screen refresh rate in the preset screen refresh rate set are in a multiple relationship. The second screen refresh rate refers to a screen refresh rate in the preset screen refresh rate set except the first reference refresh rate, and the first reference refresh rate is greater than or equal to a screen refresh rate of the touch screen, wherein: The active pen includes a first communication module, a first memory and a first processor: The first memory is configured to store a first program for implementing the signal processing method according to any one of claims 1-3; The first processor is configured to load and execute the first program stored in the first memory to implement the signal processing method according to any one of claims 1-3; The touch device further includes a second communication module, a second memory and a second processor: The second communication module is capable of being communicatively connected with the first communication module to realize signal interaction between the touch device and the active pen; The second memory is configured to store a second program for implementing the signal processing method according to any one of claims 4-7; The second processor is configured to load and execute the second program stored in the second memory to implement the signal processing method according to any one of claims 4-7.

Citation Information

Patent Citations

  • Stylus detection method, system, and related device

    CN112740152A

  • Method and system applied to signal synchronization system, stylus and electronic equipment

    CN113238609A