Touch method, electronic equipment and related device

By setting a touch area on the outer surface of the camera trim and using a detection electrode to detect touch operations, the problem of users finding it unattractive to select camera zoom levels on electronic devices is solved, achieving a flexible shooting experience and easy-to-use zoom adjustment.

CN121865090APending Publication Date: 2026-04-14HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

The lack of appealing methods for users to select camera zoom levels on electronic device screens results in a less flexible and user-friendly photography experience.

Method used

A touch area is set on the outer surface of the camera trim, and touch operations are detected by multiple detection electrodes. The processor executes corresponding functions based on the touch operations, such as adjusting the zoom level of the camera.

Benefits of technology

This feature allows users to adjust the camera zoom level by swiping the touch area with one hand, improving the ease of use and appeal of taking photos and avoiding the possibility of accidentally touching the touch area with the palm of the hand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121865090A_ABST
    Figure CN121865090A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides electronic equipment, which comprises a camera, a processor, a screen and a rear shell, the rear shell is provided with a camera decorating part, the camera decorating part protrudes relative to the outer surface of the rear shell, the protruding part forms a first space, at least part of the camera is arranged in the first space, the outer surface of the camera decorating part is provided with a touch area, and the touch area is arranged on the outer surface of the camera decorating part. A carrier plate is arranged in the first space, a plurality of detection pole pieces are arranged at the positions, opposite to the touch area, of the carrier plate, and the detection pole pieces are used for detecting touch operation acting on the touch area; the processor is used for executing a function corresponding to the touch operation based on the touch operation, and the function corresponding to the touch operation comprises a function of adjusting the zoom ratio of the camera. Therefore, when a user holds the electronic equipment by one hand to take a picture, the electronic equipment can continuously adjust the zoom ratio of the camera by touching the touch area on the camera decoration part by one hand, so that the attraction to the user is increased.
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, electronic device, and related apparatus. Background Technology

[0002] With the continuous development of terminal technology, electronic devices such as smartphones are becoming increasingly popular. Currently, when users take photos with electronic devices, they can select the zoom level of the camera on the device's screen. However, for some users, this method of selecting the zoom level on the device's screen is not appealing. Summary of the Invention

[0003] This application provides a touch control method, an electronic device, and related apparatus, which improve the ease of use of electronic devices for taking pictures, bring users a richer and more flexible photography experience, and increase the attractiveness to users.

[0004] In a first aspect, embodiments of this application provide an electronic device, characterized in that it includes: a camera, a screen, and a back cover. The back cover is provided with a camera decorative element, which protrudes relative to the outer surface of the back cover, forming a first space. At least a portion of the camera is disposed in the first space. A touch area is provided on the outer surface of the camera decorative element. A carrier plate is disposed within the first space. Multiple detection electrodes are provided on the carrier plate at positions opposite to the touch area. The multiple detection electrodes are used to detect touch operations applied to the touch area. The electronic device also includes a processor, which is used to execute functions corresponding to the touch operations based on the touch operations. The functions corresponding to the touch operations include: adjusting the zoom level of the camera.

[0005] The electronic device mentioned in the first aspect can be the electronic device 100 in the subsequent embodiments, and the outer surface of the camera decorative piece can be the fourth side of the decorative cover 315 mentioned in the subsequent embodiments.

[0006] Implementing the method provided in the first aspect, the electronic device can detect touch operations through multiple detection electrodes and execute the corresponding functions based on the touch operations. For example, the electronic device can adjust the zoom level of the camera based on the touch operation. Thus, when a user holds the electronic device with one hand, the user can directly slide their finger (e.g., index finger) on the touch area to make the electronic device perform the corresponding functions. For example, when taking a photo with the electronic device, the user can adjust the zoom level of the camera by sliding on the touch area. Furthermore, the purpose of placing the touch area on the outer surface of the camera trim rather than on other parts of the back cover is to reduce the possibility of the user's palm accidentally touching the touch area when holding the electronic device.

[0007] In conjunction with the first aspect, in some embodiments, the outer surface of the camera decorative element further includes a camera module area; the camera module area is separate from the touch area; there are N cameras, where N is a positive integer, and the camera module area has N transparent areas, each transparent area facing the lens of one camera, allowing external light to pass through the transparent area and be projected into the lens of the camera. This creates a gap between the camera module area and the touch area, preventing accidental contact with the camera module area when the user slides on the touch area.

[0008] In conjunction with the first aspect, in some embodiments, the touch area is closer to the edge of the protrusion than the camera module area. This allows the user to easily locate the touch area by touching the edge of the protrusion when holding the electronic device with one hand to take a picture. The touch area is located immediately following the edge of the protrusion. This makes it convenient for users to find the touch area even when it is not visible, relying solely on the sensation of touch.

[0009] In conjunction with the first aspect, in some embodiments, the camera module area is a ring-shaped area surrounding the touch area, with N transparent areas arranged circumferentially along the ring. This allows the user to quickly locate the touch area through the sensation of touch, even when the touch area is not visible to them.

[0010] In conjunction with the first aspect, in some embodiments, the touch area is opaque. This makes the camera trim of the electronic device more aesthetically pleasing overall.

[0011] In conjunction with the first aspect, in some embodiments, one detection electrode corresponds to one or more touch positions; multiple detection electrodes are specifically used to detect the touch position and touch sequence acting on the touch area; the processor is used to determine a touch trajectory based on the touch position and touch sequence; the processor is also used to determine a touch operation based on the touch trajectory. Thus, when a user's finger slides on the touch area, the electronic device can specifically detect the user's touch position and touch sequence based on multiple detection electrodes, determine a touch trajectory based on the touch position and touch sequence, and then the electronic device can determine a touch operation based on the touch trajectory.

[0012] In conjunction with the first aspect, in some embodiments, a detection electrode is connected to a detection circuit, the detection circuit further including an operational amplifier and a reference electrode; the detection electrode is connected to a first input terminal of the operational amplifier; the reference electrode is connected to a second input terminal of the operational amplifier; the operational amplifier is used to output a first voltage to a processor, and the processor is used to determine that the detection electrode has been touched by a user when the first voltage is greater than a first threshold.

[0013] Implementing the method provided in the above embodiments, since changes in the external environment (e.g., temperature, humidity, etc.) of the electronic device may cause the capacitance value of the detection electrode to change even when the user has not indirectly touched it, the electronic device may mistakenly determine that the detection electrode has been indirectly touched by the user. To avoid this situation, this embodiment also arranges a reference electrode at the second input terminal of the operational amplifier. When the external environment (e.g., temperature, humidity, etc.) of the electronic device changes, the reference electrode and the detection electrode are in the same environment, and their capacitance values ​​will change in the same way. In this way, the first voltage output by the operational amplifier does not change, thereby eliminating the possibility that the electronic device may mistakenly determine that the detection electrode has been indirectly touched by the user due to changes in the external environment. Through the above method, the electronic device can more accurately determine whether the capacitance value of the detection electrode has changed due to indirect touch by the user.

[0014] In conjunction with the first aspect, in some embodiments, a reference electrode is disposed in a first region of the outer surface of the camera trim. This way, when a user touches the touch area, the user will not indirectly touch the reference electrode.

