Touch response method and apparatus, electronic device, and storage medium

CN115480664BActive Publication Date: 2026-08-21VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211193271.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-28
Publication Date
2026-08-21
Estimated Expiration
2042-09-28

AI Technical Summary

Technical Problem

[0005]本申请实施例的目的是提供一种触控响应方法、装置、电子设备及存储介质,能够解决避免折叠屏的误触影响用户的使用体验的问题

Benefits of technology

[0016]在本申请实施例中,在检测到第一触控信号的情况下,又在另一屏幕检测到第二触控信号,此时需要通过第一触控信号对应的第一触控位置与所述第二触控信号对应的第二触控位置之间的触控距离值,同时结合第一屏幕和所述第二屏幕的夹角,有效分析该第二触控信号是否为不需要响应的误触信号,进而执行对应的目标操作,避免折叠屏的误触所导致的错误响应,优化了用户的触控体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115480664B_ABST
    Figure CN115480664B_ABST
Patent Text Reader

Abstract

The application discloses a touch response method and device, electronic equipment and storage medium, and belongs to the technical field of communication. The method is applied to a mobile terminal with a folding screen, the folding screen has a first screen and a second screen, and the method comprises the following steps: in the case that a first touch signal is acquired on the first screen, acquiring a second touch signal of the second screen; based on a preset distance value, a touch distance value between a first touch position corresponding to the first touch signal and a second touch position corresponding to the second touch signal, an included angle of the first screen and the second screen and a preset folding angle value, performing a target operation, the target operation comprises: not responding to the second touch signal, responding to the second touch signal or merging and processing the first touch signal and the second touch signal, and the preset distance value is associated with the included angle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, and specifically relates to a touch response method, device, electronic device and storage medium. Background Technology

[0002] With the increasing popularity of foldable screen devices, their usage scenarios are becoming more and more diverse. However, because the multiple screens of a foldable screen will form a certain angle during the folding process, it may cause a user to accidentally touch another screen while touching one screen, resulting in the other screen responding incorrectly to the touch command and affecting the user experience.

[0003] For example, in a foldable phone that folds vertically, a hover function is used to play a video on the top screen and display comments on the bottom screen. When a user swipes on the bottom screen to view the comments, their finger may easily accidentally touch the controls in the video playback area on the top screen, causing the video to pause, fast forward, or otherwise affect the user experience.

[0004] Therefore, how to avoid accidental touches on foldable screens from affecting the user experience has become an urgent problem to be solved in the industry. Summary of the Invention

[0005] The purpose of this application is to provide a touch response method, device, electronic device, and storage medium that can solve the problem of avoiding accidental touches on foldable screens that affect the user experience.

[0006] In a first aspect, embodiments of this application provide a touch response method applied to a mobile terminal with a foldable screen, the foldable screen having a first screen and a second screen, the method comprising:

[0007] If the first touch signal is received on the first screen, the second touch signal of the second screen is received;

[0008] Based on a preset distance value, a touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, the angle between the first screen and the second screen, and a preset folding angle value, a target operation is performed. The target operation includes: not responding to the second touch signal, responding to the second touch signal, or merging the first touch signal and the second touch signal. The preset distance value is associated with the angle.

[0009] Secondly, embodiments of this application provide a touch response device applied to a mobile terminal with a foldable screen, the foldable screen having a first screen and a second screen, including:

[0010] The acquisition module is used to acquire the second touch signal of the second screen when the first touch signal is acquired on the first screen;

[0011] An execution module is configured to perform a target operation based on a preset distance value, a touch distance value between a first touch position corresponding to the first touch signal and a second touch position corresponding to the second touch signal, an angle between the first screen and the second screen, and a preset folding angle value. The target operation includes: not responding to the second touch signal, responding to the second touch signal, or merging the first touch signal and the second touch signal. The preset distance value is associated with the angle.

[0012] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0013] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0014] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0015] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0016] In this embodiment, when a first touch signal is detected, a second touch signal is detected on another screen. At this time, it is necessary to effectively analyze whether the second touch signal is a false touch signal that does not require a response by using the touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, and by combining the angle between the first screen and the second screen. Then, the corresponding target operation is executed to avoid erroneous responses caused by false touches on the foldable screen and optimize the user's touch experience. Attached Figure Description

