WO2017185657A1 - Information processing method and terminal equipment - Google Patents

Information processing method and terminal equipment Download PDF

Info

Publication number
WO2017185657A1
WO2017185657A1 PCT/CN2016/101798 CN2016101798W WO2017185657A1 WO 2017185657 A1 WO2017185657 A1 WO 2017185657A1 CN 2016101798 W CN2016101798 W CN 2016101798W WO 2017185657 A1 WO2017185657 A1 WO 2017185657A1
Authority
WO
WIPO (PCT)
Prior art keywords
instruction
preset
user
terminal device
operation instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/101798
Other languages
French (fr)
Chinese (zh)
Inventor
朱留娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2017185657A1 publication Critical patent/WO2017185657A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • 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
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to an information processing method and a terminal device.
  • the phone can not only communicate, but also set an alarm clock, watch videos, and more.
  • the mobile phone alarm clock or the incoming call has a fixed button on the touch screen.
  • the user needs to perform corresponding operations on the fixed position of the screen. For example, when the mobile phone alarm sounds, the user needs to see which is the close button, which is the re-sound button, then operate, and sometimes even the hand slides, the phone will slide down, need to re-select the button, the phone alarm may no longer ring, miss The opportunity to choose, thus affecting the user's operation, and wasting time.
  • the embodiment of the present invention provides an information processing method and a terminal device, which saves user time and improves user experience.
  • An embodiment of the present invention provides an information processing method, where the method is applied to a terminal device, where the terminal device is configured with a sensor, and the method includes:
  • the determining whether the first operation instruction meets a preset condition, and performing an operation corresponding to the determination result according to the determination result includes:
  • the communication instruction comprises: an alarm instruction or a voice/video call.
  • the first preset instruction is a first touch operation instruction, and the operation corresponding to the first preset instruction is to turn off an alarm;
  • the second preset instruction is a second touch operation instruction, and the operation corresponding to the second preset instruction is an alarm alarm.
  • the first preset instruction is a third touch operation instruction, and the operation corresponding to the first preset instruction is to answer a voice/video call;
  • the second preset instruction is a fourth touch operation instruction, and the second preset instruction corresponds to an operation of rejecting a voice/video call.
  • An embodiment of the present invention provides a terminal device, where the terminal device includes a sensor, where the terminal device includes: an acquiring unit and a processing unit, where
  • the processing unit is configured to determine whether there is a user operation within a preset time after receiving the communication instruction
  • the acquiring unit is configured to acquire a first operation instruction of the user by using the sensor when the user operates in the preset time;
  • the processing unit is further configured to determine whether the first operation instruction satisfies a preset condition, and perform an operation corresponding to the determination result according to the determination result.
  • the processing unit is specifically configured to determine whether the first operation instruction is the same as the first preset instruction; specifically, the first operation instruction and the first preset instruction are further When the same, the operation corresponding to the first preset instruction is performed; specifically, when the first operation instruction is different from the first preset instruction, determining the first operation instruction and the second preset Whether the instructions are the same; specifically, when the first operation instruction is the same as the second preset instruction, performing an operation corresponding to the second preset instruction.
  • the communication instruction comprises: an alarm instruction or a voice/video call.
  • the first preset instruction is a first touch operation instruction, and the operation corresponding to the first preset instruction is to turn off an alarm;
  • the second preset instruction is a second touch operation instruction, and the operation corresponding to the second preset instruction is an alarm alarm.
  • the first preset instruction is a third touch operation instruction, and the operation corresponding to the first preset instruction is to answer a voice/video call;
  • the second preset instruction is a fourth touch operation instruction, and the second preset instruction corresponds to an operation of rejecting a voice/video call.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the preset condition After receiving the communication command, determining whether there is a user operation in a preset time; when there is a user operation in the preset time, obtaining a first operation instruction of the user by using the sensor; determining whether the first operation instruction is satisfied
  • the preset condition performs an operation corresponding to the determination result according to the determination result.
  • the storage medium is further arranged to store program code for performing the following steps:
  • An embodiment of the present invention provides an information processing method and a terminal device, where the terminal device is configured a sensor, after receiving the communication command, determining whether there is a user operation in a preset time; when there is a user operation in the preset time, acquiring a first operation instruction of the user by using the sensor; determining the first operation instruction Whether or not the preset condition is satisfied, an operation corresponding to the judgment result is performed based on the judgment result.
  • the information processing method and the terminal device provided by the embodiment of the present invention, the user does not need to click a button at a fixed position, and obtains an operation instruction of the user through the sensor. When the operation instruction of the user is the same as the preset instruction, the operation instruction corresponding to the user is executed. The operation thus saves the user's time and improves the user experience.
  • FIG. 1 is a schematic flowchart 1 of an information processing method according to an embodiment of the present invention.
  • FIG. 2 is a second schematic flowchart of an information processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart 3 of an information processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • An embodiment of the present invention provides an information processing method. As shown in FIG. 1 , the method may include:
  • Step 101 After receiving the communication instruction, determine whether there is a user operation within a preset time.
  • the executor of the information processing method provided by the embodiment of the present invention may be a terminal device, where a sensor is disposed in the terminal device, so that the user can detect the operation of the terminal device by the user.
  • the terminal device may specifically be a mobile phone, and a pressure sensor may be disposed in the mobile phone.
  • the position of the pressure sensor is not fixed and can be the front of the mobile phone, either on the side of the mobile phone or on the back of the mobile phone.
  • the communication instruction may be an alarm instruction or a voice/video call.
  • the preset time can be a unit time and can be any value between 100ms and 500ms.
  • Step 102 Acquire a first operation instruction of the user by using the sensor when the user operates in the preset time.
  • the terminal device acquires a first operation instruction of the user within a preset time by using a pressure sensor disposed on the mobile phone, and the first operation instruction may be understood as a pressing instruction of the user pressing the terminal.
  • Step 103 Determine whether the first operation instruction satisfies a preset condition, and perform an operation corresponding to the determination result according to the determination result.
  • the terminal device determines whether the first operation instruction is the same as the first preset instruction
  • the first preset instruction is a first touch operation instruction
  • the operation corresponding to the first preset instruction is to turn off the alarm clock
  • the second preset instruction is a second touch operation instruction.
  • the operation corresponding to the second preset instruction is an alarm alarm.
  • the first touch operation command and the second touch operation command can be customized according to the user's habits and preferences.
  • the first preset instruction may be a two-finger simultaneous click instruction, where the operation of the two-finger simultaneous click instruction is to turn off the alarm;
  • the second preset instruction is a single-finger double-click instruction, The operation corresponding to the single-finger double-click command is the alarm.
  • the first preset instruction is a third touch operation instruction, and the operation corresponding to the first preset instruction is to answer a voice/video call;
  • the second preset instruction is a fourth touch Controlling the operation instruction, the operation corresponding to the second preset instruction is to reject the voice/video call.
  • the third touch operation command and the fourth touch operation command can be customized according to the habits and preferences of the user.
  • the first preset instruction may be a single-finger click instruction, and the operation corresponding to the single-finger click instruction is to answer a voice/video call;
  • the second preset instruction is a single-finger double-click instruction.
  • the single-finger double-click instruction corresponds to the operation of rejecting voice/video calls.
  • the user can pre-customize the pressing instruction according to his own habits and preferences, that is, preset the preset instruction, and the user-operated operation of the terminal device completed in the preset time is the user operation instruction.
  • the preset time can be unit time, and the unit time is set to 100 ms.
  • the alarm is turned off, and the single finger double click indicates that the alarm is ringing again. If the user does not operate the preset operation command within the unit time, the command is considered invalid.
  • the user does not need to click a button at a fixed position, and acquires an operation instruction of the user through the sensor.
  • the operation instruction of the user is the same as the preset instruction, the operation corresponding to the operation instruction of the user is performed, thereby , saving users' time and improving user experience.
  • An embodiment of the present invention provides an information processing method. As shown in FIG. 2, the method may include:
  • Step 201 After receiving the alarm instruction, the terminal device determines whether there is a user operation within the preset time.
  • a sensor is disposed in the terminal device, so that the user can detect the operation of the terminal device by the user.
  • the user presets the preset time, and the preset time may be a unit time, and may be any value between 100 ms and 500 ms, which is not specifically limited in the embodiment of the present invention.
  • the user presets a preset instruction.
  • the first preset instruction is a first touch operation instruction, and the operation corresponding to the first preset instruction is to turn off an alarm;
  • the second preset The instruction is a second touch operation instruction, and the operation corresponding to the second preset instruction is an alarm alarm.
  • the first touch operation command and the second touch operation command can be customized according to the user's habits and preferences.
  • the first preset instruction may be a two-finger simultaneous click instruction, where the operation of the two-finger simultaneous click instruction is to turn off the alarm;
  • the second preset instruction is a single-finger double-click instruction, The operation corresponding to the single-finger double-click command is the alarm.
  • the terminal device may specifically be a mobile phone, and the pressure sensor may be disposed in the mobile phone.
  • the pressure sensor is not fixed, and may be the front of the mobile phone, and may be the side of the mobile phone or the back of the mobile phone.
  • step 202 is performed.
  • Step 202 When there is a user operation in the preset time, the terminal device acquires a first operation instruction of the user by using the sensor.
  • the terminal device acquires a first operation instruction of the user within a preset time by using a pressure sensor disposed on the mobile phone, and the first operation instruction may be understood as a pressing instruction of the user pressing the terminal.
  • Step 203 The terminal device determines whether the first operation instruction is the same as the first touch operation instruction.
  • Step 204 When the first operation instruction is the same as the first touch operation instruction, the terminal device performs an alarm-off operation.
  • Step 205 When the first operation instruction is different from the first touch operation instruction, the terminal device determines whether the first operation instruction and the second touch operation instruction are the same.
  • Step 206 When the first operation instruction is the same as the second touch operation instruction, the terminal device performs an alarm re-sound operation.
  • the alarm clock interface of the mobile phone no longer needs to perform the “close” and “re-sound” buttons.
  • the user can perform any position on the mobile phone pressure sensor according to the customized pressing instruction. You can enter the corresponding service by operation.
  • the user presets the unit time, assuming that the unit time is 150ms, and the user sets the pressing operation command 1 to click on two fingers simultaneously, the instruction indicates that the alarm is turned off; pressing the operation command 2 is a single-finger double-click, indicating that the alarm is ringing again .
  • the alarm clock of the terminal device standby interface sounds, it is judged whether the user has the action of pressing the operation within 150ms per unit time, and if there is no pressing operation, it ends; if there is a pressing operation, it is determined whether the user performs the pressing instruction 1 or two fingers within 150ms per unit time.
  • the information processing method in the embodiment of the present invention can be applied to applications on mobile phones, for example, voice calls and video calls of WeChat and QQ, and no need to perform "answer” and "hang up” buttons.
  • the demand sets the relevant pressing instructions to enter the corresponding service.
  • buttons like “confirm” and “cancel”, and the relevant buttons can be canceled, and the corresponding service is entered according to the relevant pressing instruction.
  • the user does not need to click a button at a fixed position, and acquires an operation instruction of the user through the sensor.
  • the operation instruction of the user is the same as the preset instruction, the operation corresponding to the operation instruction of the user is performed, thereby , saving users' time and improving user experience.
  • An embodiment of the present invention provides an information processing method. As shown in FIG. 3, the method may include:
  • Step 301 After receiving the voice/video call, the terminal device determines whether there is a user operation within the preset time.
  • a sensor is disposed in the terminal device, so that the user can detect the operation of the terminal device by the user.
  • the terminal device may specifically be a mobile phone, and the pressure sensor may be disposed in the mobile phone.
  • the position of the pressure sensor is not fixed, and may be the front of the mobile phone, and may be the side of the mobile phone or the back of the mobile phone.
  • the user presets the preset time
  • the preset time may be a unit time, and may be any value between 100 ms and 500 ms, which is not specifically limited in this embodiment of the present invention.
  • the mobile phone when the mobile phone receives a voice/video call, it determines whether the user has an operation on the mobile phone within 200 ms of the preset time, that is, determines whether the user has a pressing operation on the mobile phone, and if not, ends; otherwise, step 302 is performed. .
  • the user presets a preset instruction.
  • the first preset command is a third touch operation command, and the operation corresponding to the first preset command is to answer a voice/video call;
  • the second preset command is a fourth touch operation command, where the The operation corresponding to the two preset commands is to reject the voice/video call.
  • the third touch operation command and the fourth touch operation command can be customized according to the habits and preferences of the user.
  • the first preset instruction may be a single-finger click instruction, and the operation corresponding to the single-finger click instruction is to answer a voice/video call;
  • the second preset instruction is a single-finger double-click instruction.
  • the single-finger double-click instruction corresponds to the operation of rejecting voice/video calls.
  • Step 302 When there is a user operation in the preset time, the terminal device acquires a first operation instruction of the user by using the sensor.
  • the terminal device acquires a first operation instruction of the user within a preset time by using a pressure sensor disposed on the mobile phone, and the first operation instruction may be understood as a pressing instruction of the user pressing the terminal.
  • Step 303 The terminal device determines whether the first operation instruction and the third touch operation instruction are the same.
  • Step 304 When the first operation instruction is the same as the third touch operation instruction, the terminal device performs an answering voice/video incoming call operation.
  • Step 305 When the first operation instruction is different from the third touch operation instruction, the terminal device determines whether the first operation instruction and the fourth touch operation instruction are the same.
  • Step 306 When the first operation instruction is the same as the fourth touch operation instruction, the terminal device performs a reject voice/video call operation.
  • the information processing method provided by the embodiment of the present invention does not need to be performed for the call incoming call interface.
  • the "answer” and “hang up” buttons can enter the corresponding service according to the relevant pressing instructions.
  • the user presets the unit time, assuming that the unit time is 200 ms, and the user sets the pressing operation command 1 to a single-finger click, and the instruction indicates that the voice/video call is answered; the pressing operation command 2 is a single-finger double-click, indicating Reject voice/video calls.
  • the terminal standby interface receives the voice/video call. It is judged whether the user has the action of pressing the operation within 200 ms per unit time, and if not, the process ends. On the other hand, it is judged whether the user performs the single-finger click of the pressing command 1 within 200 ms per unit time.
  • the service corresponding to the pressing command 1 is completed, and the voice/video call is received, if the pressing command is not executed 1 If the single-finger clicks, it is judged whether the user performs the pressing instruction 2 single-finger double-click within 200ms per unit time, and if so, the service corresponding to the pressing instruction 2 is completed, and the voice/video call is rejected, and if the pressing instruction 2 is not performed, the single-finger double-clicking is performed. Then it ends.
  • the user does not need to click a button at a fixed position, and acquires an operation instruction of the user through the sensor.
  • the operation instruction of the user is the same as the preset instruction, the operation corresponding to the operation instruction of the user is performed, thereby , saving users' time and improving user experience.
  • An embodiment of the present invention provides a terminal device, where a sensor is disposed in the terminal device, as shown in FIG. 4, the terminal device may include: an acquiring unit 10, and a processing unit 11, where
  • the processing unit 11 is configured to determine whether there is a user operation within a preset time after receiving the communication instruction;
  • the obtaining unit 10 is configured to acquire a first operation instruction of the user by using the sensor when the user operates in the preset time;
  • the processing unit 11 is further configured to determine whether the first operation instruction satisfies a preset condition, and perform an operation corresponding to the determination result according to the determination result.
  • the processing unit 11 is specifically configured to determine whether the first operation instruction is the same as the first preset instruction; specifically, when the first operation instruction is the same as the first preset instruction And performing an operation corresponding to the first preset instruction; specifically, when the first operation instruction is different from the first preset instruction, determining the first operation instruction and the second pre- Whether the instructions are the same; specifically, when the first operation instruction is the same as the second preset instruction, performing an operation corresponding to the second preset instruction.
  • the communication instruction comprises: an alarm instruction or a voice/video call.
  • the first preset instruction is a first touch operation instruction, and the operation corresponding to the first preset instruction is to turn off an alarm;
  • the second preset instruction is a second touch operation instruction, and the operation corresponding to the second preset instruction is an alarm alarm.
  • the first preset instruction is a third touch operation instruction, and the operation corresponding to the first preset instruction is to answer a voice/video call;
  • the second preset instruction is a fourth touch operation instruction, and the second preset instruction corresponds to an operation of rejecting a voice/video call.
  • the terminal device provided by the embodiment of the present invention does not need to click a button at a fixed position, and acquires an operation instruction of the user through a sensor.
  • the operation instruction of the user is the same as the preset instruction, the operation corresponding to the operation instruction of the user is performed, thereby Saves users time and improves user experience.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the information processing process of the embodiment of the present invention after receiving the communication command, determining whether there is a user operation in the preset time; when there is a user operation in the preset time, acquiring the first operation of the user by using the sensor And determining whether the first operation instruction satisfies a preset condition, and performing an operation corresponding to the determination result according to the determination result.
  • the information processing method and the terminal device provided by the embodiment of the present invention the user does not need to click a button at a fixed position, and obtains an operation instruction of the user through the sensor.
  • the operation instruction of the user is the same as the preset instruction, the operation instruction corresponding to the user is executed. The operation thus saves the user's time and improves the user experience.

