CN113079255B - Method and device for preventing false touch of sliding cover operation and intelligent equipment - Google Patents

Method and device for preventing false touch of sliding cover operation and intelligent equipment Download PDF

Info

Publication number
CN113079255B
CN113079255B CN202010009861.1A CN202010009861A CN113079255B CN 113079255 B CN113079255 B CN 113079255B CN 202010009861 A CN202010009861 A CN 202010009861A CN 113079255 B CN113079255 B CN 113079255B
Authority
CN
China
Prior art keywords
sliding cover
sliding
setting position
screen touch
touch information
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.)
Active
Application number
CN202010009861.1A
Other languages
Chinese (zh)
Other versions
CN113079255A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010009861.1A priority Critical patent/CN113079255B/en
Publication of CN113079255A publication Critical patent/CN113079255A/en
Application granted granted Critical
Publication of CN113079255B publication Critical patent/CN113079255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0235Slidable or telescopic telephones, i.e. with a relative translation movement of the body parts; Telephones using a combination of translation and other relative motions of the body parts
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a method and a device for preventing false touch in sliding closure operation and intelligent equipment. The method is applied to an electronic device with a sliding cover, and comprises the following steps: if the trigger condition of the sliding cover operation is determined to be met, detecting screen touch information of the electronic equipment; and determining whether to execute a sliding cover operation based on the detection result of the screen touch information, wherein the sliding cover operation comprises a setting operation corresponding to the sliding cover sliding from a first setting position to a second setting position or returning from the second setting position to the first setting position. According to the method and the device, the sliding cover operation is not directly executed when the trigger condition of the sliding cover operation is determined to be met, whether the sliding cover operation is executed or not is determined based on the detection result of the screen touch information, the condition of mistaken touch caused by the fact that the sliding cover operation is executed only based on the trigger condition of the sliding cover operation can be avoided, the accuracy of triggering the sliding cover operation can be improved, the power consumption of the device can be saved, and the user experience is improved.

Description