[0015] In conjunction with the first aspect, in some embodiments, the detection circuit further includes a first capacitor, a second capacitor, a third capacitor, and a fourth capacitor; the detection electrode is connected to the first input terminal of the operational amplifier via the first capacitor in series, the detection electrode is also connected to a first reference voltage, and the detection electrode is also grounded via the second capacitor; the reference electrode is connected to the second input terminal of the operational amplifier via the third capacitor in series, the reference electrode is also connected to a second reference voltage, and the reference electrode is also grounded via the fourth capacitor. Thus, the detection circuit provided by the embodiments of this application is simple and space-saving, while also effectively detecting whether the detection electrode has been indirectly touched by a user.

[0016] In conjunction with the first aspect, in some embodiments, the detection electrode and the reference electrode are identical in material, size, and shape; the capacitance value of the first capacitor is equal to the capacitance value of the third capacitor; and the capacitance value of the second capacitor is equal to the capacitance value of the fourth capacitor. This simplifies the circuitry on the carrier board, and also simplifies the processing of some parameters in the electronic device's circuitry. For example, when the detection electrode and the reference electrode are identical in material, size, and shape, and the capacitance values ​​of the first capacitor and the third capacitor are equal, and the capacitance values ​​of the second capacitor and the fourth capacitor are equal, the first voltage output by the operational amplifier is zero when the user does not indirectly touch the detection electrode. This simplifies the computational complexity of the detection circuit in the electronic device.

[0017] In conjunction with the first aspect, in some embodiments, the plurality of detection electrodes disposed on the carrier board are arranged in an array. This array arrangement of the detection electrodes allows for better detection of the location of the user's touch area, increasing the accuracy of the electronic device in detecting the user's touch location.

[0018] In conjunction with the first aspect, in some embodiments, the distance between the detection electrodes is 1 mm to 3 mm. This allows for better detection of the touch location of the user on the touch area.

[0019] In conjunction with the first aspect, in some embodiments, the detection electrode is rectangular in shape, with a length of 1 mm to 3 mm and a width of 1 mm to 3 mm. This allows for better detection of the touch position of the user on the touch area.

[0020] Secondly, embodiments of this application provide a touch control method, which is applied to an electronic device in any possible implementation of the first aspect. The method includes: detecting a touch operation applied to the touch area through multiple detection electrodes; and executing a function corresponding to the touch operation based on the touch operation, the function corresponding to the touch operation including: adjusting the zoom level of a camera.

[0021] In conjunction with the second aspect, in some embodiments, one detection electrode corresponds to one or more touch positions; the touch operation acting on the touch area is detected by multiple detection electrodes, specifically including: detecting the touch position and touch sequence acting on the touch area based on multiple detection electrodes; determining the touch trajectory based on the touch position and touch sequence; and determining the touch operation based on the touch trajectory.

[0022] In conjunction with the second aspect, in some embodiments, the touch operation includes a first swipe operation, the function of which is to adjust the zoom level of the camera; the direction of the first swipe operation is used to indicate whether the zoom level of the camera is increased or decreased; and the distance of the trajectory of the first swipe operation is used to indicate the degree of adjustment. Thus, when the electronic device operates the camera, and the electronic device detects that the user's finger is sliding on the touch area, the electronic device can adjust the zoom level of the camera based on the sliding trajectory of the user's finger on the touch area.

[0023] In conjunction with the second aspect, in some embodiments, the touch operation includes a first press operation, the function of which is to trigger the camera to take a picture. Thus, when the electronic device is operating the camera, it detects the user's finger pressing on the touch area, for example, when the user double-clicks on the touch area. The electronic device can then control the camera to take a picture. In conjunction with the above embodiments, when the electronic device is operating the camera, the user can hold the electronic device with one hand and slide their finger on the touch area. Simultaneously, the user can observe the distance of the object to be photographed on the electronic device's display screen. When the distance of the object reaches the user's satisfaction, the user then double-clicks on the touch area to trigger the camera of the electronic device to take a picture, thereby conveniently obtaining a satisfactory photo.

[0024] Thirdly, this application provides a computer-readable storage medium including a computer program that, when run on an electronic device, causes the electronic device to perform the method in any of the possible implementations of the first aspect described above.

[0025] Fourthly, this application provides a computer program product, including a computer program that, when run on a processor of an electronic device, causes the electronic device to perform the method in any of the possible implementations of the first aspect described above.

[0026] It is understood that the electronic device provided in the first aspect, the touch method provided in the second aspect, the computer storage medium provided in the third aspect, and the computer program product provided in the fourth aspect are all used to execute the methods provided in the embodiments of this application. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application or the background art will be described below.

[0028] Figure 1 This is a schematic diagram of the interface of the electronic device 100 for taking pictures provided in this application embodiment;

[0029] Figure 2 This is a side view of the electronic device 100 provided in the embodiments of this application;

[0030] Figure 3 This is a partially exploded schematic diagram of an electronic device 100 provided in an embodiment of this application;

[0031] Figure 4 This is a schematic diagram of a stacked design of the electronic device 100 provided in an embodiment of this application;

[0032] Figure 5This is a schematic diagram of the back of an electronic device 100 provided in an embodiment of this application;

[0033] Figure 6 This is a schematic diagram of a user's finger sliding on a touch area, provided in an embodiment of this application.

[0034] Figure 7 This is a schematic diagram of a detection circuit for a detection electrode provided in an embodiment of this application;

[0035] Figure 8 This is a schematic diagram illustrating a periodic change in a reference voltage, as provided in an embodiment of this application.

[0036] Figure 9 This is a flowchart illustrating a touch control method provided in an embodiment of this application;

[0037] Figures 10A to 10B This is a schematic diagram of an interface for adjusting the aperture of a camera in an electronic device, provided in an embodiment of this application. Detailed Implementation

[0038] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0039] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0040] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with a user. It realizes the conversion between the internal form of information and the form that the user can accept. The most common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be visual interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of a wearable device.

[0041] Figure 1 This is a schematic diagram of a camera interface on mobile phones and other electronic devices.

[0042] like Figure 1 As shown, when a user holds the electronic device with their left hand to take a picture, the electronic device can display a user interface 210, which can be a camera shooting interface. The user interface 210 may include, but is not limited to, an image 211, focus controls 212A, 212B, 212C, 212D, a shutter control 213, and one or more shooting modes (such as night scene mode, large aperture mode, photo mode, portrait mode, video mode, etc.).

[0043] Image 211 can be a preview image, captured by the electronic device through the camera. Shutter control 213 can be used to trigger the electronic device to save the captured image as a photograph. One or more shooting modes can be used by the electronic device to achieve better shooting results in different shooting scenarios. For example, night mode can be used to take clearer photos in low-light conditions such as nighttime, dusk, or indoors; large aperture mode can be used to blur the background and highlight the subject when shooting portraits or close-ups; and photo mode can be used to take photos of various scenes in daily life.

