A touch coordinate detection method for a touch screen
By setting pressure sensors on the back and side of the phone, the offsets under different palm postures are obtained and the similarity coefficients are calculated, and the user click position is adjusted, which solves the problem of poor interaction accuracy caused by handheld posture changes, improving the user experience.
Patent Information
- Application Number
- CN202310289913.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2043-03-23
AI Technical Summary
In the prior art, when the handheld mobile phone posture changes, there is a big difference between the preset offset and the actual offset, resulting in a deterioration of the interaction accuracy and affecting the user experience.
Set pressure sensors on the back and sides of the phone. By dividing its coverage area into multiple sub-regions, obtain the offset of different palms in different postures, and calculate the similarity coefficient to determine the offset of the activation area set, adjust the actual click position of the user to match the position the user wants to click.
It improves the accuracy and fluency of users during the interaction process of smart terminal devices and improves the user experience.
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of touch control technology, and in particular relates to a touch coordinate detection method for a touch screen. Background Art
[0002] Today's smart terminal devices can complete most interactive operations with users through the touch screen, and during the interaction, the user clicks the corresponding position on the touch screen to achieve the corresponding interactive operation. However, due to the influence of factors such as the viewing angle, the position the user actually clicks is significantly different from the position the user wants to click. This results in the interactive operation that the user wants to perform being different from the interactive operation responded to by the smart terminal during the interaction process, affecting the user's experience. Therefore, when interacting, accurately obtaining the position where the user actually clicks on the touch screen is a very valuable research. In the prior art, there is a method of judging the difference between the actual click position and the position the user actually wants to click by presetting an offset. However, this method only applies to the situation where people are using their usual posture to interact with the mobile phone. When the posture of holding the mobile phone changes, there will be a large difference between the preset offset and the actual offset, resulting in poor interaction accuracy and affecting the user experience. In order to solve this problem, the present invention provides the following technical solution. Summary of the Invention
[0003] The purpose of the present invention is to provide a touch coordinate detection method for a touch screen, so as to solve the problem in the prior art that when using a smart device, when the posture of holding the mobile phone changes, there will be a large difference between the preset offset and the actual offset, resulting in poor interaction accuracy and affecting the user experience.
[0004] The purpose of the present invention can be achieved through the following technical solutions:
[0005] A touch screen touch coordinate detection method includes the following steps:
[0006] S1. The pressure sensor unit is set on the back and side of the mobile phone, and the coverage area of the pressure sensor is divided into several pressure sensing sub-areas;
[0007] Obtaining a set of pressure sensing sub-regions A corresponding to different holding postures of palms of different sizes holding a mobile phone of a preset size;
[0008] S2. Obtaining the offset of each area on the touch screen corresponding to a palm within a size range corresponding to each pressure sensing sub-area set A when holding a mobile phone of the same preset size in a holding posture;
[0009] The offset value represents the offset direction and offset distance of the position that the user wants to click compared to the position that the user actually clicks;
[0010] S3. When the user holds the mobile phone, the corresponding activation area is obtained, and the set of corresponding activation areas is marked as activation area set C;
[0011] Calculate and obtain the similarity coefficient β between the activation area set C and each pressure sensing sub-area set A, and select the pressure sensing sub-area set A with the largest similarity coefficient β as the control set of the activation area set C;
[0012] Obtain the offset corresponding to the control set of the activated region set C as the offset of the activated region set C;
[0013] S4. When the user clicks the touch screen, the coordinates of the touch screen position where the user actually clicks are obtained, and then the coordinates of the touch screen position where the user wants to click are obtained based on the obtained offset;
[0014] The main controller interacts with the user by using the coordinates of the touch screen position that the user wants to click as the final coordinates.
[0015] As a further solution of the present invention, the acquisition method of the pressure sensing sub-area set A is:
[0016] When the touch screen is in a lighted state, the pressure sensor unit is activated by the main controller;
[0017] When the detected pressure F1 of a pressure sensing sub-area satisfies F1 ≥ F2, the corresponding pressure sensing sub-area is marked as an activated area;
[0018] Divide the palms of the samples into several size ranges according to their sizes;
[0019] The F2 is a preset value;
[0020] Obtaining a set of activation areas B corresponding to the same holding posture when a palm within the same size range is holding a mobile phone of the same preset size;
[0021] In the activation region set B, when the number of times an activation region appears is greater than a, the corresponding activation region is marked as a formal activation region, where a is a preset value;
[0022] The set of all formal activation areas in the activation area set B is marked as the pressure sensing sub-area set A corresponding to the holding posture of a palm of a corresponding size range when holding a mobile phone of a corresponding preset size.
[0023] As a further solution of the present invention, the method for obtaining the offset is:
[0024] Randomly scatter a number of reference points on the touch screen;
[0025] For the same reference point, the coordinates of the actual click position when the user clicks the reference point while holding the phone are obtained. Then, a real-time offset is obtained based on the actual coordinates of the reference point and the coordinates of the actual click position when the user clicks the reference point.
[0026] Get a number of real-time offsets corresponding to the time of a reference point corresponding to the click, and get the offset after data fitting.
[0027] As a further solution of the present invention, the similarity coefficient β between the activation region set C and each pressure sensing sub-region set A is calculated as follows:
[0028] Obtaining corresponding pressure sensing sub-regions in the activated region set C, and marking these pressure sensing sub-regions as control sub-regions;
[0029] For a pressure sensing sub-region set A, obtain the number d of control sub-region types appearing in the pressure sensing sub-region set A, and the weighted values α corresponding to the d control sub-region types in the pressure sensing sub-region set A;
[0030] The weighted values α corresponding to these d control sub-regions in the pressure sensing sub-region set A are marked as α1, α2, ..., αn in sequence;
[0031] The similarity coefficient β between the activation region set C and the corresponding pressure sensing sub-region set A is calculated according to the formula β = (d / D) * (d / D1) * (α1 + α2 + , ..., + αn);
[0032] Where D is the number of types of corresponding pressure sensing sub-regions in the pressure sensing sub-region set A;
[0033] D1 is the number of types of pressure sensing sub-regions included in the activation region set C;
[0034] The weighted value α satisfies α=b1 / b, where b1 is the number of times the corresponding pressure sensing sub-region appears in the pressure sensing sub-region set A, and b is the sum of the number of times each pressure sensing sub-region in the pressure sensing sub-region set A appears.
[0035] The present invention further discloses a touch coordinate detection system for a touch screen, which is used to execute the above-mentioned touch coordinate detection method. The system includes:
[0036] The pressure sensor unit is installed on the back and side of the mobile phone, and is used to detect pressure signals and convert them into electrical signals before transmitting them to the main controller;
[0037] A touch screen positioning unit, which obtains actual contact position information between the user and the touch screen when the user touches the touch screen, and transmits the information to the data storage unit and the main controller;
[0038] The main controller is used to determine the position that the user actually wants to click based on the pressure signal electrical signal input by the pressure sensor unit and the position that the user actually clicks on the touch screen.
[0039] Beneficial effects of the present invention:
[0040] 1. The present invention detects the gestures of the user's mobile phone, confirms the corresponding offset of the user according to the gesture of the user holding the mobile phone, and judges the position that the user actually wants to click based on the offset and the position where the user actually clicks on the touch screen, and realizes the interaction between people and smart terminal devices on this basis. Compared with the existing technology, the present invention takes into account the influence of the relationship between the user's perspective and finger position under different holding postures on the offset change, and adjusts the corresponding offset by detecting the holding posture, thereby improving the accuracy and fluency of the user in the process of interacting with the smart terminal device through the touch screen, which is conducive to improving the user experience.
[0041] 2. The present invention provides pressure touch sensors on the back and sides of the mobile phone, and matches the response areas of the pressure touch sensors with the postures of different sizes of palms holding the mobile phone, thereby confirming the user's holding posture of the mobile phone. DETAILED DESCRIPTION
[0042] The following is a clear and complete description of the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of the present invention.
[0043] A touch screen touch coordinate detection method includes the following steps:
[0044] S1. The pressure sensor unit is set on the back and side of the mobile phone, and the coverage area of the pressure sensor is divided into several pressure sensing sub-areas;
[0045] Obtaining a set of pressure sensing sub-regions A corresponding to different holding postures of palms of different sizes holding a mobile phone of a preset size;
[0046] The acquisition method of the pressure sensing sub-area set A is:
[0047] When the touch screen is in a lighted state, the pressure sensor unit is activated by the main controller;
[0048] When the detected pressure F1 of a pressure sensing sub-area satisfies F1 ≥ F2, the corresponding pressure sensing sub-area is marked as an activated area;
[0049] Divide the palms of the samples into several size ranges according to their sizes;
[0050] The F2 is a preset value;
[0051] Obtaining a set of activation areas B corresponding to the same holding posture when a palm within the same size range is holding a mobile phone of the same preset size;
[0052] In the activation region set B, when the number of times an activation region appears is greater than a, the corresponding activation region is marked as a formal activation region, where a is a preset value;
[0053] Marking the set of all formal activation areas in the activation area set B as the pressure sensing sub-area set A corresponding to the palm of the corresponding size range holding the mobile phone of the corresponding preset size in the corresponding holding posture;
[0054] Obtain a weighted value α corresponding to each pressure sensing sub-region in the pressure sensing sub-region set A, where α = b1 / b, b1 is the number of times the corresponding pressure sensing sub-region appears in the pressure sensing sub-region set A, and b is the sum of the number of times each pressure sensing sub-region appears in the pressure sensing sub-region set A;
[0055] S2. Obtaining the offset of each area on the touch screen corresponding to a palm within a size range corresponding to each pressure sensing sub-area set A when holding a mobile phone of the same preset size in a holding posture;
[0056] The offset value represents the offset direction and offset distance of the position that the user wants to click compared to the position that the user actually clicks;
[0057] In one embodiment of the present invention, the method for obtaining the offset is:
[0058] During the sample collection phase, several reference points are randomly scattered on the touch screen;
[0059] For the same reference point, the coordinates of the actual click position when the user clicks the reference point while holding the phone are obtained. Then, a real-time offset is obtained based on the actual coordinates of the reference point and the coordinates of the actual click position when the user clicks the reference point.
[0060] A plurality of real-time offsets corresponding to a reference point time corresponding to the click are obtained, and an offset representing the plurality of real-time offsets is obtained after data fitting.
[0061] S3. When the user holds the mobile phone, the corresponding activation area is obtained, and the set of corresponding activation areas is marked as activation area set C;
[0062] Calculate and obtain the similarity coefficient β between the activation area set C and each pressure sensing sub-area set A, and select the pressure sensing sub-area set A with the largest similarity coefficient β as the control set of the activation area set C;
[0063] Obtain the offset corresponding to the control set of the activated region set C as the offset of the activated region set C;
[0064] The similarity coefficient β between the activation region set C and each pressure sensing sub-region set A is calculated as follows:
[0065] Obtaining corresponding pressure sensing sub-regions in the activated region set C, and marking these pressure sensing sub-regions as control sub-regions;
[0066] For a pressure sensing sub-region set A, obtain the number d of control sub-region types appearing in the pressure sensing sub-region set A, and the weighted values α corresponding to the d control sub-region types in the pressure sensing sub-region set A;
[0067] The weighted values α corresponding to these d control sub-regions in the pressure sensing sub-region set A are marked as α1, α2, ..., αn in sequence;
[0068] The similarity coefficient β between the activation region set C and the corresponding pressure sensing sub-region set A is calculated according to the formula β = (d / D) * (d / D1) * (α1 + α2 + , ..., + αn);
[0069] Where D is the number of types of corresponding pressure sensing sub-regions in the pressure sensing sub-region set A;
[0070] D1 is the number of types of pressure sensing sub-regions included in the activation region set C;
[0071] S4. When the user clicks the touch screen, the coordinates of the touch screen position where the user actually clicks are obtained, and then the coordinates of the touch screen position where the user wants to click are obtained based on the obtained offset;
[0072] The main controller interacts with the user by using the coordinates of the touch screen position that the user wants to click as the final coordinates.
[0073] In one embodiment of the present invention, the pressure sensing sub-area set A corresponding to the user using the mobile phone and the offset corresponding to each pressure sensing sub-area set A are collected and calculated, and the offset of each position on the touch screen during the user clicking on the touch screen is adjusted based on the corresponding pressure sensing sub-area set A and the offset corresponding to each pressure sensing sub-area set A.
[0074] The present invention detects the gestures of the user's mobile phone, confirms the user's corresponding offset according to the user's gesture of holding the mobile phone, and judges the position that the user actually wants to click based on the offset and the position where the user actually clicks on the touch screen, and realizes the interaction between people and smart terminal devices on this basis. Compared with the existing technology, the present invention takes into account the influence of the relationship between the user's perspective and finger position under different holding postures on the offset change, and adjusts the corresponding offset by detecting the holding posture, thereby improving the accuracy and fluency of the user in the process of interacting with the smart terminal device through the touch screen, which is beneficial to improving the user experience.
[0075] The above-mentioned touch coordinate detection method of a touch screen is performed by a touch coordinate detection system of a touch screen, and the detection system includes:
[0076] The pressure sensor unit is installed on the back and side of the mobile phone, and is used to detect pressure signals and convert them into electrical signals before transmitting them to the main controller;
[0077] A touch screen positioning unit, which obtains actual contact position information between the user and the touch screen when the user touches the touch screen, and transmits the information to the data storage unit and the main controller;
[0078] The main controller is used to determine the position that the user actually wants to click based on the pressure signal electrical signal input by the pressure sensor unit and the position that the user actually clicks on the touch screen;
[0079] Throughout the specification, references to terms such as "one embodiment," "example," or "specific example" indicate that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of the present invention. In this specification, schematic representations of these terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0080] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the described specific embodiments or replace them in similar ways. As long as they do not deviate from the invention or exceed the scope defined by the claims, they should all fall within the scope of protection of the present invention.
Claims
1. A touch coordinate detection method for a touch screen, characterized in that: The steps include: S1. The pressure sensor unit is set on the back and side of the mobile phone, and the coverage area of the pressure sensor is divided into several pressure sensing sub-areas; Obtaining a set of pressure sensing sub-regions A corresponding to different holding postures of palms of different sizes holding a mobile phone of a preset size; S2. Obtaining the offset of each area on the touch screen corresponding to a palm within a size range corresponding to each pressure sensing sub-area set A when holding a mobile phone of the same preset size in a holding posture; The offset value represents the offset direction and offset distance of the position that the user wants to click compared to the position that the user actually clicks; S3. When the user holds the mobile phone, the corresponding activation area is obtained, and the set of corresponding activation areas is marked as activation area set C; Calculate and obtain the similarity coefficient β between the activation area set C and each pressure sensing sub-area set A, and select the pressure sensing sub-area set A with the largest similarity coefficient β as the control set of the activation area set C; Obtain the offset corresponding to the control set of the activated region set C as the offset of the activated region set C; S4. When the user clicks the touch screen, the coordinates of the touch screen position where the user actually clicks are obtained, and then the coordinates of the touch screen position where the user wants to click are obtained based on the obtained offset; The main controller uses the coordinates of the touch screen position that the user wants to click as the final coordinates to interact with the user; The similarity coefficient β between the activation region set C and each pressure sensing sub-region set A is calculated as follows: Obtaining corresponding pressure sensing sub-regions in the activated region set C, and marking these pressure sensing sub-regions as control sub-regions; For a pressure sensing sub-region set A, obtain the number d of control sub-region types appearing in the pressure sensing sub-region set A, and the weighted values α corresponding to the d control sub-region types in the pressure sensing sub-region set A; The weighted values α corresponding to these d control sub-regions in the pressure sensing sub-region set A are marked as α1, α2, ..., αn in sequence; The similarity coefficient β between the activation area set C and the corresponding pressure sensing sub-area set A is calculated according to the formula β=(d / D)*(d / D1)*(α1+α2+,…,+αn); Where D is the number of types of corresponding pressure sensing sub-regions in the pressure sensing sub-region set A; D1 is the number of types of pressure sensing sub-regions included in the activation region set C; The weighted value α satisfies α=b1 / b, where b1 is the number of times the corresponding pressure sensing sub-region appears in the pressure sensing sub-region set A, and b is the sum of the number of times each pressure sensing sub-region in the pressure sensing sub-region set A appears.
2. The touch coordinate detection method of a touch screen according to claim 1, wherein: The acquisition method of the pressure sensing sub-area set A is: When the touch screen is in a lighted state, the pressure sensor unit is activated by the main controller; When the detected pressure F1 of a pressure sensing sub-area satisfies F1 ≥ F2, the corresponding pressure sensing sub-area is marked as an activated area; Divide the palms of the samples into several size ranges according to their sizes; The F2 is a preset value; Obtaining a set of activation areas B corresponding to the same holding posture when a palm within the same size range is holding a mobile phone of the same preset size; In the activation region set B, when the number of times an activation region appears is greater than a, the corresponding activation region is marked as a formal activation region, where a is a preset value; The set of all formal activation areas in the activation area set B is marked as the pressure sensing sub-area set A corresponding to the holding posture of a palm of a corresponding size range when holding a mobile phone of a corresponding preset size.
3. The touch coordinate detection method of a touch screen according to claim 1, wherein: The method for obtaining the offset is: Randomly scatter a number of reference points on the touch screen; For the same reference point, the coordinates of the actual click position when the user clicks the reference point while holding the phone are obtained. Then, a real-time offset is obtained based on the actual coordinates of the reference point and the coordinates of the actual click position when the user clicks the reference point. Get a number of real-time offsets corresponding to the time of a reference point corresponding to the click, and get the offset after data fitting.
4. The touch coordinate detection method of a touch screen according to any one of claims 1 to 3, characterized in that: The system is implemented by a touch coordinate detection system for a touch screen, the system comprising: The pressure sensor unit is installed on the back and side of the mobile phone, and is used to detect pressure signals and convert them into electrical signals before transmitting them to the main controller; A touch screen positioning unit, which obtains actual contact position information between the user and the touch screen when the user touches the touch screen, and transmits the information to the data storage unit and the main controller; The main controller is used to determine the position that the user actually wants to click based on the pressure signal electrical signal input by the pressure sensor unit and the position that the user actually clicks on the touch screen.
Citation Information
Patent Citations
Touch coordinate setting method and electronic equipment
CN106775082A
Method for detecting and correcting input accuracy of capacitive touch screen
CN115079867A