[0017] Figure 1 This is a flowchart of a touch response method provided in an embodiment of this application;

[0018] Figure 2 This is one of the schematic diagrams of a mobile terminal provided in the embodiments of this application;

[0019] Figure 3 This is a second schematic diagram of a mobile terminal provided in an embodiment of this application;

[0020] Figure 4 This is the third schematic diagram of a mobile terminal provided in the embodiments of this application;

[0021] Figure 5 This is a schematic diagram of the touch response device structure provided in the embodiments of this application;

[0022] Figure 6 This is a schematic diagram of the electronic device structure provided in the embodiments of this application;

[0023] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application. Detailed Implementation

[0024] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0025] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0026] The touch response method, device, electronic device, and storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0027] Figure 1 This is a flowchart of the touch response method provided in the embodiments of this application, such as... Figure 1 As shown, it includes:

[0028] Step 110: If the first touch signal is received on the first screen, then the second touch signal of the second screen is received;

[0029] The touch response method described in this application embodiment is applied to a mobile terminal with a foldable screen. Specifically, the foldable screen may be a foldable screen that includes at least a first screen and a second screen. The foldable screen may also be a foldable screen with more screen units. For example, the foldable screen may also include a first screen, a second screen and a third screen.

[0030] Specifically, in the embodiments of this application, the first screen and the second screen can be connected by a foldable connection method, that is, the included angle between the first screen and the second screen can be changed, and the first screen and the second screen after folding can display the same content or display different content.

[0031] More specifically, in the embodiments of this application, both the first screen and the second screen can respond to the user's touch input respectively. Even if the first screen and the second screen are not on the same plane after being folded, the touch sensor in the mobile terminal will process the touch signals of the first screen and the second screen as a touch signal in a plane. This plane can be set as the plane when the first screen and the second screen are adjusted to the same plane.

[0032] Specifically, in the embodiments of this application, the first touch signal obtained by the first screen can be a touch signal detected in the touch response area of ​​the first screen. The first touch signal can be a touch signal input by the user through a finger or a touch signal input by the user through an accessory such as a stylus.

[0033] In this embodiment, the second touch signal obtained by the second screen can specifically be a touch signal detected in the touch response area of ​​the second screen. The first touch signal can specifically be a touch signal input by the user through a finger, or a touch signal input by the user through an accessory such as a stylus.

[0034] The first touch signal and the second touch signal described in the embodiments of this application can be touch signals detected by the mobile terminal in the form of touch data stacks. Specifically, they can be data stacks composed of touch capacitance values ​​corresponding to the touch range. For example, in the first screen and the second screen, the capacitance value corresponding to the screen area without touch input is in the range of -5 to 30, while the touch capacitance value corresponding to the touch range of the touch signal is in the range of 50 to 300.

[0035] In this embodiment of the application, if a first touch signal is obtained on the first screen and a second touch signal is obtained on the second screen, it indicates that the second touch signal may be a signal that was mistakenly triggered during the input of the first touch signal, and further analysis is required.

[0036] Step 120: Based on a preset distance value, a touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, the angle between the first screen and the second screen, and a preset folding angle value, a target operation is performed. The target operation includes: not responding to the second touch signal, responding to the second touch signal, or merging the first touch signal and the second touch signal. The preset distance value is associated with the angle.

[0037] Specifically, the preset folding angle value described in the embodiments of this application can be a pre-set angle value, which is used to determine whether the angle between the first screen and the second screen is large enough.

[0038] The preset distance value described in this embodiment can be a pre-set distance value, which can also be adaptively adjusted as the angle between the first screen and the second screen changes.

[0039] More specifically, the angle between the first screen and the second screen described in the embodiments of this application can be detected by a Hall sensor in the mobile terminal, or by other sensors capable of detecting the angle between the first screen and the second screen.

[0040] Specifically, the smaller the angle between the first screen and the second screen, the more closed the folding screen tends to be. When a finger slides from the first screen to the bend between the first and second screens, the bend is less likely to be touched by the finger because the angle is small. However, the finger is more likely to accidentally touch the second screen. In order to avoid accidental touch, the tolerance for touch distance value is low. It is understandable that when the angle between the first screen and the second screen becomes smaller, the preset distance value can be adaptively reduced.

