CN113031827A - Method and device for preventing mistaken touch of foldable screen device, electronic device and storage medium - Google Patents

Method and device for preventing mistaken touch of foldable screen device, electronic device and storage medium Download PDF

Info

Publication number
CN113031827A
CN113031827A CN202110421686.1A CN202110421686A CN113031827A CN 113031827 A CN113031827 A CN 113031827A CN 202110421686 A CN202110421686 A CN 202110421686A CN 113031827 A CN113031827 A CN 113031827A
Authority
CN
China
Prior art keywords
display unit
touch
gravity sensing
sensing data
screen
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
Application number
CN202110421686.1A
Other languages
Chinese (zh)
Inventor
谢皓剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Baoneng Communication Technology Co ltd
Original Assignee
Shenzhen Baoneng Communication Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Baoneng Communication Technology Co ltd filed Critical Shenzhen Baoneng Communication Technology Co ltd
Priority to CN202110421686.1A priority Critical patent/CN113031827A/en
Publication of CN113031827A publication Critical patent/CN113031827A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1643Details related to the display arrangement, including those related to the mounting of the display in the housing the display being associated to a digitizer, e.g. laptops that can be used as penpads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04102Flexible digitiser, i.e. constructional details for allowing the whole digitising part of a device to be flexed or rolled like a sheet of paper

Abstract

The application provides a method and device for preventing mistaken touch of foldable screen equipment, electronic equipment and a storage medium, and relates to the technical field of touch screen control. The method comprises the following steps: determining that the first display unit and the second display unit are in a rotating state based on the gravity sensing data of the first display unit and the second display unit in a bright screen state; and suppressing touch response of a folding identification area in the first display unit and the second display unit through a touch panel driving program, wherein the folding identification area is an area within a preset length of the first display unit and the second display unit from a screen frame. According to the method, the two display units of the foldable screen device are determined to rotate relatively through gravity sensing data of the two display units, so that the touch response of the folding identification area is inhibited through a touch panel driving program to prevent mistaken touch, and the accuracy of preventing mistaken touch is improved.

Description