Method and device for preventing false touch of sliding cover operation and intelligent equipment
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for preventing a wrong touch during a sliding cover operation, and an intelligent device.
Background
In the related art, a slide-type electronic device (e.g., a slider phone) may be erroneously triggered by an operation (e.g., calling out a front camera or starting other functional modules) corresponding to a slide due to a proximity of a magnetic object, and the like, so that system power consumption may be increased and user experience may be reduced.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method and an apparatus for preventing a wrong touch during a sliding operation, and an intelligent device, so as to solve the defects in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for preventing a wrong touch of a sliding cover, which is applied to an electronic device having the sliding cover, the method including:
if the trigger condition of the sliding cover operation is determined to be met, detecting screen touch information of the electronic equipment;
and determining whether to execute a sliding cover operation based on the detection result of the screen touch information, wherein the sliding cover operation comprises a setting operation corresponding to the sliding of the sliding cover from a first setting position to a second setting position.
In an embodiment, the determining whether to perform a slider operation based on the detection result of the screen touch information includes:
and if the detection result represents that the screen touch information accords with the finger touch characteristic, the sliding cover operation is allowed to be triggered.
In an embodiment, the determining whether to perform a slider operation based on the detection result of the screen touch information includes:
and if the detection result represents that the screen touch information is not detected or does not accord with the finger touch characteristic, forbidding to trigger the sliding cover operation.
In one embodiment, a hall chip is arranged inside the electronic device;
the trigger condition for satisfying the sliding closure operation comprises the following steps:
receiving set level information, wherein the set level information is output level information when Hall voltage meets a set voltage condition, and the Hall voltage comprises voltage generated when a charged conductor in a Hall chip approaches to a magnetic object.
In one embodiment, the hall voltage satisfies a set voltage condition, including:
the Hall voltage is greater than or equal to a first set threshold value, or the Hall voltage is less than or equal to a second set threshold value.
According to a second aspect of the embodiments of the present disclosure, there is provided a device for preventing accidental touch of a sliding cover, applied to an electronic device having the sliding cover, the device including:
the touch information detection module is used for detecting screen touch information of the electronic equipment when the touch information detection module determines that the trigger condition of the sliding cover operation is met;
and the sliding cover operation execution module is used for determining whether to execute sliding cover operation or not based on the detection result of the screen touch information, wherein the sliding cover operation comprises the setting operation corresponding to the sliding of the sliding cover from a first setting position to a second setting position or the return of the sliding cover from the second setting position to the first setting position.
In one embodiment, the sliding cover operation executing module includes:
and the operation permission execution unit is used for permitting to trigger the sliding cover operation when the detection result represents that the screen touch information accords with the finger touch characteristic.
In one embodiment, the sliding cover operation executing module includes:
and the operation forbidding execution unit is used for forbidding to trigger the sliding cover operation when the detection result represents that the screen touch information is not detected or the screen touch information does not accord with the finger touch characteristic.
In one embodiment, a hall chip is arranged inside the electronic device;
the trigger condition for satisfying the sliding closure operation comprises the following steps:
receiving set level information, wherein the set level information is output level information when Hall voltage meets a set voltage condition, and the Hall voltage comprises voltage generated when a charged conductor in a Hall chip approaches to a magnetic object.
In one embodiment, the hall voltage satisfies a set voltage condition, including:
the Hall voltage is greater than or equal to a first set threshold value, or the Hall voltage is less than or equal to a second set threshold value.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device having a slide cover, including:
a processor, a slider, and a memory for storing processor-executable instructions;
wherein the processor is configured to:
if the trigger condition of the sliding closure operation is determined to be met, detecting screen touch information of the electronic equipment;
and determining whether to execute a sliding cover operation based on the detection result of the screen touch information, wherein the sliding cover operation comprises a setting operation corresponding to the sliding cover sliding from a first setting position to a second setting position or returning from the second setting position to the first setting position.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
if the trigger condition of the sliding cover operation is determined to be met, detecting screen touch information of the electronic equipment;
and determining whether to execute a sliding cover operation based on the detection result of the screen touch information, wherein the sliding cover operation comprises a setting operation corresponding to the sliding of the sliding cover from a first setting position to a second setting position.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method comprises the steps of detecting screen touch information of the electronic equipment when the trigger condition of sliding cover operation is determined to be met, and determining whether to execute sliding cover operation or not based on the detection result of the screen touch information, wherein the sliding cover operation comprises setting operation corresponding to sliding of the sliding cover from a first setting position to a second setting position. Because the sliding cover operation is not directly executed when the trigger condition of the sliding cover operation is determined to be met, but whether the sliding cover operation is executed or not is determined based on the detection result of the screen touch information, the condition of mistaken touch caused by executing the sliding cover operation only based on the trigger condition of the sliding cover operation can be avoided, the accuracy of triggering the sliding cover operation can be improved, the power consumption of the equipment can be saved, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
FIG. 1A is a flow chart illustrating a method of preventing false touches by a slider in accordance with a first exemplary embodiment;
fig. 1B is a schematic diagram illustrating an application scenario of preventing false touch during operation of a sliding cover according to an embodiment;
FIG. 2A is a flow chart illustrating a method of preventing false touches by a slider in accordance with a second exemplary embodiment;
FIG. 2B is a diagram of touch Diff, shown in an exemplary embodiment;
FIG. 2C is a schematic diagram of a touch finger ID and finger pressing area in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of preventing inadvertent contact of a slider in operation according to a third exemplary embodiment;
FIG. 4 is a block diagram illustrating a slide operated anti-false touch device according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating another sliding cover operated anti-false touch device in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating a smart device in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the exemplary embodiments below do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
FIG. 1A is a flow chart illustrating a method of preventing inadvertent touch of a slider operation according to a first exemplary embodiment; the method for preventing the false touch during the operation of the sliding cover can be applied to the electronic equipment with the sliding cover. As shown in fig. 1A, the method for preventing a wrong touch of a sliding cover operation includes the following steps S101 to S102:
in step S101: and if the trigger condition of the sliding cover operation is determined to be met, detecting screen touch information of the electronic equipment.
In this embodiment, the electronic device may determine whether the trigger condition of the sliding cover operation is currently satisfied, and then may detect the screen touch information of the electronic device when the trigger condition is determined to be satisfied.
In an embodiment, the electronic device may acquire, in real time, related information for triggering the sliding cover operation through a preset sensor, and then may determine whether a trigger condition for the sliding cover operation is satisfied based on the related information.
For example, after the electronic device is started, relevant information for triggering the sliding cover operation may be collected through a preset sensor, and if the information is collected, it may be determined that the triggering condition of the sliding cover operation is currently satisfied.
It should be noted that the trigger condition for the operation of the sliding cover may be freely set based on actual needs, which is not limited in this embodiment.
In another embodiment, the manner of determining whether the trigger condition for the operation of the slider is satisfied may also be referred to the embodiment shown in fig. 3, which will not be described in detail.
In step S102: and determining whether to execute sliding closure operation based on the detection result of the screen touch information.
In this embodiment, after the screen touch information of the electronic device is detected, whether to execute the sliding cover operation may be determined based on a detection result of the screen touch information.
The sliding cover operation comprises a setting operation corresponding to the sliding cover sliding from a first setting position to a second setting position or returning from the second setting position to the first setting position.
It should be noted that the setting operation may be set by a developer or a user according to the needs of the developer or the user, and this embodiment does not limit this.
For example, fig. 1B is a schematic diagram illustrating an application scenario of preventing false touch during operation of a sliding cover according to an embodiment; as shown in fig. 1B, after detecting the screen touch information of the electronic device with the sliding cover 001, if it is determined to execute the sliding cover operation based on the detection result of the screen touch information, the sliding cover operation, such as calling the front camera 002 or jumping to a specified application APP, may be executed.
It can be understood that, after the screen touch information of the electronic device is detected, the detection result can be obtained, and then whether to execute the preset sliding cover operation can be determined based on the content of the different detection results, because the sliding cover operation is not directly executed when the trigger condition of the sliding cover operation is determined to be satisfied, the situation of mistaken touch caused by executing the sliding cover operation based on the trigger condition of the sliding cover operation can be avoided, and the accuracy of triggering the sliding cover operation is improved by combining the trigger condition of the sliding cover operation and the detection result of the screen touch information.
In another embodiment, a manner of determining whether to execute the sliding cover operation based on the detection result of the screen touch information may also be referred to the following embodiment shown in fig. 2A, which will not be described in detail herein.
As can be seen from the above description, in this embodiment, when it is determined that the trigger condition of the sliding cover operation is satisfied, the screen touch information of the electronic device is detected, and whether to execute the sliding cover operation is determined based on the detection result of the screen touch information, where the sliding cover operation includes a setting operation corresponding to whether the sliding cover slides from the first setting position to the second setting position or returns from the second setting position to the first setting position. The sliding cover operation is not directly executed when the trigger condition of the sliding cover operation is determined to be met, but whether the sliding cover operation is executed or not is determined based on the detection result of the screen touch information, so that the condition of mistaken touch caused by executing the sliding cover operation only based on the trigger condition of the sliding cover operation can be avoided, the accuracy of triggering the sliding cover operation can be improved, the power consumption of the equipment can be saved, and the user experience is improved.
FIG. 2A is a flow chart illustrating a method of preventing inadvertent touch of a slider in operation according to a second exemplary embodiment; the method for preventing the false touch during the operation of the sliding cover can be applied to the electronic equipment with the sliding cover. As shown in fig. 2A, the method for preventing a false touch of a slider operation includes the following steps S201 to S204:
in step S201: and if the trigger condition of the sliding cover operation is determined to be met, detecting screen touch information of the electronic equipment.
For the explanation and explanation of step S201, reference may be made to the above embodiments, which are not described herein again.
In step S202: whether screen touch information is not detected or whether the detected screen touch information does not conform to the finger touch characteristics: if yes, go to step S203; if not, go to step S204.
In step S203, the trigger of the slide operation is prohibited.
In step S204, the slider operation is allowed to be triggered.
The sliding cover operation comprises a setting operation corresponding to the sliding of the sliding cover from a first setting position to a second setting position or from the second setting position to the first setting position. For example, the first setting position may be a position where the slider of the mobile phone does not slide relative to the host, and the second setting position may be a position where the slider of the mobile phone slides relative to the host.
In this embodiment, when it is determined that the trigger condition of the sliding cover operation is satisfied, the screen touch information of the electronic device may be detected, and then it may be determined whether the screen touch information is detected, and if the screen touch information is detected, it may be further determined whether the screen touch information meets the finger touch characteristic. If the screen touch information is not detected or the detected screen touch information does not accord with the finger touch characteristics, prohibiting triggering the sliding cover operation; on the contrary, if the detected screen touch information conforms to the finger touch characteristics, the sliding cover operation can be allowed to be triggered.
In an embodiment, whether the screen touch information meets the finger touch characteristic may be determined based on a finger pressing area, a finger pressing duration, and the like.
For example, FIG. 2B is a diagram illustrating touch Diff in an exemplary embodiment; fig. 2C is a schematic diagram of a touch finger ID and a finger pressing area according to an exemplary embodiment. As shown in fig. 2B, if the touch Diff of a node on the screen is greater than the touch threshold TP _ TH (e.g., 50), it may be considered that the node has a finger pressed, and further, based on each currently pressed node, information such as a corresponding finger pressing area and a finger pressing duration may be counted. As shown in fig. 2C, the pressing area of the finger ID0 is 8, and the pressing area of the finger ID1 is 13. In this embodiment, after the screen touch information is detected, whether the screen touch information meets the finger touch characteristic may be determined based on a set pressing area threshold (or range) and a pressing duration threshold.
As can be seen from the above description, in this embodiment, when it is determined that the detection result indicates that the screen touch information conforms to the finger touch characteristic, the sliding cover operation is allowed to be triggered, and when it is determined that the detection result indicates that the screen touch information is not detected or the screen touch information does not conform to the finger touch characteristic, the sliding cover operation is prohibited from being triggered, so that it can be accurately determined whether to execute the sliding cover operation based on the detection result of the screen touch information.
FIG. 3 is a flow chart illustrating a method of preventing inadvertent contact of a slider in operation according to a third exemplary embodiment; the method for preventing the false touch during the operation of the sliding cover can be applied to the electronic equipment with the sliding cover. As shown in fig. 3, the method for preventing false touch of the sliding cover operation comprises the following steps S301 to S302:
in step S301: and if the set level information is received, detecting screen touch information of the electronic equipment.
In this embodiment, a hall chip may be disposed inside the electronic device, and on this basis, the set level information may be level information output when a hall voltage satisfies a set voltage condition, and the hall voltage may include a voltage generated when a charged conductor inside the hall chip approaches a magnetic object.
In an embodiment, the hall voltage satisfying the set voltage condition may include: the Hall voltage is greater than or equal to a first set threshold value, or the Hall voltage is less than or equal to a second set threshold value.
For example, the slider type electronic device is implemented based on a Hall Sensor (Hall Sensor). Specifically, the basic principle of the Hall sensor is the Hall effect, a Hall chip and a small magnet are built in the electronic device, and a live conductor is arranged inside the Hall chip. When a magnet is close to the magnet, a hall voltage is formed based on the hall principle. Usually, a comparator is also integrated inside the hall chip for comparing the formed hall voltage with a set threshold. Further, when the hall voltage is higher than a certain set threshold or lower than a certain threshold, a set level information may be output by the output pin to the Cpu of the electronic device, so that the Cpu may detect the approach and the separation of the magnet. When the hall voltage is higher than a certain set threshold value, a high level can be output, and then the Cpu can detect the approach of the magnet; when the hall voltage is lower than a certain threshold, a low level can be output, and further, the Cpu can detect the magnet to be far away.
On this basis, the slider electronic device in the related art can implement slider detection by the above principle: when the sliding cover slides to a set position, the magnet measured by the sliding cover approaches to the built-in hall chip and generates a specific hall voltage, and the Cpu of the electronic device can detect the change of the voltage, so that sliding cover operation corresponding to the sliding of the sliding cover is executed, such as opening a front camera and the like.
In this embodiment, in order to solve the problem that the operation corresponding to the sliding cover is triggered by mistake due to the fact that the sliding cover type electronic device is close to a magnetic object, after receiving the set level information, the sliding cover operation is not directly executed when the trigger condition of the sliding cover operation is met, but the screen touch information of the electronic device is continuously detected, so that when the screen touch information is detected and meets the finger touch characteristic, the sliding cover operation is allowed to be triggered; and when the screen touch information is not detected or the detected screen touch information does not conform to the finger touch characteristics, the sliding cover operation is forbidden to be triggered, so that whether the sliding cover operation is executed or not can be determined by combining whether the set level information is received or not and the detection result of the screen touch information, therefore, the accuracy of triggering the sliding cover operation can be improved, the power consumption of the equipment can be saved, and the user experience is improved.
In step S302: and determining whether to execute a sliding cover operation based on the detection result of the screen touch information, wherein the sliding cover operation comprises a setting operation corresponding to the sliding of the sliding cover from a first setting position to a second setting position or from the second setting position to the first setting position.
For the explanation and explanation of step S302, reference may be made to the above embodiments, which are not described herein again.
As can be seen from the above description, in this embodiment, when the set level information is received, the screen touch information of the electronic device is detected, and then whether to execute the sliding cover operation is determined based on the detection result of the screen touch information, and whether to execute the sliding cover operation can be determined by combining the detection result of whether to receive the set level information and the detection result of the screen touch information, so that the accuracy of triggering the sliding cover operation can be improved, the power consumption of the device can be saved, and the user experience can be improved.
FIG. 4 is a block diagram illustrating a sliding cover operated anti-false touch device according to an exemplary embodiment; the device is applied to the electronic equipment with the sliding cover. As shown in fig. 4, the apparatus includes: a touch information detection module 110 and a slide operation execution module 120, wherein:
the touch information detection module 110 is configured to detect screen touch information of the electronic device when it is determined that a trigger condition of a slider operation is satisfied;
the sliding cover operation executing module 120 is configured to determine whether to execute a sliding cover operation based on the detection result of the screen touch information, where the sliding cover operation includes a setting operation corresponding to whether the sliding cover slides from a first setting position to a second setting position or returns from the second setting position to the first setting position.
As can be seen from the above description, in this embodiment, when it is determined that the trigger condition of the sliding cover operation is satisfied, the screen touch information of the electronic device is detected, and whether to execute the sliding cover operation is determined based on the detection result of the screen touch information, where the sliding cover operation includes a setting operation corresponding to whether the sliding cover slides from the first setting position to the second setting position or returns from the second setting position to the first setting position. The sliding cover operation is not directly executed when the trigger condition of the sliding cover operation is determined to be met, but whether the sliding cover operation is executed or not is determined based on the detection result of the screen touch information, so that the condition of mistaken touch caused by executing the sliding cover operation only based on the trigger condition of the sliding cover operation can be avoided, the accuracy of triggering the sliding cover operation can be improved, the power consumption of the equipment can be saved, and the user experience is improved.
FIG. 5 is a block diagram illustrating another sliding cover operated anti-false touch device in accordance with an exemplary embodiment; the touch information detection module 210 and the sliding operation execution module 220 have the same functions as the touch information detection module 110 and the sliding operation execution module 120 in the embodiment shown in fig. 4, and are not described herein again. As shown in fig. 5, the sliding cover operation performing module 220 may include:
and an operation permission execution unit 221, configured to allow triggering of a slider operation when the detection result indicates that the screen touch information conforms to the finger touch characteristic.
In an embodiment, the sliding cover operation executing module 220 may further include:
an operation prohibiting execution unit 222, configured to prohibit triggering of the slider operation when the detection result indicates that the screen touch information is not detected or the screen touch information does not conform to the finger touch characteristic.
In one embodiment, a hall chip is arranged inside the electronic device;
the satisfying of the trigger condition for the sliding closure operation may include:
receiving set level information, wherein the set level information is output level information when Hall voltage meets a set voltage condition, and the Hall voltage comprises voltage generated when a charged conductor in a Hall chip approaches to a magnetic object.
In one embodiment, the hall voltage satisfying the set voltage condition may include:
the Hall voltage is greater than or equal to a first set threshold value, or the Hall voltage is less than or equal to a second set threshold value.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile and non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 906 provides power to the various components of the device 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia components 908 include a screen that provides an output interface between the device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 further includes a speaker for outputting audio signals.
The I/O interface 912 provides an interface between the processing component 902 and a peripheral interface module, which may be a keyboard, click wheel, button, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, sensor assembly 914 may detect an open/closed state of device 900, the relative positioning of components, such as a display and keypad of device 900, the change in position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration/deceleration of device 900, and the change in temperature of device 900. The sensor assembly 914 may also include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described anti-false touch method of the slider operation.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as memory 904 comprising instructions, executable by processor 920 of device 900 to perform the above-described anti-false touch method of slider operation is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for preventing false touch of sliding closure operation is characterized in that the method is applied to electronic equipment with a sliding closure, and a Hall chip is arranged in the electronic equipment;
the method comprises the following steps:
if the trigger condition of the sliding cover operation is determined to be met, detecting screen touch information of the electronic equipment;
determining whether to execute a sliding cover operation based on the detection result of the screen touch information, wherein the sliding cover operation comprises a setting operation corresponding to the sliding of the sliding cover from a first setting position to a second setting position or from the second setting position to the first setting position;
the trigger condition for satisfying the sliding closure operation comprises the following steps:
receiving set level information, wherein the set level information is output level information when Hall voltage meets a set voltage condition, and the Hall voltage comprises voltage generated when a charged conductor in a Hall chip approaches to a magnetic object.
2. The method of claim 1, wherein the determining whether to perform a slider operation based on the detection result of the screen touch information comprises:
and if the detection result represents that the screen touch information accords with the finger touch characteristic, allowing the sliding cover operation to be triggered.
3. The method of claim 1, wherein the determining whether to perform a slider operation based on the detection result of the screen touch information comprises:
and if the detection result represents that the screen touch information is not detected or the screen touch information does not accord with the finger touch characteristic, forbidding triggering sliding closure operation.
4. The method of claim 1, wherein the hall voltage satisfies a set voltage condition comprising:
the Hall voltage is greater than or equal to a first set threshold value, or the Hall voltage is less than or equal to a second set threshold value.
5. A device for preventing false touch of sliding closure operation is characterized in that the device is applied to electronic equipment with a sliding closure, and a Hall chip is arranged in the electronic equipment;
the device comprises:
the touch information detection module is used for detecting screen touch information of the electronic equipment when the trigger condition of sliding cover operation is determined to be met;
the sliding cover operation execution module is used for determining whether to execute sliding cover operation based on the detection result of the screen touch information, wherein the sliding cover operation comprises the setting operation corresponding to the sliding cover sliding from a first setting position to a second setting position or returning from the second setting position to the first setting position;
the trigger condition for satisfying the sliding closure operation comprises the following steps:
receiving set level information, wherein the set level information is output level information when Hall voltage meets a set voltage condition, and the Hall voltage comprises voltage generated when a charged conductor in a Hall chip approaches to a magnetic object.
6. The apparatus of claim 5, wherein the slide operation performing module comprises:
and the operation permission execution unit is used for permitting to trigger the sliding cover operation when the detection result represents that the screen touch information accords with the finger touch characteristic.
7. The apparatus of claim 5, wherein the slider operation performing module comprises:
and the operation forbidding execution unit is used for forbidding to trigger the sliding cover operation when the detection result represents that the screen touch information is not detected or the screen touch information does not accord with the finger touch characteristic.
8. The apparatus of claim 5, wherein the Hall voltage satisfies a set voltage condition comprising:
the Hall voltage is greater than or equal to a first set threshold value, or the Hall voltage is less than or equal to a second set threshold value.
9. An electronic device with a sliding cover is characterized in that a Hall chip is arranged inside the electronic device;
the electronic device includes:
a processor, a slider, and a memory for storing processor-executable instructions;
wherein the processor is configured to:
if the trigger condition of the sliding closure operation is determined to be met, detecting screen touch information of the electronic equipment;
determining whether to execute a sliding cover operation based on the detection result of the screen touch information, wherein the sliding cover operation comprises a setting operation corresponding to the sliding of the sliding cover from a first setting position to a second setting position or from the second setting position to the first setting position;
the trigger condition for satisfying the sliding closure operation comprises the following steps:
receiving set level information, wherein the set level information is output level information when Hall voltage meets a set voltage condition, and the Hall voltage comprises voltage generated when a charged conductor in a Hall chip approaches to a magnetic object.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor of an electronic device having a slider and a hall chip disposed therein, implementing the steps of:
if the trigger condition of the sliding closure operation is determined to be met, detecting screen touch information of the electronic equipment;
determining whether to execute a sliding cover operation based on the detection result of the screen touch information, wherein the sliding cover operation comprises a setting operation corresponding to the sliding of the sliding cover from a first setting position to a second setting position or from the second setting position to the first setting position;
the trigger condition for satisfying the sliding closure operation comprises the following steps:
receiving set level information, wherein the set level information is output level information when Hall voltage meets a set voltage condition, and the Hall voltage comprises voltage generated when a charged conductor in a Hall chip approaches to a magnetic object.
CN202010009861.1A 2020-01-06 2020-01-06 Method and device for preventing false touch of sliding cover operation and intelligent equipment Active CN113079255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010009861.1A CN113079255B (en) 2020-01-06 2020-01-06 Method and device for preventing false touch of sliding cover operation and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010009861.1A CN113079255B (en) 2020-01-06 2020-01-06 Method and device for preventing false touch of sliding cover operation and intelligent equipment

