WO2018228143A1 - 传感器按键的控制方法、移动终端及计算机可读存储介质 - Google Patents

传感器按键的控制方法、移动终端及计算机可读存储介质 Download PDF

Info

Publication number
WO2018228143A1
WO2018228143A1 PCT/CN2018/087708 CN2018087708W WO2018228143A1 WO 2018228143 A1 WO2018228143 A1 WO 2018228143A1 CN 2018087708 W CN2018087708 W CN 2018087708W WO 2018228143 A1 WO2018228143 A1 WO 2018228143A1
Authority
WO
WIPO (PCT)
Prior art keywords
sensor
mobile terminal
button
sensor button
controlling
Prior art date
Application number
PCT/CN2018/087708
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 WO2018228143A1 publication Critical patent/WO2018228143A1/zh

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/941Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated using an optical detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/23Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/94Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
    • H03K2217/941Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated using an optical detector
    • H03K2217/94102Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated using an optical detector characterised by the type of activation
    • H03K2217/94108Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated using an optical detector characterised by the type of activation making use of reflection

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a method for controlling a sensor button, a mobile terminal, and a computer readable storage medium.
  • the mobile terminal has a touch screen for receiving a touch operation, and the side of the terminal is also provided with one or more physical buttons for performing other operations, such as power, volume keys, etc., and some mobile terminal front panels
  • the physical button ⁇ since there is a gap between the physical button and the body, it is not convenient for the body to be waterproof, and the protrusion of the solid button also affects the appearance of the terminal. At the same time, the physical buttons on the front panel can reduce the screen ratio of the front panel of the mobile terminal due to the large space occupied.
  • the main object of the present invention is to provide a method for controlling a sensor button, a mobile terminal, and a computer readable storage medium, aiming at solving the problems of the prior art. .
  • a first aspect of the embodiments of the present invention provides a method for controlling a sensor button, which is applied to a mobile terminal, and the method includes the following steps:
  • the infrared emitter emits infrared light
  • the infrared sensor detects intensity information of the received infrared rays
  • the preset change rule includes:
  • the intensity information is first increased to a first threshold, and then decreased by the first threshold to a second threshold.
  • the mobile terminal is provided with a plurality of sensor arrays arranged on the side of the mobile terminal, and the method further includes: before the sensor button receives the initiating command, the method further includes:
  • the generating, according to the position and coordinate information of the suspended movement trajectory, generating a triggering instruction, and the corresponding at least one sensor button in the sensor array on the side of the mobile terminal includes:
  • the corresponding at least one sensor button in the sensor array on the side of the mobile terminal according to the intersection of the extension line of the suspended movement track and the side of the mobile terminal includes:
  • the method further includes the following steps:
  • the step according to the current running state of the mobile terminal, the corresponding function of the sensor button that is given to:
  • the method further includes the following steps:
  • the method further includes the following steps:
  • a second aspect of the embodiments of the present invention provides a mobile terminal, including at least one sensor button, a memory, and a processor;
  • the memory is configured to store a sensor button control method program
  • the processor is configured to execute the sensor button control program to implement the steps of the sensor button control method as described above.
  • a third aspect of the embodiments of the present invention provides a computer readable storage medium, where the computer readable storage medium stores a sensor button control method program, and the sensor button control method program The steps of the sensor button control method described in the first aspect are performed by a processor.
  • the control method of the sensor button, the mobile terminal and the computer readable storage medium provided by the embodiment of the invention can replace the original physical button by using the sensor to realize the button function, thereby reducing the inconvenience caused by the loss of the original mechanical case. Moreover, reducing the button occupancy of the front panel can make the terminal more beautiful and provide a richer operation experience.
  • FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention
  • FIG. 2 is a structural diagram of a communication network system according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an embodiment of a sensor button according to an embodiment of the present invention.
  • FIG. 4 is a side elevational view of an embodiment of a sensor button according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of an embodiment of a method for controlling a sensor button according to an embodiment of the present invention.
  • 6 is a schematic flow chart of another embodiment of a method for controlling a sensor button according to an embodiment of the present invention;
  • FIG. 7 is a schematic flowchart of a sensor for controlling a sensor button according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram showing a function of giving a function in a method for controlling a sensor button according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 10 is another schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a sensor array in a mobile terminal according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural view of a sensor array corresponding to a dangling movement track in a mobile terminal according to an embodiment of the present invention.
  • module the suffixes such as “module”, “component” or “unit” used to denote an element are merely for the purpose of facilitating the description of the present invention, and have no specific meaning per se. Therefore, “module”, “part” or “unit” can be used in combination.
  • the terminal can be implemented in various forms.
  • the terminal described in the present invention may include, for example, a mobile phone, a tablet, a notebook, a palmtop, a personal digital assistant (Personal Digital)
  • PDAs portable media players
  • PMPs portable media players
  • navigation devices wearable devices
  • wearable devices smart bracelets
  • pedometers other mobile terminals
  • fixed terminals such as digital TVs, desktop computers.
  • a mobile terminal will be taken as an example, and those skilled in the art will understand that the configuration according to an embodiment of the present invention can also be applied to a fixed type, except for an element specifically for mobile purposes. terminal.
  • FIG. 1 is a schematic diagram of a hardware structure of a mobile terminal that implements various embodiments of the present invention.
  • the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, and an audio output unit. 103, A/V (audio/video) input unit 104, sensor 105, display unit 10 6, user input unit 107, interface unit 108, memory 109, processor 110, power supply 111, etc. Parts.
  • RF Radio Frequency
  • WiFi module 102 Wireless Fidelity
  • the radio frequency unit 101 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. Specifically, after receiving the downlink information of the base station, the radio frequency unit 101 is processed by the processor 110. In addition, the uplink data is sent to the base station.
  • radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio unit 101 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 GSM
  • Code Division Multiple Access 2000 Code Division Multiple Access 2000
  • WCDMA Wideband Code Division Multiple Access
  • TD-SCDMA Time Division-Synchronous Code Division Multiple Access
  • FDD-LTE Frequency Division Duplexing-Long Term Evolution
  • TDD-LTE Time Division Duplexing-Long Term Evolution
  • WiFi is a short-range wireless transmission technology
  • the mobile terminal can help the user to send and receive emails, browse web pages, and access streaming media through the WiFi module 102, which provides wireless broadband Internet access for users.
  • FIG. 1 shows the WiFi module 102, it can be understood that it does not belong to the essential configuration of the mobile terminal, and can be omitted as needed within the scope of not changing the essence of the invention.
  • the audio output unit 103 may receive the radio frequency unit 101 or the WiFi module 102 or in the memory when the mobile terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
  • the audio data stored in 109 is converted into an audio signal and output as sound.
  • the audio output unit 103 can also provide audio output (e.g., call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
  • the audio output unit 103 may include a speaker, a buzzer, and the like.
  • the A/V input unit 104 is for receiving an audio or video signal.
  • the A/V input unit 104 can include a graphic A graphics processing unit (GPU) 1041 and a microphone 1042, the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
  • the processed image frame can be displayed on the display unit 106.
  • the image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio unit 101 or the WiFi module 102.
  • the microphone 1042 can receive sound (audio data) via the microphone 1042 in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data.
  • the processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 101 in the case of a telephone call mode.
  • Microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
  • the mobile terminal 100 also includes at least one type of sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can move to the ear ⁇ at the mobile terminal 100, and close the display panel 1061 and / or backlight.
  • the accelerometer sensor can detect the acceleration in all directions (usually three axes).
  • the static ⁇ can detect the magnitude and direction of gravity.
  • gestures of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as well as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, Other sensors such as thermometers and infrared sensors are not described here.
  • the senor 105 can be a light sensor, and the light sensor can be used as a sensor button to replace the physical button in the prior art.
  • the display unit 106 is for displaying information input by the user or information provided to the user.
  • the display unit 106 can include a display panel 1061, which can be a liquid crystal display (LCD) or an organic light-emitting diode (Organic Light-Emitting Diode).
  • LCD liquid crystal display
  • organic Light-Emitting Diode Organic Light-Emitting Diode
  • the display panel 1061 is configured in the form of OLED or the like.
  • the user input unit 107 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 107 may include a touch panel 1071 and other input devices 1072.
  • Touch panel 1071 also known as touch screen, can be used for collection a touch operation on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 1071 or in the vicinity of the touch panel 1071), and driving according to a preset program Connection device.
  • the touch panel 1071 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
  • the processor 110 is provided and can receive commands from the processor 110 and execute them.
  • the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user input unit 107 may also include other input devices 1072.
  • the other input device 1072 may include, but is not limited to, one or more of a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like. limited.
  • a function key such as a volume control button, a switch button, etc.
  • a trackball such as a mouse, a joystick, and the like. limited.
  • the touch panel 1071 can cover the display panel 1061. After the touch panel 1071 detects a touch operation on or near the touch panel 1071, it is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 A corresponding visual output is provided on display panel 1061 depending on the type of touch event.
  • the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated. The input and output functions of the mobile terminal are implemented, and are not limited herein.
  • the interface unit 108 serves as an interface through which at least one external device can connect with the mobile terminal 100.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the interface unit 108 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal 100 and externally Data is transferred between devices.
  • an external device eg, data information, power, etc.
  • the memory 109 can be used to store software programs as well as various data.
  • the memory 109 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 the mobile phone (such as audio data, phone book, etc.).
  • the memory 109 can A high speed random access memory is included, and may 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 processor 110 is a control center of the mobile terminal, connecting various parts of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 109, and calling stored in the memory 109.
  • the internal data performs various functions and processing data of the mobile terminal, thereby performing overall monitoring on the mobile terminal.
  • the processor 110 may include one or more processing units.
  • the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution.
  • the processor mainly handles wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 110.
  • the mobile terminal 100 may further include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system to manage charging, discharging, and the like by the power management system. Power management and other functions.
  • the mobile terminal 100 may further include a Bluetooth module or the like, and details are not described herein again.
  • FIG. 2 is a schematic structural diagram of a communication network system according to an embodiment of the present invention.
  • the communication network system is an LTE system of universal mobile communication technology, and the LTE system includes UEs that are sequentially connected in communication (User Equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core) 203 and IP service 204 of the operator.
  • User Equipment User Equipment
  • E-UTRAN Evolved UMTS Terrestrial Radio Access Network
  • EPC Evolved Packet Core
  • the UE 201 may be the foregoing terminal 100, and details are not described herein again.
  • the E-UTRAN 202 includes an eNodeB 2021 and other eNodeBs 2022 and the like.
  • the eNodeB 2021 can be connected to other eNodeBs 2022 through a backhaul (for example, an X2 interface), and the eNodeB 2021 is connected to the SJEPC 203.
  • the eNodeB 2021 can provide access to the UE 201 to the EPC 203.
  • the EPC 203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, another MME 2033, an SGW (Serving Gate Way), a service gateway 2034, and a PGW (PDN Gate Way). , Packet Data Network Gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff functions) Entity) 2036 and so on.
  • MME Mobility Management Entity
  • HSS Home Subscriber Server
  • SGW Serving Gate Way
  • PGW Packet Data Network Gateway
  • PCRF Policy and Charging Rules Function, policy and tariff functions
  • All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions of UE 201, and PCRF2036 is a policy and charging control policy decision point for service data flow and IP bearer resources, which is a policy and charging execution function. Units (not shown) select and provide available policy and billing control decisions.
  • the IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services, and the like.
  • IMS IP Multimedia Subsystem
  • LTE system is taken as an example, those skilled in the art should know that the present invention is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA200 0, WCDMA, TD- SCDMA and new network systems in the future are not limited here.
  • FIG. 3 is a schematic structural diagram of an embodiment of a sensor button according to an embodiment of the present invention.
  • the sensor button may be a light sensor.
  • the light sensor uses infrared light. It can be understood that the number of the sensor buttons can be multiple, and three of them are exemplified in FIG. 3. It can be understood by those skilled in the art that the number of the sensor buttons can be set according to actual needs, and the embodiment of the present invention does not Limited.
  • the sensor buttons are all disposed on the side of the mobile terminal, thereby replacing the original physical buttons (such as the volume button, the power button) and the home button, the back button, the menu button of the front panel, etc., reducing the original
  • the sensor button in this embodiment has no protrusion on the side to prevent wear, and can be integrally packaged in the casing to enhance the waterproof performance of the mobile phone.
  • the sensor button can also be disposed on the back, top or bottom of the mobile terminal.
  • the sensor button includes an infrared emitter and an infrared sensor, and the infrared emitter emits infrared light to the outside.
  • the sensor button When the sensor button is unobstructed or has no finger contact, the reflection is reflected. The intensity of the infrared light reaching the infrared sensor will be low (to some infrared rays that are reflected back by the housing).
  • the infrared sensor When the finger touches the sensor button, the infrared sensor will detect the infrared sensor. The intensity of the infrared ray becomes large. Therefore, the change in the intensity of the infrared ray detected by the infrared sensor can determine whether the user has touched the sensor button, thereby realizing the function of replacing the physical button.
  • FIG. 4 is a side elevational view of an embodiment of a sensor button according to an embodiment of the present invention. As shown, the sensor buttons 51, 52, 53 are located on the side of the mobile terminal 50 and form an integral structure with the side casing. The surface of the sensor button can be coated or patterned to make the mobile terminal more attractive.
  • FIG. 5 is a flowchart of an embodiment of a method for controlling a sensor button according to an embodiment of the present invention.
  • the control method of the sensor button is applied to a mobile terminal, and the sensor button includes an infrared emitter and an infrared sensor.
  • the method for controlling the sensor button includes the following steps:
  • the infrared emitter emits infrared light
  • the sensor button may be located at the side of the terminal, or at the back, top or bottom of the terminal.
  • the infrared emitter emits infrared light.
  • the infrared sensor detects intensity information of the received infrared rays
  • the received infrared ray refers to infrared ray emitted by the infrared emitter through the housing or reflected by other objects.
  • the change rule includes that the intensity information first increases to a first threshold, and then decreases from the first threshold to a second threshold.
  • the first threshold and the second threshold may be set in advance.
  • the first threshold is the infrared intensity detected by the infrared sensor when the finger is pressed and held by the sensor button;
  • the second threshold is the infrared light detected by the infrared sensor when there is no occlusion on the sensor button strength.
  • the infrared sensor detects the infrared intensity.
  • the sensor button judges the whole action as an instruction and executes the corresponding operation of the instruction. That is to say, in order to prevent accidental contact caused by the sensor button, it is not determined to be a touch action when placed on the sensor button, but is determined to be a touch action after being placed, so that it can be more accurately realized. Touch sensor key movement recognition, and can reduce the occurrence of false touches.
  • the function corresponding to the sensor button is executed in accordance with the control operation.
  • the control method of the sensor button provided by the embodiment of the invention can replace the original physical button by using the sensor to realize the button function, thereby reducing the inconvenience caused by the loss of the original mechanical case, and reducing the button occupation of the front panel. It can make the terminal more beautiful and provide a richer operating experience.
  • FIG. 6 is a schematic flow chart of generating a sensor button activation command in a method for controlling a sensor button according to an embodiment of the present invention.
  • the sensor terminal is provided with a plurality of sensor arrays arranged on the side of the mobile terminal. Since there are many sensor buttons, in order to save power consumption, under normal circumstances, the sensor button In the sleep state, only after receiving the start command, the embodiment further includes the step of how to generate the start command of the sensor button.
  • the method comprises the following steps:
  • the current operating state of the mobile terminal includes: shutdown, lock screen, running a specific application interface, and the like.
  • the touch object may be a user's finger, a stylus, or the like.
  • the mobile terminal 40 may include a proximity sensor 43 disposed on the screen of the mobile terminal and a sensor array formed by arranging a plurality of sensor keys disposed on the side (left or right side) of the mobile terminal. Lj44.
  • the proximity sensor 43 may be an inductive sensor, and the distance from the finger to the inductive sensor Different distances can generate different current sizes for identification.
  • the proximity sensor 43 can also be a capacitive sensor.
  • the senor in the sensor array 44 may be a light sensor. In other embodiments, it may be an electromagnetic sensor or a capacitive sensor.
  • the thumb generally performs a click operation and a sliding operation of the screen.
  • the proximity sensor detects that the finger is in a floating state, it detects the hanging movement of the finger.
  • [0106] 34 generating a start command according to the position and coordinate information of the suspended moving track, and activating at least one corresponding sensor button in the sensor array on the side of the mobile terminal;
  • the trajectory of the finger for example, the thumb of the end user
  • the ⁇ can pass
  • the proximity sensor 43 acquires the specific position and coordinate information of the track a, and then activates the sensor button X on the side of the mobile terminal according to the specific position and coordinate information of the track a.
  • the track a can correspond to the sensor button X
  • the track b can correspond to the sensor button y
  • the track c can correspond to the sensor button 2 .
  • the corresponding at least one sensor button in the sensor array on the side of the mobile terminal may be activated according to the intersection of the extension line of the suspended movement trajectory and the side of the mobile terminal.
  • the two sensors can be turned on. Press the button (sensor button X and sensor button y), or activate a sensor button (sensor button X or sensor button y).
  • an extension line of the dangling movement trajectory and the movement may be At the intersection of the sides of the terminal, the corresponding at least one sensor button in the sensor array on the side of the mobile terminal may include the following steps:
  • the method may further include a step (not shown in the drawing): prompting the position of the sensor button. It should be noted that this step can be implemented or executed after step 34 or step 342.
  • the user may be prompted by LED or other forms on the side of the mobile terminal, and the sensor of the activated button is pressed.
  • the activation of the sensor button in the sensor array is not initiated when the finger of the terminal user is placed on the screen of the mobile terminal, and the movement track of the finger should be detected from the center of the screen to the screen.
  • the right side (or left side) is only activated after moving. Since most of the sensors in the sensor array work in the sleep state, they will only be active when the finger activity is detected, so that accidental touch can be avoided.
  • the light sensors at different positions can be activated to facilitate different people.
  • the corresponding functions of the sensor button assigned to the mobile terminal include:
  • the corresponding function of the sensor button is given, and the corresponding instruction may be obtained by presetting the instruction set, that is, according to the running state of the mobile terminal,
  • the command is associated with the information corresponding to the sensor button of the switch, and when the user touches the sensor button of the switch, the corresponding function can be immediately executed.
  • the instructions may be different depending on the operating state.
  • the command when the mobile terminal is in the power-off state, the command may be down; when the mobile terminal is in the lock screen, the command may be a bright screen; when the lock screen music is played, the command may be a volume adjustment; when the terminal is in a specific state In the application interface, the command can be returned to the previous level, returned to the desktop, and so on.
  • the relationship between the command and the running state may be set in advance, or may be set by the user or automatically generated according to the user's usage.
  • the method may further include the following steps:
  • the method may further include the following steps:
  • the associated instruction corresponding to the sensor button of the floating window can be visually observed; if the user feels that the instruction matches the error, the desired window can be directly selected in the floating window. instruction.
  • the terminal 40 includes a sensor array 44, and the sensor array 44 includes a plurality of sensor buttons (shown as 441 in FIG. 11, shown by x, y, and z in FIG. 12), and each sensor button can work independently from the top.
  • the bottom is distributed on the right side of the terminal, and each sensor button is in a sleep state.
  • the terminal 40 further includes a proximity sensor 43, the area of the proximity sensor 43 matches the length of the sensor array 44.
  • the proximity sensor has a width of 2cm-5cm (mainly depending on the size of the screen of the mobile terminal), and the proximity sensor can be an inductive sensor or a capacitive sensor, which can detect the hanging movement track of the finger on the front panel of the mobile terminal.
  • the preset condition is met.
  • the specific position and coordinate information of the track a are obtained.
  • the coordinate information includes the intersection X of the extension line and the right side of the track a on the right side of the screen.
  • Track a can correspond to the sensor button x
  • the track b can correspond to the sensor button y
  • the track c can correspond to the sensor button 2 .
  • the corresponding function of the sensor button that is given to the sensor can be set in advance by setting the instruction set.
  • the corresponding command is obtained according to the running state, and the instruction is associated with the information corresponding to the sensor button.
  • the corresponding function can be immediately executed.
  • the mobile terminal screen is provided with a proximity sensor to detect the hanging movement track of the user's thumb; when the hanging movement track of the user's thumb conforms to the preset trajectory, according to the coordinates of the trajectory
  • the sensor button at a specific position, and the corresponding function of the sensor button of the ⁇ ;; can avoid the sensor button mis-touch, suitable for a variety of different users, while improving the user experience.
  • a second embodiment of the present invention provides a mobile terminal, where the mobile terminal 40 includes at least one sensor button, a memory 41, and a processor 42.
  • the memory 41 is configured to store a sensor button control method program
  • the processor 42 is configured to perform the steps of the sensor button control program implementing the sensor button control method.
  • the processor 42 executes the sensor button control program to implement the following steps:
  • the infrared emitter emits infrared light
  • the infrared sensor detects intensity information of the received infrared rays
  • the mobile terminal 40 may further include [0148] The proximity sensor 43 of the mobile terminal screen and the sensor array 44 disposed on the side (left or right side) of the mobile terminal.
  • the proximity sensor 43 may be an inductive sensor, and different distances may be generated by the distance of the finger from the inductive sensor to perform identification.
  • the proximity sensor 43 can be a capacitive sensor.
  • the senor in the sensor array 44 may be a light sensor.
  • the electromagnetic sensor or the capacitive sensor may also be used, and the embodiment of the present invention is not limited thereto.
  • the processor 42 executes the sensor button control program to implement the following steps:
  • the current operating state of the mobile terminal includes: shutdown, lock screen, running a specific application interface, and the like.
  • the processor 42 executes the sensor button control program and is further configured to implement the following steps:
  • the processor 42 executes the sensor button control program and is further configured to implement the following steps:
  • the processor 42 executes the sensor button control program, and is further configured to implement the following steps:
  • the user may be prompted by LED or other forms on the side of the mobile terminal.
  • the processor 42 executes the sensor button control program and is further configured to implement the following steps:
  • the processor 42 executes the sensor button control program and is further configured to implement the following steps:
  • the processor 42 executes the sensor button control program and is further configured to implement the following steps:
  • the sensor array is located on the right side of the screen as an example:
  • the terminal 40 includes a sensor array 44, and the sensor array 44 includes a plurality of sensor buttons (shown as 441 in FIG. 11, shown by x, y, and z in FIG. 12), and each sensor button can work independently from the top.
  • the bottom is distributed on the right side of the terminal, and each sensor button is in a sleep state.
  • the terminal 40 further includes a proximity sensor 43, the area of the proximity sensor 43 matches the length of the sensor array 44.
  • the proximity sensor has a width of 2cm-5cm (mainly depending on the size of the screen of the mobile terminal), and the proximity sensor can be an inductive sensor or a capacitive sensor, which can detect the hanging movement track of the finger on the front panel of the mobile terminal.
  • the preset condition is met.
  • the trajectory of the finger for example, the thumb of the end user
  • the specific position and coordinate information of the track a is obtained.
  • the coordinate information includes an intersection X of the extension line of the track a on the right side of the screen and the right side.
  • the position and coordinate information of the trajectory correspond to different sensor buttons.
  • the track a can correspond to the sensor button x
  • the track b can correspond to the sensor button y
  • the track c can correspond to the sensor button 2 .
  • the corresponding function of the sensor button that is given to the sensor can be set in advance by setting the instruction set.
  • the corresponding command is obtained according to the running state, and the instruction is associated with the information corresponding to the sensor button.
  • the corresponding function can be immediately executed.
  • the instructions may be different depending on the operating state. For example: When the mobile terminal is in the power-off state, the command can be down; when the mobile terminal is in the lock screen, the command can be bright; when the lock screen music is played, the command can be volume adjustment; when the mobile terminal is in the specific application interface ⁇ , the instruction can be returned to the previous level, returned to the desktop, and so on.
  • the relationship between the command and the running state may be set in advance, or may be set by the user or automatically generated according to the usage of the user.
  • the mobile terminal screen sets a proximity sensor to detect a hanging movement track of the user's thumb; when the hanging movement track of the user's thumb conforms to the preset track, the specific position is determined according to the coordinates of the track.
  • the sensor and the corresponding function of the sensor are enabled; the sensor can be prevented from being accidentally touched, and is suitable for use by a plurality of different users, thereby improving the user experience.
  • a third embodiment of the present invention provides a computer readable storage medium, wherein the computer readable storage medium stores a sensor button control method program, and the sensor button control method program is executed by a processor to implement the first implementation. The steps of the sensor button control method described in the example.
  • the light sensor array is located on the right side of the screen as an example:
  • the terminal 40 includes a sensor array 44, and the sensor array 44 includes a plurality of sensor buttons (shown as 441 in FIG. 11, shown by x, y, and z in FIG. 12), and each sensor button can work independently from the top. Downward distribution On the right side of the terminal, each sensor button is in a sleep state.
  • the terminal 40 further includes a proximity sensor 43, the area of the proximity sensor 43 matching the length of the sensor array 44, the proximity sensor having a width of 2 cm to 5 cm (mainly depending on the size of the screen of the mobile terminal), and the proximity sensor may be an inductive sensor or The capacitive sensor can detect the hanging movement track of the finger on the front panel of the mobile terminal.
  • the preset condition is met.
  • the specific position and coordinate information of the track a are obtained.
  • the coordinate information includes the intersection X of the extension line and the right side of the track a on the right side of the screen.
  • the position and coordinate information of the trajectory correspond to different sensor buttons.
  • the track a can correspond to the sensor button x
  • the track b can correspond to the sensor button y
  • the track c can correspond to the sensor button 2 .
  • the corresponding function of the sensor button that is given to the sensor can be set in advance by setting the instruction set.
  • the corresponding command is obtained according to the running state, and the instruction is associated with the information corresponding to the sensor button.
  • the corresponding function can be immediately executed.
  • the instructions may be different depending on the operating state. For example: When the mobile terminal is in the power-off state, the command can be down; when the mobile terminal is in the lock screen, the command can be bright; when the lock screen music is played, the command can be volume adjustment; when the mobile terminal is in the specific application interface ⁇ , the instruction can be returned to the previous level, returned to the desktop, and so on.
  • the relationship between the command and the running state may be set in advance, or may be set by the user or automatically generated according to the user's usage.
  • the mobile terminal screen is provided with a proximity sensor to detect a hanging movement track of the user's thumb; when the hanging movement track of the user's thumb conforms to the preset trajectory, according to the coordinates of the trajectory a sensor button at a specific position, and gives the corresponding function of the sensor; It can avoid sensor mis-touch, suitable for many different users, and enhance user experience.
  • the control method of the sensor button, the mobile terminal and the computer readable storage medium provided by the embodiment of the invention can replace the original physical button by using the sensor to realize the button function, thereby reducing the inconvenience caused by the loss of the original mechanical case. Moreover, reducing the button occupancy of the front panel can make the terminal more beautiful and provide a richer operating experience, and thus has industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

