WO2017201891A1 - 控制触控屏状态的方法及装置、电子设备 - Google Patents

控制触控屏状态的方法及装置、电子设备 Download PDF

Info

Publication number
WO2017201891A1
WO2017201891A1 PCT/CN2016/095645 CN2016095645W WO2017201891A1 WO 2017201891 A1 WO2017201891 A1 WO 2017201891A1 CN 2016095645 W CN2016095645 W CN 2016095645W WO 2017201891 A1 WO2017201891 A1 WO 2017201891A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
preset threshold
touch screen
state
reaches
Prior art date
Application number
PCT/CN2016/095645
Other languages
English (en)
French (fr)
Inventor
江忠胜
熊达蔚
刘丹
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Publication of WO2017201891A1 publication Critical patent/WO2017201891A1/zh

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
    • 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
    • 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/046Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by electromagnetic means
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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/041012.5D-digitiser, i.e. digitiser detecting the X/Y position of the input means, finger or stylus, also when it does not touch, but is proximate to the digitiser's interaction surface and also measures the distance of the input means within a short range in the Z direction, possibly with a separate measurement setup
    • 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/04108Touchless 2D- digitiser, i.e. digitiser detecting the X/Y position of the input means, finger or stylus, also when it does not touch, but is proximate to the digitiser's interaction surface without distance measurement in the Z direction

