Touch screen control method and device, touch screen, and storage medium

CN116449982BActive Publication Date: 2026-08-11MAXEYE SMART TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-07
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

目前,触控屏控制方式常使触控屏的所有区域同步发送上行信号至电容笔,使电容笔在触控屏任意一个区域接收到上行信号后能发送下行信号至触控屏,使触控屏显示电容笔的笔迹,但是当触控屏悬空且电容笔的用户接触触控屏时,用户分别与触控屏和电容笔产生寄生电容,使得电容笔接地端的电位随上行信号的变化而变化,导致接地端和电容笔的接收端形成电压差,影响接收所述上行信号,出现书写的笔迹断线的问题,从而导致电容笔在触控屏书写效果差

Benefits of technology

[0034] This invention proposes a touchscreen control method. When a hand-sensing signal is detected on the touchscreen, the method determines a first region corresponding to the hand-sensing signal and a second region outside the first region, thereby determining different control regions. The second region is controlled to send a second uplink signal with a second phase, while the first region is controlled to send a first uplink signal with a first phase, which is different from the second phase. This results in a difference in the transmitted uplink signals. When a first downlink signal returned by the capacitive pen based on the received uplink signal is detected, the movement trajectory of the capacitive pen on the touchscreen is displayed based on the first downlink signal. Compared to current touchscreen control methods, sending uplink signals of different phases in different regions, due to the phase difference, provides a time period within a cycle where uplink signals can be received. This avoids the parasitic capacitance affecting the capacitive pen's reception of uplink signals when the touchscreen is suspended and the user is touching it, thus preventing writing line interruptions and improving the writing effect of the capacitive pen on the touchscreen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116449982B_ABST
    Figure CN116449982B_ABST
Patent Text Reader

Abstract

This invention discloses a touchscreen control method, a touchscreen control device, a touchscreen, and a storage medium, belonging to the field of touchscreen control technology. The method includes: when a hand-sensing signal is detected on the touchscreen, determining a first region corresponding to the hand-sensing signal and a second region outside the first region; controlling the second region to send a second uplink signal with a second phase, and controlling the first region to send a first uplink signal with a first phase, the first phase being different from the second phase; when a first downlink signal returned by a capacitive stylus based on the received uplink signal is detected, displaying the movement trajectory of the capacitive stylus on the touchscreen according to the first downlink signal. This application improves the writing effect of the capacitive stylus on the touchscreen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of touch screen control, and more particularly to a touch screen control method, a touch screen control device, a touch screen, and a storage medium. Background Technology

[0002] With the development of paperless offices, capacitive pens and touchscreens are widely used in daily office work. Currently, touchscreen control methods often involve all areas of the touchscreen simultaneously sending uplink signals to the capacitive pen. This allows the pen to receive the uplink signal in any area of ​​the touchscreen and then send a downlink signal back to the touchscreen, displaying the pen's writing. However, when the touchscreen is suspended and the user touches the pen, parasitic capacitances are generated between the user, the touchscreen, and the pen. This causes the potential at the pen's ground terminal to change with the uplink signal, creating a voltage difference between the ground terminal and the pen's receiving terminal. This affects the reception of the uplink signal, resulting in broken lines in the writing and ultimately poor writing performance on the touchscreen.

