Optimization method of infrared pressure-sensitive touch, terminal device and readable storage medium

By determining the pressure coefficient based on the contact point position and edge distance on the infrared touchscreen and correcting the initial pressure value, the problem of unclear writing effect in the edge area is solved, and normal writing effect in the edge area is achieved.

CN116382517BActive Publication Date: 2026-11-27SHENZHEN TIMELINK TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310301534.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2026-11-27
Estimated Expiration
2043-03-17

AI Technical Summary

Technical Problem

When writing on an infrared pressure-sensitive touchscreen, the effect is not obvious or there is no effect at all in the edge area, which affects the expression of the thickness of the writing lines.

Method used

The location and initial pressure value of the contact point are determined based on the received infrared signal. The pressure coefficient is determined by combining the distance between the contact point and the edge of the screen. The initial pressure value is then corrected to generate the actual pressure value, thereby compensating for insufficient pressure sensing in the edge area.

Benefits of technology

Achieving a normal writing effect in the edge area of ​​the infrared touchscreen ensures consistent line thickness and solves the problem of unclear writing effect in the edge area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116382517B_ABST
    Figure CN116382517B_ABST
Patent Text Reader

Abstract

The application discloses an infrared pressure-sensitive touch optimization method, a terminal device and a computer readable storage medium. The method comprises the following steps: determining the position corresponding to a contact point and an initial pressure value according to a received infrared signal; determining a pressure coefficient corresponding to the contact point according to the position, wherein the distance between the position and a screen edge support point is positively correlated with the pressure coefficient; and correcting the initial pressure value according to the pressure coefficient to generate an actual pressure value. The problem that the infrared pressure-sensitive edge has no effect or the effect is not obvious is solved, and the effect that the screen edge area can be normally written is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of infrared touch technology, and in particular to an optimized method for infrared pressure-sensitive touch, a terminal device, and a computer-readable storage medium. Background Technology

[0002] An infrared touchscreen mainly consists of an infrared emitter and a glass plane. The light grid covers the glass surface. When the pen is used to write, it will cause a certain concave deformation. When the glass deforms, it will cause a change in the infrared acquisition signal. The change in the touch area is calculated based on this signal change to identify infrared pressure sensitivity.

[0003] Touchscreen fixing mainly involves securing the four sides of the screen with structural components. The closer to the four sides, the smaller the deformation of the screen after being subjected to force. In other words, when the same force is applied to the center and the four sides of the screen, the infrared signal change value in the center of the screen is greater, resulting in a larger change in the calculated touch area and greater infrared pressure sensitivity.

[0004] In actual use, the presentation of infrared pressure sensitivity in writing software will affect the thickness of the writing lines. With the same writing technique, the thickness of the writing lines in the middle area will vary with the pressure, while the thickness of the writing lines in the edge area will vary very little or not at all within a certain pressure value. This results in the problem that the infrared pressure sensitivity has no effect or the effect is not obvious at the edge. Summary of the Invention

[0005] This application provides an optimized method for infrared pressure-sensitive touch, a terminal device, and a computer-readable storage mechanism, which solves the problem of no or insignificant effect of infrared pressure-sensitive edges, enabling normal writing in the edge area of ​​the screen.

[0006] This application provides an optimized method for infrared pressure-sensitive touch, the method comprising:

[0007] The location of the contact point and the initial pressure value are determined based on the received infrared signal.

[0008] The pressure coefficient corresponding to the contact point is determined based on the location, wherein the distance between the location and the support point at the edge of the screen is positively correlated with the pressure coefficient.

[0009] The initial pressure value is corrected based on the pressure coefficient to generate the actual pressure value.

[0010] Optionally, after determining the location of the contact point and the initial pressure value based on the received infrared signal, the process includes:

[0011] When the location is in the first region, the step of determining the pressure coefficient corresponding to the contact point based on the location is performed.

[0012] When the position is in the second region, the pressure value corresponding to the contact point is determined according to the current writing speed, or the initial pressure value is used as the actual pressure value corresponding to the contact point.

[0013] Optionally, after determining the location of the contact point and the initial pressure value based on the received infrared signal, the process includes:

[0014] When the location is in the second region, determine whether the initial pressure value can be calculated based on the change in the infrared signal.

[0015] If the initial pressure value cannot be calculated, proceed to determine the pressure value corresponding to the contact point based on the current writing speed;

