WO2020248234A1 - Terminal operation method, terminal, and apparatus having storage function - Google Patents

Terminal operation method, terminal, and apparatus having storage function Download PDF

Info

Publication number
WO2020248234A1
WO2020248234A1 PCT/CN2019/091304 CN2019091304W WO2020248234A1 WO 2020248234 A1 WO2020248234 A1 WO 2020248234A1 CN 2019091304 W CN2019091304 W CN 2019091304W WO 2020248234 A1 WO2020248234 A1 WO 2020248234A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
terminal
trigger instruction
physical button
touch signal
Prior art date
Application number
PCT/CN2019/091304
Other languages
French (fr)
Chinese (zh)
Inventor
周宇坤
徐益海
Original Assignee
海能达通信股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 海能达通信股份有限公司 filed Critical 海能达通信股份有限公司
Priority to PCT/CN2019/091304 priority Critical patent/WO2020248234A1/en
Publication of WO2020248234A1 publication Critical patent/WO2020248234A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • This application relates to the field of terminal technology, and in particular to a method for terminal operation, a terminal, and a device with a storage function.
  • touch screens In the field of human-computer interaction of terminal devices, touch screens have become a major trend, especially when dealing with complex applications, touch screens have very free interaction design methods. However, it is undeniable that even if there is a touch screen in some key operation areas, users still want physical buttons. This is not only to facilitate operation, but also to ensure reliable control, achieve blind operation, and prevent misoperation, because in critical emergency moments, physical buttons It is an indisputable fact that it is more reliable than a touch screen. But once there are physical buttons, the problem of application adaptation will follow, because general applications are developed in accordance with the standard Android (Android system) touch screen method, and they don’t know how to adapt to special physical buttons. Or knob.
  • Android Android system
  • the existing method of responding to physical buttons for the Android system is: the application pre-binds the key value of the physical button; when the physical button is pressed, the system will trigger a broadcast event and broadcast its key value; when the application listens to the broadcast and finds When it happens to be the key value bound by itself, the application responds accordingly.
  • the application actively monitoring the messages of the physical button is a key part of achieving adaptation. If the application does not actively monitor, it does not know that a certain physical button has been triggered, and therefore cannot respond, that is, The application has an active "shielding" function for physical buttons, and it can choose to monitor or not monitor. At the same time, it is also required that the application must know the special key value triggered by the physical button in advance to monitor.
  • the present application provides a method for terminal operation, a terminal, and a device with a storage function, which can complete the adaptation of the application to the physical button without relying on the application developer.
  • the terminal includes a touch screen and physical buttons, wherein the method includes:
  • the terminal When the terminal receives the trigger instruction of the physical button, it detects the currently displayed application interface
  • the application performs an operation corresponding to the touch signal.
  • the method further includes:
  • the corresponding relationship between the trigger instruction of the physical button and the touch signal of the application interface is preset and saved.
  • the method before the acquiring the touch signal corresponding to the application interface of the trigger instruction and sending the signal to the application, the method further includes:
  • the step of obtaining the touch signal corresponding to the application interface of the trigger instruction includes:
  • the method further includes:
  • the step of detecting the currently displayed application interface includes:
  • the application corresponding to the window running on the front end of the system screen is the application currently displayed on the terminal;
  • the interface corresponding to the sub-window running in the window running on the front end of the system screen is the application interface currently displayed on the terminal.
  • the physical button is a physical button, a physical knob or a physical paddle.
  • the application is not an application shipped with the terminal.
  • a terminal including a processor, a memory, a communication circuit, a touch screen, and a physical button
  • the processor is respectively coupled to the memory and the communication circuit ,
  • the touch screen and the physical buttons, the processor controls itself, the memory, the communication circuit, the touch screen, and the physical buttons during operation to implement the steps in the above-mentioned terminal operation method.
  • another technical solution adopted by this application is to provide a device with a storage function, storing program data, which can be executed to implement the steps in the above terminal operation method.
  • the beneficial effect of this application is: after receiving the trigger instruction of the physical button, the terminal operation method of this application searches for the touch signal of the currently displayed application interface corresponding to the trigger instruction, and sends the touch signal to the currently displayed application , The application will perform the operation corresponding to the touch signal, so that the application can be operated by operating the physical button. At the same time, there is no need to monitor the application during the whole process, and the application does not need to make any improvements. It is only responsible for receiving the touch signal.
  • This method can complete the adaptation of the application to the physical button without the application developer improving the application.
  • FIG. 1 is a schematic flowchart of an implementation manner of a terminal operation method of the present application
  • FIG. 2 is a schematic flowchart of another embodiment of the terminal operation method of the present application.
  • FIG. 3 is a schematic partial flowchart of another embodiment of the terminal operation method of the present application.
  • FIG. 4 is a schematic structural diagram of an implementation manner of a terminal of this application.
  • FIG. 5 is a schematic structural diagram of an embodiment of a device with a storage function according to the present application.
  • the terminal involved in this application can be a mobile phone, walkie-talkie, computer and other electronic devices, as long as it includes a touch screen, physical buttons (distinguishable from the virtual buttons on the touch screen) and can install applications that are not shipped with the factory. , Where the user can operate the terminal by touching the touch screen.
  • the operating system of the terminal includes but is not limited to the Android system.
  • the physical buttons include but are not limited to physical buttons, physical knobs, and physical paddles.
  • the operation mode of the physical buttons is pressing operation, and the operation mode of the physical knobs is rotation operation.
  • the mode of operation is toggling operation, for example, the mute button on some current electronic devices. All in all, this application does not limit the specific form of the physical button.
  • Fig. 1 is a schematic flowchart of an embodiment of a terminal operation method according to the present application, and the method includes:
  • a trigger instruction is generated.
  • the terminal receives the trigger instruction, it detects the application interface currently displayed on the terminal screen, and the currently displayed application interface is the application interface being operated by the user.
  • S120 Obtain a touch signal corresponding to the application interface of the trigger instruction, and send the signal to the application.
  • a user can perform multiple touch operations on an application interface.
  • the user touches the application interface in different areas and touch methods, and the corresponding touch signals are also different.
  • the user clicks on the icons of different contacts.
  • After obtaining the trigger instruction of the physical button in step S110 according to the preset correspondence relationship, obtain the touch signal corresponding to the trigger instruction of the currently displayed application interface, that is, it is equivalent to converting the trigger instruction of the physical button into the touch signal of the application interface , And send the touch signal to the currently displayed application.
  • S130 The application performs an operation corresponding to the touch signal.
  • the application may be an application that is shipped with the terminal, or an application that is downloaded and installed by the user after the factory is shipped.
  • the application receives the touch signal sent in step S120, it performs an operation corresponding to the touch signal, that is, simulates the user touching the display interface of the current application through the touch screen.
  • the currently displayed application interface is a chat interface, and when the user clicks the physical PTT (Push To Talk) button, it simulates that the user touches the virtual button on the touch screen to enable the voice sending function.
  • PTT Push To Talk
  • the user can directly simulate the application interface currently displayed through the touch screen through the physical button, and in this process, there is no need to apply a predetermined binding key value.
  • the terminal monitors the trigger instruction of the physical button throughout the process, and according to The trigger instruction searches for the touch signal corresponding to the currently displayed application interface, which is equivalent to converting the trigger instruction of the physical button into the touch signal of the application interface by the terminal.
  • the application only needs to receive the touch signal.
  • the application does not need to do Improved, that is, the adaptation of the application to the physical button can be realized without the participation of the application developer. And because there is no need to make any improvements to the application, no matter whether the terminal is an existing model or a future model, no matter how special the physical buttons are, this method can be used to complete the adaptation of the application to the physical buttons.
  • the terminal operation method further includes:
  • S140 Preset and save the corresponding relationship between the trigger instruction of the physical button and the touch signal of the application interface.
  • the terminal manufacturer establishes a database in advance, and establishes and saves the corresponding relationship between the trigger instruction of the physical button and the touch signal of the application interface in advance.
  • the database can be updated regularly or irregularly by the terminal manufacturer, or it can be created or updated by the user according to the configuration interface provided by the terminal manufacturer.
  • the trigger instruction of a physical button can only correspond to one touch signal, while the touch signals on different application interfaces can correspond to the trigger instruction of the same physical button, that is, through the same physical button Can operate different application interfaces.
  • the application can be adapted to the physical button to realize the operation of the application through the physical button.
  • the touch signal that can be generated by some relatively complex combined operations in the prior art can correspond to the trigger instruction of a simple physical button, that is, in the prior art, the user may need at least two fingers to touch the touch screen in combination.
  • the completed operation in this application, only one finger is needed to trigger the physical button, which can reduce misoperation, improve the reliability of the operation, and realize blind operation.
  • the physical buttons in this application can be physical buttons that are commonly defined by the system, such as volume adjustment keys, unlock keys, return keys, etc., or they can be physical buttons that have not been commonly defined by the system, such as special ones developed by the terminal manufacturer.
  • the special physical button developed by the terminal manufacturer itself may not be recognized by the general system when it is triggered.
  • the operation application can be realized by triggering the physical button.
  • Figure 2 is a schematic flowchart of the terminal operation method of the present application in this embodiment.
  • the method specifically includes:
  • Step S210 When the terminal receives the trigger instruction of the physical button, detect the currently displayed application interface. Step S210 corresponds to the same as step S110. For details, please refer to the above-mentioned embodiment, which will not be repeated here.
  • S220 Determine whether the application is saved in advance.
  • step S230 it is determined whether the currently displayed application is saved in the database in advance. If it is saved in the database in advance, it indicates that there may be a touch signal corresponding to the received trigger instruction of the physical button on the currently displayed application interface, and enter In step S230, if the judgment result is no, it indicates that the trigger instruction of the physical button corresponding to the currently displayed application has not been set, and the application cannot be operated by the trigger instruction of the physical button, then continue to determine whether the trigger instruction of the physical button is A trigger command that is commonly defined by the terminal system, such as a volume adjustment command, if the trigger command of the physical button is not a commonly defined trigger command, the trigger command of the physical button can be ignored.
  • step S230 specifically includes:
  • S231 Determine whether there is a touch signal corresponding to the trigger instruction of the physical button in the currently displayed application interface.
  • step S232 It is judged whether there is a touch signal belonging to the currently displayed application interface corresponding to the trigger instruction of the physical button in the database, if there is, then step S232 is entered, otherwise step S233 is entered.
  • the touch signal of the application interface corresponding to the trigger instruction of the physical button is obtained, that is, the trigger instruction of the physical button is converted into the touch signal of the application interface, and step S240 is entered.
  • Step S240 The application performs an operation corresponding to the touch signal. Step S240 is the same or similar to step S130. For details, please refer to the above-mentioned embodiment, which will not be repeated here.
  • FIG. 3 is a schematic partial flowchart of another embodiment of the terminal operation method of the present application. Different from the foregoing embodiment, in this embodiment, the method further includes:
  • S310 Pre-configure different application package names and different windows corresponding to different applications at the bottom of the system.
  • an application corresponds to an application package name and a main window, and at the same time, a main window corresponds to a different sub-window, and the different sub-window corresponds to an application interface that is not used by the application.
  • a window list and a sub-window list can also be formed at the same time.
  • the step of detecting the currently displayed application interface includes:
  • the application corresponding to the window running on the front end of the system screen is the application currently displayed on the terminal.
  • the interface corresponding to the sub-window running in the window running on the front end of the system screen is the application interface currently displayed on the terminal.
  • the application package name in the running application list indicates that the application corresponding to the application package name is running, and the running includes running in the foreground and running in the background. If the window corresponding to the application package name in the application list is running on the front of the system screen, it indicates that the application corresponding to the window is an application running in the foreground of the terminal, that is, the application currently displayed on the terminal, and then the window running on the front of the system screen.
  • the interface corresponding to the child window running in the main window is the currently displayed application interface, that is, the application interface corresponding to the child window running in the main window is the displayed application interface, that is, by searching for the main window and
  • the sub-window running in the main window can detect the currently displayed application interface, which facilitates the subsequent search for the touch signal corresponding to the trigger instruction of the physical button on the application interface.
  • FIG. 4 is a schematic structural diagram of an embodiment of the terminal of the present application.
  • the terminal 40 includes a processor 401, a memory 402, a communication circuit 403, a touch screen 404, and a physical button 405.
  • the processor 401 is respectively coupled to The memory 402, the communication circuit 403, the touch screen 404, and the physical buttons 405.
  • the processor 401 controls itself and the memory 402, the communication circuit 403, the touch screen 404, and the physical buttons 405 during operation to implement any of the terminal operation methods in any of the above embodiments
  • the steps and detailed methods please refer to the foregoing implementation manners, which will not be repeated here.
  • the terminal 40 may be a mobile phone, a walkie-talkie, a notebook, a tablet computer, a vehicle-mounted computer, etc., as long as it has a touch screen 404 and a physical button 405, which is not limited here.
  • the physical button 405 may be a physical button or a physical knob.
  • the operation mode of the physical button is a pressing operation
  • the operation mode of the physical knob is a rotation operation.
  • FIG. 5 is a schematic structural diagram of an embodiment of a storage function device of the present application.
  • the storage function device 50 stores program data 501, which can be executed to implement the terminal in any of the above embodiments Steps in the method of operation.
  • program data 501 can be executed to implement the terminal in any of the above embodiments Steps in the method of operation.
  • the device 50 with a storage function may be a portable storage medium, such as a U disk, an optical disk, or a terminal, a server, and so on.
  • the terminal operation method of this application after receiving the trigger instruction of the physical button, searches for the touch signal of the currently displayed application interface corresponding to the trigger instruction, and sends the touch signal to the current The application that is displayed, the application will perform the operation corresponding to the touch signal, so that the application can be operated by operating the physical button. At the same time, there is no need to monitor the application during the whole process, and the application does not need to make any improvements. It is only responsible for receiving the touch signal Therefore, this method can complete the adaptation of the application to the physical button without the application developer improving the application.

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)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are a terminal operation method, a terminal, and an apparatus having a storage function. The terminal comprises a touch screen and a physical button. The terminal operation method comprises: when a terminal receives a trigger instruction for a physical button, detect the currently displayed application interface; obtain a touch signal for the application interface corresponding to the trigger instruction, and send the touch signal to an application; the application performs an operation corresponding to the touch signal. By means of the method, the adaptation of the application to a physical button can be implemented without relying on an application developer.

Description

终端操作的方法、终端及具有存储功能的装置Terminal operation method, terminal and device with storage function 【技术领域】【Technical Field】
本申请涉及终端技术领域,特别是涉及一种终端操作的方法、终端及具有存储功能的装置。This application relates to the field of terminal technology, and in particular to a method for terminal operation, a terminal, and a device with a storage function.
【背景技术】【Background technique】
在终端设备的人机交互领域,触摸屏已经成为大趋势,尤其在处理复杂的应用上,触摸屏有非常自由的交互设计方法。但不可否认在一些关键操作领域即便有触摸屏,用户依然希望存在物理按键,这不仅是为了方便操作,更主要是为了确保可靠操控、实现盲操作、防止误操作,因为在关键应急时刻,物理按键会比触摸屏可靠是一个不争的事实。但一旦有了物理按键,对于应用的适配问题就随之出现,因为一般的应用都是按照标准的Android(安卓系统)触摸屏方式来开发的,它们并不知道如何去适配特殊的物理按键或者旋钮。这时候通常的做法就是需要终端生产方和应用开发方一起合作改造应用:一般而言,一个应用要适配某款机型的物理按键,必须要由终端生产方提供物理按键的底层接口或者协议,而应用开发方负责使用这些接口或协议,从而才能完成应用与物理按键的适配过程。In the field of human-computer interaction of terminal devices, touch screens have become a major trend, especially when dealing with complex applications, touch screens have very free interaction design methods. However, it is undeniable that even if there is a touch screen in some key operation areas, users still want physical buttons. This is not only to facilitate operation, but also to ensure reliable control, achieve blind operation, and prevent misoperation, because in critical emergency moments, physical buttons It is an indisputable fact that it is more reliable than a touch screen. But once there are physical buttons, the problem of application adaptation will follow, because general applications are developed in accordance with the standard Android (Android system) touch screen method, and they don’t know how to adapt to special physical buttons. Or knob. The usual approach at this time is to require the terminal manufacturer and application developer to work together to transform the application: Generally speaking, if an application is adapted to the physical buttons of a certain model, the terminal manufacturer must provide the underlying interface or protocol of the physical buttons. , And the application developer is responsible for using these interfaces or protocols to complete the adaptation process between the application and the physical buttons.
现有针对安卓系统响应物理按键的方法是:应用预先绑定物理按键的键值;当物理按键被按下时,系统会触发一个广播事件,并广播其键值;当应用监听到广播且发现刚好是自己绑定的键值时,该应用做出对应的响应。在该现有方法中,应用主动监听物理按键的消息是实现适配的关键一环,如果应用不主动监听,则并不知道某个物理按键已经触发,从而也就不能做出反应,即,应用对物理按键有主动“屏蔽”功能,它可以选择监听或者不监听。同时也要求应用必须事先知道物理按键所触发的特殊键值才能监听,因此要适配某个机型的物理按键,需要终端生产方与应用开发方事先沟通,这对于开放式安卓系统开发而言,应用开发方在设计之初很难想象到会适配什么特殊机型,所以对于一般应用开发方而言不预先绑定键值、不监听是常态。The existing method of responding to physical buttons for the Android system is: the application pre-binds the key value of the physical button; when the physical button is pressed, the system will trigger a broadcast event and broadcast its key value; when the application listens to the broadcast and finds When it happens to be the key value bound by itself, the application responds accordingly. In this existing method, the application actively monitoring the messages of the physical button is a key part of achieving adaptation. If the application does not actively monitor, it does not know that a certain physical button has been triggered, and therefore cannot respond, that is, The application has an active "shielding" function for physical buttons, and it can choose to monitor or not monitor. At the same time, it is also required that the application must know the special key value triggered by the physical button in advance to monitor. Therefore, to adapt to the physical button of a certain model, the terminal manufacturer and the application developer need to communicate in advance. This is for open Android system development. At the beginning of the design, it is difficult for application developers to imagine what special models will be adapted, so it is normal for general application developers not to bind keys in advance and not to monitor.
也就是说,现有的做法为了适配不同的机型,应用开发方必须付出额外的代价,如果一个应用已经成形,则应用开发方必须对其软件版本进行修改,加入新的监听代码,这对实际商业运作来说并不现实。另一方面,应用即便改造 也只能适应现有的机型,无法对未来的机型提前适配,因为未来机型带来的交互操作是未知的,应用开发方无法提前预知出现的新的物理按键或旋钮。同时当引入的应用越来越多时,究竟多少应用开发方愿意为适应一个物理按键去修改应用是需要打问号的,因此目前这种做法,终端生产方商在这方面显得较为弱势。In other words, in order to adapt to different models, the application developer must pay an extra price. If an application is already formed, the application developer must modify its software version and add new monitoring code. It is not realistic for actual business operations. On the other hand, even if the application is modified, it can only adapt to existing models, and cannot adapt to future models in advance, because the interactive operations brought by future models are unknown, and the application developer cannot predict the emergence of new models in advance. Physical buttons or knobs. At the same time, when more and more applications are introduced, how many application developers are willing to modify the application to adapt to a physical button requires a question mark. Therefore, the current practice of terminal manufacturers is relatively weak in this regard.
【发明内容】[Content of the invention]
有鉴于此,本申请提供一种终端操作的方法、终端及具有存储功能的装置,能够不依赖应用开发方而完成应用对物理按钮的适配。In view of this, the present application provides a method for terminal operation, a terminal, and a device with a storage function, which can complete the adaptation of the application to the physical button without relying on the application developer.
为解决上述技术问题,本申请采用的一个技术方案是:提供一种终端操作的方法,所述终端包括触摸屏以及物理按钮,其中,所述方法包括:In order to solve the above technical problems, a technical solution adopted in this application is to provide a method for terminal operation. The terminal includes a touch screen and physical buttons, wherein the method includes:
当终端接收到物理按钮的触发指令时,侦测当前显示的应用界面;When the terminal receives the trigger instruction of the physical button, it detects the currently displayed application interface;
获取所述触发指令对应所述应用界面的触摸信号,并将所述信号发送给所述应用;Acquiring the touch signal corresponding to the application interface of the trigger instruction, and sending the signal to the application;
所述应用执行对应所述触摸信号的操作。The application performs an operation corresponding to the touch signal.
其中,所述方法还包括:Wherein, the method further includes:
预先设置并保存所述物理按钮的触发指令与所述应用界面的触摸信号之间的对应关系。The corresponding relationship between the trigger instruction of the physical button and the touch signal of the application interface is preset and saved.
其中,在所述获取所述触发指令对应所述应用界面的触摸信号,并将所述信号发送给所述应用之前,还包括:Wherein, before the acquiring the touch signal corresponding to the application interface of the trigger instruction and sending the signal to the application, the method further includes:
判断所述应用是否被预先保存;Determine whether the application is saved in advance;
若判断结果为是,则执行所述获取所述触发指令对应所述应用界面的触摸信号,并将所述信号发送给所述应用。If the judgment result is yes, execute the acquisition of the trigger instruction corresponding to the touch signal of the application interface, and send the signal to the application.
其中,所述获取所述触发指令对应所述应用界面的触摸信号的步骤,包括:Wherein, the step of obtaining the touch signal corresponding to the application interface of the trigger instruction includes:
判断所述当前显示的应用界面是否存在与所述物理按钮的触发指令对应的触摸信号;Determine whether the currently displayed application interface has a touch signal corresponding to the trigger instruction of the physical button;
若判断结果为是,则执行所述获取所述触发指令对应所述应用界面的触摸信号;If the judgment result is yes, execute the acquisition of the trigger instruction corresponding to the touch signal of the application interface;
若判断结果为否,则忽略所述物理按钮的触发指令。If the judgment result is no, the trigger instruction of the physical button is ignored.
其中,所述方法还包括:Wherein, the method further includes:
在系统底层预先配置对应不同应用的不同应用包名以及不同窗口;Pre-configure different application package names and different windows corresponding to different applications at the bottom of the system;
配置对应每个所述应用不同界面的不同子窗口。Configure different sub-windows corresponding to different interfaces of each application.
其中,所述侦测当前显示的应用界面的步骤,包括:Wherein, the step of detecting the currently displayed application interface includes:
若运行的应用列表中存在的应用包名所对应的窗口在系统屏幕前端运行,则对应所述在系统屏幕前端运行的窗口的应用为所述终端当前显示的应用;If the window corresponding to the application package name in the running application list is running on the front end of the system screen, the application corresponding to the window running on the front end of the system screen is the application currently displayed on the terminal;
在所述在系统屏幕前端运行的窗口中运行的子窗口对应的界面为所述终端当前显示的应用界面。The interface corresponding to the sub-window running in the window running on the front end of the system screen is the application interface currently displayed on the terminal.
其中,所述物理按钮为物理按键、物理旋钮或物理拨片。Wherein, the physical button is a physical button, a physical knob or a physical paddle.
其中,所述应用非为所述终端出厂自带的应用。Wherein, the application is not an application shipped with the terminal.
为解决上述技术问题,本申请采用的另一个技术方案是:提供一种终端,包括处理器、存储器、通信电路、触摸屏以及物理按钮,所述处理器分别耦接所述存储器、所述通信电路、所述触摸屏以及所述物理按钮,所述处理器在工作时控制自身以及所述存储器、所述通信电路、所述触摸屏、所述物理按钮实现上述终端操作的方法中的步骤。In order to solve the above technical problems, another technical solution adopted in this application is to provide a terminal including a processor, a memory, a communication circuit, a touch screen, and a physical button, the processor is respectively coupled to the memory and the communication circuit , The touch screen and the physical buttons, the processor controls itself, the memory, the communication circuit, the touch screen, and the physical buttons during operation to implement the steps in the above-mentioned terminal operation method.
为解决上述技术问题,本申请采用的又一个技术方案是:提供一种具有存储功能的装置,存储有程序数据,所述程序数据能够被执行以实现上述终端操作的方法中的步骤。In order to solve the above technical problem, another technical solution adopted by this application is to provide a device with a storage function, storing program data, which can be executed to implement the steps in the above terminal operation method.
本申请的有益效果是:本申请终端操作的方法在接收到物理按钮的触发指令后,查找与该触发指令对应的当前显示的应用界面的触摸信号,并将该触摸信号发送给当前显示的应用,该应用便会执行对应该触摸信号的操作,从而实现操作物理按钮就能操作应用,同时在整个过程中无需应用去监听,应用不需要做任何改进,只负责接收触摸信号即可,因此通过该方法无需应用开发方对应用进行改进就能够完成应用对物理按钮的适配。The beneficial effect of this application is: after receiving the trigger instruction of the physical button, the terminal operation method of this application searches for the touch signal of the currently displayed application interface corresponding to the trigger instruction, and sends the touch signal to the currently displayed application , The application will perform the operation corresponding to the touch signal, so that the application can be operated by operating the physical button. At the same time, there is no need to monitor the application during the whole process, and the application does not need to make any improvements. It is only responsible for receiving the touch signal. This method can complete the adaptation of the application to the physical button without the application developer improving the application.
【附图说明】【Explanation of drawings】
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。其中:In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative work. among them:
图1是本申请终端操作的方法一实施方式的流程示意图;FIG. 1 is a schematic flowchart of an implementation manner of a terminal operation method of the present application;
图2是本申请终端操作的方法另一实施方式的流程示意图;FIG. 2 is a schematic flowchart of another embodiment of the terminal operation method of the present application;
图3是本申请终端操作的方法又一实施方式的部分流程示意图;FIG. 3 is a schematic partial flowchart of another embodiment of the terminal operation method of the present application;
图4是本申请终端一实施方式的结构示意图;FIG. 4 is a schematic structural diagram of an implementation manner of a terminal of this application;
图5是本申请具有存储功能的装置一实施方式的结构示意图。FIG. 5 is a schematic structural diagram of an embodiment of a device with a storage function according to the present application.
【具体实施方式】【Detailed ways】
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性的劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present application.
首先需要说明的是,本申请中涉及的终端可以是手机、对讲机、电脑等电子设备,只要其包括触摸屏、物理按钮(与触摸屏上的虚拟按钮区分)且可以安装非出厂自带的应用即可,其中用户可以通过触摸触摸屏的方式对终端进行操作。同时终端的操作系统包括但不限于安卓系统,物理按钮包括但不限于物理按键、物理旋钮、物理拨片,其中物理按键的操作方式是按压操作,物理旋钮的操作方式是旋转操作,物理拨片的操作方式是拨动操作,例如,目前某些机型电子设备上的静音键。总而言之,本申请并不限制物理按钮的具体形式。First of all, it needs to be explained that the terminal involved in this application can be a mobile phone, walkie-talkie, computer and other electronic devices, as long as it includes a touch screen, physical buttons (distinguishable from the virtual buttons on the touch screen) and can install applications that are not shipped with the factory. , Where the user can operate the terminal by touching the touch screen. At the same time, the operating system of the terminal includes but is not limited to the Android system. The physical buttons include but are not limited to physical buttons, physical knobs, and physical paddles. The operation mode of the physical buttons is pressing operation, and the operation mode of the physical knobs is rotation operation. The mode of operation is toggling operation, for example, the mute button on some current electronic devices. All in all, this application does not limit the specific form of the physical button.
参阅图1,图1是本申请终端操作的方法一实施方式的流程示意图,该方法包括:Referring to Fig. 1, Fig. 1 is a schematic flowchart of an embodiment of a terminal operation method according to the present application, and the method includes:
S110:当终端接收到物理按钮的触发指令时,侦测当前显示的应用界面。S110: When the terminal receives the trigger instruction of the physical button, detect the currently displayed application interface.
终端的物理按钮被用户操作时会产生触发指令,当终端接收到该触发指令时,侦测终端当前屏幕显示的应用界面,该当前显示的应用界面为用户正在操作的应用界面。When the physical button of the terminal is operated by the user, a trigger instruction is generated. When the terminal receives the trigger instruction, it detects the application interface currently displayed on the terminal screen, and the currently displayed application interface is the application interface being operated by the user.
S120:获取触发指令对应应用界面的触摸信号,并将信号发送给应用。S120: Obtain a touch signal corresponding to the application interface of the trigger instruction, and send the signal to the application.
通常而言一个应用界面可以由用户进行多种触摸操作,用户触摸应用界面的区域不同、触摸方式不同,对应产生的触摸信号也不同,例如对于一个聊天界面而言,用户点击不同联系人的图标,可与不同的联系人进行聊天;当单击联系人图标时,可进入与该联系人聊天的对话框,当长按联系人图标时,可针对该联系人进行修改备注。在步骤S110获取到物理按钮的触发指令后,根据预设的对应关系,获取当前显示的应用界面对应该触发指令的触摸信号,即,相当于将物理按钮的触发指令转换为应用界面的触摸信号,并将该触摸信号发送给当前显示的应用。Generally speaking, a user can perform multiple touch operations on an application interface. The user touches the application interface in different areas and touch methods, and the corresponding touch signals are also different. For example, for a chat interface, the user clicks on the icons of different contacts. , You can chat with different contacts; when you click the contact icon, you can enter the chat dialog with the contact, and when you press and hold the contact icon, you can modify the notes for the contact. After obtaining the trigger instruction of the physical button in step S110, according to the preset correspondence relationship, obtain the touch signal corresponding to the trigger instruction of the currently displayed application interface, that is, it is equivalent to converting the trigger instruction of the physical button into the touch signal of the application interface , And send the touch signal to the currently displayed application.
S130:应用执行对应触摸信号的操作。S130: The application performs an operation corresponding to the touch signal.
其中,应用可以是终端出厂自带的应用,也可以是出厂后由用户自行下载安装的应用。应用在接收到步骤S120发送的触摸信号后,执行对应该触摸信号的操作,即模拟用户通过触摸屏触摸当前应用的显示界面,例如,当前显示的应用界面为聊天界面,当用户点击物理PTT(Push to Talk)按键时,模拟用户触摸触摸屏上的虚拟键而实现打开语音发送功能。Among them, the application may be an application that is shipped with the terminal, or an application that is downloaded and installed by the user after the factory is shipped. After the application receives the touch signal sent in step S120, it performs an operation corresponding to the touch signal, that is, simulates the user touching the display interface of the current application through the touch screen. For example, the currently displayed application interface is a chat interface, and when the user clicks the physical PTT (Push To Talk) button, it simulates that the user touches the virtual button on the touch screen to enable the voice sending function.
从上述内容可以看出,用户可以直接通过物理按钮模拟通过触摸屏触摸当前显示的应用界面,且在该过程中,无需应用预定绑定键值,全程由终端去监测物理按钮的触发指令,并根据触发指令查找对应当前显示的应用界面的触摸信号,相当于由终端将物理按钮的触发指令转换为应用界面的触摸信号,应用只需要接收该触摸信号即可,相比现有技术,应用无需做出改进,也就是无需应用开发方参与就能够实现应用对物理按钮的适配。且由于不需要应用做出任何改进,因此无论终端是现有机型还是未来机型,无论物理按钮都多特殊,都可以通过该方法完成应用对物理按钮的适配。It can be seen from the above content that the user can directly simulate the application interface currently displayed through the touch screen through the physical button, and in this process, there is no need to apply a predetermined binding key value. The terminal monitors the trigger instruction of the physical button throughout the process, and according to The trigger instruction searches for the touch signal corresponding to the currently displayed application interface, which is equivalent to converting the trigger instruction of the physical button into the touch signal of the application interface by the terminal. The application only needs to receive the touch signal. Compared with the prior art, the application does not need to do Improved, that is, the adaptation of the application to the physical button can be realized without the participation of the application developer. And because there is no need to make any improvements to the application, no matter whether the terminal is an existing model or a future model, no matter how special the physical buttons are, this method can be used to complete the adaptation of the application to the physical buttons.
在另一实施方式中,该终端操作的方法还包括:In another embodiment, the terminal operation method further includes:
S140:预先设置并保存物理按钮的触发指令与应用界面的触摸信号之间的对应关系。S140: Preset and save the corresponding relationship between the trigger instruction of the physical button and the touch signal of the application interface.
其中由终端生产方预先建立一个数据库,预先建立物理按钮的触发指令与应用界面的触摸信号的对应关系并保存。其中该数据库可由终端生产方定期或不定期进行更新,或者,可由用户根据终端生产方提供的配置界面自行创建或进行更新。The terminal manufacturer establishes a database in advance, and establishes and saves the corresponding relationship between the trigger instruction of the physical button and the touch signal of the application interface in advance. The database can be updated regularly or irregularly by the terminal manufacturer, or it can be created or updated by the user according to the configuration interface provided by the terminal manufacturer.
具体地,在一个应用界面上,一个物理按钮的触发指令只能对应一个触摸信号,而不同的应用界面上的触摸信号可以对应同一个物理按钮的触发指令,也就是说,通过同一个物理按钮可以操作不同的应用界面。Specifically, on an application interface, the trigger instruction of a physical button can only correspond to one touch signal, while the touch signals on different application interfaces can correspond to the trigger instruction of the same physical button, that is, through the same physical button Can operate different application interfaces.
通过预先设置对应关系,无论终端下载什么应用,只要预先设置有与该应用的触摸信号对应的物理按钮的触发指令,该应用就可以与物理按钮进行适配而实现通过物理按钮操作该应用。By setting the corresponding relationship in advance, no matter what application the terminal downloads, as long as the trigger instruction of the physical button corresponding to the touch signal of the application is preset, the application can be adapted to the physical button to realize the operation of the application through the physical button.
同时通过预先设置对应关系,现有技术中一些较为复杂的组合操作才能产生的触摸信号可以对应一个简单物理按钮的触发指令,也就是说,现有技术中用户可能需要至少两根手指组合触摸触摸屏完成的操作,在本申请中只需要一根手指来触发物理按钮,从而可以减少误操作、提高操作的可靠性,并且实现盲操作。At the same time, by pre-setting the corresponding relationship, the touch signal that can be generated by some relatively complex combined operations in the prior art can correspond to the trigger instruction of a simple physical button, that is, in the prior art, the user may need at least two fingers to touch the touch screen in combination. For the completed operation, in this application, only one finger is needed to trigger the physical button, which can reduce misoperation, improve the reliability of the operation, and realize blind operation.
其中本申请中物理按钮可以是系统通用定义过的物理按钮,例如音量调节键、解锁键、返回键等,也可以是未被系统通用定义过的物理按钮,例如终端生产方自行开发的比较特殊的物理按钮,该由终端生产方自行开发的比较特殊的物理按钮对于开放、通用的系统,例如开放的安卓系统而言,当其被触发时,通用的系统可能无法对其进行识别。Among them, the physical buttons in this application can be physical buttons that are commonly defined by the system, such as volume adjustment keys, unlock keys, return keys, etc., or they can be physical buttons that have not been commonly defined by the system, such as special ones developed by the terminal manufacturer. For an open and general system, such as an open Android system, the special physical button developed by the terminal manufacturer itself may not be recognized by the general system when it is triggered.
通过上述步骤,只要物理按钮的触发指令被预先保存、设置过与其对应的应用界面的触摸信号,就可以通过触发物理按钮实现操作应用。Through the above steps, as long as the trigger instruction of the physical button is saved in advance and the touch signal of the corresponding application interface has been set, the operation application can be realized by triggering the physical button.
参阅图2,图2是本申请终端操作的方法在该实施方式的流程示意图,在该实施方式中,该方法具体包括:Referring to Figure 2, Figure 2 is a schematic flowchart of the terminal operation method of the present application in this embodiment. In this embodiment, the method specifically includes:
S210:当终端接收到物理按钮的触发指令时,侦测当前显示的应用界面。步骤S210与步骤S110对应相同,详见可参见上述实施方式,在此不再赘述。S210: When the terminal receives the trigger instruction of the physical button, detect the currently displayed application interface. Step S210 corresponds to the same as step S110. For details, please refer to the above-mentioned embodiment, which will not be repeated here.
S220:判断应用是否被预先保存。S220: Determine whether the application is saved in advance.
具体地,判断当前显示的应用是否被预先保存在数据库中,若预先被保存在数据库中,则表明当前显示的应用界面上可能存在与接收到的物理按钮的触发指令对应的触摸信号,并进入步骤S230,若判断结果为否,则表明未设置过与当前显示的应用对应的物理按钮的触发指令,通过该物理按钮的触发指令无法操作该应用,则继续判断该物理按钮的触发指令是否是终端系统通用定义过的触发指令,例如音量调节指令,若该物理按钮的触发指令也不是通用定义过的触发指令,则可将该物理按钮的触发指令忽略。Specifically, it is determined whether the currently displayed application is saved in the database in advance. If it is saved in the database in advance, it indicates that there may be a touch signal corresponding to the received trigger instruction of the physical button on the currently displayed application interface, and enter In step S230, if the judgment result is no, it indicates that the trigger instruction of the physical button corresponding to the currently displayed application has not been set, and the application cannot be operated by the trigger instruction of the physical button, then continue to determine whether the trigger instruction of the physical button is A trigger command that is commonly defined by the terminal system, such as a volume adjustment command, if the trigger command of the physical button is not a commonly defined trigger command, the trigger command of the physical button can be ignored.
S230:若判断结果为是,则获取触发指令对应应用界面的触摸信号,并将信号发送给应用。S230: If the judgment result is yes, obtain the touch signal corresponding to the application interface of the trigger instruction, and send the signal to the application.
在一应用场景中,虽然当前显示的应用被预先保存过,但不表明当前显示的应用界面一定存在与物理按钮的触发指令对应的触摸信号,因此在该应用场景中,步骤S230具体包括:In an application scenario, although the currently displayed application is saved in advance, it does not indicate that the currently displayed application interface must have a touch signal corresponding to the trigger instruction of the physical button. Therefore, in this application scenario, step S230 specifically includes:
S231:判断当前显示的应用界面是否存在与物理按钮的触发指令对应的触摸信号。S231: Determine whether there is a touch signal corresponding to the trigger instruction of the physical button in the currently displayed application interface.
判断数据库中是否存在与物理按钮的触发指令对应的属于当前显示的应用界面的触摸信号,若存在,则进入步骤S232,反之进入步骤S233。It is judged whether there is a touch signal belonging to the currently displayed application interface corresponding to the trigger instruction of the physical button in the database, if there is, then step S232 is entered, otherwise step S233 is entered.
S232:执行获取触发指令对应应用界面的触摸信号。S232: Execute to obtain the touch signal of the application interface corresponding to the trigger instruction.
根据数据库中预设的对应关系,获取对应物理按钮的触发指令的应用界面的触摸信号,即将物理按钮的触发指令转换为应用界面的触摸信号,并进入步 骤S240。According to the preset correspondence in the database, the touch signal of the application interface corresponding to the trigger instruction of the physical button is obtained, that is, the trigger instruction of the physical button is converted into the touch signal of the application interface, and step S240 is entered.
S233:忽略物理按钮的触发指令。S233: Ignore the trigger instruction of the physical button.
若当前显示的应用界面不存在与物理按钮的触发指令对应的触摸信号,则忽略该触发指令。If there is no touch signal corresponding to the trigger instruction of the physical button in the currently displayed application interface, the trigger instruction is ignored.
S240:应用执行对应触摸信号的操作。步骤S240与步骤S130对应相同或相似,详见可参见上述实施方式,在此不再赘述。S240: The application performs an operation corresponding to the touch signal. Step S240 is the same or similar to step S130. For details, please refer to the above-mentioned embodiment, which will not be repeated here.
参阅图3,图3是本申请终端操作的方法又一实施方式的部分流程示意图。与上述实施方式不同的是,在该实施方式中,方法还包括:Referring to FIG. 3, FIG. 3 is a schematic partial flowchart of another embodiment of the terminal operation method of the present application. Different from the foregoing embodiment, in this embodiment, the method further includes:
S310:在系统底层预先配置对应不同应用的不同应用包名以及不同窗口。S310: Pre-configure different application package names and different windows corresponding to different applications at the bottom of the system.
S320:配置对应每个应用不同界面的不同子窗口。S320: Configure different sub-windows corresponding to different interfaces of each application.
通过步骤S310和步骤S320,一个应用会对应一个应用包名和一个主窗口,同时一个主窗口对应不同的子窗口,该不同的子窗口与该应用不用的应用界面相对应。可选的,同时还可以形成窗口列表和子窗口列表。Through step S310 and step S320, an application corresponds to an application package name and a main window, and at the same time, a main window corresponds to a different sub-window, and the different sub-window corresponds to an application interface that is not used by the application. Optionally, a window list and a sub-window list can also be formed at the same time.
在该实施方式中,侦测当前显示的应用界面的步骤,包括:In this embodiment, the step of detecting the currently displayed application interface includes:
若运行的应用列表中存在的应用包名所对应的窗口在系统屏幕前端运行,则对应在系统屏幕前端运行的窗口的应用为终端当前显示的应用。If the window corresponding to the application package name in the running application list runs on the front end of the system screen, the application corresponding to the window running on the front end of the system screen is the application currently displayed on the terminal.
在系统屏幕前端运行的窗口中运行的子窗口对应的界面为终端当前显示的应用界面。The interface corresponding to the sub-window running in the window running on the front end of the system screen is the application interface currently displayed on the terminal.
运行的应用列表中存在的应用包名表明对应该应用包名的应用正在运行,该运行包括在前台运行和在后台运行。若该应用列表中存在的应用包名所对应的窗口在系统屏幕前端运行,则表明对应该窗口的应用为在终端前台运行的应用,即为终端当前显示的应用,然后在系统屏幕前端运行的窗口中运行的子窗口所对应的界面为当前显示的应用界面,即在主窗口中运行的子窗口所对应的应用界面为显示的应用界面,也就是说,通过查找在系统前端运行的主窗口和在该主窗口中运行的子窗口,可以实现侦测当前显示的应用界面,便于后续查找该应用界面上与物理按钮的触发指令相对应的触摸信号。The application package name in the running application list indicates that the application corresponding to the application package name is running, and the running includes running in the foreground and running in the background. If the window corresponding to the application package name in the application list is running on the front of the system screen, it indicates that the application corresponding to the window is an application running in the foreground of the terminal, that is, the application currently displayed on the terminal, and then the window running on the front of the system screen The interface corresponding to the child window running in the main window is the currently displayed application interface, that is, the application interface corresponding to the child window running in the main window is the displayed application interface, that is, by searching for the main window and The sub-window running in the main window can detect the currently displayed application interface, which facilitates the subsequent search for the touch signal corresponding to the trigger instruction of the physical button on the application interface.
参阅图4,图4是本申请终端一实施方式的结构示意图,在该实施方式中,终端40包括处理器401、存储器402、通信电路403、触摸屏404以及物理按钮405,处理器401分别耦接存储器402、通信电路403、触摸屏404以及物理按钮405,处理器401在工作时控制自身以及存储器402、通信电路403、触摸屏404、物理按钮405实现上述任一项实施方式中终端操作的方法中的步骤,详细 的方法可参见上述实施方式,在此不再赘述。Referring to FIG. 4, FIG. 4 is a schematic structural diagram of an embodiment of the terminal of the present application. In this embodiment, the terminal 40 includes a processor 401, a memory 402, a communication circuit 403, a touch screen 404, and a physical button 405. The processor 401 is respectively coupled to The memory 402, the communication circuit 403, the touch screen 404, and the physical buttons 405. The processor 401 controls itself and the memory 402, the communication circuit 403, the touch screen 404, and the physical buttons 405 during operation to implement any of the terminal operation methods in any of the above embodiments For the steps and detailed methods, please refer to the foregoing implementation manners, which will not be repeated here.
其中,终端40可以是手机、对讲机、笔记本、平板电脑以及车载电脑等,只要其具备触摸屏404以及物理按钮405即可,在此不限制。物理按钮405可以是物理按键,也可以是物理旋钮,物理按键的操作方式是按压操作,物理旋钮的操作方式是旋转操作。Among them, the terminal 40 may be a mobile phone, a walkie-talkie, a notebook, a tablet computer, a vehicle-mounted computer, etc., as long as it has a touch screen 404 and a physical button 405, which is not limited here. The physical button 405 may be a physical button or a physical knob. The operation mode of the physical button is a pressing operation, and the operation mode of the physical knob is a rotation operation.
参阅图5,图5是本申请具有存储功能的装置一实施方式的结构示意图,该具有存储功能的装置50存储有程序数据501,程序数据501能够被执行以实现上述任一项实施方式中终端操作的方法中的步骤。详细终端操作的方法可参见上述实施方式,在此不再赘述。Referring to FIG. 5, FIG. 5 is a schematic structural diagram of an embodiment of a storage function device of the present application. The storage function device 50 stores program data 501, which can be executed to implement the terminal in any of the above embodiments Steps in the method of operation. For detailed terminal operation methods, please refer to the foregoing implementation manners, which will not be repeated here.
其中,具有存储功能的装置50可以是便携式存储介质,如U盘、光盘,也可以是终端、服务器等。Among them, the device 50 with a storage function may be a portable storage medium, such as a U disk, an optical disk, or a terminal, a server, and so on.
总而言之,区别于现有技术的情况,本申请终端操作的方法在接收到物理按钮的触发指令后,查找与该触发指令对应的当前显示的应用界面的触摸信号,并将该触摸信号发送给当前显示的应用,该应用便会执行对应该触摸信号的操作,从而实现操作物理按钮就能操作应用,同时在整个过程中无需应用去监听,应用不需要做任何改进,只负责接收触摸信号即可,因此通过该方法无需应用开发方对应用进行改进就能够完成应用对物理按钮的适配。In short, different from the prior art, the terminal operation method of this application, after receiving the trigger instruction of the physical button, searches for the touch signal of the currently displayed application interface corresponding to the trigger instruction, and sends the touch signal to the current The application that is displayed, the application will perform the operation corresponding to the touch signal, so that the application can be operated by operating the physical button. At the same time, there is no need to monitor the application during the whole process, and the application does not need to make any improvements. It is only responsible for receiving the touch signal Therefore, this method can complete the adaptation of the application to the physical button without the application developer improving the application.
以上所述仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only implementations of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made by using the description and drawings of this application, or directly or indirectly applied to other related technologies In the same way, all fields are included in the scope of patent protection of this application.

Claims (10)

  1. 一种终端操作的方法,所述终端包括触摸屏以及物理按钮,其中,所述方法包括:A method for terminal operation, the terminal includes a touch screen and physical buttons, wherein the method includes:
    当终端接收到物理按钮的触发指令时,侦测当前显示的应用界面;When the terminal receives the trigger instruction of the physical button, it detects the currently displayed application interface;
    获取所述触发指令对应所述应用界面的触摸信号,并将所述触摸信号发送给所述应用;Acquiring a touch signal corresponding to the application interface of the trigger instruction, and sending the touch signal to the application;
    所述应用执行对应所述触摸信号的操作。The application performs an operation corresponding to the touch signal.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    预先设置并保存所述物理按钮的触发指令与所述应用界面的触摸信号之间的对应关系。The corresponding relationship between the trigger instruction of the physical button and the touch signal of the application interface is preset and saved.
  3. 根据权利要求2所述的方法,其中,在所述获取所述触发指令对应所述应用界面的触摸信号,并将所述信号发送给所述应用之前,还包括:The method according to claim 2, wherein before said acquiring the touch signal corresponding to the application interface of the trigger instruction and sending the signal to the application, the method further comprises:
    判断所述应用是否被预先保存;Determine whether the application is saved in advance;
    若判断结果为是,则执行所述获取所述触发指令对应所述应用界面的触摸信号,并将所述信号发送给所述应用。If the judgment result is yes, execute the acquisition of the trigger instruction corresponding to the touch signal of the application interface, and send the signal to the application.
  4. 根据权利要求3所述的方法,其中,所述获取所述触发指令对应所述应用界面的触摸信号的步骤,包括:The method according to claim 3, wherein the step of obtaining a touch signal corresponding to the application interface of the trigger instruction comprises:
    判断所述当前显示的应用界面是否存在与所述物理按钮的触发指令对应的触摸信号;Determine whether the currently displayed application interface has a touch signal corresponding to the trigger instruction of the physical button;
    若判断结果为是,则执行所述获取所述触发指令对应所述应用界面的触摸信号;If the judgment result is yes, execute the acquisition of the trigger instruction corresponding to the touch signal of the application interface;
    若判断结果为否,则忽略所述物理按钮的触发指令。If the judgment result is no, the trigger instruction of the physical button is ignored.
  5. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在系统底层预先配置对应不同应用的不同应用包名以及不同窗口;Pre-configure different application package names and different windows corresponding to different applications at the bottom of the system;
    配置对应每个所述应用不同界面的不同子窗口。Configure different sub-windows corresponding to different interfaces of each application.
  6. 根据权利要求5所述的方法,其中,所述侦测当前显示的应用界面的步骤,包括:The method according to claim 5, wherein the step of detecting the currently displayed application interface comprises:
    若运行的应用列表中存在的应用包名所对应的窗口在系统屏幕前端运行,则对应所述在系统屏幕前端运行的窗口的应用为所述终端当前显示的应用;If the window corresponding to the application package name in the running application list is running on the front end of the system screen, the application corresponding to the window running on the front end of the system screen is the application currently displayed on the terminal;
    在所述在系统屏幕前端运行的窗口中运行的子窗口对应的界面为所述终端 当前显示的应用界面。The interface corresponding to the sub-window running in the window running on the front end of the system screen is the application interface currently displayed on the terminal.
  7. 根据权利要求1所述的方法,其中,所述物理按钮为物理按键、物理旋钮或物理拨片。The method according to claim 1, wherein the physical button is a physical button, a physical knob, or a physical paddle.
  8. 根据权利要求1所述的方法,其中,所述应用非为所述终端出厂自带的应用。The method according to claim 1, wherein the application is not a factory-built application of the terminal.
  9. 一种终端,其中,包括处理器、存储器、通信电路、触摸屏以及物理按钮,所述处理器分别耦接所述存储器、所述通信电路、所述触摸屏以及所述物理按钮,所述处理器在工作时控制自身以及所述存储器、所述通信电路、所述触摸屏、所述物理按钮实现如权利要求1-8任一项所述方法中的步骤。A terminal, which includes a processor, a memory, a communication circuit, a touch screen, and physical buttons. The processor is coupled to the memory, the communication circuit, the touch screen, and the physical buttons. During operation, the control itself, the memory, the communication circuit, the touch screen, and the physical button realize the steps in the method according to any one of claims 1-8.
  10. 一种具有存储功能的装置,其中,存储有程序数据,所述程序数据能够被执行以实现如权利要求1-8任一项所述方法中的步骤。A device with storage function, wherein program data is stored, and the program data can be executed to implement the steps in the method according to any one of claims 1-8.
PCT/CN2019/091304 2019-06-14 2019-06-14 Terminal operation method, terminal, and apparatus having storage function WO2020248234A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/091304 WO2020248234A1 (en) 2019-06-14 2019-06-14 Terminal operation method, terminal, and apparatus having storage function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/091304 WO2020248234A1 (en) 2019-06-14 2019-06-14 Terminal operation method, terminal, and apparatus having storage function

Publications (1)

Publication Number Publication Date
WO2020248234A1 true WO2020248234A1 (en) 2020-12-17

Family

ID=73781325

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/091304 WO2020248234A1 (en) 2019-06-14 2019-06-14 Terminal operation method, terminal, and apparatus having storage function

Country Status (1)

Country Link
WO (1) WO2020248234A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981771A (en) * 2012-10-30 2013-03-20 华为终端有限公司 Control method and input device of touch screen terminal
US20140011584A1 (en) * 2012-06-22 2014-01-09 Research & Business Foundation Sungkyun University Mobile terminal-based virtual game controller and remote control system using the same
CN105446172A (en) * 2014-08-14 2016-03-30 深圳市赛格导航科技股份有限公司 Vehicle-mounted control method, vehicle-mounted control system and automobile
CN106569720A (en) * 2016-11-04 2017-04-19 珠海市魅族科技有限公司 Operating method and operating device of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140011584A1 (en) * 2012-06-22 2014-01-09 Research & Business Foundation Sungkyun University Mobile terminal-based virtual game controller and remote control system using the same
CN102981771A (en) * 2012-10-30 2013-03-20 华为终端有限公司 Control method and input device of touch screen terminal
CN105446172A (en) * 2014-08-14 2016-03-30 深圳市赛格导航科技股份有限公司 Vehicle-mounted control method, vehicle-mounted control system and automobile
CN106569720A (en) * 2016-11-04 2017-04-19 珠海市魅族科技有限公司 Operating method and operating device of mobile terminal

