Touch Input Method, Device and Electronic Device

The ultrasonic fingerprint module and the touch screen module jointly collect touch input coordinates, which solves the problem of poor input effect when the touch screen fails, ensuring that the input can still be input normally when the touch screen module fails.

CN114063829BActive Publication Date: 2025-07-18VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111386155.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-22
Publication Date
2025-07-18
Estimated Expiration
2041-11-22

AI Technical Summary

Technical Problem

In the existing touch input methods, when the touch screen fails, the touch screen module fails, resulting in poor input effect.

Method used

The ultrasonic fingerprint module and the touch screen module jointly collect the user's touch input coordinates, determine the target position coordinates, and when the touch screen module fails, the ultrasonic fingerprint module is used to perform corresponding actions.

Benefits of technology

Even if the touch screen module fails, it can still receive user input through the ultrasonic fingerprint module and perform corresponding actions, alleviating the problem of poor input effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114063829B_ABST
    Figure CN114063829B_ABST
Patent Text Reader

Abstract

The present application discloses a touch input method, device, and electronic device, belonging to the technical field of electronic products. The method includes: obtaining a first position coordinate of a touch input of a user based on an ultrasonic fingerprint module, and obtaining a second position coordinate of the touch input based on a touch screen module; determining a target position coordinate based on the first position coordinate and the second position coordinate; and performing an action corresponding to the target position coordinate in response to the target position coordinate. Through the above solution, even when the touch screen module fails, the user input can be received based on the ultrasonic fingerprint module and the corresponding action can be performed, which is beneficial to alleviating the problem of poor input effect existing in the existing touch input method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of electronic products, and in particular, to a touch input method, device, and electronic device. Background Art

[0002] Existing electronic devices usually have a touch screen, which generally has the functions of displaying a picture and receiving user touch input. However, since the touch screen is a relatively fragile component in an electronic device, when the touch screen fails, the touch screen module integrated in the touch screen may become ineffective, resulting in the user being unable to perform touch input through the touch screen. It can be seen that the existing touch input methods have the problem of poor input effects. Summary of the Invention

[0003] This application provides a touch input method, device, and electronic device, which can alleviate the problem of poor input effects existing in the existing touch input methods.

[0004] To solve the above technical problems, this application is implemented as follows:

[0005] In a first aspect, an embodiment of this application provides a touch input method, including:

[0006] Obtaining a first position coordinate of a user's touch input based on an ultrasonic fingerprint module, and obtaining a second position coordinate of the touch input based on a touch screen module;

[0007] Determining a target position coordinate based on the first position coordinate and the second position coordinate;

[0008] Responding to the target position coordinate and performing an action corresponding to the target position coordinate.

[0009] In a second aspect, an embodiment of this application provides a touch input device, including:

[0010] An obtaining module, configured to obtain a first position coordinate of a user's touch input based on an ultrasonic fingerprint module, and obtain a second position coordinate of the touch input based on a touch screen module;

[0011] A determining module, configured to determine a target position coordinate based on the first position coordinate and the second position coordinate;

[0012] A responding module, configured to respond to the target position coordinate and perform an action corresponding to the target position coordinate.

[0013] In a third aspect, an embodiment of this application provides an electronic device, which includes a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps described in the first aspect above are implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, characterized in that a program or instructions are stored on the readable storage medium, and when the program or instructions are executed by a processor, the steps described in the first aspect above are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instructions, and when the program or instructions are executed by the processor, the steps described in the first aspect above are implemented.

[0016] In an embodiment of the present application, by obtaining the first position coordinates of a touch input of a user based on an ultrasonic fingerprint module, and obtaining the second position coordinates of the touch input based on a touch screen module, and determining target position coordinates based on the first position coordinates and the second position coordinates, in this way, in the case where the touch screen module cannot obtain position coordinates, the electronic device can execute corresponding actions based on the position coordinates obtained by the ultrasonic fingerprint module. Thus, even when the touch screen module fails, the ultrasonic fingerprint module can receive user input and execute corresponding actions, which helps to alleviate the problem of poor input effect existing in the existing touch input methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is one of the flow diagrams of the touch input method provided by an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of the detection area of the touch screen module in an embodiment of the present application;

[0019] Figure 3 is another flow diagram of the touch input method provided by an embodiment of the present application;

