A touch control method and electronic device

CN122945877APending Publication Date: 2026-10-20HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510460869.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2026-10-20

AI Technical Summary

Technical Problem

[0002]随着终端设备的形态变化,终端设备的触控板的形状和面积也在发生变化,如笔记本电脑的触控区域从原始的键盘下方中间区域发展为键盘下方的全部区域,触控板区域面积增大可以为用户带来更多的操作空间,但是并没有改变触控逻辑

Benefits of technology

[0015]在一种可能的设计中,所述第一操作为点击操作,或者所述第一操作包括所述用户在所述触控区的第二位置落下手指、并滑动至所述第一位置后抬手的操作。通过该设计,当用户在映射区落下手指的位置对应的显示界面中的控件位置并不是用户期望的位置时,用户可以保持触摸状态移动手指,直至用户控制光标落在用户期望的目标控件上时,用户可以抬手,从而解决用户在触控区进行操作时无法精准点击控件的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0005357635700000011
    Figure HDA0005357635700000011
  • Figure HDA0005357635700000021
    Figure HDA0005357635700000021
  • Figure HDA0005357635700000031
    Figure HDA0005357635700000031
Patent Text Reader

Abstract

This application provides a touch control method and an electronic device. In this method, in response to a first operation triggered by a user at a first position in the touch area, the electronic device determines the target control corresponding to the first position according to a control mapping relationship. The control mapping relationship includes the correspondence between a mapping area in the touch area and at least one control on the display interface of the electronic device, where the first position belongs to the mapping area. The electronic device executes the target response action corresponding to the target control. Through this scheme, the electronic device can preset the correspondence between the mapping area in the touch area and the control positions on the display interface. When a user triggers a first operation at the first position in the touch area, the electronic device can execute the corresponding response action according to the first operation and the control corresponding to the first position. This eliminates the need for the user to repeatedly control the focus on the touchpad to operate the control, reducing the complexity of user operations and providing a convenient touch control method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a touch control method and an electronic device. Background Technology

[0002] As the form factor of terminal devices changes, the shape and area of ​​their touchpads also change. For example, the touch area on laptops has evolved from the original central area below the keyboard to the entire area below the keyboard. While the increased touchpad area provides users with more operating space, it hasn't changed the touch logic. When operating on the touchpad, users need to repeatedly swipe with one finger to focus the cursor on the desired target, then tap or press to select it. This swiping and focusing process is time-consuming, impacting the user experience.

[0003] For laptops with touchscreens, users can directly tap on the controls displayed on the screen to trigger the selection. However, the movement of lifting the user's hand from the keyboard to the touchscreen is relatively large, and tapping the screen may cause screen shaking, resulting in a poor user experience.

[0004] In summary, current terminal touch control methods have poor operability, which affects the user experience. Summary of the Invention

[0005] This application provides a touch control method and an electronic device, which provides a solution for conveniently controlling electronic device controls through a touch area.

[0006] In a first aspect, this application provides a touch control method that can be executed by an electronic device. In this method, in response to a first operation triggered by a user at a first position in a touch area, the electronic device determines a target control corresponding to the first position according to a control mapping relationship. The control mapping relationship includes a correspondence between a mapping area in the touch area and at least one control in the display interface of the electronic device, wherein the first position belongs to the mapping area; the electronic device executes a target response action corresponding to the target control.

[0007] In the above method, the electronic device can preset the correspondence between the mapping area in the touch area and the position of the control in the display interface. When the user triggers the first operation at the first position in the touch area, the electronic device can perform the corresponding response action according to the first operation and the control corresponding to the first position. The user can operate the control without having to control the focus multiple times in the touchpad, and the user does not need to repeatedly raise their hand to perform touch operation on the screen or repeatedly switch between mouse and keyboard operation, reducing the complexity of the user's operation and providing a convenient touch method.

[0008] In one possible design, after determining the target control corresponding to the first position based on the control mapping relationship, the method further includes: displaying a cursor at the position corresponding to the target control. With this design, the electronic device can display the cursor at a corresponding position on the display interface based on the first position triggered by the user's operation, achieving rapid positioning of the target control and movement of the cursor without multiple focus adjustments, reducing user operations and improving the user experience.

[0009] In one possible design, before determining the target control corresponding to the first position based on the control mapping relationship in response to a first operation triggered by the user at a first position in the touch area, the method further includes: detecting the current scene, determining that the current scene meets a first condition, and enabling the control mapping function of the mapping area; or enabling the control mapping function of the mapping area in response to a second operation by the user. With this design, the electronic device can enable the control mapping function of the mapping area only when the current scene meets the preset first condition, thereby deciding whether to enable the control mapping function of the mapping area based on whether control mapping is required in the scene. This better meets user needs and avoids interference with the user's normal touch operations caused by the mapping area being enabled for an extended period.

[0010] In one possible design, the first condition includes at least one of the following: the display interface of the electronic device includes controls with configured control mapping relationships; the target application running on the electronic device is any application with configured control mapping relationships. Through this design, the electronic device can pre-configure controls corresponding to the mapping area, and the electronic device can configure control mapping relationships for at least one installed application. When the electronic device detects that the current display interface includes controls with configured control mapping relationships or that an application with configured control mapping relationships is currently running, the control mapping function of the mapping area is then enabled, making the touch method provided in this application more suitable for the needs of application scenarios.

[0011] In one possible design, enabling the control mapping function of the mapping area includes configuring a portion of the touch area as the mapping area. Through this design, the electronic device can configure a portion of the touch area as a mapping area to enable the control mapping function of the mapping area, thereby enriching the functions that the touch area can provide, offering users a more convenient touch solution, and improving user interaction efficiency.

[0012] In one possible design, the target control is a system control of the electronic device, or the target control is a control in the application interface of a target application displayed on the electronic device, wherein the target application is any application on the electronic device for which the control mapping relationship has been configured.

[0013] In one possible design, the method further includes: obtaining the position of the at least one control in the display interface; determining at least one sub-region from the mapping area based on the position of the at least one control; and generating the control mapping relationship based on the position of the at least one control and the position of the sub-region corresponding to each control. With this design, the electronic device can divide the mapping area into corresponding sub-regions based on the position of the control in the display interface and store the correspondence between the control position and the position of the sub-region corresponding to the control, thereby facilitating the electronic device to find the corresponding control based on user operation and execute the corresponding response action.

[0014] In one possible design, the horizontal position of each of the at least one controls in the display interface corresponds to the horizontal position of its corresponding sub-region in the mapping area, and / or, the vertical position of each of the at least one controls in the display interface corresponds to the vertical position of its corresponding sub-region in the mapping area. This design ensures that the layout of multiple sub-regions in the mapping area is as consistent as possible with the layout of multiple controls in the display interface, making it easier for users to understand the possible positions of different controls within the mapping area and thus enabling quick operation.

[0015] In one possible design, the first operation is a click operation, or the first operation includes the user placing their finger at a second position on the touch area, sliding it to the first position, and then lifting their hand. With this design, when the position of a control on the display interface corresponding to the user's finger placement in the mapping area is not the user's desired position, the user can maintain the touch state and move their finger until the cursor lands on the desired target control, at which point the user can lift their hand, thus solving the problem of users being unable to accurately click controls when operating on the touch area.

