Touch screen pressure sensing recognition method, touch screen and storage medium
By detecting the trend of changes in infrared signal intensity and occlusion area in the touchscreen to identify pressure sensitivity levels, the problem of high cost of active pens is solved, achieving low cost and high user experience using ordinary pen tips.
Patent Information
- Application Number
- CN202211704640.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-12-29
AI Technical Summary
Existing touchscreens using active pens are expensive because they require the installation of batteries and electronic sensors.
The occlusion area and size are determined by detecting the intensity of the infrared signal. The pressure sensitivity level of the passive pen is identified based on the trend of the change in the occlusion area. Passive pens with ordinary conical or cylindrical nibs do not require the installation of pressure-sensitive devices.
It reduced the cost of touchscreens and provided a realistic user experience, thus improving the user experience.
Smart Images

Figure CN116185233B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of intelligent touch control, and more particularly to a pressure-sensitive recognition method for a touch screen, a touch screen, and a computer-readable storage medium. Background Technology
[0002] Infrared touch screen technology consists of infrared emitting and receiving sensing elements mounted on the screen frame. An infrared detection network is formed on the screen surface, and any active stylus can alter the infrared light emitted at the touch point to achieve touch screen operation. When touched, the touch screen can mimic images drawn with different pressure (pressure sensitivity) based on the amount of force applied; for example, the same stylus can produce lines of varying thickness or depth.
[0003] In related technologies, touchscreens are typically used in conjunction with a dedicated active stylus. The active stylus contains a pressure-sensitive device at its connection point with the stylus tip. When the stylus tip is pressed firmly, the pressure-sensitive device is triggered, and the measured pressure data is uploaded to the touchscreen. The touchscreen then displays the handwriting based on the touch data from the infrared detection circuit and the pressure data uploaded by the active stylus. However, because the active stylus requires a battery and contains various electronic sensors, the cost of touchscreens is relatively high.
[0004] 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
[0005] This application provides a pressure-sensitive recognition method for a touchscreen, a touchscreen, and a computer-readable storage medium, aiming to solve the technical problem that high costs result from using pressure-sensitive devices to recognize pressure.
[0006] To achieve the above objectives, embodiments of the present invention provide a pressure-sensitive recognition method for a touchscreen, the method comprising the following: When a touch is detected, the blocking area is determined based on the signal strength of the infrared signal received by the receiver tube. Determine the occlusion area of the occlusion region; The current pressure sensitivity level of the passive pen is determined based on the changing trend of the occlusion area.
[0007] Optionally, the step of determining the current pressure sensitivity level of the passive pen based on the changing trend of the occlusion area of the occlusion region includes: When the trend of change is a continuous increase within a first preset time period, the pressure sensitivity level is the first level; When the trend of change continues to decrease within a second preset time period, the pressure sensitivity level is the second level; When the trend of change continues to increase within a third preset time period, the pressure sensitivity level is the third level; When the trend of change remains unchanged within a fourth preset time period, the pressure sensitivity level is the fourth level; wherein, the pressure values corresponding to the first level, the second level, the third level, and the fourth level increase sequentially.
[0008] Optionally, before the step of determining the current pressure sensitivity level of the passive pen based on the changing trend of the occlusion area, the following steps are included: Receive and save the mapping relationship between the change trend and the pressure sensitivity level; After determining the occlusion area of the occlusion region, the method further includes: Based on the changing trend of the occlusion area and the mapping relationship, the current pressure sensitivity level of the passive pen is determined.
[0009] Optionally, the pen tip structure of the passive pen is conical or cylindrical.
[0010] Optionally, the step of determining the obstruction area based on the signal strength of the infrared signal received by the receiving tube includes: Identify peripheral infrared signals whose signal strength is less than or equal to a first threshold; The obstruction area is determined based on the peripheral infrared signal; The step of determining the occlusion area includes: Determine the maximum inscribed circle of the occluded area and the area of the maximum inscribed circle; The area of the largest inscribed circle is taken as the occlusion area of the occlusion region.
[0011] Optionally, after determining the current pressure sensitivity level of the passive pen based on the changing trend of the occlusion area of the occlusion region, the step further includes: Obtain the coordinates of the center of the largest inscribed circle of the occluded area; The coordinates of the center of the circle are used as the location of the touch point; Update the display content and / or execute the corresponding control operation based on the contact point location and the pressure sensitivity level.
[0012] Optionally, the step of updating the display content and / or performing corresponding control operations based on the touch point position and the pressure sensitivity level further includes: When the pressure sensitivity level is the first level, the display content is not updated and / or the corresponding control operation is not performed; when the pressure sensitivity level is greater than the first level, the display content is updated and / or the corresponding control operation is performed.
[0013] Optionally, before the step of determining the obstruction area based on the signal strength of the infrared signal received by the receiver tube when a touch is detected, the method further includes: Receive the infrared signal emitted by the transmitting tube and determine the signal strength of the infrared signal; When the signal strength of the infrared signal is less than or equal to the second threshold, it is determined that a touch has been detected, and the step of determining the occlusion area based on the signal strength of the infrared signal received by the receiving tube is executed, wherein the first threshold is greater than the second threshold; When the signal strength of the infrared signal is greater than the second threshold, it is determined that no touch has been detected.
[0014] In addition, to achieve the above objectives, the present invention also provides a touch screen, characterized in that the touch screen includes: a memory, a processor, and a touch screen pressure-sensitive recognition program stored in the memory and executable on the processor, wherein when the touch screen pressure-sensitive recognition program is executed by the processor, it implements the steps of the touch screen pressure-sensitive recognition method as described above.
[0015] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a pressure-sensitive recognition program for a touch screen, and when the pressure-sensitive recognition program for the touch screen is executed by a processor, it implements the steps of the pressure-sensitive recognition method for the touch screen as described above.
[0016] An embodiment of the present invention proposes a pressure-sensitive recognition method for a touchscreen. The touchscreen and a computer-readable storage medium determine the occlusion area and the occlusion area based on the signal strength of the infrared signal received by the receiver tube when a touch is detected. The method then determines the current pressure sensitivity level of the passive pen based on the changing trend of the occlusion area. This eliminates the need for an active pen with a pressure-sensitive device and allows the use of a common passive pen with a conical or cylindrical tip, thus reducing the cost of touchscreens. Attached Figure Description
[0017] Figure 1 This is a schematic flowchart of an embodiment of the pressure-sensitive recognition method for a touchscreen according to the present invention; Figure 2 This is a schematic diagram of the occlusion area involved in an embodiment of the present invention; Figure 3 This is a schematic diagram illustrating the pen tip falling process of a passive pen according to an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the trend of the shading area change in the embodiments of the present invention; Figure 5 This is a schematic diagram showing the pressure sensitivity levels corresponding to the changing trend of the occlusion area involved in the embodiments of the present invention; Figure 6 This is a detailed flowchart of step S30 in the second embodiment of the pressure-sensitive recognition method for the touch screen of the present invention; Figure 7 This is a detailed flowchart of step S30 in the third embodiment of the pressure-sensitive recognition method for the touch screen of the present invention; Figure 8 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of the present invention.
[0018] 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
[0019] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0020] In related technologies, touchscreens are typically used in conjunction with a dedicated active stylus. The active stylus contains a pressure-sensitive device at its connection point with the pen tip. When the pen tip is pressed firmly, this device is activated, and the pressure data is uploaded to the touchscreen. The touchscreen then displays the handwriting based on touch data from the infrared detection circuit and the pressure data uploaded by the active stylus. However, because the active stylus requires a battery and contains various electronic sensors, the cost of touchscreens is relatively high.
[0021] To address the aforementioned deficiencies in related technologies, this invention proposes a pressure-sensitive recognition method for touchscreens, the main steps of which include the following: When a touch is detected, the occlusion area and its area are determined based on the signal strength of the infrared signal received by the receiver. The current pressure sensitivity level of the passive stylus is then determined based on the changing trend of the occlusion area. This eliminates the need for an active stylus with pressure sensitivity; a standard passive stylus with a conical or cylindrical tip can be used, reducing the cost of touchscreen operation. Furthermore, when the pressure sensitivity level is determined to be at the first level based on the changing trend of the occlusion area, it indicates that the passive stylus is not in contact with the touchscreen surface. To provide a more realistic user experience, the touchscreen display content is not updated and / or corresponding control operations are not performed at this time. Only when the pressure sensitivity level is determined to be above the first level will the display content be updated and / or corresponding control operations performed. This reduces the touch height without decreasing the distance between the infrared signal and the touchscreen surface.
[0022] To better understand the above technical solutions, exemplary embodiments of this disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of this disclosure to those skilled in the art.
[0023] Reference Figure 1 In one embodiment of the pressure-sensitive recognition method for a touchscreen of the present invention, the pressure-sensitive recognition method for a touchscreen includes the following steps: Step S10: When a touch is detected, the blocking area is determined based on the signal strength of the infrared signal received by the receiver tube; In this embodiment, the passive stylus used for touching the touchscreen has a conical or cylindrical tip structure. The passive stylus does not require a pressure-sensitive device, battery, or any other electronic sensors. This invention provides a pressure-sensitive recognition method for touchscreens, applied to touchscreens. A transmitter and receiver are mounted on the outer frame of the touchscreen. On the screen surface, the infrared signals emitted by the transmitter form infrared light paths, which together form an infrared detection network. When there is no touch, the touchscreen screen surface forms a complete infrared detection network, and the received infrared signal strength is 100%. When a touch occurs, the object blocking part of the infrared signal disrupts the infrared detection network on the screen surface, weakening the signal strength of the infrared signal received by the receiver. Therefore, by receiving the infrared signal emitted by the transmitter and determining its signal strength, when the received infrared signal strength is less than or equal to a second threshold, it is determined that a touch has been detected. At this time, the touchscreen determines the occlusion area and its area based on the infrared signal with a signal strength less than or equal to the second threshold, and then determines the corresponding pressure sensitivity level based on the changing trend of the occlusion area. When the received infrared signal strength is greater than the second threshold, it is determined that no touch has been detected. It can be understood that infrared signals with a strength less than or equal to the second threshold are blocked infrared signals.
[0024] Optionally, the infrared signal strength is stronger closer to the outer edge of the contact point, while the infrared signal strength received by the receiver tube is weaker because it is partially or completely blocked by the passive pen. Therefore, by identifying infrared signals with signal strength less than a first threshold, the outer infrared optical path formed by the outer infrared signals with signal strength less than the first threshold can be restored. This outer infrared optical path surrounds an irregular polygonal region, which is considered the blocking region. It should be noted that the outer infrared optical path can be determined by an algorithm or software program, and the irregular polygonal region surrounded by the outer infrared optical path is the blocking region. The outer infrared optical path is the infrared optical path formed by the infrared signals outside the contact point. The first threshold is greater than the second threshold, and both the first and second thresholds can be set manually.
[0025] For example, refer to Figure 2 , Figure 2 This is a schematic diagram of the obstructed area involved in an embodiment of the present invention. When the receiver of the touchscreen receives the infrared signal emitted by the transmitter, it obtains the signal strength of the received infrared signal. When the signal strength of the received infrared signal is less than 70%, it is determined that a touch has been detected. At this time, the infrared signal with a signal strength of less than 70% is identified as the obstructed infrared signal. The obstructed infrared signal is then restored to obtain the infrared light path formed by the obstructed infrared signal, as shown in the figure. Figure 2 , Figure 2 The infrared signal displayed is the infrared light path formed by the blocked infrared signal. Further, the outer infrared signal with a signal strength less than 90% is identified. Based on the outer infrared signal, the blocking area is determined; that is, the irregular polygonal area surrounded by the outer infrared light path formed by the outer infrared signal is the blocking area.
[0026] Step S20: Determine the occlusion area of the occlusion region; In this embodiment, by determining the largest inscribed circle of the occluded area and its area, the area of the largest inscribed circle is used as the occlusion area of the occluded area. (Refer to...) Figure 2 , Figure 2 The bold black infrared light path shown is the outer infrared light path formed by the outer infrared signal. Further determination of the maximum inscribed circle of the obstructed area is needed, referring to... Figure 2 , Figure 2 The circular area displayed is the largest inscribed circle of the occluded area. The area of the largest inscribed circle is determined by its radius, and the area of the largest inscribed circle is used as the occlusion area of the occluded area. The corresponding pressure sensitivity level is determined based on the changing trend of the occlusion area.
[0027] Alternatively, in another embodiment, the occlusion area is obtained by dividing the occlusion area into regular shapes, calculating the area of each regular shape, and then adding the calculated areas together. For example, the occlusion area can be obtained by dividing the occlusion area into regular triangles, determining the area of each triangle according to the triangle area formula, and then adding the areas together.
[0028] Step S30: Determine the current pressure sensitivity level of the passive pen based on the changing trend of the occlusion area of the occlusion region.
[0029] In this embodiment, the passive stylus used for touching the touchscreen has a conical or cylindrical tip structure. The passive stylus does not require a pressure-sensitive device, battery, or any other electronic sensors. By pre-determining the changing trend of the obstructed area based on the stylus tip's descent, and then classifying the corresponding pressure sensitivity level based on this trend, the touchscreen can determine its corresponding pressure sensitivity level in practical applications without using an active stylus equipped with a pressure-sensitive device. A standard passive stylus with a conical or cylindrical tip can be used, reducing the cost of touchscreen operation. The changing trend of the obstructed area can be a curve formed by continuously recording the obstructed area. The trend can be determined by the recorded changes in the obstructed area. It is understood that when a touch is detected, the obstructed area and obstructed region are redefined with each infrared scan.
[0030] Reference Figure 3 , Figure 3 This is a schematic diagram illustrating the pen tip falling process of the passive pen according to an embodiment of the present invention. The pen tip falling process is divided into three stages: before the pen tip contacts the touchscreen surface, the pen tip just contacts the touchscreen surface, and the pen tip presses against the touchscreen surface after contacting the touchscreen surface. (Refer to...) Figure 4 , Figure 4This is a schematic diagram illustrating the changing trend of the obstruction area in an embodiment of the present invention. During the falling process before the stylus tip touches the touchscreen surface, due to the conical or cylindrical structure of the passive stylus, more infrared signals are blocked. This results in a greater number of infrared signals received by the receiver having signal strengths less than or equal to the second threshold, leading to a linear increasing trend in the obstruction area, corresponding to region ① in the diagram. The obstruction area reaches its maximum value when the stylus tip just touches the touchscreen surface, corresponding to region ② in the diagram. When the stylus tip presses against the touchscreen surface based on a preset pressure point, it causes a concave deformation of the touchscreen surface. This deformation causes the touchscreen surface to reflect infrared signals from the periphery of the stylus, increasing the signal strength of these signals. Infrared signals that were initially identified as blocked are now considered unblocked because the reflection from the touchscreen prevents their signal strength from reaching the second threshold. This results in a smaller blocked area and a decreasing trend in the blocked region. It can be understood that the concave deformation of the touchscreen increases the signal strength of the infrared signals around the touch point, causing these signals to no longer be identified as blocked. As the pressure increases, the stylus moves closer to the touchscreen, causing the area blocking the infrared signals to move closer to the stylus itself, meaning more infrared signals are blocked. This leads to a larger identified blocked area and an increased blocked region. After decreasing to a certain level, the blocked area rebounds and eventually approaches a point where it cannot be pressed down further, corresponding to area ③ in the diagram. Therefore, this invention pre-determines the changing trend of the occlusion area based on the pen tip's falling process, and divides the corresponding pressure sensitivity level according to the changing trend of the occlusion area. In practical applications, the touch screen can determine its corresponding pressure sensitivity level based on the change of the occlusion area, without the need to use an active pen equipped with a pressure-sensitive device, and can use an ordinary passive pen, thus reducing the cost of touch.
[0031] Optionally, in another embodiment, the step of determining the current pressure sensitivity level of the passive pen based on the changing trend of the occlusion area includes: when the changing trend continuously increases during a first preset time period, the pressure sensitivity level is the first level; when the changing trend continuously decreases during a second preset time period, the pressure sensitivity level is the second level; when the changing trend continuously increases during a third preset time period, the pressure sensitivity level is the third level; and when the changing trend remains unchanged during a fourth preset time period, the pressure sensitivity level is the fourth level. It should be noted that the pressure values corresponding to the first level, second level, third level, and fourth level increase sequentially.
[0032] Optionally, the corresponding pressure sensitivity level can be determined based on the changing trend of the occlusion area, as can be referred to... Figure 5 , Figure 5This diagram illustrates the pressure sensitivity levels corresponding to the changing trend of the obstruction area in the embodiments of the present invention. When the obstruction area continuously increases, the pressure sensitivity level is determined to be level one. When the obstruction area continuously increases to its maximum value and decreases by a preset value, the pressure sensitivity level is determined to be level two. When the obstruction area decreases to its minimum value and increases by a preset value, the pressure sensitivity level is determined to be level three. When the obstruction area continuously increases to a stable level, the pressure sensitivity level is determined to be level four. It should be noted that when determined to level one, it indicates that the stylus tip is not in contact with the touchscreen surface; when determined to level two, it indicates that the stylus tip is in contact with the touchscreen surface and presses the touchscreen, causing deformation; when determined to level three, it indicates that the stylus tip increases pressure on the touchscreen surface, and the area obstructing the infrared signal is closer to the stylus body, resulting in more infrared signals being blocked; when determined to level four, it indicates that the pressure applied to the touchscreen surface reaches its maximum value, and the deformation of the touchscreen surface reaches its maximum. It should be noted that the pressure values corresponding to levels one, two, three, and four increase sequentially. The first, second, third, and fourth preset time periods correspond to progressively increasing times. It can be understood that the pressure sensitivity levels can be finely differentiated based on the curve of the occlusion area to meet different needs. This embodiment does not specifically limit this.
[0033] For example, the touchscreen performs infrared scanning according to a scanning cycle. When the receiver receives an infrared signal, it acquires the signal strength. When the signal strength is less than or equal to 70%, it is determined that a touch has been detected. At this time, the infrared signal with a signal strength less than or equal to 70% is acquired. This part of the infrared signal is the blocked infrared signal. The blocked infrared signal is restored to obtain the infrared light path formed by the blocked infrared signal. Further, the outer infrared signals with signal strength less than or equal to a first threshold are determined. The irregular polygonal area formed by the outer infrared light path formed by the outer infrared signals is determined as the occlusion area. The maximum inscribed circle of the occlusion area is determined. The area of the maximum inscribed circle is determined by the radius of the maximum inscribed circle. The area of the maximum inscribed circle is used as the occlusion area of the occlusion area. Each infrared scan... Each stroke involves calculating the occlusion area. When the pen touches the screen, the occlusion area data is recorded for each measurement. When the occlusion area shows an increasing trend, it's considered to have entered the first level range, indicating the pen tip is not in contact with the touchscreen surface and the pressure is zero. When the occlusion area reaches its maximum and begins to fall, with three frames of data collected, it's considered to have entered the second level range, indicating the pen tip has contacted the touchscreen surface and is pressing. When the occlusion area begins to rise and continues for three frames, it's considered to have entered the third level range, and is confirmed as the third level. When the area increase is less than a set threshold for three consecutive frames, it's considered to have reached the maximum pressure, entering the third level of pressure sensitivity, and is confirmed as the fourth level, indicating the pressure applied to the touchscreen surface has reached its maximum, the surface deformation has reached its maximum, and no further deformation occurs.
[0034] In the technical solution provided in this embodiment, by acquiring the signal strength of the infrared signal received by the receiving tube, when the signal strength of the infrared signal is less than or equal to the second threshold, it is determined that a touch has been detected. Then, the occlusion area and the occlusion area are determined according to the signal strength. The corresponding pressure sensitivity level is determined according to the changing trend of the occlusion area. There is no need to use an active pen with a pressure-sensitive device. A regular pen with a conical or cylindrical pen tip can be used, which reduces the cost of touch.
[0035] Reference Figure 6 In the second embodiment, based on the first embodiment, before step S30, the following steps are further included: Step S40: Receive and save the mapping relationship between the change trend and the pressure sensitivity level; After step S20, the following is included: Step S50: Determine the current pressure sensitivity level of the passive pen based on the changing trend of the occlusion area and the mapping relationship.
[0036] In this embodiment, the passive pen's tip structure is conical or cylindrical. By acquiring and saving the mapping relationship between the changing trend of the occlusion area and the pressure sensitivity level when the passive pen touches the touchscreen, the current pressure sensitivity level of the passive pen can be determined based on the calculated trend of the occlusion area and the saved mapping relationship during practical applications, i.e., when the user touches the touchscreen with the passive pen. It is understood that the pressure sensitivity level can be further subdivided based on the curve of the occlusion area to meet different needs. This embodiment does not specifically limit this.
[0037] It should be noted that the occlusion area and the occlusion area can be determined according to the method of the first embodiment above, so as to determine the trend of the change of the occlusion area. This embodiment will not elaborate on this further.
[0038] Optionally, refer to Figure 5 When the passive pen approaches the touchscreen but does not touch the touchscreen surface, the recorded occlusion area shows an increasing trend, and the interval corresponding to this increasing trend is divided into the first level; when the passive pen touches the touchscreen surface and presses the touchscreen surface based on a preset force, the recorded occlusion area shows a decreasing trend, and the interval corresponding to this decreasing trend is divided into the second level; when the passive pen presses the touchscreen based on a preset force for a period of time, the recorded occlusion area shows an increasing trend and finally stabilizes, the interval corresponding to this increasing trend is divided into the third level, and the interval corresponding to the final stable trend is divided into the fourth level.
[0039] Optionally, in another embodiment, since different pressure sensitivity levels represent different operations, the touchscreen also provides a pressure sensitivity setting function, allowing users to set different pressure sensitivity levels according to their needs. Therefore, before the step of determining the corresponding pressure sensitivity level based on the changing trend of the occlusion area, the method includes: upon receiving a pressure sensitivity setting command, displaying a pressure sensitivity setting interface, wherein the pressure sensitivity setting interface allows setting the pressure and the corresponding pressure sensitivity level; upon receiving a pressure sensitivity confirmation command, determining the pressure and the corresponding pressure sensitivity level based on the pressure sensitivity confirmation command; and associating and saving the pressure and the corresponding pressure sensitivity level.
[0040] In this embodiment, a pressure sensitivity setting interface is provided so that users can set the corresponding pressure sensitivity level according to their usage habits and pressure. This ensures that the pressure sensitivity level determined during actual touch is closer to the user's needs, improving the user experience. When the user sets the pressure sensitivity level, the touchscreen determines the obstruction area based on the signal strength and the obstruction area's area. Based on the changing trend of the obstruction area, the pressure applied by the passive stylus is determined, and the associated and saved pressure sensitivity level is determined and used as the current pressure sensitivity level of the passive stylus.
[0041] In the technical solution provided in this embodiment, by receiving and storing the mapping relationship between the changing trend and the pressure sensitivity level, the pressure sensitivity level is pre-divided according to the changing trend of the occlusion area. Then, in actual application, the occlusion area is determined by the signal strength of the infrared signal received by the receiving tube, and the occlusion area of the occlusion area is determined. The current pressure sensitivity level of the passive pen is determined according to the changing trend of the occlusion area and the stored mapping relationship. This achieves pressure sensitivity recognition even with ordinary pens with conical or cylindrical tips, reducing the cost of touch and improving the user experience.
[0042] Reference Figure 7 In the third embodiment, based on any of the above embodiments, after step S30, the method further includes: Step S60: Obtain the coordinates of the center of the largest inscribed circle of the occluded area; Step S70: Use the coordinates of the center of the circle as the touch point position; Step S80: Update the display content and / or execute the corresponding control operation according to the contact point position and the pressure sensitivity level.
[0043] In this embodiment, after determining the occlusion area, the coordinates of the center of the largest inscribed circle of the occlusion area are obtained. These coordinates are then used as the touch point position, and the displayed content is updated based on the touch point position and the determined pressure sensitivity level. For example, when drawing on the touchscreen display using a passive stylus, if the pressure sensitivity level is determined to be level two, the font size of the handwriting displayed at the touch point position is 15; if the pressure sensitivity level is determined to be level three, the font size of the handwriting displayed at the touch point position is 20.
[0044] The step of updating the display content based on the contact point location and the pressure sensitivity level further includes: when the pressure sensitivity level is the first level, not updating the display content and / or performing the corresponding control operation; when the pressure sensitivity level is greater than the first level, updating the display content and / or performing the corresponding control operation.
[0045] In this embodiment, since there is a certain distance between the touch screen surface and the infrared signal emitted by the transmitter, the touch point position and pressure sensitivity level are determined before the passive pen touches the touch screen surface. When the pressure sensitivity level is determined to be the first level, it indicates that the passive pen has not touched the touch screen surface. In order to give users a more realistic user experience and improve the user experience, the display content and / or corresponding control operation are updated according to the touch point position and pressure sensitivity level when the pressure sensitivity level is determined to be above the first level. This ensures that the display content is updated and / or the corresponding control operation is executed only when the pen touches the touch screen, thereby reducing the touch height of the touch screen.
[0046] Optionally, before updating the displayed content based on the touch point location and pressure sensitivity level, the method further includes: determining the default font color of the current display interface, and updating the displayed content at the touch point location based on the pressure sensitivity level and the default font color. It should be noted that the default font color can be the default font color of the touchscreen or a font color modified by the user; this embodiment does not specifically limit this.
[0047] Optionally, after using the center coordinates as the touch point position, the method further includes: performing corresponding control operations based on the touch point position and pressure sensitivity level. For example, different operations can be performed by tapping and pressing. When the pressure sensitivity level is determined to be the second level, it is determined to be a "tap" operation, which corresponds to the "select" or "move" mode. When the pressure sensitivity level is determined to be the third or fourth level, it is determined to be a "press and press" operation, which corresponds to the "right-click" mode, similar to the right-click function of a mouse. Therefore, it can bring a better user experience in text processing, spreadsheet processing, and gaming. For another example, when the pressure sensitivity level is determined to be the third level, it is determined to be a confirmation operation; when the pressure sensitivity level is determined to be the second level, it is determined to be a cancellation operation.
[0048] It should be noted that whether the displayed content is updated or the corresponding control operation is executed based on the touch point position and pressure sensitivity level can be determined by the functions provided by the current touchscreen display interface. For example, if the current display interface provides the function of drawing, then it can be determined that the displayed content is updated based on the touch point position and pressure sensitivity level; if the current display interface provides the function of Tetris, then it can be determined that the corresponding control operation is executed based on the touch point position and pressure sensitivity level. It is understood that a display interface can also update the displayed content and / or execute the corresponding control operation based on the touch point position and pressure sensitivity level, depending on the function corresponding to the touch point position. This embodiment does not specifically limit this.
[0049] In the technical solution provided in this embodiment, the maximum inscribed circle of the occluded area is determined, and the center coordinates of the maximum inscribed circle are obtained. The center coordinates are used as the touch point position. The display content is updated and / or the corresponding control operation is executed according to the touch point position and the determined pressure sensitivity level to improve the user experience. When the pressure sensitivity level is determined to be the first level, the display content is not updated and / or the corresponding control operation is not executed. When the pressure sensitivity level is determined to be higher than the first level, the display content is updated and / or the corresponding control operation is executed according to the touch point position and the pressure sensitivity level, giving the user a more realistic user experience. At the same time, the touch height is reduced without reducing the distance between the infrared signal and the touch screen surface.
[0050] Reference Figure 8 , Figure 8This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of the present invention.
[0051] In this embodiment of the invention, the terminal can be a touch screen.
[0052] like Figure 8 As shown, the terminal may include: a processor 1001, such as a CPU; a network interface 1004; a user interface 1003; a memory 1005; and a communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen, an input unit such as a keyboard, and a mouse. Optionally, the user interface 1003 may also include 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 high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0053] Those skilled in the art will understand that Figure 8 The terminal structure shown does not constitute a limitation on the terminal and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0054] like Figure 8 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a pressure-sensitive recognition program for the touchscreen.
[0055] exist Figure 8 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and communicate with it; the processor 1001 can be used to call the touchscreen pressure-sensitive recognition program stored in the memory 1005 and perform the following operations: When a touch is detected, the blocking area is determined based on the signal strength of the infrared signal received by the receiver tube. Determine the occlusion area of the occlusion region; The current pressure sensitivity level of the passive pen is determined based on the changing trend of the occlusion area.
[0056] Furthermore, the processor 1001 can call the touchscreen pressure-sensitive recognition program stored in the memory 1005 and also perform the following operations: When the trend of change is a continuous increase within a first preset time period, the pressure sensitivity level is the first level; When the trend of change continues to decrease within a second preset time period, the pressure sensitivity level is the second level; When the trend of change continues to increase within a third preset time period, the pressure sensitivity level is the third level; When the trend of change remains unchanged within a fourth preset time period, the pressure sensitivity level is the fourth level; wherein, the pressure values corresponding to the first level, the second level, the third level, and the fourth level increase sequentially.
[0057] Furthermore, the processor 1001 can call the touchscreen pressure-sensitive recognition program stored in the memory 1005 and also perform the following operations: Receive and save the mapping relationship between the change trend and the pressure sensitivity level; After determining the occlusion area of the occlusion region, the method further includes: Based on the changing trend of the occlusion area and the mapping relationship, the current pressure sensitivity level of the passive pen is determined.
[0058] Furthermore, the processor 1001 can call the touchscreen pressure-sensitive recognition program stored in the memory 1005 and also perform the following operations: Identify peripheral infrared signals whose signal strength is less than or equal to a first threshold; The obstruction area is determined based on the peripheral infrared signal; The step of determining the occlusion area includes: Determine the maximum inscribed circle of the occluded area and the area of the maximum inscribed circle; The area of the largest inscribed circle is taken as the occlusion area of the occlusion region.
[0059] Furthermore, the processor 1001 can call the touchscreen pressure-sensitive recognition program stored in the memory 1005 and also perform the following operations: Obtain the coordinates of the center of the largest inscribed circle of the occluded area; The coordinates of the center of the circle are used as the location of the touch point; Update the display content and / or execute the corresponding control operation based on the contact point location and the pressure sensitivity level.
[0060] When the pressure sensitivity level is the first level, the display content is not updated and / or the corresponding control operation is not performed; when the pressure sensitivity level is greater than the first level, the display content is updated and / or the corresponding control operation is performed.
[0061] Furthermore, the processor 1001 can call the touchscreen pressure-sensitive recognition program stored in the memory 1005 and also perform the following operations: Receive the infrared signal emitted by the transmitting tube and determine the signal strength of the infrared signal; When the signal strength of the infrared signal is less than or equal to the second threshold, it is determined that a touch has been detected, and the step of determining the occlusion area based on the signal strength of the infrared signal received by the receiving tube is executed, wherein the first threshold is greater than the second threshold; When the signal strength of the infrared signal is greater than the second threshold, it is determined that no touch has been detected.
[0062] Furthermore, to achieve the above objectives, the present invention also provides a touch screen, characterized in that the touch screen includes: a memory, a processor, and a touch screen pressure-sensitive recognition program stored in the memory and executable on the processor, wherein when the touch screen pressure-sensitive recognition program is executed by the processor, it implements the steps of the touch screen pressure-sensitive recognition method as described above.
[0063] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a pressure-sensitive recognition program for a touch screen, and when the pressure-sensitive recognition program for the touch screen is executed by a processor, it implements the steps of the pressure-sensitive recognition method for the touch screen as described above.
[0064] 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.
[0065] 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.
[0066] 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, in essence, 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 (touchscreen) to execute the methods described in the various embodiments of the present invention.
[0067] 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 pressure-sensitive recognition method for a touchscreen, characterized in that, The pressure-sensitive recognition method for a touchscreen includes: Receive the infrared signal emitted by the transmitting tube and determine the signal strength of the infrared signal; When the signal strength of the infrared signal is less than or equal to the second threshold, it is determined that a touch has been detected; when the signal strength of the infrared signal is greater than the second threshold, it is determined that no touch has been detected. When a touch is detected, a peripheral infrared signal with a signal strength less than or equal to a first threshold is determined, and an occlusion area is determined based on the peripheral infrared signal, wherein the first threshold is greater than the second threshold. Determine the maximum inscribed circle of the occluded area and the area of the maximum inscribed circle, and use the area of the maximum inscribed circle as the occluded area of the occluded area. Based on the changing trend of the occlusion area, the current pressure sensitivity level of the passive pen is determined. When the changing trend continuously increases during a first preset time period, the pressure sensitivity level is the first level; when the changing trend continuously decreases during a second preset time period, the pressure sensitivity level is the second level; when the changing trend continuously increases during a third preset time period, the pressure sensitivity level is the third level; and when the changing trend remains unchanged during a fourth preset time period, the pressure sensitivity level is the fourth level. The pressure values corresponding to the first, second, third, and fourth levels increase sequentially. The passive pen does not contain a pressure-sensitive device, battery, or other electronic sensors.
2. The method as described in claim 1, characterized in that, Before the step of determining the current pressure sensitivity level of the passive pen based on the changing trend of the occlusion area, the following steps are included: Receive and save the mapping relationship between the change trend and the pressure sensitivity level; After determining the occlusion area of the occlusion region, the method further includes: Based on the changing trend of the occlusion area and the mapping relationship, the current pressure sensitivity level of the passive pen is determined.
3. The method as described in claim 1, characterized in that, The pen tip of the passive pen has a conical or cylindrical structure.
4. The method as described in claim 1, characterized in that, After determining the current pressure sensitivity level of the passive pen based on the changing trend of the occlusion area, the following steps are included: Obtain the coordinates of the center of the largest inscribed circle of the occluded area; The coordinates of the center of the circle are used as the location of the touch point; Update the display content and / or execute the corresponding control operation based on the contact point location and the pressure sensitivity level.
5. The method as described in claim 4, characterized in that, The step of updating the display content and / or performing corresponding control operations based on the touch point position and the pressure sensitivity level further includes: When the pressure sensitivity level is the first level, the display content is not updated and / or the corresponding control operation is not performed; when the pressure sensitivity level is greater than the first level, the display content is updated and / or the corresponding control operation is performed.
6. A touchscreen, characterized in that, The touchscreen includes: a memory, a processor, and a touchscreen pressure-sensitive recognition program stored in the memory and executable on the processor. When the touchscreen pressure-sensitive recognition program is executed by the processor, it implements the steps of the touchscreen pressure-sensitive recognition method as described in any one of claims 1 to 5.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a pressure-sensitive recognition program for a touchscreen, which, when executed by a processor, implements the steps of the pressure-sensitive recognition method for a touchscreen as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Methods for detecting and tracking touch objects
CN102782616A
Method and equipment for pressure detection
CN104391597A
Touch panel with pressure sense feedback, pressure feedback system with touch panel and display device with touch panel
CN108062179A
