WO2017035818A1 - 控制电子设备的方法、装置及电子设备 - Google Patents

控制电子设备的方法、装置及电子设备 Download PDF

Info

Publication number
WO2017035818A1
WO2017035818A1 PCT/CN2015/088879 CN2015088879W WO2017035818A1 WO 2017035818 A1 WO2017035818 A1 WO 2017035818A1 CN 2015088879 W CN2015088879 W CN 2015088879W WO 2017035818 A1 WO2017035818 A1 WO 2017035818A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressure
function
electronic device
pressure operation
preset
Prior art date
Application number
PCT/CN2015/088879
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 华为技术有限公司
Priority to CN201580042435.5A priority Critical patent/CN106576123A/zh
Priority to PCT/CN2015/088879 priority patent/WO2017035818A1/zh
Publication of WO2017035818A1 publication Critical patent/WO2017035818A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • 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/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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/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
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/04105Pressure sensors for measuring the pressure or force exerted on the touch surface without providing the touch position
    • 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

Definitions

  • Embodiments of the present invention relate to data processing technologies, and in particular, to a technique for controlling an electronic device to perform an application function.
  • the opening method of the mobile phone application mainly includes the following steps: the user clicks on the physical key on the mobile phone (such as the power on/off button) to light up the screen, and after the interface is unlocked, the main interface of the screen is accessed, and the application icon is selected and clicked in the main interface of the screen.
  • This application function can only be used after entering the main application interface. For example, when a user needs to use a mobile phone for recording, it is usually necessary to perform the following four steps, namely, lighting the screen, unlocking, clicking into the recording application, and turning on the recording function to start recording.
  • the embodiment of the invention provides a method and device for controlling a user to perform certain application functions without lighting the screen of the electronic device.
  • an embodiment of the present invention provides a method for controlling an electronic device, including:
  • the first function is performed, and the display screen remains in the closed state.
  • the first function refers to a photographing function, or a recording function, or a recording function, or a dialing call function or other application functions.
  • the pressure information further includes a gesture track of the first pressure operation; and when the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold, performing the first function, The display remains off, including:
  • the first association relationship includes an association relationship between the gesture trajectory and the application function.
  • the pressure information further includes a contact position of the first pressure operation on the electronic device; and when the pressure value of the first pressure operation is greater than or equal to a preset number When a pressure threshold is performed, the first function is performed, and the display screen remains off, including:
  • the display screen Determining and executing a first function according to a contact position of the first pressure operation and a third associated relationship when the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold, the display screen The off state is maintained, and the third association relationship includes an association relationship between the contact location and the application function.
  • the control electronic device By controlling the position of the contact according to the pressure, the control electronic device performs an application function corresponding to the position of the contact, which can reduce the risk of false touch and control the electronic device to perform different application functions according to different contact positions.
  • the method further includes:
  • Second pressure information of a second pressure operation acting on the electronic device the second pressure information including a pressure value of the second pressure operation; when the pressure value of the second pressure operation is greater than or equal to a preset value At the second pressure threshold, the execution of the first function is stopped.
  • the second pressure operation it is convenient for the user to control the electronic device to stop executing the running application function such as recording and recording.
  • an embodiment of the present invention provides an apparatus for controlling an electronic device, including: a detecting module, configured to detect a pressure of a first pressure operation acting on the electronic device when a display screen of the electronic device is in a closed state Information, the pressure information includes a pressure value of the first pressure operation; and a processing module, configured to perform a first function when the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold, the display The screen remains off.
  • the first function refers to a photographing function, or a recording function, or a recording function, or a dialing call function or other application functions.
  • the pressure information further includes a gesture track of the first pressure operation; the processing module is further configured to: when the pressure value of the first pressure operation is greater than or equal to a preset first pressure a threshold, the first function is determined and executed according to the gesture track and the first association relationship of the first pressure operation, and the display screen is kept in an off state, wherein the first association relationship includes an association relationship between the gesture track and the application function.
  • the pressure information further includes a contact position of the first pressure operation on the electronic device; the processing module is further configured to: when the pressure value of the first pressure operation is greater than Or equal to the preset first pressure threshold, determining and executing the first function according to the contact position and the third association relationship of the first pressure operation, the display screen remains in a closed state, and the third association relationship includes The relationship between the contact position and the application function.
  • the detecting module is further configured to: detect second pressure information of a second pressure operation acting on the electronic device, the second pressure information including a pressure value of the second pressure operation;
  • the processing module is further configured to stop performing the first function when a pressure value of the second pressure operation is greater than or equal to a preset second pressure threshold.
  • an embodiment of the present invention provides an electronic device, including: a touch screen, configured to detect pressure information of a first pressure operation acting on the electronic device when a display screen of the electronic device is in a closed state,
  • the pressure information includes a pressure value of the first pressure operation;
  • the processor is configured to perform a first function when the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold; a display screen of the electronic device Stay closed.
  • the first function refers to a photographing function, or a recording function, or a recording function, or a dialing call function or other application functions.
  • the pressure information further includes a gesture track of the first pressure operation; the processor is further configured to: when the pressure value of the first pressure operation is greater than or equal to a preset first pressure a threshold, the first function is determined and executed according to the gesture track and the first association relationship of the first pressure operation, and the display screen is kept in an off state, where the first association relationship includes an association relationship between the gesture track and the application function.
  • the pressure information further includes a contact position of the first pressure operation on the electronic device; the processor is further configured to: when the pressure value of the first pressure operation is greater than Or equal to the preset first pressure threshold, the contact operated according to the first pressure The location and the third relationship determine, and the first function is determined, the display screen remains in an off state, and the third association relationship includes an association relationship between the contact location and the application function.
  • the touch screen is further configured to: detect second pressure information of a second pressure operation acting on the electronic device, the second pressure information including a pressure value of the second pressure operation;
  • the processor is further configured to stop performing the first function when the pressure value of the second pressure operation is greater than or equal to a preset second pressure threshold.
  • the pressure value of the pressure operation acting on the electronic device is detected, and when the pressure value is greater than or equal to the preset pressure threshold, the control electron is controlled.
  • the device performs the first function and the display remains off. Thereby, the user can control the electronic device to execute the preset application function without lighting the screen.
  • FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a screen of another electronic device according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for controlling an electronic device according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for controlling an electronic device according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device 100 includes a radio frequency (RF) circuit 1110, a memory 1120, an input unit 1130, and a display.
  • the electronic device 100 can be any electronic device including, but not limited to, a handheld computer, a tablet, a mobile phone, a media player, a personal digital assistant (PDA), etc., and a combination of two or more thereof. It will be understood by those skilled in the art that the device structure illustrated in FIG. 1 does not constitute a limitation on an electronic device, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the RF circuit 1110 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the processing is performed by the processor 1180. In addition, the uplink data is sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuitry 1110 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General
  • the memory 1120 can be used to store software programs and modules, and the processor 1180 performs various functional applications and data processing of the electronic devices by running software programs and modules stored in the memory 1120.
  • the memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of electronic devices (such as audio data, phone books, etc.).
  • memory 1120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 1130 can be configured to receive input gesture information, digital or character information, and generate key signal inputs related to user settings and function control of the electronic device 100.
  • the input unit 1130 may include a touch screen 1131 and other input devices 1132.
  • Touch screen 1131 collectable a touch operation on or near the user (such as the user's operation on the touch screen 1131 or near the touch screen 1131 using any suitable object or accessory such as a finger, a stylus, etc.), and driving the corresponding connection device according to a preset program .
  • the touch operation may include one or more of the following operation modes: pressure operation, touch operation (such as sliding operation, drag operation), click operation, multi-contact operation, button input, long press input, and the like.
  • the touch screen 1131 may include a touch sensor and/or a pressure sensor to detect a touch signal and/or a pressure signal of the user, and convert the touch signal into contact coordinates, a gesture track, and Other touch information converts the pressure signal to a pressure value and other information, and then transmits the above information to the processor 1180 and can receive and execute the command from the processor 1180.
  • the touch screen 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1130 may also include other input devices 1132.
  • other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 1140 can be used to display information input by the user or information provided to the user as well as various menus of the electronic device.
  • the display unit 1140 can include a display screen 1141.
  • the display screen 1141 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch screen 1131 may be overlaid on the display screen 1141.
  • the touch screen 1131 detects a touch operation thereon or nearby, the touch screen 1131 transmits to the processor 1180 to determine the type of the touch event, and then the processor 1180 according to the type of the touch event.
  • a corresponding visual output is provided on display 1141.
  • the touch screen 1131 and the display screen 1141 are two separate components to implement the input and input functions of the electronic device, in some embodiments, the touch screen 1131 can be integrated with the display 1141 to implement the electronic device. Input and output functions.
  • the electronic device may also include at least one type of sensor 1150, such as a pressure sensor, a light sensor, a motion sensor, and other sensors.
  • the pressure sensor can also be located at the side frame of the electronic device, and when the side frame is squeezed, the pressure sensor can detect the pressure value of the pressing.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 1141 according to the brightness of the ambient light, and the light sensor may turn off the display 1141 and/or the backlight when the electronic device moves to the ear.
  • the acceleration sensor can detect the acceleration of each direction (usually three axes) and can detect when it is stationary.
  • the size and direction of gravity can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for electronic devices can also be configured Other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., will not be described here.
  • Audio circuitry 1160, speaker 1161, and microphone 1162 can provide an audio interface between the user and the electronic device.
  • the audio circuit 1160 can transmit the converted electrical data of the received audio data to the speaker 1161, and convert it into a sound signal output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the audio circuit 1160 After receiving, it is converted into audio data, and then processed by the audio data output processor 1180, sent to, for example, another electronic device via the RF circuit 1110, or outputted to the memory 1120 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the electronic device can help users to send and receive emails , browse web pages, and access streaming media through the WiFi module 1170, which provides users with wireless broadband Internet access.
  • FIG. 7 shows the WiFi module 1170, it can be understood that it does not belong to the essential configuration of the electronic device, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 1180 is a control center for the electronic device that connects various portions of the entire electronic device using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1120, and recalling data stored in the memory 1120. , performing various functions and processing data of the electronic device to perform overall monitoring of the electronic device.
  • the processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1180.
  • the electronic device also includes a power source 1190 (such as a battery) that supplies power to the various components.
  • a power source 1190 such as a battery
  • the power source can be logically coupled to the processor 1180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the electronic device may further include a camera, a Bluetooth module, a GPS module, and the like, and details are not described herein.
  • FIG. 2 is a schematic structural diagram of a screen of another electronic device according to an embodiment of the present invention.
  • the electronic device The prepared touch screen and display screen are integrated in the screen structure, and the screen 200 includes:
  • the conductive layer 204 is attached to the lower surface 2020 of the display screen 202;
  • the upper surface of the display screen is attached to the cover plate, and the conductive layer is attached to the lower surface of the display screen.
  • the conductive layer, the metal middle frame and the at least one gap form at least one capacitor
  • the conductive layer can be regarded as one plate of the capacitor
  • the metal middle frame can be regarded as the other plate of the capacitor, which can be used as the pressure sensing
  • the pressure sensing For example, when the user presses on the cover plate, a certain force is generated, and the force causes the conductive layer to be deformed, so that the distance between the two plates of the capacitor changes, so that the capacitance of the capacitor changes, and the capacitor can be further passed.
  • the change in capacitance reflects the amount of pressure acting on the cover.
  • the capacitor of the structure acts as a pressure sensor, which can induce a pressure of 60,000 steps from light press to heavy pressure, thereby identifying different The pressure of the order.
  • the change of the capacitance of the capacitor is proportional to the magnitude of the pressure. For example, the greater the change of the capacitance of the capacitor, the greater the pressure acting on the cover plate, or the cover plate is applied. The greater the pressure above, the greater the change in capacitance of the capacitor.
  • the application scenario of the technical solution provided by the embodiment of the present invention is: when the display screen of the electronic device is in the off state, the first function is controlled by the first pressure operation, and the display screen is always kept closed during the whole process.
  • the touch screen is configured to detect that the user acts on
  • the first pressure operation on the touch screen of the electronic device acquires pressure information of the first pressure operation (such as the pressure value of the first pressure operation) and transmits the pressure value to the processor.
  • the processor After the processor is configured to receive the pressure value, first determine whether the pressure value is greater than or equal to a preset first pressure threshold, and if the pressure value is greater than or equal to a preset first pressure threshold, determine to execute the electronic device The first function, the display remains off.
  • the first function may be a function set by the user, or a function automatically set by the electronic device, such as recording, recording, photographing, dialing, and the like.
  • the touch screen detects that the pressure operation applied by the user causes a change in the capacitance value of the touch screen, obtains the pressure value of the pressure operation according to the change of the capacitance value, and transmits the pressure operation.
  • the pressure value to the processor.
  • the processor receives the pressure value of the pressure operation, determines that the pressure value of the pressure operation is greater than a preset first pressure threshold, and then controls the electronic device to perform a photographing function.
  • the processor sends an instruction to control the camera of the electronic device to be powered on, and automatically takes a photo according to a preset time.
  • first pressure operation and “second pressure operation” both indicate pressure operation, but respectively indicate different pressure operations.
  • the electronic device When referring to "the display is in the off state" in some embodiments of the present invention, the electronic device is in a standby state, but the display screen is in a black screen (or called a screen), and the electronic device can be installed and installed in the electronic device.
  • the application function on the device may also not run the application function.
  • the lock screen interface of the electronic device When the display is fully illuminated, the lock screen interface of the electronic device will be displayed, and the electronic device enters the lock screen state from the standby state.
  • the lock screen state refers to the screen lock and provides an unlock interface by displaying a preset specific content. The user needs to input a specific password or perform a specific operation/gesture on the interface to exit the lock screen state and enter the unlock state; and in the unlock state The user can use various functions of the electronic device normally.
  • pressure operation in some embodiments of the invention refers to a pressing operation performed by the user on the touch screen with a certain pressure using any suitable object or accessory, such as a finger, palm, stylus, or the like.
  • the pressure operation is a pressing operation capable of causing a change in the capacitance value of the touch screen, and the touch screen is prevented from being accidentally touched when being pressed by an object having a certain hardness.
  • the body of the pressure operation, the number of pressure operations, the position at which the pressure operation acts on the touch screen, and the like are not limited. For example, when multiple pressure operations are simultaneously applied to the touch screen, all pressure operations can be detected simultaneously, and any pressure operation can be detected.
  • the touch screen can detect a pressure operation acting at any position on the touch screen, and can also detect a pressure operation acting at a preset position of the touch screen.
  • the time of the pressure operation can be long or short, that is, the user can leave after pressing on the touch screen with a certain pressure (ie, “short press”), or can continue to press on the touch screen with a certain pressure (ie “long” press”).
  • FIG. 3 is a schematic flowchart diagram of a method for controlling an electronic device according to an embodiment of the present invention. As shown in FIG. 3, the method flow is performed by an electronic device, and the method steps of the process may be performed sequentially or in parallel, and may include more or fewer method steps.
  • the method flow includes:
  • the pressure information comprises a pressure value of the first pressure operation.
  • step S102 determining whether the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold; if yes, proceeding to step S103, otherwise the process ends;
  • the electronic device can integrate the pressure sensor in the side frame.
  • the pressure sensor in the side frame of the electronic device can detect the pressure operation of the user and obtain the pressure information of the pressure operation.
  • the electronic device can also integrate a pressure sensor in the touch screen.
  • the pressure sensor in the touch screen of the electronic device can detect the pressure operation of the user and obtain the pressure information of the pressure operation.
  • the pressure information includes at least a pressure value of the first pressure operation.
  • Determining whether the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold Determining whether the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold, wherein the first pressure threshold may be set by the user or may be automatically set by the electronic device.
  • the control electronic device performs the first function when the pressure value of the first pressure operation is greater than or equal to the preset first pressure threshold.
  • the first function is a function installed in an electronic device, and may be an electric
  • the system application function that comes with the sub-device when it leaves the factory can also be the function of the application software installed by the user in the electronic device.
  • the display of the electronic device is always off (ie black screen).
  • the electronic device detects the gesture trajectory of the first pressure operation in addition to detecting the pressure value of the first pressure operation.
  • the user presses the left edge of the touch screen with a finger with a pressure value of 5N, maintains the contact of the finger with the touch screen and the pressure value of the finger pressing the touch screen, and horizontally moves the contact point of the finger with the touch screen to the right edge of the touch screen.
  • the pressure value of the first pressure operation is 5N
  • the gesture track is a straight line gesture.
  • the touch screen detects the contact point coordinates of the user's finger touching the touch screen, and determines the gesture track of the pressure operation according to the coordinates of the contact point.
  • the method flow further includes:
  • the first association relationship is preset in the electronic device, where the first association relationship includes an association relationship between the gesture track and the application function.
  • the gesture track can be set by the user or automatically set by the electronic device.
  • the first association relationship may be stored in an electronic device in various forms, such as a database file or a configuration file or a piece of program code. For example, the first association is shown in Table 1:
  • the function corresponding to the straight line gesture is recording, so when it is detected that the gesture track of the first pressure operation is a straight line gesture, the first function is determined to be a recording function.
  • the electronic device performs the first function, that is, the recording function.
  • the electronic device does not respond to the first pressure operation.
  • the first pressure operation is two quick pressing operations, and the function corresponding to the two quick pressing gestures is not specified in the first association relationship.
  • the child device does not respond to the first pressure operation and does not initiate a new function.
  • the method process further includes:
  • the second association relationship includes an association between a pressure value and an application function.
  • the second association relationship is preset in the electronic device, and the second association relationship includes an association relationship between the pressure value and the application function in the electronic device. That is, the second association relationship is used to define different pressure values corresponding to functions of different electronic devices.
  • the specific content in the second association relationship may be a relationship between a specific pressure value and a function in the electronic device, or may be a relationship between a pressure value range or a pressure level and a function in the electronic device.
  • the second association relationship may be stored in an electronic device in various forms, such as a database file or a configuration file or a piece of program code.
  • a pressure level table divided according to the magnitude of the pressure value is preset in the electronic device. As shown in Table 2, it is assumed that four pressure levels are preset in the electronic device, and each pressure level represents a range of pressure values:
  • Pressure Level Pressure range (N is Newton) Primary pressure 1N-3N Secondary pressure 4N-6N Three-stage pressure 7N-9N Four-stage pressure 10N-12N
  • the second association relationship is preset in the electronic device, and the second association relationship is stored in the electronic device in the form of a database relationship table, as shown in Table 3:
  • the preset first pressure threshold is 3N, and the pressure value of the first pressure operation is determined to be greater than the first pressure threshold.
  • the pressure value of the first pressure operation is determined to be a secondary pressure based on the pressure value of the first pressure operation and the pressure level table preset in the electronic device. And determining, according to the pressure level of the first pressure operation pressure value and the second association relationship preset in the electronic device, that the function corresponding to the pressure value of the first pressure operation is recording, thereby determining that the first function is recording.
  • the camera module of the control electronic device is powered on, and the recording operation is performed, and the display of the electronic device is turned off during the whole process.
  • the pressure information further includes a contact position of the first pressure operation on the electronic device, and before the step S103, the method flow further includes:
  • the third association relationship includes an association relationship between a contact location and an application function.
  • a third association relationship is preset in the electronic device, and the third association relationship is used to define different contact positions respectively corresponding to functions of different electronic devices.
  • the third association relationship may be stored in an electronic device in various forms, such as a database file or a configuration file or a piece of program code.
  • a third association relationship is preset in the electronic device, and the third association relationship is stored in the electronic device in the form of a database relationship table, as shown in Table 4:
  • the preset first pressure threshold is 3N, and the pressure value of the first pressure operation is determined to be greater than the first pressure threshold.
  • the pressure sensor of the electronic device detects that the contact position of the pressure operation on the electronic device is a side frame. According to the third relationship shown in Table 4, the function corresponding to the side frame is recording, and the recording is determined to be the first function.
  • the microphone of the control electronic device is turned on for recording, and the display of the electronic device is turned off during the whole process.
  • the pressure value of the pressure operation acting on the electronic device is detected, and when the pressure value is greater than or equal to the preset pressure threshold, the control electron is controlled.
  • the device performs the first function and the display remains off. Thereby, the user can control the electronic device to execute the preset application function without lighting the screen.
  • the method flow further includes stopping execution of the first function when the first pressure operation ends acting on the electronic device.
  • the first pressure operation is performed on the electronic device, and when the pressure value is greater than or equal to the preset first pressure threshold, the first function is performed. After the first function is started, the first pressure operation continues to act on the electronic device, such as the first pressure operation being a long press operation. When the first pressure operation ends acting on the electronic device, such as when the user's palm stops squeezing the frame of the electronic device, or the user's finger leaves the touch screen of the electronic device, the first function is stopped.
  • the mobile phone when the user continuously presses the touch screen of the mobile phone with a finger, when the pressure value of the first pressure operation of pressing the mobile phone is greater than or equal to the preset first pressure threshold, the mobile phone starts the recording function, and when the touch screen detects that the user stops pressing the touch screen of the mobile phone, When the user reduces the pressure value of pressing the touch screen of the mobile phone so that the first pressure operation becomes a touch operation, or the user's finger leaves the touch screen of the mobile phone, etc., the mobile phone stops recording and automatically saves the recording file.
  • the stop time of the execution of the first function is controlled by controlling the end time of the pressure operation, so that the user conveniently controls the start and end of the preset function without the electronic device turning on the screen.
  • the method flow further includes detecting second pressure information of a second pressure operation acting on the electronic device, the second pressure information including a pressure value of the second pressure operation;
  • the pressure value of the second pressure operation is greater than or equal to the preset second pressure threshold, the first function is stopped.
  • the first pressure operation is performed on the electronic device, and when the pressure value is greater than or equal to the preset first pressure threshold, the first function is performed. After the first function starts to be executed, the first pressure operation ends, for example, when the user reduces the pressure value of pressing the touch screen of the mobile phone so that the first pressure operation becomes a touch operation, or the user's finger leaves the touch screen of the mobile phone, etc., the first function continues to be executed.
  • the second pressure threshold may be the same as or different from the first pressure threshold.
  • the mobile phone when the user presses the touch screen of the mobile phone with a finger, when the pressure value of the first pressure operation of pressing the mobile phone is greater than or equal to the preset first pressure threshold, the mobile phone starts the recording function, and the touch screen detects that the user stops pressing the touch screen of the mobile phone (eg, When the user reduces the pressure value of pressing the touch screen of the mobile phone so that the first pressure operation becomes a touch operation, or the user's finger leaves the touch screen of the mobile phone, etc., the mobile phone continues to record.
  • the user presses the touch screen of the mobile phone with the finger again when the pressure value of the second pressure operation of pressing the mobile phone is greater than or equal to the preset second pressure threshold, the mobile phone stops recording and automatically saves the recording file.
  • the electronic device is prevented from interfering with the execution of the first function.
  • the stop time of the execution of the first function is controlled by applying a second pressure operation to the electronic device, so that the user conveniently controls the start and end of the preset function without the electronic device turning on the screen.
  • FIG. 4 is a schematic structural diagram of an apparatus for controlling an electronic device according to an embodiment of the present invention.
  • the device can be installed and operated in an electronic device in the form of software.
  • the device includes a detecting module 11 and a processing module 12, and the detecting module 11 and the processing module 12 are communicatively connected:
  • the detecting module 11 is configured to detect pressure information of a first pressure operation acting on the electronic device when the display screen of the electronic device is in a closed state.
  • the pressure information includes a pressure value of the first pressure operation, and the detection module 11 sends the pressure information to the processing module 12.
  • the processing module 12 is configured to perform a first function when a pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold.
  • the processing module 12 determines that the pressure value of the first pressure operation is greater than or equal to the preset first pressure threshold, the other related components are controlled to perform the first function. For example, when the first function is taking a picture, the processing module 12 sends an instruction to control the camera module to power on, and takes a picture under certain conditions.
  • the condition may be set by the user or automatically set by the electronic device. For example, the condition may be that the camera is taken after the focus is completed, or the camera module is photographed two seconds after the power is turned on. The display of the electronic device is always off.
  • the pressure information further includes a gesture track of the first pressure operation.
  • the processing module is further configured to: when the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold, determine a first function according to the gesture trajectory of the first pressure operation and the first association relationship,
  • the first association relationship includes an association relationship between a gesture trajectory and an application function.
  • the pressure information further includes a contact position of the first pressure operation on the electronic device.
  • the processing module is further configured to determine, according to the contact position of the first pressure operation and the third association relationship, when the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold A function, the third association relationship comprising an association between a contact location and an application function.
  • the pressure value of the pressure operation acting on the electronic device is detected, and when the pressure value is greater than or equal to the preset pressure threshold, the control electron is controlled.
  • the device performs the first function and the display remains off. Thereby, the user can control the electronic device to execute the preset application function without lighting the screen.
  • the detecting module is further configured to detect second pressure information of a second pressure operation acting on the electronic device, and the second pressure information includes a pressure value of the second pressure operation.
  • the processing module is further configured to: when the pressure value of the second pressure operation is greater than or equal to a preset When the second pressure threshold is reached, the first function is stopped.
  • the detecting module is further configured to detect a time when the end of the first pressure operation acts on the electronic device, and the processing module is further configured to stop performing the first function when the first pressure operation ends on the electronic device.
  • the stop time of the first function execution is controlled by applying a second pressure operation to the electronic device or ending the first pressure operation, so that the user conveniently controls the start and end of the preset function without the electronic device turning on the screen.
  • the embodiment of the invention further provides an electronic device having the structure as shown in FIG. 1 or FIG. 2, wherein the touch screen and the processor of the electronic device are respectively configured as follows:
  • the touch screen is configured to detect pressure information of a first pressure operation acting on the electronic device when the display screen of the electronic device is in a closed state, the pressure information including a pressure value of the first pressure operation.
  • a processor configured to perform a first function when a pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold.
  • the display of the electronic device remains off.
  • the pressure information further includes a gesture track of the first pressure operation.
  • the processor is further configured to: when the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold, determine a first function according to the gesture trajectory of the first pressure operation and the first association relationship,
  • the first association relationship includes an association relationship between a gesture trajectory and an application function.
  • the pressure information further includes a contact position of the first pressure operation on the electronic device.
  • the processor is further configured to determine, according to the contact position of the first pressure operation and the third relationship, when the pressure value of the first pressure operation is greater than or equal to a preset first pressure threshold A function, the third association relationship comprising an association between a contact location and an application function.
  • the touch screen is further configured to detect second pressure information of a second pressure operation acting on the electronic device, and the second pressure information includes a pressure value of the second pressure operation;
  • the processor is further configured to stop performing the first function when a pressure value of the second pressure operation is greater than or equal to a preset second pressure threshold.
  • the pressure value of the pressure operation acting on the electronic device is detected, and when the pressure value is greater than or equal to the preset pressure threshold, the control electron is controlled.
  • the device performs the first function and the display remains off. Thereby, the user can control the electronic device to execute the preset application function without lighting the screen.
  • the stop time of the first function execution is controlled by applying a second pressure operation to the electronic device or ending the first pressure operation, so that the user conveniently controls the start and end of the preset function without the electronic device turning on the screen.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), and a random access memory (RAM).
  • ROM read-only memory
  • RAM random access memory

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

一种控制电子设备(100、200)执行应用功能的装置和方法,当电子设备(100、200)的显示屏(1141、202)处于关闭状态时,检测作用于所述电子设备(100、200)上的第一压力操作的压力值(S101);确定第一压力操作的压力值是否大于或等于预设的第一压力阈值(S102);若是则执行第一功能,显示屏(1141、202)保持关闭状态(S103)。通过压力操作的识别,实现了用户在不点亮屏幕的情况下,也能控制电子设备(100、200)执行预设的应用功能。

Description

控制电子设备的方法、装置及电子设备 技术领域
本发明实施例涉及数据处理技术,尤其涉及一种控制电子设备执行应用功能的技术。
背景技术
目前手机应用的开启方式主要包括以下几个步骤:用户点击手机上的物理键(如开关机键)来点亮屏幕,界面解锁后进入屏幕主界面,在屏幕主界面中选择应用图标并点击,进入应用主界面后才能使用该应用功能。例如当用户需要使用手机进行录音时,通常需要执行以下四个步骤,即点亮屏幕、解锁、点击进入录音应用、开启录音功能才能开始录音。
在某些应用场景下,当用户不方便点亮屏幕时,根据上述操作步骤用户无法方便的开启手机上的应用功能。
发明内容
本发明实施例提供一种方法及装置,以实现用户在不点亮电子设备屏幕的情况下,控制电子设备执行某些应用功能。
一方面,本发明实施例提供一种控制电子设备的方法,包括:
当电子设备的显示屏处于关闭状态时,检测作用于所述电子设备上的第一压力操作的压力信息,所述压力信息包括第一压力操作的压力值;
当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能,所述显示屏保持关闭状态。
其中,第一功能是指拍照功能、或录音功能、或录像功能、或拨号呼叫功能或其他应用功能。
在一个可能的设计中,压力信息还包括所述第一压力操作的手势轨迹;所述当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能,所述显示屏保持关闭状态,包括:
当所述第一压力操作的压力值大于或等于预设的第一压力阈值,根据所述手势轨迹和第一关联关系,确定并执行第一功能,所述显示屏保持关闭状态,其中所述第一关联关系包括手势轨迹和应用功能的关联关系。通过根据压力操作的手势轨迹,控制电子设备执行与手势轨迹对应的应用功能,既能够减少误触风险,又能够控制电子设备根据不同的手势轨迹,执行不同的应用功能。
在一个可能的设计中,所述压力信息还包括所述第一压力操作作用于所述电子设备上的触点位置;所述当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能,所述显示屏保持关闭状态,包括:
当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的触点位置和第三关联关系,确定并执行第一功能,所述显示屏保持关闭状态,所述第三关联关系包括触点位置和应用功能的关联关系。通过根据压力操作的触点位置,控制电子设备执行与触点位置对应的应用功能,既能够减少误触风险,又能够控制电子设备根据不同的触点位置,执行不同的应用功能。
在一个可能的设计中,执行第一功能之后,所述方法还包括:
检测作用于所述电子设备上的第二压力操作的第二压力信息,所述第二压力信息包括第二压力操作的压力值;当所述第二压力操作的压力值大于或等于预设的第二压力阈值时,停止执行所述第一功能。通过第二压力操作,方便用户控制电子设备停止执行正在运行的如录音录像类的应用功能。
另一方面,本发明实施例提供一种控制电子设备的装置,包括:检测模块,用于当电子设备的显示屏处于关闭状态时,检测作用于所述电子设备上的第一压力操作的压力信息,所述压力信息包括第一压力操作的压力值;处理模块,用于当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能,所述显示屏保持关闭状态。
其中,第一功能是指拍照功能、或录音功能、或录像功能、或拨号呼叫功能或其他应用功能。
在一个可能的设计中,所述压力信息还包括所述第一压力操作的手势轨迹;所述处理模块还用于:当所述第一压力操作的压力值大于或等于预设的第一压力阈值,根据所述第一压力操作的手势轨迹和第一关联关系,确定并执行第一功能,所述显示屏保持关闭状态,其中所述第一关联关系包括手势轨迹和应用功能的关联关系。
在一个可能的设计中,所述压力信息还包括所述第一压力操作作用于所述电子设备上的触点位置;所述处理模块还用于:当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的触点位置和第三关联关系,确定并执行第一功能,所述显示屏保持关闭状态,所述第三关联关系包括触点位置和应用功能的关联关系。
在一个可能的设计中,所述检测模块还用于:检测作用于所述电子设备上的第二压力操作的第二压力信息,所述第二压力信息包括第二压力操作的压力值;所述处理模块还用于:当所述第二压力操作的压力值大于或等于预设的第二压力阈值时,停止执行所述第一功能。
另一方面,本发明实施例提供一种电子设备,包括:触摸屏,用于当电子设备的显示屏处于关闭状态时,检测作用于所述电子设备上的第一压力操作的压力信息,所述压力信息包括第一压力操作的压力值;处理器,用于当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能;所述电子设备的显示屏保持关闭状态。
其中,第一功能是指拍照功能、或录音功能、或录像功能、或拨号呼叫功能或其他应用功能。
在一个可能的设计中,所述压力信息还包括所述第一压力操作的手势轨迹;所述处理器还用于:当所述第一压力操作的压力值大于或等于预设的第一压力阈值,根据所述第一压力操作的手势轨迹和第一关联关系,确定并执行第一功能,所述显示屏保持关闭状态,所述第一关联关系包括手势轨迹和应用功能的关联关系。
在一个可能的设计中,所述压力信息还包括所述第一压力操作作用于所述电子设备上的触点位置;所述处理器还用于:当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的触点 位置和第三关联关系,确定并执行第一功能,所述显示屏保持关闭状态,所述第三关联关系包括触点位置和应用功能的关联关系。
在一个可能的设计中,所述触摸屏还用于:检测作用于所述电子设备上的第二压力操作的第二压力信息,所述第二压力信息包括第二压力操作的压力值;所述处理器还用于:当所述第二压力操作的压力值大于或等于预设的第二压力阈值时,停止执行所述第一功能。
在本发明实施例的技术方案中,当电子设备的显示屏处于关闭状态时,检测作用于电子设备上的压力操作的压力值,当该压力值大于或等于预设的压力阈值时,控制电子设备执行第一功能,显示屏始终保持关闭状态。从而实现了用户在不点亮屏幕的情况下,也能控制电子设备执行预设的应用功能。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例中一种电子设备的结构示意图;
图2为本发明实施例中另一种电子设备的屏幕的结构示意图;
图3为本发明实施例中一种控制电子设备的方法的流程示意图;
图4为本发明实施例中一种控制电子设备的装置的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明实施例中一种电子设备的结构示意图。电子设备100包括射频(Radio Frequency,RF)电路1110、存储器1120、输入单元1130、显 示单元1140、传感器1150、音频电路1160、无线保真(wireless fidelity,WiFi)模块1170、处理器1180、以及电源1190等部件。这些部件通过一条或多条通信总线或信号线进行通信。电子设备100可以是任何电子设备,包括但不限于手持电脑、平板电脑、移动电话、媒体播放器、个人数字助理(PDA)等等,还包括其中两项或多项的组合。本领域技术人员可以理解,图1中示出的设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图1对电子设备100的各个构成部件进行具体的介绍:
RF电路1110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1180处理;另外,将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器1120可用于存储软件程序以及模块,处理器1180通过运行存储在存储器1120的软件程序以及模块,从而执行电子设备的各种功能应用以及数据处理。存储器1120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元1130可用于接收输入的手势信息、数字或字符信息,以及产生与电子设备100的用户设置以及功能控制有关的键信号输入。具体地,输入单元1130可包括触摸屏1131以及其他输入设备1132。触摸屏1131,可收集 用户在其上或附近的触控操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏1131上或在触摸屏1131附近的操作),并根据预先设定的程式驱动相应的连接装置。具体地,触控操作可包括以下一种或多种操作方式:如压力操作、触摸操作(如滑动操作、拖拽操作)、点击操作、多触点操作、按钮输入、长按输入等。可选的,触摸屏1131可包括触摸传感器(Touch Sensor)和/或压力传感器(Force Sensor),用以检测用户的触摸信号和/或压力信号,并将触摸信号转换成触点坐标、手势轨迹以及其他触摸信息,将压力信号转换为压力值以及其他信息,然后传送以上信息至处理器1180,并能接收处理器1180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸屏1131。除了触摸屏1131,输入单元1130还可以包括其他输入设备1132。具体地,其他输入设备1132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元1140可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种菜单。显示单元1140可包括显示屏1141,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏1141。进一步的,触摸屏1131可覆盖于显示屏1141之上,当触摸屏1131检测到在其上或附近的触摸操作后,传送给处理器1180以确定触摸事件的类型,随后处理器1180根据触摸事件的类型在显示屏1141上提供相应的视觉输出。虽然在图1中,触摸屏1131与显示屏1141是作为两个独立的部件来实现电子设备的输入和输入功能,但是在某些实施例中,可以将触摸屏1131与显示屏1141集成而实现电子设备的输入和输出功能。
电子设备还可包括至少一种传感器1150,比如压力传感器、光传感器、运动传感器以及其他传感器。压力传感器除了可以位于触摸屏中,还可以位于电子设备的侧边框处,当侧边框受到挤压时,压力传感器即可检测该挤压的压力值。光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏1141的亮度,光传感器可在电子设备移动到耳边时,关闭显示屏1141和/或背光。作为运动传感器的一种,加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出 重力的大小及方向,可用于识别电子设备姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路1160、扬声器1161以及传声器1162可提供用户与电子设备之间的音频接口。音频电路1160可将接收到的音频数据转换后的电信号,传输到扬声器1161,由扬声器1161转换为声音信号输出;另一方面,传声器1162将收集的声音信号转换为电信号,由音频电路1160接收后转换为音频数据,再将音频数据输出处理器1180处理后,经RF电路1110以发送给比如另一电子设备,或者将音频数据输出至存储器1120以便进一步处理。
WiFi属于短距离无线传输技术,电子设备通过WiFi模块1170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了WiFi模块1170,但是可以理解的是,其并不属于电子设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器1180是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器1120内的软件程序和/或模块,以及调用存储在存储器1120内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器1180可包括一个或多个处理单元;优选的,处理器1180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1180中。
电子设备还包括给各个部件供电的电源1190(比如电池),优选的,电源可以通过电源管理系统与处理器1180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,电子设备还可以包括摄像头、蓝牙模块、GPS模块等,在此不再赘述。
图2为本发明实施例中另一种电子设备的屏幕的结构示意图。该电子设 备的触摸屏和显示屏集成于屏幕结构中,屏幕200包括:
盖板201、显示屏202和金属中框203,其中,所述显示屏202位于所述盖板201和所述金属中框203之间,所述金属中框203接地,所述电子设备200还包括:
导电层204,所述导电层204贴合于所述显示屏202的下表面2020;
如图2所示,可以理解的是,从电子设备顶层到电子设备底层的垂直方向上看,显示屏的上表面与盖板贴合,而导电层与显示屏的下表面贴合。
如图2所示,所述导电层204和所述金属中框203之间存在至少一个间隙(如图2中导电层与金属中框之间的空白区域),其中,所述导电层204、所述金属中框203和所述至少一个间隙形成至少一个电容器,其中,所述至少一个电容器的电容变化反应出作用于所述盖板201上的至少一个压力的大小。
可以理解的是,导电层、金属中框和至少一个间隙形成至少一个电容器,导电层可看作电容器的一个极板,金属中框可看作电容器的另一个极板,该电容器可作为压力感应器,比如:用户在盖板上按压时产生一定的力,力的作用导致导电层发生形变,使得电容器的两个极板之间的距离发生改变,从而电容器的电容发生变化,进一步可通过电容器的电容的变化反映出作用在盖板上的压力的大小,比如,该结构的电容器作为压力感应器,可以感应出从轻按到重压之间的6万阶的压力,从而可以识别出不同阶的压力。
可以理解的是,电容器的电容的变化与压力的大小成正比例关系,比如,电容器的电容的变化越大,则反应出作用于所述盖板上的压力越大,或者作用于所述盖板上的压力越大,则导致电容器的电容的变化越大。
本发明实施例提供的技术方案应用场景为:当电子设备的显示屏处于关闭状态时,通过第一压力操作控制电子设备执行第一功能,整个过程中显示屏始终保持关闭状态。
结合上述电子设备的硬件结构,通过计算机软件程序实现本发明实施例中的技术方案,包括:
电子设备的显示屏处于关闭状态时,触摸屏被配置为检测用户作用于 电子设备的触摸屏上的第一压力操作,获取第一压力操作的压力信息(如第一压力操作的压力值),并发送该压力值至处理器。
处理器被配置为收到上述压力值后,首先确定该压力值是否大于或等于预设的第一压力阈值,如果该压力值大于或等于预设的第一压力阈值,则确定执行电子设备的第一功能,显示屏一直保持关闭状态。
第一功能可以是用户自行设置的功能,也可以是电子设备自动设置的功能,比如录音、录像、拍照、拨号呼叫等。
例如,当电子设备的显示屏处于关闭状态时,触摸屏检测到用户作用于其上的压力操作引起了触摸屏电容值的变化,根据该电容值的变化获得压力操作的压力值,并发送该压力操作的压力值至处理器。处理器收到该压力操作的压力值,确定该压力操作的压力值大于预设的第一压力阈值,则控制电子设备执行拍照功能。具体地,处理器发送指令控制电子设备的摄像头上电,并根据在预设的时间内自动进行拍照。
下面将对以下各实施例中的用词和术语进行解释:
当本发明实施例中提及“第一”、“第二”等序数词时,除非根据上下文确实表达顺序之意,应当理解为仅仅是起区分之用。例如“第一压力操作”和“第二压力操作”都表示压力操作,但分别表示不同的压力操作。
在本发明某些实施例中提及“显示屏处于关闭状态”时,是指电子设备处于待机状态,但显示屏为黑屏(或称熄屏)的状态,此时电子设备可以运行安装于电子设备上的应用功能,也可以不运行应用功能。当显示屏被完全点亮时,将显示电子设备的锁屏界面,电子设备由待机状态进入锁屏状态。锁屏状态是指屏幕锁定且通过显示预先设定的特定内容来提供解锁界面,用户需要在该界面上输入特定密码或执行特定操作/手势才能退出锁屏状态进入解锁状态;而在解锁状态下,用户可正常使用电子设备各种功能。
在本发明某些实施例中提及“压力操作”时,是指用户使用手指、手掌、触笔等任何适合的物体或附件以一定的压力在触摸屏上进行的按压操作。进一步地,该压力操作为能够引起触摸屏电容值变化的按压操作,避免触摸屏被具有一定硬度的物体挤压时,造成误触。本发明某些实施例中并不限定压力操作的实施主体、压力操作的个数、压力操作作用于触摸屏上的位置等。 例如当多个压力操作同时作用于触摸屏上时,可以同时检测所有压力操作,也可以检测任意一压力操作。触摸屏可以检测作用于触摸屏上的任意位置的压力操作,也可以检测作用于触摸屏预设位置处的压力操作。压力操作的时间可长可短,即用户可以以一定的压力在触摸屏上进行按压操作后即离开(即“短按”),也可以以一定的压力持续在触摸屏上进行按压操作(即“长按”)。
下面以具体的实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。
图3为本发明实施例中一种控制电子设备的方法的流程示意图。如图3所示,该方法流程由电子设备执行,该过程的方法步骤可以顺序执行或并行执行,也可以包括更多或更少的方法步骤。该方法流程包括:
S101:当电子设备的显示屏处于关闭状态时,检测作用于所述电子设备上的第一压力操作的压力信息;
其中,所述压力信息包括第一压力操作的压力值。
S102:确定第一压力操作的压力值是否大于或等于预设的第一压力阈值;若是则进入步骤S103,否则流程结束;
S103:执行第一功能,显示屏保持关闭状态。
当电子设备的显示屏处于关闭状态时,用户在电子设备上施加第一压力操作。具体地,电子设备可在侧边框中集成压力传感器,当用户紧握电子设备的侧边框时,电子设备侧边框中的压力传感器即可检测到用户的压力操作,获取该压力操作的压力信息。另外,电子设备还可以在触摸屏中集成压力传感器,当用户按压电子设备的触摸屏时,电子设备触摸屏中的压力传感器即可检测到用户的压力操作,获取该压力操作的压力信息。其中压力信息至少包括第一压力操作的压力值。
确定第一压力操作的压力值是否大于或等于预设的第一压力阈值,其中第一压力阈值可由用户自行设置大小,也可以由电子设备自动设置。
当第一压力操作的压力值大于或等于预设的第一压力阈值时,控制电子设备执行第一功能。其中,第一功能为安装于电子设备中的功能,可以是电 子设备出厂时自带的系统应用功能,也可以是用户安装在电子设备中的应用软件的功能。电子设备的显示屏始终保持关闭状态(即黑屏)。
可选地,电子设备除检测第一压力操作的压力值外,还检测第一压力操作的手势轨迹。例如用户用手指以5N的压力值按压触摸屏左边缘,保持手指与触摸屏的接触和手指按压触摸屏的压力值,水平移动手指与触摸屏的接触点至触摸屏的右边缘。可知该第一压力操作的压力值为5N,手势轨迹直线手势。触摸屏检测用户手指接触触摸屏的接触点坐标,并根据接触点的坐标确定该压力操作的手势轨迹。
在步骤S103之前,该方法流程还包括:
当所述第一压力操作的压力值大于或等于预设的第一压力阈值,根据所述第一压力操作的手势轨迹和第一关联关系,确定第一功能。
具体地,在电子设备中预先设置第一关联关系,其中,第一关联关系包括手势轨迹和应用功能的关联关系。其中手势轨迹可由用户自行设置或由电子设备自动设置。第一关联关系在电子设备中的存储形态有多种,例如数据库文件或配置文件或一段程序代码等。例如,第一关联关系如表1所示:
表1第一关联关系
Figure PCTCN2015088879-appb-000001
根据第一关联关系可知,直线手势对应的功能为录音,因此当检测到第一压力操作的手势轨迹为直线手势时,确定第一功能为录音功能。电子设备执行第一功能即录音功能。
如果第一压力操作的手势轨迹并不是第一关联关系中的手势轨迹,则电子设备不对第一压力操作做出响应。例如第一压力操作为两次快速按压操作,由于第一关联关系中未规定两次快速按压手势对应的功能,因此电 子设备不对该第一压力操作做出响应,不启动新的功能。
可选地,在步骤S103之前,该方法流程还包括:
当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的压力值和第二关联关系,确定与所述第一压力操作的压力值具有关联关系的功能为第一功能。
其中,所述第二关联关系包括压力值和应用功能的关联关系。
具体地,电子设备中预先设置第二关联关系,第二关联关系包括压力值和电子设备中应用功能的关联关系。即第二关联关系用于定义不同的压力值分别对应不同的电子设备的功能。第二关联关系中的具体内容可以是具体的压力值大小与电子设备中功能的关联关系,也可以是压力值范围或压力等级与电子设备中功能的关联关系。第二关联关系在电子设备中的存储形态有多种,例如数据库文件或配置文件或一段程序代码等。
以第二关联关系的内容形态为压力值等级与电子设备中功能的关联关系为例:
在电子设备中预先设置按照压力值的大小划分的压力等级表,如表2所示,假设在电子设备中预设四个压力等级,每个压力等级代表压力值的范围:
表2压力等级表
压力等级 压力值范围(N为牛顿)
一级压力 1N-3N
二级压力 4N-6N
三级压力 7N-9N
四级压力 10N-12N
在电子设备中预先设置第二关联关系,第二关联关系以数据库关系表的形式存储于电子设备中,如表3所示:
表3第二关联关系
压力等级 功能
一级压力 录音
二级压力 录像
三级压力 拍照
四级压力 拨号呼叫
当电子设备的压力传感器检测到作用于电子设备上的第一压力操作的压力值为5N时,预设第一压力阈值为3N,确定第一压力操作的压力值大于第一压力阈值。
根据第一压力操作的压力值和预设在电子设备中的压力等级表,确定第一压力操作的压力值为二级压力。根据第一压力操作压力值的压力等级和预设在电子设备中的第二关联关系,确定第一压力操作的压力值所对应的功能为录像,因此确定第一功能为录像。
控制电子设备的摄像头模组开启上电,并执行录像操作,整个过程中电子设备的显示屏处于关闭状态。
可选地,压力信息还包括所述第一压力操作作用于所述电子设备上的触点位置,在步骤S103之前,该方法流程还包括:
当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的触点位置和第三关联关系,确定与所述第一压力操作的触点位置具有关联关系的功能为第一功能。
其中,所述第三关联关系包括触点位置和应用功能的关联关系。
具体地,电子设备中预先设置第三关联关系,第三关联关系用于定义不同的触点位置分别对应不同的电子设备的功能。第三关联关系在电子设备中的存储形态有多种,例如数据库文件或配置文件或一段程序代码等。
例如,在电子设备中预先设置第三关联关系,第三关联关系以数据库关系表的形式存储于电子设备中,如表4所示:
表4第三关联关系
触点位置 功能
侧边框 录音
触摸屏边角 录像
触摸屏中心区 拍照
当电子设备的压力传感器检测到作用于电子设备上的第一压力操作的压力值为5N时,预设第一压力阈值为3N,确定第一压力操作的压力值大于第一压力阈值。
电子设备的压力传感器检测压力操作作用于电子设备上的触点位置为侧边框,根据表4所示的第三关联关系可知,侧边框所对应的功能为录音,则确定录音为第一功能。
控制电子设备的麦克风开启,进行录音,整个过程中电子设备的显示屏处于关闭状态。
在本发明实施例的技术方案中,当电子设备的显示屏处于关闭状态时,检测作用于电子设备上的压力操作的压力值,当该压力值大于或等于预设的压力阈值时,控制电子设备执行第一功能,显示屏始终保持关闭状态。从而实现了用户在不点亮屏幕的情况下,也能控制电子设备执行预设的应用功能。
可选地,执行第一功能之后,该方法流程还包括当所述第一压力操作结束作用于所述电子设备时,停止执行所述第一功能。
具体地,第一压力操作作用于电子设备上,压力值大于或等于预设的第一压力阈值时,执行第一功能。第一功能开始执行后,第一压力操作继续作用于电子设备上,如第一压力操作为长按操作。当第一压力操作结束作用于电子设备时,比如用户的手掌停止挤压电子设备的边框,或用户的手指离开电子设备的触摸屏时,则停止执行第一功能。
例如用户用手指持续按压手机的触摸屏,当该按压手机的第一压力操作的压力值大于或等于预设的第一压力阈值时,手机即开启录音功能,当触摸屏检测到用户停止按压手机的触摸屏时(如用户减小按压手机触摸屏的压力值以致第一压力操作变为触摸操作,或用户的手指离开手机触摸屏等),手机即停止录音,自动保存录音文件。
通过控制压力操作的结束时间,来控制第一功能执行的停止时间,使得用户在电子设备在不开启屏幕的情况下,方便地控制预设功能的开始和结束。
可选地,执行第一功能之后,该方法流程还包括检测作用于所述电子设备上的第二压力操作的第二压力信息,所述第二压力信息包括第二压力操作的压力值;当所述第二压力操作的压力值大于或等于预设的第二压力阈值时,停止执行所述第一功能。
具体地,第一压力操作作用于电子设备上,压力值大于或等于预设的第一压力阈值时,执行第一功能。第一功能开始执行后,第一压力操作结束,比如用户减小按压手机触摸屏的压力值以致第一压力操作变为触摸操作时,或用户的手指离开手机触摸屏等,第一功能继续执行。
当电子设备检测到第二压力操作作用于电子设备上,且压力值大于或等于预设的第二压力阈值时,停止执行第一功能。其中第二压力阈值可以与第一压力阈值相同,也可以不同。
例如用户用手指按压手机的触摸屏,当该按压手机的第一压力操作的压力值大于或等于预设的第一压力阈值时,手机即开启录音功能,触摸屏检测到用户停止按压手机的触摸屏(如用户减小按压手机触摸屏的压力值以致第一压力操作变为触摸操作时,或用户的手指离开手机触摸屏等),手机继续录音。当用户再次用手指按压手机的触摸屏时,当该按压手机的第二压力操作的压力值大于或等于预设的第二压力阈值时,手机即停止录音,自动保存录音文件。通过设置第二压力阈值,防止误触电子设备干扰第一功能的执行。
通过对电子设备施加第二压力操作,来控制第一功能执行的停止时间,使得用户在电子设备在不开启屏幕的情况下,方便地控制预设功能的开始和结束。
图4为本发明实施例中一种控制电子设备的装置的结构示意图。如图4所示,该装置可以软件的形式安装运行于电子设备中,该装置包括检测模块11和处理模块12,检测模块11和处理模块12通信连接:
检测模块11,用于当电子设备的显示屏处于关闭状态时,检测作用于所述电子设备上的第一压力操作的压力信息。
其中,所述压力信息包括第一压力操作的压力值,检测模块11发送该压力信息至处理模块12。
处理模块12,用于当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能。
处理模块12确定第一压力操作的压力值大于或等于预设的第一压力阈值后,控制其他相关部件执行第一功能。例如第一功能为拍照时,处理模块12发送指令控制相机模组上电,并在一定条件下进行拍照。该条件可由用户自行设置,也可以由电子设备自动设置,例如该条件可以是对焦完成后进行拍照,或相机模组上电完成后两秒进行拍照。电子设备的显示屏始终保持关闭状态。
可选地,所述压力信息还包括所述第一压力操作的手势轨迹。
所述处理模块还用于当所述第一压力操作的压力值大于或等于预设的第一压力阈值,根据所述第一压力操作的手势轨迹和第一关联关系,确定第一功能,所述第一关联关系包括手势轨迹和应用功能的关联关系。
可选地,所述压力信息还包括所述第一压力操作作用于所述电子设备上的触点位置。
所述处理模块还用于当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的触点位置和第三关联关系,确定所述第一功能,所述第三关联关系包括触点位置和应用功能的关联关系。
在本发明实施例的技术方案中,当电子设备的显示屏处于关闭状态时,检测作用于电子设备上的压力操作的压力值,当该压力值大于或等于预设的压力阈值时,控制电子设备执行第一功能,显示屏始终保持关闭状态。从而实现了用户在不点亮屏幕的情况下,也能控制电子设备执行预设的应用功能。
可选地,所述检测模块还用于检测作用于所述电子设备上的第二压力操作的第二压力信息,所述第二压力信息包括第二压力操作的压力值。
所述处理模块还用于当所述第二压力操作的压力值大于或等于预设 的第二压力阈值时,停止执行所述第一功能。
可选地,所述检测模块还用于检测第一压力操作的结束作用于电子设备的时间,所述处理模块还用于在第一压力操作结束作用于电子设备时,停止执行第一功能。
通过对电子设备施加第二压力操作或结束第一压力操作,来控制第一功能执行的停止时间,使得用户在电子设备在不开启屏幕的情况下,方便地控制预设功能的开始和结束。
本发明实施例还提供一种电子设备,该电子设备具有如图1或图2所示的结构,其中该电子设备的触摸屏和处理器分别被配置如下:
触摸屏,用于当电子设备的显示屏处于关闭状态时,检测作用于所述电子设备上的第一压力操作的压力信息,所述压力信息包括第一压力操作的压力值。
处理器,用于当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能。
电子设备的显示屏一直保持关闭状态。
可选地,所述压力信息还包括所述第一压力操作的手势轨迹。
所述处理器还用于当所述第一压力操作的压力值大于或等于预设的第一压力阈值,根据所述第一压力操作的手势轨迹和第一关联关系,确定第一功能,所述第一关联关系包括手势轨迹和应用功能的关联关系。
可选地,所述压力信息还包括所述第一压力操作作用于所述电子设备上的触点位置。
所述处理器还用于当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的触点位置和第三关联关系,确定所述第一功能,所述第三关联关系包括触点位置和应用功能的关联关系。
可选地,所述触摸屏还用于检测作用于所述电子设备上的第二压力操作的第二压力信息,所述第二压力信息包括第二压力操作的压力值;
所述处理器还用于当所述第二压力操作的压力值大于或等于预设的第二压力阈值时,停止执行所述第一功能。
在本发明实施例的技术方案中,当电子设备的显示屏处于关闭状态时,检测作用于电子设备上的压力操作的压力值,当该压力值大于或等于预设的压力阈值时,控制电子设备执行第一功能,显示屏始终保持关闭状态。从而实现了用户在不点亮屏幕的情况下,也能控制电子设备执行预设的应用功能。通过对电子设备施加第二压力操作或结束第一压力操作,来控制第一功能执行的停止时间,使得用户在电子设备在不开启屏幕的情况下,方便地控制预设功能的开始和结束。
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、 磁碟或者光盘等各种可以存储程序代码的介质。
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (17)

  1. 一种控制电子设备的方法,其特征在于,包括:
    当电子设备的显示屏处于关闭状态时,检测作用于所述电子设备上的第一压力操作的压力信息,所述压力信息包括第一压力操作的压力值;
    当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能,所述显示屏保持关闭状态。
  2. 根据权利要求1所述的方法,其特征在于,所述压力信息还包括所述第一压力操作的手势轨迹;
    所述当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能,所述显示屏保持关闭状态,包括:
    当所述第一压力操作的压力值大于或等于预设的第一压力阈值,根据所述手势轨迹和第一关联关系,确定并执行第一功能,所述显示屏保持关闭状态,其中所述第一关联关系包括手势轨迹和应用功能的关联关系。
  3. 根据权利要求1所述的方法,其特征在于,所述当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能,所述显示屏保持关闭状态,包括:
    当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的压力值和第二关联关系,确定并执行第一功能,所述显示屏保持关闭状态,所述第二关联关系包括压力值和应用功能的关联关系。
  4. 根据权利要求1所述的方法,其特征在于,所述压力信息还包括所述第一压力操作作用于所述电子设备上的触点位置;
    所述当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能,所述显示屏保持关闭状态,包括:
    当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的触点位置和第三关联关系,确定并执行第一功能,所述显示屏保持关闭状态,所述第三关联关系包括触点位置和应用功能的 关联关系。
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述执行第一功能之后,所述方法还包括:
    检测作用于所述电子设备上的第二压力操作的第二压力信息,所述第二压力信息包括第二压力操作的压力值;
    当所述第二压力操作的压力值大于或等于预设的第二压力阈值时,停止执行所述第一功能。
  6. 根据权利要求1至4任一所述的方法,其特征在于,所述执行第一功能之后,所述方法还包括:
    当所述第一压力操作结束作用于所述电子设备时,停止执行所述第一功能。
  7. 根据权利要求1至6任一所述的方法,其特征在于,所述第一功能是指拍照功能、或录音功能、或录像功能、或拨号呼叫功能。
  8. 一种控制电子设备的装置,其特征在于,包括:
    检测模块,用于当电子设备的显示屏处于关闭状态时,检测作用于所述电子设备上的第一压力操作的压力信息,所述压力信息包括第一压力操作的压力值;
    处理模块,用于当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能,所述显示屏保持关闭状态。
  9. 根据权利要求8所述的装置,其特征在于,所述压力信息还包括所述第一压力操作的手势轨迹;
    所述处理模块还用于:
    当所述第一压力操作的压力值大于或等于预设的第一压力阈值,根据所述第一压力操作的手势轨迹和第一关联关系,确定并执行第一功能,所述显示屏保持关闭状态,其中所述第一关联关系包括手势轨迹和应用功能的关联关系。
  10. 根据权利要求8所述的装置,其特征在于,所述压力信息还包括所述第一压力操作作用于所述电子设备上的触点位置;
    所述处理模块还用于:
    当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的触点位置和第三关联关系,确定并执行第一功能,所述显示屏保持关闭状态,所述第三关联关系包括触点位置和应用功能的关联关系。
  11. 根据权利要求8至10任一所述的装置,其特征在于,所述检测模块还用于:
    检测作用于所述电子设备上的第二压力操作的第二压力信息,所述第二压力信息包括第二压力操作的压力值;
    所述处理模块还用于:
    当所述第二压力操作的压力值大于或等于预设的第二压力阈值时,停止执行所述第一功能。
  12. 根据权利要求8至11任一所述的装置,其特征在于,所述第一功能是指拍照功能、或录音功能、或录像功能、或拨号呼叫功能。
  13. 一种电子设备,其特征在于,包括:
    触摸屏,用于当电子设备的显示屏处于关闭状态时,检测作用于所述电子设备上的第一压力操作的压力信息,所述压力信息包括第一压力操作的压力值;
    处理器,用于当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,执行第一功能;
    所述电子设备的显示屏保持关闭状态。
  14. 根据权利要求13所述的电子设备,其特征在于,所述压力信息还包括所述第一压力操作的手势轨迹;
    所述处理器还用于:
    当所述第一压力操作的压力值大于或等于预设的第一压力阈值,根据所述第一压力操作的手势轨迹和第一关联关系,确定并执行第一功能,所述显示屏保持关闭状态,所述第一关联关系包括手势轨迹和应用功能的关联关系。
  15. 根据权利要求13所述的电子设备,其特征在于,所述压力信息还包括所述第一压力操作作用于所述电子设备上的触点位置;
    所述处理器还用于:
    当所述第一压力操作的压力值大于或等于预设的第一压力阈值时,根据所述第一压力操作的触点位置和第三关联关系,确定并执行第一功能,所述显示屏保持关闭状态,所述第三关联关系包括触点位置和应用功能的关联关系。
  16. 根据权利要求13至15任一所述的电子设备,其特征在于,所述触摸屏还用于:
    检测作用于所述电子设备上的第二压力操作的第二压力信息,所述第二压力信息包括第二压力操作的压力值;
    所述处理器还用于:
    当所述第二压力操作的压力值大于或等于预设的第二压力阈值时,停止执行所述第一功能。
  17. 根据权利要求13至16任一所述的电子设备,其特征在于,所述第一功能是指拍照功能、或录音功能、或录像功能、或拨号呼叫功能。