Landscapes

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

Abstract

The embodiments of the invention disclose an information processing method and a terminal equipment. The terminal equipment comprises a sensor disposed therein. The method comprises: determining, when receiving a communication command, whether a user operation is received in a preconfigured time interval; if so, acquiring, by the sensor, a first operation command of a user; determining whether the first operation command satisfies a preconfigured condition; and executing according to a determination result a corresponding operation.

Description

一种信息处理方法和终端设备Information processing method and terminal device 技术领域Technical field

本发明涉及电子技术领域,尤其涉及一种信息处理方法和终端设备。The present invention relates to the field of electronic technologies, and in particular, to an information processing method and a terminal device.

背景技术Background technique

随着电子技术的不断发展,手机的功能越来越多,其在人们生活中的应用越来越广泛。手机不但可以进行通信,还可以设置闹钟、观看视频等。现有技术中,手机闹钟或来电都是在触摸屏上有固定的按钮,每当闹铃响起或有来电时,用户需要在屏幕固定位置做出相应的操作。例如,手机闹钟响起时,用户需要看下哪个是关闭按钮,哪个是再响按钮,再进行操作,甚至有时手滑,手机还会滑落,需要重新选择按钮,手机闹钟可能已经不再响,错过选择的机会,从而,影响用户的操作,而且浪费时间。With the continuous development of electronic technology, mobile phones have more and more functions, and their applications in people's lives are more and more extensive. The phone can not only communicate, but also set an alarm clock, watch videos, and more. In the prior art, the mobile phone alarm clock or the incoming call has a fixed button on the touch screen. When the alarm sounds or there is an incoming call, the user needs to perform corresponding operations on the fixed position of the screen. For example, when the mobile phone alarm sounds, the user needs to see which is the close button, which is the re-sound button, then operate, and sometimes even the hand slides, the phone will slide down, need to re-select the button, the phone alarm may no longer ring, miss The opportunity to choose, thus affecting the user's operation, and wasting time.

