WO2016112731A1 - 一种触发执行操作指令的方法和装置 - Google Patents

一种触发执行操作指令的方法和装置 Download PDF

Info

Publication number
WO2016112731A1
WO2016112731A1 PCT/CN2015/093407 CN2015093407W WO2016112731A1 WO 2016112731 A1 WO2016112731 A1 WO 2016112731A1 CN 2015093407 W CN2015093407 W CN 2015093407W WO 2016112731 A1 WO2016112731 A1 WO 2016112731A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
operation instruction
audio output
output device
feature
Prior art date
Application number
PCT/CN2015/093407
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 EP15877642.7A priority Critical patent/EP3246807B1/en
Priority to JP2016545289A priority patent/JP6336091B2/ja
Priority to KR1020167028646A priority patent/KR101933642B1/ko
Priority to RU2016149323A priority patent/RU2669530C2/ru
Priority to MX2017005363A priority patent/MX370892B/es
Publication of WO2016112731A1 publication Critical patent/WO2016112731A1/zh
Priority to US15/647,310 priority patent/US10191717B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • 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/16Sound input; Sound output
    • 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/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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
    • 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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/06Loudspeakers
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2400/00Loudspeakers
    • H04R2400/01Transducers used as a loudspeaker to generate sound aswell as a microphone to detect sound
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Definitions

  • the present disclosure relates to the field of computer technology, and more particularly to a method and apparatus for triggering execution of an operational command.
  • mobile terminals such as mobile phones have been rapidly popularized, and have become one of the indispensable tools for people's work and life.
  • the mobile terminal has a variety of functions, and different functions can be implemented by executing different operation instructions.
  • the most commonly used method of triggering an operation instruction is to trigger execution of a corresponding operation instruction by a touch operation on the touch screen.
  • the disadvantage of this method is that it is only suitable for the screen display state.
  • there is a commonly used way to trigger the execution of an operation instruction that is, the corresponding operation instruction is triggered by a physical button set on the body.
  • the present disclosure provides a method and apparatus for triggering execution of an operation instruction.
  • the technical solution is as follows:
  • a method of triggering execution of an operation instruction comprising:
  • the detecting the electrical signal generated on the signal input line of the audio output device on the local body includes:
  • the first signal feature includes: a signal characteristic when the airframe is in a closed environment
  • the first operation instruction includes an operation instruction of increasing a volume and/or increasing a ringing strength.
  • the pre-stored signal feature includes one or more of the following signal characteristics:
  • the correspondence between the signal feature and the operation instruction includes one or more of the following operation instructions:
  • the detecting the electrical signal generated on the signal input line of the audio output device on the local body includes:
  • a voltage signal and a current signal generated on a signal input line of the audio output device on the local body are detected.
  • an apparatus for triggering execution of an operation instruction comprising:
  • a detecting module for detecting an electrical signal generated on a signal input line of the audio output device on the local body
  • a determining module configured to determine, according to a correspondence between a pre-stored signal feature and an operation instruction, a first operation corresponding to the first signal feature, when the detected electrical signal satisfies a first signal feature of the pre-stored signal feature instruction;
  • an execution module configured to execute the first operation instruction.
  • the detecting module is configured to: when an audio output device on the local body performs audio output, detect an electrical signal generated on a signal input line of the audio output device;
  • the first signal feature includes: a signal characteristic when the airframe is in a closed environment
  • the first operation instruction includes an operation instruction of increasing a volume and/or increasing a ringing strength.
  • the pre-stored signal feature includes one or more of the following signal characteristics:
  • the correspondence between the signal feature and the operation instruction includes one or more of the following operation instructions:
  • the detecting module is configured to:
  • a voltage signal and a current signal generated on a signal input line of the audio output device on the local body are detected.
  • an apparatus for triggering execution of an operation instruction comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • an electrical signal generated on a signal input line of an audio output device on a local body is detected, and when the detected electrical signal satisfies a first signal characteristic of a pre-stored signal feature, according to a pre-stored signal Corresponding relationship between the feature and the operation instruction, determining the first operation instruction corresponding to the first signal feature, and executing the first operation instruction, so that the signal may be generated on the signal input line of the audio output device based on the user operation or the state of the body
  • the characteristics of the electrical signal are used to trigger the execution of the corresponding operation command, so that the operation instruction can be triggered regardless of whether the screen is in the display state, and a more varied manner of triggering the execution operation instruction other than the physical button is provided.
  • the flexibility to trigger execution of an operational instruction can be increased.
  • FIG. 1 is a flowchart illustrating a method of triggering execution of an operation instruction, according to an exemplary embodiment
  • FIG. 2 is a schematic structural diagram of a circuit according to an exemplary embodiment
  • FIG. 3 is a schematic structural diagram of an apparatus for triggering execution of an operation instruction according to an exemplary embodiment
  • FIG. 4 is a schematic structural diagram of a terminal according to an exemplary embodiment.
  • the embodiment of the present disclosure provides a method for triggering execution of an operation instruction. As shown in FIG. 1 , the processing flow of the method may include the following steps:
  • step 101 an electrical signal generated on a signal input line of the audio output device on the local body is detected.
  • step 102 when the detected electrical signal satisfies the first signal feature in the pre-stored signal feature, the first operation command corresponding to the first signal feature is determined according to the correspondence between the pre-stored signal feature and the operation command.
  • step 103 a first operational instruction is executed.
  • an electrical signal generated on a signal input line of an audio output device on a local body is detected, and when the detected electrical signal satisfies a first signal characteristic of a pre-stored signal feature, according to a pre-stored signal Corresponding relationship between the feature and the operation instruction, determining the first operation instruction corresponding to the first signal feature, and executing the first operation instruction, so that the signal may be generated on the signal input line of the audio output device based on the user operation or the state of the body
  • the characteristics of the electrical signal are used to trigger the execution of the corresponding operation command, so that the operation instruction can be triggered regardless of whether the screen is in the display state, and a more varied manner of triggering the execution operation instruction other than the physical button is provided. Increased flexibility in triggering execution of operational instructions.
  • the embodiments of the present disclosure provide a method for triggering execution of an operation instruction, which may be used for a terminal, such as a mobile terminal, a tablet computer, or the like.
  • a terminal such as a mobile terminal, a tablet computer, or the like.
  • the execution subject is taken as a mobile terminal as an example, and a detailed description of the solution is performed. Other situations are similar, and the present embodiment is not described in detail.
  • step 101 an electrical signal generated on a signal input line of the audio output device on the local body is detected.
  • an audio output device such as a speaker may be installed on the body of the mobile terminal, and the audio output device may be installed at the bottom, the top, the back, and the like of the body.
  • the audio processing chip can be connected to a digital-to-analog converter, and the digital-to-analog converter is connected to the power amplifier.
  • the power amplifier is connected to the signal input end of the audio output device, and the line between the power amplifier and the audio output device is The signal input line of the audio output device can detect the electrical signal on the line. This electrical signal can include a voltage signal and a current signal.
  • the audio output device When the audio output device receives the output signal, the output signal generates an electromagnetic field in the audio output device, and the magnetic field It will drive the diaphragm vibration in the audio output device to make a sound. Conversely, when the body of the mobile terminal moves (for example, the user shakes the mobile terminal, or clicks on the body of the mobile terminal, etc.), the diaphragm of the audio output device vibrates, and the vibration of the diaphragm can generate an electromagnetic field, thereby An electrical signal is generated on the signal input line of the audio output device. Even if the audio output device is not in operation, based on the above principle, an electrical signal can be generated on the signal input line of the audio output device when the mobile terminal vibrates.
  • the structure of the power amplifier in this embodiment can be as shown in FIG. 2, and the feedback signal input end and the feedback signal output end are added with respect to the common power amplifier.
  • the feedback signal input is used to obtain an electrical signal on the signal input line of the audio output device.
  • the digital-to-analog conversion circuit in the figure may be disposed outside the power amplifier or may be disposed inside the power amplifier for converting an electrical signal on the signal input line from an analog signal to a digital signal.
  • the feedback signal output terminal can be connected to the central processing unit of the mobile terminal for transmitting the converted digital signal to the central processing unit for subsequent processing.
  • the feedback signal input end may further include a feedback current signal input end and a feedback voltage signal input end, and the feedback signal output end may further include a feedback current signal output end and a feedback voltage signal output end.
  • step 101 may be: detecting an electrical signal generated on a signal input line of the audio output device during audio output by the audio output device on the local body.
  • the change of the environment in which the mobile terminal is located may affect the vibration of the diaphragm, which may cause the electrical signal on the signal input line of the audio output device to change.
  • the ringtone is played through the speaker, and the object surrounded by the four sides forms a reflection on the ringtone, and the reflected sound wave intensity is large, and the reflected sound wave will greatly affect the vibration of the speaker diaphragm.
  • the influence affects the electrical signal on the signal input line of the audio output device.
  • the electrical signal on the signal input line may have a certain difference with respect to the actual output signal transmitted to the audio output device, and is relatively open relative to the mobile terminal. There are also some differences in the electrical signals on the signal input lines in the environment. Therefore, in the process of audio output by the audio output device, the electrical signal generated on the signal input line of the audio output device can be detected for subsequent analysis.
  • the specific detection method please refer to the above related content.
  • step 102 when the detected electrical signal satisfies the first signal feature in the pre-stored signal feature, the first operation command corresponding to the first signal feature is determined according to the correspondence between the pre-stored signal feature and the operation command.
  • the server may store different signal characteristics corresponding to different operations.
  • the motion of the mobile terminal body caused by the operation may be analyzed, and then the audio output device in the motion process is analyzed.
  • the vibration characteristics of the diaphragm are further analyzed to characterize the signal of the electrical signal generated on the signal input line of the audio output device.
  • the click operation may cause the motion of the body of the mobile terminal to be predicted in a range of amplitude and frequency, and thus the amplitude and frequency range of the vibration of the diaphragm may be determined, and the vibration of the diaphragm may be further determined.
  • the signal characteristics of the electrical signal generated on the signal input line of the audio output device can be caused by the motion.
  • the vibration characteristics of the diaphragm when the mobile terminal is in the environment state for audio output may be analyzed, and further analyzing the vibration characteristics may cause signal input of the audio output device. Signal characteristics of electrical signals generated on the line.
  • an experimental method may also be adopted to detect the electricity generated on the signal input line of the audio output device when the corresponding operation or the mobile terminal is in the corresponding environmental state.
  • the signal records the parameter characteristics of the electrical signal corresponding to the plurality of experiments, thereby determining the signal characteristics corresponding to the corresponding operation, or determining the signal characteristics of the mobile terminal in the corresponding environmental state.
  • an operation instruction triggered by a click operation may be set to be unlocked.
  • the correspondence between the signal feature and the operation instruction may be established, and the server may store the corresponding relationship, and may be stored in the form of a correspondence table.
  • the server may store signal features corresponding to any operation and/or environment state according to requirements, and the pre-stored signal features may include, but are not limited to, one or more of the following signal characteristics: signal characteristics when the body is clicked The signal characteristics when the body is continuously clicked, and the signal characteristics when the body is in the reciprocating state.
  • continuous clicks can be double clicks.
  • the reciprocating state of the body can be considered as the state when the user shakes the mobile terminal.
  • the server may arbitrarily set the operation instruction corresponding to the signal feature according to requirements, where the operation instruction may include, but is not limited to, one or more of the following signal characteristics: an operation instruction for unlocking the screen, an operation instruction for answering the phone, and starting Operation instructions for the camera function, etc.
  • the first signal feature for detecting the electrical signal generated on the signal input line of the audio output device during the audio output of the audio output device on the local body, correspondingly, in step 102, the first signal feature.
  • the signal characteristic may be when the airframe is in a closed environment, and the first operation instruction may be an operation instruction for increasing the volume and/or increasing the ringing strength.
  • the signal characteristic of the airframe when it is in a closed environment may be a signal variation characteristic of an electrical signal generated on a signal input line of the audio output device relative to an output signal transmitted by the mobile terminal to the audio output device, and the signal variation characteristic It is a signal characteristic that the mobile terminal has when it is in a closed environment such as a school bag or a pocket. If the detected electrical signal satisfies the signal change characteristic, it may be determined that the mobile terminal is currently located in a closed environment. In this case, if there is an incoming call, the ringtone or ringing of the mobile terminal may not be detected by the user, so the situation may be set.
  • the down-triggered operation command is an operation command to increase the volume and/or increase the ringing strength.
  • step 103 a first operational instruction is executed.
  • different operational commands can be triggered depending on different signal characteristics.
  • the signal characteristic when the body is clicked corresponds to the operation instruction of the screen unlocking
  • the signal characteristic when the body is continuously clicked corresponds to the operation instruction of the answering telephone
  • the signal characteristic when the body is in the reciprocating state corresponds to the operation instruction for starting the photographing function, etc. Wait.
  • the mobile terminal can perform corresponding operation processing.
  • an electrical signal generated on a signal input line of an audio output device on a local body is detected, and when the detected electrical signal satisfies a first signal characteristic of a pre-stored signal feature, according to a pre-stored signal Corresponding relationship between the feature and the operation instruction, determining the first operation instruction corresponding to the first signal feature, and executing the first operation instruction, so that the signal may be generated on the signal input line of the audio output device based on the user operation or the state of the body
  • the characteristics of the electrical signal are used to trigger the execution of the corresponding operation command, so that the operation instruction can be triggered regardless of whether the screen is in the display state, and a more varied manner of triggering the execution operation instruction other than the physical button is provided. Increased flexibility in triggering execution of operational instructions.
  • an embodiment of the present disclosure further provides an apparatus for triggering execution of an operation instruction.
  • the apparatus includes: a detection module 310, a determination module 320, and an execution module 330.
  • the detecting module 310 is configured to detect an electrical signal generated on a signal input line of the audio output device on the local body;
  • a determining module 320 configured to determine, according to a correspondence between a pre-stored signal feature and an operation instruction, a first corresponding to the first signal feature, when the detected electrical signal satisfies a first signal feature of the pre-stored signal feature Operation instruction
  • the executing module 330 is configured to execute the first operation instruction.
  • the detecting module 310 is configured to: when an audio output device on the local body performs audio output, detect an electrical signal generated on a signal input line of the audio output device;
  • the first signal feature includes: a signal characteristic when the airframe is in a closed environment
  • the first operation instruction includes an operation instruction of increasing a volume and/or increasing a ringing strength.
  • the pre-stored signal feature includes one or more of the following signal characteristics:
  • the correspondence between the signal feature and the operation instruction includes one or more of the following operation instructions:
  • the detecting module 310 is configured to:
  • a voltage signal and a current signal generated on a signal input line of the audio output device on the local body are detected.
  • an electrical signal generated on a signal input line of an audio output device on a local body is detected, and when the detected electrical signal satisfies a first signal characteristic of a pre-stored signal feature, according to a pre-stored signal Corresponding relationship between the feature and the operation instruction, determining the first operation instruction corresponding to the first signal feature, and executing the first operation instruction, so that the signal may be generated on the signal input line of the audio output device based on the user operation or the state of the body
  • the characteristics of the electrical signal are used to trigger the execution of the corresponding operation command, so that the operation instruction can be triggered regardless of whether the screen is in the display state, and a more varied manner of triggering the execution operation instruction other than the physical button is provided. Increased flexibility in triggering execution of operational instructions.
  • the terminal can be a mobile phone, a tablet, or the like.
  • the terminal 1000 may include one or more of the following components: a processing component 1002, a memory 1004, a power component 1006, a multimedia component 1008, an audio component 1010, an input/output (I/O) interface 1012, and a sensor component 1014. And a communication component 1016.
  • Processing component 1002 typically controls the overall operation of terminal 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 1002 can include one or more processors 1020 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 1002 can include one or more modules to facilitate interaction between component 1002 and other components.
  • processing component 1002 can include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002.
  • the memory 1004 is configured to store various types of data to support operations at the terminal 1000. Examples of such data include instructions for any application or method operating on terminal 1000, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 1004 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk
  • Optical Disk Optical Disk
  • Power component 1006 provides power to various components of terminal 1000.
  • Power component 1006 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 1000.
  • the multimedia component 1008 includes a screen providing an output interface between the terminal 1000 and a user.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, The screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 1008 includes a front camera and/or a rear camera. When the terminal 1000 is in an operation mode such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 1010 is configured to output and/or input an audio signal.
  • the audio component 1010 includes a microphone (MIC) that is configured to receive an external audio signal when the terminal 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 1004 or transmitted via communication component 1016.
  • the audio component 1010 also includes a speaker for outputting an audio signal.
  • the I/O interface 1012 provides an interface between the processing component 1002 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 1014 includes one or more sensors for providing terminal 1000 with various aspects of status assessment.
  • sensor assembly 1014 can detect an open/closed state of terminal 1000, relative positioning of components, such as the display and keypad of terminal 1000, and sensor component 1014 can also detect a change in position of a component of terminal 1000 or terminal 1000. The presence or absence of contact of the user with the terminal 1000, the orientation or acceleration/deceleration of the terminal 1000 and the temperature change of the terminal 1000.
  • Sensor assembly 1014 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 1014 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1016 is configured to facilitate wired or wireless communication between terminal 1000 and other devices.
  • the terminal 1000 can access a wireless network based on a communication standard such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 1016 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 1016 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • terminal 1000 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor, first charge management device, second charge management device, or other Electronic component implementation for performing the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable Gate array
  • controller microcontroller, microprocessor, first charge management device, second charge management device, or other Electronic component implementation for performing the above method.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1004 including instructions executable by processor 1020 of terminal 1000 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a terminal, enabling the terminal to perform a method of performing charging, the method comprising:
  • the detecting the electrical signal generated on the signal input line of the audio output device on the local body includes:
  • the first signal feature includes: a signal characteristic when the airframe is in a closed environment
  • the first operation instruction includes an operation instruction of increasing a volume and/or increasing a ringing strength.
  • the pre-stored signal feature includes one or more of the following signal characteristics:
  • the correspondence between the signal feature and the operation instruction includes one or more of the following operation instructions:
  • the detecting the electrical signal generated on the signal input line of the audio output device on the local body includes:
  • a voltage signal and a current signal generated on a signal input line of the audio output device on the local body are detected.
  • an electrical signal generated on a signal input line of an audio output device on a local body is detected, and when the detected electrical signal satisfies a first signal characteristic of a pre-stored signal feature, according to a pre-stored signal Corresponding relationship between the feature and the operation instruction, determining the first operation instruction corresponding to the first signal feature, and executing the first operation instruction, so that the signal may be generated on the signal input line of the audio output device based on the user operation or the state of the body Electrical signal
  • the function is to trigger the execution of the corresponding operation instruction, so that the operation instruction can be triggered regardless of whether the screen is in the display state, and the manner of triggering the execution operation instruction other than the physical button is provided, and the trigger is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Selective Calling Equipment (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)
  • Studio Devices (AREA)