[0020] Figure 4 is a schematic diagram of the structure of a brightness adjustment device provided by an embodiment of the present application;

[0021] Figure 5 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application;

[0022] Figure 6 is a schematic diagram of the hardware structure of the electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0023] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally indicates an "or" relationship between the associated objects before and after.

[0025] Next, in conjunction with the accompanying drawings, the touch input method, device, and electronic device provided by the embodiments of the present application will be described in detail through specific embodiments and their application scenarios.

[0026] Please refer to Figure 1 , a touch input method provided by an embodiment of the present application, the method includes the following steps:

[0027] Step S101, obtaining the first position coordinates of the touch input of the user based on the ultrasonic fingerprint module, and obtaining the second position coordinates of the touch input based on the touch screen module.

[0028] Step S102, determining the target position coordinates based on the first position coordinates and the second position coordinates.

[0029] Step S103, in response to the target position coordinates, performing an action corresponding to the target position coordinates.

[0030] Among them, the ultrasonic fingerprint module may include an ultrasonic fingerprint sensor, and the touch screen module may include a touch screen sensor. Currently, some existing electronic devices have both: an ultrasonic fingerprint module for collecting the user's fingerprint, and a touch screen module for receiving the user's touch input. Since the area of the ultrasonic fingerprint module is relatively large, the ultrasonic fingerprint module and the touch screen sensor usually have an overlapping area. Specifically, the ultrasonic fingerprint module is usually disposed in the lower half of the touch screen of the electronic device. Therefore, the ultrasonic fingerprint module usually has an overlapping area with the lower half of the touch screen module.

[0031] Since the ultrasonic fingerprint module also has a position acquisition function, when a user makes a touch input on the lower half of the touch screen, both the ultrasonic fingerprint module and the touch screen module can acquire the coordinates of the touch position of the user. Correspondingly, when the touch input of the user acts on the upper half of the touch screen, the ultrasonic fingerprint module cannot acquire the coordinates of the touch position, while the touch screen module can acquire the coordinates of the touch position. In the related art, the central processing unit (CPU) of an electronic device determines the intention of the user by obtaining the coordinates of the touch position acquired by the touch screen module, and then executes an action corresponding to the touch input. However, when the touch screen module fails, the user input cannot be obtained, resulting in the user being unable to perform a touch input through the touch screen.

[0032] Based on this, in the embodiments of the present application, by simultaneously acquiring the coordinate positions of the user's touch input based on the ultrasonic fingerprint module and the touch screen module, and when it is determined that the touch screen module may fail, performing corresponding actions based on the coordinate positions acquired by the ultrasonic fingerprint module, to ensure that when the touch screen module fails, the user input can still be normally obtained and the corresponding actions can be executed.

[0033] Among them, the touch input can be various types of touch inputs made by the user through the touch screen of the electronic device. For example, it can be a click input or a swipe input of the user. When the touch input is a click input of the user, the first position coordinate is the position coordinate of the click position of the click input acquired by the ultrasonic fingerprint module, and the second position coordinate is the position coordinate of the click position of the click input acquired by the touch screen module. When the touch input is a swipe input, the first position coordinate and the second position coordinate can be: the position coordinates acquired by the ultrasonic fingerprint module and the touch screen module at the same moment.

[0034] In some cases, the touch screen module may not be able to collect the user's touch input properly. For example, when the touch screen of the electronic device is broken and the touch module is damaged, the touch screen module may not be able to collect the user's touch input properly. Or, when the electronic device is in a humid environment or there are water droplets on the surface of the touch screen, etc., since the water vapor will make the user's finger become a large-area conductor surface, thus changing the capacitance between the user's finger and the touch screen, and then it may cause the touch screen module to not be able to collect the user's touch input properly. And because the ultrasonic fingerprint module does not obtain the position coordinates of the user's touch input based on the touch module, and the ultrasonic fingerprint module also does not obtain the position coordinates of the user's touch input based on the capacitance between the user's finger and the touch screen. Therefore, when the touch module is damaged or when the electronic device is in a humid environment, the ultrasonic fingerprint module can also normally obtain the position coordinates of the user's touch input. Based on this, in the embodiments of the present application, when the touch module is damaged or when the electronic device is in a humid environment, the position coordinates of the user's touch input can be obtained based on the ultrasonic fingerprint module, so as to ensure that in this case, the user can normally input through the touch screen, which is beneficial to alleviating the problem of poor input effect existing in the existing touch input methods.