[0041] Specifically, the larger the angle between the first screen and the second screen, the more the foldable screen tends to unfold. When a finger slides from the first screen to the fold, it is less likely to accidentally touch the second screen. At this time, the tolerance for touch distance value to avoid accidental touch is higher. It is understandable that when the angle between the first screen and the second screen becomes larger, the preset distance value can be increased adaptively.

[0042] In the embodiments of this application, the first touch position corresponding to the first touch signal can specifically refer to the area where the touch capacitance value corresponding to the first touch signal is located, or it can be the position of the first touch input that generates the first touch signal on the first screen. For example, when the first touch input is a finger click, the first touch position can specifically be the area where the finger clicks on the first screen.

[0043] In the embodiments of this application, the second touch position corresponding to the second touch signal can specifically refer to the area where the touch capacitance value corresponding to the second touch signal is located, or it can be the position of the second touch input that generates the second touch signal on the second screen. For example, when the second touch input is a finger tap, the second touch position can specifically be the area where the finger taps the second screen.

[0044] The touch distance value described in the embodiments of this application can specifically be the touch distance value when the first touch position and the second touch position are on the same plane. The plane can specifically be the plane constructed when the first screen and the second screen are on the same plane. The touch distance value can specifically be represented by the number of pixels between the first touch position and the second touch position.

[0045] In this embodiment, the relationship between a preset distance value and a touch distance value, combined with the relationship between a preset folding angle value and a folding angle value, can be used to determine whether the second touch signal is a touch signal generated by accidental touch, and then execute the corresponding target operation to avoid erroneous response to the second touch signal and affect the user experience.

[0046] In this embodiment, when a first touch signal is detected, a second touch signal is detected on another screen. At this time, it is necessary to effectively analyze whether the second touch signal is a mis-touch signal that does not require a response by using the touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, and by combining the angle between the first screen and the second screen. Then, the corresponding target operation is executed to avoid erroneous responses caused by mis-touches on the foldable screen and optimize the user experience.

[0047] Optionally, the step of performing the target operation based on a preset distance value, a touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, the angle between the first screen and the second screen, and a preset folding angle value includes:

[0048] If the touch distance value is greater than or equal to the preset distance value and the included angle is less than the preset folding angle value, the second touch signal will not be responded to.

[0049] Specifically, in this embodiment of the application, if the touch distance value is greater than or equal to the preset distance value, it indicates that there is a certain interval between the first touch signal and the second touch signal. In this case, the first touch signal and the second touch signal are unlikely to be continuous touch signals.

[0050] In this embodiment of the application, if the folding angle value is less than the preset folding angle value, the user may easily accidentally touch the second screen, and the second touch signal is likely to be a signal generated by the accidental touch.

[0051] If the second touch signal is likely a mis-touch signal and is unlikely to be a continuous touch signal with the first touch signal, then the second touch signal is determined to be a mis-touch signal, and the mobile terminal does not respond to the second touch signal.

[0052] More specifically, in the embodiments of this application, not responding to the second touch signal may mean that the touch sensor does not report the second touch signal to the processor or system corresponding to the mobile terminal.

[0053] Not responding to the second touch signal can also mean that the touch sensor reports the second touch signal to the corresponding processor or system of the mobile terminal, but the mobile terminal does not perform the operation corresponding to the second touch signal.

[0054] For example, when a finger slides on the first screen in the direction of the second screen, and the finger slides to the vicinity of the bend between the first and second screens, a second touch signal is detected near the bend of the second screen. At this point, the Hall sensor in the mobile terminal detects that the opening angle of the folded screen is small, and the touch distance between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal is large. There is a touch data interval with no touch signal between the first touch signal and the second touch signal. At this time, the second touch signal can be ignored.

[0055] In this embodiment, when the touch distance value is greater than or equal to the preset distance value and the included angle is less than the preset folding angle value, the second touch signal is not responded to, which can effectively avoid erroneous responses to touch signals generated by user accidental touches and ensure the user's user experience.

[0056] Optionally, the step of performing the target operation based on a preset distance value, a touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, the angle between the first screen and the second screen, and a preset folding angle value includes:

[0057] The second touch signal is responded to when the touch distance value is greater than or equal to the preset distance value and the included angle is greater than or equal to the preset folding angle value.