发明内容Summary of the invention

为解决现有存在的技术问题,本发明实施例提供了一种信息处理方法和终端设备,节省了用户的时间,提高了用户体验。In order to solve the existing technical problems, the embodiment of the present invention provides an information processing method and a terminal device, which saves user time and improves user experience.

为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:

本发明实施例提供了一种信息处理方法,所述方法应用于终端设备,所述终端设备内设置传感器,所述方法包括:An embodiment of the present invention provides an information processing method, where the method is applied to a terminal device, where the terminal device is configured with a sensor, and the method includes:

当接收到通信指令后,判断预设时间内是否有用户操作;After receiving the communication command, determining whether there is a user operation within the preset time;

当所述预设时间内有用户操作时,通过所述传感器获取用户的第一操作指令;Obtaining a first operation instruction of the user by using the sensor when the user operates in the preset time;

判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作。Determining whether the first operation instruction satisfies a preset condition, and performing an operation corresponding to the determination result according to the determination result.

可选地,所述判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作,包括: Optionally, the determining whether the first operation instruction meets a preset condition, and performing an operation corresponding to the determination result according to the determination result includes:

判断所述第一操作指令与第一预设指令是否相同;Determining whether the first operation instruction is the same as the first preset instruction;

当所述第一操作指令与所述第一预设指令相同时,执行与所述第一预设指令对应的操作;When the first operation instruction is the same as the first preset instruction, performing an operation corresponding to the first preset instruction;

当所述第一操作指令与所述第一预设指令不同时,判断所述第一操作指令与第二预设指令是否相同;Determining whether the first operation instruction and the second preset instruction are the same when the first operation instruction is different from the first preset instruction;

当所述第一操作指令与所述第二预设指令相同时,执行与所述第二预设指令对应的操作。When the first operation instruction is the same as the second preset instruction, an operation corresponding to the second preset instruction is performed.

可选地,所述通信指令包括:闹钟指令或者语音/视频来电。Optionally, the communication instruction comprises: an alarm instruction or a voice/video call.

可选地,所述第一预设指令为第一触控操作指令,所述第一预设指令对应的操作为关闭闹钟;Optionally, the first preset instruction is a first touch operation instruction, and the operation corresponding to the first preset instruction is to turn off an alarm;

所述第二预设指令为第二触控操作指令,所述第二预设指令对应的操作为闹钟再响。The second preset instruction is a second touch operation instruction, and the operation corresponding to the second preset instruction is an alarm alarm.

可选地,所述第一预设指令为第三触控操作指令,所述第一预设指令对应的操作为接听语音/视频来电;Optionally, the first preset instruction is a third touch operation instruction, and the operation corresponding to the first preset instruction is to answer a voice/video call;

所述第二预设指令为第四触控操作指令,所述第二预设指令对应的操作为拒绝语音/视频来电。The second preset instruction is a fourth touch operation instruction, and the second preset instruction corresponds to an operation of rejecting a voice/video call.

本发明实施例提供一种终端设备,所述终端设备内设置传感器,所述终端设备包括:获取单元、处理单元,其中,An embodiment of the present invention provides a terminal device, where the terminal device includes a sensor, where the terminal device includes: an acquiring unit and a processing unit, where

所述处理单元,设置为当接收到通信指令后,判断预设时间内是否有用户操作;The processing unit is configured to determine whether there is a user operation within a preset time after receiving the communication instruction;

所述获取单元,设置为当所述预设时间内有用户操作时,通过所述传感器获取用户的第一操作指令;The acquiring unit is configured to acquire a first operation instruction of the user by using the sensor when the user operates in the preset time;

所述处理单元,还设置为判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作。The processing unit is further configured to determine whether the first operation instruction satisfies a preset condition, and perform an operation corresponding to the determination result according to the determination result.

可选地,所述处理单元,具体设置为判断所述第一操作指令与第一预设指令是否相同;具体还设置为当所述第一操作指令与所述第一预设指令 相同时,执行与所述第一预设指令对应的操作;具体还设置为当所述第一操作指令与所述第一预设指令不同时,判断所述第一操作指令与第二预设指令是否相同;具体还设置为当所述第一操作指令与所述第二预设指令相同时,执行与所述第二预设指令对应的操作。Optionally, the processing unit is specifically configured to determine whether the first operation instruction is the same as the first preset instruction; specifically, the first operation instruction and the first preset instruction are further When the same, the operation corresponding to the first preset instruction is performed; specifically, when the first operation instruction is different from the first preset instruction, determining the first operation instruction and the second preset Whether the instructions are the same; specifically, when the first operation instruction is the same as the second preset instruction, performing an operation corresponding to the second preset instruction.

可选地,所述通信指令包括:闹钟指令或者语音/视频来电。Optionally, the communication instruction comprises: an alarm instruction or a voice/video call.

