Report point determination method and device and storage medium

By establishing the correspondence between the target area and the offset of the report point, the error problem of point reporting caused by the offset of the user's touch screen is solved, and a more accurate touch point reporting function is realized.

CN119883020APending Publication Date: 2025-04-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311386654.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The prior art cannot effectively resolve point errors caused by user touch screen position offset.

Method used

By detecting the touch object of the touch screen of the electronic device, determining its contact position in the related part, establishing the corresponding relationship between the target area and the offset of the report point, and then correcting the report point position.

Benefits of technology

It realizes the correction of the point position when the touch point may be offset, providing more accurate touch point function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883020A_ABST
    Figure CN119883020A_ABST
Patent Text Reader

Abstract

The invention relates to a report point confirmation method and device and a storage medium. The report point confirmation method comprises the steps that in response to the fact that a touch screen of the electronic equipment detects contact of an associated part of a touch object, a first target area where the associated part of the touch object is in contact is determined, the touch screen does not generate a report point on the contact position of the associated part and generates a report point on the contact position of the touch object, and the first target area is in contact with the associated part of the touch object; the display area of the touch screen comprises a plurality of target areas, and each target area in the plurality of target areas has a corresponding relationship with the report point offset; determining a first offset corresponding to the first target area based on a corresponding relation between the target area and report point offset; correcting the first target area based on the first offset to obtain a second target area; and determining the second target area as a reporting area. According to the method and the device, the report point is corrected under the condition that the report point deviates due to the fact that the touch object is interfered by the associated part.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer electronic technology, and in particular to a method, device and storage medium for determining a reporting point. Background Art

[0002] With the rapid development of science and technology, the optimization of touch screen reporting of mobile terminals has received extensive attention in the industry. In the related art, for touch screen reporting, the touch screen reporting point is mainly determined by detecting the user's fingerprint, which cannot solve the reporting error caused by the user's touch screen position deviation. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a method, device and storage medium for determining a reporting point.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for determining a reporting point is provided, characterized in that the method comprises: in response to a touch screen of an electronic device detecting contact of an associated part of a touch object, determining a first target area contacted by a non-associated part of the touch object, wherein the touch screen does not generate a reporting point for the contact position of the associated part, the display area of ​​the touch screen includes a plurality of target areas, and each of the plurality of target areas has a corresponding relationship with a reporting point offset; based on the corresponding relationship between the target area and the reporting point offset, determining a first offset corresponding to the first target area; based on the first offset, correcting the first target area to obtain a second target area; and determining the second target area as the reporting point area.

[0005] In one embodiment, the correspondence between the target area and the reporting point offset is determined in the following manner: the touch object including the associated part touches the target area N times, and determines the average value of the reporting point coordinates corresponding to the N times as the first reporting point coordinates; the touch object without the associated part touches the target area N times, and determines the average value of the reporting point coordinates corresponding to the N times as the second reporting point coordinates; determines the difference between the first reporting point coordinates and the second reporting point coordinates, and uses the difference as the reporting point offset; creates a correspondence between the target area and the reporting point offset.

[0006] In one embodiment, the reporting point offset is a positive value or a negative value; the first target area is corrected based on the first offset to obtain the second target area, including: if the reporting point offset is a positive value, the first target area is offset in the first offset direction by a value corresponding to the reporting point offset, and is determined as the second target area; if the reporting point offset is a negative value, the first target area is offset in the second offset direction by a value corresponding to the reporting point offset, and is determined as the second target area.

[0007] In one embodiment, determining that an associated portion of a touch object contacts the touch screen of an electronic device includes: in response to detecting that a touch area exists on the touch screen of the electronic device, determining a capacitance change of the touch area; if the capacitance change matches a preset capacitance change value, determining that an associated portion of the touch object contacts the touch screen of the electronic device; the preset capacitance change value is the capacitance change generated when the touch object and the associated portion contact the touch screen of the electronic device.

[0008] In one implementation, the touch object is a finger, the associated part is a nail, and the target area is a keyboard key area on an input method virtual keyboard.

[0009] According to a second aspect of an embodiment of the present disclosure, a device for determining a reporting point is provided, wherein the device comprises:

[0010] A processing unit, configured to determine a first target area contacted by a non-associated part of the touch object in response to the touch screen of the electronic device detecting contact of an associated part of the touch object, wherein the touch screen does not generate a reporting point for the contact position of the associated part, and the display area of ​​the touch screen includes multiple target areas, and each of the multiple target areas has a corresponding relationship with the reporting point offset; and to determine a first offset corresponding to the first target area based on the corresponding relationship between the target area and the reporting point offset; and to determine the second target area as the reporting point area. A correction unit, configured to correct the first target area based on the first offset to obtain a second target area;

