WO2019119402A1 - 一种按键交互方法及装置 - Google Patents

一种按键交互方法及装置 Download PDF

Info

Publication number
WO2019119402A1
WO2019119402A1 PCT/CN2017/117945 CN2017117945W WO2019119402A1 WO 2019119402 A1 WO2019119402 A1 WO 2019119402A1 CN 2017117945 W CN2017117945 W CN 2017117945W WO 2019119402 A1 WO2019119402 A1 WO 2019119402A1
Authority
WO
WIPO (PCT)
Prior art keywords
operation instruction
received
terminal
time
user
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/CN2017/117945
Other languages
English (en)
French (fr)
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.)
Hytera Communications Corp Ltd
Original Assignee
Hytera Communications Corp Ltd
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 Hytera Communications Corp Ltd filed Critical Hytera Communications Corp Ltd
Priority to PCT/CN2017/117945 priority Critical patent/WO2019119402A1/zh
Publication of WO2019119402A1 publication Critical patent/WO2019119402A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Definitions

  • the present invention relates to the field of human-computer interaction technologies, and in particular, to a button interaction method and apparatus.
  • buttons can make the division of work of each part of the terminal device clear, but the user needs to operate multiple buttons to realize the functions required to be opened in different business scenarios. For example, the user needs to click a button to control the terminal information screen, and when the user needs to turn the page when reading the webpage, it needs to click another button or slide the screen to realize.
  • the reusability and degree of integration of the buttons are low, resulting in cumbersome user operations and poor user experience.
  • the present invention provides a key interaction method and device, which enables a user to implement multiple operations through a single button, thereby improving the user experience.
  • a key interaction method includes:
  • the processing action is performed.
  • the determining a processing action corresponding to the type of the operation instruction and the business scenario includes:
  • the query obtains a processing action corresponding to the type of the operation instruction and the business scenario.
  • the method further includes:
  • the time interval when the user operation instruction is received does not reach the set first time length, the operation type of the operation instruction is confirmed, and when the operation instruction is confirmed, the terminal The business scenario in which it is located.
  • the method further comprises:
  • the terminal is controlled to exit the business scenario in which the processing action is performed.
  • the terminal controls the information screen, and controls the terminal to exit the service scenario when the operation instruction is received.
  • a key interaction device includes:
  • An instruction receiving unit configured to receive a user operation instruction
  • An analysis unit configured to confirm an action type of the operation instruction, and confirm a service scenario in which the terminal is located when the operation instruction is received;
  • An operation confirmation unit configured to determine, according to an action type of the operation instruction, and a service scenario in which the terminal is located when the operation instruction is received, a processing action corresponding to the type of the operation instruction and the service scenario;
  • An instruction execution unit configured to execute the processing action.
  • the operation confirming unit determines a processing action corresponding to the type of the operation instruction and the business scenario, specifically:
  • the query obtains a processing action corresponding to the type of the operation instruction and the business scenario.
  • the device further comprises:
  • a determining unit configured to determine, at a time when the user operation instruction is received, a time interval from a time when the previous user operation instruction is received, whether the first time duration is reached;
  • a key interaction device includes:
  • the memory is connected to the processor for storing data generated during a program and a program running;
  • the processor is configured to implement the following functions by running a program in the memory:
  • the processor is further configured to:
  • the time interval when the user operation instruction is received does not reach the set first time length, the operation type of the operation instruction is confirmed, and when the operation instruction is confirmed, the terminal The business scenario in which it is located.
  • the processor is further configured to:
  • the terminal is controlled to exit the business scenario in which the processing action is performed.
  • the processor is further configured to:
  • the terminal controls the information screen, and controls the terminal to exit the service scenario when the operation instruction is received.
  • the button interaction method when receiving an operation instruction sent by the user, confirms the action type of the operation instruction, and determines the processing action that should be performed according to the action type of the operation instruction and the current service scenario of the terminal, And the processing action is executed.
  • the above method can enable the user to control the terminal by distinguishing different operation actions through a single button, and the user operation is more convenient, which is beneficial to improving the user experience.
  • FIG. 1 is a schematic flowchart of a method for interacting a button according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a button event management table according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another method for interacting a button according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a key interaction device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another key interaction apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of still another key interaction device according to an embodiment of the present invention.
  • the embodiment of the invention discloses a key interaction method. Referring to FIG. 1, the method includes:
  • the technical solution of the embodiment of the present invention is applied to a communication terminal, including a walkie-talkie, a mobile phone, and the like.
  • the existing walkie-talkie and mobile terminal devices are independent entities, and the design of the buttons is completely based on different platforms and technologies. Therefore, the walkie-talkie or mobile phone device, the functional response corresponding to the button is also based on their respective usage conditions and conditions, and there is no relationship between the two.
  • the key interaction method proposed by the embodiment of the present invention solves the integrated fusion terminal and the future pure broadband, in order to improve the performance of the service and the reusability of the functions.
  • the button of the terminal cooperates with the problem.
  • the communication terminal to which the technical solution of the embodiment of the present invention is applied realizes the interaction between the user and the terminal through a single smart button.
  • the above smart button can be a physical button or a touch button.
  • the above user operation instruction refers to an operation instruction generated by a short press, a double click, a long press of the smart key, and the like performed by the user.
  • the above user operation instructions have different action type attributes according to user actions. For example, if the user short presses the operation command generated by the smart button, and has the short press action attribute, it can be considered that the operation command generated by short pressing the smart button is a short press operation command.
  • S102 confirm an action type of the operation instruction, and confirm a service scenario in which the terminal is located when the operation instruction is received;
  • the service scenario in which the terminal is located refers to the service state of the terminal when the user operates the smart button of the terminal.
  • the button action performed by the user brings different operational effects. For example, when the terminal is in the interest screen state, if the user short presses the smart button, the control terminal lights up; and when the terminal is in the incoming call state, if the user short presses the smart button, the control terminal mutes and screens.
  • the key interaction method proposed by the embodiment of the present invention designs an operation action under different service scenarios for the smart button, so that the reusability and function fusion of the smart button are higher and more intelligent.
  • step S102 after receiving the user operation instruction, first confirm the action type of the user operation instruction, that is, the operation instruction generated by the user operation instruction (which is short press, long press, double click, etc.). At the same time, it confirms the business scenario (such as the interest screen, incoming call, reading interface, etc.) that the terminal is in when the user operation instruction is received.
  • the action type of the user operation instruction that is, the operation instruction generated by the user operation instruction (which is short press, long press, double click, etc.).
  • the business scenario such as the interest screen, incoming call, reading interface, etc.
  • S103 Determine, according to an action type of the operation instruction, and a service scenario in which the terminal is located when the operation instruction is received, a processing action corresponding to the type of the operation instruction and the service scenario.
  • the embodiment of the present invention acts according to the user operation instruction.
  • the type and the service scenario in which the terminal is located determine whether the user performs the operation action through the smart button when the terminal is in the service scenario, and what processing action should be specifically performed. For example, if the user performs the action of short pressing the smart button when the terminal is in the state of the information screen, the embodiment of the present invention queries the button event management table to obtain a processing action that should be performed at this time is a bright screen.
  • the terminal when the user designs the button function for the terminal, the corresponding processing that the terminal should perform when the user operates the button in various scenarios is clearly designed. That is to say, when the terminal receives the operation instruction and clearly identifies the service scenario in which the operation instruction is received, it can certainly determine the processing action that should be performed according to the received instruction.
  • Another embodiment of the present invention discloses a specific processing method for determining a type of an operation instruction received and a processing operation corresponding to the service scenario.
  • the query obtains a processing action corresponding to the type of the operation instruction and the business scenario.
  • the above-mentioned button event management table refers to a processing action relationship table set in advance for a user operation instruction, that is, a relationship table of which processing should be executed if a user operation instruction is received when the terminal is in a certain business scenario.
  • FIG. 2 a logic diagram of the above key event management table is given.
  • the key event management table when the terminal is in a certain business scenario, if the user receives different operation instructions, what processing action is performed separately.
  • the key event management table according to the embodiment of the present invention as shown in FIG. 2 only some processing actions corresponding to the user operation instructions are listed. In actual use, the flexible operation may be performed according to an embodiment of the present invention.
  • the button sets the key event management table for the smart button, so that the smart button has the corresponding control function.
  • the processing action that should be performed when the user operates the smart button is confirmed through steps S101 to S103, the processing action that should be performed is executed to implement the user's control of the terminal.
  • the terminal After performing the above processing operation, the terminal enters another service scenario. During this period, if a user operation command is received, the processing operation is still performed according to the processing procedures of steps S101 to S104.
  • the action type of the operation instruction is confirmed, and the processing that should be performed is determined according to the action type of the operation instruction and the current service scenario of the terminal. Act and execute the processing action.
  • the above method can enable the user to control the terminal by distinguishing different operation actions through a single button, and the user operation is more convenient, which is beneficial to improving the user experience.
  • the method further includes:
  • the effective duration is set for the button interaction, that is, the time interval between the adjacent button processing actions is set, and the set first duration cannot be exceeded. If the time when the user operation instruction is received and the time when the user operation instruction was last received has exceeded the set first time period, the user operation command received this time is considered invalid.
  • step S303 is executed, the action type of the operation command is confirmed, and the operation is confirmed to be received.
  • the subsequent processing steps of the embodiment of the present invention are continued.
  • the embodiment of the present invention sets the effective duration of the button interaction, that is, sets the waiting duration for the button interaction, that is, when receiving a user operation instruction, waits for the set duration, and if the user receives a new operation instruction within the set duration, then The new operation command is valid; if the set time is exceeded when the user's new operation command is received, the new operation command is considered invalid.
  • the above setting is to set the effective waiting time between adjacent key events. After executing a button event, if the operation command of the next button event is received within the set time period, the next button event is executed; if the operation command of the next button event is received, the time from the previous button event is completed. If the time has exceeded the set time, the next button event cannot be executed according to the next operation command.
  • the above settings can make the key interaction process more energy efficient. Preventing resources from being wasted while waiting for the user to send the next operation instruction after receiving an operation instruction sent by the user.
  • Steps S301 and S303 to S305 in this embodiment respectively correspond to steps S101 and S102 to S104 in the method embodiment shown in FIG. 1 .
  • Steps S301 and S303 to S305 in this embodiment respectively correspond to steps S101 and S102 to S104 in the method embodiment shown in FIG. 1 .
  • Steps S301 and S303 to S305 in this embodiment respectively correspond to steps S101 and S102 to S104 in the method embodiment shown in FIG. 1 .
  • Steps S301 and S303 to S305 in this embodiment respectively correspond to steps S101 and S102 to S104 in the method embodiment shown in FIG. 1 .
  • Narration refer to the content of the method embodiment shown in FIG. 1 . Narration.
  • the method further includes:
  • the terminal is controlled to exit the business scenario in which the processing action is performed.
  • the exit waiting time is set for the button interaction, that is, after receiving the user operation instruction and performing the operation action, if the user operation instruction is not received again within the set second time period, Then, the control terminal exits the business scenario in which the operation action is performed.
  • the terminal After the processing procedure is performed according to the user operation instruction according to the embodiment of the present invention, the terminal enters a certain service scenario, such as a business scene in which the camera is photographed or photographed. At this time, the embodiment of the present invention starts timing. If the user does not receive the user operation command again when the timing reaches the set second duration, the control terminal exits the business scenario, such as the photo or camera service mentioned above. Scenes, etc. On the contrary, if the user operation instruction is received again within the second time period after the execution of the processing action, the new technical solution according to the embodiment of the present invention is executed on the basis of the service scenario in which the terminal is located after the processing operation is performed. Processing action.
  • a certain service scenario such as a business scene in which the camera is photographed or photographed.
  • the embodiment of the present invention starts timing. If the user does not receive the user operation command again when the timing reaches the set second duration, the control terminal exits the business scenario, such as the photo or camera service mentioned above. Scenes, etc.
  • the above settings are equivalent to setting a self-service exit mechanism for the terminal through key interaction, which can save the terminal resources.
  • the terminal when the operation instruction is a long press operation command by the user, the terminal controls the information screen, and controls the terminal to exit the service when the operation instruction is received. Scenes.
  • a unified service exit mechanism is set for the key interaction process.
  • the service exit operation is performed, and the control terminal exits the service scenario when the user presses the button operation command, and controls the terminal information screen.
  • the embodiment of the invention discloses a button interaction device.
  • the device includes:
  • the instruction receiving unit 401 is configured to receive a user operation instruction
  • the analyzing unit 402 is configured to confirm an action type of the operation instruction, and confirm a service scenario in which the terminal is located when the operation instruction is received;
  • the operation confirmation unit 403 is configured to determine, according to the action type of the operation instruction, and the service scenario in which the terminal is located when the operation instruction is received, a processing action corresponding to the type of the operation instruction and the service scenario;
  • the instruction execution unit 404 is configured to execute the processing action.
  • the operation confirming unit 403 determines a processing action corresponding to the type of the operation instruction and the service scenario, specifically, the method is:
  • the query obtains a processing action corresponding to the type of the operation instruction and the business scenario.
  • the apparatus further includes:
  • the determining unit 405 is configured to determine, at a time when the user operation instruction is received, a time interval from a time when the previous user operation instruction is received, whether the first time duration is reached;
  • the analysis unit 402 is controlled to confirm the action type of the operation instruction, and confirm the receipt of the operation.
  • the business scenario in which the terminal is located when the operation command is described.
  • the device includes:
  • Memory 601 and processor 602 are Memory 601 and processor 602;
  • the memory 601 is connected to the processor 602 for storing programs and data generated during the running of the program;
  • the processor 602 is configured to implement the following functions by running a program in the memory 601:
  • the processor 602 after receiving the user operation instruction, the processor 602 is further configured to:
  • the time interval when the user operation instruction is received does not reach the set first time length, the operation type of the operation instruction is confirmed, and when the operation instruction is confirmed, the terminal The business scenario in which it is located.
  • processor 602 for the specific working content of the processor 602 in this embodiment, refer to the content of the foregoing method embodiment, and details are not described herein again.
  • the processor 602 is further configured to:
  • the terminal is controlled to exit the business scenario in which the processing action is performed.
  • processor 602 for the specific working content of the processor 602 in this embodiment, refer to the content of the foregoing method embodiment, and details are not described herein again.
  • the processor 602 is further configured to:
  • the terminal controls the information screen, and controls the terminal to exit the service scenario when the operation instruction is received.
  • processor 602 for the specific working content of the processor 602 in this embodiment, refer to the content of the foregoing method embodiment, and details are not described herein again.