[0044] Among them, focus control 212A can be used to trigger the camera of an electronic device to use a wide-angle lens (referred to as W). Focus control 212B can be used to trigger the camera of an electronic device to use a standard lens (referred to as 1X), the focal length of which is usually close to the human eye's field of view. Focus control 212C can be used to trigger the camera of an electronic device to use a 3x telephoto lens (referred to as 3X), 3X is equivalent to 3x magnification of a standard lens. Figure 1 Image 211 shown is an image captured by the camera of electronic device 100 using a 3x telephoto lens. The focus control 212D can be used to trigger the camera of electronic device to use a 5x telephoto lens (abbreviated as 5X), where 5X is equivalent to 5x magnification of a standard lens.

[0045] Then, as Figure 1 As shown, the electronic device can receive user input to the shutter control 213 (e.g., the user clicks the shutter control 213 with their right hand), and in response to the input, the electronic device can capture and save image 211.

[0046] The above Figure 1In the human-computer interaction process of capturing image 211 in the example, when the user uses the electronic device to capture image 211, both hands are required for operation. For example, the user holds the electronic device with their left hand and selects the focus and shutter controls with their right hand. Moreover, the user can only change the zoom ratio through a few magnification options such as 1X, 3X, or 5X, and cannot continuously adjust the zoom ratio, thus failing to observe the process of the field of view continuously increasing or decreasing.

[0047] This application provides an electronic device 100. A touch area is provided on the outer surface of the camera trim of the electronic device 100. The electronic device 100 can detect touch operations through the touch area and execute the corresponding functions based on the touch operations. In this way, when a user holds the electronic device with one hand, the user can directly touch the touch area with their finger (e.g., index finger) to make the electronic device 100 perform the corresponding functions. For example, when the user is taking a picture with the electronic device 100, the user can touch the touch area to make the electronic device 100 adjust the zoom level of the camera.

[0048] The electronic device 100 includes a camera, a screen, and a back cover. The back cover has a camera decorative element that protrudes from the outer surface of the back cover, forming a first space. At least a portion of the camera is disposed in the first space. A touch area is provided on the outer surface of the camera decorative element. A carrier plate is disposed within the first space. Multiple detection electrodes are provided on the carrier plate opposite the touch area, and these electrodes are used to detect touch operations applied to the touch area. The electronic device also includes a processor, which executes functions corresponding to the touch operations, including adjusting the zoom level of the camera. Thus, when a user holds the electronic device 100 with one hand (e.g., the left hand), the user's left-hand fingers (e.g., the index finger) can touch the touch area on the camera decorative element to enable the electronic device 100 to perform functions, such as adjusting the zoom level of the camera. This facilitates users taking photos with the electronic device 100 by gradually adjusting the zoom level of the camera using the touch area on the camera decorative element with one hand, increasing its appeal to the user.

[0049] The following will combine Figures 2-5 This application provides a detailed description of an electronic device 100 provided in its embodiments.

[0050] The electronic device 100 may include, but is not limited to, mobile phones, tablets, laptops, ultra-mobile personal computers, handheld computers, walkie-talkies, wearable devices, and in-vehicle devices. This application embodiment does not impose any special limitations on the specific type of the electronic device 100. In this application embodiment, the electronic device 100 is described using a mobile phone as an example. Figure 2This is a side view of electronic device 100. Figure 3 This is a partially exploded diagram of electronic device 100. Figure 4 The placement of the FPC flexible circuit board included in the electronic device 100 within the camera trim 21 is shown. Figure 5 This is a schematic diagram of the back of electronic device 100.

[0051] like Figures 2-5 As shown, the electronic device 100 may include a back cover 11, a frame 12, a screen 13, a camera trim 21, a detection electrode 52, and a processor 110, etc. Among them:

[0052] The back cover 11 can be the back cover of the electronic device 100; the back cover 11 and the screen 13 can be fixedly connected to opposite sides of the frame 12 to jointly enclose and form a space 1 (not shown in the figure). The back cover 11 may include a first side and a second side, wherein the first side faces the space 1 and the second side faces away from the space 1. Because the second side faces away from the space 1, it also forms part of the exterior surface of the electronic device 100, which is also the back of the electronic device 100. Figure 3 In the diagram, the second side is shown as 11a, and the first side is on the back of 11a. Screen 13 includes a display surface and a non-display surface, wherein the display surface faces away from space 1, and the non-display surface faces space 1. The display surface is also the front of the electronic device 100. Figure 3 In the diagram, the non-display side of screen 13 is 13a, and the display side is on the back of 13a.

[0053] Space 1 can be used to house internal components (not shown) of electronic device 100, such as batteries, digital processing circuits, radio frequency integrated circuits, processors, memory, etc. These internal components can be housed on the motherboard and various sub-boards within electronic device 100.

[0054] The rear cover 11 may have a through hole 20. The through hole 20 extends from the second surface of the rear cover 11 to the first surface. The through hole 20 communicates with space 1. The electronic device 100 may also include a camera decorative element 21. The camera decorative element 21 may be attached to the rear cover 11 by an adhesive layer or other bonding method. At least a portion of the camera decorative element 21 protrudes relative to the rear cover 11, and the protruding portion forms space 2 (not shown in the figure), which may also be referred to as the first space.

[0055] The camera decorative element 21 may include a decorative cover 315 and a decorative ring 314. The decorative ring 314 can be attached to the decorative cover 315 by an adhesive layer or other bonding method. The camera decorative element 21 may also be integrally molded, with the decorative ring 314 and the decorative cover 315 being two parts of a single unit. The decorative ring 314 may have a certain height, protruding from the second surface of the rear shell 11, and together with the decorative cover 315, enclosing the space 2. The decorative cover 315 may include a third surface and a fourth surface. The third surface faces the space 2, and the fourth surface faces away from the space 2. The fourth surface of the decorative cover 315 can be referred to as the outer surface of the camera decorative element. Figure 4 In the diagram, the fourth surface is shown as 211a, and the third surface is on the back of 211a. The fourth surface forms part of the exterior surface of the electronic device 100. The decorative cover 315 may have a transparent area that faces the lens of the camera module, allowing external light to pass through this transparent area and be projected into the lens of the camera module. Figure 5 In this configuration, the lens of the camera module is located within the camera module area 312. The cover portion of this transparent area can be made of glass.

[0056] The detection electrode 52 can be a rectangular metal electrode or a metal electrode of other shapes (such as circles, squares, etc.), and this embodiment does not limit this. The detection electrode 52 can be disposed close to the third surface of the decorative cover 315 to effectively detect the change in voltage of the detection electrode 52 caused by the user's finger touching the fourth surface of the decorative cover 315.