Abstract

一种触发执行操作指令的方法和装置,可以提高触发执行操作指令的灵活性,属于计算机技术领域。所述方法包括:检测本地机身上的音频输出设备的信号输入线路上产生的电信号(101);当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定所述第一信号特征对应的第一操作指令(102);执行所述第一操作指令(103)。

Description

一种触发执行操作指令的方法和装置
相关申请的交叉引用
本申请基于申请号为201510020749.7、申请日为2015/1/15的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开是关于计算机技术领域,尤其是关于一种触发执行操作指令的方法和装置。
背景技术
随着通信技术和计算机技术的飞速发展,手机等移动终端得到了快速的普及,已经成为了人们工作、生活中必不可少的工具之一。移动终端具有多种多样的功能,可以通过执行不同的操作指令来实现不同的功能。
一般,最常用的触发执行操作指令的方式是,通过对触摸屏的触碰操作来触发执行相应的操作指令。不过这种方式的缺点在于仅适用于屏幕显示状态。另外,还有一种常用的触发执行操作指令的方式,就是通过机身上设置的物理按键触发执行相应的操作指令。
发明内容
为了克服相关技术中存在的问题,本公开提供了一种触发执行操作指令的方法和装置。所述技术方案如下:
根据本公开实施例的第一方面,提供一种触发执行操作指令的方法,所述方法包括:
检测本地机身上的音频输出设备的信号输入线路上产生的电信号;
当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定所述第一信号特征对应的第一操作指令;
执行所述第一操作指令。
可选的,所述检测本地机身上的音频输出设备的信号输入线路上产生的电信号,包括:
在本地机身上的音频输出设备进行音频输出的过程中,检测所述音频输出设备的信号输入线路上产生的电信号;
所述第一信号特征,包括:所述机身处于封闭环境时的信号特征;
所述第一操作指令,包括:增大音量和/或增大振铃强度的操作指令。
可选的,所述预先存储的信号特征,包括以下信号特征中的一种或多种:
点击所述机身时的信号特征;
连续点击所述机身时的信号特征;
所述机身处于往复运动状态时的信号特征。
可选的,所述信号特征与操作指令的对应关系中,包括以下操作指令中的一种或多种:
屏幕解锁的操作指令;
接听电话的操作指令;
启动拍照功能的操作指令。
可选的,所述检测本地机身上的音频输出设备的信号输入线路上产生的电信号,包括:
检测本地机身上的音频输出设备的信号输入线路上产生的电压信号和电流信号。
根据本公开实施例的第二方面,提供一种触发执行操作指令的装置,所述装置包括:
检测模块,用于检测本地机身上的音频输出设备的信号输入线路上产生的电信号;
确定模块,用于当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定所述第一信号特征对应的第一操作指令;
执行模块,用于执行所述第一操作指令。
可选的,所述检测模块,用于:在本地机身上的音频输出设备进行音频输出的过程中,检测所述音频输出设备的信号输入线路上产生的电信号;
所述第一信号特征,包括:所述机身处于封闭环境时的信号特征;
所述第一操作指令,包括:增大音量和/或增大振铃强度的操作指令。
可选的,所述预先存储的信号特征,包括以下信号特征中的一种或多种:
点击所述机身时的信号特征;
连续点击所述机身时的信号特征;
所述机身处于往复运动状态时的信号特征。
可选的,所述信号特征与操作指令的对应关系中,包括以下操作指令中的一种或多种:
屏幕解锁的操作指令;
接听电话的操作指令;
启动拍照功能的操作指令。
可选的,所述检测模块,用于:
检测本地机身上的音频输出设备的信号输入线路上产生的电压信号和电流信号。
根据本公开实施例的第三方面,提供一种触发执行操作指令的装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
检测本地机身上的音频输出设备的信号输入线路上产生的电信号;
当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定所述第一信号特征对应的第一操作指令;
执行所述第一操作指令。
本公开的实施例提供的技术方案可以包括以下有益效果:
本公开实施例中,检测本地机身上的音频输出设备的信号输入线路上产生的电信号,当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定第一信号特征对应的第一操作指令,执行第一操作指令,这样,可以基于用户操作或机身所处状态所导致的音频输出设备的信号输入线路上产生的电信号的特点,来触发执行相应的操作指令,从而,无论屏幕是否处于显示状态,都可以触发执行操作指令,而且,提供了物理按键之外的更丰富多样的触发执行操作指令的方式,可以提高触发执行操作指令的灵活性。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。在附图中:
图1是根据一示例性实施例示出的一种触发执行操作指令的方法的流程图;
图2是根据一示例性实施例示出的一种电路结构示意图;
图3是根据一示例性实施例示出的一种触发执行操作指令的装置结构示意图;
图4是根据一示例性实施例示出的一种终端的结构示意图。
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
实施例一
本公开实施例提供了一种触发执行操作指令的方法,如图1所示,该方法的处理流程可以包括如下的步骤:
在步骤101中,检测本地机身上的音频输出设备的信号输入线路上产生的电信号。
在步骤102中,当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定第一信号特征对应的第一操作指令。
在步骤103中,执行第一操作指令。
本公开实施例中,检测本地机身上的音频输出设备的信号输入线路上产生的电信号,当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定第一信号特征对应的第一操作指令,执行第一操作指令,这样,可以基于用户操作或机身所处状态所导致的音频输出设备的信号输入线路上产生的电信号的特点,来触发执行相应的操作指令,从而,无论屏幕是否处于显示状态,都可以触发执行操作指令,而且,提供了物理按键之外的更丰富多样的触发执行操作指令的方式,提高了触发执行操作指令的灵活性。
实施例二
本公开实施例提供了一种触发执行操作指令的方法,该方法可以用于终端,如手机、平板电脑等移动终端。在本实施例中,以执行主体为移动终端为例,进行方案的详细说明,其它情况与之类似,本实施例不再进行累述。
下面将结合实施方式,对图1所示的处理流程进行详细的说明,内容可以如下:
在步骤101中,检测本地机身上的音频输出设备的信号输入线路上产生的电信号。
在实施中,移动终端的机身上可以安装有音频输出设备,如扬声器,音频输出设备可以安装在机身的底部、顶部、背部等位置。在移动终端内部,音频处理的芯片可以连接数模转换器,数模转换器再与功率放大器连接,功率放大器与音频输出设备的信号输入端连接,功率放大器与音频输出设备之间的线路即为音频输出设备的信号输入线路,可以对该线路上的电信号进行检测。此电信号可以包括电压信号和电流信号。
当音频输出设备在接收到输出信号时,输出信号在音频输出设备中会产生电磁场,磁场 会带动音频输出设备中的振膜振动,从而发出声音。相反的,当移动终端的机身发生运动时(例如,用户摇动移动终端,或者点击移动终端的机身等),音频输出设备的振膜会发生振动,振膜的振动可以产生电磁场,从而在音频输出设备的信号输入线路上会产生电信号。即使音频输出设备未处于工作状态,基于上述原理,当移动终端振动时,在音频输出设备的信号输入线路上也可以产生电信号。
本实施例中功率放大器的结构可以如图2所示,相对于普通的功率放大器,增加了反馈信号输入端和反馈信号输出端。反馈信号输入端用于获取音频输出设备的信号输入线路上的电信号。图中的数模转换电路可以设置在功率放大器外部,也可以设置在功率放大器内部,用于将信号输入线路上的电信号由模拟信号转换为数字信号。反馈信号输出端可以与移动终端的中央处理器连接,用于将转换得到的数字信号发送给中央处理器进行后续处理。反馈信号输入端还可以包括反馈电流信号输入端和反馈电压信号输入端,反馈信号输出端还可以包括反馈电流信号输出端和反馈电压信号输出端。
可选的,步骤101的处理可以是:在本地机身上的音频输出设备进行音频输出的过程中,检测音频输出设备的信号输入线路上产生的电信号。
在实施中,在音频输出设备进行音频输出的过程中,移动终端所处的环境的变化可能会影响振膜的振动情况,从而会导致音频输出设备的信号输入线路上的电信号发生变化。例如,移动终端处于书包、口袋等封闭环境中时,通过扬声器播放铃声,四面包围物体对铃声形成反射,而且反射的声波强度较大,此时反射的声波会对扬声器振膜的振动产生很大的影响,进而会影响音频输出设备的信号输入线路上的电信号,此时信号输入线路上的电信号相对于实际向音频输出设备传输的输出信号会存在一定的差别,相对于移动终端处于开阔环境下信号输入线路上的电信号也会存在一定的差别。所以,可以在音频输出设备进行音频输出的过程中,检测音频输出设备的信号输入线路上产生的电信号,进行后续的分析。具体的检测方式可以参见上面的相关内容。
在步骤102中,当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定第一信号特征对应的第一操作指令。
在实施中,服务器可以存储不同的操作对应的不同信号特征,在确定某操作对应的信号特征时,可以分析该操作所导致的移动终端机身的运动,进而分析该运动过程中音频输出设备中振膜的振动特征,再进一步分析该振动特征所能导致音频输出设备的信号输入线路上产生的电信号的信号特征。例如,点击操作会导致移动终端的机身发生一次振幅和频率的范围可以预知的运动,进而可以确定振膜振动的振幅和频率的范围,再进一步可以确定此振膜振 动所能导致音频输出设备的信号输入线路上产生的电信号的信号特征。在确定移动终端所处的某环境状态对应的信号特征时,可以分析移动终端处于该环境状态下进行音频输出时振膜的振动特征,再进一步分析该振动特征所能导致音频输出设备的信号输入线路上产生的电信号的信号特征。
或者,在确定某操作或某环境状态对应的信号特征时,也可以采用实验的方法,在进行相应的操作或移动终端处于相应的环境状态时,检测音频输出设备的信号输入线路上产生的电信号,记录多次实验对应的电信号的参数特征,进而确定相应的操作对应的信号特征,或者确定移动终端处于相应的环境状态下的信号特征。
另外,还可以为不同操作和/或不同环境状态设置其触发的操作指令,例如,点击操作触发的操作指令可以设置为屏幕解锁。进而可以建立信号特征与操作指令的对应关系,服务器可以对此对应关系进行存储,具体可以采用对应关系表的形式进行存储。
可选的,服务器可以根据需求存储任意操作和/或环境状态对应的信号特征,其预先存储的信号特征可以包括且不仅限于以下信号特征中的一种或多种:点击机身时的信号特征、连续点击机身时的信号特征、机身处于往复运动状态时的信号特征等。
其中,连续点击可以为双击。机身处于往复运动状态可以认为是用户摇动移动终端时的状态。
可选的,服务器可以根据需求任意设置信号特征对应的操作指令,其中的操作指令可以包括且不仅限于以下信号特征中的一种或多种:屏幕解锁的操作指令、接听电话的操作指令、启动拍照功能的操作指令等。
可选的,对于上述在本地机身上的音频输出设备进行音频输出的过程中检测音频输出设备的信号输入线路上产生的电信号的情况,相应的,在步骤102中,第一信号特征,可以为机身处于封闭环境时的信号特征,第一操作指令,可以为增大音量和/或增大振铃强度的操作指令。
在实施中,机身处于封闭环境时的信号特征,可以是音频输出设备的信号输入线路上产生的电信号相对于移动终端向音频输出设备传输的输出信号的信号变化特征,而且该信号变化特征是移动终端处于封闭环境(如书包或口袋)中时所具有的信号特征。如果检测到的电信号满足该信号变化特征,则可以确定移动终端当前位于封闭环境中,这时,如果有来电,移动终端的铃声或振铃很可能无法被用户发觉,所以,可以设置该情况下触发的操作指令为增大音量和/或增大振铃强度的操作指令。
在步骤103中,执行第一操作指令。
在实施中,根据不同的信号特征,可以触发不同的操作指令。例如,点击机身时的信号特征对应屏幕解锁的操作指令,连续点击机身时的信号特征对应接听电话的操作指令,机身处于往复运动状态时的信号特征对应启动拍照功能的操作指令,等等。操作指令被触发执行以后,移动终端则可以进行相应的操作处理。
本公开实施例中,检测本地机身上的音频输出设备的信号输入线路上产生的电信号,当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定第一信号特征对应的第一操作指令,执行第一操作指令,这样,可以基于用户操作或机身所处状态所导致的音频输出设备的信号输入线路上产生的电信号的特点,来触发执行相应的操作指令,从而,无论屏幕是否处于显示状态,都可以触发执行操作指令,而且,提供了物理按键之外的更丰富多样的触发执行操作指令的方式,提高了触发执行操作指令的灵活性。
实施例三
基于相同的技术构思,本公开实施例还提供了一种触发执行操作指令的装置,如图3所示,该装置包括:检测模块310、确定模块320和执行模块330。
检测模块310,用于检测本地机身上的音频输出设备的信号输入线路上产生的电信号;
确定模块320,用于当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定所述第一信号特征对应的第一操作指令;
执行模块330,用于执行所述第一操作指令。
可选的,所述检测模块310,用于:在本地机身上的音频输出设备进行音频输出的过程中,检测所述音频输出设备的信号输入线路上产生的电信号;
所述第一信号特征,包括:所述机身处于封闭环境时的信号特征;
所述第一操作指令,包括:增大音量和/或增大振铃强度的操作指令。
可选的,所述预先存储的信号特征,包括以下信号特征中的一种或多种:
点击所述机身时的信号特征;
连续点击所述机身时的信号特征;
所述机身处于往复运动状态时的信号特征。
可选的,所述信号特征与操作指令的对应关系中,包括以下操作指令中的一种或多种:
屏幕解锁的操作指令;
接听电话的操作指令;
启动拍照功能的操作指令。
可选的,所述检测模块310,用于:
检测本地机身上的音频输出设备的信号输入线路上产生的电压信号和电流信号。
本公开实施例中,检测本地机身上的音频输出设备的信号输入线路上产生的电信号,当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定第一信号特征对应的第一操作指令,执行第一操作指令,这样,可以基于用户操作或机身所处状态所导致的音频输出设备的信号输入线路上产生的电信号的特点,来触发执行相应的操作指令,从而,无论屏幕是否处于显示状态,都可以触发执行操作指令,而且,提供了物理按键之外的更丰富多样的触发执行操作指令的方式,提高了触发执行操作指令的灵活性。
实施例四
本公开实施例还示出的一种终端的结构示意图。该终端可以是手机、平板电脑等。
参照图4,终端1000可以包括以下一个或多个组件:处理组件1002,存储器1004,电源组件1006,多媒体组件1008,音频组件1010,输入/输出(I/O)的接口1012,传感器组件1014,以及通信组件1016。
处理组件1002通常控制终端1000的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件1002可以包括一个或多个处理器1020来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1002可以包括一个或多个模块,便于处理组件1002和其他组件之间的交互。例如,处理部件1002可以包括多媒体模块,以方便多媒体组件1008和处理组件1002之间的交互。
存储器1004被配置为存储各种类型的数据以支持在终端1000的操作。这些数据的示例包括用于在终端1000上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1004可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件1006为终端1000的各种组件提供电力。电力组件1006可以包括电源管理系统,一个或多个电源,及其他与为终端1000生成、管理和分配电力相关联的组件。
多媒体组件1008包括在所述终端1000和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板, 屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1008包括一个前置摄像头和/或后置摄像头。当终端1000处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件1010被配置为输出和/或输入音频信号。例如,音频组件1010包括一个麦克风(MIC),当终端1000处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1004或经由通信组件1016发送。在一些实施例中,音频组件1010还包括一个扬声器,用于输出音频信号。
I/O接口1012为处理组件1002和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件1014包括一个或多个传感器,用于为终端1000提供各个方面的状态评估。例如,传感器组件1014可以检测到终端1000的打开/关闭状态,组件的相对定位,例如所述组件为终端1000的显示器和小键盘,传感器组件1014还可以检测终端1000或终端1000一个组件的位置改变,用户与终端1000接触的存在或不存在,终端1000方位或加速/减速和终端1000的温度变化。传感器组件1014可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1014还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1014还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1016被配置为便于终端1000和其他设备之间有线或无线方式的通信。终端1000可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1016经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件1016还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,终端1000可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器、第一充电管理器件、第二充电管理器件或其他 电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1004,上述指令可由终端1000的处理器1020执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行一种进行充电的的方法,该方法包括:
检测本地机身上的音频输出设备的信号输入线路上产生的电信号;
当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定所述第一信号特征对应的第一操作指令;
执行所述第一操作指令。
可选的,所述检测本地机身上的音频输出设备的信号输入线路上产生的电信号,包括:
在本地机身上的音频输出设备进行音频输出的过程中,检测所述音频输出设备的信号输入线路上产生的电信号;
所述第一信号特征,包括:所述机身处于封闭环境时的信号特征;
所述第一操作指令,包括:增大音量和/或增大振铃强度的操作指令。
可选的,所述预先存储的信号特征,包括以下信号特征中的一种或多种:
点击所述机身时的信号特征;
连续点击所述机身时的信号特征;
所述机身处于往复运动状态时的信号特征。
可选的,所述信号特征与操作指令的对应关系中,包括以下操作指令中的一种或多种:
屏幕解锁的操作指令;
接听电话的操作指令;
启动拍照功能的操作指令。
可选的,所述检测本地机身上的音频输出设备的信号输入线路上产生的电信号,包括:
检测本地机身上的音频输出设备的信号输入线路上产生的电压信号和电流信号。
本公开实施例中,检测本地机身上的音频输出设备的信号输入线路上产生的电信号,当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定第一信号特征对应的第一操作指令,执行第一操作指令,这样,可以基于用户操作或机身所处状态所导致的音频输出设备的信号输入线路上产生的电信号 的特点,来触发执行相应的操作指令,从而,无论屏幕是否处于显示状态,都可以触发执行操作指令,而且,提供了物理按键之外的更丰富多样的触发执行操作指令的方式,提高了触发执行操作指令的灵活性。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制