Landscapes

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

Abstract

本发明提出一种按键交互方法,包括:接收用户操作指令;确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景;根据所述操作指令的动作类型,以及接收到所述操作指令时终端所处的业务场景,从预先配置的按键事件管理表中,查询得到与所述操作指令的类型以及所述业务场景相对应的处理动作;执行所述处理动作。采用上述技术方案,可以使用户通过单一的按键,通过区别不同的操作动作,实现对终端的控制,用户操作更简便,利于提升用户体验。

Description

一种按键交互方法及装置 技术领域
本发明涉及人机交互技术领域,尤其涉及一种按键交互方法及装置。
背景技术
随着科学技术的发展,通信终端的功能越来越多样化,对终端的操作,也越来越复杂。在通信终端上,通常需要设置多个物理或虚拟按键,来执行用户操作指令,为用户提供多种多样的服务。
多个按键的设置,可以使终端设备各部分分工明确,但是用户需要操作多个按键才能实现在不同业务场景下开启需要的功能。例如,用户需要点击某一按键控制终端息屏,而当用户阅读网页需要翻页时,又需要点击另一按键或滑动屏幕才能实现。按键的复用性和融合程度低,导致用户操作繁琐,用户体验较差。
发明内容
基于上述现有技术的缺陷和不足,本发明提出一种按键交互方法及装置,能够使用户通过单个按键实现多种操作,从而提升用户体验。
一种按键交互方法,包括:
接收用户操作指令;
确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景;
根据所述操作指令的动作类型,以及接收到所述操作指令时终端所处的业务场景,确定与所述操作指令的类型以及所述业务场景相对应的处理动作;
执行所述处理动作。
优选地,所述确定与所述操作指令的类型以及所述业务场景相对应的处理动作,包括:
从预先配置的按键事件管理表中,查询得到与所述操作指令的类型以及所述业务场景相对应的处理动作。
优选地,在接收用户操作指令后,该方法还包括:
判断接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔,是否到达设定的第一时长;
如果接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔没有到达设定的第一时长,则确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景。
优选地,该方法还包括:
在执行所述处理动作后的设定的第二时长内,如果没有再次接收到用户操作指令,则控制所述终端退出执行所述处理动作后所处的业务场景。
优选地,当所述操作指令为用户长按按键操作指令时,控制终端息屏,并控制所述终端退出接收到所述操作指令时所处的业务场景。
一种按键交互装置,包括:
指令接收单元,用于接收用户操作指令;
分析单元,用于确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景;
操作确认单元,用于根据所述操作指令的动作类型,以及接收到所述操作指令时终端所处的业务场景,确定与所述操作指令的类型以及所述业务场景相对应的处理动作;
指令执行单元,用于执行所述处理动作。
优选地,所述操作确认单元确定与所述操作指令的类型以及所述业务场景相对应的处理动作时,具体用于:
从预先配置的按键事件管理表中,查询得到与所述操作指令的类型以及所述业务场景相对应的处理动作。
优选地,该装置还包括:
判断单元,用于判断接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔,是否到达设定的第一时长;
如果接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔没有到达设定的第一时长,则控制所述分析单元确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景。
一种按键交互装置,包括:
存储器和处理器;
其中,所述存储器与所述处理器连接,用于存储程序及程序运行过程中产生的数据;
所述处理器,用于通过运行所述存储器中的程序,实现以下功能:
接收用户操作指令;确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景;根据所述操作指令的动作类型,以及接收到所述操作指令时终端所处的业务场景,确定与所述操作指令的类型以及所述业务场景相对应的处理动作;执行所述处理动作。
优选地,在接收用户操作指令后,所述处理器还用于:
判断接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔,是否到达设定的第一时长;
如果接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔没有到达设定的第一时长,则确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景。
优选地,所述处理器还用于:
在执行所述处理动作后的设定的第二时长内,如果没有再次接收到用户操作指令,则控制所述终端退出执行所述处理动作后所处的业务场景。
优选地,所述处理器还用于:
当所述操作指令为用户长按按键操作指令时,控制终端息屏,并控制所述终端退出接收到所述操作指令时所处的业务场景。
采用本发明提出的按键交互方法,当接收到用户发送的操作指令时,确认操作指令的动作类型,根据操作指令的动作类型,以及终端当前所处的业务场景来查询确定应该执行的处理动作,并且执行该处理动作。上述方法可以使用户通过单一的按键,通过区别不同的操作动作,实现对终端的控制,用户操作更简便,利于提升用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创 造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1是本发明实施例提供的一种按键交互方法的流程示意图;
图2是本发明实施例提供的一种按键事件管理表的示意图;
图3是本发明实施例提供的另一种按键交互方法的流程示意图;
图4是本发明实施例提供的一种按键交互装置的结构示意图;
图5是本发明实施例提供的另一按键交互装置的结构示意图;
图6是本发明实施例提供的又一种按键交互装置的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例公开了一种按键交互方法,参见图1所示,该方法包括:
S101、接收用户操作指令;
具体的,本发明实施例技术方案应用于通信终端,包括对讲机、手机等。现有的对讲机和手机终端设备,由于是独立的实体,两者对按键的设计完全基于不同平台和技术实现的。所以,对讲机或手机设备,对于按键对应的功能响应,也是基于各自的使用情况和条件,两者没有任何的关联关系。考虑到对讲机和手机终端的融合产品形态、以及两者协同工作模式,为了提高业务的执行效率、功能的复用性,本发明实施例提出的按键交互方法解决一体化融合终端、以及未来纯宽带终端的按键协同响应问题。特别针对有对讲机特色的智能按键(Smart Key)进行创新设计,使其具备智能的操作和事件输入和输出,针对用户不同的业务场景需要,满足用户的反馈需求。也就是说,应用本发明实施例技术方案的通信终端通过单个智能按键,实现用户与终端交互。上述智能按键,可以是物理按键,或者触摸按键。
上述用户操作指令,是指用户执行的短按、双击、长按上述智能按键等动作所产生的操作指令。上述用户操作指令,根据用户动作,具备不同的动作类 型属性。例如,用户短按上述智能按键所产生的操作指令,具备短按动作属性,可以认为短按上述智能按键所产生的操作指令为短按操作指令。
S102、确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景;
具体的,终端所处的业务场景,是指当用户操作终端的智能按键时,终端所处的业务状态。在本发明实施例中,当终端所处的业务状态不同时,用户执行的按键动作,会带来不同的操作效果。例如,当终端处于息屏状态时,如果用户短按智能按键,则控制终端亮屏;而当终端处于来电状态时,如果用户短按智能按键,则控制终端静音并息屏。本发明实施例所提出的按键交互方法,针对智能按键设计了在不同业务场景下的操作动作,使得智能按键的复用性和功能融合度更高,更加智能。
在步骤S102中,收到用户操作指令后,首先确认用户操作指令的动作类型,即用户操作指令是用户的哪种操作动作(短按、长按、双击等)所产生的操作指令。同时,确认接收到用户操作指令时,终端所处的业务场景(例如息屏、来电、阅读界面等)。
S103、根据所述操作指令的动作类型,以及接收到所述操作指令时终端所处的业务场景,确定与所述操作指令的类型以及所述业务场景相对应的处理动作;
具体的,当确认接收的用户操作指令的动作类型(短按、长按、双击等),以及接收到上述用户操作指令时终端所处的业务场景后,本发明实施例根据用户操作指令的动作类型和终端所处的业务场景,确定当终端处于该业务场景时,用户通过智能按键执行了该操作动作,应当具体执行什么处理动作。例如,假设终端在息屏状态时,用户执行了短按智能按键的动作,则本发明实施例从按键事件管理表中查询得到此时应当执行的处理动作是亮屏。
可以理解,当用户为终端设计按键功能时,会明确设计用户在各种场景下操作按键时,终端应当执行的相应处理。也就是说,当终端接收到操作指令,以及明确接收到操作指令时所处的业务场景时,一定可以确定根据接收的指令所应当进行的处理动作。
本发明另一实施例中公开了具体的确定与接收的操作指令的类型以及所述业务场景相对应的处理工作的具体处理方法。
在该实施例中,从预先配置的按键事件管理表中,查询得到与所述操作指令的类型以及所述业务场景相对应的处理动作。
具体的,上述按键事件管理表,是指预先为用户操作指令设置的处理动作关系表,即当终端处于某种业务场景时,如果接收到用户操作指令,则应该执行哪种处理的关系表。参见图2所示,给出了上述按键事件管理表的逻辑示意图。从图2可以看出,按键事件管理表中,明确定义了当终端处于某种业务场景时,如果接收到用户不同的操作指令,该分别执行什么处理动作。需要说明的是,如图2所示的本发明实施例给出的按键事件管理表中,只列举了部分与用户操作指令对应的处理动作,在实际使用中,可以按照本发明实施例,灵活地为智能按键设置按键事件管理表,使智能按键具备相应的控制功能。
S104、执行所述处理动作。
具体的,在通过步骤S101~S103确认了用户操作智能按键时应当执行的处理动作后,执行上述应当执行的处理动作,实现用户对终端的控制。
需要说明的是,在执行上述处理动作后,终端会进入另一种业务场景,在此期间,如果接收到用户操作指令,依然按照步骤S101~S104的处理过程,执行处理动作。
采用本发明实施例提出的按键交互方法,当接收到用户发送的操作指令时,确认操作指令的动作类型,根据操作指令的动作类型,以及终端当前所处的业务场景来查询确定应该执行的处理动作,并且执行该处理动作。上述方法可以使用户通过单一的按键,通过区别不同的操作动作,实现对终端的控制,用户操作更简便,利于提升用户体验。
可选的,在本发明的另一个实施例中,参见图3所示,在接收用户操作指令后,该方法还包括:
S302、判断接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔,是否到达设定的第一时长;
具体的,在本发明实施例中,为按键交互设置有效时长,即设定相邻的按键处理动作之间的时间间隔,不能超过设定的第一时长。如果接收到用户操作指令的时间,距离上次接收到用户操作指令的时间,已经超过设定的第一时长,则认为本次接收到的用户操作指令无效。
如果接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时 间间隔没有到达设定的第一时长,则执行步骤S303、确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景。
具体的,如果接收到用户操作指令的时间,距离上次接收到用户操作指令的时间,没有超过设定的第一时长,则继续执行本发明实施例后续处理步骤。
本发明实施例为按键交互设置有效时长,也就是为按键交互设置等待时长,即当接收到一个用户操作指令时,等待设定时长,如果在设定时长内接收到用户新的操作指令,则新的操作指令有效;如果在接收到用户新的操作指令时,已经超过设定时长,则认为新的操作指令无效。参见图2所示的按键事件管理表,上述设置也就是设置相邻按键事件之间的有效等待时间。在执行一个按键事件后,如果在设定时长内接收到下一个按键事件的操作指令,则执行下一个按键事件;如果接收到下一个按键事件的操作指令的时间,距离上一个按键事件完成的时间已经超过设定时长,则无法根据下一个操作指令执行下一个按键事件。
上述设置,可以使按键交互过程更加节能。防止在接收到用户发送的一个操作指令后,一直等待用户发送下一个操作指令而浪费资源。
本实施例中的步骤S301、S303~S305分别对应图1所示的方法实施例中的步骤S101、S102~S104,其具体内容请参见图1所示的方法实施例的内容,此处不再赘述。
可选的,在本发明的另一个实施例中,该方法还包括:
在执行所述处理动作后的设定的第二时长内,如果没有再次接收到用户操作指令,则控制所述终端退出执行所述处理动作后所处的业务场景。
具体的,在本发明实施例中,为按键交互设定退出等待时长,即在接收用户操作指令,并执行操作动作后,如果在设定的第二时长内,没有再次接收到用户操作指令,则控制终端退出执行操作动作后所处的业务场景。
当按照本发明实施例处理过程根据用户操作指令执行处理动作后,终端会进入某一种业务场景,例如处于拍照或摄像的业务场景等。此时,本发明实施例开始计时,如果计时到达设定的第二时长时,都没有再次接收到用户操作指令,则控制终端退出所处的业务场景,例如上述所处的拍照或摄像的业务场景等。相反,如果在执行处理动作后的设定的第二时长内,再次接收到用户操作指令,则在执行处理动作后终端所处的业务场景的基础上,按照本发明实施例 技术方案,执行新的处理动作。
上述设置,相当于通过按键交互,为终端设置了自行化的业务退出机制,可以使终端节省资源。
可选的,在本发明的另一个实施例中,当所述操作指令为用户长按按键操作指令时,控制终端息屏,并控制所述终端退出接收到所述操作指令时所处的业务场景。
具体的,在本发明实施例中,为按键交互过程设置统一的业务退出机制。当接收到用户长按按键操作指令时,则执行业务退出动作,控制终端退出在接收到用户长按按键操作指令时所处的业务场景,同时控制终端息屏。通过上述设置,实现了快速的业务退出。
本发明实施例公开了一种按键交互装置,参见图4所示,该装置包括:
指令接收单元401,用于接收用户操作指令;
分析单元402,用于确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景;
操作确认单元403,用于根据所述操作指令的动作类型,以及接收到所述操作指令时终端所处的业务场景,确定与所述操作指令的类型以及所述业务场景相对应的处理动作;
指令执行单元404,用于执行所述处理动作。
具体的,本实施例中各个单元的具体工作内容,请参见上述方法实施例的内容,此处不再赘述。
可选的,在本发明的另一个实施例中,操作确认单元403确定与所述操作指令的类型以及所述业务场景相对应的处理动作时,具体用于:
从预先配置的按键事件管理表中,查询得到与所述操作指令的类型以及所述业务场景相对应的处理动作。
具体的,本实施例中的操作确认单元403的具体工作内容,请参见上述方法实施例的内容,此处不再赘述。
可选的,在本发明的另一个实施例中,参见图5所示,该装置还包括:
判断单元405,用于判断接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔,是否到达设定的第一时长;
如果接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时 间间隔没有到达设定的第一时长,则控制所述分析单元402确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景。
具体的,本实施例中的判断单元405的具体工作内容,请参见上述方法实施例的内容,此处不再赘述。
本发明实施例公开了另一种按键交互装置,参见图6所示,该装置包括:
存储器601和处理器602;
其中,存储器601与处理器602连接,用于存储程序及程序运行过程中产生的数据;
处理器602,用于通过运行存储器601中的程序,实现以下功能:
接收用户操作指令;确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景;根据所述操作指令的动作类型,以及接收到所述操作指令时终端所处的业务场景,确定与所述操作指令的类型以及所述业务场景相对应的处理动作;执行所述处理动作。
具体的,本实施例中各个部分的具体工作内容,请参见上述方法实施例的内容,此处不再赘述。
可选的,在本发明的另一个实施例中,在接收用户操作指令后,处理器602还用于:
判断接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔,是否到达设定的第一时长;
如果接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔没有到达设定的第一时长,则确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景。
具体的,本实施例中的处理器602的具体工作内容,请参见上述方法实施例的内容,此处不再赘述。
可选的,在本发明的另一个实施例中,处理器602还用于:
在执行所述处理动作后的设定的第二时长内,如果没有再次接收到用户操作指令,则控制所述终端退出执行所述处理动作后所处的业务场景。
具体的,本实施例中的处理器602的具体工作内容,请参见上述方法实施例的内容,此处不再赘述。
可选的,在本发明的另一个实施例中,处理器602还用于:
当所述操作指令为用户长按按键操作指令时,控制终端息屏,并控制所述终端退出接收到所述操作指令时所处的业务场景。
具体的,本实施例中的处理器602的具体工作内容,请参见上述方法实施例的内容,此处不再赘述。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (12)

  1. 一种按键交互方法,其特征在于,包括:
    接收用户操作指令;
    确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景;
    根据所述操作指令的动作类型,以及接收到所述操作指令时终端所处的业务场景,确定与所述操作指令的类型以及所述业务场景相对应的处理动作;
    执行所述处理动作。
  2. 根据权利要求1所述的方法,其特征在于,所述确定与所述操作指令的类型以及所述业务场景相对应的处理动作,包括:
    从预先配置的按键事件管理表中,查询得到与所述操作指令的类型以及所述业务场景相对应的处理动作。
  3. 根据权利要求1所述的方法,其特征在于,在接收用户操作指令后,该方法还包括:
    判断接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔,是否到达设定的第一时长;
    如果接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔没有到达设定的第一时长,则确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景。
  4. 根据权利要求1所述的方法,其特征在于,该方法还包括:
    在执行所述处理动作后的设定的第二时长内,如果没有再次接收到用户操作指令,则控制所述终端退出执行所述处理动作后所处的业务场景。
  5. 根据权利要求1至4中任一权利要求所述的方法,其特征在于,当所述操作指令为用户长按按键操作指令时,控制终端息屏,并控制所述终端退出接收到所述操作指令时所处的业务场景。
  6. 一种按键交互装置,其特征在于,包括:
    指令接收单元,用于接收用户操作指令;
    分析单元,用于确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景;
    操作确认单元,用于根据所述操作指令的动作类型,以及接收到所述操作指令时终端所处的业务场景,确定与所述操作指令的类型以及所述业务场景相对应的处理动作;
    指令执行单元,用于执行所述处理动作。
  7. 根据权利要求6所述的装置,其特征在于,所述操作确认单元确定与所述操作指令的类型以及所述业务场景相对应的处理动作时,具体用于:
    从预先配置的按键事件管理表中,查询得到与所述操作指令的类型以及所述业务场景相对应的处理动作。
  8. 根据权利要求6所述的装置,其特征在于,该装置还包括:
    判断单元,用于判断接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔,是否到达设定的第一时长;
    如果接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔没有到达设定的第一时长,则控制所述分析单元确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景。
  9. 一种按键交互装置,其特征在于,包括:
    存储器和处理器;
    其中,所述存储器与所述处理器连接,用于存储程序及程序运行过程中产生的数据;
    所述处理器,用于通过运行所述存储器中的程序,实现以下功能:
    接收用户操作指令;确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景;根据所述操作指令的动作类型,以及接收到所述操作指令时终端所处的业务场景,确定与所述操作指令的类型以及所述业务场景相对应的处理动作;执行所述处理动作。
  10. 根据权利要求9所述的装置,其特征在于,在接收用户操作指令后,所述处理器还用于:
    判断接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔,是否到达设定的第一时长;
    如果接收用户操作指令的时刻,距离接收上一个用户操作指令的时刻的时间间隔没有到达设定的第一时长,则确认所述操作指令的动作类型,以及确认接收到所述操作指令时,终端所处的业务场景。
  11. 根据权利要求9所述的装置,其特征在于,所述处理器还用于:
    在执行所述处理动作后的设定的第二时长内,如果没有再次接收到用户操作指令,则控制所述终端退出执行所述处理动作后所处的业务场景。
  12. 根据权利要求9至11中任一权利要求所述的装置,其特征在于,所述处理器还用于:
    当所述操作指令为用户长按按键操作指令时,控制终端息屏,并控制所述终端退出接收到所述操作指令时所处的业务场景。