[0057] In some embodiments, the detection electrode 52 can be placed on the carrier plate 62, with the side of the detection electrode 52 facing the rear shell 11. This allows the detection electrode 52 to detect the location of the user's finger touch when the user touches the rear shell 11. In some embodiments, multiple detection electrodes can be arranged in an array on the carrier plate 62, for example, 16 rows and 32 columns, totaling 512 detection electrodes. The spacing between the detection electrodes can be 1 mm to 3 mm, and the detection electrodes can be rectangular, for example, each detection electrode can be 1 mm to 3 mm long and 1 mm to 3 mm wide. This arrangement of the detection electrodes allows the electronic device 100 to better detect the touch location of the user's touch area. The arrangement of multiple detection electrodes on the carrier plate 62 is not limited to an array; other arrangements are also possible, and this application does not limit this. In other embodiments, the detection electrode can also be placed on the third side of the decorative cover 315, and then the detection electrode can be connected to the detection circuit on the carrier plate 62 via lead wires. This application embodiment does not limit this. Other circuit components, such as a driver chip 51, can also be placed on the carrier board 62. The driver chip 51 can be used to provide driving power for the detection circuit. Each detection electrode corresponds to a detection circuit, which can be referred to later. Figures 6-7 As shown.

[0058] Figure 4 The decorative cover 315, decorative ring 314, carrier plate 62, and carrier plate 63 are stacked from top to bottom. As mentioned above, the decorative cover 315 and decorative ring 314 enclose the space 2. Carrier plate 62 can be placed in space 2 of the electronic device 100, which saves space in space 1 of the electronic device 100. Carrier plate 63 can be the motherboard of the electronic device 100, and is generally placed in space 1 of the electronic device 100. This stacking design can save internal space in the electronic device 100 to a certain extent.

[0059] In this embodiment, the carrier board is a circuit board on which various circuit devices, such as chips, camera modules, etc., can be soldered. The carrier board may include daughter boards, motherboards, expansion boards, etc. The carrier board 62 can be a flexible printed circuit board (FPC), abbreviated as FPC flexible board.

[0060] Carrier plate 62 can also be connected to carrier plate 63, specifically using a board-to-board (B2B) connection method. Figure 4 Components 72a and 72b constitute a board-to-board connector for connecting carrier board 62 and carrier board 63. This board-to-board connection enables the connection between the intermediate frequency circuit and the digital signal processing circuit. Carrier board 63 can be the motherboard of electronic device 100, and can also house processor 110 (e.g., application processor), power management unit (PMU), baseband chip, etc.

[0061] The 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, 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 processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that is used repeatedly. If the processor 110 needs to reuse the instruction or data, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0062] In some embodiments, there may be multiple detection electrodes, each corresponding to one or more touch positions. Each detection electrode corresponds to a detection circuit. The electronic device 100 can collect the voltage of each detection circuit, and the voltage of each detection circuit can be sent to the processor 110. The processor 110 can identify the touch position and touch sequence of the user touching the touch area based on the voltage of the detection circuit. The processor 110 can determine the touch trajectory of the user touching the touch area based on the touch position and touch sequence, and determine the touch operation based on the user's touch trajectory. Then, the processor 110 can control one or more components in the electronic device 100 to perform the function corresponding to the touch operation based on the touch operation.

[0063] For example, in some implementations, if the processor 110 recognizes that the user's touch operation is a clockwise swipe on the touch area, the processor 110 can adjust the zoom level of the camera to a smaller value. As another example, if the processor 110 recognizes that the user's touch operation is a counter-clockwise swipe on the touch area, the processor 110 can adjust the zoom level of the camera to a larger value. In other implementations, if the processor 110 recognizes that the user's touch operation is a double-tap on the touch area, the processor 110 can control the camera to take a picture.

[0064] like Figure 5 As shown, Figure 5The location of the touch area on the camera trim 21 is shown. The outer surface of the camera trim 21 may include a camera module area 312 and a touch area 313. The camera module area 312 and the touch area 313 are separate and do not overlap. This spacing between the camera module area 312 and the touch area 313 prevents the user from accidentally touching the camera module area 312 while touching the touch area 313, thereby blocking the camera from capturing images.

[0065] The camera module area 312 may have N transparent areas, each facing the lens of a rear camera, allowing external light to pass through and be projected into the lens of the rear camera. N is a positive integer. For example, the electronic device 100 may include, but is not limited to, three rear cameras, all located in the camera module area 312, with each rear camera's lens facing a transparent area. The electronic device 100 can capture the aforementioned... Figure 1 Image 211 is shown.

[0066] As described above, the electronic device 100 has a carrier plate 62 within its space 2. Multiple detection electrodes are positioned on the carrier plate 62 opposite to the touch area 313. These detection electrodes detect touch operations applied to the touch area. Thus, when a user slides on the touch area 313, the fourth surface of the decorative cover 315 directly contacts the user's finger, while the detection electrodes indirectly contact it. The detection electrodes sense the user's touch, and the electronic device 100 can detect the user's touch trajectory on the touch area 313 based on the multiple detection electrodes.

[0067] The carrier board 62 is positioned so as not to interfere with the rear camera. The electronic device 100 can perform touch operation-corresponding functions, which may include, but are not limited to, adjusting the camera's zoom level. The touch area 313 may be opaque, thus enhancing the overall aesthetics of the camera decorative element 21 when viewed by the user.

[0068] In some embodiments, based on the above, at least a portion of the camera trim 21 protrudes relative to the rear housing 11, forming a space 2. The touch area 313 is closer to the edge of the protrusion than the camera module area 312. This allows the user to easily locate the edge of the protrusion by touching it when holding the electronic device 100 with one hand to take a picture. The touch area 313 is located immediately following the edge of the protrusion. This makes it easy for the user to find the touch area 313 even when it is not visible, through the sensation of touch.

[0069] In other embodiments, since the shape and position of the camera trim 21 of some electronic devices may differ, the placement of the touch area 313 should also be changed accordingly. For example, when the camera module area 312 is a ring-shaped area surrounding the touch area 313, the transparent areas provided on the camera trim 21 can be arranged circumferentially along the ring-shaped area. In this way, even if the user cannot see the touch area 313, they can quickly find the touch area 313 through the sensation of touch with their finger.

[0070] In other embodiments, the touch area 313 is closer to the lower edge of the electronic device 100 than the camera module area 312. The lower edge of the electronic device 100 is relative to the upper edge. The upper edge of the electronic device 100 may have a camera or similar device nearby, so that the user can take selfies, answer calls, etc., when holding the phone in the default grip posture. The lower edge of the electronic device 100 may typically have a charging port, headphone jack, microphone jack, etc., to facilitate the acquisition of the user's voice, connection of wired headphones, charging of the phone, etc. In this way, when the user holds the electronic device with their left hand to take a picture, the user's finger can easily touch the touch area 313, and at the same time, the user's finger will not obstruct the camera's field of view.

[0071] Furthermore, the purpose of placing the touch area 313 on the outer surface of the camera trim 21 rather than on other parts of the back cover is to reduce the possibility of the user accidentally touching the touch area 313 with their palm when holding the electronic device.

[0072] The aforementioned touch area 313 is not limited to being located on the fourth side of the decorative cover 315; the touch area 313 can also be located in other positions, which this application does not specifically limit. The position of the touch area 313 should satisfy the following requirements: it should be convenient for the user to touch while avoiding obstruction of the rear camera from taking photos. For example, the touch area 313 can also be set in other areas of the rear cover of the electronic device 100, where the user can easily touch the device while avoiding obstruction of the rear camera from taking images.