[0011] In one embodiment, the correspondence between the target area and the reporting point offset is determined in the following manner: the touch object including the associated part touches the target area N times, and determines the average value of the reporting point coordinates corresponding to the N times as the first reporting point coordinates; the touch object without the associated part touches the target area N times, and determines the average value of the reporting point coordinates corresponding to the N times as the second reporting point coordinates; determines the difference between the first reporting point coordinates and the second reporting point coordinates, and uses the difference as the reporting point offset; creates a correspondence between the target area and the reporting point offset.

[0012] In one embodiment, the reporting point offset is a positive value or a negative value; the correction unit corrects the first target area based on the first offset to obtain a second target area in the following manner: if the reporting point offset is a positive value, the first target area is shifted in the first offset direction by a value corresponding to the reporting point offset, and is determined as the second target area; if the reporting point offset is a negative value, the first target area is shifted in the second offset direction by a value corresponding to the reporting point offset, and is determined as the second target area.

[0013] In one embodiment, the processing unit determines that the associated part of the touch object contacts the touch screen of the electronic device in the following manner: in response to detecting the presence of a touch area on the touch screen of the electronic device, determining the capacitance change of the touch area; if the capacitance change matches a preset capacitance change value, determining that the associated part of the touch object contacts the touch screen of the electronic device; the preset capacitance change value is the capacitance change generated when the touch object and the associated part contact the touch screen of the electronic device.

[0014] In one implementation, the touch object is a finger, the associated part is a nail, and the target area is a keyboard key area on an input method virtual keyboard.

[0015] According to a third aspect of an embodiment of the present disclosure, a time reporting and confirmation device is provided, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to: execute the method described in the first aspect or any one of the embodiments of the first aspect.

[0016] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the method described in the first aspect or any one of the embodiments of the first aspect.

[0017] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when the touch screen of an electronic device detects that the screen is touched, it can determine whether the reporting point may be offset according to the state of the touch object; if it is determined that the reporting point may be offset, the touch screen reporting point can be corrected through the correspondence between the preset touch area and the reporting point offset, thereby realizing the correction of the reporting point position when the touch reporting point may be offset, providing a more accurate reporting function.

[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0020] Figure 1 The figure is a flow chart of a method for determining a reporting point according to an exemplary embodiment.

[0021] Figure 2 The figure is a flow chart of a method for determining a correspondence between a target area and an offset according to an exemplary embodiment.

[0022] Figure 3 The figure is a flow chart of a method for correcting a reporting point according to an exemplary embodiment.

[0023] Figure 4 The figure is a flow chart of a touch position determination method according to an exemplary embodiment.

[0024] Figure 5 is a diagram showing an example of determining an offset according to an exemplary embodiment.

[0025] Figure 6 The present invention is a block diagram of a device for reporting and confirming a point according to an exemplary embodiment.

[0026] Figure 7 The invention is a block diagram of a device for reporting and confirming a point according to an exemplary embodiment.

[0027] Figure 8 The invention is a block diagram of a device for reporting and confirming a point according to an exemplary embodiment. DETAILED DESCRIPTION

[0028] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.

[0029] The method for confirming a reported point provided by the embodiment of the present disclosure is applied to confirming a reported point by an electronic device.

[0030] With the rapid development of science and technology, more and more electronic devices can provide touch screen functions. People can issue control instructions to electronic devices with touch screens through a variety of touch screen tools. Common touch screen tools include fingers, styluses, etc.

[0031] As we all know, when using a touch screen tool to issue a control command to an electronic device with a touch screen, contact is generated with the screen. In fact, part of the contact area is the actual effective area, which will be regarded as the reporting area or target area by the device. Generally speaking, using common touch screen tools to touch the screen will generate reporting points, but there are exceptions. Whether a reporting point can be generated depends on the state of the touch object touching the screen.

[0032] For example, when a stylus pen is used to touch the screen, if the angle between the stylus pen and the screen is very small, only the insulating part of the edge of the stylus pen contacts the screen, and no point is reported; similarly, if a fingernail touches the screen, no point is reported. Therefore, the present disclosure refers to structures such as the edge of a stylus pen and a fingernail that are attached to the touch object but do not produce a point when touching the touch screen as associated parts.

[0033] In the related art, when a user uses a mobile device to type, for a user who is accustomed to using a 26-key input method layout, when the thumb is pressed, the overly long thumb nail will press against the screen, causing the pressing area to shift, resulting in the user being unable to obtain a good typing experience.

[0034] Not only that, in most other cases where commands are input through fixed buttons, the associated parts can easily cause the reporting points to shift during the touch screen process.

[0035] In view of this, an embodiment of the present disclosure provides a method for confirming a reporting point, which identifies a touch object and an associated part, determines a target area and an offset, and can correct the reporting point position according to a preset corresponding relationship when the reporting point may be offset.

[0036] Figure 1 is a flow chart of a method for determining a reporting point according to an exemplary embodiment. Figure 1 As shown, the reporting point determination method is used in a terminal and includes the following steps.

[0037] In step S11, in response to the touch screen of the electronic device detecting contact of an associated portion of a touch object, a first target area contacted by an unassociated portion of the touch object is determined.

[0038] In the embodiment of the present disclosure, the touch object refers to a subject that touches the touch screen of an electronic device, such as a finger.

[0039] In the embodiment of the present disclosure, the associated part refers to an object that the touch object contacts the screen but does not generate a point report, such as a fingernail.

[0040] In the disclosed embodiment, when a touch object touches the touch screen, the reporting point generated by the touch may be affected by the associated part. For example, the associated part may cause the posture of the touch object to change when touching the touch screen due to the volume it occupies, thereby affecting the reporting point position.

[0041] In the embodiment of the present disclosure, the target area refers to a partial area in the display area of ​​the touched touch screen, that is, there may be multiple target areas for the same display touch screen.

[0042] In the disclosed embodiment, the reporting point offset refers to the difference between the reporting point recognized by the device and the reporting point of the touched object without being affected by the associated part. In the disclosed embodiment, there is a certain correspondence between the target area and the reporting point offset, and the correspondence indicates that the reporting point offset is affected by the target area.

[0043] In the disclosed embodiment, after the target area is acquired, it is necessary to confirm the actual reporting point position, that is, it is necessary to acquire the offset of each target area.

[0044] In step S12, based on the correspondence between the target area and the reporting point offset, a first offset corresponding to the first target area is determined.

[0045] In the disclosed embodiment, since there is a corresponding relationship between the target area and the reporting point offset, the offset corresponding to each target area can be determined by the acquired target area.

[0046] In the disclosed embodiment, after the offset is obtained, the actual reporting point corresponding to the first target area can be determined according to the obtained offset.

[0047] In step S13, the first target area is corrected based on the first offset to obtain a second target area.

[0048] In the disclosed embodiment, the second target area is the area after the first target area is corrected, that is, the second target area is obtained by the first target area and the first offset corresponding to the first target area; since the first target area and the first offset are known, the second target area can be calculated based on the first target area and the first offset.

[0049] In the disclosed embodiment, after the second target area is acquired, the position of the reporting point needs to be determined.

[0050] In step S14, the second target area is determined as the reporting point area.

[0051] In the disclosed embodiment, since the second target area is the area obtained after correction, the second target area is used as the reporting point area.

[0052] Using the second target area as the reporting area can effectively improve the quality of reporting and increase the accuracy of reporting.

[0053] In the embodiment of the present disclosure, in the process of determining the second target area, the relationship between the first target area and the first offset needs to be determined in advance, that is, for all target areas, the relationship between the target area and its corresponding offset needs to be determined.

[0054] Figure 2 is a flow chart showing a method for determining a corresponding relationship between a target area and an offset according to an exemplary embodiment. Figure 2 As shown, the method for determining the correspondence between the target area and the offset is used in a terminal, and includes the following steps.

[0055] In step S21, the touch object including the associated part touches the target area N times, and the average value of the reported point coordinates corresponding to the N times is determined as the first reported point coordinates.

[0056] In the disclosed embodiment, the first reporting point coordinates refer to the reporting point coordinates triggered when the peripheral area of ​​the touch object touches the target area and also contacts the touch screen.

[0057] In the disclosed embodiment, when obtaining the first reported point coordinates, the value of N can be as large as possible so that the obtained mean can be closer to the actual situation. Therefore, the accuracy of the finally obtained mean of the reported point coordinates can be guaranteed, and the mean is used as the first reported point coordinates.

[0058] In the embodiment of the present disclosure, after obtaining the reporting point affected by the associated part, in order to obtain the offset, the reporting point position when the touch object is not affected by the associated part is required.

[0059] In step S22, the touch object without the associated part touches the target area N times, and the average value of the reported point coordinates corresponding to the N times is determined as the second reported point coordinates.

[0060] In the embodiment of the present disclosure, the second reporting point coordinates refer to the reporting point coordinates triggered when the touch object touches the target area but the peripheral area does not contact the touch screen, that is, the reporting point actually desired to be corrected.

