Camera function control method, electronic equipment and storage medium

CN119895883APending Publication Date: 2025-04-25HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380066775.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-09-22
Filing Date
2023-08-21
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing camera function control methods are not convenient enough, which affects the user's speed and experience. Especially when they need to quickly capture a picture, the user needs to remember the corresponding function of the sliding direction, which can easily lead to operational errors.

Method used

Provide a camera function control method. By dividing the first and second regions in the camera function interface, when the sliding operation enters the second region from the first area, judge the sliding direction to point the function label, switch the corresponding function interface, and in the interface interface, and in the interface interface The text shows the user's operation to ensure the user's accurate trigger the camera function.

Benefits of technology

It improves the flexibility and convenience of user operations and reduces the need to remember the sliding direction. Users can flexibly select camera functions based on the sliding direction, improving the efficiency and user experience of quick operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119895883A_ABST
    Figure CN119895883A_ABST
Patent Text Reader

Abstract

The invention provides a camera function control method, electronic equipment and a storage medium. The method comprises the following steps: displaying a first interface of a first camera function of the electronic equipment; receiving a first operation of a user on a first interface of the first camera function, wherein the first operation comprises a sliding operation; on a first interface of the first camera function, when the sliding operation enters the second area from the first area, whether the sliding direction corresponding to the sliding operation points to the first function label or not is judged; if the sliding direction points to the first function label, switching to display a second interface of a second camera function identified by the first function label; and in a second interface of the second camera function, responding to the sliding operation to continuously slide along the direction where the characters of the second camera function are located, and controlling the second camera function to run. According to the camera function control mode, the corresponding camera function can be accurately triggered without deliberately memorizing the direction of the sliding operation by the user, and the user experience of capturing the wonderful instant picture is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Camera function control method, electronic device and storage medium

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on September 22, 2022, with application number 202211157870.0 and invention name “Camera function control method, electronic device and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of photographing technology, and in particular to a camera function control method, electronic device, and storage medium. Background Art

[0003] More and more electronic devices are equipped with cameras, allowing users to take photos or videos anytime, anywhere. To enhance the user experience, electronic devices now offer a variety of camera functions, such as portrait photography, night photography, video recording, and movie recording. To use a camera function, users typically have to go through the following steps: open the camera app -> select a camera function -> operate the camera function to take a photo or video. When users want to capture a moment, they have to go through these steps one by one, which slows down their camera usage.

[0004] To speed up camera use, existing technologies have introduced quick operations for continuous photo or video recording. For example, after opening the camera app, users can use the capture button as a starting point and swipe left to quickly take photos or right to quickly record. While this method speeds up camera use to a certain extent, users need to remember the camera function corresponding to each swiping direction before use. Failure to remember or remembering incorrectly can lead to operational errors and fail to achieve the desired quick operation effect.

[0005] Summary of the Invention

[0006] The main purpose of this application is to provide a camera function control method, electronic device and storage medium, aiming to solve the technical problem that the existing camera function control method is not convenient enough and affects the user's usage speed and experience.

[0007] To achieve the above technical objectives, this application adopts the following technical solutions:

[0008] In a first aspect, the present application provides a camera function control method, which is applied to an electronic device, which includes multiple camera functions, and the first interface corresponding to the camera function includes a first area and a second area, the first area is the camera's shooting button, and the second area is the area other than the camera's shooting button, and the second area includes multiple function labels for identifying the camera function. The method includes: displaying a first interface of the first camera function of the electronic device; receiving a first operation of the user on the first interface of the first camera function, the first operation including a sliding operation; on the first interface of the first camera function, when the sliding operation enters the second area from the first area, determining whether the sliding direction corresponding to the sliding operation points to the first function label; if the sliding direction points to the first function label, switching to display a second interface of the second camera function identified by the first function label, the second interface including text representing the second camera function, and the display position of the text being the same as the display position of the first function label; in the second interface of the second camera function, in response to the sliding operation, continuing to slide along the direction where the text of the second camera function is located to control the operation of the second camera function.

[0009] The above-mentioned method of the present application redefines a new camera function control operation mode, which associates the sliding direction with the position of the function label. The user only needs to slide toward the location of the target function label to trigger the camera function corresponding to the function label. In addition, after the user slides toward the function label, the above-mentioned second interface is displayed, and text representing the second camera function is displayed on the second interface, prompting the user that the camera will perform the function. This helps the user know the camera function after the operation is performed and avoids misoperation. The display position of the second camera function text is the same as that of the first function label, which can guide the user to continue sliding to trigger the second camera function.

[0010] This allows for greater user flexibility, enabling quick control of any camera function you choose. For example, swiping in different directions can control multiple camera functions. Furthermore, users no longer need to memorize the mapping between swiping directions and camera functions; simply swiping toward a specific function label triggers the corresponding camera function, enhancing the user's camera operation flexibility and user experience.

[0011] In one possible design of the first aspect, the second area includes multiple non-overlapping partitions, each partition covering a function label, and the division of each partition is related to the relative position between the capture button and each function label. In the above design, based on the relative position between the capture button and each function label, the area outside the capture button is divided into multiple non-overlapping partitions, and each partition is ensured to cover a corresponding function label, thereby facilitating user sliding operations. When the user starts sliding from the capture button toward a function label, as long as the user slides within the same partition, the camera function identified by the function label covered by the partition can be triggered, thereby facilitating user sliding operations and improving operational convenience.

[0012] In one possible design of the first aspect, in the first interface of the first camera function, when a sliding operation enters the second area from the first area, determining whether the sliding direction corresponding to the sliding operation points to the first function label includes: in the first interface of the first camera function, when the sliding operation enters the second area from the first area, determining whether the sliding operation enters a target partition of the second area; if the sliding operation enters the target partition of the second area, determining that the function label covered by the target partition is the first function label pointed to by the sliding direction corresponding to the sliding operation. In the above design, the partitioning of the second area conforms to the characteristics of the user's sliding operation, ensuring that the sliding operation accurately points to the function label even if the user's sliding operation deviates to a certain extent, thereby facilitating user operation and improving the flexibility of camera control.

[0013] In one possible design of the first aspect, the second area corresponds to multiple non-overlapping angle ranges, each angle range covers a function label, and the division of each angle range is related to the relative position between the capture button and each function label. In the above design, based on the relative position between the capture button and each function label, the area outside the capture button is divided into multiple non-overlapping angle ranges, and it is ensured that each angle range corresponds to covering a function label, thereby facilitating the user's sliding operation. When the user starts sliding from the capture button toward a certain function label, as long as the user slides within the same angle range, it is guaranteed that the camera function identified by the function label covered by the partition will be triggered, thereby facilitating the user's sliding operation and improving the convenience of operation.

[0014] In one possible design of the first aspect, in the first interface of the first camera function, when a sliding operation enters the second area from the first area, determining whether the sliding direction corresponding to the sliding operation points to the first function label includes: calculating the angle between the sliding direction corresponding to the sliding operation and a preset reference direction when the sliding operation enters the second area from the first area in the first interface of the first camera function; if the angle range includes the angle, determining that the function label covered by the angle range including the angle is the first function label to which the sliding direction corresponding to the sliding operation points. In the above design, the angle range division of the second area conforms to the characteristics of the user's sliding operation, ensuring accurate pointing to the function label even if the user's sliding operation deviates to a certain extent, thereby facilitating user operation and improving the flexibility of camera control.

[0015] In a possible design of the first aspect, the camera function control method further includes: when switching to display the second interface of the second camera function identified by the first function label, hiding the relevant controls displayed on the first interface of the first camera function, wherein the relevant controls include all function labels displayed on the first interface of the first camera function. In the above design, since both the first interface and the second interface include a viewfinder and a shooting button, when switching between the first interface and the second interface, hiding the relevant controls of the first interface can allow the user to intuitively feel the change in the interface when the second interface is displayed, and can also let the user know that the sliding operation has triggered the camera shortcut control function, thereby improving the user experience. In addition, displaying the text corresponding to the triggered camera function at the original function label position can let the user know the camera function triggered by the current sliding operation, thereby improving the user experience.

[0016] In one possible design of the first aspect, the first operation also includes a long press operation, and the camera function control method further includes: in the first interface of the first camera function, when a long press operation occurs in the first area, determining whether the long press duration of the long press operation reaches a preset duration threshold; if the long press duration of the long press operation reaches the preset duration threshold, switching to display a second interface of the video recording function; in the second interface of the video recording function, when the long press duration of the long press operation exceeds the duration threshold, controlling the video recording function to operate. In the above design, compared to the photo function with multiple photo modes, the video recording function is relatively simple. Therefore, an additional user operation method is provided for the video recording function, which is different from the photo function. This method is simple to operate, easy for users to remember, and can quickly activate the video recording function.

[0017] In one possible design of the first aspect, the camera function control method further includes: in the second interface of the video recording function, when the long press operation fails, stopping the video recording function and restoring the first interface of the first camera function. In the above design, when the user raises their hand, the long press operation fails, thereby ending the video recording. At the same time, to reduce user operations and facilitate the user's continued use of the quick operation function, the video recording function opened through the method of this application can automatically restore the operation interface before the start when it ends, thereby improving the user experience.

[0018] In one possible design of the first aspect, the function labels are slidable. When the user slides any function label on the first interface of the first camera function, the display positions of all function labels change. In the above design, sliding the function labels allows the user to operate more camera functions on the same interface. Since the partitions or angle ranges in this application are not fixedly bound to a certain function label, that is, in different application scenarios, sliding to the same partition or angle range can trigger different camera functions, the camera control method of this application can adapt to various application scenarios and improve user convenience.

[0019] In one possible design of the first aspect, the camera function control method further includes: obtaining a second function label selected by the user by sliding the function label on the first interface of the first camera function; and switching to display the first interface of the third camera function identified by the second function label. In the above design, sliding the function label can display the operation interface corresponding to different function labels. That is, regardless of the operation interface corresponding to any camera function, the sliding operation method of this application can be used to control the camera function, thereby facilitating users to quickly operate camera functions in various application scenarios.