[0073] The outer surface of the camera decorative piece 21 may also include a first region 316, which is placed in a location inaccessible to the user's fingers, for example... Figure 5 As shown, the first region 316 can be placed away from the touch region 313, so that when the user touches the touch region 313, the user will not touch the first region 316. A reference electrode can be placed in the space 2 corresponding to the first region 316. The reference electrode can be used to calibrate and compensate for changes in the detection electrode caused by external interference. Please refer to subsequent sections for details. Figure 7 The content described herein.

[0074] The touch area 313 can be used to detect touch operations performed by the user on the touch area 313. The electronic device 100 can execute the function corresponding to the touch operation based on the touch operation. For example, this embodiment of the application uses the example of the electronic device 100 adjusting the zoom ratio of the camera according to the user's touch operation for illustration.

[0075] When electronic device 100 runs a camera application (such as the one mentioned above) Figure 1 When the electronic device 100 is running a camera application, it can recognize the touch trajectory of the user's touch on the touch area 313, and identify the user's touch operation on the touch area 313 based on the touch trajectory. The specific details are as follows:

[0076] For example, please refer to Figure 6 , Figure 6 This is a schematic diagram illustrating a user's finger sliding on the touch area 313, provided as an embodiment of this application. Figure 6 As shown, the outer layer of the touch area 313 is a decorative cover 315, which can be glass. The user's finger slides on the fourth surface of the decorative cover 315. The carrier board 62 may include, but is not limited to, detection electrode 1, detection electrode 2, detection electrode 3, detection circuit 1, detection circuit 2, detection circuit 3, and driver chip 51.

[0077] The driver chip 51 can be connected to detection electrode 1, detection electrode 2, and detection electrode 3 respectively, and is used to provide driving power to the circuits containing detection electrode 1, detection electrode 2, and detection electrode 3. The driver chip 51 can transmit square wave signals. Detection electrode 1, detection electrode 2, and detection electrode 3 are grounded.

[0078] The position of detection electrode 1 on the carrier plate 62 corresponds to position 1 on the decorative cover 315, and is used to detect whether the user has touched position 1 on the decorative cover 315. Detection electrode 1 can also be connected to detection circuit 1, which can be used to determine whether the capacitance value of detection electrode 1 has changed. The position of detection electrode 2 on the carrier plate 62 corresponds to position 2 on the decorative cover 315, and is used to detect whether the user has touched position 2 on the decorative cover 315. Detection electrode 2 can also be connected to detection circuit 2, which can be used to identify whether the capacitance value of detection electrode 2 has changed. The position of detection electrode 3 on the carrier plate 62 corresponds to position 3 on the decorative cover 315, and is used to detect whether the user has touched position 3 on the decorative cover 315. Detection electrode 3 can also be connected to detection circuit 3, which can be used to identify whether the capacitance value of detection electrode 3 has changed.

[0079] The detection circuits 1, 2, and 3 can be referenced in the following sections. Figure 7The detection circuit shown will not be described in detail here. Detection circuit 1, detection circuit 2, and detection circuit 3 can send data to processor 110 via a serial bus. Detection circuit 1, detection circuit 2, and detection circuit 3 may also include a reference electrode (not shown in the figure).

[0080] like Figure 6 As shown, when a user's finger slides across the decorative cover 315 from left to right, the user's finger first touches position 1 on the decorative cover 315, then slides from left to right past position 2, and finally slides to position 3. When the user's finger touches position 1, the corresponding detection electrode 1 is located below position 1. The processor 110 can obtain the voltage difference between the detection electrode 1 and the reference electrode voltage through the detection circuit 1, which is voltage 1. The electronic device 100 can determine that position 1 corresponding to the detection electrode 1 has been touched by the user's finger based on the fact that voltage 1 is greater than a first threshold.

[0081] Similarly, when a user's finger touches position 2, the corresponding detection electrode 2 is located at position 2. The processor 110 can obtain the voltage difference between the detection electrode 2 and the reference electrode through the detection circuit 2, which is voltage 2. The electronic device 100 can determine that position 2 corresponding to the detection electrode 2 has been touched by the user's finger based on the fact that voltage 2 is greater than a first threshold. Since the electronic device 100 periodically reads data, it can determine that the user's finger first slides over position 1 and then over position 2 based on the fact that the time of obtaining voltage 1 takes precedence over the time of obtaining voltage 2.

[0082] Similarly, when a user's finger touches position 3, the voltage of the detection circuit corresponding to the detection electrode 3 changes. The processor 110 can obtain the voltage difference between the detection electrode 3 and the reference electrode voltage through the detection circuit 3, which is voltage 3. The electronic device 100 can determine that position 3 corresponding to the detection electrode 3 has been touched by the user's finger based on the fact that voltage 3 is greater than a first threshold. Since the electronic device 100 reads data periodically, it can determine that the user's finger first slides over position 2 and then over position 3 based on the fact that the time of obtaining voltage 2 takes precedence over the time of obtaining voltage 3.

[0083] In this way, the electronic device 100 can determine the user's finger touch trajectory as follows: from left to right, first touch position 1, then slide over position 2, and finally slide to position 3.

[0084] The aforementioned scenario, where the user sequentially and indirectly touches detection electrodes 1, 2, and 3 while sliding on touch area 313, is merely illustrative. In practice, because the detection electrodes are arranged relatively close together, the user's finger has a larger contact area, allowing the user's finger to simultaneously and indirectly touch multiple detection electrodes. The electronic device 100 can determine the user's touch position based on these multiple detection electrodes. For example, the electronic device 100 can use the detection electrode located at the center of the multiple detection electrodes as the user's touch position. The larger the area of ​​the detection electrode covered by the user's finger, the greater the voltage change of that detection electrode.

[0085] Figure 7 This is a schematic diagram of a detection circuit for detecting electrode connections provided in an embodiment of this application. Figure 7 The detection circuit may include, but is not limited to, a detection electrode 401, a reference electrode 402, an operational amplifier 403, a ground wire 1, a reference voltage 1 (also called a first reference voltage), a capacitor C1 (also called a first capacitor), a capacitor C2 (also called a second capacitor), a capacitor C3 (also called a third capacitor), a capacitor C4 (also called a fourth capacitor), a ground wire 2, and a reference voltage 2 (also called a second reference voltage). The detection electrode and the reference electrode can be identical in material, size, and shape. The capacitance value of capacitor C1 can be equal to the capacitance value of capacitor C3, and the capacitance value of capacitor C2 can be equal to the capacitance value of capacitor C4. This design simplifies the complexity of calculating capacitance or voltage values ​​in the detection circuit of the electronic device 100.

[0086] The detection electrode 401 can be connected to the first input terminal of the operational amplifier 403 through a series capacitor C1. The detection electrode 401 can also be connected to the reference voltage 1, and the detection electrode 401 can also be grounded to the ground wire 1 through a capacitor C2.

[0087] The reference electrode 402 can be connected to the second input terminal of the operational amplifier 403 through the series capacitor C3. The reference electrode 402 can also be connected to the reference voltage 2, and the reference electrode 402 can also be grounded to the ground wire 2 through the capacitor C4.