[0035] In this embodiment, by obtaining the first position coordinates of the user's touch input based on the ultrasonic fingerprint module, and obtaining the second position coordinates of the touch input based on the touch screen module, and determining the target position coordinates based on the first position coordinates and the second position coordinates, in this way, in the case where the touch screen module cannot obtain the position coordinates, the electronic device can perform corresponding actions based on the position coordinates obtained by the ultrasonic fingerprint module. In this way, even when the touch screen module fails, the user input can be received based on the ultrasonic fingerprint module and corresponding actions can be performed, which is beneficial to alleviating the problem of poor input effect existing in the existing touch input methods.

[0036] Optionally, the determining the target position coordinates based on the first position coordinates and the second position coordinates includes:

[0037] When the first position coordinates are obtained and the second position coordinates are obtained, the target position coordinates are determined based on the first position coordinates and the second position coordinates.

[0038] When the first position coordinates are obtained and the second position coordinates are obtained, it means that both the ultrasonic fingerprint module and the touch screen module have successfully collected the position coordinates of the user's touch input. In this case, any one of the first position coordinates and the second position coordinates can be used as the target position coordinates, or the first position coordinates and the second position coordinates can be comprehensively considered to determine the target position coordinates.

[0039] In addition, when the touch module is damaged or when the electronic device is in a humid environment, the touch module may also be able to obtain the second position coordinates, but the obtained second position coordinates may not be accurate. Correspondingly, the ultrasonic fingerprint module may also have a problem that the detected first position coordinates are inaccurate due to the influence of the external environment. Based on this, before determining the target position coordinates based on the first position coordinates and the second position coordinates, the embodiments of the present application may further determine whether the first position coordinates and the second position coordinates are accurate.

[0040] Optionally, determining the target position coordinates based on the first position coordinates and the second position coordinates includes:

[0041] When the distance between the first position coordinates and the second position coordinates is within a preset range, determining the target position coordinates based on the first position coordinates and the second position coordinates;

[0042] When the distance between the first position coordinates and the second position coordinates is outside the preset range, determining that the touch input is an invalid input;

[0043] Wherein, the distance between the first position coordinates and the second position coordinates, that is, the distance between two coordinate points, can be calculated according to the common distance calculation formula between coordinates.

[0044] Specifically, since the first position coordinates and the second position coordinates are the acquisition results obtained by two different modules for collecting the touch positions of the same touch input, theoretically, their coordinate values should be the same coordinate values. However, due to errors in both the ultrasonic fingerprint module and the touch screen module, there may be a certain deviation in the acquisition results of the two. Based on this, the embodiments of the present application can preset a preset range according to the actual situation. For example, the preset range can be less than 5 mm. When the distance between the two is within the preset range, that is, within the normal error range, it can be determined that both the first position coordinates and the second position coordinates are accurate coordinate values. At this time, the target position coordinates can be determined based on the first position coordinates and the second position coordinates.

[0045] Correspondingly, when the distance between the first position coordinates and the second position coordinates is outside the preset range, it can be confirmed that at least one of the detection results of the ultrasonic fingerprint module and the touch screen module is inaccurate. Based on this, to avoid the problem of misoperation of the electronic device, it can be considered that this touch input is an invalid input. In this case, the electronic device does not perform any action.

[0046] Optionally, determining the target position coordinate based on the first position coordinate and the second position coordinate includes:

[0047] Calculating the product of the first position coordinate and the first weight parameter to obtain a first target position coordinate, and calculating the product of the second position coordinate and the second weight parameter to obtain a second target position coordinate, where the sum of the first weight parameter and the second weight parameter is 1;

[0048] Determining the sum of the first target position coordinate and the second target position coordinate as the target position coordinate.

[0049] Wherein, the value ranges of both the first weight parameter and the second weight parameter can be between 0 and 1. Through experimental verification, when the first weight parameter is 0.2 and the second weight parameter is 0.8, the accuracy of the value of the target position coordinate is relatively high. Based on this, in the embodiments of the present application, by setting the first weight parameter to 0.2 and the second weight parameter to 0.8, it is beneficial to improve the accuracy of the obtained target position coordinate. For example, when the first position coordinate is (A1, B1) and the second position coordinate is (A2, B2), the target position coordinate is: (0.2*A1 + 0.8*A2, 0.2*B1 + 0.8*B2).