[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this invention is to provide a touch screen control method, a touch screen control device, a touch screen, and a storage medium, with the aim of improving the writing effect of a capacitive pen on a touch screen.

[0005] To achieve the above objectives, the present invention provides a touch screen control method, the touch screen control method comprising the following steps:

[0006] When a hand sensing signal is detected on the touch screen, a first area corresponding to the hand sensing signal and a second area outside the first area are determined in the touch screen;

[0007] The second region is controlled to transmit a second uplink signal in a second phase, and the first region is controlled to transmit a first uplink signal in a first phase, wherein the first phase is different from the second phase;

[0008] When a first downlink signal is detected returned by the capacitive pen based on the received uplink signal, the movement trajectory of the capacitive pen on the touch screen is displayed according to the first downlink signal.

[0009] Optionally, before the step of controlling the first region to transmit the first uplink signal in a first phase, the method further includes:

[0010] The second phase is adjusted according to a preset phase difference and a preset adjustment direction to obtain the first phase.

[0011] Optionally, after the step of controlling the second region to transmit the second uplink signal in the second phase and controlling the first region to transmit the first uplink signal in the first phase, the method further includes:

[0012] When the first downlink signal is not detected within a preset time, the current phase difference between the second phase and the first phase is adjusted according to the preset adjustment direction based on the phase difference step size to obtain a new preset phase difference.

[0013] Return to the step of adjusting the second phase according to the preset phase difference and the preset adjustment direction to obtain the first phase.

[0014] Optionally, after the step of controlling the second region to transmit the second uplink signal in the second phase and controlling the first region to transmit the first uplink signal in the first phase, the method further includes:

[0015] When the first downlink signal is not detected within a preset time, and when the current phase difference between the second phase and the first phase is greater than or equal to the set maximum phase difference, the current signal transmission frequency of the first region and the second region is adjusted, the second region is controlled to send the second uplink signal with the adjusted signal transmission frequency and the second phase, and the first region is controlled to send the first uplink signal with the adjusted signal transmission frequency and the first phase.

[0016] When the first downlink signal is not detected within a preset time, and when the current phase difference between the second phase and the first phase is less than the preset maximum phase difference, the step of adjusting the current phase difference between the second phase and the first phase according to the preset adjustment direction based on the phase difference step size is executed to obtain a new preset phase difference.

[0017] Optionally, before the step of adjusting the current phase difference between the second phase and the first phase according to the preset adjustment direction based on the phase difference step size to obtain a new preset phase difference, the method further includes:

[0018] Calculate the first area of ​​the first region;

[0019] The phase difference step size is determined based on the area of ​​the first region.

[0020] Optionally, the step of determining the first region corresponding to the hand sensing signal in the touch screen and the second region outside the first region includes:

[0021] When the area corresponding to the hand sensing signal is detected to include at least two non-connected areas, the second area of ​​each non-connected area is calculated to obtain at least two second areas;

[0022] The largest area among at least two second areas will be determined, and the ratio of each second area to the largest area will be determined to obtain at least two second ratios;

[0023] When the second ratio is greater than or equal to a preset ratio, the disconnected region corresponding to the second ratio is determined to be the third region;

[0024] The first region is determined based on all the third regions, and a second region other than the first region is determined.

[0025] Optionally, the step of determining the first region based on all the third regions includes:

[0026] When the number of the third regions is at least two, a first distance between any two of the third regions is determined;

[0027] When the first distance is less than or equal to the preset distance, the two third regions corresponding to the first distance are magnified until the first connected region is obtained, and the first region is determined based on all the first connected regions and other third regions other than the first connected region.

[0028] Furthermore, to achieve the above objectives, the present invention also provides a touch screen control device, the touch screen control device comprising:

[0029] The acquisition module is used to determine a first area corresponding to the hand sensing signal and a second area outside the first area in the touch screen when a hand sensing signal is detected on the touch screen;

[0030] The transmitting module is used to control the second region to transmit a second uplink signal in a second phase, and to control the first region to transmit a first uplink signal in a first phase, wherein the first phase is different from the second phase;

[0031] The display module is used to display the movement trajectory of the capacitive pen on the touch screen according to the first downlink signal when a first downlink signal is detected returned by the capacitive pen based on the received uplink signal.

[0032] In addition, to achieve the above objectives, the present invention also provides a touch screen, the touch screen comprising: a memory, a processor, and a touch screen control program stored in the memory and executable on the processor, the touch screen control program being configured to implement the steps of the touch screen control method described in any of the above claims.

[0033] In addition, to achieve the above objectives, the present invention also provides a storage medium storing a touch screen control program, wherein the touch screen control program, when executed by a processor, implements the steps of the touch screen control method described in any of the above claims.

[0034] This invention proposes a touchscreen control method. When a hand-sensing signal is detected on the touchscreen, the method determines a first region corresponding to the hand-sensing signal and a second region outside the first region, thereby determining different control regions. The second region is controlled to send a second uplink signal with a second phase, while the first region is controlled to send a first uplink signal with a first phase, which is different from the second phase. This results in a difference in the transmitted uplink signals. When a first downlink signal returned by the capacitive pen based on the received uplink signal is detected, the movement trajectory of the capacitive pen on the touchscreen is displayed based on the first downlink signal. Compared to current touchscreen control methods, sending uplink signals of different phases in different regions, due to the phase difference, provides a time period within a cycle where uplink signals can be received. This avoids the parasitic capacitance affecting the capacitive pen's reception of uplink signals when the touchscreen is suspended and the user is touching it, thus preventing writing line interruptions and improving the writing effect of the capacitive pen on the touchscreen. Attached Figure Description

[0035] Figure 1 This is a schematic diagram of the structure of the touch screen in the hardware operating environment involved in the embodiments of the present invention;

[0036] Figure 2 This is a flowchart illustrating the first embodiment of the touchscreen control method of the present invention;

[0037] Figure 3 This is a flowchart illustrating the third embodiment of the touchscreen control method of the present invention;

[0038] Figure 4 This is a flowchart illustrating the fourth embodiment of the touchscreen control method of the present invention;

[0039] Figure 5 This is a flowchart illustrating the sixth embodiment of the touchscreen control method of the present invention.

[0040] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0041] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0042] Reference Figure 1 , Figure 1 This is a schematic diagram of the touch screen structure of the hardware operating environment involved in the embodiments of the present invention.