一种传感器按键的控制方法、移动终端及计算机可读存储介质,所述方法包括以下步骤:当传感器按键接收到开启指令时,红外发射器发射红外线(21);红外感测器侦测接收到的红外线的强度信息(22);当所述强度信息符合预设的变化规则时,确定为存在触控物件对所述传感器按键的控制操作(23);根据所述控制操作执行所述传感器按键对应的功能(24)。该传感器按键能够替代原有的实体按键,减少原有的机械案件损耗带来的不便,提供更加丰富的操作体验。

Description

技术领域
[0001] 本发明涉及终端技术领域, 尤其涉及一种传感器按键的控制方法、 移动终端及 计算机可读存储介质。
背景技术
[0002] 现阶段, 随着移动终端的不断发展, 移动终端的控制方式也越来越多。 通常, 移动终端具有一触摸屏用于接收触摸操作, 同吋, 终端的侧面还会设置有一个 或多个实体按键, 用于执行其他的操作, 比如电源、 音量键等, 有的移动终端 正面面板下方也会设置一个或多个实体按键, 比如 Home键、 返回键、 菜单键等
[0003] 在采用实体按键吋, 由于实体按键与机身处会有缝隙, 不便于机身的防水, 实 体按键的凸起也会影响终端的美观。 同吋, 正面板上的实体按键由于占用空间 较大, 也会降低移动终端正面板的屏占比。
技术问题
[0004] 本发明的主要目的在于提出一种传感器按键的控制方法、 移动终端及计算机可 读存储介质, 旨在解决现有技术存在的问题。 。
问题的解决方案
技术解决方案
[0005] 为实现上述目的, 本发明实施例第一方面提供一种传感器按键的控制方法, 应 用于移动终端, 所述方法包括步骤:
[0006] 当传感器按键接收到幵启指令吋, 所述红外发射器发射红外线;
[0007] 所述红外感测器侦测接收到的红外线的强度信息;
[0008] 当所述强度信息符合预设的变化规则吋, 确定为存在触控物件对所述传感器按 键的控制操作;
[0009] 根据所述控制操作执行所述传感器按键对应的功能。
[0010] 可选的, 所述预设的变化规则包括:
[0011] 所述强度信息先增大至第一阈值, 再由所述第一阈值减小至第二阈值。
[0012] 可选的, 所述移动终端侧面设置有多个传感器按键排列形成的传感器阵列, 所 述当传感器按键接收到幵启指令之前, 所述方法还包括:
[0013] 获取所述移动终端当前的运行状态;
[0014] 通过所述移动终端屏幕的接近传感器, 获取触控物件的悬空移动轨迹;
[0015] 当获取到的触控物件的悬空移动轨迹符合预设条件吋, 获取悬空移动轨迹的位 置和坐标信息;
[0016] 根据悬空移动轨迹的位置和坐标信息生成幵启指令, 幵启所述移动终端侧面的 传感器阵列中的相对应的至少一个传感器按键;
[0017] 根据所述移动终端当前的运行状态, 赋予幵启的传感器按键相应的功能。
[0018] 可选的, 所述根据悬空移动轨迹的位置和坐标信息生成幵启指令, 幵启移动终 端侧面的传感器阵列中的相对应的至少一个传感器按键包括:
[0019] 根据所述悬空移动轨迹的延长线与所述移动终端侧面的交点, 幵启移动终端侧 面的传感器阵列中的相对应的至少一个传感器按键。
[0020] 可选的, 所述根据所述悬空移动轨迹的延长线与所述移动终端侧面的交点, 幵 启移动终端侧面的传感器阵列中的相对应的至少一个传感器按键包括:
[0021] 若所述悬空移动轨迹的延长线与所述移动终端侧面的交点位于移动终端侧面的 传感器阵列中的相邻两个传感器按键之间, 则幵启所述移动终端侧面的传感器 阵列中的相邻两个传感器按键。
[0022] 可选的, 所述方法还包括步骤:
[0023] 提示幵启的传感器按键的位置。
[0024] 可选的, 所述步骤根据移动终端当前的运行状态, 赋予幵启的传感器按键相应 的功能包括:
[0025] 根据移动终端当前的运行状态, 获取预先设置指令集中的指令;
[0026] 将获取到的指令与所述幵启的至少一个传感器按键进行关联。 [0027] 可选的, 所述方法还包括步骤:
[0028] 通过悬浮窗提示所述幵启的至少一个传感器按键对应的关联指令, 其中所述悬 浮窗包括至少一个预设的指令集。
[0029] 可选的, 所述方法还包括步骤:
[0030] 获取所述悬浮窗的触控指令, 将所述触控指令对应的指令赋予所述幵启的至少 一个传感器按键。
[0031] 此外, 为实现上述目的, 本发明实施例第二方面提供一种移动终端, 包括至少 一个传感器按键、 存储器以及处理器;
[0032] 所述存储器, 配置为存储传感器按键控制方法程序;
[0033] 所述处理器, 配置为执行所述传感器按键控制程序吋实现如上述所述的传感器 按键控制方法的步骤。
[0034] 再者, 为实现上述目的, 本发明实施例第三方面提供一种计算机可读存储介质 , 所述计算机可读存储介质上存储有传感器按键控制方法程序, 所述传感器按 键控制方法程序被处理器执行吋实现第一方面所述的传感器按键控制方法的步 骤。
[0035] 本发明实施例提供的传感器按键的控制方法、 移动终端及计算机可读存储介质 , 通过采用传感器实现按键功能, 能够替代原有的实体按键, 减少原有的机械 案件损耗带来的不便, 并且, 减少前面板的按键占用, 可以使得终端更加美观 , 并能提供更加丰富的操作体验。
发明的有益效果
对附图的简要说明
附图说明
[0036] [0036]图 1为实现本发明各个实施例的移动终端的硬件结构示意图;
[0037] 图 2为本发明实施例提供的一种通信网络系统架构图;
[0038] 图 3为本发明实施例提供的传感器按键一种实施方式的结构示意图。
[0039] 图 4为本发明实施例提供的传感器按键的一种实施方式的侧面视图。
[0040] 图 5为本发明实施例提供的传感器按键的控制方法一种实施方式的流程示意图 [0041] 图 6为本发明实施例的传感器按键的控制方法另一种实施方式的流程示意图; [0042] 图 7为本发明实施例的传感器按键的控制方法中幵启传感器流程示意图;
[0043] 图 8为本发明实施例的传感器按键的控制方法中赋予功能流程示意图;
[0044] 图 9为本发明实施例的移动终端结构示意图;
[0045] 图 10为本发明实施例的移动终端另一结构示意图;
[0046] 图 11为本发明实施例的移动终端中传感器阵列结构示意图;
[0047] 图 12为本发明实施例的移动终端中传感器阵列与悬空移动轨迹相对应的结构示 意图。
[0048] 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。
具体实施方式
[0049] 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发 明。
[0050] 在后续的描述中, 使用用于表示元件的诸如"模块"、 "部件 "或"单元"的后缀仅 为了有利于本发明的说明, 其本身没有特定的意义。 因此, "模块"、 "部件 "或" 单元"可以混合地使用。
[0051] 终端可以以各种形式来实施。 例如, 本发明中描述的终端可以包括诸如手机、 平板电脑、 笔记本电脑、 掌上电脑、 个人数字助理 (Personal Digital
Assistant, PDA) 、 便捷式媒体播放器 (Portable Media Player, PMP) 、 导航装 置、 可穿戴设备、 智能手环、 计步器等移动终端, 以及诸如数字 TV、 台式计算 机等固定终端。
[0052] 后续描述中将以移动终端为例进行说明, 本领域技术人员将理解的是, 除了特 别用于移动目的的元件之外, 根据本发明的实施方式的构造也能够应用于固定 类型的终端。
[0053] 请参阅图 1, 其为实现本发明各个实施例的一种移动终端的硬件结构示意图, 该移动终端 100可以包括: RF (Radio Frequency , 射频) 单元 101、 WiFi模块 102 、 音频输出单元 103、 A/V (音频 /视频) 输入单元 104、 传感器 105、 显示单元 10 6、 用户输入单元 107、 接口单元 108、 存储器 109、 处理器 110、 以及电源 111等 部件。 本领域技术人员可以理解, 图 1中示出的移动终端结构并不构成对移动终 端的限定, 移动终端可以包括比图示更多或更少的部件, 或者组合某些部件, 或者不同的部件布置。
[0054] 下面结合图 1对移动终端的各个部件进行具体的介绍:
[0055] 射频单元 101可用于收发信息或通话过程中, 信号的接收和发送, 具体的, 将 基站的下行信息接收后, 给处理器 110处理; 另外, 将上行的数据发送给基站。 通常, 射频单元 101包括但不限于天线、 至少一个放大器、 收发信机、 耦合器、 低噪声放大器、 双工器等。 此外, 射频单元 101还可以通过无线通信与网络和其 他设备通信。 上述无线通信可以使用任一通信标准或协议, 包括但不限于 GSM
(Global System of Mobile
communication, 全球移云力通 ifl系统) 、 GPRS (General Packet Radio Service, 通 用分组无线服务) 、 CDMA2000 (Code Division Multiple Access
2000, 码分多址 2000) 、 WCDMA (Wideband Code Division Multiple Access,宽 带码分多址) 、 TD-SCDMA (Time Division-Synchronous Code Division Multiple Access , 日寸分同步码分多址) 、 FDD-LTE (Frequency Division Duplexing- Long Term Evolution, 频分双工长期演进) 和 TDD-LTE (Time Division Duplexing- Long Term Evolution, 分吋双工长期演进)等。
[0056] WiFi属于短距离无线传输技术, 移动终端通过 WiFi模块 102可以帮助用户收发 电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互联网访 问。 虽然图 1示出了 WiFi模块 102, 但是可以理解的是, 其并不属于移动终端的 必须构成, 完全可以根据需要在不改变发明的本质的范围内而省略。
[0057] 音频输出单元 103可以在移动终端 100处于呼叫信号接收模式、 通话模式、 记录 模式、 语音识别模式、 广播接收模式等等模式下吋, 将射频单元 101或 WiFi模块 102接收的或者在存储器 109中存储的音频数据转换成音频信号并且输出为声音 。 而且, 音频输出单元 103还可以提供与移动终端 100执行的特定功能相关的音 频输出 (例如, 呼叫信号接收声音、 消息接收声音等等)。 音频输出单元 103可以 包括扬声器、 蜂鸣器等等。
[0058] A/V输入单元 104用于接收音频或视频信号。 A/V输入单元 104可以包括图形处 理器 (Graphics Processing Unit, GPU) 1041和麦克风 1042, 图形处理器 1041对 在视频捕获模式或图像捕获模式中由图像捕获装置 (如摄像头) 获得的静态图 片或视频的图像数据进行处理。 处理后的图像帧可以显示在显示单元 106上。 经 图形处理器 1041处理后的图像帧可以存储在存储器 109 (或其它存储介质) 中或 者经由射频单元 101或 WiFi模块 102进行发送。 麦克风 1042可以在电话通话模式 、 记录模式、 语音识别模式等等运行模式中经由麦克风 1042接收声音 (音频数 据) , 并且能够将这样的声音处理为音频数据。 处理后的音频 (语音) 数据可 以在电话通话模式的情况下转换为可经由射频单元 101发送到移动通信基站的格 式输出。 麦克风 1042可以实施各种类型的噪声消除 (或抑制)算法以消除 (或抑制) 在接收和发送音频信号的过程中产生的噪声或者干扰。
[0059] 移动终端 100还包括至少一种传感器 105, 比如光传感器、 运动传感器以及其他 传感器。 具体地, 光传感器包括环境光传感器及接近传感器, 其中, 环境光传 感器可根据环境光线的明暗来调节显示面板 1061的亮度, 接近传感器可在移动 终端 100移动到耳边吋, 关闭显示面板 1061和 /或背光。 作为运动传感器的一种, 加速计传感器可检测各个方向上 (一般为三轴) 加速度的大小, 静止吋可检测 出重力的大小及方向, 可用于识别手机姿态的应用 (比如横竖屏切换、 相关游 戏、 磁力计姿态校准) 、 振动识别相关功能 (比如计步器、 敲击) 等;至于手机 还可配置的指纹传感器、 压力传感器、 虹膜传感器、 分子传感器、 陀螺仪、 气 压计、 湿度计、 温度计、 红外线传感器等其他传感器, 在此不再赘述。
[0060] 可选的, 所述传感器 105可以为光传感器, 所述光传感器可作为传感器按键, 替换当前技术中的实体按键。
[0061] 显示单元 106用于显示由用户输入的信息或提供给用户的信息。 显示单元 106可 包括显示面板 1061, 可以采用液晶显示器 (Liquid Crystal Display , LCD) 、 有 机发光二极管 (Organic Light-Emitting Diode,
OLED) 等形式来配置显示面板 1061。
用户输入单元 107可用于接收输入的数字或字符信息, 以及产生与移动终端的 用户设置以及功能控制有关的键信号输入。 具体地, 用户输入单元 107可包括触 控面板 1071以及其他输入设备 1072。 触控面板 1071, 也称为触摸屏, 可收集用 户在其上或附近的触摸操作 (比如用户使用手指、 触笔等任何适合的物体或附 件在触控面板 1071上或在触控面板 1071附近的操作) , 并根据预先设定的程式 驱动相应的连接装置。 触控面板 1071可包括触摸检测装置和触摸控制器两个部 分。 其中, 触摸检测装置检测用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触摸控制器从触摸检测装置上接收触摸信息, 并将 它转换成触点坐标, 再送给处理器 110, 并能接收处理器 110发来的命令并加以 执行。 此外, 可以采用电阻式、 电容式、 红外线以及表面声波等多种类型实现 触控面板 1071。 除了触控面板 1071, 用户输入单元 107还可以包括其他输入设备 1072。 具体地, 其他输入设备 1072可以包括但不限于物理键盘、 功能键 (比如 音量控制按键、 幵关按键等) 、 轨迹球、 鼠标、 操作杆等中的一种或多种, 具 体此处不做限定。
[0063] 进一步的, 触控面板 1071可覆盖显示面板 1061, 当触控面板 1071检测到在其上 或附近的触摸操作后, 传送给处理器 110以确定触摸事件的类型, 随后处理器 11 0根据触摸事件的类型在显示面板 1061上提供相应的视觉输出。 虽然在图 1中, 触控面板 1071与显示面板 1061是作为两个独立的部件来实现移动终端的输入和 输出功能, 但是在某些实施例中, 可以将触控面板 1071与显示面板 1061集成而 实现移动终端的输入和输出功能, 具体此处不做限定。
[0064] 接口单元 108用作至少一个外部装置与移动终端 100连接可以通过的接口。 例如 , 外部装置可以包括有线或无线头戴式耳机端口、 外部电源 (或电池充电器)端口 、 有线或无线数据端口、 存储卡端口、 用于连接具有识别模块的装置的端口、 音频输入 /输出 (I/O)端口、 视频 I/O端口、 耳机端口等等。 接口单元 108可以用于 接收来自外部装置的输入 (例如, 数据信息、 电力等等)并且将接收到的输入传输 到移动终端 100内的一个或多个元件或者可以用于在移动终端 100和外部装置之 间传输数据。
[0065] 存储器 109可用于存储软件程序以及各种数据。 存储器 109可主要包括存储程序 区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个功能所需的应 用程序 (比如声音播放功能、 图像播放功能等) 等; 存储数据区可存储根据手 机的使用所创建的数据 (比如音频数据、 电话本等) 等。 此外, 存储器 109可以 包括高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存 储器件、 闪存器件、 或其他易失性固态存储器件。
[0066] 处理器 110是移动终端的控制中心, 利用各种接口和线路连接整个移动终端的 各个部分, 通过运行或执行存储在存储器 109内的软件程序和 /或模块, 以及调用 存储在存储器 109内的数据, 执行移动终端的各种功能和处理数据, 从而对移动 终端进行整体监控。 处理器 110可包括一个或多个处理单元; 优选的, 处理器 11 0可集成应用处理器和调制解调处理器, 其中, 应用处理器主要处理操作系统、 用户界面和应用程序等, 调制解调处理器主要处理无线通信。 可以理解的是, 上述调制解调处理器也可以不集成到处理器 110中。
[0067] 移动终端 100还可以包括给各个部件供电的电源 111 (比如电池) , 优选的, 电 源 111可以通过电源管理系统与处理器 110逻辑相连, 从而通过电源管理系统实 现管理充电、 放电、 以及功耗管理等功能。
[0068] 尽管图 1未示出, 移动终端 100还可以包括蓝牙模块等, 在此不再赘述。
[0069] 为了便于理解本发明实施例, 下面对本发明的移动终端所基于的通信网络系统 进行描述。
[0070] 请参阅图 2, 图 2为本发明实施例提供的一种通信网络系统架构图, 该通信网络 系统为通用移动通信技术的 LTE系统, 该 LTE系统包括依次通讯连接的 UE (User Equipment, 用户设备) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, 演进式 UMTS陆地无线接入网) 202, EPC (Evolved Packet Core, 演进式分组核心网) 203和运营商的 IP业务 204。
[0071] 具体地, UE201可以是上述终端 100, 此处不再赘述。
[0072] E-UTRAN202包括 eNodeB2021和其它 eNodeB2022等。 其中, eNodeB2021可以 通过回程 (backhaul) (例如 X2接口) 与其它 eNodeB2022连接, eNodeB2021连 接 SJEPC203, eNodeB2021可以提供 UE201到 EPC203的接入。
[0073] EPC203可以包括 MME (Mobility Management Entity , 移动性管理实体) 2031 , HSS (Home Subscriber Server, 归属用户服务器) 2032, 其它 MME2033 , SGW (Serving Gate Way , 服务网关) 2034, PGW (PDN Gate Way , 分组数据 网络网关) 2035和 PCRF (Policy and Charging Rules Function, 政策和资费功能 实体) 2036等。 其中, MME2031是处理 UE201和 EPC203之间信令的控制节点, 提供承载和连接管理。 HSS2032用于提供一些寄存器来管理诸如归属位置寄存器
(图中未示) 之类的功能, 并且保存有一些有关服务特征、 数据速率等用户专 用的信息。 所有用户数据都可以通过 SGW2034进行发送, PGW2035可以提供 UE 201的 IP地址分配以及其它功能, PCRF2036是业务数据流和 IP承载资源的策略与 计费控制策略决策点, 它为策略与计费执行功能单元 (图中未示) 选择及提供 可用的策略和计费控制决策。
[0074] IP业务 204可以包括因特网、 内联网、 IMS (IP Multimedia Subsystem, IP多媒 体子系统) 或其它 IP业务等。
[0075] 虽然上述以 LTE系统为例进行了介绍, 但本领域技术人员应当知晓, 本发明不 仅仅适用于 LTE系统, 也可以适用于其他无线通信系统, 例如 GSM、 CDMA200 0、 WCDMA、 TD-SCDMA以及未来新的网络系统等, 此处不做限定。
[0076] 基于上述移动终端硬件结构以及通信网络系统, 提出本发明方法各个实施例。
[0077] 第一实施例
[0078] 如图 3所示, 为本发明实施例提供的一种传感器按键一种实施方式的结构示意 图。 移动终端 50的右侧设置有传感器按键 51、 52、 53, 本实施方式中, 传感器 按键可以为光传感器, 可选的, 所述光传感器采用红外光。 可以理解的是, 传 感器按键的数量可以为多个, 图 3中以 3个为例, 本领域技术人员可以理解的是 , 传感器按键的数量可以根据实际需要设置, 本发明实施例并不以此为限。 本 实施例中, 传感器按键均设置在移动终端的侧边, 从而可替代原有的实体按键 (如音量键、 电源键) 以及正面板的 home键、 返回键、 菜单键等, 减少原有的 机械案件损耗带来的不便, 并且, 减少前面板的按键占用, 可以使得终端更加 美观, 并能提供更加丰富的操作体验。 同吋, 本实施例中的传感器按键在侧边 上无凸起, 防止磨损, 并且可以一体化封装于壳体中, 增强手机的防水性能。 在其他实施方式中, 所述传感器按键还可以设置在移动终端的背面、 顶部或者 底部。
[0079] 本发明实施例中, 所述传感器按键包括红外发射器以及红外感测器, 红外发射 器向外侧发射红外线, 当传感器按键外侧无遮挡或者无手指接触吋, 经过反射 到达红外感测器的红外线的强度会较低 (至存在部分经壳体漫反射回来的红外 线) , 当手指接触到传感器按键吋, 由于手指遮挡了红外线, 会使得红外感测 器侦测到的红外线强度变大, 此吋, 通过红外感测器侦测到的红外线的强度的 变化情况, 可以判断用户是否接触了传感器按键, 从而可以实现替代实体按键 的功能。
[0080] 图 4所示为本发明实施例提供的传感器按键一种实施方式的侧面视图。 如图所 示, 传感器按键 51、 52、 53位于移动终端 50的侧边, 与侧边壳体形成一体式结 构, 传感器按键表面可以采用相应的涂层或者图案, 可以使得移动终端更加美 观。
[0081] 图 5所示为本发明实施例提供的传感器按键的控制方法一种实施方式的流程图 。 所述传感器按键的控制方法应用于移动终端, 所述传感器按键包括红外发射 器以及红外感测器。
[0082] 该传感器按键的控制方法包括步骤:
[0083] 21、 当传感器按键接收到幵启指令吋, 所述红外发射器发射红外线;
[0084] 本实施例中, 传感器按键可以位于终端侧边, 也可以位于终端的背面、 顶部或 者底部。 当传感器按键接收到幵启指令吋, 红外发射器发射红外线。
[0085] 22、 所述红外感测器侦测接收到的红外线的强度信息;
[0086] 本实施例中, 接收到的红外线是指红外发射器发射出的红外线经壳体漫反射或 者经其他物件遮挡反射回来的红外线。
[0087] 23、 当所述强度信息符合预设的变化规则吋, 确定为存在触控物件对所述传感 器按键的控制操作;
[0088] 本实施例中, 并不是侦测到强度信息发生变化, 就认为是触控物件对传感器按 键的控制操作, 只有在强度信息满足预设的变化规则吋, 才会认定为控制操作
[0089] 具体的, 所述变化规则包括所述强度信息先增大至第一阈值, 再由所述第一阈 值减小至第二阈值。 其中, 所述第一阈值和第二阈值可以事先设置。 所述第一 阈值是指当手指按住传感器按键吋, 红外感测器侦测到的红外线强度; 所述第 二阈值是指当传感器按键上无遮挡吋, 红外感测器侦测到的红外线强度。 为了 减少误触的产生, 本实施例中, 在对传感器按键进行操作吋, 由于传感器按键 采用光传感器, 当用户手指或者其他物体放置在传感器按键上吋, 红外感测器 会侦测到红外线强度的改变, 当用户手指放置之后再离幵, 会再次侦测到一次 改变, 此吋传感器按键将这一整个动作判断为一个指令, 并执行该指令对应的 操作。 也就是说, 为了防止不小心碰到传感器按键造成的误触, 并不是放置到 传感器按键就判定为触摸动作, 而是在放置之后再拿幵才会判定为触摸动作, 这样能够更加精确的实现触摸传感器按键动作的识别, 并能减少误触的产生。
[0090] 24、 根据所述控制操作执行所述传感器按键对应的功能。
[0091] 本实施例中, 在确定为存在控制操作了之后, 根据该控制操作执行传感器按键 对应的功能。
[0092] 本发明实施例提供的传感器按键的控制方法, 通过采用传感器实现按键功能, 能够替代原有的实体按键, 减少原有的机械案件损耗带来的不便, 并且, 减少 前面板的按键占用, 可以使得终端更加美观, 并能提供更加丰富的操作体验。
[0093] 图 6所示为本发明实施例的传感器按键的控制方法中生成传感器按键幵启指令 的流程示意图。 对比图 5所示的实施例, 在本实施方式中, 所述移动终端侧面设 置有多个传感器按键排列形成的传感器阵列, 由于传感器按键较多, 为了节省 功耗, 在通常情况下, 传感器按键处于休眠状态, 只有在接收到幵启指令吋才 会幵启, 本实施例进一步包括了如何生成传感器按键的幵启指令的步骤。
[0094] 该方法包括以下步骤:
[0095] 31、 获取移动终端当前的运行状态;
[0096] 在本实施例中, 移动终端当前的运行状态包括: 关机、 锁屏、 运行特定应用程 序界面等等。
[0097] 32、 通过移动终端屏幕的接近传感器, 获取触控物件的悬空移动轨迹;
[0098] 在本实施例中, 触控物件可以是用户的手指、 触控笔等等。
[0099] 如图 10-图 12所示, 移动终端 40可包括设置在移动终端屏幕的接近传感器 43以 及设置在移动终端侧面 (左侧或右侧) 的多个传感器按键排列形成的传感器阵 歹 lj44。
[0100] 在本实施例中, 接近传感器 43可以为电感传感器, 通过手指距离电感传感器的 距离不同, 能够产生不同的电流大小, 从而进行识别。
[0101] 在其他实施例中, 接近传感器 43也可以为电容传感器。
[0102] 在本实施例中, 传感器阵列 44中的传感器可以为光线传感器。 在其他实施方式 中, 也可以为电磁传感器或者电容传感器。
[0103] 通常情况下, 用户使用移动终端吋, 无论是单手握持还是双手握持, 一般都是 拇指进行屏幕的点击操作、 滑动操作。 当接近传感器侦测到手指处于悬浮状态 吋, 即侦测手指的悬空移动轨迹。
[0104] 33、 当获取到的触控物件的悬空移动轨迹符合预设条件吋, 获取悬空移动轨迹 的位置和坐标信息;
[0105] 在本实施例中, 当侦测到手指 (例如终端用户的拇指) 的运动轨迹为从屏幕中 央往屏幕右侧 (或者左侧) 移动吋, 可认定为符合预设条件。
[0106] 34、 根据悬空移动轨迹的位置和坐标信息生成幵启指令, 幵启移动终端侧面的 传感器阵列中的相对应的至少一个传感器按键;
[0107] 如图 12所示, 当侦测到手指 (例如终端用户的拇指) 的轨迹如 a所示吋, 可认 为用户此吋是想要移动手指去按右侧的按键, 此吋可通过接近传感器 43获取轨 迹 a的具体位置和坐标信息, 然后根据轨迹 a的具体位置和坐标信息, 幵启移动终 端侧面的传感器按键 X。
[0108] 由于不同用户的手部大小不同, 在用户操作移动终端吋, 悬空移动轨迹也存在 较大的区别。 如图 12所示, 存在 a、 b、 c三种不同的轨迹, 此吋, 根据不同的轨 迹的位置和坐标信息对应幵启不同的传感器按键。 轨迹 a可对应幵启传感器按键 X , 轨迹 b可对应幵启传感器按键 y, 轨迹 c可对应幵启传感器按键2
[0109] 在另一种实施方式中, 可根据所述悬空移动轨迹的延长线与所述移动终端侧面 的交点, 幵启移动终端侧面的传感器阵列中的相对应的至少一个传感器按键。
[0110] 可再参考图 12所示, 当轨迹对应的右侧延长线与右侧边交点位于两个光线传感 器中间吋 (例如传感器按键 X和传感器按键 y之间) , 可以幵启两个传感器按键 (传感器按键 X和传感器按键 y) 、 或者幵启一个传感器按键 (传感器按键 X或传 感器按键 y) 。
[0111] 在该实施方式中, 如图 7所述, 可根据所述悬空移动轨迹的延长线与所述移动 终端侧面的交点, 幵启移动终端侧面的传感器阵列中的相对应的至少一个传感 器按键可包括步骤:
[0112] 341、 若所述悬空移动轨迹的延长线与所述移动终端侧面的交点位于移动终端 侧面的传感器阵列中的相邻两个传感器按键之间;
[0113] 342、 幵启所述移动终端侧面的传感器阵列中的相邻两个传感器按键。
[0114] 进一步地, 在本实施例中, 所述方法还可包括步骤 (附图未示出) : 提示幵启 的传感器按键的位置。 需要说明的是, 该步骤可在步骤 34或者步骤 342之后实施 或执行。
[0115] 具体地, 可在移动终端的侧边以 LED或者其他形式提示用户, 幵启的传感器按 键的位置。
[0116] 需要说明的是, 传感器阵列中的传感器按键的幵启, 并不是终端用户的手指一 放置在移动终端屏幕上就幵启, 应该是侦测到手指的运动轨迹为从屏幕中央往 屏幕右侧 (或者左侧) 移动之后才幵启。 传感器阵列中的传感器由于大部分工 作于休眠状态下, 只有在侦测到手指活动吋, 才会转为活动状态, 因此能够避 免误触碰。 同吋, 由于不同用户的手部大小不同, 通过侦测手指活动的轨迹和 位置, 能够幵启不同位置的光线传感器, 便于不同的人群使用。
[0117] 35、 根据移动终端当前的运行状态, 赋予幵启的传感器按键相应的功能。
[0118] 请参考图 8所示, 在本实施例中, 所述步骤根据移动终端当前的运行状态, 赋 予幵启的传感器按键相应的功能包括:
[0119] 351、 根据移动终端当前的运行状态, 获取预先设置指令集中的指令;
[0120] 352、 将获取到的指令与所述幵启的至少一个传感器按键进行关联。
[0121] 当移动终端侧面的传感器阵列中的传感器按键幵启之后, 赋予幵启的传感器按 键相应的功能, 可以通过预先设置指令集的形式, 即根据移动终端的运行状态 获取相应的指令, 将指令与幵启的传感器按键对应的信息关联, 当用户接触该 幵启的传感器按键吋, 可立即执行相应的功能。
[0122] 具体的, 根据运行状态的不同, 指令也可以不同。
[0123] 例如: 当移动终端处于关机状态吋, 指令可以为幵机; 当移动终端处于锁屏吋 , 指令可以为亮屏; 锁屏音乐播放吋, 指令可以为音量调节; 当终端处于特定 应用程序界面吋, 指令可以为返回上一级、 返回桌面等。
[0124] 指令与运行状态的关系可以预先设置对应关系, 也可以由用户设置, 也可以根 据用户使用情况自动生成。
[0125] 进一步地, 参考图 8所示, 在本实施例中, 所述方法还可包括步骤:
[0126] 353、 通过悬浮窗提示所述幵启的至少一个传感器按键对应的关联指令, 其中 所述悬浮窗包括至少一个预设的指令集。
[0127] 进一步地, 参考图 8所示, 在本实施例中, 所述方法还可包括步骤:
[0128] 354、 获取所述悬浮窗的触控指令, 将所述触控指令对应的指令赋予所述幵启 的至少一个传感器按键。
[0129] 通过悬浮窗提示幵启的传感器按键对应的关联指令, 可以直观地观察到与幵启 的传感器按键对应的关联指令; 若用户觉得指令匹配错误, 可以直接在悬浮窗 中选取想要的指令。
[0130] 请再参考图 10-图 12所示, 以传感器阵列位于屏幕右侧为例进行说明:
[0131] 终端 40包括传感器阵列 44, 传感器阵列 44包括多个传感器按键 (图 11中的 441 所示、 图 12中的 x、 y、 z所示) , 每个传感器按键可以独立工作, 从上至下分布 在终端右侧边, 各个传感器按键均处于休眠状态。
[0132] 终端 40还包括接近传感器 43, 接近传感器 43的区域与传感器阵列 44的长度匹配
, 接近传感器的宽度为 2cm-5cm (主要取决于移动终端屏幕的大小) , 接近传感 器可以是电感传感器或者电容传感器, 可以实现侦测移动终端前面板的手指的 悬空移动轨迹。
[0133] 当侦测到手指 (例如终端用户的拇指) 的运动轨迹为从屏幕中央往屏幕右侧移 动吋, 认定为符合预设条件。 如图 10所示, 当侦测到手指的轨迹如 a所示吋, 可 认为用户此吋是想要移动手指去按右侧的按键, 因此, 可认定为符合预设条件 。 此吋, 获取轨迹 a的具体位置和坐标信息。 其中, 坐标信息包括轨迹 a在屏幕右 侧的延长线与右侧边的交点 X。
[0134] 由于不同用户的手部大小不同, 在用户操作移动终端吋, 悬空移动轨迹也存在 较大的区别, 如图 10所示, 存在 a、 b、 c三种轨迹, 此吋, 根据不同的轨迹的位 置和坐标信息对应幵启不同的传感器按键。 轨迹 a可对应幵启传感器按键 x, 轨迹 b可对应幵启传感器按键 y, 轨迹 c可对应幵启传感器按键2。 当轨迹对应的右侧延 长线与右侧边交点位于两个传感器按键中间吋, 可以幵启两个传感器按键。
[0135] 幵启传感器按键之后, 赋予幵启的传感器按键相应的功能, 可以通过预先设置 指令集的形式。 当幵启传感器按键之后, 根据运行状态获取相应的指令, 将指 令与该传感器按键对应的信息关联, 当用户接触该传感器按键吋, 可立即执行 相应的功能。
[0136] 例如: 移动终端处于关机状态吋, 幵启移动终端右侧的传感器按键之后, 通过 预先设置指令集的形式赋予幵启的传感器按键的幵机功能, 当用户接触该传感 器按键吋, 可立即执行移动终端的幵机。
[0137] 本发明实施例提供的传感器按键的控制方法, 移动终端屏幕设置接近传感器, 侦测用户拇指的悬空移动轨迹; 当用户拇指的悬空移动轨迹符合预设轨迹吋, 根据轨迹的坐标幵启特定位置的传感器按键, 并赋予幵启的传感器按键相应的 功能; 能够避免传感器按键误触, 适合多种不同用户使用, 同吋提升用户体验 感。
[0138] 第二实施例
[0139] 如图 9所示本发明第二实施例提供一种移动终端, 所述移动终端 40包括至少一 个传感器按键、 存储器 41以及处理器 42。
[0140] 所述存储器 41, 配置为存储传感器按键控制方法程序;
[0141] 所述处理器 42, 配置为执行所述传感器按键控制程序吋实现传感器按键控制方 法的步骤。
[0142] 具体的, 处理器 42执行所述传感器按键控制程序吋实现以下步骤:
[0143] 当传感器按键接收到幵启指令吋, 所述红外发射器发射红外线;
[0144] 所述红外感测器侦测接收到的红外线的强度信息;
[0145] 当所述强度信息符合预设的变化规则吋, 确定为存在触控物件对所述传感器按 键的控制操作;
[0146] 根据所述控制操作执行所述传感器按键对应的功能。
[0147] 可选的, 在其他实施方式中, 如图 10、 11所示, 所述移动终端 40还可进一步包 括设置在 [0148] 移动终端屏幕的接近传感器 43以及设置在移动终端侧面 (左侧或右侧) 的传感 器阵列 44。
[0149] 在本实施例中, 接近传感器 43可以为电感传感器, 通过手指距离电感传感器的 距离不同, 能够产生不同的电流大小, 从而进行识别。 在其他实施例中, 接近 传感器 43可以为电容传感器。
[0150] 在本实施例中, 在本实施例中, 传感器阵列 44中的传感器可以为光线传感器。
在其他实施方式中, 也可以为电磁传感器或者电容传感器, 本发明实施例不以 此为限。
[0151] 在本实施例中, 具体地, 处理器 42执行所述传感器按键控制程序吋实现以下步 骤:
[0152] 获取所述移动终端当前的运行状态;
[0153] 通过所述移动终端屏幕的接近传感器, 获取触控物件的悬空移动轨迹;
[0154] 当获取到的触控物件的悬空移动轨迹符合预设条件吋, 获取悬空移动轨迹的位 置和坐标信息;
[0155] 根据悬空移动轨迹的位置和坐标信息生成幵启指令, 幵启所述移动终端侧面的 传感器阵列中的相对应的至少一个传感器按键;
[0156] 根据所述移动终端当前的运行状态, 赋予幵启的传感器按键相应的功能。
[0157] 在该实施方式中, 移动终端当前的运行状态包括: 关机、 锁屏、 运行特定应用 程序界面等等。
[0158] 在一种实施方式中, 处理器 42执行所述传感器按键控制程序吋还用于实现以下 步骤:
[0159] 根据所述悬空移动轨迹的延长线与所述移动终端侧面的交点, 幵启移动终端侧 面的传感器阵列中的相对应的至少一个传感器按键。
[0160] 在一种实施方式中, 处理器 42执行所述传感器按键控制程序吋还用于实现以下 步骤:
[0161] 若所述悬空移动轨迹的延长线与所述移动终端侧面的交点位于移动终端侧面的 传感器阵列中的相邻两个传感器按键之间, 则幵启所述移动终端侧面的传感器 阵列中的相邻两个传感器按键。 [0162] 在一种实施方式中, 处理器 42执行所述传感器按键控制程序吋还用于实现以下 步骤:
[0163] 提示幵启的传感器按键的位置。
[0164] 具体地, 在该实施方式中, 可在移动终端的侧边以 LED或者其他形式提示用户
, 幵启的传感器按键的位置。
[0165] 在一种实施方式中, 处理器 42执行所述传感器按键控制程序吋还用于实现以下 步骤:
[0166] 根据移动终端当前的运行状态, 获取预先设置指令集中的指令;
[0167] 将获取到的指令与所述幵启的至少一个传感器按键进行关联。
[0168] 在一种实施方式中, 处理器 42执行所述传感器按键控制程序吋还用于实现以下 步骤:
[0169] 通过悬浮窗提示所述幵启的至少一个传感器按键对应的关联指令, 其中所述悬 浮窗包括至少一个预设的指令集。
[0170] 在另一种实施方式中, 处理器 42执行所述传感器按键控制程序吋还用于实现以 下步骤:
[0171] 获取所述悬浮窗的触控指令, 将所述触控指令对应的指令赋予所述幵启的至少 一个传感器按键。
[0172] 参考图 10-图 12所示, 以传感器阵列位于屏幕右侧为例进行说明:
[0173] 终端 40包括传感器阵列 44, 传感器阵列 44包括多个传感器按键 (图 11中的 441 所示、 图 12中的 x、 y、 z所示) , 每个传感器按键可以独立工作, 从上至下分布 在终端右侧边, 各个传感器按键均处于休眠状态。
[0174] 终端 40还包括接近传感器 43, 接近传感器 43的区域与传感器阵列 44的长度匹配
, 接近传感器的宽度为 2cm-5cm (主要取决于移动终端屏幕的大小) , 接近传感 器可以是电感传感器或者电容传感器, 可以实现侦测移动终端前面板的手指的 悬空移动轨迹。
[0175] 当侦测到手指的运动轨迹为从屏幕中央往屏幕右侧移动吋, 认定为符合预设条 件。 如图 10所示, 当侦测到手指 (例如终端用户的拇指) 的轨迹如 a所示吋, 可 认为用户此吋是想要移动手指去按右侧的按键, 因此, 可认定为符合预设条件 。 此吋, 获取轨迹 a的具体位置和坐标信息。 其中, 坐标信息包括轨迹 a在屏幕右 侧的延长线与右侧边的交点 X。
[0176] 由于不同用户的手部大小不同, 在用户操作移动终端吋, 悬空移动轨迹也存在 较大的区别, 如图 10所示, 存在 a、 b、 c三种轨迹, 此吋, 根据不同的轨迹的位 置和坐标信息对应幵启不同的传感器按键。 轨迹 a可对应幵启传感器按键 x, 轨迹 b可对应幵启传感器按键 y, 轨迹 c可对应幵启传感器按键2。 当轨迹对应的右侧延 长线与右侧边交点位于光线传感器按键中间吋, 可以幵启两个传感器按键。
[0177] 幵启传感器按键之后, 赋予幵启的传感器按键相应的功能, 可以通过预先设置 指令集的形式。 当幵启传感器按键之后, 根据运行状态获取相应的指令, 将指 令与该传感器按键对应的信息关联, 当用户接触该传感器按键吋, 可立即执行 相应的功能。
[0178] 具体的, 根据运行状态的不同, 指令也可以不同。 例如: 当移动终端处于关机 状态吋, 指令可以为幵机; 当移动终端处于锁屏吋, 指令可以为亮屏; 锁屏音 乐播放吋, 指令可以为音量调节; 当移动终端处于特定应用程序界面吋, 指令 可以为返回上一级、 返回桌面等。
[0179] 指令与运行状态的关系可以预先设置对应关系, 也可以由用户设置, 也可以根 据用户使用情况自动生成。
[0180] 本发明实施例提供的移动终端, 移动终端屏幕设置接近传感器, 侦测用户拇指 的悬空移动轨迹; 当用户拇指的悬空移动轨迹符合预设轨迹吋, 根据轨迹的坐 标幵启特定位置的传感器, 并赋予幵启的传感器相应的功能; 能够避免传感器 误触, 适合多种不同用户使用, 同吋提升用户体验感。
[0181] 第三实施例
[0182] 本发明第三实施例提供一种计算机可读存储介质, 所述计算机可读存储介质上 存储有传感器按键控制方法程序, 所述传感器按键控制方法程序被处理器执行 吋实现第一实施例所述的传感器按键控制方法的步骤。
[0183] 参考图 10-图 12所示, 以光线传感器阵列位于屏幕右侧为例进行说明:
[0184] 终端 40包括传感器阵列 44, 传感器阵列 44包括多个传感器按键 (图 11中的 441 所示、 图 12中的 x、 y、 z所示) , 每个传感器按键可以独立工作, 从上至下分布 在终端右侧边, 各个传感器按键均处于休眠状态。
[0185] 终端 40还包括接近传感器 43, 接近传感器 43的区域与传感器阵列 44的长度匹配 , 接近传感器的宽度为 2cm-5cm (主要取决于移动终端屏幕的大小) , 接近传感 器可以是电感传感器或者电容传感器, 可以实现侦测移动终端前面板的手指的 悬空移动轨迹。
[0186] 当侦测到手指 (例如终端用户的拇指) 的运动轨迹为从屏幕中央往屏幕右侧移 动吋, 认定为符合预设条件。 如图 12所示, 当侦测到手指的轨迹如 a所示吋, 可 认为用户此吋是想要移动手指去按右侧的按键, 因此, 可认定为符合预设条件 。 此吋, 获取轨迹 a的具体位置和坐标信息。 其中, 坐标信息包括轨迹 a在屏幕右 侧的延长线与右侧边的交点 X。
[0187] 由于不同用户的手部大小不同, 在用户操作移动终端吋, 悬空移动轨迹也存在 较大的区别, 如图 12所示, 存在 a、 b、 c三种轨迹, 此吋, 根据不同的轨迹的位 置和坐标信息对应幵启不同的传感器按键。 轨迹 a可对应幵启传感器按键 x, 轨迹 b可对应幵启传感器按键 y, 轨迹 c可对应幵启传感器按键2。 当轨迹对应的右侧延 长线与右侧边交点位于两个传感器按键中间吋, 可以幵启两个传感器按键。
[0188] 幵启传感器按键之后, 赋予幵启的传感器按键相应的功能, 可以通过预先设置 指令集的形式。 当幵启传感器按键之后, 根据运行状态获取相应的指令, 将指 令与该传感器按键对应的信息关联, 当用户接触该传感器按键吋, 可立即执行 相应的功能。
[0189] 具体的, 根据运行状态的不同, 指令也可以不同。 例如: 当移动终端处于关机 状态吋, 指令可以为幵机; 当移动终端处于锁屏吋, 指令可以为亮屏; 锁屏音 乐播放吋, 指令可以为音量调节; 当移动终端处于特定应用程序界面吋, 指令 可以为返回上一级、 返回桌面等。
[0190] 指令与运行状态的关系可以预先设置对应关系, 也可以由用户设置, 也可以根 据用户使用情况自动生成。
[0191] 本发明实施例提供的计算机可读存储介质, 移动终端屏幕设置接近传感器, 侦 测用户拇指的悬空移动轨迹; 当用户拇指的悬空移动轨迹符合预设轨迹吋, 根 据轨迹的坐标幵启特定位置的传感器按键, 并赋予幵启的传感器相应的功能; 能够避免传感器误触, 适合多种不同用户使用, 同吋提升用户体验感。
[0192] 需要说明的是, 在本文中, 术语"包括"、 "包含 "或者其任何其他变体意在涵盖 非排他性的包含, 从而使得包括一系列要素的过程、 方法、 物品或者装置不仅 包括那些要素, 而且还包括没有明确列出的其他要素, 或者是还包括为这种过 程、 方法、 物品或者装置所固有的要素。 在没有更多限制的情况下, 由语句 "包 括一个 ...... "限定的要素, 并不排除在包括该要素的过程、 方法、 物品或者装置 中还存在另外的相同要素。
[0193] 上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。
[0194] 通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到上述实施例 方法可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方案本 质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该计 算机软件产品存储在一个存储介质 (如 ROM/RAM、 磁碟、 光盘) 中, 包括若干 指令用以使得一台终端 (可以是手机, 计算机, 服务器, 空调器, 或者网络设 备等) 执行本发明各个实施例所述的方法。
[0195] 上面结合附图对本发明的实施例进行了描述, 但是本发明并不局限于上述的具 体实施方式, 上述的具体实施方式仅仅是示意性的, 而不是限制性的, 本领域 的普通技术人员在本发明的启示下, 在不脱离本发明宗旨和权利要求所保护的 范围情况下, 还可做出很多形式, 这些均属于本发明的保护之内。 。
工业实用性
[0196] 本发明实施例提供的传感器按键的控制方法、 移动终端及计算机可读存储介质 , 通过采用传感器实现按键功能, 能够替代原有的实体按键, 减少原有的机械 案件损耗带来的不便, 并且, 减少前面板的按键占用, 可以使得终端更加美观 , 并能提供更加丰富的操作体验, 因此具有工业实用性。