[0050] In this embodiment, by calculating based on the preset weights according to the first target position coordinate and the second target position coordinate to obtain the target position coordinate, it is beneficial to improve the accuracy of the obtained target position coordinate.

[0051] Optionally, determining the target position coordinate based on the first position coordinate and the second position coordinate includes:

[0052] In the case where the first position coordinate is obtained and the second position coordinate is not obtained, determining the first position coordinate as the target position coordinate.

[0053] In this embodiment, by obtaining the first position coordinate of the user's touch input based on the ultrasonic fingerprint module, and obtaining the second position coordinate of the touch input based on the touch screen module, and in the case where the first position coordinate is obtained and the second position coordinate is not obtained, that is, when the touch screen module may fail, enabling the electronic device to perform corresponding actions based on the first position coordinate. In this way, even when the touch screen module fails, the electronic device can receive user input based on the ultrasonic fingerprint module and perform corresponding actions, which is beneficial to alleviating the problem of poor input effect existing in the existing touch input methods.

[0054] It can be understood that when the first position coordinate is not obtained and the second position coordinate is not obtained, it indicates that the user may not have input any operation. Therefore, in this case, the electronic device may not perform any action.

[0055] Please refer to Figure 2 , in an embodiment of the present application, the detection area of the touch screen module includes a first sub-area and a second sub-area. The first sub-area overlaps with the detection area of the ultrasonic fingerprint module, and the second sub-area is located outside the detection area of the ultrasonic fingerprint module. In this case, when the user's touch input acts on the first sub-area, both the ultrasonic fingerprint module and the touch screen module can detect the position coordinates of the touch input. Therefore, when the touch screen module fails, the user can input through the first sub-area, so as to ensure that the user's control requirements for the electronic device can be met even when the touch screen module fails.

[0056] Among them, the first sub-area can be set in the lower half of the detection area of the touch screen module. Since when the user operates the electronic device, the input is mainly through the lower half of the touch screen module. For example, when the user inputs text through the keyboard, the keyboard is usually displayed in the lower half of the touch screen module. In this way, by setting the first sub-area in the lower half of the detection area of the touch screen module, it is beneficial to further improve the touch input effect of the electronic device.

[0057] Optionally, determining the target position coordinate based on the first position coordinate and the second position coordinate includes:

[0058] When the first position coordinate is not obtained and the second position coordinate is obtained, the second position coordinate is determined as the target position coordinate.

[0059] In this embodiment, when the first position coordinate is not obtained and the second position coordinate is obtained, the user's touch input may directly act on the second sub-area. Since the ultrasonic fingerprint module cannot collect the position coordinates of the touch input in the second sub-area, the second position coordinate can be directly determined as the target position coordinate, so as to facilitate the electronic device to respond to the touch input of the user acting on the second sub-area.

[0060] Optionally, when the first position coordinate is not obtained and the second position coordinate is obtained, determining the second position coordinate as the target position coordinate includes:

[0061] When the first position coordinate is not obtained and the second position coordinate is obtained, determine whether the target position coordinate is located in the first sub-area;

[0062] When the second position coordinate is located in the first sub-region, determine that the touch input is an invalid input;

[0063] When the second position coordinate is located in the second sub-region, determine the second position coordinate as the target position coordinate.

[0064] Specifically, as can be seen from the discussion in the above embodiments, in a humid environment or when there are water droplets on the touch screen surface, the detection result of the touch screen module may be inaccurate. Therefore, when the first position coordinate is not obtained and the second position coordinate is obtained, before the electronic device makes a response, it can be further determined whether the detection result of the touch screen module is inaccurate, that is, it can be further determined whether the second position coordinate is accurate.

[0065] Since when the user's touch input acts on the second sub-region, there will be a situation where the second position coordinate can be obtained but the first position coordinate cannot be obtained. Therefore, it can be further determined whether the first position coordinate is located in the second sub-region to determine whether the first position coordinate is accurate. Specifically, when the second position coordinate is located in the second sub-region, the above conditions are met, and it can be considered that the second position coordinate is an accurate coordinate. Therefore, the second position coordinate can be determined as the target position coordinate so that the electronic device can perform corresponding actions in response to the second position coordinate.