[0058] Specifically, if the touch distance value is greater than or equal to the preset distance value, it indicates that the second touch signal and the first touch signal are unlikely to be consecutive touch signals.

[0059] Furthermore, since the angle between the first screen and the second screen is greater than or equal to the preset folding angle value, the opening and closing angle of the folding screen is relatively large. It is difficult for the user to accidentally touch the second screen while operating the first screen. Therefore, the second touch signal is unlikely to be an accidental touch signal generated on the second screen when the user slides or touches on the first screen. The second touch signal is more likely to be the user's touch input on the second screen alone, which requires an effective response.

[0060] In this embodiment of the application, responding to the second touch signal can specifically be to execute the operation corresponding to the second touch signal. For example, the second touch signal can be a touch signal for a click operation or a touch signal for a long press operation, and the click operation or long press operation can be executed.

[0061] In this embodiment of the application, when the touch distance value is greater than or equal to a preset distance value and the included angle is greater than or equal to a preset folding angle value, it is determined that the second touch signal is not a signal generated by accidental touch, and the second touch signal is responded to in a timely manner to improve the user experience.

[0062] Optionally, the step of performing the target operation based on a preset distance value, a touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, the angle between the first screen and the second screen, and a preset folding angle value includes:

[0063] If the touch distance value is less than the preset distance value, the first touch signal and the second touch signal are merged to obtain a third touch signal;

[0064] Responding to the third touch signal.

[0065] Specifically, in the embodiment of this application, if the touch distance value is less than the preset distance value, it means that the touch data stack between the first touch signal and the second touch signal is not significantly separated. In other words, the first touch signal and the second touch signal may not be far apart, and the first touch signal and the second touch signal are more likely to be a continuous touch signal, such as a sliding touch signal.

[0066] It is understandable that the second touch signal may be a signal generated by accidental touch, but the first touch signal and the second touch signal may also be a continuous touch signal. Therefore, it is not possible to directly ignore the second touch signal. In this case, the first touch signal and the second touch signal can be merged.

[0067] Specifically, in the embodiments of this application, merging the first touch signal and merging the second touch signal can be achieved by determining a touch trajectory based on the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, and using the sliding touch signal corresponding to the touch trajectory as the third touch signal. The starting point of the sliding touch signal is the first touch signal, and the ending point of the sliding touch signal is the second touch signal.

[0068] More specifically, in the embodiments of this application, merging the first touch signal and merging the second touch signal can also be achieved by comparing the numerical values ​​of the touch data stacks corresponding to the first touch signal and the second touch signal, and retaining the touch signal corresponding to the touch data stack with the larger value as the third touch signal.

[0069] In this embodiment of the application, after receiving the third touch signal, the system will further respond to the third touch signal and execute the operation corresponding to the third touch signal.

[0070] More specifically, in this embodiment of the application, if the touch distance value is less than the preset distance value, the angle between the first screen and the second screen can be further compared with the preset folding angle value.

[0071] If the included angle is less than the preset folding angle value, it indicates that the second touch signal may be a mis-touch signal generated by accidentally touching the second screen. The second touch signal is an independent touch signal. At this time, it is necessary to report the second touch signal to the processor or system corresponding to the mobile terminal, and then merge the first touch signal and the second touch signal.

[0072] If the included angle is greater than the preset folding angle value, it means that the second touch signal is unlikely to be a mis-touch signal generated by accidentally touching the second screen. The second touch signal is more likely to form a continuous touch signal with the first touch signal. In this case, the second touch signal does not need to be reported to the processor or system corresponding to the mobile terminal. Instead, the first touch signal and the second touch signal are directly merged and processed.

[0073] In this embodiment of the application, after receiving the third touch signal, the system will further respond to the third touch signal and execute the operation corresponding to the third touch signal.

[0074] In this embodiment, when the touch distance value is less than a preset distance value, the first touch signal and the second touch signal are combined to obtain a third touch signal. This effectively avoids accidental touches while fully considering the influence of the second touch signal, thus ensuring effective response of the user's touch.

[0075] Figure 2 This is one of the schematic diagrams of a mobile terminal provided in the embodiments of this application, such as... Figure 2As shown, it includes a first screen 21 and a second screen 22. The first screen 21 will obtain a first touch signal at a first touch position 23, and the second screen 22 will obtain a second touch signal at a second touch position 24.