[0043] like Figure 1As shown, the touchscreen may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, an interaction device 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The interaction device 1003 may include a display screen and an input unit such as a keyboard. Optionally, the interaction device 1003 may also be connected to the communication bus via a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0044] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the touch screen and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0045] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and a touch screen control program.

[0046] exist Figure 1 In the touch screen shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the touch screen of the present invention can be set in the touch screen, and the touch screen calls the touch screen control program stored in the memory 1005 through the processor 1001 and executes the touch screen control method provided in the embodiment of the present invention.

[0047] This invention provides a touchscreen control method, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of a touchscreen control method according to the present invention.

[0048] In this embodiment, the touchscreen control method includes:

[0049] Step S10: When a hand sensing signal is detected on the touch screen, determine the first area corresponding to the hand sensing signal and the second area outside the first area in the touch screen;

[0050] There are various writing scenarios when users write on a touchscreen with a capacitive stylus. Specifically, when the touchscreen is suspended in the air and the user is not touching the metal frame of the device, the stylus cannot share a common ground with the touchscreen. This causes the stylus's ground potential to be the same as the human body's potential, meaning the human body and the stylus's system grounds are the same. Furthermore, parasitic capacitance exists between the human body and the stylus, and when the human body presses on the touchscreen, parasitic capacitance is generated between the hand and the screen. Since the entire screen is transmitting uplink signals, the potentials of the human body and the stylus's system grounds are driven by the uplink signal; that is, the signal is coupled to the stylus's system ground through the human body. Additionally, the uplink signal received by the stylus tip has the same frequency and phase as the signal coupled to the human body and the stylus's system ground. In this case, the actual uplink signal detected by the stylus will attenuate. In extreme cases, if the fluctuation amplitude of the stylus's system ground is the same as the signal received by the stylus tip, the uplink signal strength detected by the stylus will be zero. In this embodiment, the hand sensing signal includes the sensing signal generated by pressing the touch screen with a hand, and a second area on the screen that does not belong to the first area is determined based on the existence of a first area corresponding to the hand sensing signal.

[0051] Step S20: Control the second region to send a second uplink signal with a second phase, and control the first region to send a first uplink signal with a first phase, wherein the first phase is different from the second phase;

[0052] In this embodiment, the first uplink signal and the second uplink signal are periodic signals with the same frequency, where one cycle of the signal waveform is 360 degrees. The phase here refers to the position of the signal within its cycle at a specific moment. Since the first phase and the second phase are different, the potential of the system ground of the capacitive pen and the pen tip form a voltage, thereby enabling the detection of the second uplink signal.