Method and device for preventing mistaken touch of foldable screen device, electronic device and storage medium
Technical Field
The application relates to the technical field of touch control, in particular to a method and device for preventing a foldable screen device from being touched by mistake, an electronic device and a storage medium.
Background
At present, with the development of electronic devices such as mobile phones, screen display technologies are increasingly innovative. As a flexible screen with a brand-new technology, the flexible screen has the characteristics of strong flexibility and flexibility, creates a new interaction mode for electronic equipment such as a mobile phone and the like, and greatly expands the application scene of the mobile phone. The flexible screen is applied to the mobile phone, so that the screen application tends to be popular in the future.
At present, the application scheme of the flexible screen mainly covers two folding parts of the equipment with the flexible screen, so that the integrity of a display picture is ensured no matter the equipment such as a mobile phone is in a folding or unfolding state, and the aim of considering both the portability and the visual integrity of the equipment is fulfilled. However, when the foldable screen device is operated, since a certain part of the screen is difficult to touch in the using process, if the related technology is not used for restraining the mistaken touch, the misoperation of the device is easily caused, and the user experience is influenced.
Disclosure of Invention
In view of the above, an object of the embodiments of the present application is to provide a method and an apparatus for preventing a foldable screen device from being touched by mistake, an electronic device, and a storage medium, so as to solve the problem that the foldable screen device in the prior art is easily touched by mistake.
The embodiment of the application provides a method for preventing a foldable screen device from being touched by mistake, wherein the foldable screen device comprises a first display unit and a second display unit which are connected along a folding line, and the method comprises the following steps: determining that the first display unit and the second display unit are in a rotating state based on the gravity sensing data of the first display unit and the second display unit in a bright screen state; and suppressing touch response of a folding identification area in the first display unit and the second display unit through a touch panel driving program, wherein the folding identification area is an area within a preset length of the first display unit and the second display unit from a screen frame.
In the implementation mode, whether the display unit is in a rotating state or not is determined according to the gravity sensing data of the first display unit and the second display unit when the display unit is in a bright screen state, whether the user turns over a screen of the folding screen device or moves the folding screen device can be determined, and the screen is easy to mistakenly touch when turning over the screen or moving the folding screen device, then the suppression of touch response is carried out on an area within the preset length of the screen from a screen frame, the accurate mistaken touch prevention of mistakenly touching the area is realized when turning over the screen, and meanwhile, the normal operation of other areas of the screen can be ensured, so that the mistaken touch prevention accuracy is improved.
Optionally, the determining that the first display unit and the second display unit are in a rotating state based on the gravity sensing data of the first display unit and the second display unit in a bright screen state includes: determining a first gravity sensing data change value of the first display unit in a bright screen state and a second gravity sensing data change value of the second display unit in a bright screen state; and when the change value of the first gravity sensing data or the change value of the second gravity sensing data is greater than a preset gravity change reference value, determining that the first display unit and the second display unit are in the rotating state.
In the implementation manner, when the change value of the gravity sensing data of the first display unit and the second display unit is greater than the preset gravity change reference value, the two display units rotate or move, and the folding screen device is in the motion process of unfolding or closing the screen and the like, so that the accuracy of judging whether the first display unit and the second display unit are in the rotating state is improved.
Optionally, the method further comprises: when the change value of the first gravity sensing data or the change value of the second gravity sensing data is smaller than or equal to the preset gravity change reference value, determining a screen included angle between the first display unit and the second display unit; when the screen included angle accords with a preset included angle range, determining that the foldable screen equipment is in an unfolded state; determining a plane included angle between an unfolding plane of the foldable screen device and a horizontal plane based on the gravity sensing data of the first display unit and the second display unit; and when the plane included angle is smaller than or equal to a preset plane included angle reference value, inhibiting the touch response of the folding identification area through the touch panel driving program.
In the implementation mode, the unfolding state and the equipment placing orientation state of the folding screen equipment are accurately and quickly judged, and whether touch response of the folding identification area is inhibited or not is controlled based on whether the folding screen equipment is in the unfolding state or not and the equipment placing orientation state, so that mistaken touch prevention control is carried out on different states of the folding screen equipment, and the applicability and the accuracy of mistaken touch prevention are improved.
Optionally, the method further comprises: when the screen included angle does not accord with the preset included angle range, or when the plane included angle is larger than the preset plane included angle reference value, acquiring a touch event set generated in the folding identification area; determining touch points of display units in a bright screen state in the first display unit and the second display unit, wherein the touch events are concentrated in the touch points; and when the number of the touch points is larger than a preset touch point reference value, inhibiting the touch response of the folding identification area through the touch panel driving program.
In the implementation manner, whether the current touch operation belongs to the normal conventional touch operation is determined by comparing the touch point number of the display unit in the bright screen state in the folding identification area with the preset touch point number reference value, and if the touch point number of the display unit in the bright screen state in the folding identification area is abnormal, the current touch operation is indicated to be the false touch, so that the accuracy of the false touch judgment is improved.
Optionally, the method further comprises: and when the number of touch points is smaller than or equal to the preset number of touch points reference value, skipping from the step of determining a first gravity sensing data change value of the first display unit in the bright screen state and a second gravity sensing data change value of the second display unit in the bright screen state to the step of suppressing touch response of the folding identification area in the first display unit and the second display unit through a touch panel driving program.
In the implementation mode, when the folding screen device is determined not to be mistakenly touched based on the touch points of the display unit in the bright screen state in the folding identification area, the judgment of mistaken touch prevention is carried out from the beginning, and the real-time and comprehensive mistaken touch prevention of the folding screen device is realized.
Optionally, before the determining that the first display unit and the second display unit are in the rotating state based on the gravity sensing data of the first display unit and the second display unit in the bright screen state, the method further includes: and acquiring gravity sensing data of the first display unit and the second display unit through a gravity sensing sensor, wherein the gravity sensing sensor is a cantilever type displacer made of an elastic sensitive element.
In the above implementation mode, the cantilever type displacer made of the elastic sensitive element converts the gravity change into an electric signal, the working principle of the cantilever type displacer is a piezoelectric effect, namely, when the dielectric medium is deformed under the action of external force in a certain direction, the polarization phenomenon can occur inside the dielectric medium, so that voltage is generated on two opposite surfaces, the cantilever type displacer is suitable for the screen overturning condition of foldable equipment, and the accuracy of gravity data is improved.
Optionally, the suppressing, by the touch panel driver, the touch response of the folding identification area in the first display unit and the second display unit includes: grounding the driving wires in the range of the folding identification area through the touch panel driving program; or the electric signal circuit fed back by the folding identification area is disconnected for a preset time by the touch panel driving program.
In the implementation mode, the touch response suppression is realized by carrying out grounding processing on the driving wire or disconnecting the electric signal circuit fed back by the folding identification area, the accurate touch suppression on the appointed part of the screen can be realized, and the accuracy of preventing mistaken touch is improved.
The embodiment of the present application further provides a device is prevented touching by mistake by collapsible screen equipment, collapsible screen equipment includes first display element and the second display element of connecting along the folding line, the device includes: the rotation state determining module is used for determining that the first display unit and the second display unit are in a rotation state based on gravity sensing data of the first display unit and the second display unit in a bright screen state; and the touch control restraining module is used for restraining the touch control response of a folding identification area in the first display unit and the second display unit through a touch control panel driving program, wherein the folding identification area is an area within a preset length from a screen frame of the first display unit and the second display unit.
In the implementation mode, whether the display unit is in a rotating state or not is determined according to the gravity sensing data of the first display unit and the second display unit when the display unit is in a bright screen state, whether the user turns over a screen of the folding screen device or moves the folding screen device can be determined, and the screen is easy to mistakenly touch when turning over the screen or moving the folding screen device, then the suppression of touch response is carried out on an area within the preset length of the screen from a screen frame, the accurate mistaken touch prevention of mistakenly touching the area is realized when turning over the screen, and meanwhile, the normal operation of other areas of the screen can be ensured, so that the mistaken touch prevention accuracy is improved.
Optionally, the rotation state determining module is specifically configured to: determining a first gravity sensing data change value of the first display unit in a bright screen state and a second gravity sensing data change value of the second display unit in a bright screen state; and when the change value of the first gravity sensing data or the change value of the second gravity sensing data is greater than a preset gravity change reference value, determining that the first display unit and the second display unit are in the rotating state.
In the implementation manner, when the change value of the gravity sensing data of the first display unit and the second display unit is greater than the preset gravity change reference value, the two display units rotate or move, and the folding screen device is in the motion process of unfolding or closing the screen and the like, so that the accuracy of judging whether the first display unit and the second display unit are in the rotating state is improved.
Optionally, the foldable screen device false touch prevention apparatus further comprises: the display screen plane angle determining module is used for determining a screen included angle between the first display unit and the second display unit when the change value of the first gravity sensing data or the change value of the second gravity sensing data is smaller than or equal to the preset gravity change reference value; when the screen included angle accords with a preset included angle range, determining that the foldable screen equipment is in an unfolded state; determining a plane included angle between an unfolding plane of the foldable screen device and a horizontal plane based on the gravity sensing data of the first display unit and the second display unit; and when the plane included angle is smaller than or equal to a preset plane included angle reference value, inhibiting the touch response of the folding identification area through the touch panel driving program.
In the implementation mode, the unfolding state and the equipment placing orientation state of the folding screen equipment are accurately and quickly judged, and whether touch response of the folding identification area is inhibited or not is controlled based on whether the folding screen equipment is in the unfolding state or not and the equipment placing orientation state, so that mistaken touch prevention control is carried out on different states of the folding screen equipment, and the applicability and the accuracy of mistaken touch prevention are improved.
Optionally, the foldable screen device false touch prevention apparatus further comprises: the touch point judgment module is used for acquiring a touch event set generated in the folding identification area when the screen included angle does not accord with the preset included angle range or when the plane included angle is larger than the preset plane included angle reference value; determining touch points of display units in a bright screen state in the first display unit and the second display unit, wherein the touch events are concentrated in the touch points; and when the number of the touch points is larger than a preset touch point reference value, inhibiting the touch response of the folding identification area through the touch panel driving program.
In the implementation manner, whether the current touch operation belongs to the normal conventional touch operation is determined by comparing the touch point number of the display unit in the bright screen state in the folding identification area with the preset touch point number reference value, and if the touch point number of the display unit in the bright screen state in the folding identification area is abnormal, the current touch operation is indicated to be the false touch, so that the accuracy of the false touch judgment is improved.
Optionally, the touch point determination module is further configured to: and when the number of touch points is smaller than or equal to the preset number of touch points reference value, skipping from the step of determining a first gravity sensing data change value of the first display unit in the bright screen state and a second gravity sensing data change value of the second display unit in the bright screen state to the step of suppressing touch response of the folding identification area in the first display unit and the second display unit through a touch panel driving program.
In the implementation mode, when the folding screen device is determined not to be mistakenly touched based on the touch points of the display unit in the bright screen state in the folding identification area, the judgment of mistaken touch prevention is carried out from the beginning, and the real-time and comprehensive mistaken touch prevention of the folding screen device is realized.
Optionally, the foldable screen device false touch prevention apparatus further comprises: the gravity sensing data acquisition module is used for acquiring the gravity sensing data of the first display unit and the second display unit through a gravity sensing sensor, and the gravity sensing sensor is a cantilever type shifter made of an elastic sensitive element.
In the above implementation mode, the cantilever type displacer made of the elastic sensitive element converts the gravity change into an electric signal, the working principle of the cantilever type displacer is a piezoelectric effect, namely, when the dielectric medium is deformed under the action of external force in a certain direction, the polarization phenomenon can occur inside the dielectric medium, so that voltage is generated on two opposite surfaces, the cantilever type displacer is suitable for the screen overturning condition of foldable equipment, and the accuracy of gravity data is improved.
Optionally, the touch suppression module is specifically configured to: grounding the driving wires in the range of the folding identification area through the touch panel driving program; or the electric signal circuit fed back by the folding identification area is disconnected for a preset time by the touch panel driving program.
In the implementation mode, the touch response suppression is realized by carrying out grounding processing on the driving wire or disconnecting the electric signal circuit fed back by the folding identification area, the accurate touch suppression on the appointed part of the screen can be realized, and the accuracy of preventing mistaken touch is improved.
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, where the memory stores program instructions, and the processor executes steps in any one of the above implementation manners when reading and executing the program instructions.
The embodiment of the present application further provides a readable storage medium, in which computer program instructions are stored, and the computer program instructions are read by a processor and executed to perform the steps in any of the above implementation manners.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flow chart of a method for preventing a foldable screen device from being touched by mistake according to an embodiment of the present application.
Fig. 2 is a schematic diagram illustrating an included angle between a display unit of an unfolding plane and a horizontal plane according to an embodiment of the present disclosure.
Fig. 3 is a schematic flow chart illustrating a determination of false touch prevention based on a plane included angle between an expansion plane of a foldable screen device and a horizontal plane according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a screen angle provided in an embodiment of the present application.
Fig. 5 is a schematic flowchart illustrating a false touch determination process based on a folded recognition area touch event set according to an embodiment of the present disclosure.
Fig. 6 is a logic diagram of a method for preventing a false touch of a foldable screen device according to an embodiment of the present application.
Fig. 7 is a schematic block diagram of an anti-false-touch device of a foldable screen device according to an embodiment of the present application.
Icon: 20-a foldable screen device false touch prevention device; 21-a rotation state determination module; 22-touch suppression module.
Detailed Description
The technical solution in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for preventing a foldable screen device from being touched by mistake according to an embodiment of the present application, where the method for preventing a foldable screen device from being touched by mistake includes the following specific steps:
step S11: and determining that the first display unit and the second display unit are in a rotating state based on the gravity sensing data of the first display unit and the second display unit in the bright screen state.
The first display unit and the second display unit may be two independent display screens capable of rotating around a rotation axis in the foldable screen device.
Specifically, the step S11 may specifically include the following sub-steps:
step S111: and determining a first gravity sensing data change value of the first display unit in a bright screen state and a second gravity sensing data change value of the second display unit in a bright screen state.
The first gravity-sensing data variation value may be represented as Δ a1, and the second gravity-sensing data variation value may be represented as Δ a 2.
Optionally, in this embodiment, the first gravity sensing data and the second gravity sensing data change value may be collected by a gravity sensing sensor, the gravity sensing sensor may be a cantilever type shifter made of an elastic sensing element, and an energy storage spring made of the elastic sensing element drives an electrical contact to convert the gravity change into an electrical signal and send the electrical signal to an operation unit of the foldable screen device for analysis. The working principle is piezoelectric effect, namely when the dielectric medium is deformed under the action of external force in a certain direction, the polarization phenomenon can occur inside the dielectric medium, so that voltage is generated on two opposite surfaces, and the foldable screen device is suitable for foldable screen equipment with the angle rotation between screens.
Therefore, when the acceleration state of the gravity sensing sensor in the foldable screen device changes, the information can be represented in a voltage form. The corresponding piezoelectric gravity sensing sensor is arranged in the foldable screen device, and various state accelerations of the user in daily use are deeply learned based on a corresponding algorithm, so that the actual state of the foldable screen device can be determined.
The actual state of the foldable screen device is determined in a deep learning mode, which is similar to the existing common deep learning mode and is not described herein again.
Step S112: and when the change value of the first gravity sensing data or the change value of the second gravity sensing data is greater than the preset gravity reference value, determining that the first display unit and the second display unit are in a rotating state.
The preset gravity change reference value can be expressed as M, and the value of M can be flexibly adjusted according to the specific size, weight and the like of the foldable screen device.
Specifically, M is set according to the maximum change value of the gravitational acceleration that can be accepted by a user who normally uses the foldable screen device in daily life, and if the absolute value of the change exceeds M, it represents that the foldable screen device is being folded, unfolded or in motion, and these scenes are obviously not suitable for the user to normally use, and the probability of the occurrence of the false touch is very high, so that the false touch prevention needs to be performed on the foldable screen device.
Step S12: and suppressing the touch response of the folding identification areas in the first display unit and the second display unit through a touch panel driving program.
Optionally, the suppression of the touch response in this embodiment may be to eliminate or screen the driving signal applied to the folding recognition area by the driving line selection. The driving line is used for transmitting the driving signal of the processing unit or the arithmetic unit to the screen so as to drive the screen to display.
Specifically, the specific manner of suppressing the touch response of the folding identification area may include:
the first method is as follows: and carrying out grounding processing on the driving wires in the range of the folding identification area by a touch panel driving program.
The second method comprises the following steps: and disconnecting the electric signal circuit fed back from the folding identification area for a preset time by a touch panel driving program.
The preset disconnection duration of the electric signal line can be flexibly set according to the characteristic of preventing false touch.
In addition to the mistouch prevention determination according to the unfolding and folding operation states or motion states of the first display unit and the second display unit, the mistouch prevention determination can be performed according to whether the foldable screen device is in a state that a user can guarantee stable holding of the device without touching the touch area.
Referring to fig. 2 and fig. 3, fig. 2 is a schematic view illustrating an included angle between a display unit of an unfolding plane and a horizontal plane according to an embodiment of the present application, and fig. 3 is a schematic view illustrating a flow of performing a false touch prevention determination based on an included angle between the unfolding plane of a foldable screen device and the horizontal plane according to an embodiment of the present application.
Fig. 2 is a schematic diagram showing an included angle between a display unit and a horizontal plane of a foldable screen device gravity sensing sensor for monitoring an unfolding plane, as shown in the figure, when the included angle between the display unit and the horizontal plane is smaller than or equal to a certain angle, a mobile phone screen displays downwards, a possible user use state is that a user operates a mobile phone in a lying state, at the moment, the screen is in the unfolding state, the width of the mobile phone is large, the mobile phone is not convenient to hold by one hand, the operation in a lifting mobile phone posture is not possible, when the user holds the mobile phone by two hands for use, the error touch of the edge of the screen is very easy to occur, and therefore, the necessity of preventing.
Specifically, the procedure of performing the false touch prevention determination based on the plane included angle between the unfolding plane of the foldable screen device and the horizontal plane may be as follows:
step S131: and when the change value of the first gravity sensing data or the change value of the second gravity sensing data is smaller than or equal to the preset gravity change reference value, determining a screen included angle between the first display unit and the second display unit.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a screen angle according to an embodiment of the present application.
When the change value of the first gravity sensing data or the change value of the second gravity sensing data is smaller than or equal to the preset reference value of gravity change, it indicates that the foldable screen device is not folded, unfolded or moved currently, and this condition is a precondition that the user is using the foldable screen device normally.
Alternatively, the screen angle in this embodiment may be denoted as b, and an angle detection sensor may be used to detect the screen angle between two display units.
Step S132: and when the screen included angle accords with the preset included angle range, determining that the foldable screen equipment is in the unfolding state.
It should be understood that, since the foldable screen device has two modes of inward turning and outward turning, and the specific reference value calculation mode is different, this embodiment is only a broad expression, and the specific parameter setting and algorithm design should be set according to the suitable angle of the state that both display units of the foldable screen can normally display and operate in practical use of the user, so that the range conforming to the preset included angle in this embodiment may be greater than or equal to a preset included angle reference value or less than or equal to a preset included angle reference value according to the inward turning or outward turning mode of the foldable screen device.
Alternatively, the preset included angle reference value in this embodiment may be represented as N.
Step S133: and determining a plane included angle between an unfolding plane of the foldable screen device and a horizontal plane based on the gravity sensing data of the first display unit and the second display unit.
Determining the included angle between the device and the horizontal plane through gravity sensing data belongs to a common calculation method in the field, and is not described herein again.
Step S134: and when the plane included angle is smaller than or equal to the preset plane included angle reference value, inhibiting the touch response of the folding identification area through a touch panel driving program.
Alternatively, the plane angle in this embodiment may be represented as c, and the preset plane angle reference value may be represented as P.
The selected value of P is set according to the change condition of the holding mode of the foldable screen device under the normal use state of a user. When c is less than or equal to P, the user can be ensured to stably hold the mobile phone by touching the touch area, and when c is greater than P, the user can be ensured to stably hold the mobile phone without touching the touch area.
And if c is less than or equal to a preset value P, suggesting that a user changes a holding gesture, increasing the risk of false touch of the user on the folding identification area at the edge of the screen, and inhibiting touch response of the folding identification area.
As an optional implementation manner, in this embodiment, a determination of preventing a false touch by introducing touch operation information of a user in a folded identification area may also be introduced, please refer to fig. 5, where fig. 5 is a schematic flow diagram of a false touch determination based on a touch event set in the folded identification area provided in this embodiment of the present application, and specific steps may be as follows:
step S141: and when the screen included angle does not accord with the preset included angle range or the plane included angle is larger than the preset plane included angle reference value, acquiring a touch event set generated in the folding identification area.
When the screen included angle does not accord with the preset included angle range, or when the plane included angle is larger than the preset plane included angle reference value, the mistouch judgment can be carried out according to the usual touch habit of the user, namely, the mistouch judgment is carried out through the touch event set which occurs in the folding identification area.
Step S142: and determining the touch points of the display units in the bright screen state in the first display unit and the second display unit in the touch event set.
Optionally, the number of touch points in this embodiment may be represented as k.
Step S143: and when the number of touch points is larger than the preset touch point reference value, inhibiting the touch response of the folding identification area through a touch panel driving program.
Optionally, the preset touch point reference value in this embodiment may be represented as K, where K is set as a maximum touch point that may occur simultaneously in a normal use process of a user, and if the number exceeds this value, the probability of false touch of the foldable screen device is very high.
Optionally, the obtaining of the touch event set may further set a time limit, for example, a touch event set occurring in the folding identification area within the monitoring time t, where the number of touch points occurring on the folding identification area of the touch panel of the illuminated display unit is K, and the touch point critical value K is compared with the touch point critical value K, if the number of touch points K in the folding identification area is greater than K, it indicates that the possibility of false touch is very high, and the touch feedback of the folding identification area needs to be suppressed.
It should be understood that the above steps S11-S12, S131-S134, and S141-S143 provided in this embodiment may be executed as separate anti-false touch determination processes of the foldable screen device, respectively, or may be executed as an anti-false touch determination process of the foldable screen device after connecting the determination conditions.
If the judgment conditions are connected and then executed as the false touch prevention judgment process of the foldable screen device, it is determined in step S142 that the number of touch points of the display units in the bright screen state, which are collectively generated in the first display unit and the second display unit, is less than or equal to the preset touch point reference value, and it indicates that the foldable screen device is not in the state where false touch is easily generated currently.
Considering real-time monitoring of the state of the foldable screen device, when the number of touch points is less than or equal to the preset touch point reference value, the process may jump to step S11 to execute the whole process in the new round of method for preventing the foldable screen device from being touched by mistake, please refer to fig. 6, where fig. 6 is a logic diagram of the method for preventing the foldable screen device from being touched by mistake provided in the embodiment of the present application.
In order to cooperate with the method for preventing the foldable screen device from being touched by mistake, an embodiment of the present application further provides a device 20 for preventing the foldable screen device from being touched by mistake, please refer to fig. 7, and fig. 7 is a schematic block diagram of the device for preventing the foldable screen device from being touched by mistake provided by the embodiment of the present application.
The false touch prevention device 20 of the foldable screen apparatus includes:
the rotation state determining module 21 is configured to determine that the first display unit and the second display unit are in a rotation state based on gravity sensing data of the first display unit and the second display unit in a bright screen state;
the touch suppression module 22 is configured to suppress, through a touch panel driver, a touch response of a folding identification area in the first display unit and the second display unit, where the folding identification area is an area of the first display unit and the second display unit within a preset length from a screen frame.
Optionally, the rotation state determining module 21 is specifically configured to: determining a first gravity sensing data change value of a first display unit in a bright screen state and a second gravity sensing data change value of a second display unit in the bright screen state; and when the change value of the first gravity sensing data or the change value of the second gravity sensing data is greater than the preset gravity change reference value, determining that the first display unit and the second display unit are in a rotating state.
Optionally, the foldable screen device false touch prevention apparatus 20 further includes: the display screen plane angle determining module is used for determining a screen included angle between the first display unit and the second display unit when the change value of the first gravity sensing data or the change value of the second gravity sensing data is smaller than or equal to a preset gravity change reference value; when the included angle of the screen accords with the preset included angle range, determining that the foldable screen equipment is in an unfolded state; determining a plane included angle between an unfolding plane of the foldable screen device and a horizontal plane based on the gravity sensing data of the first display unit and the second display unit; and when the plane included angle is smaller than or equal to the preset plane included angle reference value, inhibiting the touch response of the folding identification area through a touch panel driving program.
Optionally, the foldable screen device false touch prevention apparatus 20 further includes: the touch point judgment module is used for acquiring a touch event set generated in the folding identification area when the screen included angle does not accord with the preset included angle range or when the plane included angle is larger than a preset plane included angle reference value; determining touch points of display units in a bright screen state, wherein the touch events are concentrated in the first display unit and the second display unit; and when the number of touch points is larger than the preset touch point reference value, inhibiting the touch response of the folding identification area through a touch panel driving program.
Optionally, the touch point determination module is further configured to: and when the number of touch points is less than or equal to a preset touch point reference value, skipping from the step of determining a first gravity sensing data change value of the first display unit in the bright screen state and a second gravity sensing data change value of the second display unit in the bright screen state to the step of suppressing touch response of the folding identification area in the first display unit and the second display unit through a touch panel driving program.
Optionally, the foldable screen device false touch prevention apparatus 20 further includes: the gravity sensing data acquisition module is used for acquiring the gravity sensing data of the first display unit and the second display unit through the gravity sensing sensor, and the gravity sensing sensor is a cantilever type shifter made of an elastic sensing element.
Optionally, the touch suppression module 22 is specifically configured to: grounding the driving wires in the range of the folding identification area through a touch panel driving program; or the electric signal circuit fed back by the folding identification area is disconnected for a preset time by a touch panel driving program.
The embodiment of the application further provides electronic equipment, which comprises a memory and a processor, wherein program instructions are stored in the memory, and when the processor reads and runs the program instructions, the steps in any one of the methods for preventing the foldable screen device from being touched by mistake provided by the embodiment are executed.
It should be understood that the electronic device may be a Personal Computer (PC), a tablet PC, a smart phone, a Personal Digital Assistant (PDA), or other electronic device having a logical computing function.
The embodiment of the application also provides a readable storage medium, wherein computer program instructions are stored in the readable storage medium, and the computer program instructions are read by a processor and executed when the computer program instructions are executed by the processor, so that the steps in the false touch prevention method for the foldable screen device are executed.
In summary, the embodiment of the present application provides a method and an apparatus for preventing a foldable screen device from being touched by mistake, an electronic device, and a storage medium, where the foldable screen device includes a first display unit and a second display unit connected along a folding line, and the method includes: determining that the first display unit and the second display unit are in a rotating state based on the gravity sensing data of the first display unit and the second display unit in a bright screen state; and suppressing touch response of a folding identification area in the first display unit and the second display unit through a touch panel driving program, wherein the folding identification area is an area within a preset length of the first display unit and the second display unit from a screen frame.
In the implementation mode, whether the display unit is in a rotating state or not is determined according to the gravity sensing data of the first display unit and the second display unit when the display unit is in a bright screen state, whether the user turns over a screen of the folding screen device or moves the folding screen device can be determined, and the screen is easy to mistakenly touch when turning over the screen or moving the folding screen device, then the suppression of touch response is carried out on an area within the preset length of the screen from a screen frame, the accurate mistaken touch prevention of mistakenly touching the area is realized when turning over the screen, and meanwhile, the normal operation of other areas of the screen can be ensured, so that the mistaken touch prevention accuracy is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. The apparatus embodiments described above are merely illustrative, and for example, the block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of devices according to various embodiments of the present application. In this regard, each block in the block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams, and combinations of blocks in the block diagrams, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Therefore, the present embodiment further provides a readable storage medium, in which computer program instructions are stored, and when the computer program instructions are read and executed by a processor, the computer program instructions perform the steps of any of the block data storage methods. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RanDom Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method of preventing accidental touches by a foldable screen device, the foldable screen device comprising a first display unit and a second display unit connected along a fold line, the method comprising:
determining that the first display unit and the second display unit are in a rotating state based on the gravity sensing data of the first display unit and the second display unit in a bright screen state;
and suppressing touch response of a folding identification area in the first display unit and the second display unit through a touch panel driving program, wherein the folding identification area is an area within a preset length of the first display unit and the second display unit from a screen frame.
2. The method of claim 1, wherein the determining that the first display unit and the second display unit are in a rotating state based on the gravity sensing data of the first display unit and the second display unit in a bright screen state comprises:
determining a first gravity sensing data change value of the first display unit in a bright screen state and a second gravity sensing data change value of the second display unit in a bright screen state;
and when the change value of the first gravity sensing data or the change value of the second gravity sensing data is greater than a preset gravity change reference value, determining that the first display unit and the second display unit are in the rotating state.
3. The method of claim 2, further comprising:
when the change value of the first gravity sensing data or the change value of the second gravity sensing data is smaller than or equal to the preset gravity change reference value, determining a screen included angle between the first display unit and the second display unit;
when the screen included angle accords with a preset included angle range, determining that the foldable screen equipment is in an unfolded state;
determining a plane included angle between an unfolding plane of the foldable screen device and a horizontal plane based on the gravity sensing data of the first display unit and the second display unit;
and when the plane included angle is smaller than or equal to a preset plane included angle reference value, inhibiting the touch response of the folding identification area through the touch panel driving program.
4. The method of claim 3, further comprising:
when the screen included angle does not accord with the preset included angle range, or when the plane included angle is larger than the preset plane included angle reference value, acquiring a touch event set generated in the folding identification area;
determining touch points of display units in a bright screen state in the first display unit and the second display unit, wherein the touch events are concentrated in the touch points;
and when the number of the touch points is larger than a preset touch point reference value, inhibiting the touch response of the folding identification area through the touch panel driving program.
5. The method of claim 4, further comprising:
and when the number of touch points is smaller than or equal to the preset number of touch points reference value, skipping from the step of determining a first gravity sensing data change value of the first display unit in the bright screen state and a second gravity sensing data change value of the second display unit in the bright screen state to the step of suppressing touch response of the folding identification area in the first display unit and the second display unit through a touch panel driving program.
6. The method of claim 1, wherein prior to the determining that the first display unit and the second display unit are in a rotated state based on the gravity sensing data of the first display unit and the second display unit in a bright screen state, the method further comprises:
and acquiring gravity sensing data of the first display unit and the second display unit through a gravity sensing sensor, wherein the gravity sensing sensor is a cantilever type displacer made of an elastic sensitive element.
7. The method of claim 1, wherein suppressing, by a touch panel driver, touch responses of fold identification areas in the first display unit and the second display unit comprises:
grounding the driving wires in the range of the folding identification area through the touch panel driving program; or the like, or, alternatively,
and disconnecting the electric signal circuit fed back by the folding identification area for a preset time by the touch panel driving program.
8. A foldable screen device anti-false touch device, the foldable screen device comprising a first display unit and a second display unit connected along a folding line, the device comprising:
the rotation state determining module is used for determining that the first display unit and the second display unit are in a rotation state based on gravity sensing data of the first display unit and the second display unit in a bright screen state;
and the touch control restraining module is used for restraining the touch control response of a folding identification area in the first display unit and the second display unit through a touch control panel driving program, wherein the folding identification area is an area within a preset length from a screen frame of the first display unit and the second display unit.
9. An electronic device comprising a memory having stored therein program instructions and a processor that, when executed, performs the steps of the method of any of claims 1-7.
10. A storage medium having stored thereon computer program instructions for executing the steps of the method according to any one of claims 1 to 7 when executed by a processor.
CN202110421686.1A 2021-04-19 2021-04-19 Method and device for preventing mistaken touch of foldable screen device, electronic device and storage medium Pending CN113031827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110421686.1A CN113031827A (en) 2021-04-19 2021-04-19 Method and device for preventing mistaken touch of foldable screen device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110421686.1A CN113031827A (en) 2021-04-19 2021-04-19 Method and device for preventing mistaken touch of foldable screen device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN113031827A true CN113031827A (en) 2021-06-25