[0066] Correspondingly, when the second position coordinate is located in the first sub-region, the above conditions are not met. Specifically, if the touch input actually acts on the first sub-region, the ultrasonic fingerprint module should obtain the first position coordinate, but the ultrasonic fingerprint module does not obtain the first position coordinate. Therefore, in this case, the detection result of either the touch screen module or the ultrasonic fingerprint module must be an incorrect detection result. Therefore, to avoid misoperation of the electronic device, when the second position coordinate is located in the first sub-region, the touch input is determined as an invalid input.

[0067] Please refer to Figure 3 , which is a flowchart of a touch input method provided by an embodiment of the present application. The method includes the following steps:

[0068] Step 1: The CPU controls the touch screen module and the ultrasonic fingerprint module to scan and collect the position coordinates of the user's touch input in real time. Among them, when the ultrasonic fingerprint module collects the first position coordinates, the first position coordinates can be temporarily stored and a first prompt message is sent to the CPU to prompt the user to retrieve the first position coordinates from the ultrasonic fingerprint module. Correspondingly, when the touch screen module collects the second position coordinates, the second position coordinates can be temporarily stored and a second prompt message is sent to the CPU to prompt the user to retrieve the second position coordinates from the touch screen module.

[0069] Step 2: When the CPU receives the first prompt message and / or the second prompt message, first retrieve the first position coordinates from the ultrasonic fingerprint module. If the first position coordinates cannot be successfully retrieved, then execute Step 3; if the first position coordinates can be successfully retrieved, then execute Step 4.

[0070] Step 3: If the first position coordinates cannot be successfully retrieved, then the position where the user's touch input acts is within the second sub-region. At this time, the CPU retrieves the second position coordinates from the touch screen module, determines the second position coordinates as the target position information, and then executes the corresponding action in response to the target position information.

[0071] Step 4: If the first position coordinates are successfully retrieved, then the position where the user's touch input acts is within the first sub-region. At this time, the CPU further retrieves the second position coordinates from the touch screen module. If the second position coordinates cannot be retrieved, then execute Step 5; if the second position coordinates can be retrieved, then execute Step 6;

[0072] Step 5: If the second position coordinates cannot be retrieved, then the touch screen module may be malfunctioning. At this time, the first position coordinates are confirmed as the target position information, and then the corresponding action is executed in response to the target position information.

[0073] Step 6: If the second position coordinates can be retrieved, then further determine whether the distance between the first position coordinates and the second position coordinates is within the preset range. If it is within the preset range, then execute Step 7; if it is outside the preset range, it means that at least one of the first position coordinates and the second position coordinates is inaccurate. To avoid misoperation of the electronic device, the touch input is regarded as an invalid input, and Step 1 is executed again.

[0074] Step 7: If the distance between the first position coordinates and the second position coordinates is within the preset range, it means that the coordinate values of the first position coordinates and the second position coordinates are accurate coordinate values. In this case, the target position coordinates can be determined based on the first position coordinates and the second position coordinates, and then the corresponding action is executed in response to the target position information.

[0075] The specific implementation process of this embodiment is similar to that of the above-mentioned embodiment, and can achieve the same beneficial effects. To avoid repetition, it will not be elaborated here.

[0076] In the touch input method provided by the embodiment of the present application, the execution subject can be a touch input device. In the embodiment of the present application, the method of touch input executed by the touch input device is taken as an example to illustrate the device of the touch input method provided by the embodiment of the present application.

[0077] Please refer to Figure 4 , which is a touch input device 400 provided by the embodiment of the present application. The device includes:

[0078] An acquisition module 401, configured to acquire a first position coordinate of a touch input of a user based on an ultrasonic fingerprint module, and acquire a second position coordinate of the touch input based on a touch screen module;

[0079] A determination module 402, configured to determine a target position coordinate based on the first position coordinate and the second position coordinate;

[0080] A response module 403, configured to execute an action corresponding to the target position coordinate in response to the target position coordinate.

[0081] Optionally, the determination module 402 is further configured to determine the target position coordinate based on the first position coordinate and the second position coordinate when the first position coordinate and the second position coordinate are acquired.