[0016] In one possible design, the method further includes: responding to a second operation triggered by the user at a third position in the mapping area, determining a target parameter corresponding to the third position based on a preset correspondence between the mapping area and parameters of the electronic device; and adjusting the target parameter according to the second operation. Through this design, the electronic device can also be configured with a correspondence between the mapping area and parameters, allowing users to conveniently control and adjust the parameters of the electronic device within the mapping area, reducing the complex operation of searching for parameter settings and then adjusting the parameters, thus improving the user experience.

[0017] In one possible design, the parameters of the electronic device include at least one of volume, brightness, and multimedia playback progress.

[0018] In one possible design, the touch area of ​​the electronic device is any of the following: a touchpad of the electronic device, an external touchpad of the electronic device, a touch area of ​​a keyboard connected to the electronic device, a touch area of ​​the electronic device projected onto any plane, or a virtual touch area displayed by the electronic device. Through this design, this application can provide various styles of touch areas to meet the touch needs of users using different types of electronic devices or in different scenarios.

[0019] In one possible design, the mapping area of ​​the electronic device includes a first mapping area and a second mapping area. The first mapping area is located at the top of the touch area below the keyboard area, and the second mapping area is located in the touch area above the keyboard area. The control mapping relationship includes the correspondence between the first mapping area and at least one option control in the system menu controls and option bar of the electronic device, and the correspondence between the second mapping area and the close control, maximize control, and minimize control in the display interface of the electronic device. This design allows mapping areas to be set in the touch area above the keyboard and the top touch area below the keyboard. These mapping areas are used to map multiple frequently used controls in the display interface, facilitating convenient user operation of frequently used controls and improving user interaction efficiency.

[0020] In one possible design, the mapping area of ​​the electronic device includes a third mapping area and a fourth mapping area. The third mapping area is located in the touch area to the left of the keyboard area, and the fourth mapping area is located in the touch area to the right of the keyboard area. The control mapping relationship includes the correspondence between the third mapping area and the zoom function of the electronic device, and the correspondence between the fourth mapping area and the progress bar control in the display interface of the electronic device. This design allows mapping areas to be set in the touch areas to the left and right of the keyboard, and these mapping areas are used to control the zoom function and progress bar control of the electronic device, conforming to the user's operating logic and providing a convenient touch solution.

[0021] In one possible design, the method further includes: responding to a third operation triggered by a user in a preset area of ​​the mapping area, activating a preset function corresponding to the preset area; the preset function is any one of the following: voice assistant, AI assistant, screen lock, screen snapshot, dictionary, copy, and paste. Through this design, the preset area in the mapping area can also be used to quickly activate preset functions, facilitating users to quickly use commonly used functions such as AI assistants and screen snapshots, thus meeting users' needs for quick interaction.

[0022] In one possible design, after enabling the control mapping function of the mapping area, the method further includes: displaying a prompt message to remind the user that the control mapping function of the current mapping area is available, and / or controlling an indicator light in the mapping area to illuminate, the indicator light indicating that the control mapping function of the current mapping area is available. With this design, the electronic device can remind the user after enabling the control mapping function of the mapping area, allowing the user to promptly use the mapping area for quick control of controls, thus improving the user experience.

[0023] In one possible design, the display interface of the electronic device is any of the following interfaces: system interface, browser application interface, video player application interface, slideshow application interface, meeting application interface, social application interface, reading application interface, and game application interface. Through this design, this application can configure control mapping relationships for various types of applications, allowing users to quickly control controls in different applications through the mapping area when using services provided by different applications, thus improving interaction efficiency.

[0024] Secondly, this application provides an electronic device comprising multiple functional modules; the multiple functional modules interact to implement the methods performed by the electronic device in the first aspect and its various embodiments described above. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on specific implementations.

[0025] Thirdly, this application provides an electronic device including at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor executes the methods described in the first aspect and its various embodiments.

[0026] Fourthly, this application also provides a computer program product containing instructions that, when the computer program product is run on a computer, cause the computer to perform the method executed by the electronic device in any of the above aspects and embodiments.

[0027] Fifthly, this application also provides a computer-readable storage medium storing a computer program that, when executed by a computer, causes the computer to perform the method executed by the electronic device in any of the above aspects and embodiments.

[0028] Sixthly, this application also provides a chip for reading a computer program stored in a memory and executing the method executed by the electronic device in any of the above aspects and embodiments.

[0029] Seventhly, this application also provides a chip system including a processor for supporting a computer device in implementing the methods executed by electronic devices in any of the above aspects and their embodiments. In one possible design, the chip system further includes a memory for storing programs and data necessary for the computer device. The chip system may be composed of chips or may include chips and other discrete devices. Attached Figure Description

[0030] Figure 1 A schematic diagram of a laptop computer provided for an embodiment of this application;

[0031] Figure 2 A schematic diagram of an electronic device provided in an embodiment of this application;

[0032] Figure 3 A schematic diagram of an external contact control board for an electronic device provided in an embodiment of this application;

[0033] Figure 4 This application provides a schematic diagram of a touch area based on projection technology.

[0034] Figure 5 A schematic diagram of the touch area of ​​a keyboard provided in an embodiment of this application;

[0035] Figure 6 A schematic diagram of a virtual touch area provided in an embodiment of this application;

[0036] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0037] Figure 8 A software structure block diagram of an electronic device provided in an embodiment of this application;

[0038] Figure 9 This is a schematic diagram of a mapping area provided in an embodiment of this application;

[0039] Figure 10 This is a schematic diagram illustrating a control mapping relationship provided in an embodiment of this application;

[0040] Figure 11 This is a schematic diagram illustrating a control mapping relationship provided in an embodiment of this application;

[0041] Figure 12 This is a schematic diagram illustrating a control mapping relationship provided in an embodiment of this application;

[0042] Figure 13 An example diagram illustrating a mapping relationship of a mapping region provided in an embodiment of this application;

[0043] Figure 14A schematic diagram of an interface for configuring control mapping relationships provided in an embodiment of this application;

[0044] Figure 15 A schematic diagram illustrating an adjustment of control mapping relationships provided in an embodiment of this application;

[0045] Figure 16 A schematic diagram of a mapping area provided in an embodiment of this application;

[0046] Figure 17 A schematic diagram illustrating a touch control method provided in an embodiment of this application;

[0047] Figure 18 A schematic diagram illustrating a touch control method provided in an embodiment of this application;

[0048] Figure 19 A schematic diagram illustrating a touch control method provided in an embodiment of this application;

[0049] Figure 20 A schematic diagram illustrating a touch control method provided in an embodiment of this application;

[0050] Figure 21 A schematic diagram illustrating a touch control method provided in an embodiment of this application;

[0051] Figure 22 A flowchart illustrating a touch control method provided in an embodiment of this application;

[0052] Figure 23 An example diagram of a touch method provided in an embodiment of this application;

[0053] Figure 24 An example diagram of a touch method provided in an embodiment of this application;

[0054] Figure 25 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application;

[0055] Figure 26 An example diagram of a touch method provided in an embodiment of this application;

[0056] Figure 27 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application;

[0057] Figure 28 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application;

[0058] Figure 29 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application;

[0059] Figure 30 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application;

[0060] Figure 31 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application;

[0061] Figure 32 A schematic diagram illustrating a touch control method provided in an embodiment of this application;

[0062] Figure 33 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application;

[0063] Figure 34 This is a flowchart of a touch method provided in an embodiment of this application. Detailed Implementation

[0064] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings. In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature.