[0016] If the initial pressure value can be calculated, the initial pressure value will be used as the actual pressure value corresponding to the contact point.

[0017] Optionally, the step of determining the pressure coefficient corresponding to the contact point based on the location includes:

[0018] Obtain the perpendicular distances between the contact point and the two central axes of the screen, wherein the perpendicular distances include a first perpendicular distance and a second perpendicular distance;

[0019] If the distance of the first perpendicular line is greater than the distance of the second perpendicular line, the straight-line distance between the perpendicular line corresponding to the distance of the first perpendicular line and the midpoint of the screen is taken as the distance of the first far point;

[0020] If the distance of the first perpendicular line is less than the distance of the second perpendicular line, the straight-line distance between the perpendicular line corresponding to the distance of the second perpendicular line and the midpoint of the screen is taken as the distance of the second farthest point.

[0021] Optionally, after the step of taking the straight-line distance between the perpendicular line corresponding to the first perpendicular line distance and the midpoint of the screen as the first far point distance, the method includes:

[0022] Obtain the first preset pressure coefficient corresponding to the first farthest point distance;

[0023] The actual pressure value is calculated based on the mapping relationship between the initial pressure value, the first preset pressure coefficient, the preset midpoint base pressure value, and the first far point distance.

[0024] Optionally, after the step of taking the straight-line distance between the perpendicular line corresponding to the second perpendicular line distance and the midpoint of the screen as the second far point distance, the method includes:

[0025] Obtain the second preset pressure coefficient corresponding to the second farthest point distance;

[0026] The actual pressure value is calculated based on the mapping relationship between the initial pressure value, the second preset pressure coefficient, the preset midpoint base pressure value, and the first far point distance.

[0027] Optionally, the step of determining the pressure coefficient corresponding to the contact point based on the location further includes:

[0028] Obtain the straight-line distance between the location and the midpoint of the screen;

[0029] The pressure coefficient is determined based on the straight-line distance.

[0030] Optionally, the touchscreen has at least one reference point, each reference point having its own corresponding pressure coefficient and base pressure value. The step of determining the pressure coefficient corresponding to the contact point based on the location further includes:

[0031] Obtain the minimum distance between the location and each reference point;

[0032] A reference point is determined based on the minimum distance, and the pressure coefficient is determined based on the reference point.

[0033] In addition, to achieve the above objectives, embodiments of the present invention also provide a terminal device, including a memory, a processor, and an infrared pressure-sensitive touch optimization program stored in the memory and executable on the processor. When the processor executes the infrared pressure-sensitive touch optimization program, it implements the method described above.

[0034] In addition, to achieve the above objectives, embodiments of the present invention also provide a computer-readable storage medium storing an optimization program for infrared pressure-sensitive touch, wherein when the optimization program for infrared pressure-sensitive touch is executed by a processor, the method described above is implemented.

[0035] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

[0036] When the stylus is pressed on the infrared touchscreen, the infrared signal receiver on the screen determines the position of the contact point and the initial pressure value based on the received infrared signal. Then, the pressure coefficient of the contact point is determined based on its position. The distance between the contact point and the support point at the screen edge is positively correlated with the pressure coefficient. After determining the pressure coefficient, the initial pressure value is corrected to obtain the actual pressure value. This effectively solves the problem of ineffective or indistinct writing when the stylus is used in the edge area of ​​the infrared touchscreen, achieving normal writing performance in the screen edge area. Attached Figure Description

[0037] Figure 1This is a flowchart illustrating an embodiment of the optimized infrared pressure-sensitive touch method of this application;

[0038] Figure 2 Diagram showing the installation locations of the infrared transmitter and receiver sensing elements for the screen;

[0039] Figure 3 A schematic diagram showing different contact points in the upper and middle areas of the screen;

[0040] Figure 4 This is a schematic diagram of screen area division according to an embodiment of this application;

[0041] Figure 5 This is a schematic diagram of screen reference point division according to an embodiment of this application;

[0042] Figure 6 This is a flowchart illustrating Embodiment 2 of the optimized infrared pressure-sensitive touch method of this application;

[0043] Figure 7 This is a schematic diagram illustrating screen area division according to another embodiment of this application;

[0044] Figure 8 This is a flowchart illustrating Embodiment 3 of the optimized infrared pressure-sensitive touch method of this application;