[0076] More specifically, in some embodiments, the preset folding angle value can be 90 degrees. Of course, the preset folding angle value can also be other values, such as 60 degrees or 100 degrees. This application embodiment does not limit this, but is only used as an example for illustration.

[0077] With the preset folding angle value of 90 degrees... Figure 3 This is a second schematic diagram of a mobile terminal provided in an embodiment of this application, as shown below. Figure 3 As shown, the angle between the first screen 21 and the second screen 22 is 60 degrees. The angle between the first screen 21 and the second screen 22 is less than 90 degrees. At this time, when the user makes touch input on the first screen 21, it is easier to accidentally touch the second screen 22.

[0078] Figure 4 This is the third schematic diagram of a mobile terminal provided in the embodiments of this application, as shown below. Figure 4 As shown, the angle between the first screen 21 and the second screen 22 is 120 degrees. The angle between the first screen 21 and the second screen 22 is greater than 90 degrees. At this time, when the user makes touch input on the first screen 21, it is not easy to accidentally touch the second screen 22.

[0079] The touch response method provided in this application can be executed by a touch response device. This application uses the touch response device to execute the touch response method as an example to illustrate the touch response device provided in this application.

[0080] Figure 5 This is a schematic diagram of the touch response device structure provided in the embodiments of this application, such as... Figure 5 As shown, it includes: an acquisition module 510 and an execution module 520; wherein, the acquisition module 510 is used to acquire a second touch signal of the second screen when a first touch signal is acquired on the first screen; wherein, the execution module 520 is used to perform a target operation based on a preset distance value, a touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, the angle between the first screen and the second screen, and a preset folding angle value, wherein the target operation includes: not responding to the second touch signal, responding to the second touch signal, or merging the first touch signal and the second touch signal, wherein the preset distance value is associated with the angle.

[0081] Optionally, the execution module is specifically used for:

[0082] If the touch distance value is greater than or equal to the preset distance value and the included angle is less than the preset folding angle value, the second touch signal will not be responded to.

[0083] Optionally, the execution module is specifically used for:

[0084] When the touch distance value is greater than or equal to the preset distance value, and the included angle is greater than or equal to the preset folding angle value, the second touch signal is responded to. Optionally, the execution module is specifically used for:

[0085] If the touch distance value is less than the preset distance value, the first touch signal and the second touch signal are merged to obtain a third touch signal;

[0086] Responding to the third touch signal.

[0087] In this embodiment, when a first touch signal is detected, a second touch signal is detected on another screen. At this time, it is necessary to effectively analyze whether the second touch signal is a false touch signal that does not require a response by using the touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, and by combining the angle between the first screen and the second screen. Then, the corresponding target operation is executed to avoid erroneous responses caused by false touches on the foldable screen and optimize the user's touch experience.

[0088] The touch response device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific type of device.

[0089] The touch response device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0090] The touch response device provided in this application embodiment can achieve... Figures 1 to 4 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0091] Optionally, Figure 6 This is a schematic diagram of the electronic device structure provided in the embodiments of this application, such as... Figure 6 As shown, this application embodiment also provides an electronic device 600, including a processor 601 and a memory 602. The memory 602 stores a program or instructions that can run on the processor 601. When the program or instructions are executed by the processor 601, they implement the various steps of the above-described touch response method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0092] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0093] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0094] The electronic device 700 includes, but is not limited to, components such as: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, and processor 710.

[0095] Those skilled in the art will understand that the electronic device 700 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 710 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. 7 The electronic device structure shown does not constitute a limitation on 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.

[0096] In this case, the user input unit 707 acquires the second touch signal of the second screen when the first screen acquires the first touch signal;

[0097] The processor 710 is configured to perform a target operation based on a preset distance value, a touch distance value between a first touch position corresponding to the first touch signal and a second touch position corresponding to the second touch signal, an angle between the first screen and the second screen, and a preset folding angle value. The target operation includes: not responding to the second touch signal, responding to the second touch signal, or merging the first touch signal and the second touch signal. The preset distance value is associated with the angle.

[0098] The processor 710 is configured not to respond to the second touch signal when the touch distance value is greater than or equal to the preset distance value and the included angle is less than the preset folding angle value.