Publications (2)

Publication Number Publication Date
CN113079255A CN113079255A (en) 2021-07-06
CN113079255B true CN113079255B (en) 2022-07-22

Family

ID=76608839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010009861.1A Active CN113079255B (en) 2020-01-06 2020-01-06 Method and device for preventing false touch of sliding cover operation and intelligent equipment

Country Status (1)

Country Link
CN (1) CN113079255B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213419A (en) * 2018-10-19 2019-01-15 北京小米移动软件有限公司 touch operation processing method, device and storage medium
CN109343779A (en) * 2018-10-19 2019-02-15 北京小米移动软件有限公司 Show the method and device of application information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213419A (en) * 2018-10-19 2019-01-15 北京小米移动软件有限公司 touch operation processing method, device and storage medium
CN109343779A (en) * 2018-10-19 2019-02-15 北京小米移动软件有限公司 Show the method and device of application information

Also Published As

Publication number Publication date
CN113079255A (en) 2021-07-06

Similar Documents

Publication Publication Date Title
US9860844B2 (en) Method and apparatus of temperature control
US10409684B2 (en) Method, device and storage medium for cleaning memory
CN106339168B (en) Screen control method and device
EP3252638A1 (en) Method and device for implementing fingerprint unlocking and electronic equipment
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
CN106357934B (en) Screen locking control method and device
US10318069B2 (en) Method for controlling state of touch screen, and electronic device and medium for implementing the same
CN107562349B (en) Method and device for executing processing
EP3232301A1 (en) Mobile terminal and virtual key processing method
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
CN111104001B (en) Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium
CN107656616B (en) Input interface display method and device and electronic equipment
CN112148148A (en) Touch operation identification method and device, mobile terminal and storage medium
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN113079255B (en) Method and device for preventing false touch of sliding cover operation and intelligent equipment
CN106990893B (en) Touch screen operation processing method and device
CN112965653B (en) Touch position reporting method and device and electronic equipment
CN107526683B (en) Method and device for detecting functional redundancy of application program and storage medium
CN108989457B (en) Information processing method, server and terminal
CN107621990B (en) Control method and device of terminal key and terminal
CN106843691B (en) Operation control method and device of mobile terminal
CN114724196A (en) False touch prevention method and device, electronic equipment and storage medium
CN112187326A (en) Antenna control method, device, equipment and storage medium
CN115695650B (en) Indoor and outdoor scene switching identification method, device, equipment and storage medium
CN110928595A (en) Permission operation method and device

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
GR01 Patent grant
GR01 Patent grant