[0065] It should be understood that in the embodiments of this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0066] For electronic devices that include touchpads or support cursor control via touchpads, users can control the cursor's movement and trigger actions such as clicks, double-clicks, and swipes on the touchpad. For example, Figure 1 A schematic diagram of a laptop computer provided in an embodiment of this application is shown below. Figure 1The laptop features a touchpad below the keyboard. Users can use multiple single-finger swipes on the touchpad to control the cursor, placing it on the desired target. A tap or press selects the target, which can be a control or other interactive element within the application or system interface. However, this focus-control process is time-consuming, negatively impacting the user experience.

[0067] While touchscreen laptops have solved the problem of requiring users to manually control focus to select a target, they require users to lift their hands from the keyboard to the touchscreen, which is a significant movement. Switching between different input methods is not convenient, and tapping the screen may cause screen shaking, resulting in a poor user experience.

[0068] To address the above problems, this application provides a touch control method that can be executed by an electronic device. The following describes the applicable scenarios for the touch control method provided in this application, such as... Figure 2 A schematic diagram of an electronic device provided in an embodiment of this application, with reference to... Figure 2 In this application embodiment, the electronic device can be an electronic device including a touchpad, such as... Figure 2 As shown in (a), the touchpad can be the middle area below the keyboard area, or as shown in (a). Figure 2 As shown in (b), the touchpad can be the entire area below the keyboard area, or as shown in [the diagram]. Figure 2 As shown in (c) of Figure 2, the touchpad can also be any area in the lower half of the laptop except for the keyboard area. Or, as shown in (d) of Figure 2, the touchpad of an electronic device can also include the edge area around the display screen.

[0069] Figure 3 This is a schematic diagram of an external contact control board for an electronic device provided in an embodiment of this application, with reference to... Figure 3 Electronic devices can be devices that include displays, such as smart screens, tablets, computers, and displays. (Reference) Figure 3 In (a), the electronic device can externally contact the touchpad via wired or wireless means. Wireless means may include, for example, Wi-Fi, Bluetooth, or Starlink connections. After the touchpad detects a user's touch operation, it can send the user's touch operation to the electronic device, which then responds accordingly. Optionally, refer to... Figure 3 In (b), users can also reuse their other electronic devices as touchpads, such as their mobile phones or tablets.

[0070] Figure 4This application provides a schematic diagram of a touch area based on projection technology, referring to an embodiment of the present application. Figure 4 It can use technologies such as projection or infrared sensing to project onto any plane, thereby making the plane a touch area of ​​electronic devices. Electronic devices can detect the touch operations performed by users on the projected touch area and respond accordingly.

[0071] Figure 5 This is a schematic diagram of the touch area of ​​a keyboard provided in an embodiment of this application, with reference to... Figure 5 This keyboard can be a keyboard included within an electronic device or an external keyboard connected to an electronic device. The keyboard may include a touch area. Taking an external keyboard for an electronic device as an example... Figure 5 As shown in (a), the keyboard keys are surrounded by touch areas, or as... Figure 5 As shown in (b), the thickness edge of the keyboard can be the touch area.

[0072] Figure 6 This is a schematic diagram of a virtual touch area provided in an embodiment of this application, with reference to... Figure 6 The electronic device can also display a virtual touch area on the screen, where the user can trigger touch operations. In some embodiments, reference is made to... Figure 6 In (a), the virtual touch area can be located in the soft keyboard of the electronic device. The user can bring up the virtual touch area by waking up the soft keyboard. For example, the user can trigger the display of the soft keyboard including the virtual touch area by triggering an upward swipe operation on the display screen, or by triggering an operation on the control corresponding to the virtual soft keyboard to trigger the display of the soft keyboard including the virtual touch area. Figure 6 The location of the virtual touch area described in (a) is merely an example and not a limitation. In implementations, the soft keyboard may have other layout styles, and this application does not limit this. In some other embodiments, reference is made to... Figure 6 In (b), the virtual touch area can be located independently at any position on the display screen. For example, a user can set the virtual touch area to be located in the lower left corner of the display screen. The user can then trigger a preset operation in the lower left corner to bring up the virtual touch area. For example, the preset operation could be a double-tap operation, a multi-finger swipe operation, etc. Alternatively, the electronic device can also display an activation control related to the virtual touch area. The user can trigger an operation on the activation control to bring up the virtual touch area, or the user can also bring up the virtual touch area on the display screen using a preset shortcut key.

[0073] In this example, the electronic device can be a large-screen device. Since the screen size is large, it is difficult for users to operate on the screen. Therefore, the screen can display a virtual touch area in an area that is easy for users to operate and receive touch operations triggered by users in the virtual touch area.

[0074] It should be noted that the above Figures 2-6 The scenario shown is only an example of an embodiment of this application and is not a limitation. In practice, the touch method provided in the embodiment of this application can also be applied to other scenarios, and this embodiment of the application does not limit it.

[0075] In the touch control method provided in this application embodiment, in response to a first operation triggered by a user at a first position in the touch area, where the first position belongs to a mapping area within the touch area, the electronic device determines the target control corresponding to the first position based on a control mapping relationship. This control mapping relationship includes the correspondence between the mapping area in the touch area and at least one control on the display interface of the electronic device. A target response action corresponding to the target control is then executed. This target response action can be the response action when the first operation is applied to the target control. In this way, the electronic device can preset the correspondence between the touch area and the control positions on the display interface. When a user triggers a first operation at the first position in the touch area, the electronic device can execute a corresponding response action based on the first operation and the control corresponding to the first position. This eliminates the need for the user to repeatedly control the focus on the touchpad to operate the control, reducing the complexity of user operations and providing a convenient touch control method.

[0076] The following describes an electronic device and embodiments for using such an electronic device. The electronic device in this application embodiment can be a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a tablet computer, a mobile phone, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, a personal digital assistant (PDA), a wearable device, etc. This application embodiment does not impose any limitations on the specific type of electronic device.

[0077] In some embodiments of this application, the electronic device may also be a portable terminal device that includes other functions such as a personal digital assistant and / or a music player. Exemplary embodiments of the portable terminal device include, but are not limited to, devices equipped with... Or portable terminal devices with other operating systems.

[0078] Figure 7 This is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of this application. Figure 7As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0079] Processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. Processor 110 may also include memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that processor 110 has recently used or is repeatedly used. If processor 110 needs to reuse an instruction or data, it can directly retrieve it from the memory. This avoids repeated access, reduces the waiting time of processor 110, and thus improves system efficiency.

[0080] USB interface 130 is a USB standard compliant interface, specifically a Mini USB interface, Micro USB interface, USB Type-C interface, etc. USB interface 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. Charging management module 140 receives charging input from the charger. Power management module 141 connects battery 142, charging management module 140, and processor 110. Power management module 141 receives input from battery 142 and / or charging management module 140, providing power to processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.

[0081] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0082] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0083] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0084] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0085] The display screen 194 is used to display the display interface of an application, such as the display page of an application installed on the electronic device 100. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0086] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0087] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system and software code for at least one application program. The data storage area may store data generated during the use of electronic device 100 (e.g., captured images, recorded videos, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0088] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, images, videos, and other files can be saved on the external memory card.

[0089] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0090] The sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, etc.

[0091] The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.

[0092] Touch sensor 180C, also known as a "touch panel," can be located on display screen 194. The touch sensor 180C and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180C detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180C may also be located on the surface of electronic device 100, in a different position than display screen 194.