可选地,所述第一预设指令为第一触控操作指令,所述第一预设指令对应的操作为关闭闹钟;Optionally, the first preset instruction is a first touch operation instruction, and the operation corresponding to the first preset instruction is to turn off an alarm;

所述第二预设指令为第二触控操作指令,所述第二预设指令对应的操作为闹钟再响。The second preset instruction is a second touch operation instruction, and the operation corresponding to the second preset instruction is an alarm alarm.

可选地,所述第一预设指令为第三触控操作指令,所述第一预设指令对应的操作为接听语音/视频来电;Optionally, the first preset instruction is a third touch operation instruction, and the operation corresponding to the first preset instruction is to answer a voice/video call;

所述第二预设指令为第四触控操作指令,所述第二预设指令对应的操作为拒绝语音/视频来电。The second preset instruction is a fourth touch operation instruction, and the second preset instruction corresponds to an operation of rejecting a voice/video call.

根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:

当接收到通信指令后,判断预设时间内是否有用户操作;当所述预设时间内有用户操作时,通过所述传感器获取用户的第一操作指令;判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作。After receiving the communication command, determining whether there is a user operation in a preset time; when there is a user operation in the preset time, obtaining a first operation instruction of the user by using the sensor; determining whether the first operation instruction is satisfied The preset condition performs an operation corresponding to the determination result according to the determination result.

可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:

判断所述第一操作指令与第一预设指令是否相同;当所述第一操作指令与所述第一预设指令相同时,执行与所述第一预设指令对应的操作;当所述第一操作指令与所述第一预设指令不同时,判断所述第一操作指令与第二预设指令是否相同;当所述第一操作指令与所述第二预设指令相同时,执行与所述第二预设指令对应的操作。Determining whether the first operation instruction is the same as the first preset instruction; when the first operation instruction is the same as the first preset instruction, performing an operation corresponding to the first preset instruction; When the first operation instruction is different from the first preset instruction, determining whether the first operation instruction is the same as the second preset instruction; when the first operation instruction is the same as the second preset instruction, executing An operation corresponding to the second preset instruction.

本发明实施例提供一种信息处理方法和终端设备,该终端设备内设置 传感器,当接收到通信指令后,判断预设时间内是否有用户操作;当所述预设时间内有用户操作时,通过所述传感器获取用户的第一操作指令;判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作。本发明实施例提供的信息处理方法和终端设备,用户不需要在固定位置点击按钮,通过传感器获取用户的操作指令,当用户的操作指令与预设指令相同时,执行该用户的操作指令对应的操作,从而,节省了用户的时间,提高了用户体验。An embodiment of the present invention provides an information processing method and a terminal device, where the terminal device is configured a sensor, after receiving the communication command, determining whether there is a user operation in a preset time; when there is a user operation in the preset time, acquiring a first operation instruction of the user by using the sensor; determining the first operation instruction Whether or not the preset condition is satisfied, an operation corresponding to the judgment result is performed based on the judgment result. The information processing method and the terminal device provided by the embodiment of the present invention, the user does not need to click a button at a fixed position, and obtains an operation instruction of the user through the sensor. When the operation instruction of the user is the same as the preset instruction, the operation instruction corresponding to the user is executed. The operation thus saves the user's time and improves the user experience.

附图说明DRAWINGS

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:

图1为本发明实施例提供的信息处理方法流程示意图一;1 is a schematic flowchart 1 of an information processing method according to an embodiment of the present invention;

图2为本发明实施例提供的信息处理方法流程示意图二;2 is a second schematic flowchart of an information processing method according to an embodiment of the present invention;

图3为本发明实施例提供的信息处理方法流程示意图三;3 is a schematic flowchart 3 of an information processing method according to an embodiment of the present invention;

图4为本发明实施例提供的终端设备结构示意图。FIG. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.

实施例一Embodiment 1

本发明实施例提供一种信息处理方法,如图1所示,该方法可以包括:An embodiment of the present invention provides an information processing method. As shown in FIG. 1 , the method may include:

步骤101、当接收到通信指令后,判断预设时间内是否有用户操作。Step 101: After receiving the communication instruction, determine whether there is a user operation within a preset time.

本发明实施例提供的信息处理方法的执行主体可以为终端设备,该终端设备内设置传感器,从而可以通过该传感器检测用户对终端设备的操作。The executor of the information processing method provided by the embodiment of the present invention may be a terminal device, where a sensor is disposed in the terminal device, so that the user can detect the operation of the terminal device by the user.

示例性的,终端设备具体可以为手机,手机内可以设置压力传感器, 该压力传感器位置不固定,可以是手机正面,可以是手机侧面,也可以是手机背面。Exemplarily, the terminal device may specifically be a mobile phone, and a pressure sensor may be disposed in the mobile phone. The position of the pressure sensor is not fixed and can be the front of the mobile phone, either on the side of the mobile phone or on the back of the mobile phone.

其中,所述通信指令可以为闹钟指令,也可以为语音/视频来电。预设时间可以为单位时间,可以为100ms至500ms之间的任意值。The communication instruction may be an alarm instruction or a voice/video call. The preset time can be a unit time and can be any value between 100ms and 500ms.

示例性的,当手机的闹钟响时,获取预设时间100ms内用户对手机是否有操作。Exemplarily, when the alarm clock of the mobile phone is ringing, whether the user has an operation on the mobile phone within 100 ms of the preset time is obtained.

步骤102、当所述预设时间内有用户操作时,通过所述传感器获取用户的第一操作指令。Step 102: Acquire a first operation instruction of the user by using the sensor when the user operates in the preset time.

具体的,终端设备通过设置在手机上的压力传感器获取预设时间内用户的第一操作指令,第一操作指令可以理解为用户按压终端的按压指令。Specifically, the terminal device acquires a first operation instruction of the user within a preset time by using a pressure sensor disposed on the mobile phone, and the first operation instruction may be understood as a pressing instruction of the user pressing the terminal.

步骤103、判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作。Step 103: Determine whether the first operation instruction satisfies a preset condition, and perform an operation corresponding to the determination result according to the determination result.

具体的,终端设备判断所述第一操作指令与第一预设指令是否相同;Specifically, the terminal device determines whether the first operation instruction is the same as the first preset instruction;

当所述第一操作指令与所述第一预设指令相同时,执行与所述第一预设指令对应的操作;When the first operation instruction is the same as the first preset instruction, performing an operation corresponding to the first preset instruction;

当所述第一操作指令与所述第一预设指令不同时,判断所述第一操作指令与第二预设指令是否相同;Determining whether the first operation instruction and the second preset instruction are the same when the first operation instruction is different from the first preset instruction;

当所述第一操作指令与所述第二预设指令相同时,执行与所述第二预设指令对应的操作。When the first operation instruction is the same as the second preset instruction, an operation corresponding to the second preset instruction is performed.

一种可能的实现方式,所述第一预设指令为第一触控操作指令,所述第一预设指令对应的操作为关闭闹钟;所述第二预设指令为第二触控操作指令,所述第二预设指令对应的操作为闹钟再响。第一触控操作指令、第二触控操作指令可以根据用户的习惯和喜好自定义。In a possible implementation manner, the first preset instruction is a first touch operation instruction, the operation corresponding to the first preset instruction is to turn off the alarm clock, and the second preset instruction is a second touch operation instruction. The operation corresponding to the second preset instruction is an alarm alarm. The first touch operation command and the second touch operation command can be customized according to the user's habits and preferences.

示例性的,所述第一预设指令可以为双指同时单击指令,所述双指同时单击指令对应的操作为关闭闹钟;所述第二预设指令为单指双击指令,所述单指双击指令对应的操作为闹钟再响。 Exemplarily, the first preset instruction may be a two-finger simultaneous click instruction, where the operation of the two-finger simultaneous click instruction is to turn off the alarm; the second preset instruction is a single-finger double-click instruction, The operation corresponding to the single-finger double-click command is the alarm.

一种可能的实现方式,所述第一预设指令为第三触控操作指令,所述第一预设指令对应的操作为接听语音/视频来电;所述第二预设指令为第四触控操作指令,所述第二预设指令对应的操作为拒绝语音/视频来电。第三触控操作指令、第四触控操作指令可以根据用户的习惯和喜好自定义。In a possible implementation manner, the first preset instruction is a third touch operation instruction, and the operation corresponding to the first preset instruction is to answer a voice/video call; the second preset instruction is a fourth touch Controlling the operation instruction, the operation corresponding to the second preset instruction is to reject the voice/video call. The third touch operation command and the fourth touch operation command can be customized according to the habits and preferences of the user.

示例性的,所述第一预设指令可以为单指单击指令,所述单指单击指令对应的操作为接听语音/视频来电;所述第二预设指令为单指双击指令,所述单指双击指令对应的操作为拒绝语音/视频来电。Exemplarily, the first preset instruction may be a single-finger click instruction, and the operation corresponding to the single-finger click instruction is to answer a voice/video call; the second preset instruction is a single-finger double-click instruction. The single-finger double-click instruction corresponds to the operation of rejecting voice/video calls.

需要说明的是,用户可以根据自己的习惯和喜好在终端设备预先自定义按压指令,即预先设定预设指令,以预设时间内完成的用户对终端设备的操作为用户操作指令。It should be noted that the user can pre-customize the pressing instruction according to his own habits and preferences, that is, preset the preset instruction, and the user-operated operation of the terminal device completed in the preset time is the user operation instruction.

示例性的,预设时间可以为单位时间,设置单位时间为100ms,设置单位时间内两指同时按压表示闹钟关闭,单个手指双击则表示闹钟再响。若用户在单位时间内不是操作预设的操作指令,则认为指令无效。Exemplarily, the preset time can be unit time, and the unit time is set to 100 ms. When the two fingers are pressed in the unit time, the alarm is turned off, and the single finger double click indicates that the alarm is ringing again. If the user does not operate the preset operation command within the unit time, the command is considered invalid.

本发明实施例提供的信息处理方法,用户不需要在固定位置点击按钮,通过传感器获取用户的操作指令,当用户的操作指令与预设指令相同时,执行该用户的操作指令对应的操作,从而,节省了用户的时间,提高了用户体验。According to the information processing method provided by the embodiment of the present invention, the user does not need to click a button at a fixed position, and acquires an operation instruction of the user through the sensor. When the operation instruction of the user is the same as the preset instruction, the operation corresponding to the operation instruction of the user is performed, thereby , saving users' time and improving user experience.

实施例二Embodiment 2

本发明实施例提供一种信息处理方法,如图2所示,该方法可以包括:An embodiment of the present invention provides an information processing method. As shown in FIG. 2, the method may include:

步骤201、当接收到闹钟指令后,终端设备判断预设时间内是否有用户操作。Step 201: After receiving the alarm instruction, the terminal device determines whether there is a user operation within the preset time.

本发明实施例中,终端设备内设置传感器,从而可以通过该传感器检测用户对终端设备的操作。用户预先设置了预设时间,预设时间可以为单位时间,可以为100ms至500ms之间的任意值,本发明实施例对此不作具体限定。In the embodiment of the present invention, a sensor is disposed in the terminal device, so that the user can detect the operation of the terminal device by the user. The user presets the preset time, and the preset time may be a unit time, and may be any value between 100 ms and 500 ms, which is not specifically limited in the embodiment of the present invention.

具体的,用户预先设置了预设指令。其中,所述第一预设指令为第一触控操作指令,所述第一预设指令对应的操作为关闭闹钟;所述第二预设 指令为第二触控操作指令,所述第二预设指令对应的操作为闹钟再响。第一触控操作指令、第二触控操作指令可以根据用户的习惯和喜好自定义。Specifically, the user presets a preset instruction. The first preset instruction is a first touch operation instruction, and the operation corresponding to the first preset instruction is to turn off an alarm; the second preset The instruction is a second touch operation instruction, and the operation corresponding to the second preset instruction is an alarm alarm. The first touch operation command and the second touch operation command can be customized according to the user's habits and preferences.

示例性的,所述第一预设指令可以为双指同时单击指令,所述双指同时单击指令对应的操作为关闭闹钟;所述第二预设指令为单指双击指令,所述单指双击指令对应的操作为闹钟再响。Exemplarily, the first preset instruction may be a two-finger simultaneous click instruction, where the operation of the two-finger simultaneous click instruction is to turn off the alarm; the second preset instruction is a single-finger double-click instruction, The operation corresponding to the single-finger double-click command is the alarm.

示例性的,终端设备具体可以为手机,手机内可以设置压力传感器,该压力传感器位置不固定,可以是手机正面,可以是手机侧面,也可以是手机背面。Exemplarily, the terminal device may specifically be a mobile phone, and the pressure sensor may be disposed in the mobile phone. The pressure sensor is not fixed, and may be the front of the mobile phone, and may be the side of the mobile phone or the back of the mobile phone.

示例性的,当手机的闹钟响时,判断预设时间100ms内用户对手机是否有操作,即判断用户对手机有无按压操作的动作,若无,则结束;反之,执行步骤202。For example, when the alarm clock of the mobile phone is ringing, it is determined whether the user has an operation on the mobile phone within 100 ms of the preset time, that is, whether the user has an action of pressing the mobile phone, and if not, the process ends; otherwise, step 202 is performed.

步骤202、当所述预设时间内有用户操作时,终端设备通过所述传感器获取用户的第一操作指令。Step 202: When there is a user operation in the preset time, the terminal device acquires a first operation instruction of the user by using the sensor.

具体的,终端设备通过设置在手机上的压力传感器获取预设时间内用户的第一操作指令,第一操作指令可以理解为用户按压终端的按压指令。Specifically, the terminal device acquires a first operation instruction of the user within a preset time by using a pressure sensor disposed on the mobile phone, and the first operation instruction may be understood as a pressing instruction of the user pressing the terminal.

步骤203、终端设备判断所述第一操作指令与第一触控操作指令是否相同。Step 203: The terminal device determines whether the first operation instruction is the same as the first touch operation instruction.

步骤204、当所述第一操作指令与所述第一触控操作指令相同时,终端设备执行关闭闹钟操作。Step 204: When the first operation instruction is the same as the first touch operation instruction, the terminal device performs an alarm-off operation.

步骤205、当所述第一操作指令与所述第一触控操作指令不同时,终端设备判断所述第一操作指令与第二触控操作指令是否相同。Step 205: When the first operation instruction is different from the first touch operation instruction, the terminal device determines whether the first operation instruction and the second touch operation instruction are the same.

步骤206、当所述第一操作指令与所述第二触控操作指令相同时,终端设备执行闹钟再响操作。Step 206: When the first operation instruction is the same as the second touch operation instruction, the terminal device performs an alarm re-sound operation.

本发明实施例提供的信息处理方法,手机的闹钟界面不再需要做“关闭”和“再响”按钮,当闹钟响起时,用户根据自定义按压指令,在手机压力传感器能感应到的任意位置操作即可进入相应的服务。 According to the information processing method provided by the embodiment of the present invention, the alarm clock interface of the mobile phone no longer needs to perform the “close” and “re-sound” buttons. When the alarm is sounded, the user can perform any position on the mobile phone pressure sensor according to the customized pressing instruction. You can enter the corresponding service by operation.