Definitions

  • the present disclosure relates to the field of terminal technologies, and in particular, to a method and apparatus for controlling a state of a touch screen, and an electronic device.
  • the related art senses the distance through the proximity sensor of the touch screen to prevent the touch screen from being touched.
  • the proximity sensor contacts the surface of the pocket or the handbag, thereby triggering the corresponding
  • the anti-missing function causes the smartphone to be unstable when implementing the anti-missing function.
  • the embodiments of the present disclosure provide a method and apparatus for controlling the state of a touch screen, and an electronic device for ensuring stability when the electronic device maintains the first preset state.
  • a method for controlling a state of a touch screen including:
  • the touch screen is controlled to switch from the current state to the first preset state.
  • the first set of preset thresholds includes a first preset threshold and a second preset threshold
  • the sensing information includes a suspended object sensed by the touch screen on the touch screen.
  • a sensing signal strength of the suspended object detected by the sensing area and the proximity sensor on the touch screen, and determining whether the sensing information of the floating object reaches the first set of preset thresholds includes:
  • the sensing area reaches the first preset threshold and/or the sensing signal strength reaches the second preset threshold, determining that the sensing information of the proximity sensor reaches a first set of preset thresholds;
  • the sensing area does not reach the first preset threshold and the sensing signal strength does not reach the second preset threshold, determining that the sensing information of the proximity sensor does not reach the first group preset threshold.
  • the method may further include:
  • the touch screen is controlled to be switched from the first preset state to the second preset state
  • the touch screen is controlled to continue to maintain the first preset state.
  • the second set of preset thresholds includes a third preset threshold and a fourth preset threshold
  • the sensing information includes a sensing area of the suspended object on the touch screen sensed by the touch screen. And determining, by the proximity sensor, the intensity of the induced signal on the touch screen, and determining whether the sensing information reaches a second set of preset thresholds, including:
  • the sensing area reaches the third preset threshold and/or the sensing signal strength reaches the fourth preset threshold, determining that the sensing information of the proximity sensor reaches a second set of preset thresholds;
  • the sensing area does not reach the third preset threshold and the sensing signal strength does not reach the fourth preset threshold, determining that the sensing information of the proximity sensor does not reach the second group preset threshold.
  • the first preset state is a polyscreen state and the second preset state is a bright screen state.
  • an apparatus for controlling a state of a touch screen includes:
  • the detecting module is configured to detect whether the touch screen is in a first preset state
  • the first determining module is configured to: when the detecting module detects that the touch screen is not in the first preset state, determine whether the sensing information of the floating object reaches a first group preset threshold;
  • the first control module is configured to control the touch screen to switch from the current state to the first preset state when the first determining module determines that the sensing information reaches the first group of preset thresholds.
  • the first set of preset thresholds includes a first preset threshold and a second preset threshold
  • the sensing information includes a suspended object sensed by the touch screen on the touch screen.
  • the sensing area strength of the suspended object sensed by the sensing area and the proximity sensor on the touch screen, the first determining module includes:
  • the first determining sub-module is configured to determine whether the sensing area reaches the first preset threshold and determine whether the sensing signal strength reaches the second preset threshold;
  • a second determining submodule configured to: when the first determining submodule determines that the sensing area reaches the first preset When the threshold and/or the induced signal strength reaches the second preset threshold, determining that the sensing information of the proximity sensor reaches a first set of preset thresholds;
  • a third determining submodule configured to determine the near when the first determining submodule determines that the sensing area does not reach the first preset threshold and the sensing signal strength does not reach the second preset threshold The sensing information of the distance sensor does not reach the first set of preset thresholds.
  • the apparatus further includes:
  • the second determining module is configured to: after the first control module controls the touch screen to switch to the first preset state, determine whether the sensing information reaches a second set of preset thresholds;
  • the second control module is configured to control the touch screen to switch from the first preset state to the second when the second determining module determines that the sensing information does not reach the second group preset threshold Default state
  • the third control module is configured to control the touch screen to continue to maintain the first preset state when the second determining module determines that the sensing information reaches the second group preset threshold.
  • the second set of preset thresholds includes a third preset threshold and a fourth preset threshold
  • the sensing information includes a sensing area of the suspended object sensed by the touch screen on the touch screen.
  • the sensing signal strength of the suspended object on the touch screen sensed by the proximity sensor the second determining module comprising:
  • the fourth determining sub-module is configured to determine whether the sensing area reaches the third preset threshold and determine whether the sensing signal strength reaches the fourth preset threshold;
  • the fifth determining submodule is configured to determine the near when the fourth determining submodule determines that the sensing area reaches the third preset threshold and/or the sensing signal strength reaches the fourth preset threshold
  • the sensing information of the distance sensor reaches a second set of preset thresholds
  • the sixth determining submodule is configured to determine that when the fourth determining submodule determines that the sensing area does not reach the third preset threshold and the sensing signal strength does not reach the fourth preset threshold The sensing information of the distance sensor does not reach the second set of preset thresholds.
  • the first preset state is a polyscreen state and the second preset state is a bright screen state.
  • an electronic device including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the touch screen is controlled to switch from the current state to the first preset state.
  • the touch screen When the touch screen is not in the first preset state and the sensing information of the floating object reaches the first group preset threshold, the touch screen is controlled to switch from the current state to the first preset state, thereby preventing the user from shaking the electronic device.
  • the sensing information changes within a range greater than the first set of preset thresholds, the touch screen can still maintain the first preset state, ensuring stability when the electronic device maintains the first preset state.
  • FIG. 1A is a flowchart illustrating a method of controlling a state of a touch screen, according to an exemplary embodiment.
  • FIG. 1B is a scene diagram of a method of controlling a state of a touch screen, according to an exemplary embodiment.
  • FIG. 2 is a flow chart of a method of controlling a state of a touch screen, according to an exemplary embodiment.
  • FIG. 3 is a flowchart of a method of controlling a state of a touch screen, according to an exemplary embodiment.
  • FIG. 4 is a block diagram of an apparatus for controlling a state of a touch screen, according to an exemplary embodiment.
  • FIG. 5 is a block diagram of another apparatus for controlling a state of a touch screen, according to an exemplary embodiment.
  • FIG. 6 is a block diagram of still another apparatus for controlling a state of a touch screen, according to an exemplary embodiment.
  • FIG. 7 is a block diagram of an apparatus suitable for controlling a state of a touch screen, according to an exemplary embodiment.
  • FIG. 1A is a flowchart of a method for controlling a state of a touch screen according to an exemplary embodiment
  • FIG. 1B is a scene diagram for controlling a state of a touch screen according to an exemplary embodiment
  • the method can be applied to an electronic device (for example, a device with a touch function such as a smart phone or a tablet computer).
  • the method for controlling the state of the touch screen includes the following steps S101-S103:
  • step S101 it is detected whether the touch screen is in the first preset state.
  • step 102 is performed.
  • the touch screen is in the first preset state, the following may be performed. The method flow of the embodiment shown in FIG. 3 will not be described in detail herein.
  • step S102 when the touch screen is not in the first preset state, it is determined whether the sensing information of the floating object reaches the first group preset threshold. When the sensing information reaches the first group preset threshold, step 103 is performed. When the sensing information does not reach the first set of preset thresholds, the sensing information continues to be monitored.
  • step S103 when the sensing information reaches the first group preset threshold, the touch screen is controlled to switch from the current state to the first preset state.
  • the first preset state may be the state of the touch screen of the touch screen
  • the operating system of the electronic device may be used to detect whether the touch screen is in the state of the interest screen, and the electronic device may be in defense.
  • the touch screen is controlled to enter the information state.
  • the sensing information of the suspended object may include a sensing area between the suspended object and the touch screen sensed by the touch screen, and the suspended object sensed by the proximity sensor is in the touch
  • the intensity of the sensing signal on the screen, wherein the contact surface between the suspended object and the touch screen is connected, the larger the sensing area is, the smaller the distance between the floating object and the touch screen is, and the stronger the sensing signal strength is.
  • the first set of preset thresholds may include a first preset threshold corresponding to the sensing area and a second preset threshold corresponding to the induced signal strength.
  • the suspended object 11 (which may be the user's face at this time)
  • the touch screen 10 senses the sensing area of the suspended object 11 on the touch screen 10.
  • the proximity sensor of the electronic device detects the intensity of the sensing signal of the suspended object on the touch screen 10.
  • the sensing area reaches its corresponding preset threshold and the sensing signal strength reaches its corresponding preset threshold, the touch screen 10 is controlled. Switching from the current bright screen state to the interest screen state can ensure that the touch screen is prevented from being accidentally touched during the call, and that the touch screen remains in the first preset state.
  • the touch screen when the touch screen is not in the first preset state and the sensing information of the floating object reaches the first group preset threshold, the touch screen is controlled to switch from the current state to the first preset state, thereby avoiding
  • the touch screen can still maintain the first preset state, ensuring stability of the electronic device when maintaining the first preset state, and improving The user experience.
  • the first set of preset thresholds includes a first preset threshold and a second preset threshold
  • the sensing information includes a sensing area of the suspended object sensed by the touch screen on the touch screen and a proximity sensor sensed The intensity of the induced signal of the suspended object on the touch screen determines whether the sensing information of the suspended object reaches the first set of preset thresholds, including:
  • the sensing area reaches the first preset threshold and/or the sensing signal strength reaches the second preset threshold, determining that the sensing information of the proximity sensor reaches the first set of preset thresholds;
  • the sensing area does not reach the first preset threshold and the sensing signal strength does not reach the second preset threshold, it is determined that the sensing information of the proximity sensor does not reach the first group preset threshold.
  • the method may further include:
  • the touch screen is controlled to switch from the first preset state to the second preset state
  • the touch screen is controlled to continue to maintain the first preset state.
  • the second set of preset thresholds includes a third preset threshold and a fourth preset threshold
  • the sensing information includes a sensing area of the suspended object sensed by the touch screen on the touch screen and a proximity sensor sensed The intensity of the induced signal on the touch screen of the suspended object determines whether the sensing information reaches the second set of preset thresholds, including:
  • the sensing area reaches the third preset threshold and/or the sensing signal strength reaches the fourth preset threshold, determining that the sensing information of the proximity sensor reaches the second set of preset thresholds;
  • the sensing area does not reach the third preset threshold and the sensing signal strength does not reach the fourth preset threshold, it is determined that the sensing information of the proximity sensor does not reach the second group preset threshold.
  • the first preset state is a polyscreen state and the second preset state is a bright screen state.
  • the above-mentioned method provided by the embodiment of the present disclosure prevents the touch screen from remaining in the first preset state when the user shakes the electronic device to cause the sensing information to change within a range greater than the first set of preset thresholds, thereby ensuring that the electronic device remains. Stability in the first preset state.
  • the first step of the first preset threshold is included in the first set of preset thresholds.
  • the sensing information includes the sensing area of the suspended object sensed by the touch screen on the touch screen and the sensing signal strength detected by the proximity sensor on the touch screen. As shown in Figure 2, the following steps are included:
  • step S201 it is detected whether the touch screen is in the first preset state.
  • step 202 is performed.
  • the touch screen is in the first preset state, the following diagram is adopted. The method flow of the illustrated embodiment detects the state of the touch screen.
  • step S202 when the touch screen is not in the first preset state, it is determined whether the sensing area reaches the first preset threshold and whether the sensing signal strength reaches the second preset threshold, when the sensing area does not reach the first preset.
  • step S203 is performed.
  • step S205 is performed.
  • step S203 when the sensing area does not reach the first preset threshold and the sensing signal strength does not reach the second preset threshold, it is determined that the sensing information of the proximity sensor does not reach the first group preset threshold.
  • step S204 when the sensing information does not reach the first group preset threshold, the touch screen is controlled to continue to maintain the current state.
  • step S205 when the sensing area reaches the first preset threshold and/or the sensing signal strength reaches the second preset threshold, it is determined that the sensing information of the proximity sensor reaches the first group preset threshold.
  • step S206 the touch screen is controlled to switch from the first preset state to the second preset state, and the second preset state corresponds to the first preset state.
  • the related description of the sensing signal strength of the proximity sensor to sense the suspended object and the sensing area of the suspended object on the touch screen can be referred to the related art, and the disclosure will not be described in detail.
  • the first preset threshold and the second preset threshold may be set according to the sensitivity of the proximity sensor and the touch screen, and the disclosure does not perform specific values of the first preset threshold and the second preset threshold. limit.
  • the first set of preset thresholds is used to control the touch screen to be in a first preset state, and the sensing area and the proximity sensor sensed by the touch screen are sensed.
  • the sensing signal strength changes within a range greater than the first set of preset thresholds, the touch screen remains in the first preset state, thereby preventing the touch screen from continuing in the first preset state and the second preset state. Switching back and forth ensures the stability of the touch screen in the first preset state.
  • FIG. 3 is a flowchart of a method for controlling a state of a touch screen according to an exemplary embodiment of the present invention.
  • This embodiment uses the above method provided by the embodiment of the present disclosure to control how the touch screen is in a first preset state.
  • the first set of preset thresholds is switched to the second set of preset thresholds, where the second set of preset thresholds includes a third preset threshold and a fourth preset threshold, and the sensing information includes the touch screen sensing
  • the sensing area of the suspended object on the touch screen and the intensity of the sensing signal of the suspended object sensed by the proximity sensor on the touch screen, as shown in FIG. 3, include the following steps:
  • step S301 when the touch screen is in the first preset state, determining whether the sensing area reaches a third preset threshold and determining whether the sensing signal strength reaches a fourth preset threshold, when the sensing area reaches a third preset threshold and If the sensing signal strength reaches the fourth preset threshold, step S302 is performed.
  • step S304 is performed.
  • step S302 when the sensing area does not reach the third preset threshold and/or the sensing signal strength does not reach the fourth preset threshold, it is determined that the sensing information does not reach the second group preset threshold.
  • step S303 the touch screen is controlled to switch from the first preset state to the second preset state.
  • step S304 when the sensing area reaches the third preset threshold and the sensing signal strength reaches the fourth preset threshold, the touch screen is controlled to continue to maintain the first preset state.
  • the third preset threshold may be smaller than the first preset threshold
  • the fourth preset threshold may be smaller than the second preset threshold
  • the third preset threshold and the fourth preset The threshold may be set according to the sensitivity of the proximity sensor and the touch screen. The disclosure does not limit the specific values of the third preset threshold and the fourth preset threshold.
  • the suspended object 11 is at the distance touch.
  • the floating object 11 (which may be the user's face at this time) is suspended on the touch screen 10 of the electronic device, and the touch screen 10 senses the suspended object 11 on the touch screen 10.
  • the sensing area of the electronic device detects the intensity of the sensing signal of the suspended object on the touch screen 10. When the sensing area and the sensing signal intensity reach the first preset threshold and the second preset threshold respectively, the touch is performed.
  • the screen enters the state of the information screen.
  • the sensing area of the touch screen becomes smaller or the intensity of the sensing signal decreases. If the sensing area does not reach the first preset threshold and the sensing If the signal strength does not reach the second preset threshold, the touch screen will switch from the screen state to the bright screen state, thereby causing the touch screen to switch back and forth between the black screen and the bright screen. In order to avoid such a situation, by determining whether the sensing area reaches a third preset threshold that is smaller than the first preset threshold and sensing whether the signal strength reaches a fourth threshold that is smaller than the second preset threshold, thereby The touch screen is controlled to remain in the state of the screen in this case.
  • the sensing area is compared with the first smaller third preset threshold, and the sensing signal strength is compared with a smaller fourth preset threshold.
  • the touch screen can still maintain the first preset state, thereby ensuring that the touch screen is maintained. The stability of the touch screen in the first preset state.
  • FIG. 4 is a block diagram of an apparatus for controlling a state of a touch screen according to an exemplary embodiment. As shown in FIG. 4, the apparatus for controlling the state of the touch screen includes:
  • the detecting module 41 is configured to detect whether the touch screen is in the first preset state
  • the first determining module 42 is configured to determine, when the detecting module 41 detects that the touch screen is not in the first preset state, whether the sensing information of the floating object reaches the first group preset threshold;
  • the first control module 43 is configured to control the touch screen to switch from the current state to the first preset state when the first determining module 42 determines that the sensing information reaches the first group of preset thresholds.
  • FIG. 5 is a block diagram of another apparatus for controlling a state of a touch screen, as shown in FIG. 5, according to an exemplary embodiment.
  • the first set of preset thresholds includes a first preset threshold and a second preset threshold
  • the sensing information includes a floating object sensed by the touch screen.
  • the sensing area on the control panel and the sensing signal strength of the suspended object on the touch screen sensed by the proximity sensor, the first determining module 42 may include:
  • the first determining sub-module 421 is configured to determine whether the sensing area reaches a first preset threshold and determine whether the sensing signal strength reaches a second preset threshold;
  • the second determining sub-module 422 is configured to determine that the sensing information of the proximity sensor reaches the first when the first determining sub-module 421 determines that the sensing area reaches the first preset threshold and/or the sensing signal strength reaches the second preset threshold.
  • Group preset threshold
  • the third determining sub-module 423 is configured to determine that the sensing information of the proximity sensor does not reach the first when the first determining sub-module 421 determines that the sensing area does not reach the first preset threshold and the sensing signal strength does not reach the second preset threshold.
  • FIG. 6 is a block diagram of still another apparatus for controlling the state of a touch screen according to an exemplary embodiment. As shown in FIG. 6, on the basis of the embodiment shown in FIG. 4 or FIG. 5, in an embodiment.
  • the device may further comprise:
  • the second determining module 44 is configured to determine, after the first control module 43 controls the touch screen to switch to the first preset state, whether the sensing information reaches the second set of preset thresholds;
  • the second control module 45 is configured to control the touch screen to switch from the first preset state to the second preset state when the second determining module 44 determines that the sensing information does not reach the second set of preset thresholds;
  • the third control module 46 is configured to control the touch screen to continue to maintain the first preset state when the second determining module 44 determines that the sensing information reaches the second set of preset thresholds.
  • the second set of preset thresholds includes a third preset threshold and a fourth preset threshold
  • the sensing information includes a sensing area of the suspended object sensed by the touch screen on the touch screen and a proximity sensor sensed
  • the sensing signal strength of the suspended object on the touch screen, the second determining module 44 may include:
  • the fourth determining sub-module 441 is configured to determine whether the sensing area reaches a third preset threshold and determine whether the sensing signal strength reaches a fourth preset threshold;
  • the fifth determining sub-module 442 is configured to determine that the sensing information of the proximity sensor reaches the second when the fourth determining sub-module 441 determines that the sensing area reaches the third preset threshold and/or the sensing signal strength reaches the fourth preset threshold.
  • the sixth determining sub-module 443 is configured to: when the fourth determining sub-module 441 determines that the sensing area does not reach the third preset threshold and the sensing signal strength does not reach the fourth preset threshold, determining that the sensing information of the proximity sensor does not reach the first Two sets of preset thresholds.
  • the first preset state is a polyscreen state and the second preset state is a bright screen state.
  • FIG. 7 is a block diagram of an apparatus suitable for controlling a state of a touch screen, according to an exemplary embodiment.
  • device 700 can be an electronic device such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 700 can include one or more of the following components: processing component 702, memory 704, power component 706, multimedia component 708, audio component 710, input/output (I/O) interface 712, sensor component 714, And a communication component 716.
  • Processing component 702 typically controls the overall operation of device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 702 can include one or more processors 720 to execute instructions to perform all or part of the steps described above.
  • processing component 702 can include one or more modules to facilitate interaction between component 702 and other components.
  • processing component 702 can include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
  • Memory 704 is configured to store various types of data to support operation at device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phone book data, messages, pictures, videos, and the like. Memory 704 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, 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, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 706 provides power to various components of device 700.
  • Power component 706 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 700.
  • the multimedia component 708 includes a screen between the device 700 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 708 includes a front camera and/or a rear camera. When the device 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 710 is configured to output and/or input an audio signal.
  • the audio component 710 includes a microphone (MIC) that is activated when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. Configured to receive external audio signals.
  • the received audio signal may be further stored in memory 704 or transmitted via communication component 716.
  • audio component 710 also includes a speaker for outputting an audio signal.
  • the I/O interface 712 provides an interface between the processing component 702 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 714 includes one or more sensors for providing device 700 with various aspects of status assessment.
  • sensor component 714 can detect an open/closed state of device 700, a relative positioning of components, such as the display and keypad of device 700, and sensor component 714 can also detect a change in position of one component of device 700 or device 700. The presence or absence of user contact with device 700, device 700 orientation or acceleration/deceleration, and temperature variation of device 700.
  • Sensor assembly 714 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor component 714 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 714 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 716 is configured to facilitate wired or wireless communication between device 700 and other devices.
  • the device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 716 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 716 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • apparatus 700 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 A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 704 comprising instructions executable by processor 720 of apparatus 700 to perform the above method.
  • 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, and an optical data storage device.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

一种控制触控屏状态的方法及装置、电子设备。所述方法包括:检测触控屏是否处于第一预设状态(S101);在所述触控屏未处于所述第一预设状态时,确定悬浮物体的感应信息是否达到第一组预设阈值(S102);当所述感应信息达到所述第一组预设阈值时,控制所述触控屏从当前状态切换至所述第一预设状态(S103)。上述技术方案可以避免用户抖动电子设备导致感应信息在大于第一组预设阈值的范围内发生变化时,触控屏仍可保持第一预设状态,确保电子设备保持第一预设状态时的稳定性。

Description

控制触控屏状态的方法及装置、电子设备
相关申请的交叉引用
本申请基于申请号为201610350384.9、申请日为2016年5月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及终端技术领域,尤其涉及一种控制触控屏状态的方法及装置、电子设备。
背景技术
相关技术通过触控屏的近距离传感器感应距离以防止触控屏的误触,当智能手机放在口袋或者手提包中时,近距离传感器会与口袋或者手提包的表面接触,从而会触发相应的防误触功能,导致智能手机在实现防误触功能时不稳定。
发明内容
为克服相关技术中存在的问题,本公开实施例提供一种控制触控屏状态的方法及装置、电子设备,用以确保电子设备保持第一预设状态时的稳定性。
根据本公开实施例的第一方面,提供一种控制触控屏状态的方法,包括:
检测触控屏是否处于第一预设状态;
在所述触控屏未处于所述第一预设状态时,确定悬浮物体的感应信息是否达到第一组预设阈值;
当所述感应信息达到所述第一组预设阈值时,控制所述触控屏从当前状态切换至所述第一预设状态。
在一实施例中,所述第一组预设阈值包括第一预设阈值和第二预设阈值,所述感应信息包括所述触控屏感应到的悬浮物体在所述触控屏上的感应面积和近距离传感器感应到的悬浮物体在所述触控屏上的感应信号强度,所述确定悬浮物体的感应信息是否达到第一组预设阈值,包括:
确定所述感应面积是否达到所述第一预设阈值以及确定所述感应信号强度是否达到所述第二预设阈值;
当所述感应面积达到所述第一预设阈值和/或所述感应信号强度达到所述第二预设阈值时,确定近距离传感器的感应信息达到第一组预设阈值;
当所述感应面积未达到所述第一预设阈值并且所述感应信号强度未达到所述第二预设阈值时,确定近距离传感器的感应信息未达到第一组预设阈值。
在一实施例中,所述方法还可包括:
在所述第一预设状态,确定所述感应信息是否达到第二组预设阈值;
当所述感应信息未达到所述第二组预设阈值时,控制所述触控屏从所述第一预设状态切换至第二预设状态;
当所述感应信息达到所述第二组预设阈值时,控制所述触控屏继续保持所述第一预设状态。
在一实施例中,第二组预设阈值包括第三预设阈值和第四预设阈值,所述感应信息包括所述触控屏感应到的所述悬浮物体在触控屏上的感应面积和近距离传感器感应到的所述悬浮物体在所述触控屏上的感应信号强度,所述确定所述感应信息是否达到第二组预设阈值,包括:
确定所述感应面积是否达到所述第三预设阈值以及确定所述感应信号强度是否达到所述第四预设阈值;
当所述感应面积达到所述第三预设阈值和/或所述感应信号强度达到所述第四预设阈值时,确定近距离传感器的感应信息达到第二组预设阈值;
当所述感应面积未达到所述第三预设阈值并且所述感应信号强度未达到所述第四预设阈值时,确定近距离传感器的感应信息未达到第二组预设阈值。
在一实施例中,所述第一预设状态为息屏状态并且所述第二预设状态为亮屏状态。
根据本公开实施例的第二方面,提供一种控制触控屏状态的装置,包括:
检测模块,被配置为检测触控屏是否处于第一预设状态;
第一确定模块,被配置为在所述检测模块检测到所述触控屏未处于所述第一预设状态时,确定悬浮物体的感应信息是否达到第一组预设阈值;
第一控制模块,被配置为当所述第一确定模块确定所述感应信息达到所述第一组预设阈值时,控制所述触控屏从当前状态切换至所述第一预设状态。
在一实施例中,所述第一组预设阈值包括第一预设阈值和第二预设阈值,所述感应信息包括所述触控屏感应到的悬浮物体在所述触控屏上的感应面积和近距离传感器感应到的所述悬浮物体在所述触控屏上的感应信号强度,所述第一确定模块包括:
第一确定子模块,被配置为确定所述感应面积是否达到所述第一预设阈值以及确定所述感应信号强度是否达到所述第二预设阈值;
第二确定子模块,被配置为当所述第一确定子模块确定所述感应面积达到所述第一预设 阈值和/或所述感应信号强度达到所述第二预设阈值时,确定近距离传感器的感应信息达到第一组预设阈值;
第三确定子模块,被配置为当所述第一确定子模块确定所述感应面积未达到所述第一预设阈值并且所述感应信号强度未达到所述第二预设阈值时,确定近距离传感器的感应信息未达到第一组预设阈值。
在一实施例中,所述装置还包括:
第二确定模块,被配置为在所述第一控制模块控制所述触控屏切换至所述第一预设状态后,确定所述感应信息是否达到第二组预设阈值;
第二控制模块,被配置为当所述第二确定模块确定所述感应信息未达到所述第二组预设阈值时,控制所述触控屏从所述第一预设状态切换至第二预设状态;
第三控制模块,被配置为当所述第二确定模块确定所述感应信息达到所述第二组预设阈值时,控制所述触控屏继续保持所述第一预设状态。
在一实施例中,第二组预设阈值包括第三预设阈值和第四预设阈值,所述感应信息包括所述触控屏感应到的悬浮物体在所述触控屏上的感应面积和近距离传感器感应到的所述悬浮物体在所述触控屏上的感应信号强度,所述第二确定模块,包括:
第四确定子模块,被配置为确定所述感应面积是否达到所述第三预设阈值以及确定所述感应信号强度是否达到所述第四预设阈值;
第五确定子模块,被配置为当所述第四确定子模块确定所述感应面积达到所述第三预设阈值和/或所述感应信号强度达到所述第四预设阈值时,确定近距离传感器的感应信息达到第二组预设阈值;
第六确定子模块,被配置为当所述第四确定子模块确定所述感应面积未达到所述第三预设阈值并且所述感应信号强度未达到所述第四预设阈值时,确定近距离传感器的感应信息未达到第二组预设阈值。
在一实施例中,所述第一预设状态为息屏状态并且所述第二预设状态为亮屏状态。
根据本公开实施例的第三方面,提供一种电子设备,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
检测触控屏是否处于第一预设状态;
在所述触控屏未处于所述第一预设状态时,确定悬浮物体的感应信息是否达到第一组预设阈值;
当所述感应信息达到所述第一组预设阈值时,控制所述触控屏从当前状态切换至所述第一预设状态。
本公开的实施例提供的技术方案可以包括以下有益效果:
在触控屏未处于第一预设状态并且悬浮物体的感应信息达到第一组预设阈值时,控制触控屏从当期状态切换至第一预设状态,由此可以避免用户抖动电子设备导致感应信息在大于第一组预设阈值的范围内发生变化时,触控屏仍可保持第一预设状态,确保了电子设备保持第一预设状态时的稳定性。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1A是根据一示例性实施例示出的控制触控屏状态的方法的流程图。
图1B是根据一示例性实施例示出的控制触控屏状态的方法的场景图。
图2是根据一示例性实施例一示出的控制触控屏状态的方法的流程图。
图3是根据一示例性实施例二示出的控制触控屏状态的方法的流程图。
图4是根据一示例性实施例示出的一种控制触控屏状态的装置的框图。
图5是根据一示例性实施例示出的另一种控制触控屏状态的装置的框图。
图6是根据一示例性实施例示出的再一种控制触控屏状态的装置的框图。
图7是根据一示例性实施例示出的一种适用于控制触控屏状态的装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
图1A是根据一示例性实施例示出的控制触控屏状态的方法的流程图,图1B是根据一示例性实施例示出的控制触控屏状态的的场景图;该控制触控屏状态的方法可以应用在电子设备(例如:智能手机、平板电脑等具有触控功能的设备)上,如图1A所示,该控制触控屏状态的方法包括以下步骤S101-S103:
在步骤S101中,检测触控屏是否处于第一预设状态,在触控屏未处于第一预设状态时,执行步骤102,在触控屏处于第一预设状态时,可执行下述图3所示实施例的方法流程,在此先不详述。
在步骤S102中,在触控屏未处于第一预设状态时,确定悬浮物体的感应信息是否达到第一组预设阈值,当感应信息达到第一组预设阈值时,执行步骤103,当感应信息未达到第一组预设阈值时,继续监测感应信息。
在步骤S103中,当感应信息达到第一组预设阈值时,控制触控屏从当前状态切换至第一预设状态。
在上述步骤S101中,在一实施例中,第一预设状态可以为触控屏的息屏状态,可以通过电子设备的操作系统来检测触控屏是否处于息屏状态,电子设备可以在防误触模式下控制触控屏进入息屏状态。
在上述步骤S102中,在一实施例中,悬浮物体的感应信息可以包括触控屏感应到的悬浮物体与触控屏之间的感应面积,以及,近距离传感器感应到的悬浮物体在触控屏上的感应信号强度,其中,悬浮物体与触控屏之间的接触面接越大,感应面积越大,悬浮物体与触控屏之间的距离越小,感应信号强度越大。
在上述步骤S103中,在一实施例中,第一组预设阈值可以包括感应面积对应的第一预设阈值和感应信号强度对应的第二预设阈值。
在一示例性场景中,以第一预设状态为息屏状态为例进行示例性说明,如图1B所示,当用户手持电子设备拨打电话时,悬浮物体11(此时可以为用户的面部)在距离触控屏10一个较小的距离范围内时,悬浮物体11悬浮在电子设备的触控屏10上,触控屏10可感应到悬浮物体11在触控屏10上的感应面积,电子设备的近距离传感器会检测到悬浮物体在触控屏10上的感应信号强度,当感应面积达到其对应的预设阈值并且感应信号强度达到其对应的预设阈值时,控制触控屏10从当前的亮屏状态切换到息屏状态,既可以确保用户在打电话的过程中触控屏的防误触,又可以确保触控屏保持在第一预设状态。
本实施例中,在触控屏未处于第一预设状态并且悬浮物体的感应信息达到第一组预设阈值时,控制触控屏从当期状态切换至第一预设状态,由此可以避免用户抖动电子设备导致感应信息在大于第一组预设阈值的范围内发生变化时,触控屏仍可保持第一预设状态,确保了电子设备保持第一预设状态时的稳定性,提高了用户的体验。
在一实施例中,第一组预设阈值包括第一预设阈值和第二预设阈值,感应信息包括触控屏感应到的悬浮物体在触控屏上的感应面积和近距离传感器感应到的悬浮物体在触控屏上的感应信号强度,确定悬浮物体的感应信息是否达到第一组预设阈值,包括:
确定感应面积是否达到第一预设阈值以及确定感应信号强度是否达到第二预设阈值;
当感应面积达到第一预设阈值和/或感应信号强度达到第二预设阈值时,确定近距离传感器的感应信息达到第一组预设阈值;
当感应面积未达到第一预设阈值并且感应信号强度未达到第二预设阈值时,确定近距离传感器的感应信息未达到第一组预设阈值。
在一实施例中,方法还可包括:
在第一预设状态,确定感应信息是否达到第二组预设阈值;
当感应信息未达到第二组预设阈值时,控制触控屏从第一预设状态切换至第二预设状态;
当感应信息达到第二组预设阈值时,控制触控屏继续保持第一预设状态。
在一实施例中,第二组预设阈值包括第三预设阈值和第四预设阈值,感应信息包括触控屏感应到的悬浮物体在触控屏上的感应面积和近距离传感器感应到的悬浮物体在触控屏上的感应信号强度,确定感应信息是否达到第二组预设阈值,包括:
确定感应面积是否达到第三预设阈值以及确定感应信号强度是否达到第四预设阈值;
当感应面积达到第三预设阈值和/或感应信号强度达到第四预设阈值时,确定近距离传感器的感应信息达到第二组预设阈值;
当感应面积未达到第三预设阈值并且感应信号强度未达到第四预设阈值时,确定近距离传感器的感应信息未达到第二组预设阈值。
在一实施例中,第一预设状态为息屏状态并且第二预设状态为亮屏状态。
具体如何控制触控屏状态的,请参考后续实施例。
至此,本公开实施例提供的上述方法,避免用户抖动电子设备导致感应信息在大于第一组预设阈值的范围内发生变化时,触控屏仍可保持第一预设状态,确保电子设备保持第一预设状态时的稳定性。
下面以具体实施例来说明本公开实施例提供的技术方案。
图2是根据一示例性实施例一示出的控制触控屏状态的方法的流程图;本实施例利用本公开实施例提供的上述方法,以第一组预设阈值包括第一预设阈值和第二预设阈值为例进行示例性说明,其中,感应信息包括触控屏感应到的悬浮物体在触控屏上的感应面积和近距离传感器感应到的在触控屏上的感应信号强度,如图2所示,包括如下步骤:
在步骤S201中,检测触控屏是否处于第一预设状态,在触控屏未处于第一预设状态时,执行步骤202,在触控屏处于第一预设状态时,通过下述图3所示实施例的方法流程检测触控屏的状态。
在步骤S202中,在触控屏未处于第一预设状态时,确定感应面积是否达到第一预设阈值以及确定感应信号强度是否达到第二预设阈值,当感应面积未达到第一预设阈值和/或感应信号强度未达到第二预设阈值时,执行步骤S203,当感应面积达到第一预设阈值并且感应信号强度达到第二预设阈值时,执行步骤S205。
在步骤S203中,当感应面积未达到第一预设阈值并且感应信号强度未达到第二预设阈值时,确定近距离传感器的感应信息未达到第一组预设阈值。
在步骤S204中,当感应信息未达到第一组预设阈值时,控制触控屏继续保持当前状态。
在步骤S205中,当感应面积达到第一预设阈值和/或感应信号强度达到第二预设阈值时,确定近距离传感器的感应信息达到第一组预设阈值。
在步骤S206中,控制触控屏从第一预设状态切换至第二预设状态,第二预设状态与第一预设状态相对应。
上述步骤S201、步骤S203和步骤S204的描述可以参见上述图1A所示实施例的相关描述,在此不再详述。
在上述步骤S202中,近距离传感器感应悬浮物体的感应信号强度以及悬浮物体在触控屏上的感应面积的相关描述可以参见相关技术,本公开不再详述。在一实施例中,第一预设阈值和第二预设阈值可以根据近距离传感器和触控屏的灵敏度来设置,本公开对第一预设阈值和第二预设阈值的具体值不做限制。
本实施例在具有上述实施例的有益技术效果的基础上,通过第一组预设阈值来控制触控屏处于第一预设状态,当触控屏感应到的感应面积和近距离传感器感应到的感应信号强度在大于第一组预设阈值的范围内发生变化时,触控屏仍会保持第一预设状态,从而避免了触控屏持续在第一预设状态和第二预设状态之间来回切换,确保了触控屏在第一预设状态时的稳定性。
图3是根据一示例性实施例二示出的控制触控屏状态的方法的流程图;本实施例利用本公开实施例提供的上述方法,以触控屏在第一预设状态时如何将第一组预设阈值切换到第二组预设阈值为例进行示例性说明,其中,第二组预设阈值包括第三预设阈值和第四预设阈值,感应信息包括触控屏感应到的悬浮物体在触控屏上的感应面积和近距离传感器感应到的悬浮物体在触控屏上的感应信号强度,如图3所示,包括如下步骤:
在步骤S301中,在触控屏处于第一预设状态时,确定感应面积是否达到第三预设阈值以及确定感应信号强度是否达到第四预设阈值,当感应面积达到第三预设阈值和/或感应信号强度达到第四预设阈值时,执行步骤S302,当感应面积未达到第三预设阈值并且感应信号强度未达到第四预设阈值时,执行步骤S304。
在步骤S302中,当感应面积未达到第三预设阈值和/或感应信号强度未达到第四预设阈值时,确定感应信息未达到第二组预设阈值。
在步骤S303中,控制触控屏从第一预设状态切换至第二预设状态。
在步骤S304中,当感应面积达到第三预设阈值并且感应信号强度达到第四预设阈值时,控制触控屏继续保持第一预设状态。
在上述步骤S301中,在一实施例中,第三预设阈值可以小于第一预设阈值,第四预设阈值可以小于第二预设阈值,此外,第三预设阈值和第四预设阈值可以根据近距离传感器和触控屏的灵敏度来设置,本公开对第三预设阈值和第四预设阈值的具体值不做限制。
在一示例性场景中,以第一预设状态为息屏状态并且第二预设状态为亮屏状态为例进行示例性说明,当用户手持电子设备拨打电话时,悬浮物体11在距离触控屏10一个较小的距离范围内时,悬浮物体11(此时可以为用户的面部)悬浮在电子设备的触控屏10上,触控屏10可感应到悬浮物体11在触控屏10上的感应面积,电子设备的近距离传感器会检测到悬浮物体在触控屏10上的感应信号强度,当感应面积和感应信号强度分别达到第一预设阈值和第二预设阈值时,触控屏进入息屏状态,当用户在手持电子设备的过程中不断调整电子设备的姿势时,造成触控屏的感应面积变小或者感应信号强度降低,如果感应面积未达到第一预设阈值并且感应信号强度未达到第二预设阈值,则触控屏会从息屏状态切换到亮屏状态,由此会导致触控屏在黑屏与亮屏之间来回切换,本实施例为了避免该种情形,通过确定感应面积是否达到一个比第一预设阈值较小的第三预设阈值并且感应信号强度是否达到一个比第二预设阈值较小的第四阈值,由此控制触控屏在此情形下仍保持息屏状态。
本实施例中,当触控屏处于第一预设状态时,通过将感应面积与第一较小的第三预设阈值进行比较,以及将感应信号强度与一个较小的第四预设阈值进行比较,当用户在手持电子设备的过程中不断调整持握电子设备的姿势造成的感应面积变小或者感应信号强度变低时,确保触控屏仍能够保持第一预设状态,从而确保了触控屏在第一预设状态时的稳定性。
图4是根据一示例性实施例示出的一种控制触控屏状态的装置的框图,如图4所示,控制触控屏状态的装置包括:
检测模块41,被配置为检测触控屏是否处于第一预设状态;
第一确定模块42,被配置为在检测模块41检测到触控屏未处于第一预设状态时,确定悬浮物体的感应信息是否达到第一组预设阈值;
第一控制模块43,被配置为当第一确定模块42确定感应信息达到第一组预设阈值时,控制触控屏从当前状态切换至第一预设状态。
图5是根据一示例性实施例示出的另一种控制触控屏状态的装置的框图,如图5所示, 在上述图4所示实施例的基础上,在一实施例中,第一组预设阈值包括第一预设阈值和第二预设阈值,感应信息包括触控屏感应到的悬浮物体在触控屏上的感应面积和近距离传感器感应到的悬浮物体在触控屏上的感应信号强度,第一确定模块42可包括:
第一确定子模块421,被配置为确定感应面积是否达到第一预设阈值以及确定感应信号强度是否达到第二预设阈值;
第二确定子模块422,被配置为当第一确定子模块421确定感应面积达到第一预设阈值和/或感应信号强度达到第二预设阈值时,确定近距离传感器的感应信息达到第一组预设阈值;
第三确定子模块423,被配置为当第一确定子模块421确定感应面积未达到第一预设阈值并且感应信号强度未达到第二预设阈值时,确定近距离传感器的感应信息未达到第一组预设阈值。
图6是根据一示例性实施例示出的再一种控制触控屏状态的装置的框图,如图6所示,在上述图4或图5所示实施例的基础上,在一实施例中,装置还可包括:
第二确定模块44,被配置为在第一控制模块43控制触控屏切换至第一预设状态后,确定感应信息是否达到第二组预设阈值;
第二控制模块45,被配置为当第二确定模块44确定感应信息未达到第二组预设阈值时,控制触控屏从第一预设状态切换至第二预设状态;
第三控制模块46,被配置为当第二确定模块44确定感应信息达到第二组预设阈值时,控制触控屏继续保持第一预设状态。
在一实施例中,第二组预设阈值包括第三预设阈值和第四预设阈值,感应信息包括触控屏感应到的悬浮物体在触控屏上的感应面积和近距离传感器感应到的悬浮物体在触控屏上的感应信号强度,第二确定模块44可包括:
第四确定子模块441,被配置为确定感应面积是否达到第三预设阈值以及确定感应信号强度是否达到第四预设阈值;
第五确定子模块442,被配置为当第四确定子模块441确定感应面积达到第三预设阈值和/或感应信号强度达到第四预设阈值时,确定近距离传感器的感应信息达到第二组预设阈值;
第六确定子模块443,被配置为当第四确定子模块441确定感应面积未达到第三预设阈值并且感应信号强度未达到第四预设阈值时,确定近距离传感器的感应信息未达到第二组预设阈值。
在一实施例中,第一预设状态为息屏状态并且第二预设状态为亮屏状态。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图7是根据一示例性实施例示出的一种适用于控制触控屏状态的装置的框图。例如,装置700可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等电子设备。
参照图7,装置700可以包括以下一个或多个组件:处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714,以及通信组件716。
处理组件702通常控制装置700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理部件702可以包括多媒体模块,以方便多媒体组件708和处理组件702之间的交互。
存储器704被配置为存储各种类型的数据以支持在设备700的操作。这些数据的示例包括用于在装置700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件706为装置700的各种组件提供电力。电力组件706可以包括电源管理系统,一个或多个电源,及其他与为装置700生成、管理和分配电力相关联的组件。
多媒体组件708包括在所述装置700和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当设备700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当装置700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被 配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。在一些实施例中,音频组件710还包括一个扬声器,用于输出音频信号。
I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件714包括一个或多个传感器,用于为装置700提供各个方面的状态评估。例如,传感器组件714可以检测到设备700的打开/关闭状态,组件的相对定位,例如所述组件为装置700的显示器和小键盘,传感器组件714还可以检测装置700或装置700一个组件的位置改变,用户与装置700接触的存在或不存在,装置700方位或加速/减速和装置700的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件716被配置为便于装置700和其他设备之间有线或无线方式的通信。装置700可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由装置700的处理器720执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (11)

  1. 一种控制触控屏状态的方法,其特征在于,所述方法包括:
    检测触控屏是否处于第一预设状态;
    在所述触控屏未处于所述第一预设状态时,确定悬浮物体的感应信息是否达到第一组预设阈值;
    当所述感应信息达到所述第一组预设阈值时,控制所述触控屏从当前状态切换至所述第一预设状态。
  2. 根据权利要求1所述的方法,其特征在于,所述第一组预设阈值包括第一预设阈值和第二预设阈值,所述感应信息包括所述触控屏感应到的悬浮物体在所述触控屏上的感应面积和近距离传感器感应到的所述悬浮物体在所述触控屏上的感应信号强度,所述确定悬浮物体的感应信息是否达到第一组预设阈值,包括:
    确定所述感应面积是否达到所述第一预设阈值以及确定所述感应信号强度是否达到所述第二预设阈值;
    当所述感应面积达到所述第一预设阈值和/或所述感应信号强度达到所述第二预设阈值时,确定近距离传感器的感应信息达到第一组预设阈值;
    当所述感应面积未达到所述第一预设阈值并且所述感应信号强度未达到所述第二预设阈值时,确定近距离传感器的感应信息未达到第一组预设阈值。
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在所述第一预设状态,确定所述感应信息是否达到第二组预设阈值;
    当所述感应信息未达到所述第二组预设阈值时,控制所述触控屏从所述第一预设状态切换至第二预设状态;
    当所述感应信息达到所述第二组预设阈值时,控制所述触控屏继续保持所述第一预设状态。
  4. 根据权利要求3所述的方法,其特征在于,第二组预设阈值包括第三预设阈值和第四预设阈值,所述感应信息包括所述触控屏感应到的悬浮物体在所述触控屏上的感应面积和近距离传感器感应到的所述悬浮物体在所述触控屏上的感应信号强度,所述确定所述感应信息是否达到第二组预设阈值,包括:
    确定所述感应面积是否达到所述第三预设阈值以及确定所述感应信号强度是否达到所述第四预设阈值;
    当所述感应面积达到所述第三预设阈值和/或所述感应信号强度达到所述第四预设阈值时,确定近距离传感器的感应信息达到第二组预设阈值;
    当所述感应面积未达到所述第三预设阈值并且所述感应信号强度未达到所述第四预设阈值时,确定近距离传感器的感应信息未达到第二组预设阈值。
  5. 根据权利要求1所述的方法,其特征在于,所述第一预设状态为息屏状态并且所述第二预设状态为亮屏状态。
  6. 一种控制触控屏状态的装置,其特征在于,所述装置包括:
    检测模块,被配置为检测触控屏是否处于第一预设状态;
    第一确定模块,被配置为在所述检测模块检测到所述触控屏未处于所述第一预设状态时,确定悬浮物体的感应信息是否达到第一组预设阈值;
    第一控制模块,被配置为当所述第一确定模块确定所述感应信息达到所述第一组预设阈值时,控制所述触控屏从当前状态切换至所述第一预设状态。
  7. 根据权利要求6所述的装置,其特征在于,所述第一组预设阈值包括第一预设阈值和第二预设阈值,所述感应信息包括所述触控屏感应到的悬浮物体在所述触控屏上的感应面积和近距离传感器感应到的所述悬浮物体在所述触控屏上的感应信号强度,所述第一确定模块包括:
    第一确定子模块,被配置为确定所述感应面积是否达到所述第一预设阈值以及确定所述感应信号强度是否达到所述第二预设阈值;
    第二确定子模块,被配置为当所述第一确定子模块确定所述感应面积达到所述第一预设阈值和/或所述感应信号强度达到所述第二预设阈值时,确定近距离传感器的感应信息达到第一组预设阈值;
    第三确定子模块,被配置为当所述第一确定子模块确定所述感应面积未达到所述第一预设阈值并且所述感应信号强度未达到所述第二预设阈值时,确定近距离传感器的感应信息未达到第一组预设阈值。
  8. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    第二确定模块,被配置为在所述第一控制模块控制所述触控屏切换至所述第一预设状态后,确定所述感应信息是否达到第二组预设阈值;
    第二控制模块,被配置为当所述第二确定模块确定所述感应信息未达到所述第二组预设阈值时,控制所述触控屏从所述第一预设状态切换至第二预设状态;
    第三控制模块,被配置为当所述第二确定模块确定所述感应信息达到所述第二组预设阈值时,控制所述触控屏继续保持所述第一预设状态。
  9. 根据权利要求8所述的装置,其特征在于,第二组预设阈值包括第三预设阈值和第四预设阈值,所述感应信息包括所述触控屏感应到的悬浮物体在所述触控屏上的感应面积和 近距离传感器感应到的所述悬浮物体在所述触控屏上的感应信号强度,所述第二确定模块包括:
    第四确定子模块,被配置为确定所述感应面积是否达到所述第三预设阈值以及确定所述感应信号强度是否达到所述第四预设阈值;
    第五确定子模块,被配置为当所述第四确定子模块确定所述感应面积达到所述第三预设阈值和/或所述感应信号强度达到所述第四预设阈值时,确定近距离传感器的感应信息达到第二组预设阈值;
    第六确定子模块,被配置为当所述第四确定子模块确定所述感应面积未达到所述第三预设阈值并且所述感应信号强度未达到所述第四预设阈值时,确定近距离传感器的感应信息未达到第二组预设阈值。
  10. 根据权利要求6所述的装置,其特征在于,所述第一预设状态为息屏状态并且所述第二预设状态为亮屏状态。
  11. 一种电子设备,其特征在于,所述电子设备包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    检测触控屏是否处于第一预设状态;
    在所述触控屏未处于所述第一预设状态时,确定悬浮物体的感应信息是否达到第一组预设阈值;
    当所述感应信息达到所述第一组预设阈值时,控制所述触控屏从当前状态切换至所述第一预设状态。
PCT/CN2016/095645 2016-05-24 2016-08-17 控制触控屏状态的方法及装置、电子设备 WO2017201891A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610350384.9 2016-05-24
CN201610350384.9A CN106055144B (zh) 2016-05-24 2016-05-24 控制触控屏状态的方法及装置、电子设备

Publications (1)

Publication Number Publication Date
WO2017201891A1 true WO2017201891A1 (zh) 2017-11-30

Family

ID=57174938

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/095645 WO2017201891A1 (zh) 2016-05-24 2016-08-17 控制触控屏状态的方法及装置、电子设备

Country Status (4)

Country Link
US (1) US10318069B2 (zh)
EP (1) EP3249505B1 (zh)
CN (1) CN106055144B (zh)
WO (1) WO2017201891A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106814858A (zh) * 2017-02-21 2017-06-09 广东小天才科技有限公司 一种控制可穿戴设备息屏的方法及可穿戴设备
CN106933479A (zh) * 2017-03-07 2017-07-07 广东欧珀移动通信有限公司 屏幕状态的控制方法及移动终端
CN107515694B (zh) * 2017-08-29 2021-01-29 北京小米移动软件有限公司 终端控制方法、装置及终端
CN110069165A (zh) * 2019-04-29 2019-07-30 广州视源电子科技股份有限公司 触摸数据的处理方法、装置、及设备和存储介质
CN111124172A (zh) * 2019-11-14 2020-05-08 中科创达软件股份有限公司 防误触屏幕方法、装置及电子设备
CN113253858A (zh) * 2020-02-13 2021-08-13 北京小米移动软件有限公司 触控屏的控制方法及装置、移动终端和存储介质
CN114125143B (zh) * 2020-08-31 2023-04-07 华为技术有限公司 一种语音交互方法及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631502A (zh) * 2013-10-31 2014-03-12 小米科技有限责任公司 显示内容调节方法、装置和电子设备
CN104541231A (zh) * 2014-08-29 2015-04-22 华为技术有限公司 防误触触摸屏的方法和装置
CN104866227A (zh) * 2015-05-28 2015-08-26 小米科技有限责任公司 屏幕控制方法及装置
CN105353901A (zh) * 2015-09-25 2016-02-24 小米科技有限责任公司 对触摸操作进行有效性判断的方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7567240B2 (en) * 2005-05-31 2009-07-28 3M Innovative Properties Company Detection of and compensation for stray capacitance in capacitive touch sensors
US8130203B2 (en) * 2007-01-03 2012-03-06 Apple Inc. Multi-touch input discrimination
CN102662524A (zh) * 2012-04-24 2012-09-12 深圳市拓盛电子科技有限公司 电子装置
JP5952097B2 (ja) * 2012-06-15 2016-07-13 京セラ株式会社 携帯端末装置、その制御方法および製造方法
CN102855018A (zh) * 2012-07-27 2013-01-02 北京爱格码科技有限责任公司 一种通过触摸屏电容感应实现接近传感的方法
WO2014024366A1 (ja) * 2012-08-09 2014-02-13 パナソニック株式会社 携帯電子機器
CN103902112A (zh) * 2012-12-26 2014-07-02 联想(北京)有限公司 一种控制方法及电子设备
CN103941994A (zh) * 2013-01-23 2014-07-23 中兴通讯股份有限公司 触摸屏的感应锁屏方法及装置
JP6031080B2 (ja) * 2013-11-29 2016-11-24 株式会社 ハイディープHiDeep Inc. 仮想タッチパッド操作方法及びこれを行う端末機

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631502A (zh) * 2013-10-31 2014-03-12 小米科技有限责任公司 显示内容调节方法、装置和电子设备
CN104541231A (zh) * 2014-08-29 2015-04-22 华为技术有限公司 防误触触摸屏的方法和装置
CN104866227A (zh) * 2015-05-28 2015-08-26 小米科技有限责任公司 屏幕控制方法及装置
CN105353901A (zh) * 2015-09-25 2016-02-24 小米科技有限责任公司 对触摸操作进行有效性判断的方法及装置

Also Published As

Publication number Publication date
CN106055144B (zh) 2018-12-18
EP3249505B1 (en) 2021-01-06
CN106055144A (zh) 2016-10-26
US10318069B2 (en) 2019-06-11
US20170344184A1 (en) 2017-11-30
EP3249505A1 (en) 2017-11-29

Similar Documents

Publication Publication Date Title
WO2017201891A1 (zh) 控制触控屏状态的方法及装置、电子设备
US10282031B2 (en) Method and device for restraining edge touches
RU2633187C1 (ru) Способ управления, устройство и оборудование для регулировки функции съемки
JP6199510B2 (ja) ディスプレイモードを切り換える方法及び装置
WO2017201860A1 (zh) 视频直播方法及装置
US20180284981A1 (en) Method and apparatus for screen capture processing
WO2018076323A1 (zh) 屏幕控制方法及装置
US20170265141A1 (en) Method and apparatus of temperature control
US10610152B2 (en) Sleep state detection method, apparatus and system
WO2017124773A1 (zh) 手势识别方法及装置
WO2016192333A1 (zh) 终端应用程序管理方法及装置
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
WO2016192323A1 (zh) 视频通信方法及装置
EP3151117A1 (en) Method and device for delaying information broadcasting
US20170344177A1 (en) Method and device for determining operation mode of terminal
WO2017071050A1 (zh) 具有触摸屏的终端的防误触方法及装置
WO2017096782A1 (zh) 防止拍照遮挡的方法及装置
WO2016112726A1 (zh) 控制终端设备充电的方法及装置
WO2016061927A1 (zh) 描述信息的显示方法及装置、电子设备
US20170153793A1 (en) Method and apparatus for application icon management
EP3048526A1 (en) Voice prompting method and apparatus
WO2016110146A1 (zh) 移动终端及虚拟按键的处理方法
WO2018000710A1 (zh) WiFi信号图标的展示方法、装置和移动终端
WO2017088259A1 (zh) 屏幕保护方法及装置
WO2016065820A1 (zh) 内存优化方法及装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16902877

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16902877

Country of ref document: EP

Kind code of ref document: A1