[0093] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. Electronic device 100 can receive button inputs and generate key signal inputs related to user settings and function control. Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, touch operations applied to different applications (such as taking photos, audio playback, etc.) can correspond to different vibration feedback effects. Touch vibration feedback effects can also be customized. Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, or to indicate messages, missed calls, notifications, etc. SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with electronic device 100.

[0094] Understandable, Figure 7The components shown do not constitute a specific limitation on the electronic device 100. The electronic device may also include more or fewer components than shown, or combine some components, or separate some components, or have different component arrangements. Furthermore, Figure 7 The combination / connection relationships between the components can also be adjusted and modified.

[0095] Figure 8 This is a software structure block diagram of an electronic device provided in an embodiment of this application. For example... Figure 8 As shown, the software architecture of an electronic device can be a layered architecture. For example, the software can be divided into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into four layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system libraries, and the kernel layer.

[0096] The application layer can include a series of application packages. For example... Figure 8 As shown, the application layer can include camera, settings, skin modules, user interface (UI), third-party applications, etc. Third-party applications can include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.

[0097] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer can include some predefined functions. For example... Figure 8 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, and notification manager.

[0098] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture screenshots. The content provider stores and retrieves data, making this data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0099] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0100] A phone manager is used to provide communication functions for electronic devices. For example, it manages call status (including connection and disconnection).

[0101] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0102] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0103] The runtime includes the core libraries and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.

[0104] The core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part contains the core libraries of the operating system. The application layer and application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0105] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), image processing libraries, etc.

[0106] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0107] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0108] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0109] A 2D graphics engine is a graphics engine for 2D drawing.

[0110] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0111] The hardware layer can include various types of sensors, such as accelerometers, gyroscopes, and touch sensors.

[0112] It should be noted that, Figure 7 and Figure 8 The structure shown is merely an example of an electronic device provided in this application embodiment and is not intended to limit the electronic device provided in this application embodiment in any way. In specific implementations, the electronic device may have more than Figure 7 or Figure 8 The structure shown may contain more or fewer devices or modules.

[0113] The touch method provided in the embodiments of this application is described below.

[0114] In the touch method provided in this application embodiment, a portion of the touch area of ​​the electronic device can serve as a mapping area. This mapping area receives user operations, and the electronic device can map the user's operations in the mapping area onto controls on the display interface, or adjust the parameters of the electronic device based on the user's operations in the mapping area. Optionally, in this application embodiment, the mapping area can be two areas different from the ordinary touch area in the touch area. The mapping area and the ordinary touch area can be two touch areas separated by hardware circuitry, or they can be two touch areas separated by an algorithm; alternatively, the mapping area can be a portion of the touch area configured with control mapping functionality. When the control mapping function of the mapping area is not enabled, the mapping area is still used as an ordinary touch area.

[0115] In some examples, the mapping area can be a portion of the touch area, a preset portion of the touch area, or the position and size of the mapping area can be dynamically adjusted based on the position of controls on the display interface, or the position and size of the mapping area can be customized by the user. For example, in the embodiments of this application, the touch area can be... Figure 2 The touchpad of the electronic device shown may be... Figure 3 The external contact control panel shown may be... Figure 4 The projection shown is onto the touch area of ​​any tablet, or it can be... Figure 5 The touch area near the keyboard shown may be... Figure 6 The virtual touch area is shown. The mapping area can be as described above. Figures 2-6 A portion of any of the touch areas shown.

[0116] by Figure 2 Taking the touch area of ​​the electronic device shown in (d) as an example, Figure 9 This is a schematic diagram of a mapping area provided in an embodiment of this application. (Reference) Figure 9 In (a), the mapping area may be located at the top of the touch area below the keyboard, and / or the mapping area may be located at the bottom of the touch area below the keyboard. See reference. Figure 9 In (b), the mapping area can be located in the touch area above the keyboard. (See reference) Figure 9 In (c), the mapping area can be located in the touch area on the left side of the keyboard, and / or, the mapping area can be located in the touch area on the right side of the keyboard. (See reference) Figure 9 In (d), the mapping area can be located in the touch area around the screen.

[0117] Optionally, in embodiments of this application, the electronic device may include one or more mapping areas; for example, the electronic device may include... Figure 9 One or more of the mapping regions shown in (a) to (d) are shown in the diagram.

[0118] In other examples, the mapping area can be a separate touch area in an electronic device; for example, the mapping area can be... Figure 9 The touch area above the keyboard is shown in (b). The electronic device can automatically or in response to user operation to enable the mapping area function. When the mapping area function is not enabled, touch operations triggered by the user in this area may not be detected, or the mapping area may also be used as a normal touch area.

[0119] In some embodiments, the electronic device can support enabling touch functionality in certain areas of the touch area, while areas where touch functionality is disabled will not detect user touch operations. For example, a user can configure which areas of the touch area have touch functionality enabled, and the electronic device can enable / disable touch functionality in those areas based on the user's settings. For instance, using... Figure 2 Taking the touch area of ​​the electronic device shown in (d) as an example, a user can enable the touch function in the area below the keyboard and disable the touch function in other areas. The electronic device can then receive touch input from the user in the touch area below the keyboard. As another example, a user can enable the touch function in the middle area below the keyboard and disable the touch function in other areas. The user can then input touch operations in the middle area below the keyboard. In this embodiment, the mapping area can be a portion of the area where the touch function is enabled.

[0120] In some embodiments, the electronic device can detect the current scene, such as the interface displayed on the electronic device, controls included in the interface, etc. When the electronic device determines that the current scene meets a first condition, it can enable the control mapping function of the mapping area. The control mapping function of the mapping area refers to the function of the electronic device receiving user operations in the mapping area and mapping the user's operations to controls on the electronic device's display interface. Optionally, the first condition may include at least one of the following: the electronic device's display interface includes controls with configured control mapping relationships; or the target application running on the electronic device is any application with configured control mapping relationships. The control mapping relationship may include the correspondence between controls on the display interface and the mapping area. For example, the control mapping relationship may be the correspondence between the position of a control on the display interface and the position of different sub-areas of the mapping area. The electronic device can pre-configure control mapping relationships for controls in the application interface or the system interface. When the electronic device detects that the current display interface includes controls with configured control mapping relationships, or when the electronic device runs a target application with configured control mapping relationships, it can enable the control mapping function of the mapping area.

[0121] Based on the description of the mapping area in the foregoing embodiments, in this application embodiment, the mapping area can be a part of the ordinary touch area, or the mapping area can be an independent touch area. Therefore, when the electronic device enables the control mapping function of the mapping area, it can be to configure a part of the touch area as the mapping area, or to enable the control mapping function of an independent mapping area.

[0122] In other embodiments, the electronic device can also respond to a second user operation by enabling the control mapping function of the mapping area. For example, the second operation can be a preset gesture operation, such as a double-tap operation or a multi-finger swipe operation; or the electronic device can display the control corresponding to the control mapping function, and the user can trigger the second operation on the control, such as a click operation; or the user can set a shortcut key corresponding to the control mapping function, and the second operation can be the operation triggered by the user on the shortcut key.