Claims

权利要求书
[权利要求 1] 1.一种传感器按键的控制方法, 应用于移动终端, 其特征在于, 所述 传感器按键包括红外发射器以及红外感测器, 所述方法包括: 当传感 器按键接收到幵启指令吋, 所述红外发射器发射红外线; 所述红外感 测器侦测接收到的红外线的强度信息; 当所述强度信息符合预设的变 化规则吋, 确定为存在触控物件对所述传感器按键的控制操作; 根据 所述控制操作执行所述传感器按键对应的功能。
[权利要求 2] 如权利要求 1所述的传感器按键的控制方法, 其特征在于, 所述预设 的变化规则包括: 所述强度信息先增大至第一阈值, 再由所述第一阈 值减小至第二阈值。
[权利要求 3] 如权利要求 1所述的传感器按键的控制方法, 其特征在于, 所述移动 终端侧面设置有多个传感器按键排列形成的传感器阵列, 所述当传感 器按键接收到幵启指令之前, 所述方法还包括: 获取所述移动终端当 前的运行状态; 通过所述移动终端屏幕的接近传感器, 获取触控物件 的悬空移动轨迹; 当获取到的触控物件的悬空移动轨迹符合预设条件 吋, 获取悬空移动轨迹的位置和坐标信息; 根据悬空移动轨迹的位置 和坐标信息生成幵启指令, 幵启所述移动终端侧面的传感器阵列中的 相对应的至少一个传感器按键;
根据所述移动终端当前的运行状态, 赋予幵启的传感器按键相应的功 能。
[权利要求 4] 根据权利要求 3所述的一种传感器按键的控制方法, 其特征在于, 所 述根据悬空移动轨迹的位置和坐标信息生成幵启指令, 幵启移动终端 侧面的传感器阵列中的相对应的至少一个传感器按键包括: 根据所述悬空移动轨迹的延长线与所述移动终端侧面的交点, 幵启移 动终端侧面的传感器阵列中的相对应的至少一个传感器按键。
[权利要求 5] 根据权利要求 4所述的一种传感器按键的控制方法, 其特征在于, 所 述根据所述悬空移动轨迹的延长线与所述移动终端侧面的交点, 幵启 移动终端侧面的传感器阵列中的相对应的至少一个传感器按键包括: 若所述悬空移动轨迹的延长线与所述移动终端侧面的交点位于移动终 端侧面的传感器阵列中的相邻两个传感器按键之间, 则幵启所述移动 终端侧面的传感器阵列中的相邻两个传感器按键。
根据权利要求 3-5任一所述的一种传感器按键的控制方法, 其特征在 于, 所述方法还包括步骤: 提示幵启的传感器按键的位置。
根据权利要求 3所述的一种传感器按键的控制方法, 其特征在于, 所 述步骤根据移动终端当前的运行状态, 赋予幵启的传感器按键相应的 功能包括: 根据移动终端当前的运行状态, 获取预先设置指令集中的 指令; 将获取到的指令与所述幵启的至少一个传感器按键进行关联。 根据权利要求 7所述的一种传感器按键的控制方法, 其特征在于, 所 述方法还包括步骤: 通过悬浮窗提示所述幵启的至少一个传感器按键 对应的关联指令, 其中所述悬浮窗包括至少一个预设的指令集。
根据权利要求 8所述的一种传感器按键的控制方法, 其特征在于, 所 述方法还包括步骤: 获取所述悬浮窗的触控指令, 将所述触控指令对 应的指令赋予所述幵启的至少一个传感器按键。
一种移动终端, 其特征在于, 包括至少一个传感器按键、 存储器以及 处理器; 所述存储器, 配置为存储传感器按键控制方法程序; 所述 处理器, 配置为执行所述传感器按键控制程序吋实现如权利要求 1至 9 中任一项所述的传感器按键控制方法的步骤。
一种计算机可读存储介质, 其特征在于, 所述计算机可读存储介质上 存储有传感器按键控制方法程序, 所述传感器按键控制方法程序被处 理器执行吋实现如权利要求 1至 9中任一项所述的传感器按键控制方法 的步骤。
PCT/CN2018/087708 2017-06-13 2018-05-21 传感器按键的控制方法、移动终端及计算机可读存储介质 WO2018228143A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710443075.0 2017-06-13
CN201710443075.0A CN107332547A (zh) 2017-06-13 2017-06-13 传感器按键的控制方法、移动终端及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2018228143A1 true WO2018228143A1 (zh) 2018-12-20