[0061] In the disclosed embodiment, when obtaining the second reported point coordinates, the value of N should be as large as possible so that the obtained mean can be closer to the actual situation. Therefore, the accuracy of the finally obtained mean of the reported point coordinates can be guaranteed, and the mean is used as the second reported point coordinates.

[0062] In the embodiment of the present disclosure, after obtaining the average reported point of the touch object in the target area under the influence of the associated part and the average reported point of the touch object without being affected by the associated part, the offset can be calculated.

[0063] In step S23, the difference between the first reporting point coordinates and the second reporting point coordinates is determined, and the difference is used as the reporting point offset.

[0064] In the disclosed embodiment, the difference between the first reported point coordinates and the second reported point coordinates is not limited to the numerical value, but also includes the direction of the offset.

[0065] In the embodiment of the present disclosure, the offset of a target area can be obtained, so for multiple target areas, the offset corresponding to each target area can also be obtained. Therefore, the reporting point offsets of all target areas can be obtained by this method.

[0066] In step S24, a correspondence between the target area and the reporting point offset is created.

[0067] In the disclosed embodiment, since the reporting point offsets corresponding to all target areas can be obtained, the corresponding relationship between the target area and the reporting point offset can be created through each target area and its corresponding reporting point offset. For example, for target area a, the reporting point offset that best fits the actual situation for the target area a can be obtained through multiple reporting points, and it is saved in the created corresponding relationship between the target area and the reporting point offset. The corresponding relationship can be called at any time in subsequent operations involving the target area a.

[0068] After obtaining the corresponding relationship between the target area and the reporting point offset, the subsequent reporting point correction operation can be made more convenient and quick.

[0069] In the embodiment of the present disclosure, after the corresponding relationship between the target area and the reporting point offset is created, the reporting point can be corrected using the corresponding relationship. Figure 3 is a flow chart of a method for correcting a reporting point according to an exemplary embodiment. Figure 3 As shown, the reporting point correction method is used in a terminal and includes the following steps.

[0070] In step S31, the positive or negative value of the reporting point offset value is determined.

[0071] In the disclosed embodiment, for a certain target area, the corrected reporting point may be in various directions of the target area, so the reporting point offset has positive and negative values, and the positive and negative signs are used to characterize the direction of the offset.

[0072] In the embodiment of the present disclosure, in order to determine the direction of the offset, it is necessary to judge whether the reporting point offset is positive or negative.

[0073] In the disclosed embodiment, after determining the positive or negative sign of the reporting point offset value, it is necessary to determine the direction and position of the correction according to the positive or negative sign.

[0074] In step S32, if the reporting point offset is a positive value, the first target area is shifted in the first offset direction by a value corresponding to the reporting point offset, and is determined as the second target area.

[0075] In the embodiment of the present disclosure, the first offset direction refers to the offset direction corresponding to a positive offset.

[0076] In the embodiment of the present disclosure, when the reporting point offset is a positive value, the first target area is offset in the first offset direction, and the offset value is the absolute value of the offset. For example, when the first offset direction is set to the right in the horizontal direction, if the reporting point offset corresponding to the first target area is +3, the first target area is used as the basis, and the area is moved to the right by 3 unit lengths in the horizontal direction, and the obtained area is determined as the second target area.

[0077] In step S33, if the reporting point offset is a negative value, the first target area is shifted in the second offset direction by a value corresponding to the reporting point offset, and is determined as the second target area.

[0078] In the embodiment of the present disclosure, when the reporting point offset is a negative value, the first target area is offset in the second offset direction, and the offset value is the absolute value of the offset. For example, when the second offset direction is set to the horizontal left, if the reporting point offset corresponding to the first target area is -3, the first target area is used as the basis, and the area is moved 3 units to the left in the horizontal direction, and the obtained area is determined as the second target area.

[0079] It should be understood that, in the embodiment of the present disclosure, the first offset direction and the second offset direction corresponding to the positive and negative offsets of the reporting points on the same horizontal line are in opposite directions.

[0080] In the embodiments of the present disclosure, the offset direction may be in any direction, and the present disclosure does not limit this.

[0081] After determining how to obtain the second target area according to the offset, the operation of correction according to the target area reporting point and the offset corresponding to the target area is implemented.

[0082] In the disclosed embodiment, although the reporting point correction operation can be implemented, before the reporting point position correction of the target area is performed, it is necessary to determine whether the current scene meets the reporting point correction conditions.

[0083] Figure 4 is a flow chart of a touch position determination method according to an exemplary embodiment. Figure 4 As shown, the touch position determination method is used in a terminal and includes the following steps.