[0045] Figure 9 This is a schematic diagram illustrating the screen area division according to another embodiment of this application;

[0046] Figure 10 This is a schematic diagram of the terminal structure of the hardware operating environment involved in one embodiment of this application. Detailed Implementation

[0047] To address the issue of unclear or nonexistent writing on the edges of infrared touchscreens, this application provides an optimized method for infrared pressure-sensitive touch. When writing on an infrared touchscreen, the touchscreen determines the position and initial pressure value of the contact point based on the received infrared signal. A pressure coefficient is then determined based on the contact point's position, and the initial pressure value is corrected using this pressure coefficient to obtain the actual pressure value. This achieves the effect of clearly displaying writing lines even when writing on the edges of the infrared touchscreen.

[0048] To better understand the above technical solutions, exemplary embodiments of this application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of this application are shown in the drawings, it should be understood that this application can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of this application and to fully convey the scope of this application to those skilled in the art.

[0049] To better understand the above technical solutions, the following will provide a detailed explanation of the technical solutions in conjunction with the accompanying drawings and specific implementation methods.

[0050] Example 1

[0051] In this embodiment, an optimized method for infrared pressure-sensitive touch is provided.

[0052] Reference Figure 1 The optimized method for infrared pressure-sensitive touch in this embodiment includes the following steps:

[0053] Step S100: Determine the location of the contact point and the initial pressure value based on the received infrared signal;

[0054] In this embodiment, when the stylus touches the infrared touchscreen, the infrared touchscreen deforms, causing a change in the infrared signal. The pressure value generated, i.e., the initial pressure value, is determined based on the amount of change in the infrared signal.

[0055] As an optional implementation method, refer to Figure 2 An infrared transmitter is mounted on one side of the touchscreen frame, and a receiving sensor is mounted on the other side. When the pen is used to write, the pressure applied causes a certain amount of concave deformation in the touchscreen, which in turn causes a change in the infrared signal received by the receiving sensor, i.e., the amount of change in the infrared signal.

[0056] For example, an infrared emitter continuously emits infrared light to a receiving sensing element, and the time from the emission of the light to its reception by the sensing element is fixed. When the stylus writes on the screen, the screen undergoes a certain concave deformation, causing the time for the receiving sensing element to receive the infrared light to change. Based on the horizontal and vertical time changes, the specific position of the contact point on the screen can be determined. Simultaneously, since different deformations result in different changes in the infrared signal, the initial pressure value is determined based on these changes in the infrared signal.

[0057] As another alternative implementation, the deformation of different positions on the screen after being subjected to force is different. With the same force, the area closer to the edge of the screen has a smaller deformation.

[0058] For example, refer to Figure 3 Point A is located in the center of the screen, and point B is located at the edge of the screen. When the same amount of pressure is applied to points A and B, point A experiences a greater degree of deformation than point B. This results in a greater impact on the change in the infrared signal value at point A, leading to greater pressure sensitivity data obtained when pressing point A with the same amount of pressure compared to point B. Consequently, with the same writing technique, the thickness of the lines written in the center area shows a clear variation that corresponds to the pressure change, while the thickness variation in the edge area is minimal or nonexistent within a certain pressure range.

[0059] Step S200: Determine the pressure coefficient corresponding to the contact point based on the location, wherein the distance between the location and the support point at the edge of the screen is positively correlated with the pressure coefficient;

[0060] In this embodiment, different contact points correspond to different pressure coefficients, with the pressure coefficient being greater closer to the screen edge. The pressure coefficient is used to provide pressure compensation for the detected initial pressure value.

[0061] As an optional implementation, the pressure coefficient corresponding to the contact point is determined based on the straight-line distance between the contact point and the center point of the screen. The pressure coefficient is consistent within the same straight-line distance.

[0062] For example, refer to Figure 4 Point B is the location of the contact point, and point A is the center point of the screen. Assume the pressure coefficient at point A is 1. All contact points on the circle containing point B have the same pressure coefficient, and the pressure coefficient from B to A changes linearly. For example, if the pressure coefficient at point A is 1, the pressure coefficient at point B is 1.5. The pressure coefficients of other areas within the screen are adjusted based on their straight-line distance from point A as a percentage of the length AB. For instance, if the contact point falls at point C, then the pressure coefficient at point C is...

[0063]