Claims (11)

  1. 一种触发执行操作指令的方法,其特征在于,所述方法包括:
    检测本地机身上的音频输出设备的信号输入线路上产生的电信号;
    当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定所述第一信号特征对应的第一操作指令;
    执行所述第一操作指令。
  2. 根据权利要求1所述的方法,其特征在于,所述检测本地机身上的音频输出设备的信号输入线路上产生的电信号,包括:
    在本地机身上的音频输出设备进行音频输出的过程中,检测所述音频输出设备的信号输入线路上产生的电信号;
    所述第一信号特征,包括:所述机身处于封闭环境时的信号特征;
    所述第一操作指令,包括:增大音量和/或增大振铃强度的操作指令。
  3. 根据权利要求1所述的方法,其特征在于,所述预先存储的信号特征,包括以下信号特征中的一种或多种:
    点击所述机身时的信号特征;
    连续点击所述机身时的信号特征;
    所述机身处于往复运动状态时的信号特征。
  4. 根据权利要求1所述的方法,其特征在于,所述信号特征与操作指令的对应关系中,包括以下操作指令中的一种或多种:
    屏幕解锁的操作指令;
    接听电话的操作指令;
    启动拍照功能的操作指令。
  5. 根据权利要求1所述的方法,其特征在于,所述检测本地机身上的音频输出设备的信号输入线路上产生的电信号,包括:
    检测本地机身上的音频输出设备的信号输入线路上产生的电压信号和电流信号。
  6. 一种触发执行操作指令的装置,其特征在于,所述装置包括:
    检测模块,用于检测本地机身上的音频输出设备的信号输入线路上产生的电信号;
    确定模块,用于当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定所述第一信号特征对应的第一操作指令;
    执行模块,用于执行所述第一操作指令。
  7. 根据权利要求6所述的装置,其特征在于,所述检测模块,用于:在本地机身上的音频输出设备进行音频输出的过程中,检测所述音频输出设备的信号输入线路上产生的电信号;
    所述第一信号特征,包括:所述机身处于封闭环境时的信号特征;
    所述第一操作指令,包括:增大音量和/或增大振铃强度的操作指令。
  8. 根据权利要求6所述的装置,其特征在于,所述预先存储的信号特征,包括以下信号特征中的一种或多种:
    点击所述机身时的信号特征;
    连续点击所述机身时的信号特征;
    所述机身处于往复运动状态时的信号特征。
  9. 根据权利要求6所述的装置,其特征在于,所述信号特征与操作指令的对应关系中,包括以下操作指令中的一种或多种:
    屏幕解锁的操作指令;
    接听电话的操作指令;
    启动拍照功能的操作指令。
  10. 根据权利要求6所述的装置,其特征在于,所述检测模块,用于:
    检测本地机身上的音频输出设备的信号输入线路上产生的电压信号和电流信号。
  11. 一种触发执行操作指令的装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    检测本地机身上的音频输出设备的信号输入线路上产生的电信号;
    当检测到的电信号满足预先存储的信号特征中的第一信号特征时,根据预先存储的信号特征与操作指令的对应关系,确定所述第一信号特征对应的第一操作指令;
    执行所述第一操作指令。