[0088] Ground wire 1 and ground wire 2 can be the same ground wire. Reference voltage 1 and reference voltage 2 can be reference voltages provided by the same power supply; optionally, this reference voltage can also be provided by a driver integrated circuit. Optionally, the first input terminal can be the positive input terminal of operational amplifier 403, and the second input terminal can be the negative input terminal of operational amplifier 403.

[0089] The reference electrode 402 is typically placed in a location inaccessible to human hands (e.g., inside the electronic device 100), or in a location where the user will not indirectly touch it when touching the touch area. Since the detection electrode 401 may be affected by external factors, such as changes in air temperature and humidity, the capacitance and voltage of the detection electrode 401 may change during the operation of the detection circuit. Introducing the reference electrode 402 as a benchmark allows for calibration and compensation for changes in the capacitance and voltage of the detection electrode 401 caused by external interference. Thus, when air temperature and humidity change, the capacitance and voltage of both the detection electrode 401 and the reference electrode 402 can change in the same way. By calculating that the difference between the voltage of the detection electrode 401 and the voltage of the reference electrode remains constant, it can be determined that the change in the voltage of the detection electrode 401 is not caused by the user's finger touching it, thereby preventing interference from external factors. In some embodiments, the reference electrode 402 can be placed in a first area of ​​the camera trim, which is closer to the upper edge of the electronic device than the touch area. This ensures that the environment of the reference electrode 402 is the same as that of the detection electrode 401, and prevents the user's finger from indirectly touching the reference electrode 402 when touching the touch area. In other embodiments, the first area is located between any two transparent areas in the camera module area, so that the user will not indirectly touch the reference electrode 402 when touching the touch area.

[0090] Operational amplifier 403 can be used to acquire the voltage of detection electrode 401 and the voltage of reference electrode 402 when the detection circuit is running. Operational amplifier 403 can also calculate and amplify the difference between the voltage of detection electrode 401 and the voltage of reference electrode 402 to obtain and output a first voltage to processor 110 (e.g., application processor).

[0091] When the user's finger slides across the touch area but does not touch the corresponding position of the detection electrode 401, the operational amplifier 403 obtains a first voltage value based on the voltage of the detection electrode 401 and the voltage of the reference electrode 402, which remains unchanged and equals a first threshold. For example, when the user does not touch the detection electrode 401, the voltage of the detection electrode 401 is equal to the voltage of the reference electrode 402. Therefore, the operational amplifier 403 obtains a first voltage value of 0 based on the voltage of the detection electrode 401 and the voltage of the reference electrode 402. It should be understood that in practical applications, the value of the first voltage may fluctuate slightly.

[0092] When a user's finger slides across the touch area to the corresponding position of the detection electrode 401, because the user's finger is touching glass (which is insulating), and underneath the glass is the detection electrode 401 (a metal electrode), an electric field line is formed between the metal electrode 401, the user, and the ground. This causes a micro-short circuit to form between the detection electrode 401 and ground line 1. Figure 4 As shown, the micro-short circuit formed between the detection electrode 401 and ground line 1 is equivalent to adding a resistor R between point b of the detection electrode 401 and point a of ground line 1, thereby changing the capacitance value of the detection electrode 401. According to circuit concepts (such as the charge formula), the voltage of the detection electrode 401 will also change, thus changing the voltage of the detection trace 401 obtained by the operational amplifier 403. Since the voltage of the detection trace 401 obtained by the operational amplifier 403 changes, the operational amplifier 403 obtains a second voltage based on the changed voltage of the detection trace 401 and the voltage of the reference electrode 402. This second voltage is not equal to the first threshold, and the operational amplifier 403 can transmit the second voltage to the processor. After the processor obtains the second voltage transmitted by the operational amplifier 403, it knows that the capacitance value of the detection electrode 401 connected to the operational amplifier 403 has changed because the second voltage is not equal to the first threshold. Therefore, the processor can identify that the detection electrode 401 has been touched by the user. In this way, the electronic device 100 can identify whether the detection electrode 401 has been touched by the user through the above method. Since the electronic device 100 can record the time of acquiring the first voltage when acquiring the first voltage transmitted by the operational amplifier 403, the electronic device 100 can also know the time when the detection electrode 401 was touched by the user.

[0093] Optionally, the processor of the electronic device 100 can use an inter-integrated circuit (I2C) protocol to obtain the voltage difference between the voltage of each detection electrode and the voltage of the reference electrode on the carrier board 62, such as the one described above. Figure 4 The processor 110 shown can read the voltage output by the operational amplifier 403 using the I2C protocol.

[0094] Not limited to the above Figure 4 The detection circuit of the detection electrode 401 shown can also be other types of circuits. This application does not specifically limit the detection circuit of the detection electrode 401.

[0095] The layout and specifications of the detection electrodes on the aforementioned carrier plate 62 are merely exemplary and do not constitute a limitation in this application. In specific implementation, the detection electrodes and detection circuits need to be arranged on the carrier plate 62 according to the specific circumstances. For example, the carrier plate 62 can be other shapes (e.g., circular) or irregular shapes, and the detection electrodes are not rectangular with 16 rows and 32 columns, but other forms. For another example, only one reference electrode needs to be arranged.

[0096] The aforementioned detection electrode and reference electrode can be identical in material, size, and shape. The capacitance value of capacitor C1 can be equal to that of capacitor C3, and the capacitance value of capacitor C2 can be equal to that of capacitor C4. This is an illustrative example. This method can simplify the computational complexity of electronic device 100. The embodiments of this application do not limit the detection electrode and reference electrode in terms of material, size, and shape, nor do they limit the capacitance value of capacitor C1 to be equal to that of capacitor C3, or the capacitance value of capacitor C2 to be equal to that of capacitor C4.

[0097] In some implementations, reference voltage 1 and reference voltage 2 can be numerically identical reference voltages (VREF) supplied by the same power supply. This reference voltage can be a fixed value or it can vary periodically. When the reference voltage is a fixed value, it facilitates the subsequent processing of the acquired data by the electronic device 100. For example, when the reference voltage is fixed, the first voltage output by the operational amplifier 403 acquired by the electronic device 100 is stable. For an example where the reference voltage varies periodically, please refer to [example description needed]. Figure 8 , Figure 8 This is a schematic diagram illustrating a periodic change in a reference voltage according to an embodiment of this application. Figure 8 As shown, the reference voltage varies between preset reference voltage levels such as 0.4V, 0.6V, 0.8V, 1.0V, and 1.2V with a period of 1μs (microseconds). For example, after a certain moment, the reference voltage is 0.4V after 1μs, 0.6V after 2μs, 0.8V after 3μs, 1.0V after 4μs, and 1.2V after 5μs, and so on. Since the time a user's finger stays at a position in the touch area (e.g., about 1ms) is much longer than the period of reference voltage change, the processor 110 of the electronic device 100 can obtain the value of the first voltage output by the operational amplifier 403 corresponding to each preset reference voltage level. In this way, when the change in the first voltage output by the operational amplifier 403 is not obvious due to the reference voltage being too small or too large, the electronic device 100 can obtain the first voltage output by the operational amplifier 403 under different reference voltages based on the processing of the reference voltage. This allows for a clearer and more accurate identification of whether the detection electrode 401 has been touched by the user.