[0053] Step S30: When a first downlink signal is detected returned by the capacitive pen based on the received uplink signal, the movement trajectory of the capacitive pen on the touch screen is displayed according to the first downlink signal.

[0054] Within a preset time period, a first downlink signal is received. This first downlink signal may include a pressure signal from the tip of the capacitive stylus. Based on the pressure signal and the location where the first downlink signal is received, the movement trajectory of the capacitive stylus on the touchscreen is displayed. For example, the thickness of the movement trajectory is determined based on the pressure signal of the first downlink signal, and the specific location of the movement trajectory is determined based on the location where the first downlink signal is received, thereby displaying the movement trajectory of the capacitive stylus on the touchscreen.

[0055] In this embodiment, compared with the current touch screen control method, uplink signals with different phases are sent in different areas. Due to the existence of phase difference, there is a time period in a cycle during which uplink signals can be received. This avoids the parasitic capacitance affecting the capacitive pen's reception of uplink signals when the touch screen is suspended and the user touches the touch screen, thus avoiding the problem of writing lines being interrupted and improving the writing effect of the capacitive pen on the touch screen.

[0056] Furthermore, based on the first embodiment, a second embodiment of the touchscreen control of the present invention is proposed. In this embodiment, before the step of controlling the first region to send a first uplink signal in a first phase, the method further includes:

[0057] The second phase is adjusted according to a preset phase difference and a preset adjustment direction to obtain the first phase.

[0058] Specifically, based on the second phase, the preset phase difference is increased according to a preset adjustment direction to obtain the first phase. In other embodiments, the second phase can be obtained by adjusting the first phase in the opposite direction of the preset adjustment direction.

[0059] In this embodiment, by adjusting the second phase according to a preset adjustment direction based on a preset phase difference, the first phase is obtained, ensuring that the phase difference between the first and second phases is fixed. This guarantees that the capacitive stylus can receive the second uplink signal during writing, thereby improving the writing effect of the capacitive stylus on the touchscreen.

[0060] Furthermore, based on the second embodiment, a third embodiment of the touchscreen control of the present invention is proposed. In this embodiment, reference is made to... Figure 3 After the step of controlling the second region to transmit the second uplink signal in the second phase and controlling the first region to transmit the first uplink signal in the first phase, the method further includes:

[0061] Step S201: When the first downlink signal is not detected within a preset time, adjust the current phase difference between the second phase and the first phase according to the preset adjustment direction based on the phase difference step size to obtain a new preset phase difference;

[0062] The preset time here can be the time between completing the transmission of the second uplink signal in the first cycle and completing the transmission of the second uplink signal in the second cycle, or it can be a time set by the user. The phase difference step size here can be a fixed setting or a dynamic setting. For example, if the phase step size is 10°, the second phase is 20°, the first phase is 0°, and the new preset phase difference is determined to be 30°.

[0063] Step S202: Return to the step of adjusting the second phase according to the preset adjustment direction based on the preset phase difference to obtain the first phase.

[0064] Return to the step of determining the first phase based on the preset phase difference and the second phase.

[0065] In this embodiment, by adjusting the preset phase difference according to the phase difference step size, the preset phase difference can be increased in a cyclic manner. As the preset phase difference increases, the difference between the first uplink signal and the second uplink signal at the same moment increases, avoiding the problem of writing line breakage, thereby improving the writing effect of the capacitive stylus on the touch screen.

[0066] Furthermore, based on the third embodiment, a fourth embodiment of the touchscreen control of the present invention is proposed. In this embodiment, reference is made to... Figure 4 After the steps of controlling the second region to transmit the second uplink signal in the second phase and controlling the first region to transmit the first uplink signal in the first phase, the method further includes:

[0067] Step S2011: When the first downlink signal is not detected within a preset time, and when the current phase difference between the second phase and the first phase is greater than or equal to the set maximum phase difference, adjust the current signal transmission frequency of the first region and the second region, control the second region to send the second uplink signal with the adjusted signal transmission frequency and the second phase, and control the first region to send the first uplink signal with the adjusted signal transmission frequency and the first phase.