[0064] As another alternative implementation, refer to Figure 5 The infrared touchscreen has multiple reference points, each with its own corresponding pressure coefficient and preset base pressure value. When writing on the screen, the distance from the contact point to each reference point is detected, and the point with the smallest distance is selected as the reference reference point. The actual pressure value of the contact point is calculated based on the pressure coefficient and base pressure value of the reference reference point.

[0065] For example, point F is a reference point on the touchscreen, and point E is a contact point. Testing shows that point F is the closest to point E compared to other reference points; therefore, point F is used as the reference point. The pressure coefficient of point E is calculated based on the pressure coefficient of point F, following the calculation rules for point C in the previous embodiment.

[0066] Step S300: Correct the initial pressure value according to the pressure coefficient to generate the actual pressure value.

[0067] In this embodiment, the initial pressure value is corrected using a pressure coefficient to obtain the true pressure value.

[0068] As an optional implementation, the pressure coefficient at the center point is set to 1, and the pressure coefficient increases as it approaches the edge of the screen. The actual pressure value at the contact point is obtained by multiplying the pressure coefficient at the contact point by the initial pressure value of the contact point.

[0069] For example, such as Figure 4 If the calculated pressure coefficient at point C is 1.25, and the measured initial pressure at point C is 2, then the actual pressure at point C is 2.5.

[0070] As an alternative implementation, the pressure sensor in the center of the screen is more sensitive, eliminating the need to set a pressure coefficient to compensate for the initial pressure value. A pressure compensation zone can be set; when the contact point is within this zone, the distance between the contact point and the center of the screen is detected, the corresponding pressure coefficient is calculated, and the actual pressure value is generated.

[0071] In this embodiment, by detecting the initial pressure value and corresponding pressure coefficient of the contact point, the actual pressure value of the contact point is calculated, thereby achieving pressure compensation for different contact points on the screen. This ensures that different contact points produce the same pressure sensitivity value when writing with the same force. Even when writing in the edge area of ​​the screen, the thickness of the writing lines can be displayed normally.

[0072] Example 2

[0073] Based on Embodiment 1, another embodiment of this application is proposed, with reference to... Figure 6 Step S200 further includes the following steps:

[0074] Step S210: When the position is in the first region, perform the step of determining the pressure coefficient corresponding to the contact point based on the position;

[0075] In this embodiment, refer to Figure 7 The infrared touchscreen is divided into a first area and a second area. The first area is located in the middle of the screen and is more sensitive to pressure. The second area is located at the edge of the screen and is less sensitive to pressure.

[0076] As an optional implementation, based on experimental results, a first region is defined, i.e., the pressure sensing sensitivity range. When the contact point is within the first region, the pressure coefficient of the contact point is determined according to a preset calculation rule. The perpendicular distances between the contact point and the two central axes of the screen are obtained, including a first perpendicular distance and a second perpendicular distance. When the first perpendicular distance is greater than the second perpendicular distance, the straight-line distance between the perpendicular line corresponding to the first perpendicular distance and the midpoint of the screen is taken as the first farthest point distance. When the first perpendicular distance is less than the second perpendicular distance, the straight-line distance between the perpendicular line corresponding to the second perpendicular distance and the midpoint of the screen is taken as the second farthest point distance.

[0077] For example, Figure 7In the diagram, the area within BCDE is the first region, and point A is the center of the screen. The base pressure value and pressure coefficient for point A are set. The pressure coefficients for points B and D are the same, and the pressure coefficients for points C and E are the same. When the contact point is G, GI is the first perpendicular distance, GH is the second perpendicular distance, and points I and H are both far-point distances. If the length of GI is greater than the length of GH, then point GI is used as the first far-point distance. If the length of GI is less than the length of GH, then point GH is used as the second far-point distance. Based on the initial pressure value at point G, the first preset pressure coefficient corresponding to the first far-point distance or the second preset pressure coefficient corresponding to the second far-point distance, the base pressure value at point A, and the first or second far-point distance, the actual pressure value is calculated.

[0078] For example, when the length of GI is greater than the length of GH, and GI is taken as the first farthest point distance, then the actual pressure value at point G is:

[0079]

[0080] Actual pressure value at point G = Initial pressure value at point G * Pressure coefficient at point G.

[0081] When the length of GI is less than the length of GH, GH is taken as the second farthest point distance, then the actual pressure value at point G is:

[0082]

[0083] Actual pressure value at point G = Initial pressure value at point G * Pressure coefficient at point G.