[0084] In step S41, in response to detecting that a touch area exists on the touch screen of the electronic device, a capacitance change amount of the touch area is determined.

[0085] In the disclosed embodiment, the electronic device touch screen can detect the capacitance change when the touch object contacts the touch screen. For example, when the user touches the screen with a finger and a nail, the capacitance of the screen will change differently.

[0086] In the embodiment of the present disclosure, after the sum of the capacitance changes of the touched areas is determined, it is also necessary to compare the capacitance change with the capacitance change preset in advance.

[0087] In step S42, it is determined whether the capacitance change amount matches a preset capacitance change value.

[0088] In the embodiment of the present disclosure, the preset capacitance change value is a capacitance change amount generated when the touch object and the associated part are in contact with the touch screen of the electronic device, which is measured in advance.

[0089] In the disclosed embodiment, the matching of the capacitance change with the preset capacitance change value means that the capacitance change value at each point in the target area is equal to the preset capacitance change value at each point.

[0090] In step S43, it is determined that the associated portion of the touch object contacts the touch screen of the electronic device.

[0091] In the disclosed embodiment, after detecting that the capacitance change amount matches the preset capacitance change value, it is considered that the current scenario satisfies that the associated part of the touch object contacts the touch screen of the electronic device.

[0092] In the disclosed embodiment, the touch object may be a finger, the associated part of the touch object may be a nail, and the target area may be a keyboard area on the input method virtual keyboard. For example, when a finger with a nail touches the virtual keyboard, the nail may cause the position of the finger touching the screen to shift, so a correction operation needs to be performed on the reporting point. The reporting point obtained after correction is consistent with the reporting point of the finger on the virtual keyboard when it is not affected by the nail, thereby reducing the probability of the user making a wrong typing due to the nail, thereby improving the user experience.

[0093] In the disclosed embodiment, the method for correcting the reporting point can be used in the user's typing scenario, and can be used to optimize the touch screen reporting point position when the user has long nails, for example, to optimize the touch reporting point position of the 26-key input method.

[0094] In the embodiment of the present disclosure, data collection is required when determining the offset. To be practical, the coordinates of the 26-key reporting points can be collected manually. Since the thumb is the most commonly used tool when typing, the thumb can be used to collect data on the reporting point position.

[0095] In the embodiment of the present disclosure, during the acquisition process, when the real thumbnail can touch the screen, use the thumb to click each key on the keyboard, during which the fingernail is guaranteed to touch the screen, and the report point obtained by the click is recorded. Each report point is repeated 10 times, and the report point coordinates report_1_i (x j ,y j ). Integrate the 10 collected report points and take the average value to get the actual report point report_1_i(x,y) of the ith key when the user's fingernail touches the screen. Repeat the above method to get the actual report point of each area on the 26-key keyboard when the user's fingernail touches the screen when typing.

[0096] In the disclosed embodiment, if the user's nails are too short to touch the screen when typing, the user can put false nails on the thumb that can touch the screen, and then complete the data collection operation according to the above-mentioned collection method when the user's nails can touch the screen.

[0097] In the disclosed embodiment, after obtaining the reporting point of each key when the user's fingernails touch the screen while typing, it is also necessary to obtain the reporting point of each key when the user is not affected by the fingernails.

[0098] In the disclosed embodiment, the user can collect data again in a way that the fingernails cannot touch the screen, or can collect data by cutting the fingernails short so that they cannot touch the screen. For example, use the thumb to click each key on the keyboard, during which the fingernails are guaranteed to touch the screen, and enter the report point obtained by the click. Each report point is repeated 10 times, and the report point coordinates report_2_i (x j ,y j ). The 10 collected report positions are integrated and averaged to obtain the average report position report_2_i(x,y) when the user's fingernail does not touch the screen.

[0099] Through the above data collection, the accurate reporting point of each key on the keyboard can be obtained when the user's nail touches the screen and when the nail does not touch the screen.

[0100] In the disclosed embodiment, after the data collection work is completed, an offset table can be established based on the collected data to indicate the offset of each key.

[0101] In the disclosed embodiment, the offset of each key is obtained by subtracting the average value of the points reported when the user's nail touches the screen from the average value of the points reported when the user's nail does not touch the screen.

[0102] In the embodiment of the present disclosure, the offset of the i-th key is defined as Δdiff i (Δx, Δy), specify Δdiff i (Δx, Δy) = report_2_i(x, y) - report_1_i(x, y); where report_2_i(x, y) - report_1_i(x, y) represents the difference between the reported point when the user's nail does not touch the screen and the reported point when the user's nail touches the screen for the i-th key.

