Camera function control method, electronic device, and storage medium

By associating the sliding direction with the function label, the camera function control method solves the problem of inconvenient camera function control in the existing technology, realizes the flexibility and convenience of user operation, adapts to a variety of application scenarios, and improves the user experience.

CN117750186BActive Publication Date: 2025-11-04HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211157870.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-22
Publication Date
2025-11-04
Estimated Expiration
2042-09-22

AI Technical Summary

Technical Problem

The existing camera control methods are not convenient enough, affecting the user's speed and experience. Especially when it is necessary to quickly capture or record video, it is easy to make mistakes due to forgetting the wrong sliding direction.

Method used

By redefining the camera function control operation, the sliding direction is associated with the position of the function label. Users only need to slide towards the target function label to trigger the corresponding function, and a text prompt will be displayed after the slide, ensuring the accuracy and convenience of operation.

Benefits of technology

It achieves greater flexibility and convenience in user operation, reduces the need to remember the sliding direction, enhances the quick control capability of camera functions, adapts to various application scenarios, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117750186B_ABST
    Figure CN117750186B_ABST
Patent Text Reader

Abstract

The application provides a camera function control method, an electronic device and a storage medium. The method comprises the following steps: displaying a first interface of a first camera function of the electronic device; receiving a first operation of a user on the first interface of the first camera function, wherein the first operation comprises a sliding operation; when the sliding operation enters a second region from a first region on the first interface of the first camera function, determining whether a sliding direction corresponding to the sliding operation is directed to a first function label; if the sliding direction is directed to the first function label, switching to display a second interface of a second camera function identified by the first function label; and in the second interface of the second camera function, in response to the sliding operation continuing to slide in a direction of a text of the second camera function, controlling the second camera function to run. The camera function control method of the application can accurately trigger the corresponding camera function without the user deliberately remembering the direction of the sliding operation, thereby improving the user experience of capturing a wonderful moment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of photographing, and in particular to a camera function control method, an electronic device, and a storage medium. BACKGROUND

[0002] More and more electronic devices are provided with cameras, and users can take photos or record videos at any time and any place by carrying the electronic devices. In order to improve user experience, the electronic devices provide various camera functions, such as a portrait photographing function, a night scene photographing function, a video recording function, a movie function, and the like. If a camera function needs to be used, the user usually needs to go through the following operations: opening a camera application -> selecting a certain camera function -> operating the camera function to take a photo or record a video. When the user needs to capture some wonderful momentary pictures, the user needs to go through the above operation links in turn, thereby reducing the speed of using the camera.

[0003] In order to improve the speed of using the camera, the prior art introduces a quick operation to take continuous photos or record videos. For example, after opening the camera application, the user takes the shooting button as the sliding starting point, slides to the left to take quick continuous photos, and slides to the right to record videos. Although this kind of way improves the speed of 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 makes a mistake, the operation may be wrong, and the desired quick operation effect cannot be achieved. SUMMARY

[0004] The main purpose of the present application is to provide a camera function control method, an electronic device, and a storage medium, which aims to solve the technical problem that the existing camera function control method is not convenient enough and affects the user's speed and experience of using the camera.

[0005] In order to achieve the above technical purpose, the present application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a camera function control method, which is applied to an electronic device, the electronic device comprising a plurality of camera functions, a first interface corresponding to the camera functions comprising a first region and a second region, the first region being a shooting button of the camera, the second region being a region other than the shooting button of the camera, the second region comprising a plurality of function tags for identifying the camera functions, the method comprising: displaying a first interface of a first camera function of the electronic device; receiving a first operation of a user on the first interface of the first camera function, the first operation comprising a sliding operation; when the sliding operation enters the second region from the first region on the first interface of the first camera function, determining whether a sliding direction corresponding to the sliding operation is directed to a first function tag; if the sliding direction is directed to the first function tag, switching to display a second interface of a second camera function identified by the first function tag, the second interface comprising a text representing the second camera function, a display position of the text being the same as a display position of the first function tag; and in response to the sliding operation continuing to slide along a direction of the text representing the second camera function on the second interface of the second camera function, controlling the second camera function to run.

[0007] In the above method, a new camera function control operation mode is redefined, the operation mode associates the sliding direction with the position of the function tag, and the user only needs to slide towards the position of the target function tag to trigger the camera function corresponding to the function tag. In addition, after the user slides towards the function tag, the second interface is displayed, and the text representing the second camera function is displayed on the second interface, prompting the user that the camera will run the function, which facilitates the user to know the camera function after operation, and avoids misoperation. Moreover, the display position of the text of the second camera function is the same as the display position of the first function tag, which can guide the user to continue sliding to trigger the second camera function.

[0008] Therefore, the user operation mode is more flexible, that is, sliding in which direction triggers which camera function, so that any kind of camera function selected by the user can be controlled quickly, such as sliding in different directions to control different camera functions. In addition, the user does not need to deliberately remember the correspondence between the sliding direction and the camera function, but only needs to slide towards a certain function tag to trigger the corresponding camera function to run, which improves the flexibility and use experience of the user in operating the camera.

[0009] In a possible design of the first aspect, the second region includes a plurality of non-overlapping sub-regions, each sub-region covers one function tag, and the division of the sub-regions is related to the relative positions between the shooting button and the function tags. In the design, the region other than the shooting button is divided into a plurality of non-overlapping sub-regions based on the relative positions between the shooting button and the function tags, and each sub-region is ensured to cover one function tag, thereby facilitating the sliding operation of the user. When the user starts sliding from the shooting button to a certain function tag, as long as the user slides within the same sub-region, the camera function corresponding to the function tag covered by the sub-region can be triggered, thereby facilitating the sliding operation of the user and improving the convenience of the operation.

[0010] In a possible design of the first aspect, when the sliding operation enters the second region from the first region in the first interface of the first camera function, determining whether the sliding direction corresponding to the sliding operation is directed to the first function tag includes: when the sliding operation enters the second region from the first region in the first interface of the first camera function, determining whether the sliding operation enters a target sub-region of the second region; and if the sliding operation enters the target sub-region of the second region, determining that the function tag covered by the target sub-region is the first function tag directed to by the sliding direction corresponding to the sliding operation. In the design, the division of the sub-regions of the second region is in line with the characteristics of the sliding operation of the user, and even if the sliding operation of the user has a certain offset, the function tag can be accurately directed, thereby facilitating the operation of the user and improving the flexibility of the camera control.

[0011] In a possible design of the first aspect, the second region corresponds to a plurality of non-overlapping angle ranges, each angle range covers one function tag, and the division of the angle ranges is related to the relative positions between the shooting button and the function tags. In the design, the region other than the shooting button is divided into a plurality of non-overlapping angle ranges based on the relative positions between the shooting button and the function tags, and each angle range is ensured to cover one function tag, thereby facilitating the sliding operation of the user. When the user starts sliding from the shooting button to a certain function tag, as long as the user slides within the same angle range, the camera function corresponding to the function tag covered by the sub-region can be triggered, thereby facilitating the sliding operation of the user and improving the convenience of the operation.

[0012] In a possible design of the first aspect, in the first interface of the first camera function, when the sliding operation enters the second region from the first region, determining whether the sliding direction corresponding to the sliding operation is directed to the first function label comprises: in the first interface of the first camera function, when the sliding operation enters the second region from the first region, calculating an included angle between the sliding direction corresponding to the sliding operation and a preset reference direction; and if the angle range contains the included angle, determining that the function label covered by the angle range containing the included angle is the first function label to which the sliding direction corresponding to the sliding operation is directed. In the design, the angle range division of the second region conforms to the characteristics of the user sliding operation, and even if the user sliding operation has a certain offset, the first function label to which the sliding direction is directed can be accurately determined, thereby facilitating user operation and improving the flexibility of camera control.

[0013] In a possible design of the first aspect, the camera function control method further includes: when the second interface of the second camera function displaying the first function label identifier is switched, hiding the related control displayed in the first interface of the first camera function, where the related control includes all the function labels displayed in the first interface of the first camera function. In the design, since the first interface and the second interface both include a viewfinder and a shooting button, when the first interface and the second interface are switched, the related control of the first interface is hidden, so that the user can intuitively perceive the change of the interface when the second interface is displayed, and the user can also 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 enable the user to know the camera function triggered by the current sliding operation, thereby improving the user experience.

[0014] In a possible design of the first aspect, 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 the first region has the long-press operation, 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 the second interface of the video recording function; and 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 run. In the design, compared with the photographing function having multiple photographing modes, the video recording function is relatively single, and therefore an operation mode different from the photographing function is additionally provided for the video recording function. The operation mode is simple to operate and convenient for the user to remember, and can quickly open the video recording function.

[0015] In a possible design of the first aspect, the camera function control method further includes: when the long-press operation is invalid, stopping running the video recording function, and restoring display of the first interface of the first camera function. In the design, when the user lifts the hand, the long-press operation is invalid, and the video recording function is ended. In order to reduce user operation and facilitate the user to continue to use the shortcut operation function, the video recording function opened by the method can automatically restore the operation interface before the start when ending, thereby improving user experience.

[0016] In a possible design of the first aspect, the function tags are slidable, and when the user slides any function tag in the first interface of the first camera function, the display positions of all the function tags change. In the design, the sliding of the function tags enables the user to operate more camera functions in the same interface. Since the division of the partitions or the angle ranges is not fixedly bound to a certain function tag in the method, that is, in different application scenarios, sliding to the same partition or angle range can trigger different camera functions, so that the camera control method can adapt to various application scenarios and improve user convenience.

[0017] In a possible design of the first aspect, the camera function control method further includes: obtaining a second function tag selected by the user by sliding a function tag in the first interface of the first camera function; and switching to display a first interface of a third camera function identified by the second function tag. In the design, the sliding of the function tags can display the operation interface corresponding to different function tags, that is, the sliding operation method can be used to control the camera function in the operation interface corresponding to any camera function, thereby facilitating the user to perform shortcut operation of the camera function in various application scenarios.