[0098] Based on the above, it can be seen that the carrier board 62 may include multiple detection electrodes, each corresponding to a detection circuit. When the user's finger slides on the touch area 313, the capacitance and voltage of one or more detection electrodes in the area where the user's finger slides will change. After the user's finger slides over, the capacitance and voltage of the detection electrodes in the area that was slid over return to their original state. Therefore, the electronic device 100 can detect the user's touch position and touch sequence based on multiple detection electrodes, determine the touch trajectory based on the touch position and touch sequence, and then determine the touch operation based on the touch trajectory.

[0099] Based on the electronic device 100 provided in the embodiments of this application described above, a touch control method provided in the embodiments of this application will be introduced below. This method can be applied to the electronic device 100. For example... Figure 9 As shown, the method may include:

[0100] S901, Detects touch operations applied to the touch area through multiple detection electrodes.

[0101] For example, based on the above, when a user slides on the touch area, the electronic device 100 can detect the touch position and touch sequence of the user's touch on the touch area through multiple detection electrodes. Then, the electronic device 100 can determine the touch trajectory based on the touch position and touch sequence. After the electronic device 100 determines the user's touch trajectory, it can recognize the user's touch operation based on the touch trajectory of the user's finger.

[0102] S902. Execute the function corresponding to the touch operation based on the touch operation. The function corresponding to the touch operation includes: adjusting the zoom level of the camera.

[0103] For example, the touch operation can be a first swipe operation, the direction of the first swipe operation can be used to instruct the electronic device 100 to increase or decrease the zoom ratio of the camera, and the distance of the trajectory of the first swipe operation can be used to instruct the electronic device 100 to adjust the zoom ratio to a certain extent.

[0104] For example, when electronic device 100 detects that a user's finger is sliding clockwise on the touch area, electronic device 100 can decrease the zoom level of the camera. When electronic device 100 detects that a user's finger is sliding counterclockwise on the touch area, electronic device 100 can increase the zoom level of the camera.

[0105] For example, when electronic device 100 detects that a user's finger slides from right to left on the touch area, electronic device 100 can increase the zoom level of the camera. When electronic device 100 detects that a user's finger slides from left to right on the touch area, electronic device 100 can decrease the zoom level of the camera.

[0106] For example, when electronic device 100 detects that a user's finger slides from bottom to top on the touch area, electronic device 100 can increase the zoom level of the camera. When electronic device 100 detects that a user's finger slides from top to bottom on the touch area, electronic device 100 can decrease the zoom level of the camera.

[0107] Optionally, the electronic device 100 can determine the distance of the trajectory of the first sliding operation based on the detection electrodes arranged on the carrier plate 62. For example, based on the foregoing: the carrier plate 62 can be arranged with 16×32 rectangular detection electrodes, the spacing between the detection electrodes can be 1mm, and each detection electrode can be a 1mm×1mm rectangle. When the user's finger slides on the touch area, the electronic device 100 can identify the detection electrodes that the user's finger slides over sequentially. For example, if the user's finger slides from left to right over detection electrode 1 and detection electrode 2, the electronic device 100 can identify the distance between detection electrode 1 and detection electrode 2, for example, 3mm. Then the distance of the trajectory of the first sliding operation is 3mm. When the electronic device 100 identifies the first distance as 3mm, the zoom ratio of the adjustable camera can be changed from 2.7X to 2.5X. In this way, the electronic device 100 can identify the distance of the trajectory of the first sliding operation based on the detection electrodes arranged on the carrier plate, and adjust the zoom ratio of the camera according to the distance of the trajectory of the first sliding operation.

[0108] It should be understood that, not only the electronic device 100 described above adjusts the zoom level of the camera according to the distance of the trajectory of the first sliding operation, but the electronic device 100 can also adjust the zoom level of the camera through other calibration methods. This application embodiment does not specifically limit this.

[0109] In this way, when a user's finger slides across the touch area, the electronic device 100 can gradually increase or decrease the camera's zoom level according to the trajectory of the finger's movement. This process of gradually increasing or decreasing the camera's zoom level can be displayed on the electronic device 100's screen, as described above. Figure 1The camera shooting interface displayed on the electronic device 100 allows the user to gradually adjust the camera's zoom level from 2.7X as the user slides their finger counterclockwise on the touch area, simultaneously increasing the zoom level while the displayed image 211 also zooms in. Conversely, when the user slides their finger clockwise on the touch area, the camera's zoom level gradually decreases from 2.7X, while the displayed image 211 also shrinks. This allows the user to visually experience the continuous adjustment of the camera's zoom level on the electronic device 100's display screen, making it easier to determine whether the zoom level meets their requirements.

[0110] As can be seen from the above embodiments, the user does not need to touch the display screen of the electronic device 100, such as the one described above. Figure 1 As shown, the user can directly select the camera zoom level on the display screen. Based on the user's habit of holding the electronic device 100 with one hand, this embodiment allows the user to adjust the camera zoom level by sliding their finger across the touch area on the camera trim on the back cover of the electronic device 100. This method can be used when the user is taking a picture with the electronic device; the user can adjust the camera zoom level by touching the touch area on the outer surface of the camera trim. Simultaneously, the touch area being located on the outer surface of the camera trim allows the user to easily locate the touch area even when it is not visible. Furthermore, the purpose of placing the touch area on the outer surface of the camera trim, rather than on other parts of the back cover, is to reduce the possibility of the user accidentally touching the touch area with their palm while holding the electronic device.

[0111] In some embodiments, the electronic device 100 can recognize the user's touch operation based on the touch trajectory of the user's finger, wherein the touch operation can be a first press operation, and the function corresponding to the first press operation is to control the camera to take pictures.

[0112] For example, when the electronic device 100 is running a camera application, the electronic device 100 can recognize the user's touch operation on the touch area, such as the user double-clicking in the touch area. After recognizing the user's double-click in the touch area, the electronic device 100 can control the camera of the electronic device 100 to take a picture.

[0113] In this way, the user does not need to touch the display screen of the electronic device 100, as described above. Figure 1The user-controlled shutter control 213 shown controls the camera to take pictures. Based on the user's habit of holding the electronic device 100, the user can control the camera to take pictures by double-tapping the touch area on the camera decoration of the electronic device 100. Combined with the above-mentioned method of adjusting the zoom ratio of the camera, the user can slide on the touch area to adjust the camera to the user's desired focal length, and then the user can directly double-tap the touch area to control the camera to take pictures. In this way, the user's shooting time is reduced, the user experience is improved, and the user's interest is increased.

[0114] Not limited to the above-mentioned electronic device 100, which can recognize touch operations based on the trajectory of a finger touch and adjust the zoom ratio of the camera based on the touch operation, the electronic device 100 can also perform other functions corresponding to touch operations.

[0115] For example, electronic device 100 can also recognize touch operations based on the trajectory of a finger touch and adjust the aperture of the camera according to the touch operation. Figures 10A to 10B This is a schematic diagram of an interface for adjusting the aperture of a camera in an electronic device, provided in an embodiment of this application.