[0103] In the disclosed embodiment, the offset Δdiff of the i-th key i (Δx, Δy) contains two parameters for indicating the offset, Δx and Δy. Since the offset may be in various directions, for ease of operation, Δx is defined as the offset in the horizontal direction on the plane where the touch screen is located, with positive values ​​to the right; for example, Δx=3 means that the offset is 3 units in the horizontal direction to the right. Δy is defined as the offset in the vertical direction on the plane where the touch screen is located, with positive values ​​to the upward direction; for example, Δy=-3 means that the offset is 3 units in the vertical direction downward. By defining the direction, Δdiff can be used. i (Δx, Δy) represents any offset on the plane where the touch screen is located.

[0104] In the embodiment of the present disclosure, when establishing the offset table for point reporting correction, in order to facilitate processing, the offset Δdiff of the i-th key needs to be i (Δx, Δy) is further converted into the form of direction and absolute offset and its direction is recorded. The absolute offset of the i-th key is expressed in the form of |Δx| and |Δy|. The direction and absolute offset are recorded in the offset table and stored in the device. For example, if the Δdiff corresponding to the i-th key is i In (Δx, Δy), Δx=3, Δy=-3. The offset data recorded in the table should be: 3 unit lengths to the right in the horizontal direction and 3 unit lengths downward in the vertical direction.

[0105] To facilitate understanding of offset determination, Figure 5 is a diagram showing an example of determining an offset according to an exemplary embodiment.

[0106] like Figure 5As shown in the figure, area 1 represents fingers and area 2 represents nails. A, B, and C represent the three keys on the numeric keypad respectively. Point M is the reporting point when the user's nails touch the screen, and point N is the reporting point when the user has no nails or the nails are cut short and do not touch the screen. The straight line OM is the straight line in the horizontal direction of the plane where the keyboard is located, and the straight line ON is the straight line in the vertical direction of the plane where the keyboard is located. The angle between the straight line OM and the straight line ON is a right angle, and the length of OM is Δx and the length of ON is Δy.

[0107] In the disclosed embodiment, the user originally wants to touch key A, but the fingernail hits the screen, causing the reporting point to shift, and the actual reporting point is point M. If the user is not affected by the fingernail, he will press point N. Therefore, for key A, the offset is the offset from point N to point M. Therefore, for key A, the reporting point when the fingernail touches the screen is offset by a length of |Δx| to the right in the horizontal direction and a length of |Δy| to the downward in the vertical direction based on the reporting point when the fingernail does not touch the screen.

[0108] By determining the offset, the relationship between the reported points when the fingernail touches the screen and the reported points when the fingernail does not touch the screen becomes clear.

[0109] In the disclosed embodiment, by sequentially entering the offset of each key, the offset table of all keys can be established.

[0110] In the disclosed embodiment, after the offset table is established, the offset table can be used to correct the reporting point.

[0111] In the disclosed embodiment, when performing the reporting point correction operation, it is necessary to first detect whether the fingernail touches the screen; only when it is detected that the fingernail touches the screen, the subsequent correction operation is performed.

[0112] In the disclosed embodiment, the detection of the fingernail touching the screen is determined by the change in capacitance of the touch screen when the touch screen is touched.

[0113] In the disclosed embodiment, the capacitance change of the touch screen area when the user's fingernails and fingers touch the screen at the same time is preset in the terminal in advance. Since the capacitance change of the screen when the fingernails and fingers touch the screen are different, only when the user's fingernails and nails touch the screen at the same time when touching the screen, the capacitance change of the touch area will be the same as the capacitance change of the touch area when the user's fingernails and fingers touch the screen at the same time preset in the terminal. Therefore, this method can accurately identify whether the user's fingernails touch the screen when using fingers to touch the screen.

[0114] In the embodiment of the present disclosure, when it is confirmed that the user's finger and nail touch the screen at the same time, a correction operation will be performed on the reporting point at this time according to the offset table.

[0115] In the embodiment of the present disclosure, when performing the report point correction operation, if the key currently clicked by the user is the i-th key on the keyboard, the report point obtained in this case is recorded as report_i(x, y). This report point is the report point when the fingernail touches the screen, so the corresponding report point can be found in the offset table established in advance. According to the corresponding relationship in the table, the current report point plus the offset Δdiff obtained by looking up the table is i (Δx, Δy), the corrected reporting point can be obtained.