Family

ID=76456956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110421686.1A Pending CN113031827A (en) 2021-04-19 2021-04-19 Method and device for preventing mistaken touch of foldable screen device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113031827A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778252A (en) * 2020-06-10 2021-12-10 Oppo广东移动通信有限公司 False touch prevention method and device applied to flexible display screen, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450778A (en) * 2017-09-14 2017-12-08 维沃移动通信有限公司 A kind of false touch recognition methods and mobile terminal
CN108235747A (en) * 2017-12-21 2018-06-29 深圳市为通博科技有限责任公司 Edge false-touch prevention method, touch control equipment and storage medium
CN110658936A (en) * 2018-06-29 2020-01-07 中兴通讯股份有限公司 Edge suppression area control method and device, mobile terminal and storage medium
CN110837318A (en) * 2019-10-29 2020-02-25 捷开通讯(深圳)有限公司 Mistaken touch prevention method and device for folding screen of mobile terminal and storage medium
CN111610874A (en) * 2019-02-22 2020-09-01 华为技术有限公司 Touch screen response method and electronic equipment
US20200310619A1 (en) * 2019-03-29 2020-10-01 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for preventing false touch on edge, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450778A (en) * 2017-09-14 2017-12-08 维沃移动通信有限公司 A kind of false touch recognition methods and mobile terminal
CN108235747A (en) * 2017-12-21 2018-06-29 深圳市为通博科技有限责任公司 Edge false-touch prevention method, touch control equipment and storage medium
CN110658936A (en) * 2018-06-29 2020-01-07 中兴通讯股份有限公司 Edge suppression area control method and device, mobile terminal and storage medium
CN111610874A (en) * 2019-02-22 2020-09-01 华为技术有限公司 Touch screen response method and electronic equipment
US20200310619A1 (en) * 2019-03-29 2020-10-01 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for preventing false touch on edge, and storage medium
CN110837318A (en) * 2019-10-29 2020-02-25 捷开通讯(深圳)有限公司 Mistaken touch prevention method and device for folding screen of mobile terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
史红梅主编: "《测控电路及应用》", 31 January 2011 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778252A (en) * 2020-06-10 2021-12-10 Oppo广东移动通信有限公司 False touch prevention method and device applied to flexible display screen, terminal and storage medium
CN113778252B (en) * 2020-06-10 2024-04-16 Oppo广东移动通信有限公司 Anti-false touch method and device applied to flexible display screen, terminal and storage medium