[0123] In one optional implementation, the mapping area may include multiple sub-regions, each corresponding to a control or other operable content on the display interface. Since the controls included in the interface differ depending on the electronic device's display, the electronic device can obtain the positions of the controls on the display interface and divide the mapping area accordingly, thereby configuring the control mapping relationship between the mapping area and the controls. When generating the control mapping relationship, the electronic device can try to maintain consistency with the layout of the multiple sub-regions in the mapping area as much as possible with the layout of the multiple controls on the display interface, making it easier for users to understand the possible positions of different controls within the mapping area and thus enabling quick operation.

[0124] For example, Figure 10 This is a schematic diagram of a control mapping relationship provided in an embodiment of this application, referencing... Figure 10 The electronic device's interface includes window 1, which contains control 1, control 2, and control 3. The mapping area of ​​the electronic device is the area above the touch area. This mapping area includes sub-areas corresponding to control 1, control 2, and control 3. Users can trigger operations on the sub-areas corresponding to different controls to control those controls. See also... Figure 10 When configuring control mapping relationships, electronic devices can configure sub-regions in the mapping area according to the positions of controls 1 to 3 on the display interface, so that the horizontal position of the sub-region corresponding to the control in the mapping area corresponds to the horizontal position of the control on the display screen, making it easier for users to understand and operate the control mapping relationships.

[0125] Optionally, electronic devices can map frequently used controls to a mapping area, allowing users to quickly trigger operations on these controls via the mapping area. For example, Figure 11 This is a schematic diagram illustrating a control mapping relationship provided in an embodiment of this application. (Reference) Figure 11 The mapping area of ​​an electronic device may include sub-areas corresponding to the minimize, maximize, and close controls of application windows, as well as system menu controls. See [link / reference] Figure 11 When an electronic device configures multiple sub-regions corresponding to controls in the mapping area, it can configure corresponding sub-regions in the mapping area according to the horizontal position of multiple controls in the display interface. This allows users to quickly control controls on the sub-regions corresponding to frequently used controls, reducing the number of touch operation steps and improving the user experience.

[0126] For example, Figure 12 This is a schematic diagram illustrating a control mapping relationship provided in an embodiment of this application. (Reference) Figure 12 The mapping area of ​​an electronic device can include the touch area above the keyboard and the top of the touch area below the keyboard. The electronic device can configure multiple sub-areas of the mapping area above the keyboard to correspond to close, minimize, and maximize controls for application windows, and configure multiple sub-areas at the top of the touch area below the keyboard to correspond to system menu controls and multiple option controls in the lower option bar of the display interface, such as folder controls, email application controls, and music application controls.

[0127] In some embodiments of this application, the mapping area of ​​the electronic device may correspond to visual controls or other operable content in the display interface, and may also correspond to adjustable parameters of the electronic device, such as brightness, volume, and playback progress. For example, Figure 13 This is an example diagram illustrating a mapping relationship of a mapping region provided in an embodiment of this application. (Refer to...) Figure 13The mapping area of ​​an electronic device may include the left and right touch areas of the keyboard. The electronic device may be configured to have the left mapping area correspond to the zoom function and the right mapping area correspond to the progress bar control. Users can trigger touch operations on the left mapping area to cause the electronic device to zoom in or out on the display interface or the selected content in the display interface. Users can also trigger touch operations on the right mapping area to cause the electronic device to adjust the progress of the window display content in the display interface.

[0128] It should be noted that, in the above embodiments Figure 10 and Figure 11 The control mapping relationship shown is only an example and not a limitation. In practice, when configuring the mapping sub-regions corresponding to controls in the touch area of ​​an electronic device, the vertical position of the sub-region in the touch area can also correspond to the vertical position of the control on the display screen, or the horizontal and vertical positions of the sub-region in the touch area can both correspond to the horizontal and vertical positions of the control on the display screen, or the vertical position of the sub-region in the touch area can correspond to the vertical position of the control on the display screen. This application embodiment does not limit this. In addition, Figures 9-13 The dashed lines in the touch area of ​​the electronic device shown are only used to represent the mapping area and multiple sub-areas within the mapping area, and do not indicate that the touch area includes these lines.

[0129] In this embodiment of the application, the electronic device can also support user-defined control mapping relationships. For example, the electronic device can display an interface for configuring control mapping relationships, and the user can customize the mapping area and the correspondence between different areas in the mapping area and the display area including controls in the display interface. For example, Figure 14 This is a schematic diagram of an interface for configuring control mapping relationships provided in an embodiment of this application. (Refer to...) Figure 14 The electronic device displays an interface for configuring control mapping relationships. This interface includes a schematic diagram of the current electronic device's display interface, as well as a window for setting the correspondence between mapping areas and display areas. For example, the user can select different areas in the touch area as mapping areas and configure these mapping areas to correspond to the display areas of the display interface. For instance, after the user selects the "Top Edge Mapping Area Settings" option, the user can select the display area corresponding to the top edge mapping area in the screen area on the right. The electronic device can generate control mapping relationships based on the positions of the controls included in the display area and the positions of the mapping areas.

[0130] In some examples, when an electronic device displays an application interface or system interface, the user can zoom in and out of the displayed window. This changes the position of controls within the window, and the electronic device can dynamically adjust the position of the corresponding sub-region of the control in the mapped area based on this change. For example, Figure 15This is a schematic diagram illustrating an adjustment of control mapping relationships provided in an embodiment of this application. (Reference) Figure 15 In (a), the mapped area of ​​the electronic device includes the touch area above the keyboard. The electronic device displays a file window, which includes a close control, a maximize control, and a minimize control. The mapped area includes sub-areas corresponding to the close control, the maximize control, and the minimize control. See also... Figure 15 In (a) of the map, the horizontal position of the sub-regions corresponding to different controls in the map corresponds to the horizontal position of the controls on the display screen. See also Figure 15 In (b), when the user triggers a scaling operation on the file window and adjusts the size of the file window, the positions of the close control, maximize control, and minimize control in the file window change. The electronic device can then adjust the position of the sub-area corresponding to each control according to the adjusted control position, so that the horizontal position of the sub-area corresponding to the adjusted control corresponds to the horizontal position of the adjusted control, thereby realizing the dynamic adjustment of the control mapping relationship.

[0131] In this embodiment of the application, the electronic device can also remind the user that the control mapping function of the mapping area has been enabled after the control mapping function is enabled, so that the user can use the function.

[0132] Optionally, the mapping area of ​​the electronic device may include indicator lights. When the electronic device enables the control mapping function of the mapping area, the electronic device can control the indicator lights to illuminate, so as to remind the user that the current mapping area is available. For example, Figure 16 This is a schematic diagram of a mapping area provided in an embodiment of this application. (Reference) Figure 16 In this example, the mapping area is the touch area above the keyboard on a laptop. The right side of this area includes an indicator light. When the electronic device enables the control mapping function of the mapping area, the indicator light will turn on. Users can determine whether the control mapping function of the current mapping area is available based on the lighting status of the indicator light.

[0133] Optionally, the electronic device may display prompts or highlight controls with configured control mapping relationships to remind the user to use the control mapping functionality of the mapped area. For example, Figure 17 This is a schematic diagram of a touch method provided in an embodiment of this application, with reference to... Figure 17 After the electronic device enables the control mapping function of the mapping area, it can display a prompt message. The prompt message includes the text reminder that "the control mapping function has been enabled. You can directly operate the controls in the touch area." Optionally, the prompt message may also include a simple diagram showing the correspondence between the mapping area and the controls, so that users can understand the control mapping relationship and use the control mapping function of the mapping area directly.