[0068] In this embodiment, the maximum phase difference is set by the user, typically 180°, and is generally set to half a cycle, but can also be determined based on the type of the first uplink signal. When the phase difference is greater than or equal to the set maximum phase difference, the preset frequency is changed; both the first uplink frequency and the second uplink frequency are the same, and are considered the preset frequency. Specifically, a first frequency greater than the current preset frequency is obtained and used as the new preset frequency. In other embodiments, when the first downlink signal is not detected within a preset time, and the phase difference is greater than or equal to the set maximum phase difference, the amplitudes of the first uplink signal and the second uplink signal can be adjusted.

[0069] Step S2012: When the first downlink signal is not detected within a preset time, and when the current phase difference between the second phase and the first phase is less than the preset maximum phase difference, the step of adjusting the current phase difference between the second phase and the first phase according to the preset adjustment direction based on the phase difference step size is executed to obtain a new preset phase difference.

[0070] When the first downlink signal is not detected within a preset time, and the phase difference is less than the preset maximum phase difference, the current phase difference between the second phase and the first phase is adjusted according to the preset adjustment direction and the phase difference step size to obtain a new preset phase difference. Here, the preset adjustment direction is fixed to avoid the inability to increase the preset phase difference due to an uncertain adjustment direction.

[0071] In this embodiment, by obtaining a first frequency greater than the preset frequency and using the first frequency as the new preset frequency, the probability of the capacitive pen receiving the second uplink signal is increased, avoiding the problem of writing disconnection, thereby improving the writing effect of the capacitive pen on the touch screen.

[0072] Furthermore, based on any one of the third and fourth embodiments, a fifth embodiment of the touchscreen control of the present invention is proposed. In this embodiment, before the step of adjusting the current phase difference between the second phase and the first phase according to the preset adjustment direction based on the phase difference step size to obtain a new preset phase difference, the method further includes:

[0073] Calculate the first area of ​​the first region;

[0074] The phase difference step size is determined based on the area of ​​the first region.

[0075] In this embodiment, specifically, the first area of ​​the first region is determined by statistically analyzing the number and size of pixels in the first region. The phase difference step size is determined based on the correspondence between the first region and the phase difference step size, and the first area. The first area is positively correlated with the phase difference step size. Different areas of the first region have different effects on the system ground of the capacitive stylus. For example, the effect of the entire palm pressing on the touchscreen is greater than the effect of a single finger pressing on the touchscreen. In other embodiments, the phase difference step size is determined based on the position of the first region on the touchscreen. For example, when the first region is at the edge of the touchscreen, the touchscreen and the capacitive stylus share a common ground because the user's hand may touch the metal frame of the touchscreen, resulting in a lower impact of parasitic capacitance.

[0076] In this embodiment, the phase difference step size is determined based on the first area. The phase difference step size can be adjusted according to the actual contact situation, thereby improving the adjustment flexibility of the first phase and the second phase. This allows the adjustment of the first uplink signal and the second uplink signal to be completed in a short time, reducing the writing disconnection time and thus improving the writing effect of the capacitive stylus on the touch screen.

[0077] Furthermore, based on any of the above embodiments, a sixth embodiment of the touchscreen control of the present invention is proposed. In this embodiment, reference is made to... Figure 5The step of determining the first region corresponding to the hand sensing signal in the touch screen and the second region outside the first region includes:

[0078] Step S11: When the area corresponding to the hand sensing signal is detected to include at least two non-connected areas, calculate the second area of ​​each non-connected area to obtain at least two second areas;

[0079] In this embodiment, the second area of ​​each disconnected region is calculated independently to obtain at least two second areas.

[0080] Step S12 involves determining the largest area among at least two second areas and determining the ratio of each second area to the largest area, thereby obtaining at least two second ratios.

[0081] Sort all the second areas and determine the largest second area. Divide the largest second area by each of the other second areas to obtain a second ratio corresponding to each of the disconnected regions.

[0082] Step S13: When the second ratio is greater than or equal to a preset ratio, the disconnected region corresponding to the second ratio is determined to be the third region;

[0083] Specifically, the preset ratio is 0.3. When the second ratio is greater than 0.3, it is determined that the disconnected region corresponding to the second ratio belongs to the third region.