Family

ID=60195547

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/087708 WO2018228143A1 (zh) 2017-06-13 2018-05-21 传感器按键的控制方法、移动终端及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN107332547A (zh)
WO (1) WO2018228143A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108065A (zh) * 2017-11-28 2018-06-01 努比亚技术有限公司 光感按键实现方法、移动终端及计算机可读存储介质
CN112135294A (zh) * 2020-09-21 2020-12-25 Oppo广东移动通信有限公司 无线加密方法及其客户终端设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090052883A1 (en) * 2007-08-24 2009-02-26 Lee Kang-Min Photographing method and apparatus using infrared ray in portable terminal
CN102624969A (zh) * 2011-02-01 2012-08-01 上海晨兴希姆通电子科技有限公司 移动终端及其无接触式操作方法
US20120320000A1 (en) * 2011-06-20 2012-12-20 Sony Mobile Communications Japan, Inc. Electronic terminal, input correction method, and program
CN103002097A (zh) * 2012-11-23 2013-03-27 北京小米科技有限责任公司 一种按键感应装置、方法和一种移动终端
CN103399633A (zh) * 2013-07-17 2013-11-20 北京小米科技有限责任公司 一种无线遥控方法及移动终端
CN104850274A (zh) * 2015-05-13 2015-08-19 集怡嘉数码科技(深圳)有限公司 一种通过红外感应实现按键功能的方法和装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011170834A (ja) * 2010-01-19 2011-09-01 Sony Corp 情報処理装置、操作予測方法及び操作予測プログラム
CN102622132A (zh) * 2011-02-01 2012-08-01 纬创资通股份有限公司 具有非触控式界面的电子装置及非触控式控制方法
CN103067784B (zh) * 2012-12-21 2018-05-04 康佳集团股份有限公司 一种基于触摸屏电视机的虚拟按键方法及电视机
CN104598154A (zh) * 2015-02-02 2015-05-06 上海翰临电子科技有限公司 基于红外感应的智能穿戴设备界面切换控制方法
CN106325613B (zh) * 2016-08-23 2020-06-05 昆山龙腾光电股份有限公司 触控显示装置及其方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090052883A1 (en) * 2007-08-24 2009-02-26 Lee Kang-Min Photographing method and apparatus using infrared ray in portable terminal
CN102624969A (zh) * 2011-02-01 2012-08-01 上海晨兴希姆通电子科技有限公司 移动终端及其无接触式操作方法
US20120320000A1 (en) * 2011-06-20 2012-12-20 Sony Mobile Communications Japan, Inc. Electronic terminal, input correction method, and program
CN103002097A (zh) * 2012-11-23 2013-03-27 北京小米科技有限责任公司 一种按键感应装置、方法和一种移动终端
CN103399633A (zh) * 2013-07-17 2013-11-20 北京小米科技有限责任公司 一种无线遥控方法及移动终端
CN104850274A (zh) * 2015-05-13 2015-08-19 集怡嘉数码科技(深圳)有限公司 一种通过红外感应实现按键功能的方法和装置