[0134] Since different application interfaces include different controls and the positions of the controls are different, electronic devices can store the control mapping relationship corresponding to different application interfaces. The control mapping relationship can include the correspondence between the controls in the display interface and the mapping area when the application interface is displayed. The controls in the display interface can include the controls in the application interface and / or system controls.

[0135] In one optional implementation, in response to a first operation triggered by a user at a first position in the touch area, the first position being a mapping area of ​​the touch area, the electronic device determines the target control corresponding to the first position according to the control mapping relationship, and the electronic device executes the target response action corresponding to the target control, the target response action being the response action when the first operation is applied to the target control.

[0136] Optionally, the control mapping relationship can be a correspondence between the position of at least one sub-region in the mapping area and the position of at least one control in the display area. The electronic device can determine the position of the target control corresponding to the first position based on the first position, and display the cursor at the position of the target control. The electronic device then performs a response action after selecting the target control.

[0137] For example, Figure 18 This is a schematic diagram of a touch method provided in an embodiment of this application, with reference to... Figure 18 When a user clicks on the first position in the map area of ​​the touch area, the electronic device displays a cursor on control 1 and executes the response action corresponding to the click on control 1.

[0138] In some embodiments of this application, the mapping area of ​​the electronic device may correspond to visual controls or other operable content in the display interface, and may also correspond to adjustable parameters of the electronic device, such as brightness, volume, and playback progress. For example, Figure 19 This is a schematic diagram of a touch method provided in an embodiment of this application, with reference to... Figure 19 The electronic device can configure the right side of the touch area as a mapping area, and this mapping area corresponds to the volume parameter of the electronic device. When the user triggers a swipe down operation in the mapping area, the electronic device can turn down the volume, and when the user triggers an swipe up operation in the mapping area, the electronic device can turn up the volume.

[0139] In some embodiments, since users may not be able to accurately click on the sub-area corresponding to a control when operating on the touch area, when the user's finger touches the mapped area in the touch area, the electronic device can display a cursor in the display area corresponding to that mapped area. If the current cursor position is not the position the user expects, the user can keep touching the touch area and move their finger. The cursor in the display area will move with the user's finger. When the user controls the cursor to land on the target control they expect, the user can lift their hand, at which point the electronic device can execute the response action corresponding to clicking the target control. Optionally, if the user lifts their hand beyond the range of the mapped area, the electronic device will not respond to the user's operation.

[0140] For example, Figure 20 This is a schematic diagram of a touch method provided in an embodiment of this application, with reference to... Figure 20 When a user places their finger at the second position in the mapping area of ​​the touch area, the electronic device determines the control 2 in the display area corresponding to the second position based on the correspondence between the mapping area and the controls in the display interface, and displays the cursor at the control 2. If the user does not intend to trigger an operation at the control 2, the user can keep their finger in the touch state, move their finger to the first position in the mapping area and lift their hand. The electronic device displays the cursor position in the display interface based on the user's movement operation and executes the response action of clicking the control 1 corresponding to the first position.

[0141] In some embodiments of this application, the electronic device may further configure a preset sub-region in the mapping area as a region for quickly activating preset functions. For example, preset functions may include a voice assistant, an artificial intelligence (AI) assistant, a lock screen, screen capture, a dictionary, copy, paste, etc. Figure 21 This is a schematic diagram of a touch method provided in an embodiment of this application, with reference to... Figure 21 The mapping area of ​​the electronic device is the touch area at the top below the keyboard. The electronic device can configure the left sub-area in the mapping area to be used to activate the AI ​​assistant. When the user clicks on this sub-area, the electronic device can activate the AI ​​assistant function.

[0142] It should be noted that the position, shape and size of the mapping area in the touch area of ​​the electronic device in the above embodiments of this application are only examples and not limitations. In practice, the electronic device can adjust the style of the mapping area and configure the correspondence between the mapping area and the controls, other operable content or parameters in the display interface according to actual needs. For specific implementation, please refer to the above embodiments, and repeated parts will not be described again.

[0143] Based on the above embodiments, Figure 22This is a flowchart illustrating a touch control method provided in an embodiment of this application. The method can be executed by an electronic device. (Refer to...) Figure 22 The method includes the following steps:

[0144] S2201: The electronic device sets a portion of the touch area as a mapping area.

[0145] S2202: An application setting in an electronic device allows for direct control by a user in a mapping area of ​​at least one control.

[0146] Optionally, the application can specify controls that can be directly controlled by the user in the mapping area, such as commonly used user controls.

[0147] S2203: The electronic device obtains the position of at least one control in the display interface as set by the application.

[0148] S2204: An electronic device partitions a mapping area based on the position of at least one control to determine the control mapping relationship.

[0149] The control mapping relationship may include the correspondence between at least one control and at least one sub-region in the mapping area. Optionally, the control mapping relationship may be the correspondence between the position of at least one control in the display interface and the position of at least one sub-region.

[0150] S2205: The electronic device detects the current scene, determines that the current scene meets the first condition, and enables the control mapping function of the mapping area.

[0151] Optionally, the first condition may include at least one of the following: the display interface of the electronic device includes controls with configured control mapping relationships, and the target application running on the electronic device is any application with configured control mapping relationships.

[0152] S2206: The electronic device detects a first operation triggered by the user at a first location in the touch area.

[0153] The first position is located in the mapped area of ​​the touch area, and the first operation can be a click operation.

[0154] S2207: The electronic device determines the target control corresponding to the first position based on the control mapping relationship and obtains the position of the target control.

[0155] S2208: The electronic device displays the cursor at the location of the target control.

[0156] S2209: The response action of an electronic device after performing a first operation on a target control.

[0157] It should be noted that, Figure 22The embodiments shown are merely examples of the touch method provided in this application and are not intended to limit the scope of the application. S2201-S2205 are optional steps. The electronic device can also pre-configure the control mapping relationship. After the application is launched, the user's operation on the touch area is detected, and S2205-S2209 or S2206-S2209 are executed. For specific implementation, please refer to the foregoing embodiments of this application. Repeated parts will not be described again.

[0158] The touch method provided in the embodiments of this application will be further described below with several examples.

[0159] Example 1

[0160] Electronic devices can configure the mapping relationship between multiple controls in the system taskbar and multiple sub-regions in the mapping area, such as... Figure 23 This is an example diagram of a touch method provided in an embodiment of this application, with reference to... Figure 23 Electronic devices can use the lower edge of the touch area as a mapping area, and divide this mapping area into multiple sub-regions. These sub-regions correspond one-to-one with multiple controls in the system taskbar, allowing users to quickly control system controls in the taskbar directly from the lower edge of the touch area. For example... Figure 23 As shown, when a user clicks on the sub-area corresponding to the search control, the electronic device can display a cursor in the search box control, at which point the user can directly enter the content they want to search for.

[0161] Example 2

[0162] Electronic devices can configure the mapping between multiple controls in a browser application and multiple sub-regions in the mapping area, such as... Figure 24 This is an example diagram of a touch method provided in an embodiment of this application, with reference to... Figure 24 The browser interface displayed on the electronic device includes multiple tab controls. The electronic device can configure the correspondence between multiple sub-regions in the mapping area and multiple tab controls. When a user launches the browser application using the electronic device, the user can trigger click operations in different sub-regions of the mapping area to switch the pages displayed by different tab controls. For example, see [reference]. Figure 24 When the electronic device displays the content of tab 1, the electronic device can switch to displaying the content of tab 2 when the user clicks the sub-area corresponding to the tab 2 control.