示例性的,用户预先设置了单位时间,假设单位时间为150ms,同时用户设置了按压操作指令1为两指同时点击,此指令表示关闭闹钟;按压操作指令2为单指双击,表示闹钟再响。终端设备待机界面闹钟响起时,判断单位时间150ms内,用户有无按压操作的动作,若无按压操作,则结束;若有按压操作,则判断用户在单位时间150ms内是否执行按压指令1两指同时点击,若有执行按压指令1两指同时点击,则完成按压指令1对应的服务,关闭闹钟;若无执行按压指令1两指同时点击,则判断用户在单位时间150ms内是否执行按压指令2单指双击,若有执行按压指令2单指双击,完成按压指令2对应的服务,等待闹钟再响,若无执行按压指令2单指双击,则结束。Exemplarily, the user presets the unit time, assuming that the unit time is 150ms, and the user sets the pressing operation command 1 to click on two fingers simultaneously, the instruction indicates that the alarm is turned off; pressing the operation command 2 is a single-finger double-click, indicating that the alarm is ringing again . When the alarm clock of the terminal device standby interface sounds, it is judged whether the user has the action of pressing the operation within 150ms per unit time, and if there is no pressing operation, it ends; if there is a pressing operation, it is determined whether the user performs the pressing instruction 1 or two fingers within 150ms per unit time. Simultaneously click, if there is a push command 1 and two clicks at the same time, the service corresponding to the press command 1 is completed, and the alarm is turned off; if the two commands are not clicked at the same time, the user is judged whether to execute the press command within 150 ms per unit time. Single-finger double-click, if there is a push command 2 single-click double-click, complete the service corresponding to the press command 2, wait for the alarm to sound again, if there is no execution of the push command 2 single-click double-click, then the end.

需要说明的是,本发明实施例提供信息处理方法可以应用于手机上的应用,例如,微信、QQ的语音来电、视频来电,也不再需要做“接听”和“挂断”按钮,可以根据需求设置相关按压指令,进入相应的服务。对于终端设备的应用界面有类似“确认”和“取消”的按钮,都可以取消相关按钮,根据相关按压指令,进入相应的服务。It should be noted that the information processing method in the embodiment of the present invention can be applied to applications on mobile phones, for example, voice calls and video calls of WeChat and QQ, and no need to perform "answer" and "hang up" buttons. The demand sets the relevant pressing instructions to enter the corresponding service. For the application interface of the terminal device, there are buttons like "confirm" and "cancel", and the relevant buttons can be canceled, and the corresponding service is entered according to the relevant pressing instruction.

本发明实施例提供的信息处理方法,用户不需要在固定位置点击按钮,通过传感器获取用户的操作指令,当用户的操作指令与预设指令相同时,执行该用户的操作指令对应的操作,从而,节省了用户的时间,提高了用户体验。According to the information processing method provided by the embodiment of the present invention, the user does not need to click a button at a fixed position, and acquires an operation instruction of the user through the sensor. When the operation instruction of the user is the same as the preset instruction, the operation corresponding to the operation instruction of the user is performed, thereby , saving users' time and improving user experience.

实施例三Embodiment 3

本发明实施例提供一种信息处理方法,如图3所示,该方法可以包括:An embodiment of the present invention provides an information processing method. As shown in FIG. 3, the method may include:

步骤301、当接收到语音/视频来电后,终端设备判断预设时间内是否有用户操作。Step 301: After receiving the voice/video call, the terminal device determines whether there is a user operation within the preset time.

本发明实施例中,终端设备内设置传感器,从而可以通过该传感器检测用户对终端设备的操作。终端设备具体可以为手机,手机内可以设置压力传感器,该压力传感器位置不固定,可以是手机正面,可以是手机侧面,也可以是手机背面。 In the embodiment of the present invention, a sensor is disposed in the terminal device, so that the user can detect the operation of the terminal device by the user. The terminal device may specifically be a mobile phone, and the pressure sensor may be disposed in the mobile phone. The position of the pressure sensor is not fixed, and may be the front of the mobile phone, and may be the side of the mobile phone or the back of the mobile phone.

具体的,用户预先设置了预设时间,预设时间可以为单位时间,可以为100ms至500ms之间的任意值,本发明实施例对此不作具体限定。Specifically, the user presets the preset time, and the preset time may be a unit time, and may be any value between 100 ms and 500 ms, which is not specifically limited in this embodiment of the present invention.

示例性的,当手机收到语音/视频来电时,判断预设时间200ms内用户对手机是否有操作,即判断用户对手机有无按压操作的动作,若无,则结束;反之,执行步骤302。Illustratively, when the mobile phone receives a voice/video call, it determines whether the user has an operation on the mobile phone within 200 ms of the preset time, that is, determines whether the user has a pressing operation on the mobile phone, and if not, ends; otherwise, step 302 is performed. .

具体的,用户预先设置了预设指令。所述第一预设指令为第三触控操作指令,所述第一预设指令对应的操作为接听语音/视频来电;所述第二预设指令为第四触控操作指令,所述第二预设指令对应的操作为拒绝语音/视频来电。第三触控操作指令、第四触控操作指令可以根据用户的习惯和喜好自定义。Specifically, the user presets a preset instruction. The first preset command is a third touch operation command, and the operation corresponding to the first preset command is to answer a voice/video call; the second preset command is a fourth touch operation command, where the The operation corresponding to the two preset commands is to reject the voice/video call. The third touch operation command and the fourth touch operation command can be customized according to the habits and preferences of the user.

示例性的,所述第一预设指令可以为单指单击指令,所述单指单击指令对应的操作为接听语音/视频来电;所述第二预设指令为单指双击指令,所述单指双击指令对应的操作为拒绝语音/视频来电。Exemplarily, the first preset instruction may be a single-finger click instruction, and the operation corresponding to the single-finger click instruction is to answer a voice/video call; the second preset instruction is a single-finger double-click instruction. The single-finger double-click instruction corresponds to the operation of rejecting voice/video calls.

步骤302、当所述预设时间内有用户操作时,终端设备通过所述传感器获取用户的第一操作指令。Step 302: When there is a user operation in the preset time, the terminal device acquires a first operation instruction of the user by using the sensor.

具体的,终端设备通过设置在手机上的压力传感器获取预设时间内用户的第一操作指令,第一操作指令可以理解为用户按压终端的按压指令。Specifically, the terminal device acquires a first operation instruction of the user within a preset time by using a pressure sensor disposed on the mobile phone, and the first operation instruction may be understood as a pressing instruction of the user pressing the terminal.

步骤303、终端设备判断所述第一操作指令与第三触控操作指令是否相同。Step 303: The terminal device determines whether the first operation instruction and the third touch operation instruction are the same.

步骤304、当所述第一操作指令与所述第三触控操作指令相同时,终端设备执行接听语音/视频来电操作。Step 304: When the first operation instruction is the same as the third touch operation instruction, the terminal device performs an answering voice/video incoming call operation.

步骤305、当所述第一操作指令与所述第三触控操作指令不同时,终端设备判断所述第一操作指令与第四触控操作指令是否相同。Step 305: When the first operation instruction is different from the third touch operation instruction, the terminal device determines whether the first operation instruction and the fourth touch operation instruction are the same.

步骤306、当所述第一操作指令与所述第四触控操作指令相同时,终端设备执行拒绝语音/视频来电操作。Step 306: When the first operation instruction is the same as the fourth touch operation instruction, the terminal device performs a reject voice/video call operation.

本发明实施例提供的信息处理方法,对于通话来电界面,不再需要做 “接听”和“挂断”按钮,可以根据相关按压指令,进入相应的服务。The information processing method provided by the embodiment of the present invention does not need to be performed for the call incoming call interface. The "answer" and "hang up" buttons can enter the corresponding service according to the relevant pressing instructions.

示例性的,用户预先设置了单位时间,假设单位时间为200ms,同时用户设置了按压操作指令1为单指单击,此指令表示接听语音/视频来电;按压操作指令2为单指双击,表示拒绝语音/视频来电。终端待机界面收到语音/视频来电后。判断单位时间200ms内,用户有无按压操作的动作,若无,则结束。反之,判断用户在单位时间200ms内是否执行按压指令1单指单击,若有按压指令1单指单击,则完成按压指令1对应的服务,接听语音/视频电话,若无执行按压指令1单指单击,则判断用户在单位时间200ms内是否执行按压指令2单指双击,若有,则完成按压指令2对应的服务,拒绝语音/视频来电,若无执行按压指令2单指双击,则结束。Exemplarily, the user presets the unit time, assuming that the unit time is 200 ms, and the user sets the pressing operation command 1 to a single-finger click, and the instruction indicates that the voice/video call is answered; the pressing operation command 2 is a single-finger double-click, indicating Reject voice/video calls. After the terminal standby interface receives the voice/video call. It is judged whether the user has the action of pressing the operation within 200 ms per unit time, and if not, the process ends. On the other hand, it is judged whether the user performs the single-finger click of the pressing command 1 within 200 ms per unit time. If there is a single-click of the pressing command 1, the service corresponding to the pressing command 1 is completed, and the voice/video call is received, if the pressing command is not executed 1 If the single-finger clicks, it is judged whether the user performs the pressing instruction 2 single-finger double-click within 200ms per unit time, and if so, the service corresponding to the pressing instruction 2 is completed, and the voice/video call is rejected, and if the pressing instruction 2 is not performed, the single-finger double-clicking is performed. Then it ends.