[0099] The processor 710 is configured to respond to the second touch signal when the touch distance value is greater than or equal to the preset distance value and the included angle is greater than or equal to the preset folding angle value.

[0100] The processor 710 is used to merge the first touch signal and the second touch signal to obtain a third touch signal when the touch distance value is less than the preset distance value.

[0101] Responding to the third touch signal.

[0102] In this embodiment, when a first touch signal is detected, a second touch signal is detected on another screen. At this time, it is necessary to effectively analyze whether the second touch signal is a false touch signal that does not require a response by using the touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, and by combining the angle between the first screen and the second screen. Then, the corresponding target operation is executed to avoid erroneous responses caused by false touches on the foldable screen and optimize the user's touch experience.

[0103] It should be understood that, in this embodiment, the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042. The GPU 7041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

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

[0105] Processor 710 may include one or more processing units; optionally, processor 710 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 710.

[0106] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described touch response method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

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

[0108] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described touch response method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

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

[0110] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described touch response method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0111] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

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

[0113] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A touch response method applied to a mobile terminal with a foldable screen, the foldable screen having a first screen and a second screen, characterized in that, include: If the first touch signal is received on the first screen, the second touch signal of the second screen is received; Based on a preset distance value, a touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, the angle between the first screen and the second screen, and a preset folding angle value, a target operation is performed. The target operation includes: not responding to the second touch signal, responding to the second touch signal, or merging the first touch signal and the second touch signal. The preset distance value is associated with the angle. The preset distance value is adaptively adjusted as the angle between the first screen and the second screen changes. When the angle between the first screen and the second screen becomes smaller, the preset distance value is adaptively reduced, and when the angle between the first screen and the second screen becomes larger, the preset distance value is adaptively increased. The step of performing the target operation based on a preset distance value, a touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, the angle between the first screen and the second screen, and a preset folding angle value includes: If the touch distance value is greater than or equal to the preset distance value and the included angle is less than the preset folding angle value, the second touch signal will not be responded to. The second touch signal is responded to when the touch distance value is greater than or equal to the preset distance value and the included angle is greater than or equal to the preset folding angle value.

2. The touch response method according to claim 1, wherein performing the target operation based on a preset distance value, a touch distance value between the first touch position corresponding to the first touch signal and the second touch position corresponding to the second touch signal, the angle between the first screen and the second screen, and a preset folding angle value, includes: If the touch distance value is less than the preset distance value, the first touch signal and the second touch signal are merged to obtain a third touch signal; Responding to the third touch signal.

3. A touch response device, applied to a mobile terminal with a foldable screen, the foldable screen having a first screen and a second screen, characterized in that, include: The acquisition module is used to acquire the second touch signal of the second screen when the first touch signal is acquired on the first screen; An execution module is configured to perform a target operation based on a preset distance value, a touch distance value between a first touch position corresponding to the first touch signal and a second touch position corresponding to the second touch signal, an angle between the first screen and the second screen, and a preset folding angle value. The target operation includes: not responding to the second touch signal, responding to the second touch signal, or merging the first touch signal and the second touch signal. The preset distance value is associated with the angle. The preset distance value is adaptively adjusted as the angle between the first screen and the second screen changes. When the angle between the first screen and the second screen becomes smaller, the preset distance value is adaptively reduced, and when the angle between the first screen and the second screen becomes larger, the preset distance value is adaptively increased. Specifically, the execution module is used for: If the touch distance value is greater than or equal to the preset distance value and the included angle is less than the preset folding angle value, the second touch signal will not be responded to. Specifically, the execution module is used for: The second touch signal is responded to when the touch distance value is greater than or equal to the preset distance value and the included angle is greater than or equal to the preset folding angle value.

4. The touch response device according to claim 3, characterized in that, The execution module is specifically used for: If the touch distance value is less than the preset distance value, the first touch signal and the second touch signal are merged to obtain a third touch signal; Responding to the third touch signal.

5. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the touch response method as described in any one of claims 1-2.

6. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the touch response method as described in any one of claims 1-2.

Citation Information

Patent Citations

  • Control method of folding screen and mobile terminals

    CN108459797A

  • Screen touch method, terminal and computer-readable storage medium

    CN108845711A