[0084] Step S220: When the position is in the second region, determine the pressure value corresponding to the contact point according to the current writing speed, or use the initial pressure value as the actual pressure value corresponding to the contact point.

[0085] In this embodiment, refer to Figure 7 When the contact point is located in the second region, that is, the edge region of the screen, the pressure sensing ability of the edge region of the screen is weak. The closer to the edge of the screen, the smaller the deformation of the screen after being subjected to force, resulting in inaccurate pressure sensing.

[0086] As an optional implementation, if the contact point is in the second region, it is determined whether the initial pressure value can be calculated based on the change in the infrared signal. When the pressure is too low, some pressure cannot be sensed at the screen edge; pressure can only be sensed at the screen edge when it reaches a certain threshold. Therefore, when the initial pressure value cannot be calculated based on the change in the infrared signal, the actual pressure value corresponding to the contact point is determined based on the writing speed. When the initial pressure value can be calculated, the detected initial pressure value is directly used as the actual pressure value of the contact point. The pressure value of the contact point is determined based on the change in the infrared signal at the contact point. The writing speed can be determined based on the time and position of several consecutive contact points received. The position of the contact point can be determined based on the infrared signal received by the sensing element on the screen.

[0087] For example, the writing speed can be determined based on the last three received contact points. The writing speed is calculated based on the positions of the three consecutive contact points and the time of receipt. Simultaneously, the future positions of the contact points can be predicted based on their trajectories. The processing system can input the contact point position data and receipt time data into the calculation module, where an algorithm configured within the system estimates the future positions of the contact points.

[0088] It should be noted that the division of the first and second regions in this application can be determined based on the actual sensing performance of the screen. For example, the first region can occupy 90% of the screen and the second region can occupy 10% of the screen.

[0089] In this embodiment, when the contact point is in the second area of ​​the screen, i.e., the screen edge area, the writing speed is calculated based on the positions of multiple contact points and the reception time of each contact point, and the future position of the contact point is predicted according to the movement trajectory of the contact point. This ensures that when writing in the edge area, the writing lines will not be inconsistent in thickness or the writing will not be displayed due to the small change in the infrared signal.

[0090] Example 3

[0091] Based on the above embodiments, another embodiment of this application is proposed, referring to... Figure 8 Step S200 further includes the following steps:

[0092] Step S230: Determine the area of ​​the contact point on the screen based on the location information of the location;

[0093] Step S240: Determine the pressure coefficient corresponding to the contact point based on the region.

[0094] In this embodiment, refer to Figure 9Based on the screen shape, the pressure coefficient is divided into several regions, spreading outwards from the center. Each region has the same pressure coefficient, and the pressure coefficient increases progressively from the center outwards. A higher pressure coefficient results in greater compensation for the initial pressure value.

[0095] As an optional implementation method, Figure 9 Midpoints a and b are in the same region and have the same pressure coefficient. Points c and d are also in the same region and have the same pressure coefficient. The pressure coefficient at point c is less than that at point a. After determining the location of the contact point and its initial pressure value, multiplying the initial pressure value by the corresponding pressure coefficient yields the actual pressure value at the contact point.

[0096] For example, the screen can be divided according to a certain pressure coefficient ratio. For instance, the pressure coefficient of the first layer in the middle is 1, the pressure coefficient of the second layer is 1.2, the pressure coefficient of the third layer is 1.4, and so on, until the last layer, that is, the edge layer of the screen.

[0097] It should be noted that, Figure 9 The division method shown is only an example. In actual use, the division can be based on the screen shape and the pressure sensitivity of each area on the screen, and the parts with the same change in infrared signal under the same pressure can be divided into one area.

[0098] In this embodiment, the screen is divided into several sections according to the pressure sensing capabilities of different areas within the screen. When a contact point falls within the corresponding area, the initial pressure value of the contact point is compensated according to the pressure coefficient of that area to generate the actual pressure value. This improves the efficiency of determining the actual pressure value, and because different pressure coefficients are set for different areas, the actual pressure of each contact point falling within the screen is also more accurate.

[0099] Example 4

[0100] In this application embodiment, an optimized device for infrared pressure-sensitive touch is proposed.

[0101] Reference Figure 10 , Figure 10 This is a schematic diagram of the terminal structure of the hardware operating environment involved in one embodiment of this application.