本发明实施例提供的信息处理方法,用户不需要在固定位置点击按钮,通过传感器获取用户的操作指令,当用户的操作指令与预设指令相同时,执行该用户的操作指令对应的操作,从而,节省了用户的时间,提高了用户体验。According to the information processing method provided by the embodiment of the present invention, the user does not need to click a button at a fixed position, and acquires an operation instruction of the user through the sensor. When the operation instruction of the user is the same as the preset instruction, the operation corresponding to the operation instruction of the user is performed, thereby , saving users' time and improving user experience.

实施例四Embodiment 4

本发明实施例提供一种终端设备,所述终端设备内设置传感器,如图4所示,该终端设备可以包括:获取单元10、处理单元11,其中,An embodiment of the present invention provides a terminal device, where a sensor is disposed in the terminal device, as shown in FIG. 4, the terminal device may include: an acquiring unit 10, and a processing unit 11, where

所述处理单元11,设置为当接收到通信指令后,判断预设时间内是否有用户操作;The processing unit 11 is configured to determine whether there is a user operation within a preset time after receiving the communication instruction;

所述获取单元10,设置为当所述预设时间内有用户操作时,通过所述传感器获取用户的第一操作指令;The obtaining unit 10 is configured to acquire a first operation instruction of the user by using the sensor when the user operates in the preset time;

所述处理单元11,还设置为判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作。The processing unit 11 is further configured to determine whether the first operation instruction satisfies a preset condition, and perform an operation corresponding to the determination result according to the determination result.

可选地,所述处理单元11,具体设置为判断所述第一操作指令与第一预设指令是否相同;具体还设置为当所述第一操作指令与所述第一预设指令相同时,执行与所述第一预设指令对应的操作;具体还设置为当所述第一操作指令与所述第一预设指令不同时,判断所述第一操作指令与第二预 设指令是否相同;具体还设置为当所述第一操作指令与所述第二预设指令相同时,执行与所述第二预设指令对应的操作。Optionally, the processing unit 11 is specifically configured to determine whether the first operation instruction is the same as the first preset instruction; specifically, when the first operation instruction is the same as the first preset instruction And performing an operation corresponding to the first preset instruction; specifically, when the first operation instruction is different from the first preset instruction, determining the first operation instruction and the second pre- Whether the instructions are the same; specifically, when the first operation instruction is the same as the second preset instruction, performing an operation corresponding to the second preset instruction.

可选地,所述通信指令包括:闹钟指令或者语音/视频来电。Optionally, the communication instruction comprises: an alarm instruction or a voice/video call.

可选的,所述第一预设指令为第一触控操作指令,所述第一预设指令对应的操作为关闭闹钟;Optionally, the first preset instruction is a first touch operation instruction, and the operation corresponding to the first preset instruction is to turn off an alarm;

所述第二预设指令为第二触控操作指令,所述第二预设指令对应的操作为闹钟再响。The second preset instruction is a second touch operation instruction, and the operation corresponding to the second preset instruction is an alarm alarm.

可选的,所述第一预设指令为第三触控操作指令,所述第一预设指令对应的操作为接听语音/视频来电;Optionally, the first preset instruction is a third touch operation instruction, and the operation corresponding to the first preset instruction is to answer a voice/video call;

所述第二预设指令为第四触控操作指令,所述第二预设指令对应的操作为拒绝语音/视频来电。The second preset instruction is a fourth touch operation instruction, and the second preset instruction corresponds to an operation of rejecting a voice/video call.

具体的,本发明实施例提供的终端设备的理解可以参考实施例一至实施例三的信息处理方法的说明,本发明实施例在此不再赘述。For a detailed description of the terminal device provided by the embodiment of the present invention, reference may be made to the description of the information processing method in the first embodiment to the third embodiment.

本发明实施例提供的终端设备,用户不需要在固定位置点击按钮,通过传感器获取用户的操作指令,当用户的操作指令与预设指令相同时,执行该用户的操作指令对应的操作,从而,节省了用户的时间,提高了用户体验。The terminal device provided by the embodiment of the present invention does not need to click a button at a fixed position, and acquires an operation instruction of the user through a sensor. When the operation instruction of the user is the same as the preset instruction, the operation corresponding to the operation instruction of the user is performed, thereby Saves users time and improves user experience.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to produce a machine, The instructions executed by a processor of a computer or other programmable data processing device cause means for implementing the functions specified in one or more blocks of the flowchart or in a block or blocks of the flowchart.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

工业实用性Industrial applicability

在本发明实施例的信息处理过程中,当接收到通信指令后,判断预设时间内是否有用户操作;当所述预设时间内有用户操作时,通过所述传感器获取用户的第一操作指令;判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作。本发明实施例提供的信息处理方法和终端设备,用户不需要在固定位置点击按钮,通过传感器获取用户的操作指令,当用户的操作指令与预设指令相同时,执行该用户的操作指令对应的操作,从而,节省了用户的时间,提高了用户体验。 In the information processing process of the embodiment of the present invention, after receiving the communication command, determining whether there is a user operation in the preset time; when there is a user operation in the preset time, acquiring the first operation of the user by using the sensor And determining whether the first operation instruction satisfies a preset condition, and performing an operation corresponding to the determination result according to the determination result. The information processing method and the terminal device provided by the embodiment of the present invention, the user does not need to click a button at a fixed position, and obtains an operation instruction of the user through the sensor. When the operation instruction of the user is the same as the preset instruction, the operation instruction corresponding to the user is executed. The operation thus saves the user's time and improves the user experience.

Claims (10)