[0116] like Figure 10A As shown, the user interface 210 displayed by the electronic device 100 can be referenced from the above. Figure 1 The user interface shown is not described in detail here. User interface 210 also includes a large aperture mode 701. Electronic device 100 can receive user input (e.g., a click) for the large aperture mode 701, and in response to this input, the electronic device can display... Figure 10B The user interface 230 shown.

[0117] like Figure 10B As shown, the user interface 230 may include an image 211, an aperture adjustment frame 702, and a shutter control 213. When the electronic device 100 enters... Figure 10B In the large aperture mode shown, if the electronic device 100 detects a user's touch trajectory on the touch area, the electronic device 100 can recognize the touch operation based on the user's touch trajectory and adjust the camera's aperture size accordingly. For example... Figure 10B The aperture shown is F3.5. If the electronic device 100 detects that the user's touch trajectory is a clockwise slide, the electronic device 100 can adjust the camera aperture to a smaller size, for example, to F2.4. If the electronic device 100 detects that the user's touch trajectory is a counterclockwise slide, the electronic device 100 can adjust the camera aperture to a larger size, for example, to F7.1. In this way, the electronic device 100 can adjust the size of the camera aperture according to the trajectory of the user's finger touch.

[0118] This application also provides a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the relevant method steps described in the above method embodiments.

[0119] This application also provides a computer program product that, when run on the processor of an electronic device, causes the electronic device to execute the relevant method steps described in the above method embodiments.

[0120] The steps of the methods or algorithms described in conjunction with the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in RAM, flash memory, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, read-only optical discs (CD-ROMs), or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and storage medium can reside in an ASIC. Additionally, the ASIC can reside in a transceiver or relay device. Alternatively, the processor and storage medium can exist as discrete components in a wireless access network device or user equipment.

[0121] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0122] The above detailed embodiments further illustrate the purpose, technical solution, and beneficial effects of the embodiments of this application. It should be understood that the above are merely specific embodiments of the embodiments of this application and are not intended to limit the protection scope of the embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solutions of the embodiments of this application should be included within the protection scope of the embodiments of this application.

Claims

1. An electronic device, characterized in that, include: The device includes a camera, a screen, and a back cover. The back cover is provided with a camera decorative piece, which protrudes from the outer surface of the back cover and forms a first space. At least a portion of the camera is disposed in the first space. The outer surface of the camera decorative piece is provided with a touch area. A carrier plate is disposed in the first space. Multiple detection electrodes are provided on the carrier plate at positions opposite to the touch area. The multiple detection electrodes are used to detect touch operations applied to the touch area. The electronic device further includes a processor, which is used to execute the function corresponding to the touch operation based on the touch operation. The function corresponding to the touch operation includes: adjusting the zoom level of the camera.

2. The electronic device according to claim 1, characterized in that, The outer surface of the camera decorative component also includes a camera module area; the camera module area is separate from the touch area; There are N cameras, where N is a positive integer. The camera module area has N transparent areas, one of which is opposite to the lens of one of the cameras, so that external light can pass through the transparent area and be projected into the lens of the camera.

3. The electronic device according to claim 2, characterized in that, The touch area is closer to the edge of the protrusion than the camera module area.

4. The electronic device according to claim 2, characterized in that, The camera module area is a ring-shaped area surrounding the touch area, and the N transparent areas are arranged circumferentially along the ring-shaped area.

5. The electronic device according to any one of claims 1-4, characterized in that, The touch area is opaque.

6. The electronic device according to any one of claims 1-5, characterized in that, One of the detection electrodes corresponds to one or more touch positions; The multiple detection electrodes are specifically used to detect the touch position and touch sequence applied to the touch area; The processor is used to determine the touch trajectory based on the touch location and the touch sequence; The processor is also configured to determine the touch operation based on the touch trajectory.

7. The electronic device according to any one of claims 1-6, characterized in that, Each of the detection electrodes is connected to a detection circuit, which further includes an operational amplifier and a reference electrode; The detection electrode is connected to the first input terminal of the operational amplifier; The reference electrode is connected to the second input terminal of the operational amplifier; The operational amplifier is used to output a first voltage to the processor, and the processor is used to determine that the detection electrode is touched by the user when the first voltage is greater than a first threshold.

8. The electronic device according to claim 7, characterized in that, The reference electrode is disposed in a first region on the outer surface of the camera decoration.

9. The electronic device according to claim 7 or 8, characterized in that, The detection circuit also includes a first capacitor, a second capacitor, a third capacitor, and a fourth capacitor; The detection electrode is connected to the first input terminal of the operational amplifier through the first capacitor in series. The detection electrode is also connected to the first reference voltage and grounded through the second capacitor. The reference electrode is connected to the second input terminal of the operational amplifier through the third capacitor in series. The reference electrode is also connected to a second reference voltage and is grounded through the fourth capacitor.

10. The electronic device according to claim 9, characterized in that, The detection electrode and the reference electrode are identical in material, size, and shape; the capacitance value of the first capacitor is equal to the capacitance value of the third capacitor; and the capacitance value of the second capacitor is equal to the capacitance value of the fourth capacitor.

11. The electronic device according to any one of claims 1-10, characterized in that, The plurality of detection electrodes on the carrier plate are arranged in an array.

12. The electronic device according to any one of claims 1-11, characterized in that, The distance between the detection electrodes is 1 mm to 3 mm.

13. The electronic device according to any one of claims 1-12, characterized in that, The detection electrode is rectangular in shape, with a length of 1 mm to 3 mm and a width of 1 mm to 3 mm.

14. A touch control method, characterized in that, The method is applied to the electronic device according to any one of claims 1-13, and the method includes: The touch operation applied to the touch area is detected by the multiple detection electrodes. Based on the touch operation, the corresponding function of the touch operation is executed, including the function of adjusting the zoom level of the camera.

15. The method according to claim 14, characterized in that, One of the detection electrodes corresponds to one or more touch positions; the detection of touch operations applied to the touch area by the plurality of detection electrodes specifically includes: Based on the multiple detection electrodes, the specific detection action is performed on the touch area to determine the touch position and touch sequence. The touch trajectory is determined based on the touch location and the touch sequence; The touch operation is determined based on the touch trajectory.

16. The method according to claim 14 or 15, characterized in that, The touch operation includes a first swipe operation, and the function corresponding to the first swipe operation is the function of adjusting the zoom ratio of the camera; The direction of the first sliding operation is used to indicate whether to increase or decrease the zoom level of the camera; The distance of the trajectory of the first sliding operation is used to indicate the degree of adjustment.

17. The method according to any one of claims 14-16, characterized in that, The touch operation includes a first press operation, the function of which is to trigger the camera to take a picture.

18. A computer-readable storage medium, characterized in that, Includes a computer program that, when run on a processor of an electronic device, causes the electronic device to perform the method as described in any one of claims 1-17.

19. A computer program product, characterized in that, Includes a computer program that, when run on a processor of an electronic device, causes the electronic device to perform the method as described in any one of claims 1-17.