[0116] In the embodiment of the present disclosure, the correction report point is based on report_c_i(x,y)=report_i(x,y)+Δdiff i (Δx, Δy). Among them, report_c_i(x, y) is the corrected reporting point in the current scene, report_i(x, y) is the actual reporting point where the fingernail touches the screen in the current scene, and Δdiff i (Δx, Δy) represents the offset of the i-th key in the offset table. Through the above calculation, the corrected report_c_i(x,y) can be obtained when the user's fingernail hits the screen and the report for the i-th key is report_i(x,y). The corrected report is used as the command input terminal, which avoids the user's fingernail hitting the screen and causing the report to deviate, and the user cannot click the area they want to click, greatly improving the user's typing experience.

[0117] In the embodiments of the present disclosure, the user may touch the screen with both the fingernails and fingers at the same time when using other applications. At this time, the user may not need to perform typing operations, nor need to correct the reporting point. Therefore, the reporting point confirmation method in the present disclosure can be set to be executed only when the user is in a typing scenario, which can prevent the user from performing reporting point correction in a non-typing scenario, resulting in the user being unable to press the area he wants to press.

[0118] Based on the same concept, the embodiment of the present disclosure also provides a time reporting and confirmation device.

[0119] It is understandable that, in order to realize the above functions, the reporting point confirmation device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.

[0120] Figure 6 is a block diagram of a device for reporting and confirming a point according to an exemplary embodiment. Figure 6 The device includes a processing unit 101 and a correction unit 102.

[0121] The processing unit 101 is used to determine the first target area contacted by the non-associated part of the touch object in response to the touch screen of the electronic device detecting the contact of the associated part of the touch object, wherein the touch screen does not generate a reporting point for the contact position of the associated part, and the touch screen display area includes multiple target areas, and each target area in the multiple target areas has a corresponding relationship with the reporting point offset; and is used to determine the first offset corresponding to the first target area based on the corresponding relationship between the target area and the reporting point offset; and is used to determine the second target area as the reporting point area. The correction unit 102 is used to correct the first target area based on the first offset to obtain the second target area;

[0122] In one embodiment, the correspondence between the target area and the reporting point offset is determined in the following manner: the touch object including the associated part touches the target area N times, and the average value of the reporting point coordinates corresponding to the N times is determined as the first reporting point coordinates; the touch object without the associated part touches the target area N times, and the average value of the reporting point coordinates corresponding to the N times is determined as the second reporting point coordinates; the difference between the first reporting point coordinates and the second reporting point coordinates is determined, and the difference is used as the reporting point offset; and a correspondence between the target area and the reporting point offset is created.

[0123] In one embodiment, the reporting point offset is a positive value or a negative value; the correction unit 102 corrects the first target area based on the first offset to obtain the second target area in the following manner: if the reporting point offset is a positive value, the first target area is offset in the first offset direction by a value corresponding to the reporting point offset, and is determined as the second target area; if the reporting point offset is a negative value, the first target area is offset in the second offset direction by a value corresponding to the reporting point offset, and is determined as the second target area.

[0124] In one embodiment, the processing unit 101 determines that the associated part of the touch object contacts the touch screen of the electronic device in the following manner: determine the capacitance change of the touched area; if the capacitance change matches a preset capacitance change value, determine that the associated part of the touch object contacts the touch screen of the electronic device; the preset capacitance change value is the capacitance change generated when the touch object and the associated part contact the touch screen of the electronic device.

[0125] In one implementation, the touch object is a finger, the associated part is a nail, and the target area is a keyboard key area on the input method virtual keyboard.

[0126] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0127] Figure 7 1 is a block diagram of a device 200 for reporting and confirming a point according to an exemplary embodiment. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0128] Reference Figure 7 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .

[0129] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.

[0130] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0131] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.

[0132] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0133] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.

[0134] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0135] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0136] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0137] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0138] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0139] Figure 8 3 is a block diagram of a device 300 for reporting and confirming a point according to an exemplary embodiment. For example, the device 300 may be provided as a server. Figure 8 The apparatus 300 includes a processing component 322, which further includes one or more processors, and a memory resource represented by a memory 332 for storing instructions executable by the processing component 322, such as an application. The application stored in the memory 332 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 322 is configured to execute instructions to perform the above-mentioned reporting point confirmation method.

[0140] The device 300 may also include a power supply component 326 configured to perform power management of the device 300, a wired or wireless network interface 350 configured to connect the device 300 to a network, and an input / output (I / O) interface 358. The device 300 may operate based on an operating system stored in the memory 332, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.

[0141] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 332 including instructions, and the instructions can be executed by the processing component 322 of the device 300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0142] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.

[0143] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.

[0144] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.

[0145] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.

[0146] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.

[0147] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.

Claims