PCT/CN2017/117945 2017-12-22 2017-12-22 一种按键交互方法及装置 Ceased WO2019119402A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/117945 WO2019119402A1 (zh) 2017-12-22 2017-12-22 一种按键交互方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/117945 WO2019119402A1 (zh) 2017-12-22 2017-12-22 一种按键交互方法及装置

Publications (1)

Publication Number Publication Date
WO2019119402A1 true WO2019119402A1 (zh) 2019-06-27

Family

ID=66993014

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117945 Ceased WO2019119402A1 (zh) 2017-12-22 2017-12-22 一种按键交互方法及装置

Country Status (1)

Country Link
WO (1) WO2019119402A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677239A (zh) * 2012-09-24 2014-03-26 联想(北京)有限公司 一种无线显示终端控制方法及装置
CN104063076A (zh) * 2013-03-18 2014-09-24 联想(北京)有限公司 一种输入装置、信息处理方法及一种电子设备
CN104238759A (zh) * 2014-09-04 2014-12-24 广东欧珀移动通信有限公司 实体按键控制终端的方法及装置
CN106997272A (zh) * 2017-02-23 2017-08-01 珠海市魅族科技有限公司 一种终端装置的控制方法及控制系统
CN107967098A (zh) * 2017-12-22 2018-04-27 海能达通信股份有限公司 一种按键交互方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677239A (zh) * 2012-09-24 2014-03-26 联想(北京)有限公司 一种无线显示终端控制方法及装置
CN104063076A (zh) * 2013-03-18 2014-09-24 联想(北京)有限公司 一种输入装置、信息处理方法及一种电子设备
CN104238759A (zh) * 2014-09-04 2014-12-24 广东欧珀移动通信有限公司 实体按键控制终端的方法及装置
CN106997272A (zh) * 2017-02-23 2017-08-01 珠海市魅族科技有限公司 一种终端装置的控制方法及控制系统
CN107967098A (zh) * 2017-12-22 2018-04-27 海能达通信股份有限公司 一种按键交互方法及装置