[0020] In one possible design of the first aspect, the second camera function includes a continuous shooting function, the first function label includes a photo function label, and the second interface of the second camera function includes: text for the continuous shooting function; in response to a sliding operation, the user continues to slide along the direction where the text for the second camera function is located, and controlling the operation of the second camera function includes: in response to a sliding operation, the user continues to slide along the direction where the text for the continuous shooting function is located on the second interface of the continuous shooting function, controlling the continuous shooting function to continuously capture photos. In the above design, the continuous shooting function specifically includes a photo function for continuously shooting or a portrait function for continuously shooting. Through the user's sliding operation, the photo function or the portrait function can be used to continuously shoot photos, thereby forming a new continuous shooting function, reducing the user's photo shooting operations and improving the user experience.

[0021] The camera function control method also includes: when the sliding operation fails or the number of continuously taken photos reaches a preset threshold, stopping the continuous shooting function and restoring the display of the first interface of the first camera function, wherein the number of continuously taken photos is related to the duration of the sliding operation, and the duration includes the sliding duration and the dwell time of the sliding operation on the second interface of the continuous shooting function. The above design provides the conditions for exiting the camera function operation, one is that the sliding operation fails, such as the user lifts his finger, and the other is that the number of continuously taken photos reaches the maximum number. At the same time, after the operation is completed, the interface before the start can be automatically restored to display, thereby reducing user operations and facilitating users to continue using the quick operation function.

[0022] In a possible design of the first aspect, the second camera function includes a portrait function, the first function label includes a portrait function label, and in the second interface of the second camera function, in response to the sliding operation, the sliding continues along the direction where the text of the second camera function is located, and controlling the operation of the second camera function includes: in the second interface of the portrait function, in response to the sliding operation, the sliding continues along the direction where the text of the portrait function is located, controlling the portrait function to take a photo; calling an image processing program adapted to the portrait function to perform image processing on the generated photo and save the processed picture. In the above design, the sliding operation can not only quickly trigger the camera function, but also realize continuous photo taking, thereby reducing user operations. In addition, in the above design, the generated photos can be further processed. For example, after taking a picture, the algorithm corresponding to the night scene function is used to process the picture and then save it, or the algorithm corresponding to the portrait function is used to blur the background, beautify the portrait (skin smoothing, face slimming), etc., and then save it, or in the process of recording a video, add a filter in the movie mode, thereby saving user operations and improving the user experience.

[0023] In one possible design of the first aspect, the second camera function includes a video recording function, the first function label includes a video recording function label, and in response to a sliding operation, the user continues to slide along the direction where the text of the second camera function is located on the second interface of the second camera function, and controlling the operation of the second camera function includes: in response to the sliding operation, the user continues to slide along the direction where the text of the video recording function is located on the second interface of the video recording function to control the video recording function to record; when the sliding operation fails, the user switches to displaying the third interface of the video recording function and continues to operate the video recording function. In this design, the user can control the video recording function by sliding from the capture button toward the direction where the video recording function label is located, thereby improving the user's convenience in using the video recording function. In addition, considering that the video recording function has a longer operating time than the photo function and that the video recording function also supports pausing recording, if the sliding operation fails, such as when the user lifts their finger, the interface does not resume, but instead switches to displaying the complete video recording function operation interface and continues to operate the video recording function, allowing the user to control the recording process at any time.

[0024] In one possible design of the first aspect, the camera function control method further includes: in the third interface of the recording function, upon receiving a user-triggered stop recording command, stopping the recording function and restoring the display of the first interface of the first camera function. In the above design, the second interface of the recording function displays recording process shooting buttons, such as a recording control button and a pause button. When the user manually clicks the recording control button to trigger the stop recording command, it is determined that the user's true intention is to exit recording. Therefore, while stopping the recording function, the display of the interface before the start is restored, thereby facilitating subsequent user operations and improving the user experience.

[0025] In a second aspect, the present application also provides an electronic device comprising a processor and a memory, wherein the processor is used to call a computer program in the memory to execute a camera function control method as provided in the first aspect or any one of the designs in the first aspect.

[0026] In a third aspect, the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the camera function control method provided in the first aspect or any one of the designs in the first aspect.

[0027] In a fourth aspect, the present application further provides a computer program product, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method described above.

[0028] The description of the effects of the above-mentioned second, third and fourth aspects can refer to the description of the effects of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] FIG1 is a schematic diagram of a camera function interface of a mobile phone provided in an embodiment of the present application;

[0030] FIG2 is a schematic diagram of a user operation flow of an existing camera function control method;

[0031] FIG3 is a schematic diagram of another user operation flow of an existing camera function control method;

[0032] FIG4 is a schematic diagram of a user operation flow of a camera function control method according to an embodiment of the present application;

[0033] FIG5 is a schematic diagram of the camera function interface provided in an embodiment of the present application;

[0034] FIG6 is a schematic diagram of a user performing a sliding operation between a first area and a second area according to an embodiment of the present application;

[0035] FIG7 is a schematic diagram of a user performing a sliding operation in any partition of the first area and the second area according to an embodiment of the present application;

[0036] FIG8 is a schematic diagram of a user performing a sliding operation within any angle range of the first area and the second area according to an embodiment of the present application;

[0037] FIG9 is a schematic flow chart of a camera function control method according to an embodiment of the present application;

[0038] FIG10 is a schematic diagram of an interface for a user to slide to take continuous photos, provided in an embodiment of the present application;

[0039] FIG11 is a schematic diagram of another interface for a user to slide to take continuous photos provided by an embodiment of the present application;

[0040] FIG12 is a schematic diagram of an interface for a user to slide to take continuous portrait shots, provided by an embodiment of the present application;

[0041] FIG13 is a schematic diagram of another interface for a user to slide to take continuous portrait shots, provided by an embodiment of the present application;

[0042] FIG14 is a schematic diagram of an interface for a user to slide to take a portrait photo, provided in an embodiment of the present application;

[0043] FIG15 is a schematic diagram of the video recording interface of a mobile phone provided in an embodiment of the present application;

[0044] FIG16 is a schematic diagram of an interface for a user to slide to record a video according to an embodiment of the present application;

[0045] FIG17 is a schematic diagram of an interface for a user to long press to record a video according to an embodiment of the present application;

[0046] FIG18 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solutions and advantages of this application clearer, this application will be further described below with reference to the accompanying drawings.

[0048] The terms "first" and "second" in the specification, claims, and drawings of this application are used only to distinguish different objects and are not used to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to the process, method, product, or device.

[0049] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it refer to independent or alternative embodiments that are mutually exclusive with other embodiments. It is understood, both explicitly and implicitly, that the embodiments described in this application may be combined with other embodiments.

[0050] In this application, "at least one (item)" means one or more, "more than one" means two or more, "at least two (items)" means two or three and more than three, and "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c".

[0051] In the embodiments of the present application, the electronic device has one or more cameras and is installed with a camera application, enabling functions such as taking photos and recording videos. It is understood that the electronic device may be a mobile phone, a wearable device, a tablet computer, a computer with wireless transceiver capabilities, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, etc. The following specifically describes the electronic device using a mobile phone as an example.

[0052] Figure 1 is a schematic diagram of a camera function interface displayed on a mobile phone provided in an embodiment of the present application. The mobile phone supports multiple camera functions, such as photo function, portrait function, night view function, video function, etc., and each camera function corresponds to a camera function interface. For example, if the user selects the photo function, the mobile phone will display the photo function interface, and if the user selects the video function, the mobile phone will display the video function interface. It should be noted that when the user opens the camera application of the mobile phone, a function interface will usually be displayed by default, such as the photo function interface. If the user wants to use other functions of the camera, such as the portrait function, the user needs to manually select the portrait function first, and then the mobile phone will automatically switch to display the function interface corresponding to the portrait function.

[0053] As shown in FIG1 , the layout of the camera function interface mainly includes: a viewfinder 101 , function labels 102 , and a capture button 103 .

[0054] The viewfinder 101 is used to display the image captured by the camera in real time.

[0055] Function labels 102 are used to indicate different camera functions for user selection. Each function label 102 corresponds to a camera function, such as a photo function label, a portrait function label, a night view function label, and a video function label. Some or all function labels can be displayed on the same camera function interface. Function labels 102 can be displayed on either side of the viewfinder 101. Multiple function labels 102 can be arranged horizontally, vertically, or in a ring around the capture button 103. When a function label 102 is triggered, the phone automatically displays the camera function interface corresponding to the triggered label. For example, if the photo function label is triggered, the photo function interface is displayed.

[0056] The shooting button 103 is used to execute the corresponding camera function, which is determined according to the camera function interface currently displayed on the mobile phone. For example, if the mobile phone currently displays the camera function interface, when the user touches the shooting button 103, the mobile phone automatically takes a photo of the image in the current viewfinder 101 and saves the photo.

[0057] It should be noted that, based on the actual design requirements of the camera application, the layout of the camera function interface can also include: gallery thumbnails 104, front and rear camera switching buttons 105, camera focus adjustment controls 106, smart vision controls 107, AI photography controls 108, flash controls 109, filter shooting mode controls 110, settings buttons 111, etc. Among them, clicking the gallery thumbnail 104 can display the most recently saved photo or video in the album, and sliding left or right can also view other pictures or videos in the album; clicking the front and rear camera switch button 105 can switch between the front and rear cameras; sliding the camera focus adjustment control 106 can adjust the camera focus; clicking the smart vision control 107 can open preset application functions, such as object recognition, text recognition, etc.; opening the AI ​​photography control 108 can automatically recognize portraits, night scenes and other photo environments according to different scenes, and automatically adjust the photo parameters; clicking the flash control 109 can control the flash to be turned on or off; clicking the filter shooting mode control 110 can select different shooting modes and add different filters to the captured pictures, such as original image mode, green filter mode, impression filter mode, etc.; the setting button 111 can open the setting menu to set the camera parameters. Generally speaking, the camera function interfaces corresponding to different camera functions will be different. For example, the function interface of the photo function is different from the function interface of the portrait function and the function interface of the video recording function. This is specifically reflected in the layout of the camera function interface, which is designed according to the actual needs of the camera application. I will not go into details here.