[0084] Step S14: Determine the first region based on all the third regions, and determine the second region outside the first region.

[0085] All of the third regions are taken as the first region, and second regions other than the first region are determined. In other embodiments, a second difference is calculated between the largest second area and the second areas corresponding to all the non-connected regions. When the second difference is less than a preset ratio, the non-connected region corresponding to the second difference is determined to belong to the third region.

[0086] In this embodiment, by determining the first region based on the area of ​​the non-connected regions, misidentification of the first region can be avoided, thereby improving the writing effect of the capacitive pen on the touch screen.

[0087] Furthermore, the step of determining the first region based on all the third regions includes:

[0088] When the number of the third regions is at least two, a first distance between any two of the third regions is determined;

[0089] When the first distance is less than or equal to the preset distance, the two third regions corresponding to the first distance are magnified until the first connected region is obtained, and the first region is determined based on all the first connected regions and other third regions other than the first connected region.

[0090] In practical applications, due to the presence of knuckles, fingers are often in a slightly bent state, and during the pressing process, only the palm and fingertips press the screen. In this embodiment, the first distance is the distance between the geometric centers of the two third regions. In other embodiments, the second distance between each pixel in the two third regions and all points in the other third region is calculated, resulting in multiple second distances. The smallest second distance is taken as the first distance. The first distance is used to determine whether the two third regions can be connected. Specifically, when the first distance is less than or equal to a preset distance, an expansion operation is performed on the two third regions corresponding to the first distance. This expansion operation expands the boundaries of the third regions, i.e., enlarges the two third regions corresponding to the first distance. An image expansion algorithm is used in the expansion operation. For example, a 3x3 expansion operator is used to multiply the value corresponding to each region to obtain a 3x3 calculation result, and an OR operation is performed on the calculation result. The value corresponding to the third region is 1, and the value corresponding to the region outside the third region is 0. Each element in the expansion operator is 1. The OR operation means that when any element in the calculation result is 1, all pixels corresponding to the calculation result are taken as the third region. The first connected region is obtained by connecting the two third regions through an expansion operation.

[0091] In this embodiment, by calculating the first distance, it is determined whether the two third regions can be connected, and by expanding, the regions that can be connected are connected, thereby improving the recognition accuracy of the first region.

[0092] Furthermore, embodiments of the present invention also propose a touch screen control device, the touch screen control device comprising:

[0093] The acquisition module is used to determine a first area corresponding to the hand sensing signal and a second area outside the first area in the touch screen when a hand sensing signal is detected on the touch screen;

[0094] The transmitting module is used to control the second region to transmit a second uplink signal in a second phase, and to control the first region to transmit a first uplink signal in a first phase, wherein the first phase is different from the second phase.

[0095] The display module is used to display the movement trajectory of the capacitive pen on the touch screen according to the first downlink signal when a first downlink signal is detected returned by the capacitive pen based on the received uplink signal.

[0096] Furthermore, this embodiment of the invention also proposes a storage medium storing a touch screen control program, which, when executed by a processor, implements the steps of the touch screen control method described in any of the above embodiments.

[0097] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0098] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0099] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0100] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A touchscreen control method, characterized in that, The touchscreen control method includes the following steps: When a hand sensing signal is detected on the touch screen, a first area corresponding to the hand sensing signal and a second area outside the first area are determined in the touch screen; The second region is controlled to transmit a second uplink signal in a second phase, and the first region is controlled to transmit a first uplink signal in a first phase, wherein the first phase is different from the second phase; When a first downlink signal is detected returned by the capacitive pen based on the received uplink signal, the movement trajectory of the capacitive pen on the touch screen is displayed according to the first downlink signal; After controlling the second region to transmit the second uplink signal in the second phase, and controlling the first region to transmit the first uplink signal in the first phase, the method further includes: When the first downlink signal is not detected within a preset time, and when the current phase difference between the second phase and the first phase is greater than or equal to the set maximum phase difference, the current signal transmission frequency of the first region and the second region is adjusted, the second region is controlled to send the second uplink signal with the adjusted signal transmission frequency and the second phase, and the first region is controlled to send the first uplink signal with the adjusted signal transmission frequency and the first phase. When the first downlink signal is not detected within a preset time, and when the current phase difference between the second phase and the first phase is less than the preset maximum phase difference, the current phase difference between the second phase and the first phase is adjusted according to the preset adjustment direction based on the phase difference step size to obtain a new preset phase difference.