[0082] Optionally, the determination module 402 is specifically configured to determine the target position coordinate based on the first position coordinate and the second position coordinate when the distance between the first position coordinate and the second position coordinate is within a preset range;

[0083] The determination module 402 is specifically further configured to determine that the touch input is an invalid input when the distance between the first position coordinate and the second position coordinate is outside the preset range.

[0084] Optionally, the determination module 402 includes:

[0085] A calculation sub-module, configured to calculate the product of the first position coordinate and a first weight parameter to obtain a first target position coordinate, and calculate the product of the second position coordinate and a second weight parameter to obtain a second target position coordinate, where the sum of the first weight parameter and the second weight parameter is 1;

[0086] A determination sub-module, configured to determine the sum of the first target position coordinate and the second target position coordinate as the target position coordinate.

[0087] Optionally, the determining module 402 is further configured to determine the first position coordinate as the target position coordinate when the first position coordinate is obtained and the second position coordinate is not obtained.

[0088] Optionally, the determining module 402 is further configured to determine the second position coordinate as the target position coordinate when the first position coordinate is not obtained and the second position coordinate is obtained.

[0089] Optionally, the detection area of the touch screen module includes a first sub-area and a second sub-area. The first sub-area overlaps with the detection area of the ultrasonic fingerprint module, and the second sub-area is located outside the detection area of the ultrasonic fingerprint module.

[0090] Optionally, the determining module 402 is specifically configured to determine whether the target position coordinate is located in the first sub-area when the first position coordinate is not obtained and the second position coordinate is obtained.

[0091] The determining module 402 is specifically further configured to determine that the touch input is an invalid input when the second position coordinate is located in the first sub-area.

[0092] The determining module 402 is specifically further configured to determine the second position coordinate as the target position coordinate when the second position coordinate is located in the second sub-area.

[0093] In this embodiment, by obtaining the first position coordinate of the touch input of the user based on the ultrasonic fingerprint module, and obtaining the second position coordinate of the touch input based on the touch screen module, and determining the target position coordinate based on the first position coordinate and the second position coordinate, in this way, when the touch screen module cannot obtain the position coordinate, the electronic device can perform corresponding actions based on the position coordinate obtained by the ultrasonic fingerprint module. Thus, even when the touch screen module fails, the user input can be received based on the ultrasonic fingerprint module and corresponding actions can be performed, which is beneficial to alleviating the problem of poor input effect existing in the existing touch input method.

[0094] The touch input device 400 in the embodiments of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than terminals. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It can also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.

[0095] The touch input device 400 in the embodiments of the present application can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.

[0096] The touch input device 400 provided in the embodiments of the present application can implement Figures 1 to 3 each process implemented by the method embodiments. To avoid repetition, it will not be elaborated here.

[0097] Optionally, as Figure 5 shown, the embodiments of the present application further provide an electronic device 500, including a processor 501 and a memory 502. A program or instruction that can run on the processor 501 is stored on the memory 502. When the program or instruction is executed by the processor 501, it implements each step of the above touch input method embodiments and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0098] It should be noted that the brightness adjustment device in the embodiments of the present application includes the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0099] Figure 6 Schematic diagram of the hardware structure of an electronic device for implementing the embodiments of the present application.

[0100] The electronic device 600 includes, but is not limited to, components such as a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.

[0101] Those skilled in the art can understand that the electronic device 600 may further include a power source (such as a battery) for powering each component. The power source can be logically connected to the processor 610 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 6 The structure of the electronic device shown does not limit the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0102] It should be understood that in the embodiments of the present application, the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042. The graphics processing unit 6041 processes the image data of static pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes at least one of a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. The other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here.

[0103] The memory 609 can be used to store software programs and various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 609 can include volatile memory or non-volatile memory, or the memory 609 can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM). The memory 609 in the embodiments of the present application includes but is not limited to these and any other suitable types of memory.

[0104] The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 610 either.

[0105] Including but not limited to application programs and the operating system. The processor 610 can integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above modem processor may not be integrated into the processor 610 either.

[0106] The embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the touch input method is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be elaborated here.

[0107] Wherein, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc.

[0108] The embodiment of the present application further provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement each process of the above-mentioned embodiment of the touch input method, and the same technical effect can be achieved. To avoid repetition, it will not be elaborated here.