[0163] Example 3

[0164] Electronic devices can configure the mapping between playback progress controls and mapped areas in video player applications, such as... Figure 25 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application. (Refer to...) Figure 25The video player application interface displayed on the electronic device includes a playback progress control. The electronic device can configure the mapping area and the mapping relationship between the playback progress control and the mapping area. When a user launches the video player application using the electronic device, the user can operate the playback progress control in the mapping area. For example, if the user clicks any position in the mapping area, the electronic device can adjust the video progress to the position in the progress bar corresponding to the clicked position; or the electronic device can trigger a swipe operation in the mapping area, and the electronic device will adjust the video playback progress according to the user's swipe operation.

[0165] Example 4

[0166] Electronic devices can configure the mapping between multiple controls and mapped areas in a slideshow application, such as... Figure 26 This is an example diagram of a touch method provided in an embodiment of this application, with reference to... Figure 26 The PowerPoint (PPT) application interface displayed on an electronic device can include a PPT menu, a PPT preview page, and scroll bar controls. The electronic device can configure the mapping relationships between the PPT menu, PPT preview page, scroll bar controls, and multiple sub-areas of the mapping area. In this example, the touch area of ​​the electronic device is the area other than the keyboard; therefore, the control mapping relationships configured on the electronic device can be as follows: Figure 26 As shown. When a user launches the PowerPoint application using an electronic device, the user can trigger operations such as switching PowerPoint slides, selecting options in the PowerPoint menu, and swiping to change the content currently displayed on the screen in different mapped sub-areas. For example, see Reference Figure 26 When the electronic device displays the second slide of the PPT, the user can click on the sub-area corresponding to the preview page control of the third slide in the mapping area, and the electronic device can switch to displaying the third slide.

[0167] Example 5

[0168] Electronic devices can be configured to correspond to multiple controls in a conferencing application with multiple sub-regions of a mapping area, such as... Figure 27 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application. (Refer to...) Figure 27 The electronic device's conference application interface includes controls used in high-end conferences: mute, video, speaker, invite, record, and leave. The electronic device can be configured to map these controls to various sub-areas within the mapping area. When a user launches the conference application using the electronic device, they can control different controls in different sub-areas of the mapping area, allowing for convenient use of multiple conference application functions during the meeting.

[0169] Example 6

[0170] Electronic devices can configure the mapping between contact controls in social applications and multiple sub-regions of the mapping area, such as... Figure 28 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application. (Refer to...) Figure 28 The social application interface displayed on the electronic device includes controls for multiple contacts and a message sending control. The electronic device can configure the mapping relationship between the controls for multiple contacts and multiple sub-areas in the mapping area, as well as the mapping relationship between the message sending control and the sub-areas of the mapping area. When a user launches the social application using the electronic device, the user can control the switching between different contacts' chat interfaces in different sub-areas of the mapping area, and can trigger the message sending operation in the mapping area corresponding to the message sending control, allowing the user to easily select the contact they want to contact and send a message.

[0171] Example 7

[0172] Electronic devices can be configured to correspond to multiple controls in a reading application with multiple sub-regions of a mapped area, such as... Figure 29 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application. (Refer to...) Figure 29 The reading application interface displayed on the electronic device includes menus with multiple option controls and corresponding "like," "comment," "favorite," and "share" controls for the articles being read. The electronic device can configure the mapping area's horizontal regions to correspond to the multiple options in the menu, and the mapping area's vertical regions to correspond to the "like," "comment," "favorite," and "share" controls. When a user launches the reading application using the electronic device, the user can control the switching of different options in the menu within different sub-regions of the mapping area, or control the "like," "comment," "favorite," or "share" actions for the currently read article within different sub-regions.

[0173] Example 8

[0174] Electronic devices can configure the mapping relationship between multiple controls in a game application and multiple sub-regions of the mapping area, such as... Figure 30 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application. (Refer to...) Figure 30 The game application interface displayed on the electronic device includes directional key controls and item controls. The electronic device can divide the touch area into corresponding sub-regions based on the position and shape of multiple controls in the game interface, thereby configuring the correspondence between the sub-regions in the mapping area and the multiple controls of the game application. When a user launches the game application using the electronic device, the user can directly control the direction of the game character and switch game items in the sub-regions of the mapping area.

[0175] Example 9

[0176] In this example, the electronic device can be a large-screen device. Since users may find it inconvenient to operate on a large screen, the electronic device can display a virtual touch area in a location convenient for the user. By configuring the correspondence between the virtual touch area and at least one control in the display interface, a convenient touch solution is provided for the user. For example, Figure 31 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application. (Refer to...) Figure 31 The electronic device is a device with a large display screen. The display interface includes tab controls: Tab 1, Tab 2, and Tab 3. The electronic device can display a virtual touch area in the lower left corner of the screen and configure the area above the virtual touch area as a mapping area. The electronic device establishes a correspondence between the mapping area and the tab controls. Users can trigger operations in the mapping area to switch the pages displayed by different tab controls. For example, see reference... Figure 31 When the electronic device is displaying the content of tab 1, the user can click on the sub-area corresponding to tab 2 in the mapping area, and the electronic device can switch to displaying the content of tab 2.

[0177] Example 10

[0178] When an electronic device is connected to an external keyboard that supports touch functionality, the electronic device can configure a correspondence between the keyboard's touch area and at least one parameter. Users can directly control and adjust the electronic device's parameters using the keyboard's touch area. For example, Figure 32 This is a schematic diagram of a touch method provided in an embodiment of this application, with reference to... Figure 32 An external keyboard is connected to the electronic device. The thicker area of ​​the keyboard serves as the touch area. The electronic device can configure volume parameters on the right side of the keyboard's touch area and progress bar parameters on the bottom touch area. Users can swipe up on the right side of the keyboard's touch area to increase the electronic device's volume and swipe down to decrease the volume. Additionally, users can swipe on the bottom touch area to adjust video playback progress.

[0179] Example 11

[0180] In this example, projection technology can be used to project a touch area onto a desktop. The electronic device can configure a portion of the touch area as a mapping area and configure the mapping area to correspond to at least one control on the electronic device's display interface. This allows the user to trigger control operations on the controls displayed on the electronic device on the projection plane. For example, Figure 33 This is an example diagram illustrating a control mapping relationship provided in an embodiment of this application. (Refer to...) Figure 33Electronic devices project a touch area onto a desktop using projection technology. The electronic device can receive touch operations from the user in the projected mapped area. For example, the electronic device can configure a portion of the lower part of the touch area as the mapped area and store the correspondence between multiple sub-areas in the mapped area and the "voice," "screen recording," and "hang up" controls in the video call interface displayed on the electronic device. Users can trigger touch operations on different sub-areas of the mapped area on the desktop to trigger the electronic device to execute the functions corresponding to the multiple controls provided by the video call, providing users with a convenient touch operation method and improving the user's interactive experience.

[0181] It should be noted that the above Examples 1-11 are only illustrative of possible application scenarios for the touch method provided in the embodiments of this application, and do not limit the touch method provided in the embodiments of this application. In practice, even in the same scenario as Examples 1-11, there may be other implementation methods, such as having different control mapping relationships. For specific implementation, please refer to the above embodiments, and repeated parts will not be described again.