[0018] In a possible design of the first aspect, the second camera function includes a continuous shooting function, and the first function tag includes a photographing function tag. The second interface of the second camera function includes: a text of the continuous shooting function. In the second interface of the second camera function, in response to the sliding operation continuing to slide in the direction of the text, the control of the second camera function running includes: in the second interface of the continuous shooting function, in response to the sliding operation continuing to slide in the direction of the text, the control of the continuous shooting function to continuously capture photos. In the design, the continuous shooting function specifically includes a photographing function of continuously capturing photos or a portrait function of continuously capturing photos. The user can slide to realize the photographing function or the portrait function to continuously capture photos, thereby forming a new continuous shooting function, reducing the user's photographing operation, and improving user experience.

[0019] The camera function control method further includes: when the sliding operation is invalid or the number of continuously photographed photos reaches a preset threshold, stopping running the continuous shooting function, and restoring display of the first interface of the first camera function, wherein the number of continuously photographed photos is related to a duration of the sliding operation, and the duration includes a sliding duration and a staying duration of the sliding operation in the second interface of the continuous shooting function. The above design gives the condition for exiting the running of the camera function, that is, the sliding operation is invalid, such as the user lifting the finger, or the number of continuously photographed photos reaches the maximum number. At the same time, the interface before the operation can be automatically restored after the operation, thereby reducing the user operation and facilitating the user to continue to use the shortcut operation function.

[0020] In a possible design of the first aspect, the second camera function includes a portrait function, and the first function tag includes a portrait function tag. In the second interface of the second camera function, in response to the sliding operation continuing to slide along the position of the text of the second camera function, the control of the second camera function running includes: in the second interface of the portrait function, in response to the sliding operation continuing to slide along the position of the text of the portrait function, the control of the portrait function shooting; calling an image processing program corresponding to the portrait function to perform image processing on the generated photo and saving the processed picture. In the above design, the sliding operation can not only trigger the camera function quickly, but also realize continuous shooting, thereby reducing the user operation. In addition, in the above design, the generated photo can be further processed, such as saving the photo after processing by the algorithm corresponding to the night scene function, or saving the photo after processing by the algorithm corresponding to the portrait function, such as background blurring and portrait beautification (skin smoothing, face slimming), or adding the filter in the movie mode during video recording, thereby saving the user operation and improving the user experience.

[0021] In a possible design of the first aspect, the second camera function includes a video recording function, and the first function tag includes a video recording function tag. In the second interface of the second camera function, in response to the sliding operation continuing to slide along the position of the text of the second camera function, the control of the second camera function running includes: in the second interface of the video recording function, in response to the sliding operation continuing to slide along the position of the text of the video recording function, the control of the video recording function recording; when the sliding operation is invalid, switching to display a third interface of the video recording function and continuing to maintain the running of the video recording function. In the above design, the user sliding from the shooting button to the position of the video recording function tag can control the running of the video recording function, thereby improving the convenience of the user using the video recording function. In addition, considering that the running time of the video recording function is longer than that of the shooting function, and the video recording function also supports pausing recording, when the sliding operation is invalid, such as the user lifting the finger, instead of restoring the interface, the complete video recording function operation interface is switched to be displayed, and the running of the video recording function is continued, thereby facilitating the user to control the video recording process at any time.

[0022] In a possible design of the first aspect, the camera function control method further includes: in the third interface of the video recording function, when receiving a user-triggered stop video recording instruction, stopping running the video recording function, and restoring display of the first interface of the first camera function. In the design, the second interface of the video recording function displays a video recording process shooting button, such as a video recording control button or a pause button. When the user manually clicks the video recording control button to trigger the stop video recording instruction, it is determined that the user's real intention is to exit the video recording function. Therefore, the interface before starting is restored for display while the video recording function is stopped, thereby facilitating subsequent user operation and improving user experience.

[0023] In a second aspect, the present application provides an electronic device including a processor and a memory. The processor is configured to invoke a computer program in the memory to execute the camera function control method provided in the first aspect or any of the designs of the first aspect.

[0024] In a third aspect, the present application provides a computer readable storage medium storing computer instructions. When the computer instructions run on an electronic device, the electronic device executes the camera function control method provided in the first aspect or any of the designs of the first aspect.

[0025] In a fourth aspect, the present application provides a computer program product. The computer program product includes computer instructions. When the computer instructions run on an electronic device, the electronic device executes the method described above.

[0026] The effect descriptions of the second aspect, the third aspect, and the fourth aspect can refer to the effect descriptions of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0027] Figure 1 A camera function interface schematic diagram of a mobile phone provided by an embodiment of the present application;

[0028] Figure 2 A user operation flowchart of an existing camera function control method;

[0029] Figure 3 Another user operation flowchart of an existing camera function control method;

[0030] Figure 4 A user operation flowchart of the camera function control method provided by the embodiment of the present application;

[0031] Figure 5 A camera function interface division schematic diagram provided by the embodiment of the present application;

[0032] Figure 6A schematic diagram of a user sliding in the first area and the second area according to an embodiment of the present application;

[0033] Figure 7 A schematic diagram of a user sliding in any sub-area of the first area and the second area according to an embodiment of the present application;

[0034] Figure 8 A schematic diagram of a user sliding in any angle range of the first area and the second area according to an embodiment of the present application;

[0035] Figure 9 A schematic diagram of a flow of a camera function control method according to an embodiment of the present application;

[0036] Figure 10 A schematic diagram of a user sliding to take continuous photos according to an embodiment of the present application;

[0037] Figure 11 A schematic diagram of another user sliding to take continuous photos according to an embodiment of the present application;

[0038] Figure 12 A schematic diagram of a user sliding to take continuous portrait photos according to an embodiment of the present application;

[0039] Figure 13 A schematic diagram of another user sliding to take continuous portrait photos according to an embodiment of the present application;

[0040] Figure 14 A schematic diagram of a user sliding to take portrait photos according to an embodiment of the present application;

[0041] Figure 15 A schematic diagram of a video recording interface of a mobile phone according to an embodiment of the present application;

[0042] Figure 16 A schematic diagram of a user sliding to record a video according to an embodiment of the present application;

[0043] Figure 17 A schematic diagram of a user long-pressing to record a video according to an embodiment of the present application;

[0044] Figure 18 A schematic diagram of a structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described below with reference to the drawings.

[0046] The terms "first" and "second" and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a specific sequential or chronological order. Descriptions using the terms "including", "containing", "comprising", "having" and the like are meant not to be limiting. For example, a process, method, object, or apparatus that comprises a list of steps or elements is not necessarily limited to the listed steps or elements, but can include additional steps or elements not expressly listed or inherent to such process, method, object, or apparatus. The terms "plurality" and "a plurality", as well as "multiple" or "a multiple", mean "two or more" unless expressly specified otherwise.

[0047] Reference throughout this application to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase "in an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another. It is understood that the application described herein can be practiced with embodiments that include different features.

[0048] In this application, "at least one", "one or more", "multiple", "two or more", "at least two", "and / or", are used to describe the relationship between associated objects. For example, "A and / or B" can mean only A, only B, or both A and B. The character " / " generally represents an "or" relationship between the associated objects. "At least one of" or the like means 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".

[0049] In the embodiments of the present application, the electronic device has one or more cameras and is installed with a camera application program, and can realize functions such as photographing and video recording. It can be understood that the electronic device can be a mobile phone, a wearable device, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, and the like. The electronic device will be exemplarily described below taking a mobile phone as an example.

[0050] Figure 1A camera function interface displayed by a mobile phone is shown in the embodiment provided in the present application. The mobile phone supports multiple camera functions, such as a photographing function, a portrait function, a night scene function, a video recording function, etc., and each camera function corresponds to a camera function interface. For example, if the user selects the photographing function, the mobile phone displays the photographing function interface, and if the user selects the video recording function, the mobile phone displays the video recording function interface. It should be noted that when the user opens the camera application of the mobile phone, a default function interface is usually displayed, such as the photographing function interface, and 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 automatically switches to display the function interface corresponding to the portrait function.

[0051] As shown in Figure 1 , the layout of the camera function interface mainly includes a viewfinder 101, a function label 102, and a shooting button 103.

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

[0053] The function label 102 is used to indicate different camera functions for the user to select, and each function label 102 corresponds to a camera function, such as a photographing function label, a portrait function label, a night scene function label, and a video recording function label. Some or all of the function labels can be displayed in the same camera function interface. The function label 102 can be displayed on either side of the viewfinder 101, and can be arranged horizontally, vertically, or in a ring around the shooting button 103. When the function label 102 is triggered, the mobile phone automatically displays the interface of the camera function corresponding to the triggered label, such as the photographing function label, which displays the photographing function interface.

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

[0055] It needs to be added that, based on the actual design requirements of the camera application, the layout of the camera function interface can also include: gallery thumbnail 104, front and rear camera switching button 105, camera focal length adjustment control 106, intelligent vision control 107, AI photography control 108, flash control 109, filter shooting mode control 110, settings button 111, etc. Among them, clicking on the gallery thumbnail 104 can display the last saved photo or video in the album, and swiping left or right can also view other pictures or videos in the album; clicking on the front and rear camera switching button 105 can switch between front and rear cameras; sliding the camera focal length adjustment control 106 can adjust the camera focal length; clicking on the intelligent vision control 107 can open the preset application function, such as object recognition, text recognition, etc.; opening the AI photography control 108 can automatically identify the shooting environment according to different scenes, such as portrait, night scene, etc., and automatically adjust the shooting parameters; clicking on the flash control 109 can control the opening or closing of the flash; clicking on the filter shooting mode control 110 can select different shooting modes and add different filters to the captured pictures, such as original picture mode, young filter mode, impression filter mode, etc.; the settings button 111 can open the settings menu to set the camera parameters. Generally, the camera function interface corresponding to different camera functions will be different, such as the difference between the function interface of the shooting function and the function interface of the portrait function, the function interface of the video recording function, etc. The difference is reflected in the layout of the camera function interface, which is designed according to the actual needs of the camera application, and will not be described in detail here.

[0056] Figure 2 A user operation flowchart of the existing camera function control method. Taking the portrait function as an example, as shown in 2a, the user first clicks on the icon of the camera application on the mobile phone desktop to start the camera application (assuming it takes 1s); as shown in 2b, after the camera application is started, the mobile phone displays the default camera function interface (such as the shooting function interface), and in the interface shown in 2b, the user finds the portrait function label from the horizontally arranged multiple function labels and clicks on it, and the mobile phone switches from the shooting function interface to display the portrait function interface (assuming it takes 2s), as shown in 2c; as shown in 2d, the user first aims at the shooting object, and then clicks on the shooting button, and the mobile phone automatically runs the shooting function to generate the corresponding photo (assuming it takes 1s).

[0057] From Figure 2 It can be seen that the existing camera function control method needs to go through three operation links in sequence: opening the camera application—> selecting a certain camera function—> operating the camera function to take a photo or record a video, which takes about 4s. If the user needs to capture some exciting moments, the user needs to go through the above operation links in sequence to take a photo or record a video. Due to the multiple operation links, the time consumption increases, which reduces the speed of taking photos or recording videos, and thus misses the exciting moments.

[0058] Figure 3 Another user operation flow diagram of the existing camera function control method. As shown in 3a, the user first clicks the icon of the camera application on the mobile phone desktop to start the camera application; as shown in 3b, after the camera application is started, the mobile phone displays the default camera function interface (such as the photographing function interface); as shown in 3c and 3d, the user first aims at the photographing object, and then takes the photographing button as the sliding starting point, if sliding to the left, the camera photographing function is triggered to perform rapid continuous photographing, and the corresponding photos are saved; if sliding to the right, the camera video recording function is triggered to perform video recording, and the corresponding video is generated. Figure 3 It can be seen that, compared with the prior art, Figure 2 The camera function control method adopts a fixed shortcut operation mode to realize rapid photographing and video recording, reduces the operation steps of photographing or video recording, and thus accelerates the user operation speed. Although this type of mode improves the speed of using the camera by the user to some extent, the user needs to remember the camera function corresponding to each sliding direction before use. If not remembered or remembered incorrectly, it may cause operation errors and affect the user experience.

[0059] In view of the problems existing in the above-mentioned existing camera function control method, the embodiments of the present application provide a camera function control method. The new interaction mode combines the camera function selection operation and the camera function control operation, thereby reducing the operation steps of photographing or video recording, accelerating the user operation speed, and 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. 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 “photographing” function, the operation of clicking “video recording” in the interface corresponding to the “photographing” function, etc. The camera function control operation refers to the operation of clicking the photographing button, and in response to the operation, the electronic device uses the camera to perform photographing or video recording. The method of the present application combines the above processes, so that the user can quickly use different photographing modes, and it is easy to remember, thereby improving the user experience.

[0060] The technical solutions of the present application and how the technical solutions of the present application solve the above-mentioned technical problems will be described in detail in the specific embodiments below. The specific embodiments below can be implemented independently, or can be combined with each other. For the same or similar concepts or processes, some embodiments can not be described again.

[0061] Figure 4 The user operation flow diagram of the camera function control method provided by the embodiments of the present application is shown. Taking the portrait function control as an example, the operation steps of the user using the camera application of the mobile phone to perform portrait photographing are as follows:

[0062] Operation step one: the user opens the camera application

[0063] Exemplarily, as shown in 4a, the user opens the phone desktop, finds the camera icon, and clicks the camera icon to open the camera application. This is a common way to open the camera application. The user can open the phone desktop, find the camera icon, and open the camera application. Figure 4

[0064] In an optional embodiment, the camera application can be triggered to open by using a shortcut key or a shortcut operation. For example, in the phone 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's time to open the camera application.

[0065] Operation link two: the user selects the portrait function and runs the function to take a photo

[0066] Exemplarily, as shown in 4b, after the camera application is opened, the phone displays the default photo taking function operation interface; as shown in 4c, the user aims at the photo taking object, and on the current photo taking function operation interface, performs a sliding operation starting from the shooting button position towards the portrait function label (the black arrow in 4c points to the sliding direction); as shown in 4d, after the phone detects the sliding operation, it determines that the camera function triggered by the current sliding operation is the portrait function, and in response to the sliding operation, captures an image and saves the image after processing it with a portrait processing algorithm.

[0067] 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, thereby facilitating the user to quickly switch between different photo taking modes and improving the user experience. If the phone is in the state that the camera application has been started to control the camera function, the user only needs one sliding operation to simultaneously achieve camera function selection and control of the camera function running in one step, thereby greatly improving the user operation speed. Compared with Figure 3 ​The operation mode of the prior camera function control method in the related art adopts a fixed shortcut operation mode to control camera functions, for example, leftward sliding can only fixedly trigger a photographing function, and rightward sliding can only fixedly trigger a video recording function. The present application redefines a new camera function control operation mode, which associates the sliding direction with the position of a function label. A user only needs to slide towards the position of a target function label to trigger the camera function corresponding to the function label. Therefore, the user operation mode is more flexible, that is, sliding towards what camera function triggers what camera function, so that any kind of camera function selected by the user can be controlled quickly, for example, sliding in different directions can correspond to control of multiple different camera functions. In different application scenarios, even if sliding in the same direction, different camera functions can be triggered, or the same camera function in different application scenarios, even if sliding in different directions, can be triggered. Therefore, the camera function control mode of the present application is more flexible and can be adjusted based on the application scenario during use by the user. In addition, the user does not need to deliberately remember the correspondence between the sliding direction and the camera function, and only needs to slide towards a certain function label to trigger the corresponding camera function to run. Since the operation mode is more flexible, quick control of all camera functions can be achieved.

[0068] In another embodiment of the present application, as shown in Figure 4 In the interface shown in 4b, the user performs a sliding operation from the shooting button to the "photograph" label, and the phone responds to the sliding operation of the user to perform continuous photographing and save multiple pictures.

[0069] In a possible implementation, after the user slides from the shooting button to the "photograph" label, the user continues to slide a certain distance upwards and then stops the finger on the screen of the phone. The phone responds to the operation of the user stopping the finger on the screen of the phone to continue to perform continuous photographing and save pictures. The number of pictures saved by continuous photographing can be related to the length of time that the user's finger stays on the screen. When the user's finger is lifted from the screen, the phone can stop photographing in response to the lifting operation.

[0070] In a possible implementation, the phone has a default maximum number of continuous photographing, or the user can pre-set the maximum number of continuous photographing. In this way, if the phone continues to perform continuous photographing and save pictures in response to the operation of the user stopping the finger on the screen of the phone, when the number of times of continuous photographing reaches the maximum number, even if the phone detects that the user's finger is still on the screen of the phone, that is, does not detect the lifting operation of the user's finger from the screen, the phone can stop performing photographing.

[0071] In another embodiment of the present application, as shown in Figure 4As shown in the interface shown in 4b, the user performs a sliding operation from the shooting button to the "video" label, and the mobile phone responds to the user's sliding operation to perform a video recording function and save the recorded video. The specific process will be described in detail below.

[0072] It should be noted that the user can also perform a sliding operation from the shooting button to other labels, such as "movie", "night scene", etc. The mobile phone responds to the user's sliding operation to perform the camera function corresponding to the label, such as saving the picture after processing the picture using the algorithm corresponding to the night scene function, or adding a filter in movie mode during video recording, etc. In addition, although the above embodiment takes a mobile phone as an example to describe the shooting method of the present application, the present application is not limited thereto, and the subject of the shooting method of the present application can also be a tablet computer, a folding screen device, etc.

[0073] The user's use of the sliding operation to select and run the camera function will be further described below.

[0074] Exemplarily, as shown in Figure 5 The camera function interface includes a first area 501 and a second area 502, the first area 501 is a control area of the camera function, preferably a shooting button, and the second area 502 is an area around the first area 501. The following is an example of taking the first area 501 as a shooting button.

[0075] In the present application, based on the first area 501 and the intersection angle when sliding from the first area 501 to the second area 502 and passing the edge of the first area 501, the control condition associated with the sliding operation is set, and 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 camera function selected by the sliding operation to run. For the user, the user only needs to perform a sliding operation to select and trigger the camera function.

[0076] In the embodiments of the present application, the control condition is preferably set as the sliding operation needing to pass through the first region 501 and the second region 502 respectively, and the sliding direction of the sliding operation can be from the first region 501 to the second region 502, or from the second region 502 to the first region 501. Wherein, the sliding operation passing through the first region 501 (the shooting button) determines that the user wants to take a photo or record a video, and the sliding operation passing through the first region 501 and entering the second region 402 determines that the user selects the camera function, that is, the user can realize the camera function selection and control the camera function operation through one sliding operation. Based on the interface layout position of the shooting button (the button is located at the middle position of the bottom of the interface) and the button area size (the button area is small) in the existing camera application, the first region 501 is preferably used as the starting region of the sliding operation, and the second region 502 is preferably used as the ending region of the sliding operation, that is, the sliding direction of the sliding operation is preferably from the first region 501 to the second region 502.

[0077] Exemplarily, as shown in Figure 6 , when the sliding operation (the black arrow represents the sliding direction) of the user slides from the first region 501 (the shooting button region) to the second region 502 (the region other than the shooting button region), and passes through the edge of the first region 501, it is determined that the current sliding operation realizes the camera function selection and triggers the camera function operation.

[0078] The embodiments of the present application provide two ways of control conditions and combine the sliding operation to realize the selection of the camera function by the sliding operation, including but not limited to the following two ways:

[0079] Way one: sliding operation + partition

[0080] Exemplarily, as shown in Figure 7 , the second region 502 in Figure 6 is divided into multiple partitions of different directions, each partition does not overlap, and each partition corresponds to a function tag position. For example, Figure 7 , the partition 701 corresponds to the portrait function tag, the partition 702 corresponds to the shooting function tag, and the partition 703 corresponds to the recording function tag. When the sliding operation (the black arrow represents the sliding direction) enters the partition 701 from the shooting button region, it is determined that the sliding operation triggers the portrait function; when the sliding operation enters the partition 702 from the shooting button region, it is determined that the sliding operation triggers the continuous shooting function; and when the sliding operation enters the partition 703 from the shooting button region, it is determined that the sliding operation triggers the recording function. The number and division mode of the partition in the embodiments are not limited. The continuous shooting function can be regarded as a shooting function that can realize continuous shooting.

[0081] Exemplarily, to facilitate the user to operate quickly, the second region 502 in the upper part of the first region 501 is preferably divided into a plurality of non-overlapping partitions, each of which covers a camera function label. The number of partitions and the corresponding camera function labels can be pre-set by the mobile phone manufacturer by default, or can be manually configured by the user.

[0082] The camera function corresponding to each partition is determined based on the currently displayed camera function. For example, if the mobile phone currently displays the photographing function, the left side of the photographing function label is the portrait function label, and the right side is the video recording 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 recording function. If the mobile phone currently displays the portrait function, the left side of the portrait function label is the night scene function label, and the right side is the photographing function label, then the middle partition 702 corresponds to the portrait function, the left partition 701 corresponds to the night scene function, and the right partition 703 corresponds to the continuous shooting function.

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

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

[0085] Method two: sliding operation + angle range

[0086] Exemplarily, as shown in Figure 8 , the second region 502 in Figure 6 is divided into a plurality of angle ranges with different orientations, each of which does not overlap, and each of which corresponds to a function label position. For example, Figure 8In the embodiment, the angle range A corresponds to the portrait function, the angle range B corresponds to the continuous shooting function, and the angle range C corresponds to the video recording function. When the sliding operation enters the second region 502 from the shooting button region and the sliding direction corresponds to the 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 region 502 from the shooting button region and the sliding direction corresponds to the angle range B, it is determined that the sliding operation triggers the continuous shooting function; and when the sliding operation enters the second region 502 from the shooting button region and the sliding direction corresponds to the angle range C, it is determined that the sliding operation triggers the video recording function. The number and division manner of the angle ranges are not limited in the embodiment.

[0087] Exemplarily, in order to facilitate the user to operate quickly, it is assumed that the positive direction of the x axis is the angle division reference direction, the first region 501 corresponding to 0-180° is divided into a plurality of angle ranges, and each angle range covers a function label. The number of the divided angle ranges and the value interval of each angle range can be pre-set by the mobile phone manufacturer by default or manually configured by the user.

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

[0089] In an 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 covered thereby, so as to ensure that when the user performs the sliding operation, the user only needs to slide towards the corresponding function label to ensure that the camera function corresponding to the function label is triggered. For example, if the user slides towards the portrait function label, it is determined that the portrait function is triggered when the sliding operation passes through the first region 501 and enters the second region 502; and if the user slides towards the video recording function label, it is determined that the video recording function is triggered when the sliding operation passes through the first region 501 and enters the second region 502.

[0090] It can be understood that the above two manners can be pre-configured by the mobile phone manufacturer in any one of the manners, or pre-configured by the mobile phone manufacturer in the above two manners, and then manually selected by the user in any one of the manners. In the above two manners, the partition division manner and the angle division manner can be pre-set by the mobile phone manufacturer or manually configured by the user. In addition, the division of the partition or the angle range 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 manner or the angle division manner. It should be noted that the sliding direction of the sliding operation is related to the partition division and the angle range division, and therefore, the sliding direction of the sliding operation needs to be matched with the partition division manner and the angle division manner.

[0091] In this application, the partition division and the angle range division are specifically related to the relative positions between the shooting button and the function labels. In order to facilitate the user to accurately trigger the corresponding camera function through the sliding operation, therefore, the partition range and the angle range need to cover the text corresponding to each function label, and the text corresponding to each function label can be used to indicate the direction of the user's sliding operation, so that the user can accurately trigger the corresponding camera function without deliberately remembering the direction of the sliding operation.

[0092] In the existing camera function control manner, the user needs to remember the camera function corresponding to each sliding direction before use. If not remembered or misremembered, it may cause operation error. In addition, the existing camera function control manner only has two sliding directions, left and right, so the user can only use two camera functions. In this application, the sliding direction is associated with the function label position, the user only needs to slide in the direction of the function label position to trigger the camera function corresponding to the position, and at the same time, since the function label position is variable, even if sliding in the same direction, different camera functions can be triggered. Compared with the existing camera function control manner, the camera function control manner of this application does not need to deliberately remember the direction of the sliding operation, and supports multi-direction sliding. It not only facilitates user operation, but also can be used for a variety of camera functions, and improves the user's experience of capturing wonderful moments.

[0093] The following takes the electronic device as a mobile phone and the camera function as a shooting function, and describes the above Figure 7 、 8 The implementation process of the corresponding camera control method is described.

[0094] Figure 9 The flowchart of the camera function control method provided by the embodiment of the application is shown. The steps of the camera function control method are described as follows:

[0095] S901, the mobile phone displays a first interface of a first camera function, and the first interface is an interface for the user to perform camera function operation;

[0096] The camera function can refer to a shooting mode of the camera. The camera of the mobile phone can include multiple different shooting modes, that is, the camera of the mobile phone can include multiple different camera functions. For example, as described above, the camera of the mobile phone can include a photographing mode, a portrait mode, a video recording mode, a night scene mode, a movie mode, and the like.

[0097] The first interface can be an interface corresponding to any shooting mode. The first interface can include a viewfinder, a shooting button, and other controls for setting shooting parameters. The viewfinder can be used to display an 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 shooting, saving of an image or a video. The user can click or slide the shooting button, and the mobile phone can perform shooting, saving of an image or a video in response to the operation of the user on the shooting button. The other controls for setting shooting parameters can include the gallery thumbnail described above, a front / rear camera switching button, a camera focal length adjustment control, an intelligent vision control, an AI photography control, a flash control, a filter shooting mode control, a settings button, and the like. Clicking the gallery thumbnail can display the most recently saved photo or video in the photo album. Clicking the front / rear camera switching button can switch the front / rear camera. Sliding the camera focal length adjustment control can adjust the focal length of the camera. Clicking the intelligent vision control can open preset application functions, such as object recognition, text recognition, and the like. Opening the AI photography control can automatically identify the photographing environment, such as a portrait or a night scene, according to different scenes, and automatically adjust the photographing parameters. The flash control can control the opening or closing of the flash. Clicking the filter shooting mode control can select different shooting modes and add different filters to the photographed image, such as an original image mode, a youthful filter mode, an impression filter mode, and the like. The settings button can open a settings menu to set camera parameters.

[0098] For example, the mobile phone displays the first interface in response to the triggering operation of the user on the desktop camera application icon to open the camera application. It can be understood that the first interface displayed by the mobile phone for the first time after the camera application is opened can be a default photographing function interface, as shown in FIG. 2b. Figure 2 It can be further understood that after the camera application is opened, the user can also change the camera function interface displayed by the mobile phone by clicking other function tabs on the first interface. For example, the user clicks the portrait function tab, and the mobile phone switches to display a portrait function interface, as shown in FIG. 2c. Figure 2

[0099] In this embodiment, the first interface displayed by the mobile phone can be a default camera function interface displayed when the camera application is started, or a camera function interface corresponding to a function tab selected by the user. That is, the camera function control method of the present application can be implemented in any camera function interface.​

[0100] S902, the mobile phone detects whether there is a user sliding operation on the first interface, the first interface including a first area and a second area;

[0101] Exemplarily, as shown in the figure, Figure 5 the first interface includes a first area 501 and a second area 502, the first area 501 being a control area of the camera function, preferably a shooting button, and the second area 502 being an area around the first area 501.

[0102] After the mobile phone starts the camera application and displays the first interface, it continues to detect whether there is a user sliding operation 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 condition, the mobile phone responds to the sliding operation to control the camera function.

[0103] S903, if it is detected that there is a user sliding operation on the first interface, the mobile phone determines whether the sliding operation enters the second area from the first area based on the moving track of the touch point corresponding to the sliding operation;

[0104] In this embodiment, when the mobile phone detects that there is a user sliding operation on the first interface, the mobile phone obtains the moving track of the touch point of the sliding operation on the screen and determines whether to trigger the camera function control based on the moving track.

[0105] Exemplarily, as shown in the figure, Figure 6 when the moving track of the touch point of the sliding operation on the screen is from the first area 501 to the second area 502, the mobile phone further determines whether the sliding direction formed by the moving track of the touch point is directed to a certain function label. If yes, it is determined that the current sliding operation can realize the selection of the camera function and trigger the running of the camera function.

[0106] The following specifically describes the control condition combined with the sliding operation to realize the selection of the camera function control. The control condition combined with the sliding operation includes but is not limited to the following two ways:

[0107] Way one: sliding operation + partition, the second area including a plurality of non-overlapping partitions, each partition corresponding to cover a function label, and the specific implementation process of this way being as follows:

[0108] S904A, if the sliding operation enters the second area from the first area, the mobile phone determines the camera function corresponding to the target partition when the sliding operation enters the target partition of the second area as the camera function triggered by the sliding operation;

[0109] As Figure 7As shown, the second region 502 is divided into multiple sub-regions with different orientations, each sub-region does not overlap, and each sub-region corresponds to cover a function label, for example, Figure 7 In this embodiment, the sub-region 701 corresponds to the portrait function label, the sub-region 702 corresponds to the continuous shooting function label, and the sub-region 703 corresponds to the video recording function label. When the sliding operation enters the sub-region 701 from the shooting button region, it is determined that the sliding operation triggers the portrait function; when the sliding operation enters the sub-region 702 from the shooting button region, it is determined that the sliding operation triggers the continuous shooting function; and when the sliding operation enters the sub-region 703 from the shooting button region, it is determined that the sliding operation triggers the video recording function.

[0110] S904B, the phone starts the camera function triggered by the sliding operation, and adjusts the layout of the first interface currently displayed by the phone to display the second interface corresponding to the camera function triggered by the sliding operation, which is the interface corresponding to the running of the camera function;

[0111] During the sliding operation of the user in 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 by the phone during the starting process, such as hiding the function label, the flash icon, the setting menu icon, etc., or also displaying the interface elements that were not displayed in the first interface before, such as the video recording control button and the video recording time when the video recording function is triggered.

[0112] It needs to be further explained that starting the camera function to run and displaying the second interface corresponding to the camera function can be performed simultaneously, or starting the camera function to run to take a photo or record a video after displaying the second interface corresponding to the camera function. In addition, the timing of starting the camera function to run can be when the user's finger enters the second region after sliding out of the shooting button, or when the user's finger slides over the corresponding function label.

[0113] S904C, if the camera function triggered by the sliding operation is the continuous shooting function, the phone controls the continuous shooting function to perform continuous shooting based on the sliding operation in the second interface corresponding to the continuous shooting function.

[0114] In this embodiment, after triggering the camera function, the phone can further control the camera function to run based on the sliding operation, for example, after the user slides from the shooting button to the "shooting" label, the user continues to slide a certain distance upwards, and then the finger stays on the screen of the phone. The phone responds to the operation of the user staying on the screen of the phone to continue to perform continuous shooting and save pictures. The number of pictures taken and saved by the continuous shooting can be related to the length of time that the user's finger stays on the screen. When the user's finger is lifted from the screen, the phone can stop shooting in response to the lifting operation.

[0115] The camera function triggered by the swipe gesture enables continuous shooting, specifically including either the regular photo function or the portrait function. By swiping, users can use either the regular photo or portrait function to take consecutive photos, reducing the need to manually select a single camera function for continuous shooting and improving the user experience.

[0116] In one possible implementation, the phone has a default maximum number of consecutive shots, or the user can preset the maximum number of consecutive shots. In this way, if the phone responds to the user's action of keeping their finger on the screen and continues to take and save images, it can stop taking pictures when the maximum number of consecutive shots is reached, even if the phone detects that the user's finger is still on the screen and no finger is being lifted off the screen.

[0117] The control conditions in this embodiment, combined with the implementation of the sliding operation, divide the second area into partitions, thereby associating multiple function labels with each partition. This allows users to access each partition through sliding operations and control various camera functions through each partition. Compared with existing camera function control methods, the camera function control method of this application does not require users to remember the direction of the sliding operation and supports multi-directional sliding. This not only makes it convenient for users to operate but also allows for the use of multiple camera functions, improving the user experience of capturing wonderful moments.

[0118] 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:

[0119] S905A, if the swipe operation moves from the first area to the second area, the phone calculates the angle between the swipe direction corresponding to the swipe operation and the preset reference direction when the swipe operation moves to the second area.

[0120] like Figure 8 As shown, Figure 6 The second region 502 is divided into multiple angular ranges with different orientations. Each angular range is non-overlapping, and each angular range corresponds to a functional label. For example, Figure 8In the embodiment, the angle range A corresponds to the portrait function label, the angle range B corresponds to the photograph function label, and the angle range C corresponds to the video recording function label. When the sliding operation enters the second region 502 from the photograph button region and the sliding direction corresponds to the angle range A, it is determined that the sliding operation triggers the portrait function; when the sliding operation enters the second region 502 from the photograph button region and the sliding direction corresponds to the angle range B, it is determined that the sliding operation triggers the photograph function; and when the sliding operation enters the second region 502 from the photograph button region and the sliding direction corresponds to the angle range C, it is determined that the sliding operation triggers the video recording function.

[0121] Suppose that the positive direction of the x-axis is the angle division reference direction, when the sliding operation enters the second region from the first region, the included angle between the sliding direction corresponding to the sliding operation and the preset reference direction is calculated, and the included angle is used to determine the camera function triggered by the sliding operation.

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

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

[0124] S905C, the mobile phone starts the camera function triggered by the sliding operation, and adjusts the layout of the first interface currently displayed by 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 running of the camera function;

[0125] S905D, if the camera function triggered by the sliding operation is the continuous photograph function, the mobile phone controls the continuous photograph function to perform continuous photographing based on the sliding operation in the second interface corresponding to the continuous photograph function.

[0126] The steps S906C and S906D are the same as the steps S905B and S905C respectively, and thus are not described herein again.