PCT/CN2015/088879 2015-09-02 2015-09-02 控制电子设备的方法、装置及电子设备 WO2017035818A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580042435.5A CN106576123A (zh) 2015-09-02 2015-09-02 控制电子设备的方法、装置及电子设备
PCT/CN2015/088879 WO2017035818A1 (zh) 2015-09-02 2015-09-02 控制电子设备的方法、装置及电子设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/088879 WO2017035818A1 (zh) 2015-09-02 2015-09-02 控制电子设备的方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2017035818A1 true WO2017035818A1 (zh) 2017-03-09

Family

ID=58186500

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088879 WO2017035818A1 (zh) 2015-09-02 2015-09-02 控制电子设备的方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN106576123A (zh)
WO (1) WO2017035818A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395888B (zh) * 2017-07-28 2019-09-24 Oppo广东移动通信有限公司 黑屏手势的处理方法、装置、存储介质及移动终端
CN107479700B (zh) * 2017-07-28 2020-05-12 Oppo广东移动通信有限公司 黑屏手势控制方法、装置、存储介质及移动终端
CN107450837B (zh) * 2017-07-28 2019-09-24 Oppo广东移动通信有限公司 响应黑屏手势的方法、装置、存储介质及移动终端
CN107506072B (zh) * 2017-08-07 2020-05-08 Oppo广东移动通信有限公司 触摸屏控制方法、装置及终端设备
EP3660638A4 (en) 2017-08-21 2020-07-15 Huawei Technologies Co., Ltd. CONTROL METHOD FOR AN ELECTRONIC DEVICE AND INPUT DEVICE
CN108920062A (zh) * 2018-05-11 2018-11-30 努比亚技术有限公司 应用功能的快速实现方法、移动终端及可读存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877744A (zh) * 2010-06-22 2010-11-03 中兴通讯股份有限公司 一种终端锁定、解锁方法和装置
CN102479040A (zh) * 2010-11-25 2012-05-30 联想(北京)有限公司 一种触摸处理方法及便携移动终端
CN103019490A (zh) * 2012-12-18 2013-04-03 广东欧珀移动通信有限公司 一种优化电容触摸屏操作的方法及其系统
JP2014090397A (ja) * 2012-10-03 2014-05-15 Ricoh Co Ltd 画像形成装置及び画像形成方法
WO2015043642A1 (en) * 2013-09-26 2015-04-02 Longsand Limited Device notifications
CN104615469A (zh) * 2015-02-15 2015-05-13 福建时中通讯科技有限公司 一种可快速启动腕式手机应用程序的方法
CN104765536A (zh) * 2014-01-07 2015-07-08 宏达国际电子股份有限公司 电子装置控制方法以及执行此方法的电子装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699369A (zh) * 2009-11-18 2010-04-28 英华达(南昌)科技有限公司 一种用于电子设备压力触发装置和包含所述装置的电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877744A (zh) * 2010-06-22 2010-11-03 中兴通讯股份有限公司 一种终端锁定、解锁方法和装置
CN102479040A (zh) * 2010-11-25 2012-05-30 联想(北京)有限公司 一种触摸处理方法及便携移动终端
JP2014090397A (ja) * 2012-10-03 2014-05-15 Ricoh Co Ltd 画像形成装置及び画像形成方法
CN103019490A (zh) * 2012-12-18 2013-04-03 广东欧珀移动通信有限公司 一种优化电容触摸屏操作的方法及其系统
WO2015043642A1 (en) * 2013-09-26 2015-04-02 Longsand Limited Device notifications
CN104765536A (zh) * 2014-01-07 2015-07-08 宏达国际电子股份有限公司 电子装置控制方法以及执行此方法的电子装置
CN104615469A (zh) * 2015-02-15 2015-05-13 福建时中通讯科技有限公司 一种可快速启动腕式手机应用程序的方法