PCT/CN2015/093407 2015-01-15 2015-10-30 一种触发执行操作指令的方法和装置 WO2016112731A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
EP15877642.7A EP3246807B1 (en) 2015-01-15 2015-10-30 Method and apparatus for triggering execution of operation instruction
JP2016545289A JP6336091B2 (ja) 2015-01-15 2015-10-30 操作命令の実行をトリガする方法及び装置
KR1020167028646A KR101933642B1 (ko) 2015-01-15 2015-10-30 조작 명령의 실행을 트리거링하기 위한 방법 및 장치
RU2016149323A RU2669530C2 (ru) 2015-01-15 2015-10-30 Способ и устройство для запуска исполнения инструкции работы
MX2017005363A MX370892B (es) 2015-01-15 2015-10-30 Método y aparato para desencadenar la ejecución de instrucciones de operación.
US15/647,310 US10191717B2 (en) 2015-01-15 2017-07-12 Method and apparatus for triggering execution of operation instruction

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510020749.7A CN104657072B (zh) 2015-01-15 2015-01-15 一种触发执行操作指令的方法和装置
CN201510020749.7 2015-01-15

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/647,310 Continuation US10191717B2 (en) 2015-01-15 2017-07-12 Method and apparatus for triggering execution of operation instruction

Publications (1)