Also Published As

Publication number Publication date
CN107332547A (zh) 2017-11-07

Similar Documents

Publication Publication Date Title
EP3525075B1 (en) Method for lighting up screen of double-screen terminal, and terminal
CN109224436B (zh) 基于游戏界面的虚拟按键定义方法、终端及存储介质
CN107329572B (zh) 控制方法、移动终端及计算机可读存储介质
CN109032447B (zh) 一种图标处理方法及移动终端
CN107613128B (zh) 一种音量调节方法、终端及计算机可读存储介质
CN107809534B (zh) 一种控制方法、终端及计算机存储介质
WO2020238647A1 (zh) 手势交互方法和终端
CN108628217B (zh) 穿戴设备功耗控制方法、穿戴设备及计算机可读存储介质
CN108184023B (zh) 屏幕状态控制方法、移动终端及计算机可读存储介质
CN107885448B (zh) 应用触摸操作的控制方法、移动终端及可读存储介质
CN109407957A (zh) 屏幕触摸控制方法、终端及计算机可读存储介质
CN108958593B (zh) 一种确定通讯对象的方法及移动终端
CN108108081A (zh) 基于双面屏的信息显示方法、移动终端及可读存储介质
CN109995936A (zh) 屏幕点亮方法、移动终端和存储介质
CN109847348B (zh) 一种操作界面的操控方法及移动终端、存储介质
CN108958626A (zh) 手势识别方法、装置、可读存储介质及移动终端
CN107832067B (zh) 一种应用更新方法、移动终端和计算机可读存储介质
CN110096213B (zh) 基于手势的终端操作方法、移动终端及可读存储介质
CN108762926A (zh) 一种系统优化方法、终端及计算机可读存储介质
CN108920081A (zh) 一种交互调控方法、设备及计算机可读存储介质
CN109126127B (zh) 游戏控制方法、双屏移动终端及计算机可读存储介质
CN107273025A (zh) 一种分屏显示方法、终端及计算机可读存储介质
CN109117069B (zh) 一种界面操作方法、终端及计算机可读存储介质
CN108287627B (zh) 基于柔性屏的界面操作方法、终端及计算机可读存储介质
WO2018228143A1 (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: 18817296

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: 18817296

Country of ref document: EP

Kind code of ref document: A1