2. The touchscreen control method as described in claim 1, characterized in that, Before the step of controlling the first region to transmit the first uplink signal in a first phase, the method further includes: The second phase is adjusted according to a preset phase difference and a preset adjustment direction to obtain the first phase.

3. The touchscreen control method as described in claim 2, characterized in that, After the steps of controlling the second region to transmit the second uplink signal in the second phase and controlling the first region to transmit the first uplink signal in the first phase, the method further includes: When the first downlink signal is not detected within a preset time, the step of adjusting the current phase difference between the second phase and the first phase according to the preset adjustment direction based on the phase difference step size is executed to obtain a new preset phase difference. Return to the step of adjusting the second phase according to the preset phase difference and the preset adjustment direction to obtain the first phase.

4. The touchscreen control method as described in claim 1, characterized in that, Before the step of adjusting the current phase difference between the second phase and the first phase according to the preset adjustment direction based on the phase difference step size to obtain a new preset phase difference, the method further includes: Calculate the first area of ​​the first region; The phase difference step size is determined based on the area of ​​the first region.

5. The touchscreen control method according to any one of claims 1 to 4, characterized in that, The step of determining the first region corresponding to the hand sensing signal in the touch screen and the second region outside the first region includes: When the area corresponding to the hand sensing signal is detected to include at least two non-connected areas, the second area of ​​each non-connected area is calculated to obtain at least two second areas; Determine the largest area among at least two second areas, and determine the ratio of each second area to the largest area, thereby obtaining at least two second ratios; When the second ratio is greater than or equal to a preset ratio, the disconnected region corresponding to the second ratio is determined to be the third region; The first region is determined based on all the third regions, and a second region other than the first region is determined.

6. The touchscreen control method as described in claim 5, characterized in that, The step of determining the first region based on all the third regions includes: When the number of the third regions is at least two, a first distance between any two of the third regions is determined; When the first distance is less than or equal to the preset distance, the two third regions corresponding to the first distance are magnified until the first connected region is obtained, and the first region is determined based on all the first connected regions and other third regions other than the first connected region.

7. A touchscreen control device, characterized in that, The touchscreen control device includes: The acquisition module is used to determine a first area corresponding to the hand sensing signal and a second area outside the first area in the touch screen when a hand sensing signal is detected on the touch screen; The transmitting module is used to control the second region to transmit a second uplink signal in a second phase, and to control the first region to transmit a first uplink signal in a first phase, wherein the first phase is different from the second phase. The display module is configured to, when a first downlink signal is detected returned by the capacitive stylus based on the received uplink signal, display the movement trajectory of the capacitive stylus on the touchscreen according to the first downlink signal; when the first downlink signal is not detected within a preset time, and when the current phase difference between the second phase and the first phase is greater than or equal to a set maximum phase difference, adjust the current signal transmission frequencies of the first region and the second region, control the second region to transmit the second uplink signal with the adjusted signal transmission frequency and the second phase, and control the first region to transmit the first uplink signal with the adjusted signal transmission frequency and the first phase; when the first downlink signal is not detected within a preset time, and when the current phase difference between the second phase and the first phase is less than the set maximum phase difference, adjust the current phase difference between the second phase and the first phase according to a preset adjustment direction based on the phase difference step size to obtain a new preset phase difference.

8. A touch screen, characterized in that, The touch screen includes: a memory, a processor, and a touch screen control program stored in the memory and executable on the processor, the touch screen control program being configured to implement the steps of the touch screen control method as described in any one of claims 1 to 6.

9. A storage medium, characterized in that, The storage medium stores a touch screen control program, which, when executed by a processor, implements the steps of the touch screen control method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Stylus uplink enhancement for touchscreen devices

    EP3920011A1