Publication Number Publication Date
WO2016112731A1 true WO2016112731A1 (zh) 2016-07-21

Family

ID=53248270

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093407 WO2016112731A1 (zh) 2015-01-15 2015-10-30 一种触发执行操作指令的方法和装置

Country Status (8)

Country Link
US (1) US10191717B2 (zh)
EP (1) EP3246807B1 (zh)
JP (1) JP6336091B2 (zh)
KR (1) KR101933642B1 (zh)
CN (1) CN104657072B (zh)
MX (1) MX370892B (zh)
RU (1) RU2669530C2 (zh)
WO (1) WO2016112731A1 (zh)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657072B (zh) * 2015-01-15 2018-06-12 小米科技有限责任公司 一种触发执行操作指令的方法和装置
CN106814845A (zh) * 2015-11-27 2017-06-09 小米科技有限责任公司 触发执行操作指令的方法和装置
CN105635378A (zh) * 2015-12-28 2016-06-01 小米科技有限责任公司 通话质量调整方法、装置及移动终端
CN105739850A (zh) * 2016-01-20 2016-07-06 广东欧珀移动通信有限公司 多媒体进度的处理方法及装置
CN107450810A (zh) * 2016-05-31 2017-12-08 北京小米移动软件有限公司 操作处理方法及装置
CN107450880A (zh) * 2016-06-01 2017-12-08 北京小米移动软件有限公司 更新显示内容的方法及装置
CN107454306B (zh) * 2016-06-01 2020-10-09 北京小米移动软件有限公司 采集图像的方法及装置
CN107450940A (zh) * 2016-06-01 2017-12-08 北京小米移动软件有限公司 智能终端打开应用程序的方法及装置
CN107665083A (zh) * 2016-07-29 2018-02-06 北京小米移动软件有限公司 操作处理方法及装置
CN107426411A (zh) * 2017-05-31 2017-12-01 成都希德电子信息技术有限公司 基于红外线控制的手机通讯系统
US10225656B1 (en) * 2018-01-17 2019-03-05 Harman International Industries, Incorporated Mobile speaker system for virtual reality environments
CN110471603A (zh) * 2019-07-30 2019-11-19 深圳市中科维宁科技有限公司 一种软件系统快速调用功能菜单的处理方法
CN110691016B (zh) * 2019-09-29 2021-08-31 歌尔股份有限公司 一种基于音频设备实现的交互方法及音频设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761984A (zh) * 2014-01-26 2014-04-30 小米科技有限责任公司 一种音频控制的方法、装置及终端设备
KR101480655B1 (ko) * 2013-12-26 2015-01-09 현대자동차주식회사 스피커를 이용한 사용자 인터페이스 장치 및 그 방법
CN104657072A (zh) * 2015-01-15 2015-05-27 小米科技有限责任公司 一种触发执行操作指令的方法和装置

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60241096A (ja) * 1984-05-16 1985-11-29 株式会社日立製作所 音声情報入出力装置
WO1998026513A1 (de) * 1996-12-12 1998-06-18 Siemens Aktiengesellschaft Mobiltelefon
JPH1153103A (ja) * 1997-08-04 1999-02-26 Digital Hoitsupu:Kk 制御信号入力装置及び情報入力表示システム
JP2000056872A (ja) * 1998-08-06 2000-02-25 Fujitsu Ltd 音波を用いて信号入力又は信号出力を行う音声入力装置、音声出力装置、音声入出力装置及び情報処理装置並びに該情報処理装置において用いられる記録媒体
JP4163045B2 (ja) * 2003-05-12 2008-10-08 アルプス電気株式会社 座標入力装置
US7570769B2 (en) * 2004-04-23 2009-08-04 Motorola, Inc. Air leak self-diagnosis for a communication device
US20050238180A1 (en) * 2004-04-27 2005-10-27 Jinsuan Chen All in one acoustic wireless headphones
US7966084B2 (en) * 2005-03-07 2011-06-21 Sony Ericsson Mobile Communications Ab Communication terminals with a tap determination circuit
KR101434302B1 (ko) * 2007-07-25 2014-08-27 삼성전자주식회사 불량 스피커 검출방법 및 이를 적용한 음향장치
JP2009143454A (ja) * 2007-12-14 2009-07-02 Fujitsu Ten Ltd 車両制御装置及び車両状態監視方法
US9274681B2 (en) * 2008-03-26 2016-03-01 Lg Electronics Inc. Terminal and method of controlling the same
CN102202131B (zh) * 2010-03-26 2014-06-04 索尼爱立信移动通讯有限公司 便携式电子设备的基于振动的应用激活
JP5531751B2 (ja) * 2010-04-19 2014-06-25 株式会社ニコン 表示装置
CN102316208A (zh) * 2010-07-06 2012-01-11 上海闻泰电子科技有限公司 根据环境音量自动调整移动终端来电铃音音量的装置
KR20120035529A (ko) * 2010-10-06 2012-04-16 삼성전자주식회사 휴대용 단말기에서 적응적 제스처 인식 장치 및 방법
JP2013080015A (ja) * 2011-09-30 2013-05-02 Toshiba Corp 音声認識装置および音声認識方法
KR101821210B1 (ko) * 2011-12-22 2018-01-23 엘지전자 주식회사 휴대 단말기
CN103428326A (zh) * 2012-05-14 2013-12-04 中兴通讯股份有限公司 铃音调节处理方法及装置
US9152247B2 (en) * 2012-10-24 2015-10-06 Google Inc. Computing device with force-triggered non-visual responses
CN103853646A (zh) * 2012-12-04 2014-06-11 鸿富锦精密工业(武汉)有限公司 被叫提示系统及方法
US9519346B2 (en) * 2013-05-17 2016-12-13 Immersion Corporation Low-frequency effects haptic conversion system
US9240182B2 (en) * 2013-09-17 2016-01-19 Qualcomm Incorporated Method and apparatus for adjusting detection threshold for activating voice assistant function
CN103716458A (zh) * 2013-12-13 2014-04-09 上海斐讯数据通信技术有限公司 一种用于移动终端通话的语音音量调节方法
CN103780757A (zh) * 2014-01-10 2014-05-07 瑞声科技(南京)有限公司 基于音频终端开启应用程序的系统及其开启方法
CN103945062B (zh) * 2014-04-16 2017-01-18 华为技术有限公司 一种用户终端的音量调节方法、装置及终端
US9736782B2 (en) * 2015-04-13 2017-08-15 Sony Corporation Mobile device environment detection using an audio sensor and a reference signal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101480655B1 (ko) * 2013-12-26 2015-01-09 현대자동차주식회사 스피커를 이용한 사용자 인터페이스 장치 및 그 방법
CN103761984A (zh) * 2014-01-26 2014-04-30 小米科技有限责任公司 一种音频控制的方法、装置及终端设备
CN104657072A (zh) * 2015-01-15 2015-05-27 小米科技有限责任公司 一种触发执行操作指令的方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3246807A4 *