Similar Documents

Publication Publication Date Title
CN106658079B (zh) 自定义生成表情图像的方法及装置
JP6355735B2 (ja) 省エネルギーモードを開始するための方法及び装置
CN107783803B (zh) 智能终端的系统优化方法、装置、存储介质及智能终端
CN102306101B (zh) 一种应用程序作为桌面的方法和装置
JP2017510920A (ja) 消費電力制御方法、装置、プログラム及び記録媒体
CN112905089B (zh) 设备控制方法及装置
TWI658401B (zh) 基於虛擬化行動架構之行動通訊裝置及其相關輸入法切換方法
CN111309226A (zh) 基于通信质量的终端控制方法、装置、终端和计算机设备
WO2016026108A1 (zh) 一种应用程序的切换方法、装置及电子终端
CN103257829B (zh) 一种Android下前后切换最近任务的终端控制系统与方法
CN103024200B (zh) 应用于智能终端的拍摄方法及拍摄装置
CN104899087A (zh) 第三方应用的语音识别实现方法和系统
WO2018086454A1 (zh) 页面数据处理方法和装置
CN104424036A (zh) 智能终端的同步操作方法及装置
CN107967098A (zh) 一种按键交互方法及装置
CN115242456B (zh) 用户许可管理系统、方法、装置、电子设备及存储介质
CN102279654A (zh) 一种kvm中键盘调用显示器osd菜单的实现方法
WO2021134866A1 (zh) 通话切换方法、装置、存储介质及移动终端
CN113179322B (zh) 远程交互方法、装置、电子设备及存储介质
CN113282362B (zh) 应用程序管理方法、装置、存储介质以及终端
WO2019119402A1 (zh) 一种按键交互方法及装置
WO2025140280A1 (zh) 一种云手机的交互方法以及装置
WO2022021068A1 (zh) 锁屏交互方法、移动终端和计算机存储介质
CN116009699A (zh) 一种隔空手势控制操作智能首饰的方法及系统
CN107517495A (zh) 用户识别卡控制方法、移动终端及计算机可读存储介质

Legal Events

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

Ref document number: 17935596

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17935596

Country of ref document: EP

Kind code of ref document: A1