[0109] It should be understood that the chip mentioned in the embodiment of the present application may also be referred to as a system-on-chip, a system chip, a chip system, or a system-on-chip, etc.

[0110] The embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above-mentioned embodiment of the touch input method, and the same technical effect can be achieved. To avoid repetition, it will not be elaborated here.

[0111] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the methods and devices in the embodiments of the present application are not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

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

[0113] The embodiments of the present application have been described above with reference to the accompanying drawings. However, the present application is not limited to the above specific implementation manners. The above specific implementation manners are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.

Claims

1. A touch input method, characterized in that, Including: Obtaining a first position coordinate of a touch input of a user based on an ultrasonic fingerprint module, and obtaining a second position coordinate of the touch input based on a touch screen module, where the ultrasonic fingerprint module is used to collect the user's fingerprint; Determining a target position coordinate based on the first position coordinate and the second position coordinate; In response to the target position coordinate, performing an action corresponding to the target position coordinate; The determining the target position coordinate based on the first position coordinate and the second position coordinate includes: When the first position coordinate is obtained and the second position coordinate is obtained, determining the target position coordinate based on the first position coordinate and the second position coordinate; or, When the first position coordinate is obtained and the second position coordinate is not obtained, determining the first position coordinate as the target position coordinate; or, When the first position coordinate is not obtained and the second position coordinate is obtained, determining whether the second position coordinate is located in a first sub-region; when the second position coordinate is located in the first sub-region, determining that the touch input is an invalid input; when the second position coordinate is located in a second sub-region, determining the second position coordinate as the target position coordinate, where a detection region of the touch screen module includes the first sub-region and the second sub-region, the first sub-region overlaps with a detection region of the ultrasonic fingerprint module, and the second sub-region is located outside the detection region of the ultrasonic fingerprint module.

2. The method according to claim 1, characterized in that, The determining the target position coordinate based on the first position coordinate and the second position coordinate includes: When a distance between the first position coordinate and the second position coordinate is within a preset range, determining the target position coordinate based on the first position coordinate and the second position coordinate; When the distance between the first position coordinate and the second position coordinate is outside the preset range, determining that the touch input is an invalid input.

3. The method according to claim 2, wherein The determining the target position coordinate based on the first position coordinate and the second position coordinate includes: Calculating a product of the first position coordinate and a first weight parameter to obtain a first target position coordinate, and calculating a product of the second position coordinate and a second weight parameter to obtain a second target position coordinate, where a sum of the first weight parameter and the second weight parameter is 1; Determining a sum of the first target position coordinate and the second target position coordinate as the target position coordinate.

4. A touch input device, characterized in that, Including: An obtaining module, configured to obtain a first position coordinate of a touch input of a user based on an ultrasonic fingerprint module, and obtain a second position coordinate of the touch input based on a touch screen module, where the ultrasonic fingerprint module is used to collect the user's fingerprint; A determining module, configured to determine a target position coordinate based on the first position coordinate and the second position coordinate; A responding module, configured to, in response to the target position coordinate, perform an action corresponding to the target position coordinate; The determining module is further configured to, when the first position coordinate is obtained and the second position coordinate is obtained, determine the target position coordinate based on the first position coordinate and the second position coordinate; or, The determining module is further configured to, when the first position coordinate is obtained and the second position coordinate is not obtained, determine the first position coordinate as the target position coordinate; or, The determining module is further configured to, when the first position coordinate is not obtained and the second position coordinate is obtained, determine whether the second position coordinate is located in a first sub-region; if the second position coordinate is located in the first sub-region, determine that the touch input is an invalid input; if the second position coordinate is located in a second sub-region, determine the second position coordinate as the target position coordinate, where the detection area of the touch screen module includes the first sub-region and the second sub-region, the first sub-region overlaps with the detection area of the ultrasonic fingerprint module, and the second sub-region is located outside the detection area of the ultrasonic fingerprint module.

5. An electronic device, characterized in that, It includes a processor and a memory, the memory stores a program or instruction that can run on the processor, and when the program or instruction is executed by the processor, the steps of the touch input method according to any one of claims 1 to 3 are implemented.

6. A readable storage medium, characterized in that, A program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the touch input method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Touch position determination method and device, electronic equipment and readable storage medium

    CN112860105A