Also Published As

Publication number Publication date
CN106576123A (zh) 2017-04-19

Similar Documents

Publication Publication Date Title
WO2019228294A1 (zh) 对象分享方法及移动终端
WO2019174611A1 (zh) 应用程序的设置方法及移动终端
WO2017035818A1 (zh) 控制电子设备的方法、装置及电子设备
CN108984067B (zh) 一种显示控制方法及终端
WO2019228297A1 (zh) 显示控制方法及终端
US10423264B2 (en) Screen enabling method and apparatus, and electronic device
US20180150211A1 (en) Method for adjusting photographing focal length of mobile terminal by using touchpad, and mobile terminal
WO2014206101A1 (zh) 一种基于手势的会话处理方法、装置及终端设备
CN108415641B (zh) 一种图标的处理方法及移动终端
WO2016197697A1 (zh) 手势控制方法、装置及系统
WO2015043194A1 (zh) 虚拟键盘显示方法、装置及终端
WO2017113365A1 (zh) 响应作用在触摸屏上的手势的方法和终端
US10838596B2 (en) Task switching method and terminal
CN110531915B (zh) 屏幕操作方法及终端设备
WO2019114522A1 (zh) 屏幕控制方法、屏幕控制装置及移动终端
WO2019169991A1 (zh) 显示方法及移动终端
WO2020238647A1 (zh) 手势交互方法和终端
WO2013135169A1 (zh) 一种输入法键盘的调整方法及其移动终端
WO2020020213A1 (zh) 信息输入方法及终端
WO2020078234A1 (zh) 显示控制方法及终端
WO2020134743A1 (zh) 图标移动方法及终端
WO2020024770A1 (zh) 确定通讯对象的方法及移动终端
WO2017206853A1 (zh) 一种滑动加速响应方法、及相关产品
CN110795189A (zh) 一种应用启动方法及电子设备
CN108984099B (zh) 一种人机交互方法及终端

Legal Events

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

Ref document number: 15902625

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15902625

Country of ref document: EP

Kind code of ref document: A1