[0102] like Figure 10As shown, the control terminal may include: a processor 1001, such as a CPU, a network interface 1003, a memory 1004, and a communication bus 1002. The communication bus 1002 is used to enable communication between these components. The network interface 1003 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1004 may be high-speed RAM or stable non-volatile memory, such as a disk drive. Alternatively, the memory 1004 may be a storage device independent of the aforementioned processor 1001.

[0103] Those skilled in the art will understand that Figure 10 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.

[0104] like Figure 10 As shown, the memory 1004, which serves as a computer storage medium, may include an operating system, a network communication module, and an optimization program for infrared pressure-sensitive touch.

[0105] exist Figure 10 In the optimized hardware structure of the infrared pressure-sensitive touch device shown, the processor 1001 can call the optimized infrared pressure-sensitive touch program stored in the memory 1004 and perform the following operations:

[0106] The location of the contact point and the initial pressure value are determined based on the received infrared signal.

[0107] The pressure coefficient corresponding to the contact point is determined based on the location, wherein the distance between the location and the support point at the edge of the screen is positively correlated with the pressure coefficient.

[0108] The initial pressure value is corrected based on the pressure coefficient to generate the actual pressure value.

[0109] Optionally, the processor 1001 may call the infrared pressure-sensitive touch optimization program stored in the memory 1004, and further perform the following operations:

[0110] When the location is in the first region, the step of determining the pressure coefficient corresponding to the contact point based on the location is performed.

[0111] When the position is in the second region, the pressure value corresponding to the contact point is determined according to the current writing speed, or the initial pressure value is used as the actual pressure value corresponding to the contact point.

[0112] Optionally, the processor 1001 may call the infrared pressure-sensitive touch optimization program stored in the memory 1004, and further perform the following operations:

[0113] When the location is in the second region, can the initial pressure value be calculated based on the change in the infrared signal?

[0114] If the initial pressure value cannot be calculated, proceed to determine the pressure value corresponding to the contact point based on the current writing speed;

[0115] If the initial pressure value can be calculated, the initial pressure value will be used as the actual pressure value corresponding to the contact point.

[0116] Optionally, the processor 1001 may call the infrared pressure-sensitive touch optimization program stored in the memory 1004, and further perform the following operations:

[0117] Obtain the perpendicular distances between the contact point and the two central axes of the screen, wherein the perpendicular distances include a first perpendicular distance and a second perpendicular distance;

[0118] If the distance of the first perpendicular line is greater than the distance of the second perpendicular line, the straight-line distance between the perpendicular line corresponding to the distance of the first perpendicular line and the midpoint of the screen is taken as the distance of the first far point;

[0119] If the distance of the first perpendicular line is less than the distance of the second perpendicular line, the straight-line distance between the perpendicular line corresponding to the distance of the second perpendicular line and the midpoint of the screen is taken as the distance of the second farthest point.

[0120] Optionally, the processor 1001 may call the infrared pressure-sensitive touch optimization program stored in the memory 1004, and further perform the following operations:

[0121] Obtain the first preset pressure coefficient corresponding to the first farthest point distance;

[0122] The actual pressure value is calculated based on the mapping relationship between the initial pressure value, the first preset pressure coefficient, the preset midpoint base pressure value, and the first far point distance.

[0123] Optionally, the processor 1001 may call the infrared pressure-sensitive touch optimization program stored in the memory 1004, and further perform the following operations:

[0124] Obtain the second preset pressure coefficient corresponding to the second farthest point distance;

[0125] The actual pressure value is calculated based on the mapping relationship between the initial pressure value, the second preset pressure coefficient, the preset midpoint base pressure value, and the first far point distance.

[0126] Optionally, the processor 1001 may call the infrared pressure-sensitive touch optimization program stored in the memory 1004, and further perform the following operations:

[0127] Obtain the straight-line distance between the location and the midpoint of the screen;

[0128] The pressure coefficient is determined based on the straight-line distance.

[0129] Optionally, the processor 1001 may call the infrared pressure-sensitive touch optimization program stored in the memory 1004, and further perform the following operations:

[0130] Obtain the minimum distance between the location and each reference point;

[0131] A reference point is determined based on the minimum distance, and the pressure coefficient is determined based on the reference point.