1. A method for determining a reporting point, characterized in that: The method comprises: In response to the touch screen of the electronic device detecting contact of the associated part of the touch object, determining a first target area contacted by the associated part of the touch object, wherein the touch screen does not generate a reporting point for the contact position of the associated part, but generates a reporting point for the contact position of the touch object, the display area of ​​the touch screen includes a plurality of target areas, and each of the plurality of target areas has a corresponding relationship with a reporting point offset; Based on the correspondence between the target area and the reporting point offset, determining a first offset corresponding to the first target area; Correcting the first target area based on the first offset to obtain a second target area; The second target area is determined as the reporting point area.

2. The method according to claim 1, characterized in that The corresponding relationship between the target area and the reporting point offset is determined in the following manner: Touching the target area N times with the touch object including the associated part, and determining an average value of the reported point coordinates corresponding to the N times as the first reported point coordinates; The touch object without the associated part touches the target area N times, and an average value of the reported point coordinates corresponding to the N times is determined as the second reported point coordinates; Determine the difference between the first reporting point coordinates and the second reporting point coordinates, and use the difference as the reporting point offset; A corresponding relationship between the target area and the reporting point offset is established.

3. The method according to claim 1 or 2, characterized in that: The reporting point offset is a positive value or a negative value; The correcting the first target area based on the first offset to obtain a second target area includes: If the reporting point offset is a positive value, the first target area is shifted in the first offset direction by a value corresponding to the reporting point offset to be determined as the second target area; If the reporting point offset is a negative value, the first target area is shifted in the second offset direction by a value corresponding to the reporting point offset, and is determined as the second target area.

4. The method according to claim 1, characterized in that: The step of determining that the associated portion of the touch object contacts the touch screen of the electronic device includes: In response to detecting that a touch area exists on the touch screen of the electronic device, determining a capacitance change amount of the touch area; If the capacitance change matches the preset capacitance change value, it is determined that the associated portion of the touch object contacts the touch screen of the electronic device; The preset capacitance change value is the capacitance change amount generated when the touch object and the associated part contact the touch screen of the electronic device.

5. The method according to claim 1, characterized in that The touch object is a finger, the associated part is a nail, and the target area is a keyboard key area on an input method virtual keyboard.

6. A reporting point determination device, characterized in that: The device comprises: A processing unit, configured to determine, in response to a touch screen of an electronic device detecting a contact of an associated portion of a touch object, a first target area contacted by a non-associated portion of the touch object, wherein the touch screen does not generate a reporting point for the contact position of the associated portion, the display area of ​​the touch screen includes a plurality of target areas, and each of the plurality of target areas has a corresponding relationship with a reporting point offset; and to determine a first offset corresponding to the first target area based on the corresponding relationship between the target area and the reporting point offset; and to determine the second target area as a reporting point area; A correction unit is used to correct the first target area based on the first offset to obtain a second target area.

7. The device according to claim 6, characterized in that The corresponding relationship between the target area and the reporting point offset is determined in the following manner: Touching the target area N times with the touch object including the associated part, and determining an average value of the reported point coordinates corresponding to the N times as the first reported point coordinates; The touch object without the associated part touches the target area N times, and an average value of the reported point coordinates corresponding to the N times is determined as the second reported point coordinates; Determine the difference between the first reporting point coordinates and the second reporting point coordinates, and use the difference as the reporting point offset; A corresponding relationship between the target area and the reporting point offset is established.

8. The device according to claim 6 or 7, characterized in that The reporting point offset is a positive value or a negative value; The correction unit corrects the first target area based on the first offset to obtain a second target area in the following manner: If the reporting point offset is a positive value, the first target area is shifted in the first offset direction by a value corresponding to the reporting point offset to be determined as the second target area; If the reporting point offset is a negative value, the first target area is shifted in the second offset direction by a value corresponding to the reporting point offset, and is determined as the second target area.

9. The device according to claim 6, characterized in that The processing unit determines that the associated part of the touch object contacts the touch screen of the electronic device in the following manner: In response to detecting that a touch area exists on the touch screen of the electronic device, determining a capacitance change amount of the touch area; If the capacitance change matches the preset capacitance change value, it is determined that the associated portion of the touch object contacts the touch screen of the electronic device; The preset capacitance change value is the capacitance change amount generated when the touch object and the associated part contact the touch screen of the electronic device.

10. The device according to claim 6, characterized in that The touch object is a finger, the associated part is a nail, and the target area is a keyboard key area on an input method virtual keyboard.

11. A reporting point determination device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the method described in any one of claims 1 to 5.

12. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the method according to any one of claims 1 to 5.