[0127] For example, as shown in Figure 10As shown in the schematic diagram of one sliding photographing interface, as shown in 10a, 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 photographing function label by default, the user does not select other function labels, but directly performs a sliding operation (as shown in the black arrow of 10a, indicating the sliding direction) on the first interface corresponding to the current photographing function label. As shown in 10b, when the sliding operation is slid outward from the inside of the shooting button and passes the edge of the shooting button, the mobile phone determines the current sliding direction to point to the photographing function label according to the moving track of the touch point on the screen, hides the interface elements irrelevant to the current photographing, such as various function labels, flash icon, setting menu icon, etc., displays the viewfinder, gallery thumbnail and shooting button (i.e. the second interface), displays the word "continuous shooting" at the original photographing function label position, and displays a number at the middle position of the shooting button, which represents the number of continuously accumulated photos (the initial value is 0). As shown in 10c, when the sliding operation continues to slide along the direction of the word (continuous shooting) of the photographing function and enters the second area 502 and passes the word "continuous shooting", a line between the touch point of the sliding operation and the edge of the shooting button is displayed, which is used to indicate the sliding direction corresponding to the sliding operation. As shown in 10d, when the sliding operation continues to slide along the current sliding direction, the number displayed at the middle position of the shooting button starts to increase, and with the increase of the number of continuous shooting photos, the thumbnail preview photos displayed in the gallery thumbnail are also refreshed and displayed accordingly. As shown in 10e, when the sliding operation stops but the touch point does not disappear (the user's finger still stays at the current second interface), the number displayed at the middle position of the shooting button continues to increase, and it needs to be further explained that when the number of continuously accumulated photos reaches the maximum continuous shooting threshold, the mobile phone ends the continuous shooting and restores the third interface corresponding to the photographing function label before the continuous shooting starts. As shown in 10f, when the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), the mobile phone ends the continuous shooting and restores the third interface corresponding to the photographing function label before the continuous shooting starts, and refreshes the display content of the gallery thumbnail. Among them, the third interface and the first interface both belong to the operation interface of the camera function, the difference between the two is that the display content of the gallery thumbnail is different, and the real-time display content of the viewfinder is different, since the display content of the gallery thumbnail and the real-time display content of the viewfinder are both dynamically changed, the third interface can be directly regarded as the first interface at different time to some extent.

[0128] For example, Figure 11Another sliding photographing interface is shown. As shown in 11a, 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 photographing function label by default; as shown in 11b, the user selects the first interface corresponding to another camera function label, such as the portrait function label, and then the mobile phone displays the first interface corresponding to the portrait function label, and the user performs a sliding operation (the black arrow in 11b represents the sliding direction) on the current first interface corresponding to the portrait function label; as shown in 11c, when the sliding operation is slid outward from the inside of the shooting button and passes the edge of the shooting button, the mobile phone determines that the current sliding direction points to the photographing function label according to the moving track of the touch point of the sliding operation on the screen, hides the interface elements irrelevant to the current photographing, such as various function labels, flash icon, setting menu icon, etc., displays only the viewfinder, gallery thumbnail, and shooting button (i.e., the second interface), displays the "continuous shooting" word at the original photographing function label position, and displays a number at the middle position of the shooting button, which represents the number of continuously accumulated photographs (the initial value is 0); as shown in 11d, when the sliding operation continues to slide along the direction of the photographing function word ("continuous shooting") into the second area 502 and passes the "continuous shooting" word, a line between the touch point of the sliding operation and the edge of the shooting button is displayed, which is used to indicate the sliding direction corresponding to the sliding operation; as shown in 11e, when the sliding operation continues to slide along the current sliding direction, the number displayed at the middle position of the shooting button starts to increase, and with the increase of the number of continuous shooting photographs, the thumbnail preview photographs displayed by the gallery thumbnail are also refreshed and displayed accordingly; as shown in 11f, when the sliding operation stops but the touch point does not disappear (the user's finger still stays at the current second interface), the number displayed at the middle position of the shooting button continues to increase, and it needs to be further explained that when the number of continuously accumulated photographs reaches the maximum continuous shooting threshold, the mobile phone ends the continuous shooting and restores the display of the first interface corresponding to the portrait function label; as shown in 11g, when the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), the mobile phone ends the continuous shooting and restores the display of the third interface corresponding to the portrait function label before the continuous shooting starts, and refreshes the display content of the gallery thumbnail. The third interface and the first interface both belong to the operation interface of the camera function, and the difference between them is that the display content of the gallery thumbnail is different, and the real-time display content of the viewfinder is different.

[0129] For example, Figure 12As shown in a schematic diagram of a sliding portrait continuous shooting interface, as shown in 12a, 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 photographing function label by default, the user does not select other function labels, but directly performs a sliding operation (as shown in the black arrow of 12a, indicating the sliding direction) on the first interface corresponding to the current photographing function label; as shown in 12b, when the sliding operation is slid outward from the inside 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 according to the moving track of the touch point on the screen, hides the interface elements irrelevant to the current photographing, such as various function labels, flash icon, setting menu icon, etc., displays only the viewfinder frame, gallery thumbnail and shooting button (i.e., the second interface), displays the word "portrait continuous shooting" at the original portrait function label position, and displays a number in the middle of the shooting button, which represents the number of continuously accumulated photos (the initial value is 0); as shown in 12c, when the sliding operation continues to slide along the direction of the word ( "portrait continuous shooting") of the portrait function and enters the second area 502 and passes the word "portrait continuous shooting", a line between the touch point of the sliding operation and the edge of the shooting button is displayed, which is used to indicate the sliding direction corresponding to the sliding operation; as shown in 12d, when the sliding operation continues to slide along the current sliding direction, the number displayed in the middle of the shooting button starts to increase, and with the increase of the number of continuous shooting photos, the thumbnail preview photos displayed in the gallery thumbnail are also refreshed accordingly; as shown in 12e, when the sliding operation stops but the touch point does not disappear (the user's finger still stays on the current second interface), the number displayed in the middle of the shooting button continues to increase, and it needs to be further explained that when the number of continuously accumulated photos reaches the maximum continuous shooting threshold, the mobile phone ends the portrait continuous shooting and restores the display of the first interface corresponding to the photographing function label; as shown in 12f, when the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), the mobile phone ends the portrait continuous shooting and restores the display of the third interface corresponding to the photographing function label before the portrait continuous shooting and refreshes the display content of the gallery thumbnail. Among them, the third interface and the first interface both belong to the operation interface of the camera function, and the difference between the two is that the display content of the gallery thumbnail is different, and the real-time display content of the viewfinder frame is different.

[0130] For example, Figure 13Another example of the sliding portrait mode interface is shown in FIG. 13. As shown in 13a, after the phone opens the camera application in response to the user's operation, the phone displays the first interface corresponding to the shooting function label by default; as shown in 13b, the user selects the first interface corresponding to another camera function label, such as the portrait function label, and the phone displays the first interface corresponding to the portrait function label in response; the user performs a sliding operation (the black arrow in 13b represents the sliding direction) on the first interface corresponding to the current portrait function label; as shown in 13c, when the sliding operation is slid outward from the inside of the shooting button and passes the edge of the shooting button, the phone determines the current sliding direction to be directed to the portrait function label according to the moving track of the touch point on the screen in response to the sliding operation, hides the interface elements irrelevant to the current shooting, such as various function labels, flash icon, setting menu icon, etc., displays only the viewfinder, gallery thumbnail, and shooting button (i.e., the second interface), displays the word "portrait mode" in the original position of the portrait function label, and displays a number in the middle of the shooting button, which represents the number of photos currently accumulated in the continuous shooting (the initial value is 0); as shown in 13d, when the sliding operation continues to slide along the direction of the word "portrait mode" into the second area 502 and passes the word "portrait mode", a line between the touch point of the sliding operation and the edge of the shooting button is displayed, which indicates the sliding direction corresponding to the sliding operation; as shown in 13e, when the sliding operation continues to slide along the current sliding direction, the number displayed in the middle of the shooting button starts to increase, and the thumbnail preview photos displayed in the gallery thumbnail are refreshed accordingly as the number of photos accumulated in the continuous shooting increases; as shown in 13f, when the sliding 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, and it needs to be further explained that when the number of photos accumulated in the continuous shooting reaches the maximum threshold of the continuous shooting, the phone ends the portrait mode and restores the first interface corresponding to the portrait function label; as shown in 13g, when the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), the phone ends the portrait mode and restores the third interface corresponding to the portrait function label before the portrait mode and refreshes the display content of the gallery thumbnail. The third interface and the first interface both belong to the operation interface of the camera function, and the difference between them is that the display content of the gallery thumbnail is different, and the real-time display content of the viewfinder is different.

[0131] For example, Figure 14As shown in the schematic diagram of the sliding portrait photographing interface, as shown in 14a, 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 photographing function label by default, the user does not select other function labels, but directly performs the sliding operation on the first interface corresponding to the current photographing function label (the black arrow shown in 14a represents the sliding direction); as shown in 14b, when the sliding operation is slid outward from the inside 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 according to the moving track of the touch point on the screen of the sliding operation, hides the interface elements irrelevant to the current photographing, such as various function labels, flash icon, setting menu icon, and displays the viewfinder, gallery thumbnail and shooting button (namely, the second interface), and displays the word "portrait" at the original portrait function label position; as shown in 14c, when the sliding operation continues to slide along the position of the word ("portrait") of the portrait function and enters the second area 502 and passes the word "portrait", the line between the touch point of the sliding operation and the edge of the shooting button is displayed, which is used to indicate the sliding direction corresponding to the sliding operation, at the same time, a portrait photo is shot, and the thumbnail preview photo displayed by the gallery thumbnail is refreshed; as shown in 14d, when the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), the mobile phone ends the portrait photographing and restores the third interface corresponding to the photographing function label before the portrait photographing, and refreshes the display content of the gallery thumbnail. The third interface and the first interface both belong to the operation interface of the camera function, and the difference between the two is that the display content of the gallery thumbnail is different, and the real-time display content of the viewfinder is different.

[0132] In an optional embodiment, when the photographing function is controlled to perform continuous photographing, the mobile phone calls the image processing program suitable for the photographing function to sequentially perform image processing on each photo generated. For example, assuming that the mobile phone controls the portrait function to perform continuous photographing, the mobile phone automatically calls the beautifying program to process the portrait photo each time a portrait photo is generated, such as face slimming, skin smoothing, background blurring, etc., if the user has set the beautifying parameters in advance, the beautifying parameters set by the user are used, otherwise the default beautifying parameters of the beautifying program are used.

[0133] In an optional embodiment, if the camera function triggered by the user's sliding operation is the video recording function, in the second interface of the video recording function, the video recording function is controlled to perform video recording in response to the sliding operation continuing to slide along the position of the word of the video recording function; when the sliding operation is invalid, the third interface of the video recording function is switched to be displayed, and the video recording function continues to run.

[0134] For example, Figure 15The layout of the illustrated video recording interface mainly includes: a viewfinder frame 101, a front-rear camera switching button 105, a camera focal length adjusting control 106, a flash control 109, a video recording control button 112, a pause button 113, a photographing function switching button 114, and a video recording time 115.

[0135] The viewfinder frame 101 is used to display the image collected by the camera in real time. The front-rear camera switching button 105 can be clicked to switch between the front and rear cameras. The camera focal length adjusting control 106 can be slid to adjust the focal length of the camera. The flash control 109 can be clicked to control the opening or closing of the flash. The video recording control button 112 can be clicked to start or end the video recording function. The pause button 113 can be clicked to pause the video recording during the video recording process. The photographing function switching button 114 can be clicked to switch from the video recording function to the photographing function. The video recording time 115 is used to display the current video recording duration.

[0136] For example, Figure 16The schematic diagram of the sliding video interface is shown. As shown in 16a, the mobile phone opens the camera application in response to the operation of the user, and the mobile phone displays the first interface corresponding to the photographing function tag by default. The user does not select other function tags, but directly performs a sliding operation (the black arrow shown in 16a represents the sliding direction) on the first interface corresponding to the photographing function tag. When the sliding operation is slid outward from the internal region of the shooting button and passes the edge of the shooting button, or the user long-presses the shooting button and holds the shooting button without releasing, as shown in 16b, the mobile phone determines that the current sliding direction points to the video recording function tag according to the moving track of the touch point on the screen in response to the sliding operation, or hides the interface elements irrelevant to the current video recording, such as various function tags, setting menu icons and the like, displays the viewfinder frame, the shooting button (namely, the second interface), displays the word “video recording” at the original position of the video recording function tag, and displays a connection line between the shooting button and the “video recording” tag. The connection line can be used to prompt the user to slide to the position of the “video recording” tag, and lock the video recording function, that is, the user's finger does not need to be continuously kept on the screen, and the video recording can be continuously performed. Meanwhile, the video recording time is displayed at the top left position of the viewfinder frame. The number represents the cumulative length of the current video recording (the initial value is 00:00). As shown in 16c, when the sliding operation continues to slide along the position of the word ( “video recording”) of the video recording function into the second region 502 and passes the word “video recording”, the video recording time is increased. As shown in 16d, the touch point corresponding to the sliding operation disappears (the user's finger leaves the current second interface), and the third interface of the video recording function is displayed. The video recording function is locked, and the video recording function continues to run and the video recording time is increased. As shown in 16e, the user clicks the video recording control button of the video recording interface, and the mobile phone ends the video recording, and the video recording time stops increasing. As shown in 16f, when the video recording is ended, the mobile phone restores the fourth interface corresponding to the photographing function tag before the video recording, and refreshes the display content of the gallery thumbnail. The fourth interface and the first interface both belong to the operation interface of the camera function. The difference between the two is that the display content of the gallery thumbnail is different, and the real-time display content of the viewfinder frame is different. Since the display content of the gallery thumbnail and the real-time display content of the viewfinder frame are both dynamically changed, the third interface can be directly regarded as the first interface at different time to some extent.

[0137] In an optional embodiment, when the mobile phone displays the camera function interface, if there is a long-press operation in the control region (namely, the first region) of the current camera function interface, the video recording function is triggered to run. When the long-press operation is invalid, the mobile phone stops the video recording function from running.

[0138] For example, Figure 17The schematic diagram of the long video recording interface is shown. As shown in 17a, after the mobile phone opens the camera application, the mobile phone displays the first interface corresponding to the photographing function label by default; as shown in 17b, the user performs a long press operation on the shooting button of the first interface, and when the long press time exceeds the preset time threshold, the mobile phone hides the interface elements irrelevant to the current video recording, such as various function labels, setting menu icons, etc., and only displays the viewfinder frame, the shooting button (i.e., the second interface), displays the word "video recording" at the original video recording function label position, and generates a guide line connecting the word "video recording" and the edge of the shooting button, and displays the video recording time at the top left position of the viewfinder frame, which represents the cumulative time length of the current video recording (the initial value is 00:00); as shown in 17c, the user continues to perform the long press operation, and the mobile phone continues to control the video recording function to run, and the video recording time increases; as shown in 17d, the user ends the long press operation, and the mobile phone displays the third interface corresponding to the photographing function label before the video recording starts, and refreshes the display content of the gallery thumbnail. The third interface and the first interface both belong to the operation interface of the camera function, and the difference between the two is that the content displayed by the gallery thumbnail is different, and the content displayed by the viewfinder frame in real time is different.

[0139] The control condition of the embodiment combines the implementation mode of the sliding operation, and by dividing the second area into an angle range, each function label is associated with each angle range, so that the user can correspond to each angle range through the sliding operation, and then control multiple camera functions through the angle range. Compared with the existing camera function control mode, the camera function control mode of the application does not need to deliberately remember the direction of the sliding operation, and supports multi-direction sliding, which not only facilitates user operation, but also can be used for multiple camera functions, and improves the user's experience of capturing wonderful moments.

[0140] Corresponding to the above-mentioned embodiments, the application further provides an electronic device, which includes a memory for storing a computer program and a processor for executing the computer program, wherein when the computer program stored in the memory is executed by the processor, the electronic device triggers to execute part or all of the steps of the camera function control method in the above-mentioned embodiments.

[0141] Figure 18 A structural schematic diagram of an electronic device provided by the embodiment of the application is shown. Referring to Figure 18The electronic device 10 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric 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.

[0142] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 can include more or fewer components than shown, or combine certain components, or split certain components, or different arrangement of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0143] The processor 110 can include one or more processing units, for example: the processor 110 can 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), etc. Different processing units can be independent devices, or can be integrated in one or more processors.

[0144] The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching and executing instructions.

[0145] The processor 110 can also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can hold instructions or data that the processor 110 has just used or is using repeatedly. If the processor 110 needs to use the instructions or data again, it can call them directly from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thus improving the efficiency of the system.

[0146] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can 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, etc.

[0147] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 can include multiple sets of I2C buses. The processor 110 can be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example, the processor 110 can be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface, realizing the touch function of the electronic device 10.

[0148] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple sets of I2S buses. The processor 110 can be coupled to the audio module 170 through the I2S bus, realizing communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can deliver audio signals to the wireless communication module 160 through the I2S interface, realizing the function of answering the phone through the Bluetooth headset.

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

[0150] The UART interface is a general-purpose serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is usually used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface, realizing the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, realizing the function of playing music through a Bluetooth headset.

[0151] The MIPI interface can be used to connect the processor 110 and peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes the camera serial interface (CSI), the display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface, realizing the shooting function of the electronic device 10. The processor 110 and the display screen 194 communicate through the DSI interface, realizing the display function of the electronic device 10.

[0152] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 and the camera 193, the display screen 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.

[0153] The USB interface 130 is an interface that meets the USB standard specification, which can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 10, or to transmit data between the electronic device 10 and peripheral devices. It can also be used to connect a headset to play audio through the headset. The interface can also be used to connect other electronic devices 10, such as AR devices, etc.

[0154] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a limitation on the structure of the electronic device 10. In other embodiments of the present application, the electronic device 10 can also use different interface connection modes or a combination of multiple interface connection modes in the above embodiments.

[0155] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through a wireless charging coil of the electronic device 10. The charging management module 140 can charge the battery 142 and also supply power to the electronic device 10 through the power management module 141.

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

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

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

[0159] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 10. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive an electromagnetic wave by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic wave, and transfer the same to a modem processor for demodulation. The mobile communication module 150 can also amplify a signal modulated by the modem processor, and radiate the same as an electromagnetic wave through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the same device as at least part of the modules of the processor 110.

[0160] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a 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. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the microphone 170B, etc.), or displays an image or a video through the display screen 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110, and disposed in the same device as the mobile communication module 150 or other functional modules.

[0161] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device 10.

[0162] The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 can also receive signals to be transmitted from the processor 110, frequency-modulate them, amplify them, and radiate them as electromagnetic waves via the antenna 2.

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

[0164] The electronic device 10 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.

[0165] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the electronic device 10 can include one or N display screens 194, where N is a positive integer greater than 1.

[0166] The electronic device 10 can implement the photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor.

[0167] The ISP is configured to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also optimize the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature, and other parameters of the shooting scene. In some embodiments, the ISP can be disposed in the camera 193.

[0168] The camera 193 is configured to capture still images or videos. An object generates an optical image through a lens and projects it onto a 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, which is then transmitted to the ISP to convert it 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 the like format. In some embodiments, the electronic device 10 can include one or N cameras 193, where N is a positive integer greater than 1.

[0169] The digital signal processor is used to process digital signals, in addition to being able to process digital image signals, it can also process other digital signals. For example, when the electronic device 10 is in frequency point selection, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0170] The video codec is used to compress or decompress digital video. The electronic device 10 can support one or more video codecs. In this way, the electronic device 10 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0171] The NPU is a neural-network (NN) calculation processor, which can quickly process input information by drawing on the structure of biological neural networks, such as drawing on the transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, the electronic device 10 can realize intelligent cognition applications such as image recognition, face recognition, voice recognition, text understanding, etc.

[0172] The internal memory 121 can include one or more random access memories (RAMs) and one or more non-volatile memories (NVMs).

[0173] The random access memory can 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, such as the fifth generation DDR SDRAM commonly referred to as DDR5 SDRAM), etc.

[0174] The non-volatile memory can include magnetic disk storage devices, flash memory.

[0175] According to the operation principle, the flash memory can include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. According to the potential order of the storage unit, the flash memory can include single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. According to the storage specification, the flash memory can include universal flash storage (UFS), embedded multi media Card (eMMC), etc.

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

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

[0178] The external memory interface 120 can be used to connect an external non-volatile memory, so as to expand the storage capacity of the electronic device 10. The external non-volatile memory communicates with the processor 110 through the external memory interface 120, so as to realize the data storage function. For example, files such as music and video are saved in the external non-volatile memory.

[0179] The electronic device 10 can realize the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, music playing, recording, etc.

[0180] The audio module 170 is used to convert digital audio information into analog audio signals, 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 arranged in the processor 110, or part of the function modules of the audio module 170 can be arranged in the processor 110.

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

[0182] The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 10 answers a phone call or a voice message, the user can answer the voice by putting the receiver 170B close to the ear.

[0183] The microphone 170C, also called "microphone", "sound collector", is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can make a sound by putting the mouth close to the microphone 170C, and input the sound signals into the microphone 170C. The electronic device 10 can be provided with at least one microphone 170C. In some other embodiments, the electronic device 10 can be provided with two microphones 170C, which can realize the noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 10 can be provided with three, four or more microphones 170C, which can realize the functions of collecting sound signals, noise reduction, identifying sound sources, realizing directional recording, etc.

[0184] The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D 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.

[0185] The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A can be arranged on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can include at least two parallel plates made of conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 10 determines the intensity of the pressure according to the change of the capacitance. When a touch operation acts on the display screen 194, the electronic device 10 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 10 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, the touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than a first pressure threshold value acts on a short message application icon, an instruction of viewing short messages is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold value acts on the short message application icon, an instruction of creating a new short message is executed.

[0186] The gyroscope sensor 180B can be used to determine the motion attitude 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 shaking of the electronic device 10, calculates the distance that the lens module needs to compensate according to the angle, and lets the lens offset the shaking of the electronic device 10 by reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and motion sensing game scenarios.

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

[0188] The magnetic sensor 180D includes a Hall sensor. The electronic device 10 can detect the opening and closing of a flip cover with the magnetic sensor 180D. In some embodiments, when the electronic device 10 is a flip phone, the electronic device 10 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. In turn, according to the detected opening and closing state of the cover or the opening and closing state of the flip cover, the electronic device 10 can set features such as automatic unlocking of the flip cover.

[0189] The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device 10 in various directions (typically three axes). When the electronic device 10 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the attitude of the electronic device 10 and applied to landscape / portrait switching, pedometers, and other applications.

[0190] The distance sensor 180F is used to measure distance. The electronic device 10 can measure distance by infrared or laser. In some embodiments, in a shooting scenario, the electronic device 10 can use the distance sensor 180F to measure distance to achieve fast focusing.

[0191] The proximity light sensor 180G can include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The light-emitting diode can be an infrared light-emitting diode. The electronic device 10 emits infrared light outwardly through the light-emitting diode. The electronic device 10 detects infrared reflected light from nearby objects using the photodiode. 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 for a call, so as to automatically turn off the screen to achieve the purpose of power saving. The proximity light sensor 180G can also be used for automatic unlocking and locking of the cover mode and pocket mode.

[0192] Ambient light sensor 180L is used to sense ambient light brightness. Electronic device 10 can adaptively adjust display screen 194 brightness according to sensed ambient light brightness. Ambient light sensor 180L can also be used to automatically adjust white balance when taking a picture. Ambient light sensor 180L can also cooperate with proximity light sensor 180G to detect whether electronic device 10 is in a pocket to prevent accidental touch.

[0193] Fingerprint sensor 180H is used to collect a fingerprint. Electronic device 10 can use collected fingerprint characteristics to implement fingerprint unlocking, access application lock, take a picture with a fingerprint, answer an incoming call with a fingerprint, and so on.

[0194] Temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 10 uses temperature detected by temperature sensor 180J to implement a temperature processing strategy. For example, when temperature reported by temperature sensor 180J exceeds a threshold value, electronic device 10 reduces performance of a processor located near temperature sensor 180J to reduce power consumption and implement thermal protection. In another embodiment, when temperature is lower than another threshold value, electronic device 10 heats battery 142 to avoid abnormal shutdown of electronic device 10 caused by low temperature. In other embodiments, when temperature is lower than yet another threshold value, electronic device 10 boosts output voltage of battery 142 to avoid abnormal shutdown caused by low temperature.

[0195] Touch sensor 180K, also referred to as a "touch device". Touch sensor 180K can be disposed on display screen 194, and touch sensor 180K and display screen 194 together form a touch screen, also referred to as a "touch panel". Touch sensor 180K is used to detect a touch operation acting on or near it. Touch sensor 180K can pass detected touch operation to an application processor to determine a touch event type. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K can also be disposed on a surface of electronic device 10, and can be disposed at a position different from that of display screen 194.

[0196] Bone conduction sensor 180M can obtain a vibration signal. In some embodiments, bone conduction sensor 180M can obtain a vibration signal of a human body sound part vibration bone block. Bone conduction sensor 180M can also contact a human body pulse to receive a blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M can also be disposed in a headset to form a bone conduction headset. Audio module 170 can analyze a voice signal based on the vibration signal of the sound part vibration bone block obtained by bone conduction sensor 180M to implement a voice function. Application processor can analyze heart rate information based on the blood pressure pulsation signal obtained by bone conduction sensor 180M to implement a heart rate detection function.

[0197] The keys 190 include a power key, a volume key, and the like. The keys 190 can be mechanical keys. Alternatively, the keys 190 can be touch keys. The electronic device 10 can receive a key input and generate a key signal input related to a user setting and a function control of the electronic device 10.

[0198] The motor 191 can generate a vibration prompt. The motor 191 can be used for a call vibration prompt, and can also be used for a touch vibration feedback. For example, a touch operation for different applications (e.g., a photograph, audio playback, and the like) can correspond to different vibration feedback effects. A touch operation for different regions of the display screen 194 can also correspond to different vibration feedback effects. Different application scenarios (e.g., a time reminder, a received message, an alarm, a game, and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0199] The indicator 192 can be an indicator light, and can be used to indicate a charging state, a power change, and can also be used to indicate a message, a missed call, a notification, and the like.

[0200] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or pulled out of the SIM card interface 195 to realize contact and separation with the electronic device 10. The electronic device 10 can support one or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support a Nano SIM card, a Micro SIM card, a SIM card, and the like. The same SIM card interface 195 can simultaneously insert multiple cards. 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 an external storage card. The electronic device 10 interacts with a network through the SIM card to realize a call and data communication function, and the like. 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.

[0201] The embodiment also provides a computer storage medium, which stores computer instructions. When the computer instructions run on the electronic device 10, the electronic device 10 executes the related method steps to realize the camera function control method in the above embodiment.

[0202] The embodiment also provides a computer program product. When the computer program product runs on a computer, the computer executes the related steps to realize the camera function control method in the above embodiment.

[0203] In addition, the embodiment of the present application further provides an apparatus, which can be a chip, a component or a module, and the apparatus can include a processor and a memory connected to each other; the memory is used to store computer-executed instructions; when the apparatus is running, the processor can execute the computer-executed instructions stored in the memory, so that the chip executes the camera function control method in each method embodiment.

[0204] The electronic device, the computer storage medium, the computer program product or the chip provided in the embodiment are used to execute the corresponding method provided above, and thus the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product or the chip can refer to the beneficial effects of the corresponding method provided above, which will not be repeated here.

[0205] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity, only the division of the above functional modules is taken as an example, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above.

[0206] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented by other ways. For example, the apparatus embodiment described above is only schematic, for example, the division of the module or unit is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another apparatus, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, apparatus or unit, and can be electrical, mechanical or other forms.

[0207] The unit described as a separate component can or can not be physically separated, and the component shown as a unit can be one physical unit or a plurality of physical units, that is, can be located in one place, or can be distributed to a plurality of different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0208] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically independently, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of software functional unit.

[0209] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application essentially or in other words the parts that make contributions to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The software product is stored in a storage medium and includes a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0210] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and not to limit them. 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 can be modified or replaced equivalently without departing from the spirit and scope of the technical solutions of the present application.

Claims

1. A camera function control method applied to an electronic device, characterized by comprising: The electronic device includes a plurality of camera functions, a first interface corresponding to the camera functions includes a first region and a second region, the first region is a shooting button of the camera, the second region is a region other than the shooting button of the camera, the second region includes a plurality of function tags for identifying camera functions, and the camera function control method includes: displaying a first interface of a first camera function of the electronic device; receiving a first operation of a user on the first interface of the first camera function, the first operation including a sliding operation; when the sliding operation enters the second region from the first region on the first interface of the first camera function, determining whether a sliding direction corresponding to the sliding operation is directed to a first function tag; if the sliding direction is directed to the first function tag, switching to display a second interface of a second camera function identified by the first function tag, the second interface including a text representing the second camera function, and the display position of the text being the same as the display position of the first function tag; in response to the sliding operation continuing to slide in the direction of the text of the second camera function on the second interface of the second camera function, controlling the second camera function to run.

2. The camera function control method according to claim 1, characterized by, The second region includes a plurality of non-overlapping partitions, each partition covering a function tag, and the division of each partition is related to the relative positions between the shooting button and the function tags.

3. The camera function control method according to claim 2, characterized by, The determination whether the sliding direction corresponding to the sliding operation is directed to the first function tag on the first interface of the first camera function when the sliding operation enters the second region from the first region includes: when the sliding operation enters the second region from the first region on the first interface of the first camera function, determining whether the sliding operation enters a target partition of the second region; if the sliding operation enters the target partition of the second region, determining that the function tag covered by the target partition is the first function tag to which the sliding direction corresponding to the sliding operation is directed.

4. The camera function control method according to claim 1, characterized by, The second region corresponds to a plurality of non-overlapping angle ranges, each angle range covering a function tag, and the division of each angle range is related to the relative positions between the shooting button and the function tags.

5. The camera function control method according to claim 4, characterized by, The determination whether the sliding direction corresponding to the sliding operation is directed to the first function tag on the first interface of the first camera function when the sliding operation enters the second region from the first region includes: when the sliding operation enters the second region from the first region on the first interface of the first camera function, calculating an included angle between a sliding direction corresponding to the sliding operation and a preset reference direction; if the angle range contains the included angle, determining that the function tag covered by the angle range containing the included angle is the first function tag to which the sliding direction corresponding to the sliding operation is directed.

6. The camera function control method according to claim 1, characterized by, The camera function control method further includes: when switching to display the second interface of the second camera function identified by the first function tag, hiding related controls displayed on the first interface of the first camera function, wherein the related controls include all function tags displayed on the first interface of the first camera function.

7. The camera function control method according to claim 1, characterized by, 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 the first region has a long press operation, 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 the preset duration threshold, switching to display a second interface of a 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 run.

8. The camera function control method according to claim 7, characterized by, The camera function control method further includes: In the second interface of the video recording function, when the long press operation is invalid, stopping running the video recording function and restoring to display the first interface of the first camera function.

9. The camera function control method according to claim 1, characterized by, The function tags are slidable, and when a user slides any function tag in the first interface of the first camera function, the display positions of all the function tags change.

10. The camera function control method according to claim 9, characterized by, The camera function control method further includes: Obtaining a second function tag selected by the user in the first interface of the first camera function by sliding a function tag; Switching to display a first interface of a third camera function identified by the second function tag.

11. The camera function control method according to claim 1, characterized in that, The second camera function includes a continuous shooting function, the first function tag includes a photographing function tag, and the second interface of the second camera function includes: a text of the continuous shooting function. In the second interface of the second camera function, in response to the sliding operation continuing to slide along a direction in which the text of the second camera function is located, the control of the second camera function to run includes: In the second interface of the continuous shooting function, in response to the sliding operation continuing to slide along a direction in which the text of the continuous shooting function is located, the control of the continuous shooting function to continuously capture photos. The camera function control method further includes: When the sliding operation is invalid or the number of continuously captured photos reaches a preset threshold, stopping running the continuous shooting function and restoring to display the first interface of the first camera function, wherein the number of continuously captured photos is related to a duration of the sliding operation, and the duration includes a sliding duration and a staying duration of the sliding operation in the second interface of the continuous shooting function.

12. The camera function control method according to any one of claims 1-11, wherein, The second camera function includes a portrait function, the first function tag includes a portrait function tag, and in the second interface of the second camera function, in response to the sliding operation continuing to slide along a direction in which the text of the second camera function is located, the control of the second camera function to run includes: In the second interface of the portrait function, in response to the sliding operation continuing to slide along a direction in which the text of the portrait function is located, the control of the portrait function to capture a photo; Calling an image processing program suitable for the portrait function to perform image processing on the generated photo and save the processed image.

13. The camera function control method according to claim 1, characterized by, The second camera function includes a video recording function, the first function tag includes a video recording function tag, and in the second interface of the second camera function, in response to the sliding operation continuing to slide along a direction in which the text of the second camera function is located, the control of the second camera function to run includes: In the second interface of the video recording function, in response to the sliding operation continuing to slide along the position of the text of the video recording function, the video recording function is controlled to record a video; When the sliding operation is invalid, a third interface of the video recording function is displayed, and the running of the video recording function is continued.

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

15. An electronic device, comprising: The electronic device includes a processor and a memory, and the processor is configured to invoke a computer program in the memory to execute the camera function control method according to any one of claims 1-14.

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

Citation Information

Patent Citations

  • Camera function switching method and device, terminal equipment and storage medium

    CN113840089A

  • Mobile device, method for camera user interface, and non-transitory computer readable storage medium

    US20180081502A1