Similar Documents

Publication Publication Date Title
KR101494584B1 (en) Accessory device
US20090259968A1 (en) Method for switching wallpaper in screen lock state, mobile electronic device thereof, and storage medium thereof
CN104185979B (en) Information processor, method
KR20180138135A (en) Contact-sensitive crown for an electronic watch
US20150301684A1 (en) Apparatus and method for inputting information
EP2573650A1 (en) Portable information processing terminal
US7626355B2 (en) Portable electronic device and method to protect same
US20160378195A1 (en) Method for recognizing handwriting on a physical surface
EP2227731A1 (en) Tactile feedback in an electronic device
JP5843511B2 (en) INPUT DETECTING DEVICE, ITS CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
CN105446838A (en) Terminal control method and terminal
CN107407998B (en) Method for interacting with an electronic and/or computer device implementing a capacitive control surface and a peripheral surface, interface and device implementing the method
US9160823B2 (en) Handheld electronic device that has a keypad which can be rendered ineffective, and associated method
US20170097692A1 (en) Display control apparatus and method for controlling the same
CN110442263A (en) Touching display screen processing method, device, storage medium and electronic equipment
CN115023683A (en) Stylus pen, terminal, control method thereof, and computer-readable storage medium
CN113031827A (en) Method and device for preventing mistaken touch of foldable screen device, electronic device and storage medium
CN109976654A (en) A kind of screen content method of adjustment, device, mobile terminal and storage medium
US10268362B2 (en) Method and system for realizing functional key on side surface
US20230359292A1 (en) Screen control method and apparatus, and electronic device
CN104714736A (en) Control method and terminal for quitting full screen lock-out state
CN105074810A (en) Portable electronic device, control method therefor, and program
CN114338871A (en) Display switching method and device, electronic equipment and storage medium
WO2013046942A1 (en) Display device
CN107025049B (en) Display control apparatus and control method thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210625

RJ01 Rejection of invention patent application after publication