[0058] Figure 2 is a schematic diagram of a user operation flow for an existing camera function control method. Taking the portrait function as an example, as shown in 2a of Figure 2, the user first clicks the camera application icon on the phone's desktop to launch the camera application (assuming it takes 1 second). As shown in 2b of Figure 2, after the camera application launches, the phone displays the default camera function interface (e.g., the photo function interface). In this interface, the user finds the portrait function tab from multiple horizontally arranged function tabs and clicks it. The phone then switches from the photo function interface to the portrait function interface (assuming it takes 2 seconds), as shown in 2c of Figure 2. As shown in 2d of Figure 2, the user first aims at the subject and then clicks the capture button. The phone automatically executes the photo function and generates the corresponding photo (assuming it takes 1 second).

[0059] As shown in Figure 2, the existing camera function control method requires three steps in sequence: opening the camera application -> selecting a camera function -> operating the camera function to take a photo or record a video. This takes about 4 seconds. If the user needs to capture some wonderful moments, the user needs to go through the above steps in sequence to take a photo or record a video. Due to the large number of steps, the time consumption increases, thereby reducing the speed of taking photos or recording videos, and thus missing wonderful moments.

[0060] FIG3 is another user operation flow diagram of the existing camera function control method. As shown in 3a of FIG3, the user first clicks the camera application icon on the mobile phone desktop to start the camera application; as shown in 3b of FIG3, after the camera application is started, the mobile phone displays the default camera function interface (such as the photo function interface); as shown in 3c and 3d of FIG3, the user first aims at the photo object, and then uses the shooting button as the sliding starting point. If the user slides to the left, the camera photo function is triggered to take quick and continuous photos and save the corresponding photos; if the user slides to the right, the camera video function is triggered to record and generate the corresponding video. As can be seen from FIG3, compared with FIG2, this camera function control method adopts a fixed shortcut operation method to achieve fast photo and video recording, reducing the operation links of photo or video recording, thereby speeding up the user's operation speed. Although this method improves the user's speed in using the camera to a certain extent, the user needs to remember the camera function corresponding to each sliding direction before use. If the user does not remember or remembers it incorrectly, it may cause operation errors, affecting the user experience.

[0061] In response to the problems existing in the above-mentioned existing camera function control methods, an embodiment of the present application provides a camera function control method. The new interaction method combines the camera function selection operation with the camera function control operation, thereby reducing the operation links of taking photos or videos and speeding up the user's operation speed. The user does not need to deliberately remember the sliding direction. In addition, the shortcut operation of the present application supports more camera functions, thereby improving the user experience. Among them, the camera function selection operation of the present application specifically refers to the operation of selecting a camera function, such as the operation of clicking "Portrait" in the interface corresponding to the "Photo" function, the operation of clicking "Video" in the interface corresponding to the "Photo" function, etc. The camera function control operation refers to the operation of clicking the shooting button. In response to this operation, the electronic device uses the camera to take photos or videos. The method of the present application combines the above-mentioned processes, so that users can quickly use different shooting modes, and it is easy to remember, thereby improving the user experience.

[0062] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0063] Figure 4 is a schematic diagram of the user operation flow of the camera function control method provided by an embodiment of the present application. Taking the portrait function control as an example, the following describes the operation steps of a user using the mobile phone camera application to take a portrait photo.

[0064] Operation step 1: User opens the camera app

[0065] For example, as shown in 4a in Figure 4, the user opens the mobile phone desktop, finds the camera icon, and then clicks the camera icon to open the camera application. This method of opening the camera application is relatively common. The user can open the mobile phone desktop, find the camera icon and open the camera application.

[0066] In an optional embodiment, a shortcut key or quick operation can be used to trigger the opening of the camera application. For example, when the phone is in the lock screen state, the user finds the camera icon on the lock screen interface, clicks and slides upwards to open the camera application, thereby saving the user the time of opening the camera application.

[0067] Operation step 2: The user selects the portrait function and runs the function to take a photo

[0068] For example, as shown in 4b in Figure 4, after the camera application is opened, the mobile phone displays the default photo function operation interface; as shown in 4c in Figure 4, the user aims at the photo object and slides from the shooting button position toward the portrait function label on the current photo function operation interface (the black arrow in 4c in Figure 4 points to the sliding direction); as shown in 4d in Figure 4, after the mobile phone detects the sliding operation, it determines that the camera function triggered by the current sliding operation is the portrait function, captures the image in response to the sliding operation, and processes the image using the portrait processing algorithm and saves it.

[0069] Compared with the operation mode of the existing camera function control method in Figure 2, the present application combines the last two operation links in the existing operation links into one operation link, so as to facilitate users to quickly switch between different photo modes and improve the user experience. If the mobile phone is in the state where the camera application is already started to control the camera function, then for the user, only one sliding operation is needed to realize the camera function selection and control the camera function operation in one step, thereby greatly improving the user operation speed. Compared with the operation mode of the existing camera function control method in Figure 3, which adopts a fixed shortcut operation mode to control the camera function, such as sliding to the left can only trigger the photo function, and sliding to the right can only trigger the video recording function, the present application redefines a new camera function control operation mode, which associates the sliding direction with the position of the function label. The user only needs to slide towards the location of the target function label to trigger the camera function corresponding to the function label. Therefore, the user's operation method will be more flexible, that is, the camera function that is triggered by sliding the camera will be triggered, so it is possible to quickly control any camera function selected by the user. For example, sliding in different directions can control multiple different camera functions; in different application scenarios, even sliding in the same direction can trigger different camera functions, and the same camera function can be triggered even if sliding in different directions in different application scenarios. Therefore, the camera function control method of this application is more flexible and can be adjusted based on the application scenario when the user is using it. In addition, the user does not need to deliberately memorize the correspondence between sliding directions and camera functions. Just swiping towards a function label can trigger the corresponding camera function to run. Due to the more flexible operation method, quick control of all camera functions can be achieved.

[0070] In another embodiment of the present application, as shown in FIG4 , in the interface shown in 4 b in FIG4 , the user performs a sliding operation from the shooting button to the “photograph” label, and the mobile phone responds to the user's sliding operation, performs continuous photographing, and saves multiple pictures.

[0071] In one possible implementation, after the user slides from the shooting button to the "Take Photo" label, and continues to slide upward for a certain distance, the finger remains on the screen of the mobile phone. In response to the user's operation of staying on the screen of the mobile phone, the mobile phone continues to take continuous photos and save pictures. The number of continuous photos and saved pictures may be related to the length of time the user's finger stays on the screen. When the user's finger is lifted from the screen, the mobile phone may stop taking pictures in response to the lifting operation.

[0072] In one possible implementation, the mobile phone sets a maximum number of continuous shots by default, or the user can pre-set the maximum number of continuous shots. In this way, if the mobile phone continues to take continuous shots and save the pictures in response to the user's finger remaining on the screen, when the maximum number of continuous shots is reached, the mobile phone can stop taking pictures even if it detects that the user's finger is still on the screen, that is, it does not detect that the user has lifted the finger from the screen.

[0073] In another embodiment of the present application, as shown in FIG4 , in the interface shown in 4 b of FIG4 , a user slides from the capture button to the “Record” tab. In response to the user's sliding operation, the phone executes the recording function and saves the recorded video. The specific process will be described in detail below.

[0074] It should be noted that the user can also perform a sliding operation from the shooting button to other labels, such as labels such as "Movie" and "Night Scene". In response to the user's sliding operation, the mobile phone can execute the camera function corresponding to the label. For example, after taking a picture, the algorithm corresponding to the night scene function is used to process the picture and save it, or during the video recording process, a filter in the movie mode is added, etc. In addition, although the above embodiment uses a mobile phone as an example to illustrate the shooting method of the embodiment of the present application, the present application is not limited to this. The execution subject of the shooting method of the embodiment of the present application can also be an electronic device such as a tablet computer and a folding screen device.

[0075] The following further explains how the user uses sliding operations to select and operate camera functions.

[0076] 5 , the camera function interface includes a first area 501 and a second area 502. The first area 501 is a control area for the camera function, preferably a capture button, and the second area 502 is an area surrounding the first area 501. The following example takes the first area 501 as the capture button.

[0077] In an embodiment of the present application, a control condition associated with the sliding operation is set based on the first area 501 and the intersection angle when sliding from the first area 501 to the second area 502 and passing through the edge of the first area 501. The mobile phone can determine the camera function selected by the sliding operation according to the control condition, and then the mobile phone controls the operation of the camera function selected by the sliding operation. For the user, the user only needs to perform one sliding operation to select the camera function and trigger the operation of the camera function.

[0078] In the embodiment of the present application, the control condition is preferably set so that the sliding operation needs to pass through the first area 501 and the second area 502 respectively, and the sliding direction of the sliding operation can be from the first area 501 to the second area 502, or from the second area 502 to the first area 501. Among them, the sliding operation passing through the first area 501 (shoot button) determines that the user wants to take a photo or record a video, and when the sliding operation passes through the first area 501 and enters the second area 402, it determines the camera function selected by the user, that is, the user can simultaneously select the camera function and control the operation of the camera function through a single sliding operation. Based on the interface layout position of the shooting button in the existing camera application (the button is located in the middle of the bottom of the interface) and the size of the button area (the button area is small), it is preferred to use the first area 501 as the starting area of ​​the sliding operation and the second area 502 as the end area of ​​the sliding operation, that is, the sliding direction of the sliding operation is preferably from the first area 501 to the second area 502.

[0079] Exemplarily, as shown in FIG6 , when the user's sliding operation (the black arrow indicates the sliding direction) slides from the first area 501 (the shooting button area) to the second area 502 (the area outside the shooting button area), and when passing the edge of the first area 501, it is determined that the current sliding operation realizes the camera function selection and triggers the camera function operation.

[0080] The present application provides two control conditions and combines them with a sliding operation to implement a sliding operation to select a camera function, including but not limited to the following two methods:

[0081] Method 1: Slide operation + partition

[0082] Exemplarily, as shown in FIG7 , the second area 502 in FIG6 is divided into a plurality of partitions in different orientations, each partition does not overlap, and each partition corresponds to a function label position. For example, in FIG7 , partition 701 corresponds to the portrait function label, partition 702 corresponds to the photo function label, and partition 703 corresponds to the video recording function label. When a sliding operation (the black arrow indicates the sliding direction) enters partition 701 from the shooting button area, it is determined that the sliding operation triggers the portrait function; when the sliding operation enters partition 702 from the shooting button area, it is determined that the sliding operation triggers the continuous shooting function; when the sliding operation enters partition 703 from the shooting button area, it is determined that the sliding operation triggers the video recording function. This embodiment does not limit the number of partitions and the way they are divided. The continuous shooting function can be regarded as a photo function that can realize continuous shooting.

[0083] For example, to facilitate quick user operation, the second area 502 above the first area 501 is preferably divided into multiple non-overlapping partitions, each partition covering a camera function label. The number of partitions and the corresponding camera function labels can be pre-set by the mobile phone manufacturer or manually configured by the user.

[0084] The camera function corresponding to each partition is determined based on the currently displayed camera function. For example, if the phone is currently displaying the camera function, the left side of the camera function label is the portrait function label, and the right side is the video function label, then the middle partition 702 corresponds to the continuous shooting function, the left partition 701 corresponds to the portrait function, and the right partition 703 corresponds to the video function. If the phone is currently displaying the portrait function, the left side of the portrait function label is the night view function label, and the right side is the camera function label, then the middle partition 702 corresponds to the portrait function, the left partition 701 corresponds to the night view function, and the right partition 703 corresponds to the continuous shooting function.

[0085] In one embodiment, it is preferred that each partition covers the text range of the function label, and each partition corresponds to the camera function corresponding to the function label it covers, so as to ensure that when the user performs a sliding operation, he only needs to slide toward the corresponding function label to ensure that the camera function corresponding to the function label is triggered. For example, if the user slides toward the portrait function label, when the sliding operation passes through the first area 501 and enters the second area 502, the portrait function is determined to be triggered; if the user slides toward the video recording function label, when the sliding operation passes through the first area 501 and enters the second area 502, the video recording function is determined to be triggered.

[0086] In addition, in order to speed up the response speed of the control condition judgment, it is preferred that one side boundary of each partition intersects with one side boundary of the first area 501. When the user's sliding operation comes out of the first area 501 and enters the second area 502, it is ensured that the sliding operation can enter a partition of the second area 502 at the moment of leaving the first area 501, so that the camera function triggered by the sliding operation can be quickly determined.

[0087] Method 2: Slide operation + angle range

[0088] Exemplarily, as shown in FIG8 , the second area 502 in FIG6 is divided into a plurality of angle ranges in different directions, each angle range does not overlap, and each angle range corresponds to a function label position. For example, in FIG8 , angle range A corresponds to the portrait function, angle range B corresponds to the continuous shooting function, and angle range C corresponds to the video recording function. When the sliding operation enters the second area 502 from the shooting button area, and the sliding direction corresponds to angle range A, it is determined that the sliding operation triggers the portrait function; when the sliding operation (indicated by the black arrow) enters the second area 502 from the shooting button area, and the sliding direction corresponds to angle range B, it is determined that the sliding operation triggers the continuous shooting function; when the sliding operation enters the second area 502 from the shooting button area, and the sliding direction corresponds to angle range C, it is determined that the sliding operation triggers the video recording function. This embodiment does not limit the number of angle ranges and the way they are divided.

[0089] For example, to facilitate quick user operation, assuming that the positive direction of the x-axis is used as the reference direction for angle division, the first area 501 corresponding to 0-180° is divided into multiple angle ranges, each angle range covering a function label. The number of angle range divisions and the numerical interval of each angle range can be pre-set by the mobile phone manufacturer or manually configured by the user.

[0090] The camera function corresponding to each angle range is determined based on the currently displayed camera function. For example, if the phone is currently displaying the camera function, the left side of the camera function label is the portrait function label, and the right side is the video function label, then the middle angle range B (60-120°) corresponds to the continuous shooting function, the left side of the angle range A (120-180°) corresponds to the portrait function, and the right side of the angle range C (0-60°) corresponds to the video function. If the phone is currently displaying the portrait function, the left side of the portrait function label is the night scene function label, and the right side is the camera function label, then the middle angle range B (60-120°) corresponds to the portrait function, the left side of the angle range A (120-180°) corresponds to the night scene function, and the right side of the angle range C (0-60°) corresponds to the continuous shooting function.

[0091] In one embodiment, each angle covers the text range of the function label, and each angle range corresponds to the camera function corresponding to the function label it covers, so as to ensure that when the user performs a sliding operation, he only needs to slide toward the corresponding function label to ensure that the camera function corresponding to the function label is triggered. For example, if the user slides toward the portrait function label, when the sliding operation passes through the first area 501 and enters the second area 502, the portrait function is determined to be triggered; if the user slides toward the video recording function label, when the sliding operation passes through the first area 501 and enters the second area 502, the video recording function is determined to be triggered.

[0092] It is understandable that the above two methods can be either pre-configured by the mobile phone manufacturer as a default, or pre-configured by the mobile phone manufacturer, and then the user manually selects either method. In the above two methods, the partition division method and the angle division method can be pre-set by the mobile phone manufacturer as a default, or manually configured by the user. In addition, the partition or angle range division method can be set based on the sliding direction of the sliding operation, or the sliding direction of the sliding operation can be determined based on the partition division method or the angle division method. It should be supplemented that the sliding direction of the sliding operation is related to the partition division and the angle range division. Therefore, the sliding direction of the sliding operation needs to match the partition division method and the angle division method.

[0093] In this application, the partitioning and angle range divisions are specifically related to the relative positions of the capture button and each function label. To facilitate users to accurately trigger the corresponding camera function through sliding operations, the partition range and angle range need to cover the text corresponding to each function label. The text corresponding to each function label can be used to indicate the direction of the user's sliding operation, so that users can accurately trigger the corresponding camera function without deliberately memorizing the sliding operation direction.

[0094] In the existing camera function control method, the user needs to remember the camera function corresponding to each sliding direction before use. If they do not remember or remember it incorrectly, it may lead to operational errors. In addition, the existing camera function control method only has two sliding directions, left and right, so the user can only use two camera functions. The present application associates the sliding direction with the function label position. The user only needs to slide in the direction of each function label position to trigger the camera function corresponding to the position. At the same time, since the function label position is variable, even sliding in the same direction may trigger different camera functions. Compared with the existing camera function control method, the camera function control method of the present application does not need to deliberately remember the direction of the sliding operation, and supports multi-directional sliding. It is not only convenient for user operation, but also can use a variety of camera functions, improving the user experience of capturing wonderful moments.

[0095] The following describes the implementation process of the camera control method corresponding to FIG. 7 and FIG. 8 , assuming that the electronic device is a mobile phone and the camera function is a photo taking function.

[0096] FIG9 is a flow chart of a camera function control method according to an embodiment of the present application. The following exemplary steps of the camera function control method include:

[0097] S901, the mobile phone displays a first interface of a first camera function, where the first interface is an interface for a user to operate the camera function;

[0098] The camera function may refer to a camera's shooting mode. A mobile phone's camera may include multiple shooting modes, that is, a mobile phone's camera may include multiple different camera functions. For example, as described above, a mobile phone's camera may include different camera functions such as photo mode, portrait mode, video mode, night mode, and movie mode.

[0099] The first interface can be an interface corresponding to any shooting mode. The first interface may include a viewfinder, a shooting button, and other controls for setting shooting parameters, wherein the viewfinder can be used to display the image captured by the camera of the mobile phone in real time, that is, the viewfinder is used to preview the image captured by the camera in real time; the shooting button is used to control the shooting and saving of images or videos, and the user can click or slide the shooting button. The mobile phone can execute shooting and save images or videos in response to the user's operation of the shooting button; other controls for setting shooting parameters may include the gallery thumbnails mentioned above, the front and rear camera switching buttons, the camera focus adjustment controls, the smart vision controls, the AI ​​photography controls, the flash controls, the filter shooting mode controls, the settings buttons, etc. Among them, clicking on the gallery thumbnail can display the most recently saved photo or video in the album; clicking on the front and rear camera switch button can switch between the front and rear cameras; sliding the camera focus adjustment control can adjust the camera focus; clicking on the smart vision control can open the preset application functions, such as object recognition, text recognition, etc.; turning on the AI ​​photography control can automatically identify portraits, night scenes and other photo environments according to different scenes, and automatically adjust the photo parameters; the flash control can control the flash to be turned on or off; clicking on the filter shooting mode control can select different shooting modes and add different filters to the captured pictures, such as original image mode, green filter mode, impression filter mode, etc.; the settings button can open the settings menu to set the camera parameters.

[0100] For example, in response to a user triggering the camera application icon on the desktop, the mobile phone opens the camera application and displays the first interface. It is understood that after the camera application is opened, the first interface initially displayed by the mobile phone may be the default camera function interface, as shown in Figure 2b. It is further understood that after the camera application is opened, the user can change the camera function interface currently displayed on the mobile phone by clicking other function labels on the first interface. For example, if the user clicks the portrait function label, the mobile phone switches to displaying the portrait function interface, as shown in Figure 2c.

[0101] In this embodiment, the first interface displayed by the mobile phone can be the default camera function interface displayed when the camera application is started, or it can be the camera function interface corresponding to the function label selected by the user, that is, the camera function control method of this application can be implemented in any camera function interface.

[0102] S902, the mobile phone detects whether a user performs a sliding operation on a first interface, where the first interface includes a first area and a second area;

[0103] Exemplarily, as shown in FIG5 , the first interface includes a first area 501 and a second area 502 . The first area 501 is a control area for camera functions, preferably a shooting button, and the second area 502 is an area around the first area 501 .

[0104] After the mobile phone starts the camera application and displays the first interface, it will continue to detect whether there is a sliding operation by the user on the mobile phone screen on the first interface. The sliding operation can be a sliding operation in any sliding direction and any sliding path. When the sliding operation meets the preset control conditions, the mobile phone responds to the sliding operation to control the camera function.

[0105] S903: If a sliding operation of the user on the first interface is detected, the mobile phone determines whether the sliding operation enters the second area from the first area based on the movement trajectory of the touch point corresponding to the sliding operation;

[0106] In this embodiment, when the mobile phone detects that the user has performed a sliding operation on the first interface, the mobile phone obtains the movement trajectory of the touch point of the sliding operation on the screen, and determines whether to trigger the camera function control based on the movement trajectory.

[0107] Exemplarily, as shown in Figure 6, when the movement trajectory of the touch point on the screen during the sliding operation is from the first area 501 to the second area 502, the mobile phone further determines whether the sliding direction formed by the movement trajectory of the touch point points to a certain function label. If so, it is determined that the current sliding operation can realize the camera function selection and trigger the camera function operation.

[0108] The following specifically describes how to combine control conditions with sliding operations to achieve camera function control. Control conditions combined with sliding operations include but are not limited to the following two methods:

[0109] Method 1: Slide operation + partition. The second area includes multiple non-overlapping partitions, each of which corresponds to a function label. The specific implementation steps of this method are as follows:

[0110] S904A, if the sliding operation enters the second area from the first area, when the sliding operation enters the target subarea of ​​the second area, the mobile phone determines that the camera function corresponding to the target subarea is the camera function triggered by the sliding operation;

[0111] As shown in FIG7 , second area 502 is divided into multiple zones facing different directions, each zone being non-overlapping and corresponding to a function label. For example, in FIG7 , zone 701 corresponds to the portrait function label, zone 702 corresponds to the photo function label, and zone 703 corresponds to the video function label. When a slide operation enters zone 701 from the capture button area, it is determined that the slide operation has triggered the portrait function; when a slide operation enters zone 702 from the capture button area, it is determined that the slide operation has triggered the continuous shooting function; and when a slide operation enters zone 703 from the capture button area, it is determined that the slide operation has triggered the video function.

[0112] S904B, the mobile phone starts the camera function triggered by the sliding operation, and adjusts the layout of the first interface currently displayed on the mobile phone to display a second interface corresponding to the camera function triggered by the sliding operation, the second interface being the interface corresponding to the camera function when it is running;

[0113] When the user is sliding on the first interface, the phone automatically determines the camera function triggered by the sliding operation, then starts the camera function, and adjusts the layout of the first interface currently displayed on the phone during the startup process, such as hiding function labels, flash icons, settings menu icons, etc., or also displays interface elements that were not displayed on the first interface before, such as displaying the recording control button and recording time when the recording function is triggered.

[0114] It should be further explained that the camera function can be activated and the second interface corresponding to the camera function can be displayed simultaneously, or the camera function can be activated after the second interface corresponding to the camera function is displayed to take a photo or record a video. In addition, the camera function can be activated when the user slides their finger out of the capture button and enters the second area, or when the user's finger swipes over the corresponding function label.

[0115] S904C, if the camera function triggered by the sliding operation is the continuous shooting function, then in the second interface corresponding to the continuous shooting function, the mobile phone controls the continuous shooting function to take continuous photos based on the sliding operation.

[0116] In this embodiment, after triggering the camera function, the mobile phone can further control the operation of the camera function based on a sliding operation. For example, after the user slides from the shooting button to the "take a photo" label, and continues to slide upward for a certain distance, the finger stays on the screen of the mobile phone. The mobile phone responds to the user's operation of staying on the screen of the mobile phone and continues to take continuous photos and save pictures. The number of continuous photos and saved pictures can be related to the length of time the user's finger stays on the screen. When the user's finger is lifted from the screen, the mobile phone can stop taking pictures in response to the lifting operation.

[0117] The camera function triggered by the swipe action is a continuous shooting function, specifically a continuous photo function or a continuous portrait function. By swiping, users can use the photo or portrait function to take continuous photos, thus achieving continuous photo shooting or continuous portrait shooting. This reduces the user's need to use a specific camera function to take continuous photos and improves the user experience.

[0118] In one possible implementation, the mobile phone sets a maximum number of continuous shots by default, or the user can pre-set the maximum number of continuous shots. In this way, if the mobile phone continues to take continuous shots and save the pictures in response to the user's finger remaining on the screen, when the maximum number of continuous shots is reached, the mobile phone can stop taking pictures even if it detects that the user's finger is still on the screen, that is, it does not detect that the user has lifted the finger from the screen.

[0119] The control conditions of this embodiment are combined with the implementation method of the sliding operation. By partitioning the second area, multiple function labels are associated with each partition, which makes it convenient for users to correspond to each partition through sliding operations, and then control various camera functions through each partition. Compared with the existing camera function control method, the camera function control method of this application does not need to deliberately remember the direction of the sliding operation, and supports multi-directional sliding at the same time, which is not only convenient for user operation, but also can use multiple camera functions, thereby improving the user experience of capturing wonderful moments.

[0120] Method 2: Slide operation + angle. The second area corresponds to multiple non-overlapping angle ranges, and each angle range corresponds to a function label. The specific implementation steps of this method are as follows:

[0121] S905A, if the sliding operation enters the second area from the first area, then when the sliding operation enters the second area, the mobile phone calculates the angle between the sliding direction corresponding to the sliding operation and the preset reference direction;

[0122] As shown in FIG8 , the second area 502 in FIG6 is divided into multiple angle ranges in different directions, each angle range being non-overlapping, and each angle range corresponding to a function label. For example, in FIG8 , angle range A corresponds to the portrait function label, angle range B corresponds to the photo function label, and angle range C corresponds to the video recording function label. When a sliding operation enters the second area 502 from the capture button area and the sliding direction corresponds to angle range A, the sliding operation is determined to have triggered the portrait function; when a sliding operation enters the second area 502 from the capture button area and the sliding direction corresponds to angle range B, the sliding operation is determined to have triggered the photo function; and when a sliding operation enters the second area 502 from the capture button area and the sliding direction corresponds to angle range C, the sliding operation is determined to have triggered the video recording function.

[0123] Assuming that the reference direction is divided by the positive direction of the x-axis, when the sliding operation enters the second area from the first area, the angle between the sliding direction corresponding to the sliding operation and the preset reference direction is calculated. The angle is used to determine the camera function triggered by the sliding operation.

[0124] S905B, the mobile phone determines that the camera function corresponding to the angle range including the included angle is the camera function triggered by the sliding operation;

[0125] As shown in Figure 8, it is assumed that the angle range C (0-60°) corresponds to the video recording function label, the angle range B (60-120°) corresponds to the photo taking function label, and the angle range A (120-180°) corresponds to the portrait function label; if the calculated angle is 30°, which is within the angle range of 0-60°, it is determined that the sliding operation triggers the video recording function; if the calculated angle is 90°, which is within the angle range of 60-120°, it is determined that the sliding operation triggers the continuous shooting function; if the calculated angle is 150°, which is within the angle range of 120-180°, it is determined that the sliding operation triggers the portrait function.

[0126] S905C, the mobile phone starts the camera function triggered by the sliding operation, and adjusts the layout of the first interface currently displayed on the mobile phone to display the second interface corresponding to the camera function triggered by the sliding operation, the second interface being the interface corresponding to the camera function when it is running;

[0127] S905D, if the camera function triggered by the sliding operation is the continuous shooting function, then in the second interface corresponding to the continuous shooting function, the mobile phone controls the continuous shooting function to take continuous photos based on the sliding operation.

[0128] The above steps S905C and S905D are respectively the same as steps S904B and S904C, and therefore are not repeated here.

[0129] For example, as shown in FIG10 , a schematic diagram of a sliding photo interface is shown. As shown in 10a of FIG10 , after the mobile phone opens the camera application in response to the user's operation, the mobile phone displays the first interface corresponding to the photo function label by default. The user does not select other function labels, but directly performs a sliding operation on the first interface corresponding to the current photo function label (the black arrow shown in 10a of FIG10 indicates the sliding direction); as shown in 10b of FIG10 , when the sliding operation slides outward from the inner area of ​​the photo button and passes the edge of the photo button, the mobile phone determines that the current sliding direction points to the photo function label based on the movement trajectory of the touch point of the sliding operation on the screen, hides interface elements not related to the current photo, such as various function labels, flash icons, setting menu icons, etc., displays the viewfinder, gallery thumbnails and the photo button (i.e., the second interface), and displays the word "continuous shooting" in the original photo function label position. At the same time, a number is displayed in the middle of the photo button, which indicates the number of photos currently taken continuously (the initial value is 0); as shown in 10c of FIG10 , when the sliding operation continues along the photo function label, the mobile phone When the user slides into the second area 502 in the direction where the text ("Continuous Shooting") is located and passes through the word "Continuous Shooting", a line connecting the touch point of the sliding operation and the edge of the capture button is displayed, which is used to indicate the sliding direction corresponding to the sliding operation; as shown in 10d of Figure 10, when the sliding operation continues in the current sliding direction, the number displayed in the middle of the capture button begins to increase. At the same time, as the number of photos captured in the continuous shooting increases, the thumbnail preview photos displayed in the gallery thumbnail are also refreshed accordingly; as shown in 10e of Figure 10, when the sliding operation stops but the touch point does not disappear (the user's finger remains on the current second interface), the number displayed in the middle of the capture button continues to increase. It should be further explained that when the cumulative number of photos captured continuously reaches the maximum continuous shooting number threshold, the phone ends the continuous shooting and restores the display of the third interface corresponding to the camera function label; as shown in 10f of Figure 10, when the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), the phone ends the continuous shooting and restores the display of the third interface corresponding to the camera function label before the continuous shooting started, and refreshes the displayed content of the gallery thumbnail. Among them, the third interface and the first interface are both operating interfaces of the camera function. The difference between the two is that the content displayed in the gallery thumbnails is different, and the content displayed in real time in the viewfinder is different. Since the content displayed in the gallery thumbnails and the content displayed in real time in the viewfinder are dynamically changing, the third interface can be directly regarded as the first interface at different times to a certain extent.

[0130] For example, a schematic diagram of another sliding photo taking interface is shown in FIG11 . As shown in 11a of FIG11 , after the mobile phone opens the camera application in response to a user operation, the mobile phone displays the first interface corresponding to the camera function label by default; as shown in 11b of FIG11 , the user selects the first interface corresponding to another camera function label, such as the portrait function label, and the mobile phone then displays the first interface corresponding to the portrait function label. The user performs a sliding operation on the first interface corresponding to the current portrait function label (the black arrow in 11b of FIG11 indicates the sliding direction); as shown in 11c of FIG11 , when the sliding operation moves outward from the inner area of ​​the capture button and passes the edge of the capture button, the mobile phone determines that the current sliding direction is toward the camera function label based on the movement trajectory of the touch point of the sliding operation on the screen, and hides interface elements unrelated to the current photo, such as various function labels, the flash icon, and the settings menu icon, displaying only the viewfinder, the gallery thumbnail, and the capture button (i.e., the second interface). The word "Continuous Shooting" is displayed in the original position of the camera function label, and a number is displayed in the middle of the capture button, indicating the number of photos currently taken in a continuous accumulation (the initial value is 0); as shown in 11d of FIG11 As shown in FIG11 , when the sliding operation continues to slide along the direction of the text of the photo function (“continuous shooting”) to enter the second area 502 and pass through the word “continuous shooting”, a line between the touch point of the sliding operation and the edge of the shooting button is displayed, and the line is used to indicate the sliding direction corresponding to the sliding operation; as shown in FIG11 e, when the sliding operation continues to slide along the current sliding direction, the number displayed in the middle position of the shooting button begins to increase, and as the number of continuous shooting photos increases, the thumbnail preview photos displayed in the gallery thumbnail are also refreshed accordingly; as shown in FIG11 f, when the sliding operation continues to slide along the current sliding direction, the number displayed in the middle position of the shooting button begins to increase. When the operation stops but the touch point does not disappear (the user's finger is still on the current second interface), the number displayed in the middle of the shooting button continues to increase. It should be further explained that when the cumulative number of photos taken continuously reaches the maximum continuous shooting threshold, the phone ends the continuous shooting and restores the display of the first interface corresponding to the portrait function label; as shown in 11g in Figure 11, when the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), the phone ends the continuous shooting and restores the display of the third interface corresponding to the portrait function label before the continuous shooting started, and refreshes the display content of the gallery thumbnail. Among them, the third interface and the first interface are both operating interfaces of the camera function. The difference between the two is that the content displayed in the gallery thumbnail is different, and the content displayed in real time in the viewfinder is different.

[0131] For example, FIG12 shows a schematic diagram of a sliding portrait continuous shooting interface. As shown in 12a of FIG12, after the mobile phone opens the camera application in response to the user's operation, the mobile phone displays the first interface corresponding to the photo function label by default. The user does not select other function labels, but directly performs a sliding operation on the first interface corresponding to the current photo function label (the black arrow shown in 12a of FIG12 indicates the sliding direction); as shown in 12b of FIG12, when the sliding operation slides outward from the inner area of ​​the shooting button and passes the edge of the shooting button, the mobile phone determines that the current sliding direction is pointing to the portrait function label based on the movement trajectory of the touch point of the sliding operation on the screen, hides interface elements unrelated to the current photo, such as various function labels, flash icon, setting menu icon, etc., and only displays the viewfinder, gallery thumbnails and shooting button (i.e., the second interface), and displays the words "Portrait Continuous Shooting" in the original position of the portrait function label. At the same time, a number is displayed in the middle of the shooting button, which indicates the number of photos currently taken continuously (the initial value is 0); as shown in 12c of FIG12, when the sliding operation continues along the portrait function label, the mobile phone 12 , when the user slides in the direction of the word "Portrait Continuous Shooting" into the second area 502 and passes through the word "Portrait Continuous Shooting", a line connecting the touch point of the sliding operation and the edge of the capture button is displayed, which is used to indicate the sliding direction corresponding to the sliding operation; as shown in 12d of FIG12 , when the sliding operation continues in the current sliding direction, the number displayed in the middle of the capture button begins to increase. At the same time, as the number of continuous photos increases, the thumbnail preview photos displayed in the gallery thumbnail are also refreshed accordingly; as shown in 12e of FIG12 , when the sliding operation stops but the touch point does not disappear (the user's finger remains on the current second interface), the number displayed in the middle of the capture button continues to increase. It should be further explained that when the cumulative number of continuously captured photos reaches the maximum continuous shooting number threshold, the phone ends the portrait continuous shooting and restores the display of the first interface corresponding to the photo function label; as shown in 12f of FIG12 , when the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), the phone ends the portrait continuous shooting and restores the display of the third interface corresponding to the photo function label before the portrait continuous shooting started, and refreshes the display of the gallery thumbnail. Among them, the third interface and the first interface are both operating interfaces of the camera function. The difference between the two is that the content displayed in the gallery thumbnails is different, and the content displayed in the viewfinder in real time is different.

[0132] For example, a schematic diagram of another sliding portrait continuous shooting interface is shown in FIG13 . As shown in 13a of FIG13 , after the mobile phone opens the camera application in response to a user operation, the mobile phone displays the first interface corresponding to the photo function label by default; as shown in 13b of FIG13 , the user selects the first interface corresponding to another camera function label, such as the portrait function label, and the mobile phone then displays the first interface corresponding to the portrait function label. The user performs a sliding operation on the first interface corresponding to the current portrait function label (the black arrow in 13b of FIG13 indicates the sliding direction); as shown in 13c of FIG13 , when the sliding operation moves outward from the inner area of ​​the capture button and passes the edge of the capture button, the mobile phone determines that the current sliding direction is toward the portrait function label based on the movement trajectory of the touch point on the screen during the sliding operation. The mobile phone hides interface elements unrelated to the current photo, such as various function labels, the flash icon, and the settings menu icon, and only displays the viewfinder, the gallery thumbnail, and the capture button (i.e., the second interface). The words "Portrait Continuous Shooting" are displayed in the original position of the portrait function label, and a number is displayed in the middle of the capture button, which indicates the number of photos currently taken in a continuous manner (the initial value is 0); as shown in 13d of FIG13 , when the sliding operation is performed, the mobile phone determines that the current sliding direction is toward the portrait function label based on the movement trajectory of the touch point on the screen during the sliding operation. When the sliding operation continues to slide along the direction of the portrait function text ("Portrait Continuous Shooting") to enter the second area 502 and pass through the "Portrait Continuous Shooting" text, a line between the touch point of the sliding operation and the edge of the shooting button is displayed, and the line is used to indicate the sliding direction corresponding to the sliding operation; as shown in 13e in Figure 13, when the sliding operation continues to slide along the current sliding direction, the number displayed in the middle position of the shooting button begins to increase, and as the number of continuous shooting photos increases, the thumbnail preview photos displayed in the gallery thumbnail are also refreshed accordingly; as shown in 13f in Figure 13, when the sliding operation stops, When the touch point does not disappear (the user's finger is still on the current second interface), the number displayed in the middle of the shooting button continues to increase. It should be further explained that when the cumulative number of photos taken continuously reaches the maximum continuous shooting threshold, the phone ends the portrait continuous shooting and restores the display of the first interface corresponding to the portrait function label; as shown in 13g in Figure 13, when the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), the phone ends the portrait continuous shooting and restores the display of the third interface corresponding to the portrait function label before the portrait continuous shooting started and refreshes the display content of the gallery thumbnail. Among them, the third interface and the first interface are both operating interfaces of the camera function. The difference between the two is that the content displayed in the gallery thumbnail is different, and the content displayed in real time in the viewfinder is different.

[0133] For example, as shown in FIG14 , a schematic diagram of a sliding portrait photography interface is shown. As shown in 14a in FIG14 , after the mobile phone opens the camera application in response to the user's operation, the mobile phone displays the first interface corresponding to the photography function label by default. The user does not select other function labels, but directly performs a sliding operation on the first interface corresponding to the current photography function label (the black arrow shown in 14a in FIG14 indicates the sliding direction); as shown in 14b in FIG14 , when the sliding operation slides outward from the inner area of ​​the shooting button and passes the edge of the shooting button, the mobile phone determines that the current sliding direction points to the portrait function label based on the movement trajectory of the touch point of the sliding operation on the screen, hides interface elements not related to the current photography, such as various function labels, flash icons, setting menu icons, etc., and displays the shooting function label. The phone displays the portrait function label in the second interface, the view frame, the gallery thumbnails, and the capture button (i.e., the second interface), and the word "Portrait" is displayed in the original portrait function label position; as shown in 14c of Figure 14, when the sliding operation continues to slide along the direction of the portrait function text ("Portrait") into the second area 502 and passes the word "Portrait", a line is displayed between the touch point of the sliding operation and the edge of the capture button, which is used to indicate the sliding direction corresponding to the sliding operation. At the same time, a portrait photo is taken and the thumbnail preview photo displayed in the gallery thumbnail is refreshed; as shown in 14d of Figure 14, when the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), the phone ends the portrait photo and restores the display of the third interface corresponding to the photo function label before the portrait photo was started, and refreshes the display content of the gallery thumbnail. Among them, the third interface and the first interface are both operating interfaces of the camera function. The difference between the two is that the content displayed in the gallery thumbnail is different and the content displayed in the viewfinder in real time is different.

[0134] In an optional embodiment, when the camera function is controlled to take continuous photos, the mobile phone invokes an image processing program compatible with the camera function to perform image processing on each generated photo. For example, assuming the mobile phone is currently controlling the portrait function to take continuous photos, the mobile phone automatically invokes a beauty program for each portrait photo generated to perform processing such as face slimming, skin smoothing, and background blurring. If the user has pre-set beauty parameters, the user-set beauty parameters are used; otherwise, the beauty program's default beauty parameters are used.

[0135] In an optional embodiment, if the camera function triggered by the user's sliding operation is a recording function, then in the second interface of the recording function, in response to the sliding operation, the sliding continues along the direction where the text of the recording function is located to control the recording function to record; when the sliding operation fails, the third interface of the recording function is switched to display, and the recording function continues to run.

[0136] For example, the layout of the recording interface shown in Figure 15 mainly includes: a viewfinder 101, a front and rear camera switching button 105, a camera focus adjustment control 106, a flash control 109, a recording control button 112, a pause button 113, a photo function switching button 114 and a recording time 115.

[0137] Among them, the viewfinder 101 is used to display the image captured by the camera in real time; clicking the front and rear camera switch button 105 can switch the front and rear cameras; sliding the camera focus adjustment control 106 can adjust the camera focus; clicking the flash control 109 can control the flash to be turned on or off; clicking the video control button 112 can start or end the video recording function; clicking the pause button 113 can pause the video recording during the video recording process; clicking the photo function switch button 114 can switch from the video recording function to the photo taking function; the video recording time 115 is used to display the current video recording time.

[0138] For example, a schematic diagram of a sliding recording interface is shown in FIG16 . As shown in 16a in FIG16 , the mobile phone opens the camera application in response to the user's operation. The mobile phone displays the first interface corresponding to the photo function label by default. The user does not select other function labels, but directly performs a sliding operation on the first interface corresponding to the current photo function label (the black arrow shown in 16a in FIG16 indicates the sliding direction). When the sliding operation slides outward from the inner area of ​​the shooting button and passes the edge of the shooting button, or the user long presses the shooting button and does not release the shooting button, as shown in 16b in FIG16 , the mobile phone determines that the current sliding direction points to the recording function label based on the movement trajectory of the touch point of the sliding operation on the screen, or in response to the long press of the shooting button, hides the interface elements not related to the current recording, such as various function labels, setting menu icons, etc., displays the viewfinder, the shooting button (i.e., the second interface), and displays the word "recording" at the original recording function label position. A connecting line is displayed between the shooting button and the "recording" label. The connecting line can be used to prompt the user to slide to The position of the "Record" label locks the recording function, that is, the user does not need to keep his finger on the screen continuously, and the video can be recorded continuously. At the same time, the recording time is displayed at the top left position of the viewfinder. The number represents the cumulative duration of the current recording (the initial value is 00:00); as shown in 16c of Figure 16, when the sliding operation continues to slide along the direction of the recording function text ("Record") into the second area 502 and passes the "Record" text, the recording time increases; as shown in 16d of Figure 16, the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), and the third interface of the recording function is displayed, locking the recording function, and the recording function continues to run and the recording time increases; as shown in 16e of Figure 16, the user clicks the recording control button on the recording interface, the mobile phone ends recording, and the recording time stops increasing; as shown in 16f of Figure 16, when the recording ends, the mobile phone returns to displaying the fourth interface corresponding to the photo function label before the recording started, and refreshes the display content of the gallery thumbnail. Among them, the fourth interface and the first interface are both operating interfaces of the camera function. The difference between the two is that the content displayed in the gallery thumbnails is different, and the content displayed in real time in the viewfinder is different. Since the content displayed in the gallery thumbnails and the content displayed in real time in the viewfinder are dynamically changing, the third interface can be directly regarded as the first interface at different times to a certain extent.

[0139] In an optional embodiment, when the mobile phone displays the camera function interface, if there is a long press operation in the control area (i.e., the first area) of the current camera function interface, the recording function is triggered; when the long press operation fails, the mobile phone stops the recording function.

[0140] For example, a schematic diagram of a long-press recording interface is shown in FIG17 . As shown in FIG17 a , after the camera app is opened on a mobile phone, the phone displays the first interface corresponding to the camera function label by default. As shown in FIG17 b , the user long-presses the capture button on this first interface. When the long-press duration exceeds a preset threshold, the phone hides interface elements unrelated to the current recording, such as various function labels and settings menu icons, and displays only the viewfinder and the capture button (i.e., the second interface). The word "Record" is displayed in the original position of the record function label, and a guide line is generated connecting the word "Record" to the edge of the capture button. The recording time is displayed at the top left of the viewfinder, indicating the cumulative duration of the current recording (initial value is 00:00). As shown in FIG17 c , the user continues to long-press, and the phone continues to control the recording function, and the recording time increases. As shown in FIG17 d , the user releases the long-press operation, and the phone returns to the third interface corresponding to the camera function label before the recording started, and refreshes the displayed gallery thumbnails. Among them, the third interface and the first interface are both operating interfaces of the camera function. The difference between the two is that the content displayed in the gallery thumbnails is different, and the content displayed in the viewfinder in real time is different.

[0141] The control conditions of this embodiment are combined with the implementation method of the sliding operation. By dividing the second area into angle ranges, each function label is associated with each angle range, so that the user can correspond to each angle range through sliding operations, and then control various camera functions through the angle range. Compared with the existing camera function control method, the camera function control method of this application does not need to deliberately remember the direction of the sliding operation, and supports multi-directional sliding at the same time, which is not only convenient for user operation, but also can use multiple camera functions, thereby improving the user experience of capturing wonderful moments.

[0142] Corresponding to the above embodiments, the present application also provides an electronic device, which includes a memory for storing computer programs and a processor for executing computer programs, wherein when the computer program stored in the memory is executed by the processor, the electronic device is triggered to execute some or all steps of the camera function control method in the above embodiments.

[0143] FIG18 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Referring to FIG18 , the electronic device 10 may include a processor 100, 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, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0144] It should be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0145] The processor 100 may include one or more processing units. For example, the processor 100 may include 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). The different processing units may be independent devices or integrated into one or more processors.

[0146] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0147] Processor 100 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 100 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 100. If processor 100 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 100 latency, and thus improves system efficiency.

[0148] In some embodiments, the processor 100 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0149] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 100 may include multiple I2C bus lines. The processor 100 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 100 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 100 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the electronic device 10.

[0150] The I2S interface can be used for audio communication. In some embodiments, the processor 100 can include multiple I2S buses. The processor 100 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 100 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.

[0151] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0152] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 100 and the wireless communication module 160. For example, the processor 100 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.

[0153] The MIPI interface can be used to connect the processor 100 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 100 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 10. The processor 100 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 10.

[0154] The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 100 to the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0155] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 10, or to transfer data between the electronic device 10 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices 10, such as AR devices.

[0156] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may also adopt a different interface connection method from the above embodiment, or a combination of multiple interface connection methods.

[0157] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 10. While charging the battery 142, the charging management module 140 can also provide power to the electronic device 10 via the power management module 141.

[0158] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 100. The power management module 141 receives input from the battery 142 and / or the charging management module 140 and provides power to the processor 100, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 100. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0159] The wireless communication function of the electronic device 10 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0160] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 10 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0161] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 10. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 100. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 100.

[0162] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 100 and be set in the same device as the mobile communication module 150 or other functional modules.

[0163] The wireless communication module 160 can provide wireless communication solutions for application on the electronic device 10, 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 technology (NFC), infrared technology (IR), etc.

[0164] Wireless communication module 160 can be one or more devices that integrate at least one communication processing module. Wireless communication module 160 receives electromagnetic waves via antenna 2, frequency modulates and filters the electromagnetic wave signals, and transmits the processed signals to processor 100. Wireless communication module 160 can also receive signals to be transmitted from processor 100, frequency modulate and amplify them, and then convert them into electromagnetic waves for radiation via antenna 2.

[0165] In some embodiments, antenna 1 of electronic device 10 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 10 can communicate with a network and other devices via wireless communication technologies. The wireless communication technologies 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 technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0166] Electronic device 10 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 100 may include one or more GPUs that execute program instructions to generate or modify display information.

[0167] Display screen 194 is used to display images, videos, and the like. 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, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 10 may include one or N display screens 194, where N is a positive integer greater than one.

[0168] The electronic device 10 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0169] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0170] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. 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, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 10 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0171] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 10 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0172] Video codecs are used to compress or decompress digital video. Electronic device 10 may support one or more video codecs. This allows electronic device 10 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0173] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 10, such as image recognition, face recognition, speech recognition, and text comprehension.

[0174] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0175] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation of DDR SDRAM is generally referred to as DDR5 SDRAM), etc.

[0176] Non-volatile memory may include disk storage devices and flash memory.

[0177] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage cell potential level; universal flash storage (UFS) and embedded multi media card (eMMC) can be divided into UFS and embedded multi media card according to the storage specification.

[0178] The random access memory can be directly read and written by the processor 100, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.

