CN115480664A - Touch response method and device, electronic equipment and storage medium - Google Patents
Touch response method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115480664A CN115480664A CN202211193271.4A CN202211193271A CN115480664A CN 115480664 A CN115480664 A CN 115480664A CN 202211193271 A CN202211193271 A CN 202211193271A CN 115480664 A CN115480664 A CN 115480664A
- Authority
- CN
- China
- Prior art keywords
- touch
- screen
- touch signal
- distance value
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
- G06F3/04186—Touch location disambiguation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a touch response method and device, electronic equipment and a storage medium, and belongs to the technical field of communication. The method is applied to a mobile terminal with a folding screen, wherein the folding screen is provided with a first screen and a second screen, and the method comprises the following steps: acquiring a second touch signal of the second screen under the condition that the first screen acquires the first touch signal; executing 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 included angle between the first screen and the second screen, and a preset folding angle value, wherein the target operation comprises: and not responding to the second touch signal, responding to the second touch signal or combining the first touch signal and the second touch signal, wherein the preset distance value is associated with the included angle.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a touch response method and device, an electronic device and a storage medium.
Background
Along with the popularization of the folding screen terminal, the use scenes of the folding screen terminal are more and more abundant, but because a plurality of screens of the folding screen can form a certain angle in the folding use process, a user can mistakenly touch another screen in the process of touching one screen in the folding screen, the other screen can mistakenly respond to the touch instruction, and the use experience of the user is influenced.
For example, in a vertically folded folding screen mobile phone, a video is played on an upper screen in a hovering manner, the content of an evaluation area is displayed on a lower screen, and when a user slides and views the content of the evaluation area on the lower screen, fingers can easily touch controls in a playing area of the upper screen video in error, so that the video is paused, fast forwarded and the like, and the use experience of the user is influenced.
Therefore, how to avoid the user experience being affected by the mistaken touch of the folding screen has become an urgent problem to be solved in the industry.
Disclosure of Invention
The embodiment of the application aims to provide a touch response method, a touch response device, electronic equipment and a storage medium, and the problem that the use experience of a user is influenced by mistaken touch of a folding screen can be solved.
In a first aspect, an embodiment of the present application provides a touch response method, which is applied to a mobile terminal having a foldable screen, where the foldable screen has a first screen and a second screen, and the method includes:
acquiring a second touch signal of the second screen under the condition that the first screen acquires the first touch signal;
executing 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 included angle between the first screen and the second screen, and a preset folding angle value, wherein the target operation comprises: and not responding to the second touch signal, responding to the second touch signal or combining the first touch signal and the second touch signal, wherein the preset distance value is associated with the included angle.
In a second aspect, an embodiment of the present application provides a touch response device, which is applied to a mobile terminal having a foldable screen, where the foldable screen has a first screen and a second screen, and includes:
the acquisition module is used for acquiring a second touch signal of the second screen under the condition that the first screen acquires the first touch signal;
an execution module, configured to execute 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 included angle between the first screen and the second screen, and a preset folding angle value, where the target operation includes: and not responding to the second touch signal, responding to the second touch signal or combining the first touch signal and the second touch signal, wherein the preset distance value is associated with the included angle.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present 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 according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the first touch signal is detected, the second touch signal is detected on the other screen, at this time, whether the second touch signal is a false touch signal which does not need to be responded or not is effectively analyzed according to 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 and an included angle between the first screen and the second screen, so that a corresponding target operation is executed, false response caused by false touch of the folding screen is avoided, and the touch experience of a user is optimized.
Drawings
Fig. 1 is a flowchart of a touch response method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a mobile terminal according to an embodiment of the present application;
fig. 3 is a second schematic diagram of a mobile terminal according to an embodiment of the present application;
fig. 4 is a third schematic diagram of a mobile terminal according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a touch response device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The touch response method, the touch response device, the electronic device, and the storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart of a touch response method according to an embodiment of the present disclosure, and as shown in fig. 1, the touch response method includes:
the touch response method described in the embodiment of the present application is applied to a mobile terminal having a foldable screen, where the foldable screen may specifically be a foldable screen that at least includes a first screen and a second screen, and the foldable screen may also be a foldable screen with more screen units, for example, the foldable screen may also be a foldable screen that includes a first screen, a second screen, and a third screen.
Specifically, in the embodiment of the present application, the first screen and the second screen may be connected in a foldable connection manner, that is, an included angle between the first screen and the second screen may be changeable, and the folded first screen and the folded second screen may display the same content or different contents.
More specifically, in the embodiment of the present application, the first screen and the second screen may each respond to a touch input of a user, and even if the first screen and the second screen are folded and are not in a plane, when the touch sensor in the mobile terminal processes the touch signals, the touch signals in the first screen and the second screen are processed as touch signals in a plane, which may be set as a plane when the first screen and the second screen are adjusted to the same plane.
Specifically, in this embodiment, the first touch signal acquired by the first screen may specifically be a touch signal detected in the touch response area of the first screen, and the first touch signal may specifically be a touch signal input by a user through a finger, or a touch signal input by a user through an accessory such as a touch pen.
In this embodiment of the application, the second touch signal acquired by the second screen may specifically be a touch signal detected in a touch response area of the second screen, and the first touch signal may specifically be a touch signal input by a user through a finger, or a touch signal input by a user through an accessory such as a touch pen.
The first touch signal and the second touch signal described in the embodiments of the present application may be touch signals detected by the mobile terminal in the form of a touch data stack, and specifically may be data stacks formed by touch capacitance values corresponding to touch ranges, for example, in the first screen and the second screen, the capacitance value corresponding to a screen area without touch input is in the interval of-5 to 30, and the touch capacitance value corresponding to the touch range of the touch signal is in the interval of 50 to 300.
In the embodiment of the present application, when the first screen acquires the first touch signal and the second screen acquires the second touch signal, it indicates that the second touch signal may be a signal that is triggered by mistake in the input process of the first touch signal, and needs to be further analyzed.
Step 120, executing 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 included angle between the first screen and the second screen, and a preset folding angle value, wherein the target operation includes: and not responding to the second touch signal, responding to the second touch signal or combining the first touch signal and the second touch signal, wherein the preset distance value is associated with the included angle.
Specifically, the preset folding angle value described in the embodiment of the present application may be a preset angle value, and the preset angle value is used for determining whether the included angle between the first screen and the second screen is large enough.
The preset distance value described in the embodiment of the present application may be a preset distance value, and the preset distance value may also be adaptively adjusted along with a change of an included angle between the first screen and the second screen.
More specifically, the included angle between the first screen and the second screen described in the embodiment of the present application may be detected by a hall sensor in the mobile terminal, or may be acquired by another sensor capable of detecting the included angle between the first screen and the second screen.
Specifically, the smaller the included angle that first screen and second screen formed is, the more closed trend is for the folding screen, when the finger slides from first screen to the bending department of first screen and second screen, because the bending department angle is less, the bending department is difficult to be touched by the finger, but the finger is easier mistake and touches the second screen, in order to avoid mistake touching this moment, tolerance to touch-control distance value is lower, can understand, under the condition that the included angle that first screen and second screen formed diminishes, it can the adaptability turn down to predetermine distance value.
Specifically, the bigger the included angle that first screen and second screen formed, this included angle is the bigger, and the folding screen is the trend of expanding more, and the finger is when first screen slides toward buckling department, and the second screen is touched to the mistake less likely, and the tolerance to the touch-control distance value of avoiding the mistake to touch this moment is higher, and it can be understood that, under the condition of the included angle grow that first screen and second screen formed, predetermine distance value and can the adaptability increase.
In the embodiment of the application, the first touch position corresponding to the first touch signal may specifically refer to an area position where a touch capacitance value corresponding to the first touch signal is located, or may also be a position where a first touch input generating the first touch signal is input in the first screen, for example, when the first touch input is a click input of a finger, the first touch position may specifically be an area position where the finger clicks the first screen.
In the embodiment of the present application, the second touch position corresponding to the second touch signal may specifically refer to an area position where a touch capacitance value corresponding to the second touch signal is located, or may also be an input position of a second touch input generating the second touch signal in the second screen.
The touch distance value described in the embodiment of the present application may specifically be a touch distance value of a first touch position and a second touch position in the same plane, where the plane may specifically be a plane constructed when the first screen and the second screen are in the same plane, and the touch distance value may specifically be represented by the number of pixels between the first touch position and the second touch position.
In the embodiment of the application, whether the second touch signal is the touch signal generated by the false touch can be determined by presetting the magnitude relation between the distance value and the touch distance value and combining the preset folding angle value and the magnitude relation between the folding angle value, so that the corresponding target operation is executed, and the influence on the user experience caused by the false response of the second touch signal is avoided.
In the embodiment of the application, under the condition that the first touch signal is detected, the second touch signal is detected on the other screen, at this time, whether the second touch signal is a false touch signal which does not need to be responded or not is effectively analyzed according to 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 and an included angle between the first screen and the second screen, so that a corresponding target operation is executed, false response caused by false touch of the folding screen is avoided, and user experience is optimized.
Optionally, the executing the 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 included angle between the first screen and the second screen, and a preset folding angle value includes:
and under the condition that the touch control distance value is greater than or equal to the preset distance value and the included angle is smaller than the preset folding angle value, the second touch control signal is not responded.
Specifically, in the embodiment of the present application, when the touch distance value is greater than or equal to the preset distance value, it indicates that a certain interval exists between the first touch signal and the second touch signal, and at this time, the first touch signal and the second touch signal are unlikely to be continuous touch signals.
In the embodiment of the application, when the folding angle value is smaller than the preset folding angle value, the user may easily touch the second screen by mistake, and the second touch signal is likely to be a signal generated by a mistake touch.
When the second touch signal is probably a false touch signal and is unlikely to be a continuous touch signal with the first touch signal, the second touch signal is judged to be the false touch signal, and the mobile terminal does not respond to the second touch signal.
More specifically, in the embodiment of the present application, the non-response to the second touch signal may be that the touch sensor does not report the second touch signal to a corresponding processor or a corresponding system of the mobile terminal.
The second touch signal is not responded, and specifically, the touch sensor may report the second touch signal to a processor or a corresponding system corresponding to the mobile terminal, but the mobile terminal does not execute an operation corresponding to the second touch signal.
For example, when a finger slides on the first screen, the sliding direction is the direction of the second screen, and when the finger slides to the vicinity of the bending position of the first screen and the second screen, a second touch signal is detected in the vicinity of the bending position of the second screen, and the hall sensor in the mobile terminal detects that the opening and closing angle of the screen of the folding screen is small, 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 is large, and a touch data interval without a touch signal exists between the first touch signal and the second touch signal, at this time, the second touch signal may not be responded.
In the embodiment of the application, under the condition that the touch distance value is greater than or equal to the preset distance value and the included angle is smaller than the preset folding angle value, the second touch signal is not responded, the touch signal generated by mistaken touch of a response user can be effectively avoided, and the use experience of the user is ensured.
Optionally, the executing the 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 included angle between the first screen and the second screen, and a preset folding angle value includes:
and responding to the second touch signal under the condition that 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.
Specifically, in the case that 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 continuous touch signals.
Moreover, because the included 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 larger at this time, and the user is more difficult to mistakenly touch the second screen in the operation process of the first screen, so that the second touch signal is unlikely to be a mistaken touch signal generated in the second screen when the user slides or touches the first screen, and the second touch signal is more likely to be touch input of the user in the second screen alone and needs to effectively respond to the touch input.
In this embodiment, in response to the second touch signal, specifically, an operation corresponding to the second touch signal may be executed, for example, the second touch signal may be a touch signal of a click operation, or a touch signal of a long-press operation, and the click operation or the long-press operation may be executed.
In the embodiment of the application, 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, it is determined that the second touch signal is not a signal generated by a false touch, and the second touch signal is responded in time, so that the use experience of a user is improved.
Optionally, the executing the 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 included angle between the first screen and the second screen, and a preset folding angle value includes:
combining the first touch signal and the second touch signal to obtain a third touch signal under the condition that the touch distance value is smaller than the preset distance value;
responding to the third touch signal.
Specifically, in the embodiment of the present application, when the touch distance value is smaller than the preset distance value, it indicates that the touch data pile separation between the first touch signal and the second touch signal is not obvious at this time, that is, 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, for example, a sliding touch signal.
It can be understood that the second touch signal may be a signal generated by a false touch, but the first touch signal and the second touch signal may also be a continuous touch signal, and thus the second touch signal cannot be directly responded, and the first touch signal and the second touch signal may be combined.
Specifically, in the embodiment of the present application, the combining the first touch signal and the combining the second touch signal may be to determine a touch trajectory according to a first touch position corresponding to the first touch signal and a second touch position corresponding to the second touch signal, and use a sliding touch signal corresponding to the touch trajectory as a third touch signal, where a start point of the sliding touch signal is the first touch signal and an end point of the sliding touch signal is the second touch signal.
More specifically, in the embodiment of the present application, the first touch signal and the second touch signal are merged, and specifically, the magnitudes of the touch data piles corresponding to the first touch signal and the second touch signal may be compared, and the touch signal corresponding to the touch data pile with the larger magnitude is reserved as the third touch signal.
In the embodiment of the present application, after obtaining the third touch signal, the operation corresponding to the third touch signal is further executed in response to the third touch signal.
More specifically, in the embodiment of the present application, under the condition that the touch distance value is smaller than the preset distance value, the size of the included angle between the first screen and the second screen and the preset folding angle value may be further compared.
If the included angle is smaller than the preset folding angle value, it indicates that the second touch signal may be a false touch signal generated by false touch of the second screen, where the second touch signal is an independent touch signal, and at this time, the second touch signal needs to be reported to a processor or a corresponding system corresponding to the mobile terminal, and then the first touch signal and the second touch signal are combined.
If the included angle is greater than the preset folding angle value, it indicates that the second touch signal is less likely to be a false touch signal generated by false touch of the second screen, and the second touch signal is more likely to form a continuous touch signal with the first touch signal.
In the embodiment of the present application, after obtaining the third touch signal, the operation corresponding to the third touch signal is further executed in response to the third touch signal.
In the embodiment of the application, under the condition that the touch distance value is smaller than the preset distance value, the first touch signal and the second touch signal are combined to obtain the third touch signal, so that the influence of the second touch signal is fully considered under the condition that false touch can be effectively avoided, and the effective response of user touch is effectively ensured.
Fig. 2 is a schematic view of a mobile terminal according to an embodiment of the present disclosure, and as shown in fig. 2, the mobile terminal includes a first screen 21 and a second screen 22, where the first screen 21 obtains a first touch signal at a first touch position 23, and the second screen 22 obtains a second touch signal at a second touch position 24.
More specifically, in some embodiments, the preset folding angle value may be 90 degrees, and of course, the preset folding angle value may also be other values, for example, 60 degrees or 100 degrees, which is not limited in this application and is only described as an example.
Under the condition that the preset folding angle value is 90 degrees, fig. 3 is a second schematic view of the mobile terminal provided in the embodiment of the present application, as shown in fig. 3, at this time, an included angle between the first screen 21 and the second screen 22 is 60 degrees, and an included angle between the first screen 21 and the second screen 22 is less than 90 degrees, at this time, when a user performs touch input in the first screen 21, the user is more likely to touch the second screen 22 by mistake.
Fig. 4 is a third schematic view of the mobile terminal according to the embodiment of the present application, as shown in fig. 4, an included angle between the first screen 21 and the second screen 22 is 120 degrees, and an included angle between the first screen 21 and the second screen 22 is greater than 90 degrees, at this time, when a user performs touch input in the first screen 21, the user is not prone to mistakenly touch the second screen 22.
In the touch response method provided in the embodiment of the present application, the execution subject may be a touch response device, and the method for executing touch response by the touch response device is taken as an example in the embodiment of the present application to describe the touch response device provided in the embodiment of the present application.
Fig. 5 is a schematic structural diagram of a touch response device according to an embodiment of the present disclosure, as shown in fig. 5, including: a fetching module 510 and an executing module 520; the obtaining module 510 is configured to obtain a second touch signal of the second screen when the first screen obtains the first touch signal; the executing module 520 is configured to execute 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 included angle between the first screen and the second screen, and a preset folding angle value, where the target operation includes: and not responding to the second touch signal, responding to the second touch signal or combining the first touch signal and the second touch signal, wherein the preset distance value is associated with the included angle.
Optionally, the execution module is specifically configured to:
and under the condition that the touch control distance value is greater than or equal to the preset distance value and the included angle is smaller than the preset folding angle value, the second touch control signal is not responded.
Optionally, the execution module is specifically configured to:
and responding to the second touch signal under the condition that 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. Optionally, the execution module is specifically configured to:
under the condition that the touch distance value is smaller than the preset distance value, combining the first touch signal and the second touch signal to obtain a third touch signal;
responding to the third touch signal.
In the embodiment of the application, when the first touch signal is detected, the second touch signal is detected on another screen, and at this time, whether the second touch signal is a false touch signal that does not need to be responded or not is effectively analyzed by using 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 and combining an included angle between the first screen and the second screen, so that a corresponding target operation is executed, false response caused by false touch of the folding screen is avoided, and touch experience of a user is optimized.
The touch response device in the embodiment of the present application may be an electronic device, and may also be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm 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), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), an assistant, a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The touch response device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The touch response device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
Optionally, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, as shown in fig. 6, an electronic device 600 according to an embodiment of the present disclosure is further provided, and includes a processor 601 and a memory 602, where the memory 602 stores a program or an instruction that can be executed on the processor 601, and when the program or the instruction is executed by the processor 601, the steps of the embodiment of the touch response method are implemented, and the same technical effects can be achieved, and are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 710 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. Drawing (A)7The electronic device structures shown in the figures do not constitute limitations of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
Wherein, the user input unit 707 obtains a second touch signal of the second screen when the first screen obtains the first touch signal;
the processor 710 is configured to execute 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 included angle between the first screen and the second screen, and a preset folding angle value, where the target operation includes: and not responding to the second touch signal, responding to the second touch signal or combining the first touch signal and the second touch signal, wherein the preset distance value is associated with the included angle.
The processor 710 is configured to not 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 smaller than the preset folding angle value.
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.
The processor 710 is configured to, when the touch distance value is smaller than the preset distance value, combine the first touch signal and the second touch signal to obtain a third touch signal;
responding to the third touch signal.
In the embodiment of the application, when the first touch signal is detected, the second touch signal is detected on another screen, and at this time, whether the second touch signal is a false touch signal that does not need to be responded or not is effectively analyzed by using 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 and combining an included angle between the first screen and the second screen, so that a corresponding target operation is executed, false response caused by false touch of the folding screen is avoided, and touch experience of a user is optimized.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 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 referred to as a touch screen. The touch panel 7071 may include two portions, a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in further detail herein.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, and the like), and the like. Further, the memory 709 can include volatile memory or nonvolatile memory, or the memory 709 can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 709 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the touch response method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
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 or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the touch response method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the above touch response method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.
Claims (10)
1. A touch response method is applied to a mobile terminal with a folding screen, wherein the folding screen is provided with a first screen and a second screen, and the touch response method is characterized by comprising the following steps of:
acquiring a second touch signal of the second screen under the condition that the first screen acquires the first touch signal;
executing 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 included angle between the first screen and the second screen, and a preset folding angle value, wherein the target operation comprises: and not responding to the second touch signal, responding to the second touch signal or combining the first touch signal and the second touch signal, wherein the preset distance value is associated with the included angle.
2. The touch response method according to claim 1, wherein the executing of the target operation based on the preset distance value, 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, the included angle between the first screen and the second screen, and the preset folding angle value includes:
and under the condition that the touch control distance value is greater than or equal to the preset distance value and the included angle is smaller than the preset folding angle value, the second touch control signal is not responded.
3. The touch response method according to claim 1, wherein the executing of the target operation based on the preset distance value, 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, the included angle between the first screen and the second screen, and the preset folding angle value includes:
and responding to the second touch signal under the condition that 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 method according to claim 1, wherein the executing of the target operation based on the preset distance value, 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, the included angle between the first screen and the second screen, and the preset folding angle value includes:
under the condition that the touch distance value is smaller than the preset distance value, combining the first touch signal and the second touch signal to obtain a third touch signal;
responding to the third touch signal.
5. A touch response device is applied to a mobile terminal with a folding screen, wherein the folding screen is provided with a first screen and a second screen, and the touch response device is characterized by comprising:
the acquisition module is used for acquiring a second touch signal of the second screen under the condition that the first screen acquires the first touch signal;
an execution module, configured to execute 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 included angle between the first screen and the second screen, and a preset folding angle value, where the target operation includes: and not responding to the second touch signal, responding to the second touch signal or combining the first touch signal and the second touch signal, wherein the preset distance value is associated with the included angle.
6. The touch-responsive device of claim 5, wherein the execution module is specifically configured to:
and under the condition that the touch distance value is greater than or equal to the preset distance value and the included angle is smaller than the preset folding angle value, the second touch signal is not responded.
7. The touch-sensitive apparatus according to claim 5, wherein the execution module is specifically configured to:
and responding to the second touch signal under the condition that 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.
8. The touch-responsive device of claim 5, wherein the execution module is specifically configured to:
combining the first touch signal and the second touch signal to obtain a third touch signal under the condition that the touch distance value is smaller than the preset distance value;
responding to the third touch signal.
9. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the touch response method of any of claims 1-4.
10. A readable storage medium, on which a program or instructions are stored, which, when executed by a processor, carry out the steps of the touch response method according to any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211193271.4A CN115480664A (en) | 2022-09-28 | 2022-09-28 | Touch response method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211193271.4A CN115480664A (en) | 2022-09-28 | 2022-09-28 | Touch response method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115480664A true CN115480664A (en) | 2022-12-16 |
Family
ID=84394777
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211193271.4A Pending CN115480664A (en) | 2022-09-28 | 2022-09-28 | Touch response method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115480664A (en) |
-
2022
- 2022-09-28 CN CN202211193271.4A patent/CN115480664A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3180687B1 (en) | Hover-based interaction with rendered content | |
CN105843491B (en) | Page rapid navigation switching method and device and terminal | |
US20160004373A1 (en) | Method for providing auxiliary information and touch control display apparatus using the same | |
CN107247538B (en) | Touch operation processing method and terminal device | |
US9519369B2 (en) | Touch screen selection | |
CN114779977A (en) | Interface display method and device, electronic equipment and storage medium | |
CN108845752A (en) | touch operation method, device, storage medium and electronic equipment | |
CN112433693B (en) | Split screen display method and device and electronic equipment | |
CN113268182A (en) | Application icon management method and electronic equipment | |
CN114327726A (en) | Display control method, display control device, electronic equipment and storage medium | |
CN104182240A (en) | Method and device for starting application programs and mobile terminal | |
CN112765500A (en) | Information searching method and device | |
WO2024046203A1 (en) | Content display method and apparatus | |
WO2023231871A1 (en) | Display control method and apparatus, and electronic device and readable storage medium | |
WO2023093661A1 (en) | Interface control method and apparatus, and electronic device and storage medium | |
WO2023098628A1 (en) | Touch-control operation method and apparatus, and electronic device | |
CN115480664A (en) | Touch response method and device, electronic equipment and storage medium | |
CN112162689B (en) | Input method and device and electronic equipment | |
US20120032984A1 (en) | Data browsing systems and methods with at least one sensor, and computer program products thereof | |
CN108984024A (en) | touch operation method, device, storage medium and electronic equipment | |
CN111930296A (en) | Electronic equipment control method and device and electronic equipment | |
US10261675B2 (en) | Method and apparatus for displaying screen in device having touch screen | |
CN114491309B (en) | Picture processing method and device | |
CN114816213A (en) | Operation identification method and device, electronic equipment and readable storage medium | |
CN117555458A (en) | Icon moving method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |