WO2021083256A1 - Touch-control response method and electronic device - Google Patents

Touch-control response method and electronic device Download PDF

Info

Publication number
WO2021083256A1
WO2021083256A1 PCT/CN2020/124694 CN2020124694W WO2021083256A1 WO 2021083256 A1 WO2021083256 A1 WO 2021083256A1 CN 2020124694 W CN2020124694 W CN 2020124694W WO 2021083256 A1 WO2021083256 A1 WO 2021083256A1
Authority
WO
WIPO (PCT)
Prior art keywords
sensing area
electronic device
target
parameter
virtual key
Prior art date
Application number
PCT/CN2020/124694
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 维沃移动通信有限公司
Publication of WO2021083256A1 publication Critical patent/WO2021083256A1/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/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

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a touch response method and an electronic device.
  • buttons are used to gradually replace the mechanical buttons of mobile terminals, thereby enabling functions such as power on and off and volume adjustment.
  • the use of virtual buttons improves the aesthetics and consistency of the appearance of the mobile terminal.
  • the embodiments of the present disclosure provide a touch response method and an electronic device to solve the problem of low use efficiency of some existing virtual keys.
  • embodiments of the present disclosure provide a touch response method applied to an electronic device.
  • the method includes: the electronic device has N sensing areas, where N is a positive integer, and the electronic device receives a user's response to the first sensing area. Touch input; in response to the touch input, execute the function corresponding to the target virtual key on the first sensing area according to the first parameter; wherein the first sensing area includes at least one of the N sensing areas; The function corresponding to the target virtual key is associated with the first parameter; the first parameter is used to indicate the working mode or running application of the electronic device.
  • the embodiments of the present disclosure also provide an electronic device.
  • the electronic device has N sensing areas, where N is a positive integer.
  • the electronic device includes a receiving module for receiving a user's touch input to the first sensing area;
  • the execution module is configured to execute the function corresponding to the target virtual key on the first sensing area in response to the touch input received by the receiving module and according to the first parameter of the electronic device; wherein, the first sensing area includes the above At least one of the N sensing areas; the function corresponding to the target virtual key is associated with the first parameter; the first parameter is used to indicate the working mode or running application of the electronic device.
  • embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program is executed by the processor to achieve the following Steps of the touch response method described in one aspect.
  • the embodiments of the present disclosure provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the touch response method as described in the first aspect are implemented .
  • the function of the virtual button in the sensing area is related to the working mode or running application of the electronic device
  • the function of the corresponding virtual key can be executed according to the working mode of the electronic device or the running application. In this way, not only the use efficiency of the virtual keys is improved, but also the resources of the virtual keys are maximized.
  • FIG. 1 is a schematic diagram of the position of a virtual button provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a touch response method provided by an embodiment of the present disclosure
  • FIG. 4 is one of the schematic diagrams of the sensing area of a virtual key provided by an embodiment of the present disclosure
  • FIG. 5 is one of the functional schematic diagrams of a virtual key provided by an embodiment of the present disclosure.
  • FIG. 6 is a second schematic diagram of the sensing area of a virtual key provided by an embodiment of the present disclosure.
  • FIG. 7 is the second schematic diagram of the function of a virtual key provided by an embodiment of the present disclosure.
  • FIG. 8 is the third schematic diagram of the function of a virtual key provided by an embodiment of the present disclosure.
  • FIG. 9 is the fourth schematic diagram of the function of a virtual key provided by an embodiment of the present disclosure.
  • FIG. 10 is the fifth schematic diagram of the function of a virtual key provided by an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the disclosure.
  • FIG. 12 is a schematic structural diagram of a terminal device provided by an embodiment of the disclosure.
  • words such as “first” and “second” are used to describe the same items or similar items with basically the same function or effect. To distinguish, those skilled in the art can understand that words such as “first” and “second” do not limit the number and execution order.
  • the first virtual key setting parameter and the second virtual key setting parameter are used to distinguish different virtual key setting parameters, rather than describing a specific sequence of virtual key setting parameters.
  • the execution subject of the touch response method provided by the embodiments of the present disclosure may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the touch response method, and may be specifically based on actual usage requirements. It is determined that the embodiments of the present disclosure are not limited.
  • the electronic device in the embodiments of the present disclosure may be a terminal device, and the terminal device may be a mobile terminal device or a non-mobile terminal device.
  • the mobile terminal device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA)
  • the non-mobile terminal device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc.; the embodiment of the present disclosure does not specifically limit it.
  • the virtual key in the embodiment of the present disclosure is: a virtual key provided on an electronic device, and the virtual key is used to replace a traditional mechanical key.
  • the virtual buttons in the embodiments of the present disclosure can be set in any area of the electronic device, which is not limited in the embodiments of the present disclosure, and at the same time, the number of virtual buttons set in the electronic device in the embodiments of the present disclosure is not limited either , That is, one or more virtual buttons can be set on the electronic device.
  • the virtual buttons in the embodiments of the present disclosure may be set in the side frame area of the housing of the electronic device.
  • the volume virtual buttons and the power virtual buttons may be set in the electronic device.
  • the virtual keys in the embodiments of the present disclosure may also be arranged in the back shell area of the housing of the electronic device.
  • the virtual buttons in the embodiments of the present disclosure may also be arranged on the side screens of the curved screen, which is not limited in the embodiments of the present disclosure.
  • a virtual key is different from a physical key, and is composed of multiple sensing areas, and these sensing areas are located on the housing and/or the display screen of the electronic device. That is, the sensing area of the virtual key on the electronic device can sense the user's touch input, so that the user only needs to touch the sensing area of the virtual key to trigger the terminal device to perform the function of the virtual key.
  • a virtual key is usually provided with a corresponding virtual key processor in the sensing area on the housing of the terminal device, so that when the user touches the sensing area of the virtual key, the virtual key processor will receive the The touch information is transmitted to the CPU of the terminal device for processing, so as to respond to the function corresponding to the virtual key.
  • the embodiments of the present disclosure can realize the change of the size and the number of virtual keys.
  • the working state of the above-mentioned sensing area includes: a disabled state or an enabled state.
  • the electronic device can change the size and number of virtual keys by controlling the working state of the sensing area.
  • the electronic device in the embodiment of the invention may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present disclosure.
  • the following takes the Android operating system as an example to introduce the software environment to which the touch response method provided in the embodiments of the present disclosure is applied.
  • FIG. 2 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the touch response method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG.
  • the touch response method can be run based on the Android operating system as shown in FIG. 2. That is, the processor or the electronic device can implement the touch response method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
  • FIG. 3 is a schematic flowchart of a touch response method provided by an embodiment of the present disclosure.
  • steps 201 to 202 are included:
  • Step 201 The electronic device receives a user's touch input to the first sensing area.
  • the electronic device has N sensing areas, and N is a positive integer.
  • the aforementioned first sensing area includes at least one of the N sensing areas.
  • the above-mentioned first sensing area may be located on the housing of the electronic device, or may be located on the side screen of the electronic device, which is not limited in the embodiment of the present disclosure.
  • the aforementioned touch input may include: the user's click input in the sensing area, or the user's sliding input in the sensing area, or the user's specific gesture input, or the user's other feasible input, which may be specifically based on The actual use requirements are determined, and the embodiments of the present disclosure do not limit this.
  • the click input in the present disclosure may be a single click input, a double click input, or any number of click input, etc.; the above click input may also be a long press input or a short press input.
  • the sliding input in the present disclosure may be a sliding input in any direction, such as sliding up, sliding down, sliding left, or sliding right, etc., and the sliding track of the sliding input may be a straight line or a curve.
  • Step 202 In response to the aforementioned touch input, the electronic device executes the function corresponding to the target virtual key on the aforementioned first sensing area according to the first parameter.
  • the foregoing first parameter is used to indicate the working mode or running application of the foregoing electronic device.
  • the foregoing working modes may include multiple working modes such as a game mode, a sleep mode, an e-book mode, and an incoming call mode, which are not limited in the embodiment of the present disclosure.
  • the function corresponding to the target virtual button is associated with the first parameter, that is, the function corresponding to the target virtual button is determined based on the working mode of the electronic device or the running application. It can be understood that the functions corresponding to the above-mentioned target virtual keys may be different or the same in different working modes or in different application running scenarios, which is not limited in the embodiment of the present disclosure.
  • the above-mentioned first parameter is used to set at least one of the following information of the target virtual key: the function of the target virtual key, the number of the target virtual key, and the size of the sensing area corresponding to the target virtual key.
  • the electronic device may, based on the first parameter, determine at least one of the number of virtual keys, the function of the virtual key, and the size of the sensing area for the target virtual key. Perform reconfiguration; or, in the case where no virtual keys are set in the first sensing area, the electronic device may configure at least one of the following key information of the virtual keys in the target area based on the first parameter: the number of virtual keys, Virtual button function and sensing area size.
  • users have different requirements for the same virtual key in different working modes, so that the electronic device can determine the function of the target virtual key according to the usage requirements corresponding to the working mode.
  • Example 1 Taking the working mode of the electronic device as the sleep mode as an example, the electronic device determines to add a return virtual button for quickly exiting the sleep mode in the left side frame of the electronic device based on the sleep mode. In this way, in the sleep mode, the user can quickly exit the sleep mode after touching the return virtual button set on the left side frame of the electronic device.
  • Example 2 Taking the working mode of the electronic device as the incoming call mode as an example. Based on the incoming call pattern, the electronic device determines to change the functions of the "power" virtual button and the "volume up” virtual button set in the right frame of the electronic device, that is, the function of the "power” virtual button is changed to connect the call, "volume” Added the function of the virtual button to control the mute of the electronic device. In this way, in the incoming call mode, when the user touches the "power” virtual button, the phone can be connected, and when the user touches the "volume up” virtual button, the electronic device can be controlled to mute.
  • the electronic device will also add a virtual "reject" button for rejecting calls, a virtual button for sending text messages, and a virtual "blacklist” virtual button for adding blacklists to the left frame. button.
  • step 202 further includes step A:
  • Step A When the electronic device displays the first interface of the target application, the electronic device executes the operation corresponding to the target virtual key on the first sensing area according to the first parameter.
  • the above-mentioned first parameter is used to indicate the target application.
  • Example 3 Take the target application as a war shooting mission game.
  • the electronic device displays the game interface of the war shooting mission game
  • the user has less demand for conventional buttons such as the volume button and the power button, it is necessary for some high-frequency operations in the game, for example, for shooting in a war shooting mission game. , Aiming, jumping, lying down and other operations are in great demand. Therefore, two virtual buttons can be arranged in the left side frame of the electronic device, which are used for jumping and lying down respectively. At the same time, two virtual buttons are set in the right side frame of the electronic device, which are respectively used for shooting and aiming of game characters.
  • the electronic device can flexibly adjust the distribution of virtual keys of the electronic device according to different application programs, which can not only meet the needs of actual use, but also can achieve the purpose of saving power by disabling some virtual keys.
  • the electronic device when the electronic device has multiple sensing areas, since the function of the virtual button in the sensing area is related to the working mode or running application of the electronic device, After the electronic device receives the user's touch input to the sensing area, it can execute the function of the corresponding virtual key according to the working mode of the electronic device or the running application. In this way, not only the use efficiency of the virtual keys is improved, but also the resources of the virtual keys are maximized.
  • step B may be included before the above step 201:
  • Step B The electronic device adjusts the working state of the second sensing area according to the first parameter.
  • the second sensing area includes at least one of the N sensing areas provided by the electronic device, that is, the first sensing area may be one or more of the N sensing areas; the second sensing The working state of the area includes: disabled state or enabled state.
  • the sensing area in the activated state in the adjusted second sensing area includes: the first sensing area. That is, after the electronic device adjusts the working state of the second sensing area, the target virtual key is set in the sensing area in the activated state in the second sensing area.
  • the above-mentioned second sensing region is a sensing region whose working state needs to be changed among the above-mentioned N sensing regions, which is not limited in the embodiment of the present disclosure.
  • one or more sensing areas in the disabled state can be set between two virtual keys, that is, the sensing areas in the disabled state can be used as the isolation interval between the virtual keys.
  • the two virtual buttons can be directly connected, that is, there is no need to use a disabled sensing area to isolate the two virtual buttons.
  • each virtual key corresponds to a unique key value.
  • the system reports the key value corresponding to the virtual key to the CPU of the mobile terminal.
  • the side frame of the electronic device includes 11 sensing areas (ie, sensing areas 1 to 11 in FIG. 4).
  • the sensing area 1, the sensing area 2 and the sensing area 3 form the virtual button 1, that is, the sensing area 1, the sensing area 2 and the sensing area 3 are enabled, the sensing area 4, the sensing area 5 and the sensing area are disabled.
  • Sensing area 6 composes virtual button 2, namely enabling sensing area 5 and sensing area 6, disabling sensing area 7, sensing area 8, sensing area 9 and sensing area 10 form virtual button 3, ie enabling sensing area 8, sensing area 9 and sensing Area 10, disable sensing area 11.
  • a conventional setting mode of the virtual buttons on the left frame of the electronic device is shown in (a) of FIG. 5
  • a general setting mode of the virtual buttons on the right side frame of the electronic device is shown in (b) of FIG. 5.
  • the 11 sensing areas in the left frame are all disabled, that is, no virtual buttons are set on the left frame.
  • sensing area 1 is " The volume increase” virtual button
  • sensing area 6 is the “volume down” virtual button, that is, the sensing area 2, the sensing area 3, the sensing area 5, and the sensing area 6 in the right frame are activated.
  • the electronic device divides the target area into a plurality of sensing areas, so that the electronic device can configure or reconfigure the size, number, and function of virtual keys by changing the working state of each sensing area.
  • the aforementioned second sensing area includes one sensing area
  • the aforementioned second sensing area is part or all of the one sensing area.
  • the above-mentioned second sensing area may be an area in the one sensing area whose working state needs to be changed, which is not limited in the embodiment of the present disclosure.
  • the electronic device determines the area position of each virtual button that needs to be configured in the target area, and determines the working state of each area in the sensing area according to the area position of each virtual button.
  • the side frame of an electronic device As an example, take the side frame of an electronic device as an example. As shown in (a) in Figure 6, the entire area of the side frame is the sensing area. As shown in Figure 6(b), if the electronic device determines that a virtual button needs to be configured in the side frame, and the virtual button is located in the sub-area 2 of the sensing area, the electronic device enables the sub-area 2 and disables Subarea 1 and Subarea 3.
  • users have different requirements for virtual buttons in different working modes, so that the electronic device can set the target virtual buttons according to the usage requirements corresponding to the working modes.
  • the electronic device adds a virtual button "Exit Sleep Mode" in the left frame, that is, activates the sensing area 1. Sensing zone 2 and sensing zone 3, sensing zone 4 to sensing zone 11 are still disabled.
  • the electronic device increases the size of the sensing area of the "power" virtual button in the right frame, that is, the sensing area 1, the sensing area 2 and the sensing area 3 are enabled , Remove the "volume up” virtual button and the "volume down” virtual button, that is, the sensing area 5 and the sensing area 6 are disabled, and the remaining sensing areas 4, 7 to 11 are still disabled.
  • the user-friendly virtual key can be set to exit the sleep mode and power function, which has improved the efficiency of the virtual key, and at the same time, disables other virtual keys to save power .
  • the electronic device adds a "reject" virtual button in the left frame, that is, to enable the sensing area 2 and Sensing area 3, add the virtual button of "SMS", that is to start the sensing area 5.
  • Add the virtual button of "blacklist”, that is to start the sensing area 6, the sensing area 7 to the sensing area 11 are still disabled.
  • the user when the electronic device detects an incoming call, the user’s easy-to-access virtual buttons can be set to answer, reject, send quick short messages, mute, and add to the blacklist, etc., so that the user can directly handle the incoming call through these virtual buttons. There is no need to swipe the screen to handle incoming calls, making it faster to use.
  • users have different requirements for virtual buttons in different application running scenarios, so that the electronic device can set the target virtual buttons according to the usage requirements corresponding to the application.
  • the "shooting" virtual button is set in the right frame to activate the induction Area 1, sensing area 2 and sensing area 3, and setting the “aim” virtual button, that is, starting sensing area 9, sensing area 10 and sensing area 11, and disabling sensing area 4 to sensing area 8.
  • the electronic device can flexibly adjust the distribution of virtual keys of the electronic device according to different application programs, which can not only meet the needs of actual use, but also can achieve the purpose of saving power by disabling some virtual keys.
  • step C may be included before the above step 201:
  • Step C The electronic device sets a target virtual key in the above-mentioned target area according to the first parameter and the second parameter.
  • the target area includes a first sensing area
  • the second parameter is used to indicate at least one of the following information of the first virtual key: the number of virtual keys, the function of the virtual key, and the area size of the virtual key corresponding to the sensing area.
  • the above-mentioned target area may be the side frame area of the housing of the electronic device, may also be the rear housing area of the housing of the electronic device, or may be the side screen of the display screen, which is not limited in the embodiment of the present disclosure. .
  • the aforementioned target area may be a default area on the side frame of the electronic device where virtual buttons can be set, for example, the virtual buttons in the right frame of the electronic device are reconfigured by default.
  • the above-mentioned target area may be a user-selected area on the side frame of the electronic device where virtual buttons can be set.
  • the specific area may be set according to user needs, which is not limited in the embodiment of the present disclosure.
  • the user uses a specific gesture
  • the right frame of the electronic device is selected, which triggers the electronic device to reconfigure the virtual buttons in the right frame.
  • the above-mentioned target area can be the area determined by the electronic device according to the working mode.
  • the current working mode is the sleep mode
  • the electronic device since the right border of the electronic device is provided with a power virtual button, the electronic device can add more functions to the left border.
  • the virtual button for quickly exiting the sleep mode, that is, the target area corresponding to the sleep mode may be the left frame.
  • the electronic device sets a target virtual button in the target area according to the first parameter, the second parameter and the sensing area information of the target area.
  • the above-mentioned sensing area information is used to indicate at least one of the following information: the position of the sensing area, the number of the sensing area, and the working status of the sensing area.
  • Example 7 Take the e-book mode as the working mode of the electronic device as an example. Assuming that the electronic device has been provided with two virtual buttons, the "volume up” virtual button and the “volume down” virtual button, when the electronic device is switched to the e-book mode, the electronic device can set the existing "volume up” virtual button and The function of the "Volume Down” virtual button has been changed so that the "Volume Up” virtual button is changed to a "Previous Page” virtual button for page up, and the "Volume Down” virtual button is changed to a “Volume Down” virtual button for page down. Next page "virtual button.
  • Fig. 10 For example, take the working mode of the electronic device as the e-book mode as an example.
  • FIG. 5 (a) in Fig. 10 is the same as (a) in Fig. 5.
  • the sensing area 5 is still activated, but the function of the "volume up” virtual button is changed to the "previous page” function for page up, and the sensing area 6 is still activated, but The function of the "Volume Down” virtual button has been changed to the "Next Page” function for page down.
  • the virtual key can be set to the above-mentioned function, which is convenient for the user to quickly operate the e-book.
  • the user is holding the phone vertically, which makes it easy for the user to touch the upper middle virtual area on the side, so the upper middle virtual button on the side is set to the upper middle in the e-book mode. Frequency operation, improve the efficiency of the use of virtual keys.
  • Example 8 Take the “game” APP as an example that the currently running application of the electronic device is. Assuming that the conventional virtual buttons of an electronic device include two virtual buttons, the "volume up” virtual button and the “volume down” virtual button. When the electronic device runs the “game” APP, the function of the "volume up” virtual button can be changed to control The game character jumps and appropriately increases the sensing area of the "volume up” virtual button. At the same time, the function of the "volume down” virtual button can be changed to shooting, and the sensing area of the "volume down” virtual button is appropriately increased.
  • the user can flexibly adjust the number of virtual keys, functions, and size of the sensing area in the target area according to the working mode or running applications, so as to improve the efficiency of the use of virtual keys and maximize the use of virtual key resources. Avoid the problem of inefficient use of virtual keys.
  • step D1 before step 201, the method further includes step D1 and step D2:
  • Step D1 The electronic device determines the target sensing area of the target virtual key according to the historical touch information of the user touching the target virtual key and the aforementioned first parameter.
  • the target sensing area includes the first sensing area.
  • Step D2 The electronic device adjusts the sensing area of the target virtual key to the target sensing area.
  • the area information of the target sensing area includes the working state of the target sensing area and the area position of the target sensing area.
  • the aforementioned historical touch information of the user touching the target virtual key includes: the touch frequency (ie frequency of use) of the user touching the target virtual key, the touch area of the user touching the target virtual key, and so on.
  • the electronic device may obtain the frequency of use of the target virtual key, and determine the target sensing area of the target virtual key based on the frequency of use.
  • the size of the sensing area of the target virtual key is proportional to the frequency of use of the target virtual key, that is, if the frequency of use of the target virtual key increases, the area of the sensing area of the target virtual key is increased, and vice versa. If the frequency of use of the target virtual key is reduced, the area of the sensing area of the target virtual key is reduced.
  • the electronic device can flexibly configure the sensing area corresponding to the target virtual key according to the user's touch habit of touching the target virtual key, thereby improving the use efficiency of the target virtual key.
  • FIG. 11 is a schematic diagram of a possible structure for implementing an electronic device provided by an embodiment of the present disclosure.
  • the electronic device 600 has N sensing areas, where N is a positive integer, and the electronic device 600 includes: a receiving module 601 and The execution module 602, wherein: the above-mentioned receiving module 601 is used to receive a user's touch input to the first sensing area; the above-mentioned execution module 602 is used to respond to the above-mentioned touch input received by the above-mentioned receiving module 601, the electronic device 600 according to the first A parameter that executes the function corresponding to the target virtual key on the first sensing area; wherein the first sensing area includes at least one of the N sensing areas; the function corresponding to the target virtual key is related to the first parameter
  • the above-mentioned first parameter is used to indicate the working mode or running application of the above-mentioned electronic device.
  • the electronic device 600 further includes: a setting module 603; wherein, the setting module 603 is configured to adjust the working state of the second sensing area according to the first parameter; wherein, the second sensing area includes At least one of the above-mentioned N sensing regions, the working state of any sensing region includes: a disabled state or an enabled state; the sensing region in the activated state in the adjusted second sensing region includes: the above-mentioned first sensing region.
  • At least one first virtual button is set in the target area; the setting module 603 is configured to set the target virtual button in the target area according to the first parameter and the second parameter; wherein, the target area includes In the first sensing area, the second parameter is used to indicate at least one of the following information of the first virtual key: the number of virtual keys, the function of the virtual key, and the area size of the virtual key corresponding to the sensing area.
  • the electronic device 600 further includes: a determining module 604; wherein, the determining module 604 is configured to determine the aforementioned target virtual key according to the first parameter and the historical touch information of the user touching the aforementioned target virtual key.
  • the target sensing area of the target virtual key; the setting module 603 is configured to adjust the sensing area of the target virtual key to the target sensing area determined by the determining module 604.
  • the target sensing area includes the first sensing area.
  • the aforementioned execution module 602 is specifically configured to execute the operation corresponding to the aforementioned target virtual button on the aforementioned sensing area according to the first parameter when the electronic device 600 displays the first interface of the target application.
  • a parameter is used to indicate the above-mentioned target application.
  • the electronic device provided in the embodiment of the present disclosure can implement each process implemented by the terminal device in the foregoing method embodiment, and in order to avoid repetition, details are not described herein again.
  • the function of the virtual button in the sensing area is related to the working mode or running application of the electronic device, when the electronic device receives After the user touches the sensing area, the function of the corresponding virtual key can be executed according to the working mode of the electronic device or the running application. In this way, not only the use efficiency of the virtual keys is improved, but also the resources of the virtual keys are maximized.
  • the modules that must be included in the electronic device 600 are indicated by solid lines, such as the receiving module 601; the modules that may or may not be included in the electronic device 600 are indicated by dashed boxes, such as the determination module 604.
  • FIG. 12 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure.
  • the terminal device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, The input unit 104, the sensor 105, the display unit 106, the user input unit 107, the interface unit 108, the memory 109, the processor 110, and the power supply 111 and other components.
  • Those skilled in the art can understand that the structure of the terminal device 100 shown in FIG. 12 does not constitute a limitation on the terminal device.
  • the terminal device 100 may include more or less components than those shown in the figure, or combine certain components, or Different component arrangements.
  • the terminal device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
  • the user input unit 107 is configured to receive a user's touch input on the first sensing area; the processor 110 is configured to respond to the above touch input, and the electronic device executes the target on the first sensing area according to the first parameter.
  • the function corresponding to the virtual key wherein, the first sensing area includes at least one of the N sensing areas; the function corresponding to the target virtual key is associated with the first parameter; the first parameter is used to indicate the electronic The working mode of the device or the running application.
  • the terminal device when the terminal device has multiple sensing areas, since the function of the virtual button in the sensing area is related to the working mode or running application of the electronic device, when the terminal After the device receives the user's touch input on the sensing area, it can execute the function of the corresponding virtual key according to the working mode of the terminal device or the running application. In this way, not only the use efficiency of the virtual keys is improved, but also the resources of the virtual keys are maximized.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device 100 provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the terminal device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the terminal device 100.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the terminal device 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be combined.
  • the input and output functions of the terminal device 100 are realized by integration, which is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the terminal device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) and transmit the received input to one or more elements in the terminal device 100 or can be used to connect to the terminal device 100 and external devices. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the terminal device 100. It uses various interfaces and lines to connect the various parts of the entire terminal device 100, runs or executes software programs and/or modules stored in the memory 109, and calls and stores them in the memory 109.
  • the data of the terminal device 100 performs various functions and processing data, so as to monitor the terminal device 100 as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the terminal device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and running on the processor 110.
  • a terminal device including a processor, a memory, and a computer program stored in the memory and running on the processor 110.
  • the computer program is executed by the processor, the above-mentioned touch is realized.
  • Each process of the embodiment of the control response method can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

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)
  • Telephone Function (AREA)

Abstract

A touch-control response method and an electronic device, wherein same are applied to the technical field of communications. The method comprises: in the case where an electronic device has a plurality of induction regions, the electronic device receiving a touch-control input performed by a user on a first induction region (201); and in response to the touch-control input, the electronic device executing, according to a first parameter, a function corresponding to a target virtual key on the first induction region (202), wherein the function corresponding to the target virtual key is associated with the first parameter, and the first parameter is used for indicating a working mode of the electronic device or an operating application program.

Description

触控响应方法及电子设备Touch response method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本公开主张在2019年10月31日在中国提交的中国专利申请号201911063089.5的优先权,其全部内容通过引用包含于此。The present disclosure claims the priority of Chinese Patent Application No. 201911063089.5 filed in China on October 31, 2019, and the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开实施例涉及通信技术领域,尤其涉及一种触控响应方法及电子设备。The embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a touch response method and an electronic device.
背景技术Background technique
随着终端设备技术的发展,用户对于移动终端设备外观的美观性和一致性要求越来越高,目前,市场上大多数移动终端侧边使用的机械按键逐渐无法满足用户对于美观性的需求。With the development of terminal device technology, users have higher and higher requirements for the aesthetics and consistency of the appearance of mobile terminal devices. At present, the mechanical buttons used on the sides of most mobile terminals on the market gradually cannot meet the user's demand for aesthetics.
目前,大部分终端设备使用虚拟按键来逐渐替代了移动终端的机械按键,从而能够实现开关机、音量调节等功能,通过使用虚拟按键,提高了移动终端外观的美观性和一致性。At present, most terminal devices use virtual buttons to gradually replace the mechanical buttons of mobile terminals, thereby enabling functions such as power on and off and volume adjustment. The use of virtual buttons improves the aesthetics and consistency of the appearance of the mobile terminal.
然而,由于传统的虚拟按键的功能、数量及大小是固定不变的,而不同用户对移动终端设备的使用习惯不同。如此,可能会导致用户对不同虚拟按键的使用频率不同,造成部分虚拟按键的使用效率较低。However, since the functions, numbers, and sizes of traditional virtual keys are fixed, different users have different habits of using mobile terminal devices. In this way, users may use different virtual keys at different frequencies, resulting in low use efficiency of some virtual keys.
发明内容Summary of the invention
本公开实施例提供一种触控响应方法及电子设备,以解决现有部分虚拟按键所存在的使用效率低的问题。The embodiments of the present disclosure provide a touch response method and an electronic device to solve the problem of low use efficiency of some existing virtual keys.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开实施例提供一种触控响应方法,应用于电子设备,该方法包括:电子设备具有N个感应区域,N为正整数,该电子设备接收用户对对第一感应区域的触控输入;响应于上述触控输入,该根据第一参数,执行上述第一感应区域上的目标 虚拟按键对应的功能;其中,上述第一感应区域包括上述N个感应区域中的至少一个;上述目标虚拟按键对应的功能是与上述第一参数相关联的;上述第一参数用于指示上述电子设备的工作模式或运行的应用程序。In a first aspect, embodiments of the present disclosure provide a touch response method applied to an electronic device. The method includes: the electronic device has N sensing areas, where N is a positive integer, and the electronic device receives a user's response to the first sensing area. Touch input; in response to the touch input, execute the function corresponding to the target virtual key on the first sensing area according to the first parameter; wherein the first sensing area includes at least one of the N sensing areas; The function corresponding to the target virtual key is associated with the first parameter; the first parameter is used to indicate the working mode or running application of the electronic device.
第二方面,本公开实施例还提供了一种电子设备,上述电子设备具有N感应区域,N为正整数,该电子设备包括接收模块,用于接收用户对第一感应区域的触控输入;执行模块,用于响应于上述接收模块接收的上述触控输入,根据上述电子设备的第一参数,执行上述第一感应区域上的目标虚拟按键对应的功能;其中,上述第一感应区域包括上述N个感应区域中的至少一个;上述目标虚拟按键对应的功能是与上述第一参数相关联的;上述第一参数用于指示上述电子设备的工作模式或运行的应用程序。In a second aspect, the embodiments of the present disclosure also provide an electronic device. The electronic device has N sensing areas, where N is a positive integer. The electronic device includes a receiving module for receiving a user's touch input to the first sensing area; The execution module is configured to execute the function corresponding to the target virtual key on the first sensing area in response to the touch input received by the receiving module and according to the first parameter of the electronic device; wherein, the first sensing area includes the above At least one of the N sensing areas; the function corresponding to the target virtual key is associated with the first parameter; the first parameter is used to indicate the working mode or running application of the electronic device.
第三方面,本公开实施例提供了一种终端设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的触控响应方法的步骤。In a third aspect, embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to achieve the following Steps of the touch response method described in one aspect.
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述触控响应方法的步骤。In a fourth aspect, the embodiments of the present disclosure provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the touch response method as described in the first aspect are implemented .
在本公开实施例中,电子设备在具备多个感应区域的情况下,由于上述感应区域中的虚拟按键的功能与该电子设备的工作模式或运行的应用程序相关,因此,当电子设备接收到用户对感应区域的触控输入后,便可根据该电子设备的工作模式或运行的应用程序,执行对应虚拟按键的功能。如此,不仅提高了虚拟按键的使用效率,还最大化的利用了虚拟按键的资源。In the embodiment of the present disclosure, when the electronic device has multiple sensing areas, since the function of the virtual button in the sensing area is related to the working mode or running application of the electronic device, when the electronic device receives After the user touches the sensing area, the function of the corresponding virtual key can be executed according to the working mode of the electronic device or the running application. In this way, not only the use efficiency of the virtual keys is improved, but also the resources of the virtual keys are maximized.
附图说明Description of the drawings
图1为本公开实施例提供的一种虚拟按键的位置示意图;FIG. 1 is a schematic diagram of the position of a virtual button provided by an embodiment of the present disclosure;
图2为本公开实施例提供的一种可能的安卓操作系统的架构示意图;FIG. 2 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure;
图3为本公开实施例提供的一种触控响应方法流程示意图;FIG. 3 is a schematic flowchart of a touch response method provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种虚拟按键的感应区域示意图之一;4 is one of the schematic diagrams of the sensing area of a virtual key provided by an embodiment of the present disclosure;
图5为本公开实施例提供的一种虚拟按键的功能示意图之一;FIG. 5 is one of the functional schematic diagrams of a virtual key provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种虚拟按键的感应区域示意图之二;6 is a second schematic diagram of the sensing area of a virtual key provided by an embodiment of the present disclosure;
图7为本公开实施例提供的一种虚拟按键的功能示意图之二;FIG. 7 is the second schematic diagram of the function of a virtual key provided by an embodiment of the present disclosure;
图8为本公开实施例提供的一种虚拟按键的功能示意图之三;FIG. 8 is the third schematic diagram of the function of a virtual key provided by an embodiment of the present disclosure;
图9为本公开实施例提供的一种虚拟按键的功能示意图之四;FIG. 9 is the fourth schematic diagram of the function of a virtual key provided by an embodiment of the present disclosure;
图10为本公开实施例提供的一种虚拟按键的功能示意图之五;FIG. 10 is the fifth schematic diagram of the function of a virtual key provided by an embodiment of the present disclosure;
图11为本公开实施例提供的一种电子设备的结构示意图;FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the disclosure;
图12为本公开实施例提供的一种终端设备的结构示意图。FIG. 12 is a schematic structural diagram of a terminal device provided by an embodiment of the disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
需要说明的是,本文中的“多个”是指两个或多于两个。It should be noted that the "plurality" in this article refers to two or more than two.
需要说明的是,本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in the embodiments of the present disclosure, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
需要说明的是,为了便于清楚描述本公开实施例的技术方案,在本公开实施例中,采用了“第一”、“第二”等字样对功能或作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。例如,第一虚拟按键设置参数和第二虚拟按键设置参数是用于区别不同的虚拟按键设置参数,而不是用于描述虚拟按键设置参数的特定顺序。It should be noted that, in order to clearly describe the technical solutions of the embodiments of the present disclosure, in the embodiments of the present disclosure, words such as "first" and "second" are used to describe the same items or similar items with basically the same function or effect. To distinguish, those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order. For example, the first virtual key setting parameter and the second virtual key setting parameter are used to distinguish different virtual key setting parameters, rather than describing a specific sequence of virtual key setting parameters.
本公开实施例提供的触控响应方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该触控响应方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。The execution subject of the touch response method provided by the embodiments of the present disclosure may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the touch response method, and may be specifically based on actual usage requirements. It is determined that the embodiments of the present disclosure are not limited.
本公开实施例中的电子设备可以为终端设备,该终端设备可以为移动终端设备,也可以为非移动终端设备。移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal  computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本公开实施例不作具体限定。The electronic device in the embodiments of the present disclosure may be a terminal device, and the terminal device may be a mobile terminal device or a non-mobile terminal device. The mobile terminal device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA) The non-mobile terminal device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc.; the embodiment of the present disclosure does not specifically limit it.
本公开实施例中的虚拟按键为:设置在电子设备上的虚拟按键,该虚拟按键用于替代传统的机械按键。The virtual key in the embodiment of the present disclosure is: a virtual key provided on an electronic device, and the virtual key is used to replace a traditional mechanical key.
示例性的,本公开实施例中的虚拟按键可以设置在电子设备的任意区域,本公开实施例对此不作限定,同时,本公开实施例中设置在电子设备的虚拟按键的数量也不做限定,即电子设备上可以设置一个或多个虚拟按键。Exemplarily, the virtual buttons in the embodiments of the present disclosure can be set in any area of the electronic device, which is not limited in the embodiments of the present disclosure, and at the same time, the number of virtual buttons set in the electronic device in the embodiments of the present disclosure is not limited either , That is, one or more virtual buttons can be set on the electronic device.
举例说明,本公开实施例中的虚拟按键可以设置在电子设备的壳体的侧边框区域,例如,如图1中的(a)所示,音量虚拟按键以及电源虚拟按键可以设置在电子设备的右边框上。如图1中的(b)所示,本公开实施例中的虚拟按键也可以设置在电子设备的壳体的后壳区域。本公开实施例中的虚拟按键还可以设置在曲面屏的侧边屏上,本公开实施例对此不作限定。For example, the virtual buttons in the embodiments of the present disclosure may be set in the side frame area of the housing of the electronic device. For example, as shown in (a) in FIG. 1, the volume virtual buttons and the power virtual buttons may be set in the electronic device. On the right border. As shown in FIG. 1(b), the virtual keys in the embodiments of the present disclosure may also be arranged in the back shell area of the housing of the electronic device. The virtual buttons in the embodiments of the present disclosure may also be arranged on the side screens of the curved screen, which is not limited in the embodiments of the present disclosure.
示例性的,虚拟按键不同于物理按键,是由多个感应区域组成的,且这些感应区域位于电子设备的外壳和/或显示屏上。即,虚拟按键在电子设备上的感应区域能够感应用户的触控输入,这样用户仅需要触控虚拟按键的感应区域,便可触发终端设备执行该虚拟按键的功能。Exemplarily, a virtual key is different from a physical key, and is composed of multiple sensing areas, and these sensing areas are located on the housing and/or the display screen of the electronic device. That is, the sensing area of the virtual key on the electronic device can sense the user's touch input, so that the user only needs to touch the sensing area of the virtual key to trigger the terminal device to perform the function of the virtual key.
一般的,虚拟按键在终端设备的壳体上的感应区域内通常设置有对应的虚拟按键处理器,这样当用户触控该虚拟按键的感应区域时,该虚拟按键处理器便将接收到的被触控的信息传输至终端设备的CPU中进行处理,从而响应该虚拟按键对应的功能。Generally, a virtual key is usually provided with a corresponding virtual key processor in the sensing area on the housing of the terminal device, so that when the user touches the sensing area of the virtual key, the virtual key processor will receive the The touch information is transmitted to the CPU of the terminal device for processing, so as to respond to the function corresponding to the virtual key.
不同于传统技术,在本公开实施例中,组成一个虚拟按键的感应区域数量是可以改变的,因此,本公开实施例可以实现对虚拟按键的大小、数量的改变。Different from the traditional technology, in the embodiments of the present disclosure, the number of sensing regions forming a virtual key can be changed. Therefore, the embodiments of the present disclosure can realize the change of the size and the number of virtual keys.
示例性的,上述感应区域的工作状态包括:禁用状态或启用状态。电子设备可以通过控制感应区域的工作状态来实现对虚拟按键的大小、数量的改变。Exemplarily, the working state of the above-mentioned sensing area includes: a disabled state or an enabled state. The electronic device can change the size and number of virtual keys by controlling the working state of the sensing area.
发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。The electronic device in the embodiment of the invention may be an electronic device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present disclosure.
下面以安卓操作系统为例,介绍一下本公开实施例提供的触控响应方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the touch response method provided in the embodiments of the present disclosure is applied.
如图2所示,为本公开实施例提供的一种可能的安卓操作系统的架构示意图。在图2中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 2, it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure. In Figure 2, the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Among them, the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本公开实施例中,开发人员可以基于上述如图2所示的安卓操作系统的系统架构,开发实现本公开实施例提供的触控响应方法的软件程序,从而使得该触控响应方法可以基于如图2所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本公开实施例提供的触控响应方法。Taking the Android operating system as an example, in the embodiments of the present disclosure, developers can develop software programs that implement the touch response method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG. The touch response method can be run based on the Android operating system as shown in FIG. 2. That is, the processor or the electronic device can implement the touch response method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
下面结合图3所示的触控响应方法流程图对本公开实施例的触控响应方法进行说明,图3为本公开实施例提供的一种触控响应方法流程示意图,在上述电子设备具有多个感应区域的情况下,包括步骤201至步骤202:The following describes the touch response method of the embodiment of the present disclosure with reference to the flow chart of the touch response method shown in FIG. 3. FIG. 3 is a schematic flowchart of a touch response method provided by an embodiment of the present disclosure. In the case of the sensing area, steps 201 to 202 are included:
步骤201:电子设备接收用户对第一感应区域的触控输入。Step 201: The electronic device receives a user's touch input to the first sensing area.
示例性的,该电子设备具备N个感应区域,N为正整数。上述第一感应区域包括该N个感应区域中的至少一个。上述第一感应区域可以位于电子设备的壳体上,也可以位于电子设备的侧边屏上,本公开实施例对此不作限定。Exemplarily, the electronic device has N sensing areas, and N is a positive integer. The aforementioned first sensing area includes at least one of the N sensing areas. The above-mentioned first sensing area may be located on the housing of the electronic device, or may be located on the side screen of the electronic device, which is not limited in the embodiment of the present disclosure.
示例性的,上述触控输入可以包括:用户在感应区域的点击输入,或者,用户在 感应区域的滑动输入,或者,用户的特定手势的输入,或者,用户的其他可行性输入,具体可以根据实际使用需求确定,本公开实施例对此不作限定。Exemplarily, the aforementioned touch input may include: the user's click input in the sensing area, or the user's sliding input in the sensing area, or the user's specific gesture input, or the user's other feasible input, which may be specifically based on The actual use requirements are determined, and the embodiments of the present disclosure do not limit this.
示例性的,本公开中的点击输入可以为单击输入、双击输入或任意次数的点击输入等;上述的点击输入还可以为长按输入或短按输入。本公开中的滑动输入可以为向任意方向的滑动输入,例如向上滑动、向下滑动、向左滑动或者向右滑动等,且上述滑动输入的滑动轨迹可以是直线,也可以是曲线。Exemplarily, the click input in the present disclosure may be a single click input, a double click input, or any number of click input, etc.; the above click input may also be a long press input or a short press input. The sliding input in the present disclosure may be a sliding input in any direction, such as sliding up, sliding down, sliding left, or sliding right, etc., and the sliding track of the sliding input may be a straight line or a curve.
步骤202:响应于上述触控输入,电子设备根据第一参数,执行上述第一感应区域上的目标虚拟按键对应的功能。Step 202: In response to the aforementioned touch input, the electronic device executes the function corresponding to the target virtual key on the aforementioned first sensing area according to the first parameter.
示例性的,上述第一参数用于指示上述电子设备的工作模式或运行的应用程序。Exemplarily, the foregoing first parameter is used to indicate the working mode or running application of the foregoing electronic device.
示例性的,上述工作模式可以包括:游戏模式、睡眠模式、电子书模式、来电模式等多种工作模式,本公开实施例对此不作限制。Exemplarily, the foregoing working modes may include multiple working modes such as a game mode, a sleep mode, an e-book mode, and an incoming call mode, which are not limited in the embodiment of the present disclosure.
示例性的,上述目标虚拟按键对应的功能是与上述第一参数相关联的,即上述目标虚拟按键对应的功能是基于电子设备的工作模式或运行的应用程序确定的。可以理解的是,上述目标虚拟按键对应的功能在不同的工作模式或在不同应用程序运行场景下可以不同或相同,本公开实施例对此不作限制。Exemplarily, the function corresponding to the target virtual button is associated with the first parameter, that is, the function corresponding to the target virtual button is determined based on the working mode of the electronic device or the running application. It can be understood that the functions corresponding to the above-mentioned target virtual keys may be different or the same in different working modes or in different application running scenarios, which is not limited in the embodiment of the present disclosure.
示例性的,上述第一参数用于设置目标虚拟按键的以下至少一项信息:该目标虚拟按键的功能,该目标虚拟按键的数量以及该目标虚拟按键对应感应区域的区域大小。Exemplarily, the above-mentioned first parameter is used to set at least one of the following information of the target virtual key: the function of the target virtual key, the number of the target virtual key, and the size of the sensing area corresponding to the target virtual key.
示例性的,在上述第一感应区域原本设置有目标虚拟按键的情况下,电子设备可以基于上述第一参数,对该目标虚拟按键的虚拟按键数量、虚拟按键功能以及感应区域大小中的至少一个进行重配置;或者,在上述第一感应区域内未设置虚拟按键的情况下,电子设备可以基于上述第一参数,配置该目标区域内的虚拟按键的以下至少一项按键信息:虚拟按键数量、虚拟按键功能以及感应区域大小。Exemplarily, in the case where a target virtual key is originally set in the first sensing area, the electronic device may, based on the first parameter, determine at least one of the number of virtual keys, the function of the virtual key, and the size of the sensing area for the target virtual key. Perform reconfiguration; or, in the case where no virtual keys are set in the first sensing area, the electronic device may configure at least one of the following key information of the virtual keys in the target area based on the first parameter: the number of virtual keys, Virtual button function and sensing area size.
可选地,在本公开实施例中,不同的工作模式下,用户对于同一虚拟按键的需求不同,这样电子设备可以按照该工作模式对应的使用需求,确定出目标虚拟按键的功能。Optionally, in the embodiments of the present disclosure, users have different requirements for the same virtual key in different working modes, so that the electronic device can determine the function of the target virtual key according to the usage requirements corresponding to the working mode.
示例1:以电子设备的工作模式为睡眠模式为例,电子设备基于该睡眠模式,确定在电子设备的左侧边框内增加一个用于快速退出睡眠模式的返回虚拟按键。如此, 在睡眠模式下,用户触控电子设备的左侧边框上设置的返回虚拟按键后,便可快速退出睡眠模式。Example 1: Taking the working mode of the electronic device as the sleep mode as an example, the electronic device determines to add a return virtual button for quickly exiting the sleep mode in the left side frame of the electronic device based on the sleep mode. In this way, in the sleep mode, the user can quickly exit the sleep mode after touching the return virtual button set on the left side frame of the electronic device.
示例2:以电子设备的工作模式为来电模式为例。电子设备基于该来电模式,确定变更电子设备的右侧边框中设置的“电源”虚拟按键以及“音量增加”虚拟按键的功能,即使得“电源”虚拟按键的功能变更为接通电话,“音量增加”虚拟按键的功能变更为控制电子设备静音。如此,在来电模式下,当用户触控“电源”虚拟按键时,便可接通电话,当用户触控“音量增加”虚拟按键时,便可控制电子设备静音。Example 2: Taking the working mode of the electronic device as the incoming call mode as an example. Based on the incoming call pattern, the electronic device determines to change the functions of the "power" virtual button and the "volume up" virtual button set in the right frame of the electronic device, that is, the function of the "power" virtual button is changed to connect the call, "volume" Added the function of the virtual button to control the mute of the electronic device. In this way, in the incoming call mode, when the user touches the "power" virtual button, the phone can be connected, and when the user touches the "volume up" virtual button, the electronic device can be controlled to mute.
同时,在来电模式下,电子设备还会在左侧边框中增加用于拒绝通话的“拒绝”虚拟按键、用于发送短信的“短信”虚拟按键以及用于增加黑名单的“黑名单”虚拟按键。At the same time, in the incoming call mode, the electronic device will also add a virtual "reject" button for rejecting calls, a virtual button for sending text messages, and a virtual "blacklist" virtual button for adding blacklists to the left frame. button.
可选地,在本公开实施例中,上述步骤202中还包括步骤A:Optionally, in the embodiment of the present disclosure, step 202 further includes step A:
步骤A:在电子设备显示目标应用程序的第一界面的情况下,电子设备根据第一参数,执行上述第一感应区域上的目标虚拟按键对应的操作。Step A: When the electronic device displays the first interface of the target application, the electronic device executes the operation corresponding to the target virtual key on the first sensing area according to the first parameter.
其中,上述第一参数用于指示目标应用程序。Wherein, the above-mentioned first parameter is used to indicate the target application.
示例3:以目标应用程序为战争射击任务类游戏为例。电子设备在显示该战争射击任务类游戏的游戏界面时,由于用户对于音量键、电源键等常规按键的需求较小,对于游戏中一些高频操作,例如,在战争射击任务类型游戏中对于射击、瞄准、跳跃、卧倒等操作的需求很大。因此,可以在电子设备的左侧边框内设置两个虚拟按键,分别用于游戏人物的跳跃和卧倒。同时,在电子设备的右侧边框内设置两个虚拟按键,分别用于游戏人物的射击和瞄准。Example 3: Take the target application as a war shooting mission game. When the electronic device displays the game interface of the war shooting mission game, because the user has less demand for conventional buttons such as the volume button and the power button, it is necessary for some high-frequency operations in the game, for example, for shooting in a war shooting mission game. , Aiming, jumping, lying down and other operations are in great demand. Therefore, two virtual buttons can be arranged in the left side frame of the electronic device, which are used for jumping and lying down respectively. At the same time, two virtual buttons are set in the right side frame of the electronic device, which are respectively used for shooting and aiming of game characters.
这样,电子设备可以根据不同的应用程序灵活调整电子设备虚拟按键的分布,既能够满足实际使用的需要,又能够通过禁用部分虚拟按键,达到省电的目的。In this way, the electronic device can flexibly adjust the distribution of virtual keys of the electronic device according to different application programs, which can not only meet the needs of actual use, but also can achieve the purpose of saving power by disabling some virtual keys.
本公开实施例提供的触控响应方法,该电子设备在具备多个感应区域的情况下,由于上述感应区域中的虚拟按键的功能与该电子设备的工作模式或运行的应用程序相关,因此,当电子设备接收到用户对感应区域的触控输入后,便可根据该电子设备的工作模式或运行的应用程序,执行对应虚拟按键的功能。如此,不仅提高了虚拟按键的使用效率,还最大化的利用了虚拟按键的资源。In the touch response method provided by the embodiments of the present disclosure, when the electronic device has multiple sensing areas, since the function of the virtual button in the sensing area is related to the working mode or running application of the electronic device, After the electronic device receives the user's touch input to the sensing area, it can execute the function of the corresponding virtual key according to the working mode of the electronic device or the running application. In this way, not only the use efficiency of the virtual keys is improved, but also the resources of the virtual keys are maximized.
可选地,在本公开实施例中,在上述步骤201之前可以包括步骤B:Optionally, in the embodiment of the present disclosure, step B may be included before the above step 201:
步骤B:电子设备根据第一参数,调节第二感应区域的工作状态。Step B: The electronic device adjusts the working state of the second sensing area according to the first parameter.
示例性的,上述第二感应区域包括电子设备具备的N个感应区域中的至少一个,即上述的第一感应区域可以为该N个感应区域中的一个或多个感应区域;上述第二感应区域的工作状态包括:禁用状态或启用状态。Exemplarily, the second sensing area includes at least one of the N sensing areas provided by the electronic device, that is, the first sensing area may be one or more of the N sensing areas; the second sensing The working state of the area includes: disabled state or enabled state.
示例性的,调节后的第二感应区域中处于启动状态的感应区域包括:第一感应区域。即,电子设备在对第二感应区域的工作状态进行调节后,该第二感应区域内处于启动状态的感应区域中设置有目标虚拟按键。Exemplarily, the sensing area in the activated state in the adjusted second sensing area includes: the first sensing area. That is, after the electronic device adjusts the working state of the second sensing area, the target virtual key is set in the sensing area in the activated state in the second sensing area.
在一种可能的示例中,上述的第二感应区域为上述N个感应区域中工作状态需要发生更改的感应区域,本公开实施例对此不作限定。In a possible example, the above-mentioned second sensing region is a sensing region whose working state needs to be changed among the above-mentioned N sensing regions, which is not limited in the embodiment of the present disclosure.
示例性的,两个虚拟按键之间可以设置一个或多个处于禁用状态的感应区域,即处于禁用状态的感应区域可以作为虚拟按键之间的隔离区间。或者,两个虚拟按键可以直接相接,即两个虚拟按键之间无需使用处于禁用状态的感应区域来隔离。Exemplarily, one or more sensing areas in the disabled state can be set between two virtual keys, that is, the sensing areas in the disabled state can be used as the isolation interval between the virtual keys. Or, the two virtual buttons can be directly connected, that is, there is no need to use a disabled sensing area to isolate the two virtual buttons.
示例性的,每个虚拟按键对应一个唯一的键值,这样,该虚拟按键被触发时,系统就会将该虚拟按键对应的键值上报至移动终端的CPU。Exemplarily, each virtual key corresponds to a unique key value. In this way, when the virtual key is triggered, the system reports the key value corresponding to the virtual key to the CPU of the mobile terminal.
举例说明,以为电子设备的侧边框为例。如图4中的(a)所示,电子设备的侧边框包括11个感应区域(即图4中的感应区域1至11)。如图4中的(b)所示,感应区域1、感应区域2及感应区域3组成虚拟按键1,即启用感应区域1、感应区域2及感应区域3,禁用感应区域4,感应区域5及感应区域6组成虚拟按键2,即启用感应区域5及感应区域6,禁用感应区域7,感应区域8、感应区域9及感应区域10组成虚拟按键3,即启用感应区域8、感应区域9及感应区域10,禁用感应区域11。For example, take the side frame of an electronic device as an example. As shown in (a) of FIG. 4, the side frame of the electronic device includes 11 sensing areas (ie, sensing areas 1 to 11 in FIG. 4). As shown in Figure 4(b), the sensing area 1, the sensing area 2 and the sensing area 3 form the virtual button 1, that is, the sensing area 1, the sensing area 2 and the sensing area 3 are enabled, the sensing area 4, the sensing area 5 and the sensing area are disabled. Sensing area 6 composes virtual button 2, namely enabling sensing area 5 and sensing area 6, disabling sensing area 7, sensing area 8, sensing area 9 and sensing area 10 form virtual button 3, ie enabling sensing area 8, sensing area 9 and sensing Area 10, disable sensing area 11.
举例说明,以电子设备的右侧边框为例,结合图4所示的感应区域划分示意图,电子设备的左侧边框的虚拟按键的一种常规设置模式如图5中的(a)所示,电子设备的右侧边框的虚拟按键的一种常规设置模式如图5中的(b)所示。具体的,如图5中的(a)所示,左侧边框中的11个感应区域均被禁用,即左侧边框未设置虚拟按键。如图5中的(b)所示,禁用右侧边框中的感应区域1、感应区域4、感应区域7至感应区域11,感应区域2及感应区域3组成电源虚拟按键,感应区域5为“音量增加” 虚拟按键,感应区域6为“音量减小”虚拟按键,即启动右侧边框中的感应区域2、感应区域3、感应区域5及感应区域6。For example, taking the right frame of the electronic device as an example, combined with the sensing area division diagram shown in FIG. 4, a conventional setting mode of the virtual buttons on the left frame of the electronic device is shown in (a) of FIG. 5, A general setting mode of the virtual buttons on the right side frame of the electronic device is shown in (b) of FIG. 5. Specifically, as shown in (a) of FIG. 5, the 11 sensing areas in the left frame are all disabled, that is, no virtual buttons are set on the left frame. As shown in Figure 5(b), the sensing area 1, sensing area 4, sensing area 7 to sensing area 11 in the right frame are disabled, sensing area 2 and sensing area 3 form the power virtual button, sensing area 5 is " The volume increase" virtual button, the sensing area 6 is the "volume down" virtual button, that is, the sensing area 2, the sensing area 3, the sensing area 5, and the sensing area 6 in the right frame are activated.
这样,电子设备通过将上述目标区域被固定划分为多个感应区域,使得电子设备可以通过更改每个感应区域的工作状态,来达到配置或重配置虚拟按键大小、数量及功能的目的。In this way, the electronic device divides the target area into a plurality of sensing areas, so that the electronic device can configure or reconfigure the size, number, and function of virtual keys by changing the working state of each sensing area.
在另一种可能的示例中,在上述的第二感应区域包括1个感应区域的情况下,上述的第二感应区域为该1个感应区域中的部分或全部区域。In another possible example, in the case where the aforementioned second sensing area includes one sensing area, the aforementioned second sensing area is part or all of the one sensing area.
示例性的,上述的第二感应区域可以为该1个个感应区域中工作状态需要发生更改的区域,本公开实施例对此不作限定。Exemplarily, the above-mentioned second sensing area may be an area in the one sensing area whose working state needs to be changed, which is not limited in the embodiment of the present disclosure.
示例性的,电子设备确定出该目标区域中需要配置的每个虚拟按键的区域位置,按照每个虚拟按键的区域位置,确定出该感应区域中的各区域的工作状态。Exemplarily, the electronic device determines the area position of each virtual button that needs to be configured in the target area, and determines the working state of each area in the sensing area according to the area position of each virtual button.
举例说明,以电子设备的侧边框为例。如图6中的(a)所示,该侧边框的整个区域为感应区域。如图6中的(b)所示,若电子设备确定该侧边框中需要配置一个虚拟按键,且该虚拟按键位于该感应区域的子区域2,因此,电子设备启用该子区域2,并禁用子区域1和子区域3。For example, take the side frame of an electronic device as an example. As shown in (a) in Figure 6, the entire area of the side frame is the sensing area. As shown in Figure 6(b), if the electronic device determines that a virtual button needs to be configured in the side frame, and the virtual button is located in the sub-area 2 of the sensing area, the electronic device enables the sub-area 2 and disables Subarea 1 and Subarea 3.
可选地,在本公开实施例中,在不同工作模式下用户对于虚拟按键的需求不同,这样电子设备可以按照该工作模式对应的使用需求,设置目标虚拟按键。Optionally, in the embodiments of the present disclosure, users have different requirements for virtual buttons in different working modes, so that the electronic device can set the target virtual buttons according to the usage requirements corresponding to the working modes.
以上述示例1为例,举例说明,结合图5中的(a),如图7中的(a)所示,电子设备在左侧边框中增加“退出睡眠模式”虚拟按键,即启用感应区域1、感应区域2及感应区域3,感应区域4至感应区域11仍禁用。结合图5中的(b),如图7中的(b)所示,电子设备增加右侧边框中“电源”虚拟按键的感应区域大小,即启用感应区域1、感应区域2及感应区域3,去除“音量增加”虚拟按键以及“音量减小”虚拟按键,即禁用感应区域5和感应区域6,其余感应区域4、感应区域7至感应区域11仍禁用。Take the above example 1 as an example, for example, in conjunction with Figure 5 (a), as shown in Figure 7 (a), the electronic device adds a virtual button "Exit Sleep Mode" in the left frame, that is, activates the sensing area 1. Sensing zone 2 and sensing zone 3, sensing zone 4 to sensing zone 11 are still disabled. Combined with Figure 5 (b), as shown in Figure 7 (b), the electronic device increases the size of the sensing area of the "power" virtual button in the right frame, that is, the sensing area 1, the sensing area 2 and the sensing area 3 are enabled , Remove the "volume up" virtual button and the "volume down" virtual button, that is, the sensing area 5 and the sensing area 6 are disabled, and the remaining sensing areas 4, 7 to 11 are still disabled.
本示例中,由于在睡眠模式下,用户对手机操作的动作很少,用户(休息时间结束)最可能需要的操作是唤醒手机或者退出睡眠模式,另一方面,启用虚拟按键也会带来一定的功耗。因此,电子设备在检测到用户进入睡眠模式时,可以将用户容易接 触的虚拟按键设置为退出睡眠模式和电源功能,已提高虚拟按键的使用效率,同时,禁用其他虚拟按键以达到省电的目的。In this example, since the user has few actions on the phone in the sleep mode, the most likely operation that the user (after the rest time is over) is to wake up the phone or exit the sleep mode. On the other hand, enabling virtual buttons will also bring some Power consumption. Therefore, when the electronic device detects that the user enters the sleep mode, the user-friendly virtual key can be set to exit the sleep mode and power function, which has improved the efficiency of the virtual key, and at the same time, disables other virtual keys to save power .
以上述示例2为例,举例说明,结合图5中的(a),如图8中的(a)所示,电子设备在左侧边框中增加“拒绝”虚拟按键,即启用感应区域2和感应区域3,增加“短信”虚拟按键,即启动感应区域5,增加“黑名单”虚拟按键,即启动感应区域6,感应区域7至感应区域11仍禁用。结合图5中的(b),如图8中的(b)所示,仍然启动感应区域2和感应区域3,但将“电源”虚拟按键的功能变更为用于接听电话的“接听”功能,仍然启动感应区域5,但将“音量增加”虚拟按键的功能变更为用于静音的“静音”功能,去除“音量减小”虚拟按键,即其余感应区域6至感应区域11仍禁用。Taking the above example 2 as an example, for example, in conjunction with Figure 5 (a), as shown in Figure 8 (a), the electronic device adds a "reject" virtual button in the left frame, that is, to enable the sensing area 2 and Sensing area 3, add the virtual button of "SMS", that is to start the sensing area 5. Add the virtual button of "blacklist", that is to start the sensing area 6, the sensing area 7 to the sensing area 11 are still disabled. Combined with Figure 5 (b), as shown in Figure 8 (b), the sensing area 2 and sensing area 3 are still activated, but the function of the "power" virtual button is changed to the "answer" function for answering calls , The sensing area 5 is still activated, but the function of the "volume up" virtual button is changed to the "mute" function for mute, and the "volume down" virtual button is removed, that is, the remaining sensing areas 6 to 11 are still disabled.
本示例中,当电子设备检测到来电时,可以将用户容易接触的虚拟按键设置为接听、拒绝、发送快捷短信、静音、加入黑名单等操作,使得用户可以直接通过这些虚拟按键来处理来电,不需要通过滑动屏来处理来电,使用更快捷。In this example, when the electronic device detects an incoming call, the user’s easy-to-access virtual buttons can be set to answer, reject, send quick short messages, mute, and add to the blacklist, etc., so that the user can directly handle the incoming call through these virtual buttons. There is no need to swipe the screen to handle incoming calls, making it faster to use.
可选地,在本公开实施例中,在不同应用程序运行场景下用户对于虚拟按键的需求不同,这样电子设备可以按照该应用程序对应的使用需求,设置目标虚拟按键。Optionally, in the embodiments of the present disclosure, users have different requirements for virtual buttons in different application running scenarios, so that the electronic device can set the target virtual buttons according to the usage requirements corresponding to the application.
以上述示例3为例,举例说明,以目标应用程序为战争射击任务类游戏为例,结合图5中的(a),如图9中的(a)所示,电子设备在左侧边框中增加“跳跃”虚拟按键,即启用感应区域1、感应区域2及感应区域3,同时,增加“卧倒”虚拟按键,即启用感应区域9、感应区域10及感应区域11,感应区域4至感应区域8仍禁用。结合图5中的(b),如图9中的(b)所示,电子设备重配置右侧边框中的虚拟按键,具体的,在右侧边框中设置“射击”虚拟按键,即启动感应区域1、感应区域2及感应区域3,以及设置“瞄准”虚拟按键,即启动感应区域9、感应区域10及感应区域11,禁用感应区域4至感应区域8。Take the above example 3 as an example, take the target application as a war shooting mission game as an example, combined with Figure 5 (a), as shown in Figure 9 (a), the electronic device is in the left frame Add "jump" virtual buttons, which enable sensing area 1, sensing area 2, and sensing area 3. At the same time, add "lie down" virtual buttons to enable sensing area 9, sensing area 10 and sensing area 11, sensing area 4 to sensing Zone 8 is still disabled. In conjunction with (b) in Figure 5, as shown in (b) in Figure 9, the electronic device reconfigures the virtual buttons in the right frame. Specifically, the "shooting" virtual button is set in the right frame to activate the induction Area 1, sensing area 2 and sensing area 3, and setting the "aim" virtual button, that is, starting sensing area 9, sensing area 10 and sensing area 11, and disabling sensing area 4 to sensing area 8.
这样,电子设备可以根据不同的应用程序灵活调整电子设备虚拟按键的分布,既能够满足实际使用的需要,又能够通过禁用部分虚拟按键,达到省电的目的。In this way, the electronic device can flexibly adjust the distribution of virtual keys of the electronic device according to different application programs, which can not only meet the needs of actual use, but also can achieve the purpose of saving power by disabling some virtual keys.
可选地,在本公开实施例中,电子设备的目标区域内设置有至少一个第一虚拟按键,基于此,在上述步骤201之前可以包括步骤C:Optionally, in the embodiment of the present disclosure, at least one first virtual button is provided in the target area of the electronic device. Based on this, step C may be included before the above step 201:
步骤C:电子设备根据第一参数和第二参数,在上述目标区域,设置目标虚拟按键。Step C: The electronic device sets a target virtual key in the above-mentioned target area according to the first parameter and the second parameter.
其中,上述目标区域包括第一感应区域,上述第二参数用于指示上述第一虚拟按键的以下至少一项信息:虚拟按键的数量,虚拟按键的功能,虚拟按键对应感应区域的区域大小。Wherein, the target area includes a first sensing area, and the second parameter is used to indicate at least one of the following information of the first virtual key: the number of virtual keys, the function of the virtual key, and the area size of the virtual key corresponding to the sensing area.
示例性的,上述目标区域可以为电子设备的壳体的侧边框区域,也可以为电子设备的壳体的后壳区域,也可以为显示屏的侧边屏,本公开实施例对此不作限制。Exemplarily, the above-mentioned target area may be the side frame area of the housing of the electronic device, may also be the rear housing area of the housing of the electronic device, or may be the side screen of the display screen, which is not limited in the embodiment of the present disclosure. .
示例4:上述的目标区域可以为电子设备的侧边框上可以设置虚拟按键的默认区域,例如,默认重配置电子设备的右边框内的虚拟按键。Example 4: The aforementioned target area may be a default area on the side frame of the electronic device where virtual buttons can be set, for example, the virtual buttons in the right frame of the electronic device are reconfigured by default.
示例5:上述的目标区域可以为电子设备的侧边框上可以设置虚拟按键的用户选择的区域,具体区域可以按照用户需求来设定,本公开实施例对此不作限定,例如,用户通过特定手势选中了电子设备的右边框,从而触发电子设备重配置右边框内的虚拟按键。Example 5: The above-mentioned target area may be a user-selected area on the side frame of the electronic device where virtual buttons can be set. The specific area may be set according to user needs, which is not limited in the embodiment of the present disclosure. For example, the user uses a specific gesture The right frame of the electronic device is selected, which triggers the electronic device to reconfigure the virtual buttons in the right frame.
示例6:上述的目标区域可以为电子设备按照工作模式确定的区域,例如,当前工作模式为睡眠模式时,由于电子设备的右边框设置有电源虚拟按键,因此,电子设备可以在左边框增加用于快速退出睡眠模式的虚拟按键,即,该睡眠模式对应的目标区域可以为左边框。Example 6: The above-mentioned target area can be the area determined by the electronic device according to the working mode. For example, when the current working mode is the sleep mode, since the right border of the electronic device is provided with a power virtual button, the electronic device can add more functions to the left border. The virtual button for quickly exiting the sleep mode, that is, the target area corresponding to the sleep mode may be the left frame.
示例性的,电子设备根据第一参数和第二参数以及目标区域的感应区域信息,在上述目标区域,设置目标虚拟按键。在一种示例中,上述感应区域信息用于指示以下至少一项信息:感应区域的区域位置,感应区域编号,感应区域的工作状态。Exemplarily, the electronic device sets a target virtual button in the target area according to the first parameter, the second parameter and the sensing area information of the target area. In an example, the above-mentioned sensing area information is used to indicate at least one of the following information: the position of the sensing area, the number of the sensing area, and the working status of the sensing area.
示例7:以电子设备的工作模式为电子书模式为例。假设电子设备已设置有“音量增加”虚拟按键和“音量减小”虚拟按键这两个虚拟按键,在电子设备切换至电子书模式时,电子设备可以将已有的“音量增加”虚拟按键和“音量减小”虚拟按键的功能变更,使得“音量增加”虚拟按键变更为用于上翻页的“上一页”虚拟按键,“音量减小”虚拟按键变更为用于下翻页的“下一页”虚拟按键。Example 7: Take the e-book mode as the working mode of the electronic device as an example. Assuming that the electronic device has been provided with two virtual buttons, the "volume up" virtual button and the "volume down" virtual button, when the electronic device is switched to the e-book mode, the electronic device can set the existing "volume up" virtual button and The function of the "Volume Down" virtual button has been changed so that the "Volume Up" virtual button is changed to a "Previous Page" virtual button for page up, and the "Volume Down" virtual button is changed to a "Volume Down" virtual button for page down. Next page "virtual button.
举例说明,以电子设备的工作模式为电子书模式为例。结合图5,如图10中的(a)与图5中的(a)相同。如图10中的(b)所示,仍然启动感应区域5,但将“音量增 加”虚拟按键的功能变更为用于上翻页的“上一页”功能,仍然启动感应区域6,但将“音量减小”虚拟按键的功能变更为用于下翻页的“下一页”功能。For example, take the working mode of the electronic device as the e-book mode as an example. With reference to Fig. 5, (a) in Fig. 10 is the same as (a) in Fig. 5. As shown in Figure 10(b), the sensing area 5 is still activated, but the function of the "volume up" virtual button is changed to the "previous page" function for page up, and the sensing area 6 is still activated, but The function of the "Volume Down" virtual button has been changed to the "Next Page" function for page down.
本示例中,由于在电子书模式下用户的高频操作是翻页等。因此电子设备在检测到用户进入电子书模式后,可以将虚拟按键设置为上述功能,方便用户快捷操作电子书。并且由于常规模式下,用户阅读电子书时为竖握手机操作,使得用户很容易触摸到侧边中间靠上的虚拟区域,因此将侧边中间靠上的虚拟按键设置为电子书模式下的高频操作,提高虚拟按键的使用效率。In this example, because the user's high-frequency operations in the e-book mode are page turning, etc. Therefore, after the electronic device detects that the user enters the e-book mode, the virtual key can be set to the above-mentioned function, which is convenient for the user to quickly operate the e-book. And because in the normal mode, when the user is reading an e-book, the user is holding the phone vertically, which makes it easy for the user to touch the upper middle virtual area on the side, so the upper middle virtual button on the side is set to the upper middle in the e-book mode. Frequency operation, improve the efficiency of the use of virtual keys.
示例8:以电子设备当前运行的应用程序为“游戏”APP为例。假设电子设备的常规虚拟按键包括“音量增加”虚拟按键和“音量减小”虚拟按键这两个虚拟按键,当电子设备运行“游戏”APP时,可以“音量增加”虚拟按键的功能变更为控制游戏人物跳跃,并适当增大“音量增加”虚拟按键的感应区域,同时,还可以“音量减小”虚拟按键的功能变更为射击,并适当增大“音量减小”虚拟按键的感应区域。Example 8: Take the “game” APP as an example that the currently running application of the electronic device is. Assuming that the conventional virtual buttons of an electronic device include two virtual buttons, the "volume up" virtual button and the "volume down" virtual button. When the electronic device runs the "game" APP, the function of the "volume up" virtual button can be changed to control The game character jumps and appropriately increases the sensing area of the "volume up" virtual button. At the same time, the function of the "volume down" virtual button can be changed to shooting, and the sensing area of the "volume down" virtual button is appropriately increased.
如此,用户可以根据工作模式或运行的应用程序来对目标区域内的虚拟按键数量、功能、感应区域大小等进行灵活调整,从而使得虚拟按键的使用效率得到提升,最大化利用虚拟按键的资源,避免虚拟按键使用效率较低的问题。In this way, the user can flexibly adjust the number of virtual keys, functions, and size of the sensing area in the target area according to the working mode or running applications, so as to improve the efficiency of the use of virtual keys and maximize the use of virtual key resources. Avoid the problem of inefficient use of virtual keys.
可选地,在本公开实施例中,上述步骤201之前,该方法还包括步骤D1和步骤D2:Optionally, in the embodiment of the present disclosure, before step 201, the method further includes step D1 and step D2:
步骤D1:电子设备按照用户触控目标虚拟按键的历史触控信息和上述第一参数,确定上述目标虚拟按键的目标感应区域。Step D1: The electronic device determines the target sensing area of the target virtual key according to the historical touch information of the user touching the target virtual key and the aforementioned first parameter.
所述目标感应区域包括所述第一感应区域。The target sensing area includes the first sensing area.
步骤D2:电子设备将上述目标虚拟按键的感应区域调节为上述目标感应区域。Step D2: The electronic device adjusts the sensing area of the target virtual key to the target sensing area.
示例性的,上述目标感应区域的区域信息包括该目标感应区域的工作状态以及该目标感应区域的区域位置。Exemplarily, the area information of the target sensing area includes the working state of the target sensing area and the area position of the target sensing area.
示例性的,上述用户触控该目标虚拟按键的历史触控信息包括:用户触控该目标虚拟按键的触控频率(即使用频率),用户触控该目标虚拟按键的触控区域等。Exemplarily, the aforementioned historical touch information of the user touching the target virtual key includes: the touch frequency (ie frequency of use) of the user touching the target virtual key, the touch area of the user touching the target virtual key, and so on.
示例性的,电子设备在确定目标区域后,可以获取该目标虚拟按键的使用频率,基于该使用频率来确定出目标虚拟按键的目标感应区域。在一种示例中,该目标虚拟 按键的感应区域大小与该目标虚拟按键的使用频率成正比,即该目标虚拟按键的使用频率增大,则增加目标虚拟按键的的感应区域的区域面积,反之,该目标虚拟按键的使用频率降低,则减小目标虚拟按键的的感应区域的区域面积。Exemplarily, after determining the target area, the electronic device may obtain the frequency of use of the target virtual key, and determine the target sensing area of the target virtual key based on the frequency of use. In an example, the size of the sensing area of the target virtual key is proportional to the frequency of use of the target virtual key, that is, if the frequency of use of the target virtual key increases, the area of the sensing area of the target virtual key is increased, and vice versa. If the frequency of use of the target virtual key is reduced, the area of the sensing area of the target virtual key is reduced.
这样,电子设备可以根据用户触控该目标虚拟按键的触控习惯,灵活配置该目标虚拟按键对应的感应区域,从而提高该目标虚拟按键的使用效率。In this way, the electronic device can flexibly configure the sensing area corresponding to the target virtual key according to the user's touch habit of touching the target virtual key, thereby improving the use efficiency of the target virtual key.
图11为实现本公开实施例提供的一种电子设备的可能的结构示意图,如图11所示,该电子设备600具有N个感应区域,N为正整数,电子设备600包括:接收模块601和执行模块602,其中:上述接收模块601,用于接收用户对第一感应区域的触控输入;上述执行模块602,用于响应于上述接收模块601接收的上述触控输入,电子设备600根据第一参数,执行上述第一感应区域上的目标虚拟按键对应的功能;其中,上述第一感应区域包括上述N个感应区域中的至少一个;上述目标虚拟按键对应的功能是与上述第一参数相关联的;上述第一参数用于指示上述电子设备的工作模式或运行的应用程序。FIG. 11 is a schematic diagram of a possible structure for implementing an electronic device provided by an embodiment of the present disclosure. As shown in FIG. 11, the electronic device 600 has N sensing areas, where N is a positive integer, and the electronic device 600 includes: a receiving module 601 and The execution module 602, wherein: the above-mentioned receiving module 601 is used to receive a user's touch input to the first sensing area; the above-mentioned execution module 602 is used to respond to the above-mentioned touch input received by the above-mentioned receiving module 601, the electronic device 600 according to the first A parameter that executes the function corresponding to the target virtual key on the first sensing area; wherein the first sensing area includes at least one of the N sensing areas; the function corresponding to the target virtual key is related to the first parameter The above-mentioned first parameter is used to indicate the working mode or running application of the above-mentioned electronic device.
可选地,如图11所示,该电子设备600还包括:设置模块603;其中,设置模块603用于根据第一参数,调节第二感应区域的工作状态;其中,上述第二感应区域包括上述N个感应区域中的至少一个,任一感应区域的工作状态包括:禁用状态或启用状态;调节后的第二感应区域中处于启动状态的感应区域包括:上述第一感应区域。Optionally, as shown in FIG. 11, the electronic device 600 further includes: a setting module 603; wherein, the setting module 603 is configured to adjust the working state of the second sensing area according to the first parameter; wherein, the second sensing area includes At least one of the above-mentioned N sensing regions, the working state of any sensing region includes: a disabled state or an enabled state; the sensing region in the activated state in the adjusted second sensing region includes: the above-mentioned first sensing region.
可选地,上述目标区域内设置有至少一个第一虚拟按键;上述设置模块603,用于根据第一参数和第二参数,在上述目标区域,设置上述目标虚拟按键;其中,上述目标区域包括上述第一感应区域,上述第二参数用于指示上述第一虚拟按键的以下至少一项信息:虚拟按键的数量,虚拟按键的功能,虚拟按键对应感应区域的区域大小。Optionally, at least one first virtual button is set in the target area; the setting module 603 is configured to set the target virtual button in the target area according to the first parameter and the second parameter; wherein, the target area includes In the first sensing area, the second parameter is used to indicate at least one of the following information of the first virtual key: the number of virtual keys, the function of the virtual key, and the area size of the virtual key corresponding to the sensing area.
可选地,如图11所示,该电子设备600还包括:确定模块604;其中,上述确定模块604,用于根据第一参数和用户触控上述目标虚拟按键的历史触控信息,确定上述目标虚拟按键的目标感应区域;上述设置模块603,用于将目标虚拟按键的感应区域调节为上述确定模块604确定的目标感应区域。所述目标感应区域包括所述第一感应区域。Optionally, as shown in FIG. 11, the electronic device 600 further includes: a determining module 604; wherein, the determining module 604 is configured to determine the aforementioned target virtual key according to the first parameter and the historical touch information of the user touching the aforementioned target virtual key. The target sensing area of the target virtual key; the setting module 603 is configured to adjust the sensing area of the target virtual key to the target sensing area determined by the determining module 604. The target sensing area includes the first sensing area.
可选地,上述执行模块602,具体用于在该电子设备600显示目标应用程序的第 一界面的情况下,根据第一参数,执行上述感应区域上的上述目标虚拟按键对应的操作,上述第一参数用于指示上述目标应用程序。Optionally, the aforementioned execution module 602 is specifically configured to execute the operation corresponding to the aforementioned target virtual button on the aforementioned sensing area according to the first parameter when the electronic device 600 displays the first interface of the target application. A parameter is used to indicate the above-mentioned target application.
本公开实施例提供的电子设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided in the embodiment of the present disclosure can implement each process implemented by the terminal device in the foregoing method embodiment, and in order to avoid repetition, details are not described herein again.
本公开实施例提供的电子设备,在具备多个感应区域的情况下,由于上述感应区域中的虚拟按键的功能与该电子设备的工作模式或运行的应用程序相关,因此,当电子设备接收到用户对感应区域的触控输入后,便可根据该电子设备的工作模式或运行的应用程序,执行对应虚拟按键的功能。如此,不仅提高了虚拟按键的使用效率,还最大化的利用了虚拟按键的资源。In the electronic device provided by the embodiments of the present disclosure, in the case of having multiple sensing areas, since the function of the virtual button in the sensing area is related to the working mode or running application of the electronic device, when the electronic device receives After the user touches the sensing area, the function of the corresponding virtual key can be executed according to the working mode of the electronic device or the running application. In this way, not only the use efficiency of the virtual keys is improved, but also the resources of the virtual keys are maximized.
需要说明的是,如图11所示,电子设备600中一定包括的模块用实线框示意,如接收模块601;电子设备600中可以包括也可以不包括的模块用虚线框示意,如确定模块604。It should be noted that, as shown in FIG. 11, the modules that must be included in the electronic device 600 are indicated by solid lines, such as the receiving module 601; the modules that may or may not be included in the electronic device 600 are indicated by dashed boxes, such as the determination module 604.
以电子设备为终端设备为例,图12为实现本公开各个实施例的一种终端设备的硬件结构示意图,该终端设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图12中示出的终端设备100的结构并不构成对终端设备的限定,终端设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备100包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。Taking an electronic device as a terminal device as an example, FIG. 12 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure. The terminal device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, The input unit 104, the sensor 105, the display unit 106, the user input unit 107, the interface unit 108, the memory 109, the processor 110, and the power supply 111 and other components. Those skilled in the art can understand that the structure of the terminal device 100 shown in FIG. 12 does not constitute a limitation on the terminal device. The terminal device 100 may include more or less components than those shown in the figure, or combine certain components, or Different component arrangements. In the embodiments of the present disclosure, the terminal device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
其中,用户输入单元107,用于接收用户对第一感应区域的触控输入;处理器110,用于响应于上述触控输入,电子设备根据第一参数,执行上述第一感应区域上的目标虚拟按键对应的功能;其中,上述第一感应区域包括上述N个感应区域中的至少一个;上述目标虚拟按键对应的功能是与上述第一参数相关联的;上述第一参数用于指示上述电子设备的工作模式或运行的应用程序。The user input unit 107 is configured to receive a user's touch input on the first sensing area; the processor 110 is configured to respond to the above touch input, and the electronic device executes the target on the first sensing area according to the first parameter. The function corresponding to the virtual key; wherein, the first sensing area includes at least one of the N sensing areas; the function corresponding to the target virtual key is associated with the first parameter; the first parameter is used to indicate the electronic The working mode of the device or the running application.
本公开实施例提供的终端设备,该终端设备在具备多个感应区域的情况下,由于上述感应区域中的虚拟按键的功能与该电子设备的工作模式或运行的应用程序相关, 因此,当终端设备接收到用户对感应区域的触控输入后,便可根据该终端设备的工作模式或运行的应用程序,执行对应虚拟按键的功能。如此,不仅提高了虚拟按键的使用效率,还最大化的利用了虚拟按键的资源。In the terminal device provided by the embodiments of the present disclosure, when the terminal device has multiple sensing areas, since the function of the virtual button in the sensing area is related to the working mode or running application of the electronic device, when the terminal After the device receives the user's touch input on the sensing area, it can execute the function of the corresponding virtual key according to the working mode of the terminal device or the running application. In this way, not only the use efficiency of the virtual keys is improved, but also the resources of the virtual keys are maximized.
应理解的是,本公开实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
终端设备100通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device 100 provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
终端设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向, 可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the terminal device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端设备100的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the terminal device 100. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图12中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端设备100的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端设备100的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 12, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the terminal device 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be combined. The input and output functions of the terminal device 100 are realized by integration, which is not specifically limited here.
接口单元108为外部装置与终端设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、 存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备100内的一个或多个元件或者可以用于在终端设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device with the terminal device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) and transmit the received input to one or more elements in the terminal device 100 or can be used to connect to the terminal device 100 and external devices. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是终端设备100的控制中心,利用各种接口和线路连接整个终端设备100的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端设备100的各种功能和处理数据,从而对终端设备100进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the terminal device 100. It uses various interfaces and lines to connect the various parts of the entire terminal device 100, runs or executes software programs and/or modules stored in the memory 109, and calls and stores them in the memory 109. The data of the terminal device 100 performs various functions and processing data, so as to monitor the terminal device 100 as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
终端设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,终端设备100包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 100 includes some functional modules not shown, which will not be repeated here.
可选地,本公开实施例还提供一种终端设备,包括处理器,存储器,存储在存储器上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器执行时实现上述触控响应方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and running on the processor 110. When the computer program is executed by the processor, the above-mentioned touch is realized. Each process of the embodiment of the control response method can achieve the same technical effect. To avoid repetition, details are not repeated here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述触控响应方法实施例的各个过程, 且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned touch response method embodiment is realized, and the same Technical effects, in order to avoid repetition, I will not repeat them here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, without departing from the purpose of the present disclosure and the scope of protection of the claims, many forms can be made, all of which fall within the protection of the present disclosure.

Claims (12)

  1. 一种触控响应方法,应用于电子设备,所述电子设备具有N个感应区域,N为正整数,所述方法包括:A touch response method is applied to an electronic device, the electronic device has N sensing areas, where N is a positive integer, and the method includes:
    接收用户对第一感应区域的触控输入;Receiving a user's touch input to the first sensing area;
    响应于所述触控输入,根据第一参数,执行所述第一感应区域上的目标虚拟按键对应的功能;In response to the touch input, execute the function corresponding to the target virtual key on the first sensing area according to the first parameter;
    其中,所述第一感应区域包括所述N个感应区域中的至少一个;所述目标虚拟按键对应的功能是与所述第一参数相关联的;所述第一参数用于指示所述电子设备的工作模式或运行的应用程序。Wherein, the first sensing area includes at least one of the N sensing areas; the function corresponding to the target virtual key is associated with the first parameter; the first parameter is used to indicate the electronic The working mode of the device or the running application.
  2. 根据权利要求1所述的方法,其中,所述根据第一参数,执行所述第一感应区域上的目标虚拟按键对应的操作之前,所述方法还包括:The method according to claim 1, wherein, before performing the operation corresponding to the target virtual key on the first sensing area according to the first parameter, the method further comprises:
    根据第一参数,调节第二感应区域的工作状态;According to the first parameter, adjust the working state of the second sensing area;
    其中,所述第二感应区域包括所述N个感应区域中的至少一个,任一感应区域的工作状态包括:禁用状态或启用状态;Wherein, the second sensing area includes at least one of the N sensing areas, and the working state of any sensing area includes: a disabled state or an enabled state;
    调节后的第二感应区域中处于启动状态的感应区域包括:所述第一感应区域。The sensing area in the activated state in the adjusted second sensing area includes: the first sensing area.
  3. 根据权利要求1所述的方法,其中,目标区域内设置有至少一个第一虚拟按键;The method according to claim 1, wherein at least one first virtual button is arranged in the target area;
    所述根据所述第一参数,执行所述第一感应区域上的目标虚拟按键对应的功能之前,所述方法还包括:Before executing the function corresponding to the target virtual key on the first sensing area according to the first parameter, the method further includes:
    根据第一参数和第二参数,在所述目标区域,设置所述目标虚拟按键;Setting the target virtual button in the target area according to the first parameter and the second parameter;
    其中,所述目标区域包括所述第一感应区域,所述第二参数用于指示所述第一虚拟按键的以下至少一项信息:虚拟按键的数量,虚拟按键的功能,虚拟按键对应感应区域的区域大小。Wherein, the target area includes the first sensing area, and the second parameter is used to indicate at least one of the following information of the first virtual key: the number of virtual keys, the function of the virtual key, and the sensing area corresponding to the virtual key The size of the area.
  4. 根据权利要求1所述的方法,其中,所述根据第一参数,执行所述第一感应区域上的目标虚拟按键对应的功能之前,所述方法还包括:The method according to claim 1, wherein, before executing the function corresponding to the target virtual key on the first sensing area according to the first parameter, the method further comprises:
    根据第一参数和用户触控所述目标虚拟按键的历史触控信息,确定所述目标虚拟按键的目标感应区域;Determine the target sensing area of the target virtual button according to the first parameter and the historical touch information of the user touching the target virtual button;
    将所述目标虚拟按键的感应区域调节为所述目标感应区域;Adjusting the sensing area of the target virtual key to the target sensing area;
    其中,所述目标感应区域包括所述第一感应区域。Wherein, the target sensing area includes the first sensing area.
  5. 根据权利要求1所述的方法,其中,所述根据第一参数,执行所述感应区域上的目标虚拟按键对应的操作,包括:The method according to claim 1, wherein the executing the operation corresponding to the target virtual key on the sensing area according to the first parameter comprises:
    在所述电子设备显示目标应用程序的第一界面的情况下,根据第一参数,执行所述感应区域上的所述目标虚拟按键对应的操作,所述第一参数用于指示所述目标应用程序。In the case that the electronic device displays the first interface of the target application, the operation corresponding to the target virtual key on the sensing area is performed according to the first parameter, and the first parameter is used to indicate the target application program.
  6. 一种电子设备,所述电子设备具有N个感应区域,N为正整数,所述电子设备包括:An electronic device, the electronic device has N sensing areas, N is a positive integer, and the electronic device includes:
    接收模块,用于接收用户对第一感应区域的触控输入;The receiving module is used to receive the user's touch input to the first sensing area;
    执行模块,用于响应于所述接收模块接收的所述触控输入,根据第一参数,执行所述第一感应区域上的目标虚拟按键对应的功能;An execution module, configured to execute a function corresponding to a target virtual key on the first sensing area according to a first parameter in response to the touch input received by the receiving module;
    其中,所述第一感应区域包括所述N个感应区域中的至少一个;所述目标虚拟按键对应的功能是与所述第一参数相关联的;所述第一参数用于指示所述电子设备的工作模式或运行的应用程序。Wherein, the first sensing area includes at least one of the N sensing areas; the function corresponding to the target virtual key is associated with the first parameter; the first parameter is used to indicate the electronic The working mode of the device or the running application.
  7. 根据权利要求6所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 6, wherein the electronic device further comprises:
    设置模块,用于根据第一参数,调节第二感应区域的工作状态;The setting module is used to adjust the working state of the second sensing area according to the first parameter;
    其中,所述第二感应区域包括所述N个感应区域中的至少一个,任一感应区域的工作状态包括:禁用状态或启用状态;Wherein, the second sensing area includes at least one of the N sensing areas, and the working state of any sensing area includes: a disabled state or an enabled state;
    调节后的第二感应区域中处于启动状态的感应区域包括:所述第一感应区域。The sensing area in the activated state in the adjusted second sensing area includes: the first sensing area.
  8. 根据权利要求6所述的电子设备,其中,目标区域内设置有至少一个第一虚拟按键:The electronic device according to claim 6, wherein at least one first virtual button is arranged in the target area:
    所述电子设备还包括:The electronic device also includes:
    设置模块,用于根据第一参数和第二参数,在所述目标区域,设置所述目标虚拟按键;A setting module, configured to set the target virtual key in the target area according to the first parameter and the second parameter;
    其中,所述目标区域包括所述第一感应区域,所述第二参数用于指示所述第一虚拟按键的以下至少一项信息:虚拟按键的数量,虚拟按键的功能,虚拟按键对应感应区域的区域大小。Wherein, the target area includes the first sensing area, and the second parameter is used to indicate at least one of the following information of the first virtual key: the number of virtual keys, the function of the virtual key, and the sensing area corresponding to the virtual key The size of the area.
  9. 根据权利要求6所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 6, wherein the electronic device further comprises:
    确定模块,用于根据第一参数和用户触控所述目标虚拟按键的历史触控信息,确定所述目标虚拟按键的目标感应区域;A determining module, configured to determine the target sensing area of the target virtual key according to the first parameter and the historical touch information of the user touching the target virtual key;
    设置模块,用于将所述目标虚拟按键的感应区域调节为所述确定模块确定的所述目标感应区域;A setting module, configured to adjust the sensing area of the target virtual key to the target sensing area determined by the determining module;
    其中,所述目标感应区域包括所述第一感应区域。Wherein, the target sensing area includes the first sensing area.
  10. 根据权利要求6所述的电子设备,其中,The electronic device according to claim 6, wherein:
    所述执行模块,具体用于在所述电子设备显示目标应用程序的第一界面的情况下,根据第一参数,执行所述感应区域上的所述目标虚拟按键对应的操作,所述第一参数用于指示所述目标应用程序。The execution module is specifically configured to execute the operation corresponding to the target virtual key on the sensing area according to the first parameter when the electronic device displays the first interface of the target application, the first The parameter is used to indicate the target application.
  11. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的触控响应方法的步骤。A terminal device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to implement any of claims 1 to 5 One of the steps of the touch response method.
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的触控响应方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the touch response method according to any one of claims 1 to 5 are realized.
PCT/CN2020/124694 2019-10-31 2020-10-29 Touch-control response method and electronic device WO2021083256A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911063089.5A CN110908579B (en) 2019-10-31 2019-10-31 Touch response method and electronic equipment
CN201911063089.5 2019-10-31

Publications (1)

Publication Number Publication Date
WO2021083256A1 true WO2021083256A1 (en) 2021-05-06

Family

ID=69816191

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124694 WO2021083256A1 (en) 2019-10-31 2020-10-29 Touch-control response method and electronic device

Country Status (2)

Country Link
CN (1) CN110908579B (en)
WO (1) WO2021083256A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986113A (en) * 2021-10-29 2022-01-28 深圳电器公司 Information determination method and related device
CN114518158A (en) * 2022-01-28 2022-05-20 厦门顶尖电子有限公司 Touch identification scale and label printing triggering method based on touch identification scale

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908579B (en) * 2019-10-31 2022-02-22 维沃移动通信有限公司 Touch response method and electronic equipment
CN111459382A (en) * 2020-03-30 2020-07-28 维沃移动通信有限公司 Touch input method and electronic equipment
CN112295235B (en) * 2020-10-30 2022-04-22 联想(北京)有限公司 Processing method and processing device
CN113050834B (en) * 2021-03-26 2023-07-21 联想(北京)有限公司 Information processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150054778A1 (en) * 2012-02-29 2015-02-26 Zte Corporation Method for processing touch operation and mobile terminal
CN105760102A (en) * 2014-09-22 2016-07-13 努比亚技术有限公司 Terminal interaction control method and device and application-program interaction control method
CN106791155A (en) * 2017-01-03 2017-05-31 努比亚技术有限公司 A kind of volume adjustment device, volume adjusting method and mobile terminal
CN110908579A (en) * 2019-10-31 2020-03-24 维沃移动通信有限公司 Touch response method and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6594298B2 (en) * 2013-06-19 2019-10-23 トムソン ライセンシング Method and apparatus for distinguishing between holding screen and touching screen
CN105739896B (en) * 2015-03-26 2019-06-28 努比亚技术有限公司 Mobile terminal and its touch operation method
CN106569647A (en) * 2016-10-31 2017-04-19 努比亚技术有限公司 Mobile terminal and mobile terminal control method
CN106557123A (en) * 2016-11-30 2017-04-05 努比亚技术有限公司 Mobile terminal and control the apparatus and method that its virtual key shows
CN106775097A (en) * 2016-12-27 2017-05-31 努比亚技术有限公司 A kind for the treatment of method and apparatus of neighboring edge touch-control interaction
CN108255404B (en) * 2018-01-19 2021-07-16 Oppo广东移动通信有限公司 User interface display method and device and terminal
CN108845752A (en) * 2018-06-27 2018-11-20 Oppo广东移动通信有限公司 touch operation method, device, storage medium and electronic equipment
CN109634503B (en) * 2018-07-26 2021-01-08 维沃移动通信有限公司 Operation response method and mobile terminal
CN109062496B (en) * 2018-08-09 2021-05-25 北京金山安全软件有限公司 Method and device for adjusting operation area, mobile terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150054778A1 (en) * 2012-02-29 2015-02-26 Zte Corporation Method for processing touch operation and mobile terminal
CN105760102A (en) * 2014-09-22 2016-07-13 努比亚技术有限公司 Terminal interaction control method and device and application-program interaction control method
CN106791155A (en) * 2017-01-03 2017-05-31 努比亚技术有限公司 A kind of volume adjustment device, volume adjusting method and mobile terminal
CN110908579A (en) * 2019-10-31 2020-03-24 维沃移动通信有限公司 Touch response method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986113A (en) * 2021-10-29 2022-01-28 深圳电器公司 Information determination method and related device
CN114518158A (en) * 2022-01-28 2022-05-20 厦门顶尖电子有限公司 Touch identification scale and label printing triggering method based on touch identification scale

Also Published As

Publication number Publication date
CN110908579B (en) 2022-02-22
CN110908579A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
US20220276909A1 (en) Screen projection control method and electronic device
US11210049B2 (en) Display control method and terminal
WO2021083256A1 (en) Touch-control response method and electronic device
US11496835B2 (en) Speaker control method and mobile terminal
WO2021082741A1 (en) Display method and electronic device
WO2020042785A1 (en) Application display method and mobile terminal
US11258893B2 (en) Method for prompting notification message and mobile terminal
WO2020233285A1 (en) Message display method and terminal device
US11604567B2 (en) Information processing method and terminal
US11658932B2 (en) Message sending method and terminal device
US11838438B2 (en) Message viewing method and terminal
WO2019196864A1 (en) Control method for virtual button and mobile terminal
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN109407948B (en) Interface display method and mobile terminal
WO2021037074A1 (en) Audio output method and electronic apparatus
WO2020181956A1 (en) Method for displaying application identifier, and terminal apparatus
WO2021031717A1 (en) Screen capturing method and terminal device
WO2021129850A1 (en) Voice message playback method and electronic device
WO2020192323A1 (en) Sim card selection method and terminal device
WO2021088706A1 (en) Method for controlling application program and electronic device
WO2021164739A1 (en) Control method for electronic device and electronic device
WO2021098604A1 (en) Parameter adjustment method and electronic device
WO2021098696A1 (en) Touch-control method and electronic device
WO2020038143A1 (en) Display interface processing method and mobile terminal
CN111078186A (en) Playing method and electronic 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: 20882122

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

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.11.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20882122

Country of ref document: EP

Kind code of ref document: A1