Also Published As

Publication number Publication date
JP6336091B2 (ja) 2018-06-06
KR101933642B1 (ko) 2018-12-28
RU2016149323A (ru) 2018-06-19
MX2017005363A (es) 2017-06-21
CN104657072B (zh) 2018-06-12
EP3246807B1 (en) 2020-04-22
RU2669530C2 (ru) 2018-10-11
CN104657072A (zh) 2015-05-27
RU2016149323A3 (zh) 2018-06-19
US10191717B2 (en) 2019-01-29
US20170308353A1 (en) 2017-10-26
MX370892B (es) 2020-01-09
KR20160132471A (ko) 2016-11-18
JP2017513078A (ja) 2017-05-25
EP3246807A4 (en) 2018-08-29
EP3246807A1 (en) 2017-11-22

Similar Documents

Publication Publication Date Title
WO2016112731A1 (zh) 一种触发执行操作指令的方法和装置
RU2612031C2 (ru) Способ управления съемкой и соответствующее устройство
US20180284981A1 (en) Method and apparatus for screen capture processing
CN105511686B (zh) 来电处理方法、装置及终端电子设备
WO2017128767A1 (zh) 指纹模板录入方法及装置
WO2016112727A1 (zh) 触摸屏和指纹识别实现装置及终端设备
WO2017036019A1 (zh) 移动终端控制的方法及移动终端
WO2016110144A1 (zh) 触摸按键和指纹识别实现装置、方法及终端设备
WO2016155304A1 (zh) 无线访问接入点的控制方法及装置
WO2016110146A1 (zh) 移动终端及虚拟按键的处理方法
WO2017201891A1 (zh) 控制触控屏状态的方法及装置、电子设备
KR20170038178A (ko) 지문 인식 방법, 장치, 이동 단말기, 프로그램 및 컴퓨터 판독가능한 기록매체
RU2665300C2 (ru) Способ и устройство для обработки точечной отчетности сенсорного экрана
US20170090684A1 (en) Method and apparatus for processing information
CN105242942A (zh) 应用控制方法和装置
WO2016065832A1 (zh) 供电电路和电子设备
WO2015143817A1 (zh) 用户指令执行方法及装置
WO2017107609A1 (zh) 状态切换方法及装置
CN106534658A (zh) 控制摄像头拍照的方法、装置及移动终端
WO2017045301A1 (zh) 应用安装方法、装置及智能设备
CN104333641A (zh) 通话方法及装置
CN106325508A (zh) 处理应用的方法及装置
CN105119984B (zh) 发送文件的方法及装置
CN108962189A (zh) 亮度调整方法及装置
EP3828716A1 (en) Method and apparatus for identifying electronic device, terminal device, and electronic device

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016545289

Country of ref document: JP

Kind code of ref document: A

REEP Request for entry into the european phase

Ref document number: 2015877642

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015877642

Country of ref document: EP

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

Ref document number: 15877642

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20167028646

Country of ref document: KR

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112016021238

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2016149323

Country of ref document: RU

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2017/005363

Country of ref document: MX

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112016021238

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20160914