[0182] Based on the above embodiments, Figure 34 This is a flowchart illustrating a touch control method provided in an embodiment of this application, which can be executed by an electronic device. (Reference) Figure 34 The method includes the following steps:

[0183] S3401: In response to a first operation triggered by the user at a first position in the touch area, the electronic device determines the target control corresponding to the first position based on the control mapping relationship.

[0184] The control mapping relationship includes the correspondence between the mapping area in the touch area and at least one control in the display interface of the electronic device, with the first position belonging to the mapping area.

[0185] Optionally, the electronic device may display a cursor at the location corresponding to the target control.

[0186] S3402: The electronic device executes the target response action corresponding to the target control.

[0187] In some implementations, before the electronic device determines the target control corresponding to the first position based on the control mapping relationship in response to the first operation triggered by the user at the first position in the touch area, it can also detect the current scene, determine that the current scene meets the first condition, and enable the control mapping function of the mapping area; or enable the control mapping function of the mapping area in response to the user's second operation.

[0188] Optionally, the first condition may include at least one of the following: the display interface of the electronic device includes controls with configured control mapping relationships; the target application running on the electronic device is any application with configured control mapping relationships.

[0189] It should be noted that this application Figure 34 The touch control method shown can be referred to in the above embodiments of this application for specific implementation, and repeated parts will not be described again.

[0190] Based on the above embodiments, this application also provides an electronic device, which includes multiple functional modules; the multiple functional modules interact to realize the functions performed by the electronic device in the methods described in the embodiments of this application. For example, [the following is an example of implementation]. Figure 22 or Figure 34 The steps performed by the electronic device in the illustrated embodiment. The plurality of functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules can be arbitrarily combined or divided based on specific implementation.

[0191] Based on the above embodiments, this application also provides an electronic device, which includes at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the electronic device is running, the at least one processor executes the functions performed by the electronic device in the various methods described in the embodiments of this application. For example, when executing... Figure 22 or Figure 34 The steps performed by the electronic device in the illustrated embodiment.

[0192] Based on the above embodiments, this application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute the methods described in the embodiments of this application.

[0193] Based on the above embodiments, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a computer, causes the computer to perform the methods described in the embodiments of this application.

[0194] Based on the above embodiments, this application also provides a chip for reading computer programs stored in a memory to implement the methods described in the embodiments of this application.

[0195] Based on the above embodiments, this application provides a chip system including a processor for supporting a computer device in implementing the methods described in the embodiments of this application. In one possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. This chip system may be composed of chips or may include chips and other discrete devices.

[0196] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0197] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0198] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0199] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0200] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of protection of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A touch control method, characterized in that, Applied to electronic devices, the method includes: In response to a first operation triggered by a user at a first position in the touch area, a target control corresponding to the first position is determined according to a control mapping relationship. The control mapping relationship includes the correspondence between a mapping area in the touch area and at least one control in the display interface of the electronic device, wherein the first position belongs to the mapping area. Execute the target response action corresponding to the target control.

2. The method as described in claim 1, characterized in that, After determining the target control corresponding to the first position based on the control mapping relationship, the method further includes: Display the cursor at the position corresponding to the target control.

3. The method as described in claim 1 or 2, characterized in that, Before determining the target control corresponding to the first position based on the control mapping relationship in response to the first operation triggered by the user at the first position in the touch area, the method further includes: If the current scene is detected and the first condition is met, the control mapping function of the mapping area is enabled; or In response to the user's second action, the control mapping function of the mapping area is enabled.

4. The method as described in claim 3, characterized in that, The first condition includes at least one of the following: The display interface of the electronic device includes controls with the control mapping relationship configured. The target application running on the electronic device is any application that has been configured with the control mapping relationship.

5. The method as described in claim 3 or 4, characterized in that, Enabling the control mapping function in the mapping area includes: A portion of the touch area is configured as the mapping area.

6. The method according to any one of claims 1-5, characterized in that, The target control is a system control of the electronic device, or the target control is a control in the application interface of the target application displayed on the electronic device, and the target application is any application on the electronic device for which the control mapping relationship has been configured.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: Obtain the position of the at least one control in the display interface; At least one sub-region is determined from the mapping area based on the position of the at least one control, and the control mapping relationship is generated based on the position of the at least one control and the position of the sub-region corresponding to each control.

8. The method as described in claim 7, characterized in that, The horizontal position of each control in the display interface corresponds to the horizontal position of the sub-region corresponding to each control in the mapping area, and / or, the vertical position of each control in the display interface corresponds to the vertical position of the sub-region corresponding to each control in the mapping area.

9. The method according to any one of claims 1-8, characterized in that, The first operation is a click operation, or the first operation includes the user placing their finger at the second position of the touch area, sliding it to the first position, and then lifting their hand.

10. The method according to any one of claims 1-9, characterized in that, The method further includes: In response to a second operation triggered by the user at a third position in the mapping area, the target parameter corresponding to the third position is determined according to a preset correspondence between the mapping area and the parameters of the electronic device. Adjust the target parameters according to the second operation.

11. The method as described in claim 10, characterized in that, The parameters of the electronic device include at least one of volume, brightness, and multimedia playback progress.

12. The method according to any one of claims 1-11, characterized in that, The touch area of ​​the electronic device is any one of the following: the touchpad of the electronic device, the external touchpad of the electronic device, the touch area of ​​the keyboard connected to the electronic device, the touch area of ​​the electronic device projected onto any plane, or the virtual touch area displayed by the electronic device.

13. The method according to any one of claims 1-12, characterized in that, The mapping area of ​​the electronic device includes a first mapping area and a second mapping area. The first mapping area is located at the top of the touch area below the keyboard area, and the second mapping area is located in the touch area above the keyboard area. The control mapping relationship includes the correspondence between the first mapping area and at least one option control in the system menu control and option bar of the electronic device, and the correspondence between the second mapping area and the close control, maximize control and minimize control in the display interface of the electronic device.

14. The method according to any one of claims 1-13, characterized in that, The mapping area of ​​the electronic device includes a third mapping area and a fourth mapping area. The third mapping area is located in the touch area to the left of the keyboard area, and the fourth mapping area is located in the touch area to the right of the keyboard area. The control mapping relationship includes the correspondence between the third mapping area and the zoom function of the electronic device, and the correspondence between the fourth mapping area and the progress bar control in the display interface of the electronic device.

15. The method according to any one of claims 1-14, characterized in that, The method further includes: In response to a third operation triggered by the user in a preset area of ​​the mapping area, the preset function corresponding to the preset area is activated; The preset functions are any of the following: voice assistant, artificial intelligence AI assistant, lock screen, screen snapshot, dictionary, copy, and paste.

16. The method according to any one of claims 3-5, characterized in that, After enabling the control mapping function of the mapping area, the method further includes: Display a prompt message to remind the user that the control mapping function of the current mapping area is available, and / or control the indicator light in the mapping area to turn on, the indicator light being on to indicate that the control mapping function of the current mapping area is available.

17. The method according to any one of claims 1-16, characterized in that, The display interface of the electronic device is any one of the following interfaces: system interface, browser application interface, video player application interface, slideshow application interface, meeting application interface, social application interface, reading application interface, and game application interface.

18. An electronic device, characterized in that, It includes at least one processor coupled to at least one memory, the at least one processor being configured to read a computer program stored in the at least one memory to perform the method as described in any one of claims 1-17.

19. A computer program product containing instructions, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1-17.

20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-17.