Similar Documents

Publication Publication Date Title
CN107483721B (en) Control method, device, storage medium and mobile terminal based on blank screen gesture
US10996834B2 (en) Touchscreen apparatus user interface processing method and touchscreen apparatus
TWI427965B (en) Remote management system, kvm switch, and remote managing method
KR20100093293A (en) Mobile terminal with touch function and method for touch recognition using the same
WO2011150878A2 (en) Touch screen and control method of touch screen
CN107450837A (en) Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture
CN106502808B (en) A kind of method, apparatus and terminal of copied files
WO2022111394A1 (en) Information processing method and apparatus, and electronic devices
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
US20190034071A1 (en) Method, device, storage medium and mobile terminal for recognizing an off-screen gesture
US8977968B2 (en) Pseudo-remote terminal IOTA mobile diagnostics and electronic customer care
US20230054717A1 (en) Ui control generation and trigger methods, and terminal
WO2019227317A1 (en) Control method for power key in virtual remote controller and terminal
CN112882850A (en) Key event processing method, device, equipment and storage medium
CN104978165A (en) Voice information processing method and system and electronic device
WO2016131181A1 (en) Fingerprint event processing method, apparatus, and terminal
WO2020248234A1 (en) Terminal operation method, terminal, and apparatus having storage function
EP1895794B1 (en) Remote management system and method for portable electronic devices
CN112083839A (en) Terminal operation method, terminal and device with storage function
CN107197088A (en) Screenshot method and device based on Android mobile device
CN110941384A (en) Interaction method, interaction device, terminal and computer readable storage medium
CN111326158A (en) Voice control method based on intelligent terminal
CN112506575A (en) Method and device for configuring key function of USB (universal serial bus) equipment
CN111221723A (en) Test record generation method and device, storage medium and electronic equipment
CN113672289B (en) File opening method and equipment

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

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

Country of ref document: EP

Kind code of ref document: A1