一种信息处理方法,所述方法应用于终端设备,所述终端设备内设置传感器,所述方法包括:An information processing method is applied to a terminal device, where the terminal device is provided with a sensor, and the method includes: 当接收到通信指令后,判断预设时间内是否有用户操作;After receiving the communication command, determining whether there is a user operation within the preset time; 当所述预设时间内有用户操作时,通过所述传感器获取用户的第一操作指令;Obtaining a first operation instruction of the user by using the sensor when the user operates in the preset time; 判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作。Determining whether the first operation instruction satisfies a preset condition, and performing an operation corresponding to the determination result according to the determination result. 根据权利要求1所述的方法,其中,所述判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作,包括:The method according to claim 1, wherein the determining whether the first operation instruction satisfies a preset condition, and performing an operation corresponding to the determination result according to the determination result comprises: 判断所述第一操作指令与第一预设指令是否相同;Determining whether the first operation instruction is the same as the first preset instruction; 当所述第一操作指令与所述第一预设指令相同时,执行与所述第一预设指令对应的操作;When the first operation instruction is the same as the first preset instruction, performing an operation corresponding to the first preset instruction; 当所述第一操作指令与所述第一预设指令不同时,判断所述第一操作指令与第二预设指令是否相同;Determining whether the first operation instruction and the second preset instruction are the same when the first operation instruction is different from the first preset instruction; 当所述第一操作指令与所述第二预设指令相同时,执行与所述第二预设指令对应的操作。When the first operation instruction is the same as the second preset instruction, an operation corresponding to the second preset instruction is performed. 根据权利要求1所述的方法,其中,所述通信指令包括:闹钟指令或者语音/视频来电。The method of claim 1 wherein the communication instructions comprise: an alarm command or a voice/video call. 根据权利要求2所述的方法,其中,The method of claim 2, wherein 所述第一预设指令为第一触控操作指令,所述第一预设指令对应的操作为关闭闹钟;The first preset instruction is a first touch operation instruction, and the operation corresponding to the first preset instruction is to turn off the alarm; 所述第二预设指令为第二触控操作指令,所述第二预设指令对应的操作为闹钟再响。 The second preset instruction is a second touch operation instruction, and the operation corresponding to the second preset instruction is an alarm alarm. 根据权利要求2所述的方法,其中,The method of claim 2, wherein 所述第一预设指令为第三触控操作指令,所述第一预设指令对应的操作为接听语音/视频来电;The first preset instruction is a third touch operation instruction, and the operation corresponding to the first preset instruction is to answer a voice/video call; 所述第二预设指令为第四触控操作指令,所述第二预设指令对应的操作为拒绝语音/视频来电。The second preset instruction is a fourth touch operation instruction, and the second preset instruction corresponds to an operation of rejecting a voice/video call. 一种终端设备,所述终端设备内设置传感器,所述终端设备包括:获取单元、处理单元,其中,A terminal device, where the terminal device includes a sensor, the terminal device includes: an acquiring unit, and a processing unit, where 所述处理单元,设置为当接收到通信指令后,判断预设时间内是否有用户操作;The processing unit is configured to determine whether there is a user operation within a preset time after receiving the communication instruction; 所述获取单元,设置为当所述预设时间内有用户操作时,通过所述传感器获取用户的第一操作指令;The acquiring unit is configured to acquire a first operation instruction of the user by using the sensor when the user operates in the preset time; 所述处理单元,还设置为判断所述第一操作指令是否满足预设条件,根据判断结果执行与所述判断结果对应的操作。The processing unit is further configured to determine whether the first operation instruction satisfies a preset condition, and perform an operation corresponding to the determination result according to the determination result. 根据权利要求6所述的终端设备,其中,所述处理单元,具体设置为判断所述第一操作指令与第一预设指令是否相同;具体还设置为当所述第一操作指令与所述第一预设指令相同时,执行与所述第一预设指令对应的操作;具体还设置为当所述第一操作指令与所述第一预设指令不同时,判断所述第一操作指令与第二预设指令是否相同;具体还设置为当所述第一操作指令与所述第二预设指令相同时,执行与所述第二预设指令对应的操作。The terminal device according to claim 6, wherein the processing unit is specifically configured to determine whether the first operation instruction is the same as the first preset instruction; specifically, when the first operation instruction is When the first preset instruction is the same, the operation corresponding to the first preset instruction is performed; specifically, when the first operation instruction is different from the first preset instruction, determining the first operation instruction Whether it is the same as the second preset instruction; specifically, when the first operation instruction is the same as the second preset instruction, performing an operation corresponding to the second preset instruction. 根据权利要求6所述的终端设备,其中,所述通信指令包括:闹钟指令或者语音/视频来电。The terminal device according to claim 6, wherein the communication command comprises: an alarm command or a voice/video call. 根据权利要求7所述的终端设备,其中,The terminal device according to claim 7, wherein 所述第一预设指令为第一触控操作指令,所述第一预设指令对应的操作为关闭闹钟; The first preset instruction is a first touch operation instruction, and the operation corresponding to the first preset instruction is to turn off the alarm; 所述第二预设指令为第二触控操作指令,所述第二预设指令对应的操作为闹钟再响。The second preset instruction is a second touch operation instruction, and the operation corresponding to the second preset instruction is an alarm alarm. 根据权利要求7所述的终端设备,其中,The terminal device according to claim 7, wherein 所述第一预设指令为第三触控操作指令,所述第一预设指令对应的操作为接听语音/视频来电;The first preset instruction is a third touch operation instruction, and the operation corresponding to the first preset instruction is to answer a voice/video call; 所述第二预设指令为第四触控操作指令,所述第二预设指令对应的操作为拒绝语音/视频来电。 The second preset instruction is a fourth touch operation instruction, and the second preset instruction corresponds to an operation of rejecting a voice/video call.
PCT/CN2016/101798 2016-04-25 2016-10-11 Information processing method and terminal equipment Ceased WO2017185657A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610260817.1A CN107306310A (en) 2016-04-25 2016-04-25 A kind of information processing method and terminal device
CN201610260817.1 2016-04-25

Publications (1)

Publication Number Publication Date
WO2017185657A1 true WO2017185657A1 (en) 2017-11-02

Family

ID=60151030

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101798 Ceased WO2017185657A1 (en) 2016-04-25 2016-10-11 Information processing method and terminal equipment

Country Status (2)

Country Link
CN (1) CN107306310A (en)
WO (1) WO2017185657A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473194A (en) * 2020-05-09 2021-10-01 海信集团有限公司 Intelligent device and response method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365419A (en) * 2013-07-11 2013-10-23 北京小米科技有限责任公司 Method and device for triggering alarm clock control command
CN104484795A (en) * 2014-12-12 2015-04-01 小米科技有限责任公司 Information prompting method and device
CN105141772A (en) * 2015-09-08 2015-12-09 广东欧珀移动通信有限公司 Method and device for turning off alarm clock of mobile terminal
CN105450844A (en) * 2014-09-28 2016-03-30 中兴通讯股份有限公司 Method and device for controlling mobile terminal alarm clock
CN105516469A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 Clock control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365419A (en) * 2013-07-11 2013-10-23 北京小米科技有限责任公司 Method and device for triggering alarm clock control command
CN105450844A (en) * 2014-09-28 2016-03-30 中兴通讯股份有限公司 Method and device for controlling mobile terminal alarm clock
CN104484795A (en) * 2014-12-12 2015-04-01 小米科技有限责任公司 Information prompting method and device
CN105141772A (en) * 2015-09-08 2015-12-09 广东欧珀移动通信有限公司 Method and device for turning off alarm clock of mobile terminal
CN105516469A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 Clock control method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473194A (en) * 2020-05-09 2021-10-01 海信集团有限公司 Intelligent device and response method
CN113473194B (en) * 2020-05-09 2022-04-08 海信集团有限公司 Intelligent device and response method

Also Published As

Publication number Publication date
CN107306310A (en) 2017-10-31

Similar Documents

Publication Publication Date Title
EP3189406B1 (en) Phone user interface
EP3429172A1 (en) Method, system and graphical user interface for making conference calls
CN104536684B (en) interface display method and device
CN104811552B (en) A kind of shortcut function starts method, apparatus and verbal system
CN103970443B (en) A kind of terminal and terminal display control method
WO2015070685A1 (en) Theme display method and related device
EP3779968A1 (en) Audio processing
CN101686278A (en) Communication method and communication device thereof
US20120196540A1 (en) Method and apparatus for a bluetooth-enabled headset with a multitouch interface
CN104883444B (en) One kind call quick application process, system and mobile terminal
CN106851026A (en) Inactive phone number is recognized and method for cleaning, device and mobile terminal
CN106843592A (en) Touch control method and device and mobile terminal
CN111200503A (en) Chat information processing method and device and electronic equipment
CN106168877A (en) Enter the method and device of singlehanded pattern
KR102045282B1 (en) Apparatas and method for detecting another part's impormation of busy in an electronic device
CN105487667A (en) Electronic equipment control method and device
CN104821996A (en) Method for answering or hanging up mobile terminal, and system thereof
CN104735227A (en) Method and communication terminal for fast recording of calls
CN104821985B (en) A kind of call control method and device
CN108809894B (en) A method and terminal for processing an Internet phone
CN108958574A (en) Briefing method, apparatus and storage medium
CN106603801A (en) Conversation recording method and conversation recording device
CN104123064A (en) Device and method for controlling communication of communication terminal in intelligent wearable device
CN110989902A (en) Information processing method and device, writing equipment and terminal equipment
JP2017046280A (en) Electronic apparatus

Legal Events

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

Ref country code: DE

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

Ref document number: 16900165

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900165

Country of ref document: EP

Kind code of ref document: A1