[0179] The non-volatile memory can also store executable programs and user and application data, etc., and can be loaded into the random access memory in advance for direct reading and writing by the processor 100.

[0180] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 10. The external non-volatile memory communicates with the processor 100 via the external memory interface 120 to implement data storage. For example, files such as music and videos can be stored in the external non-volatile memory.

[0181] The electronic device 10 can implement audio functions such as music playback and recording through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0182] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 100, or some functional modules of the audio module 170 can be provided in the processor 100.

[0183] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 10 can listen to music or listen to hands-free calls through the speaker 170A.

[0184] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 10 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.

[0185] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 10 can be provided with at least one microphone 170C. In other embodiments, the electronic device 10 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 10 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.

[0186] The headphone jack 170D is used to connect a wired headphone and can be a USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0187] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 10 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, electronic device 10 detects the touch intensity based on pressure sensor 180A. Electronic device 10 can also calculate the touch location based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch location but with different touch intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, an instruction to create a new short message is executed.

[0188] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 10. In some embodiments, the angular velocity of the electronic device 10 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device 10 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 10 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.

[0189] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 10 calculates altitude using the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.

[0190] Magnetic sensor 180D includes a Hall effect sensor. Electronic device 10 can use magnetic sensor 180D to detect the opening and closing of a flip case. In some embodiments, when electronic device 10 is a flip phone, electronic device 10 can detect the opening and closing of the flip cover based on magnetic sensor 180D. Based on the detected opening and closing status of the case or flip cover, features such as automatic unlocking of the flip cover can be configured.

[0191] Accelerometer 180E can detect the magnitude of acceleration of electronic device 10 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 10 is stationary. It can also be used to identify the posture of electronic device 10, enabling applications such as switching between landscape and portrait modes and pedometers.

[0192] The distance sensor 180F is used to measure distance. The electronic device 10 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the electronic device 10 can use the distance sensor 180F to measure distance to achieve fast focusing.

[0193] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 10 emits infrared light outward through the light emitting diode. The electronic device 10 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 10. When insufficient reflected light is detected, the electronic device 10 can determine that there is no object near the electronic device 10. The electronic device 10 can use the proximity light sensor 180G to detect that the user is holding the electronic device 10 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0194] Ambient light sensor 180L is used to sense ambient light brightness. Electronic device 10 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light brightness. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether electronic device 10 is in a pocket to prevent accidental touches.

[0195] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 10 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0196] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 10 uses the temperature detected by the temperature sensor 180J to implement a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 10 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 10 heats the battery 142 to prevent the electronic device 10 from shutting down abnormally due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 10 boosts the output voltage of the battery 142 to prevent abnormal shutdown due to low temperature.

[0197] The touch sensor 180K is also referred to as a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also referred to as a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 10, at a location different from that of the display screen 194.

[0198] The bone conduction sensor 180M can obtain vibration signals. In some embodiments, the bone conduction sensor 180M can obtain vibration signals from the vibrating bones of the human body. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulse signals. In some embodiments, the bone conduction sensor 180M can also be set in headphones to form bone conduction headphones. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bones of the human body obtained by the bone conduction sensor 180M to implement voice functions. The application processor can parse heart rate information based on the blood pressure pulse signals obtained by the bone conduction sensor 180M to implement heart rate detection functions.

[0199] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 10 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 10.

[0200] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0201] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.

[0202] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 10 by inserting it into or removing it from the SIM card interface 195. The electronic device 10 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 10 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 10 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 10 and cannot be separated from the electronic device 10.

[0203] This embodiment further provides a computer storage medium, which stores computer instructions. When the computer instructions are executed on the electronic device 10, the electronic device 10 executes the above-mentioned related method steps to implement the camera function control method in the above-mentioned embodiment.

[0204] This embodiment further provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the camera function control method in the above-mentioned embodiment.

[0205] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory to enable the chip to execute the camera function control method in the above-mentioned method embodiments.

[0206] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0207] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0208] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0209] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0210] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0211] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0212] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit the present application. Although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present application.

Claims

1. A camera function control method, applied to electronic equipment, characterized in that: The electronic device includes multiple camera functions, and a first interface corresponding to the camera functions includes a first area and a second area, the first area being a shooting button of the camera, and the second area being an area other than the shooting button of the camera, the second area including multiple function labels for identifying the camera functions, and the camera function control method including: Displaying a first interface of a first camera function of the electronic device; receiving a first operation of a user on a first interface of the first camera function, where the first operation includes a sliding operation; In the first interface of the first camera function, when the sliding operation enters the second area from the first area, determining whether the sliding direction corresponding to the sliding operation points to the first function label; If the sliding direction points to the first function label, switching to display a second interface of the second camera function identified by the first function label, the second interface including text representing the second camera function, and the display position of the text is the same as the display position of the first function label; On the second interface of the second camera function, in response to the sliding operation, continue sliding along the direction where the text of the second camera function is located to control the operation of the second camera function.

2. The camera function control method according to claim 1, wherein: The second area includes a plurality of non-overlapping partitions, each partition covers a function label, and the division of each partition is related to the relative position between the shooting button and each function label.

3. The camera function control method according to claim 2, wherein: In the first interface of the first camera function, when the sliding operation enters the second area from the first area, determining whether the sliding direction corresponding to the sliding operation points to the first function label includes: In the first interface of the first camera function, when the sliding operation enters the second area from the first area, determining whether the sliding operation enters a target subarea of ​​the second area; If the sliding operation enters a target partition of the second area, it is determined that the function label covered by the target partition is the first function label pointed to by the sliding direction corresponding to the sliding operation.

4. The camera function control method according to any one of claims 1 to 3, wherein: The second area corresponds to a plurality of non-overlapping angle ranges, each angle range covers a function label, and the division of each angle range is related to the relative position between the shooting button and each function label.

5. The camera function control method according to claim 4, wherein: In the first interface of the first camera function, when the sliding operation enters the second area from the first area, determining whether the sliding direction corresponding to the sliding operation points to the first function label includes: In the first interface of the first camera function, when the sliding operation enters the second area from the first area, calculating an angle between a sliding direction corresponding to the sliding operation and a preset reference direction; If the angle range includes the included angle, it is determined that the function label covered by the angle range including the included angle is the first function label pointed to by the sliding direction corresponding to the sliding operation.

6. The camera function control method according to any one of claims 1 to 5, characterized in that: The camera function control method further includes: When switching to display the second interface of the second camera function identified by the first function label, the related controls displayed on the first interface of the first camera function are hidden, wherein the related controls include All function labels displayed on the first interface.

7. The camera function control method according to any one of claims 1 to 6, characterized in that: The first operation further includes a long press operation, and the camera function control method further includes: In the first interface of the first camera function, when a long press operation is performed on the first area, determining whether a long press duration of the long press operation reaches a preset duration threshold; If the long press duration of the long press operation reaches a preset duration threshold, switching to display the second interface of the video recording function; In the second interface of the video recording function, when the long press duration of the long press operation exceeds the duration threshold, the video recording function is controlled to run.

8. The camera function control method according to claim 7, wherein: The camera function control method further includes: In the second interface of the video recording function, when the long press operation fails, the video recording function is stopped and the first interface of the first camera function is restored.

9. The camera function control method according to any one of claims 1 to 8, characterized in that: The function labels are slidable. When the user slides any function label on the first interface of the first camera function, the display positions of all function labels change.

10. The camera function control method according to claim 9, wherein: The camera function control method further includes: Obtaining a second function label selected by a user by sliding the function label on a first interface of the first camera function; Switch to display the first interface of the third camera function identified by the second function label.

11. The camera function control method according to any one of claims 1 to 10, characterized in that: The second camera function includes a continuous shooting function, the first function label includes a photo taking function label, and the second interface of the second camera function includes: text of the continuous shooting function; In response to the sliding operation, on the second interface of the second camera function, continuing to slide along the direction where the text of the second camera function is located, controlling the operation of the second camera function includes: In the second interface of the continuous shooting function, in response to the sliding operation continuing to slide along the direction where the text of the continuous shooting function is located, controlling the continuous shooting function to continuously capture photos; The camera function control method further includes: When the sliding operation fails or the number of continuously taken photos reaches a preset threshold, the continuous shooting function is stopped and the first interface of the first camera function is restored, wherein the number of continuously taken photos is related to the duration of the sliding operation, and the duration includes the sliding duration and the stay duration of the sliding operation on the second interface of the continuous shooting function.

12. The camera function control method according to any one of claims 1 to 11, characterized in that: The second camera function includes a portrait function, the first function label includes a portrait function label, and in response to the sliding operation, on the second interface of the second camera function, continuing to slide along the direction where the text of the second camera function is located, controlling the operation of the second camera function includes: On the second interface of the portrait function, in response to the sliding operation, continue sliding along the direction where the text of the portrait function is located, controlling the portrait function to take a photo; An image processing program adapted to the portrait function is called to perform image processing on the generated photo and the processed image is saved.

13. The camera function control method according to any one of claims 1 to 12, characterized in that: The second camera function includes a video recording function, the first function label includes a video recording function label, and in response to the sliding operation, on the second interface of the second camera function, continuing to slide along the direction where the text of the second camera function is located, controlling the operation of the second camera function includes: On the second interface of the video recording function, in response to the sliding operation, the user continues to slide along the direction where the text of the video recording function is located, thereby controlling the video recording function to record video; When the sliding operation fails, the third interface of the video recording function is switched to be displayed, and the video recording function continues to operate.

14. The camera function control method according to claim 13, wherein: The camera function control method further includes: In the third interface of the video recording function, when a stop video recording instruction triggered by the user is received, the video recording function is stopped and the first interface of the first camera function is restored.

15. An electronic device, characterized in that: The electronic device includes a processor and a memory, and the processor is used to call a computer program in the memory to execute the camera function control method according to any one of claims 1 to 14.

16. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the camera function control method according to any one of claims 1 to 14.