[0132] In addition, to achieve the above objectives, embodiments of the present invention also provide a terminal device, including a memory, a processor, and an infrared pressure-sensitive touch optimization program stored in the memory and executable on the processor. When the processor executes the infrared pressure-sensitive touch optimization program, it implements the infrared pressure-sensitive touch optimization method as described above.

[0133] In addition, to achieve the above objectives, embodiments of the present invention also provide a computer-readable storage medium storing an optimization program for infrared pressure-sensitive touch. When the optimization program for infrared pressure-sensitive touch is executed by a processor, it implements the optimization method for infrared pressure-sensitive touch as described above.

[0134] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0135] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0136] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0137] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0138] It should be noted that any reference signs placed between parentheses in the claims should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. This application can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0139] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0140] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of the invention. Therefore, if these modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.

Claims

1. An optimized method for infrared pressure-sensitive touch, characterized in that, The method includes: The location of the contact point and the initial pressure value are determined based on the received infrared signal. The pressure coefficient corresponding to the contact point is determined based on the location, wherein the distance between the location and the support point at the edge of the screen is positively correlated with the pressure coefficient. The initial pressure value is corrected based on the pressure coefficient to generate the actual pressure value; After determining the location of the contact point and the initial pressure value based on the received infrared signal, the steps include: When the location is in the first region, the step of determining the pressure coefficient corresponding to the contact point based on the location is performed. After determining the location of the contact point and the initial pressure value based on the received infrared signal, the steps include: When the location is in the second region, determine whether the initial pressure value can be calculated based on the change in the infrared signal. If the initial pressure value cannot be calculated, the pressure value corresponding to the contact point is determined based on the current writing speed. If the initial pressure value can be calculated, the initial pressure value will be used as the actual pressure value corresponding to the contact point.

2. The method as described in claim 1, characterized in that, The step of determining the pressure coefficient corresponding to the contact point based on the location includes: Obtain the perpendicular distances between the contact point and the two central axes of the screen, wherein the perpendicular distances include a first perpendicular distance and a second perpendicular distance; If the distance of the first perpendicular line is greater than the distance of the second perpendicular line, the straight-line distance between the perpendicular line corresponding to the distance of the first perpendicular line and the midpoint of the screen is taken as the distance of the first far point; If the distance of the first perpendicular line is less than the distance of the second perpendicular line, the straight-line distance between the perpendicular line corresponding to the distance of the second perpendicular line and the midpoint of the screen is taken as the distance of the second farthest point.

3. The method as described in claim 2, characterized in that, After the step of taking the straight-line distance between the perpendicular line corresponding to the first perpendicular line distance and the midpoint of the screen as the first far point distance, the following is included: Obtain the first preset pressure coefficient corresponding to the first farthest point distance; The actual pressure value is calculated based on the mapping relationship between the initial pressure value, the first preset pressure coefficient, the preset midpoint base pressure value, and the first far point distance.

4. The method as described in claim 2, characterized in that, After the step of taking the straight-line distance between the perpendicular line corresponding to the second perpendicular line distance and the midpoint of the screen as the second far point distance, the following is included: Obtain the second preset pressure coefficient corresponding to the second farthest point distance; The actual pressure value is calculated based on the mapping relationship between the initial pressure value, the second preset pressure coefficient, the preset midpoint base pressure value, and the first far point distance.

5. The method as described in claim 1, characterized in that, The step of determining the pressure coefficient corresponding to the contact point based on the location further includes: Obtain the straight-line distance between the location and the midpoint of the screen; The pressure coefficient is determined based on the straight-line distance.

6. The method as described in claim 1, characterized in that, The touchscreen has at least one reference point, each reference point having its own corresponding pressure coefficient and base pressure value. The step of determining the pressure coefficient corresponding to the contact point based on the location further includes: Obtain the minimum distance between the location and each reference point; A reference point is determined based on the minimum distance, and the pressure coefficient is determined based on the reference point.

7. A terminal device, characterized in that, The method includes a memory, a processor, and an optimized program for infrared pressure-sensitive touch stored in the memory and executable on the processor. When the processor executes the optimized program for infrared pressure-sensitive touch, it implements the method according to any one of claims 1-6.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an optimization program for infrared pressure-sensitive touch, which, when executed by a processor, implements the method described in any one of claims 1-6.

Citation Information

Patent Citations

  • Pressure-sensitive touch method and terminal

    CN106843577A

  • Handwriting implementation and optimization method and device and computer equipment

    CN111273807A