Camera widget control method, electronic device, electronic equipment and storage medium

By displaying the camera widget entrance interface in the initial display interface of the smart terminal, entering the shooting mode and forming the shooting function area and viewing interface, the problem of single camera startup method in the existing technology is solved, and the user's diverse interaction and low-power photography experience is realized.

CN120455837APending Publication Date: 2025-08-08纳欣科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410171073.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The camera startup method of existing smart terminals is single, which cannot meet the diverse photography needs of users, and the power consumption is high when switching shooting modes.

Method used

The camera widget entrance interface is displayed in the initial display interface, and the shooting mode is entered through the trigger command, forming a shooting function area and a viewing interface, and maintaining the initial display content in the display area other than this area, reducing the system calculation amount and power consumption.

Benefits of technology

It realizes the diverse user-friendly interaction needs, reduces the system's computing volume and power consumption, and improves the response speed and operation convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455837A_ABST
    Figure CN120455837A_ABST
Patent Text Reader

Abstract

The invention provides a control method of a camera widget, an electronic device, electronic equipment and a storage medium. The control method of the camera widget comprises the following steps: displaying an initial display interface on a touch display screen; the initial display interface displays a camera widget entry interface, and the initial display interface is at least divided into a first display area and a second display area; in response to a trigger instruction for the camera widget entry interface, entering a shooting mode, and forming a shooting functional area in the first display area; forming a view-finding interface in the second display area to display an image acquired by the camera; displaying a display area except the first display area and the second display area in the initial display interface based on initial display content displayed by the initial display interface; responding to corresponding operation for the shooting function area, and instructing the camera to shoot. According to the control method of the camera widget, the user can enter the shooting mode by controlling the camera widget entrance interface, and diversified man-machine interaction requirements of the user can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of control technology, and in particular to a control method, an electronic device, an electronic device, and a storage medium for a camera widget. Background Art

[0002] With the development of smart devices such as mobile phones and tablets, the camera function has become increasingly important to users. Currently, mobile smart devices are often equipped with a camera application. To use the camera function, users need to click the camera icon to launch the camera application and enter a separate application window. This single operation method for launching the camera function cannot meet the diverse needs of users. Summary of the Invention

[0003] In view of this, the present application provides a camera widget control method, an electronic device, an electronic device, and a storage medium to solve the above technical problems.

[0004] A first aspect of the present application provides a method for controlling a camera widget, the method comprising:

[0005] Displaying an initial display interface on the touch screen; the initial display interface displays a camera widget entry interface, and the initial display interface is divided into at least a first display area and a second display area; wherein the sum of the sizes of the first display area and the second display area is smaller than the size of the initial display interface;

[0006] In response to a trigger instruction on the camera widget entry interface, entering a shooting mode, forming a shooting function area in the first display area; forming a viewfinder interface in the second display area to display an image captured by the camera;

[0007] Displaying, in the display area of the initial display interface other than the first display area and the second display area, initial display content displayed on the initial display interface; and

[0008] In response to a corresponding operation on the shooting function area, the camera is instructed to shoot.

[0009] The control method for a camera widget provided in this application displays a camera widget entry interface in an initial display interface, and in response to a trigger instruction on the camera widget entry interface, enters a shooting mode, forms a shooting function area in a first display area, forms a framing interface in a second display area, and displays the display areas other than the first and second display areas in the initial display interface based on the initial display content displayed on the initial display interface. In this way, a user can enter shooting mode by manipulating the camera widget entry interface, which can meet the user's diverse human-computer interaction needs. Furthermore, since the display areas other than the first and second display areas in the initial display interface do not change before and after entering shooting mode, compared to the method of enabling the shooting function by entering a separate shooting window through the system camera app icon, the system's computing workload and the power loss caused by screen switching can be reduced.

[0010] Optionally, the camera widget control method further includes:

[0011] In response to an adjustment instruction, adjusting the size and / or position of the viewfinder interface in the initial display interface; or

[0012] In response to a preset adjustment instruction, the size of the viewfinder interface in the initial display interface is adjusted according to a preset ratio corresponding to the preset adjustment instruction, and / or the position of the viewfinder interface in the initial display interface is adjusted according to a preset position corresponding to the preset adjustment instruction.

[0013] Optionally, the electronic device has multiple cameras, the camera widget is set with preset shooting parameters, and the control method of the camera widget further includes:

[0014] After entering the shooting mode, only the camera corresponding to the preset shooting parameters is called to perform shooting, and at least part of the preset shooting parameters are fixed during the shooting period.

[0015] Optionally, the electronic device further includes a system camera APP, the system camera APP having multiple shooting modes and multiple shooting parameter adjustment controls, and the control method of the camera widget further includes:

[0016] After entering the shooting mode, only some of the multiple shooting modes are called for user selection, and / or only some of the multiple shooting parameter adjustment controls are formed for user manipulation.

[0017] Optionally, the shooting function area includes a shutter control; the first display area also includes an additional function area;

[0018] The control method of the camera widget further includes:

[0019] In response to a trigger instruction on the camera widget entry interface, forming at least one of a flash control, a lens switching control, and an album entry in the additional function area;

[0020] Instructing the camera to shoot in response to a corresponding operation on the shooting function area includes:

[0021] In response to a touch operation on the shutter control, the image currently displayed in the viewfinder interface is saved.

[0022] Optionally, after responding to the touch operation on the shutter control and saving the image currently displayed in the viewfinder interface, the camera widget control method further includes:

[0023] Displaying the saved image on the viewfinder interface for a preset time; and

[0024] After the preset display time, the viewfinder interface is restored to continue displaying the image acquired by the camera.

[0025] Optionally, the additional function area includes an album entrance, and the album corresponding to the album entrance only stores images taken by the camera widget;

[0026] The control method of the camera widget further includes:

[0027] In response to a touch operation on the album entrance, an album display mode is entered, and the selected image is displayed on the viewfinder interface.

[0028] Optionally, the camera widget control method further includes:

[0029] When the stored image is displayed on the viewfinder interface, an image sharing control is formed in the additional function area; and

[0030] In response to a touch operation on the image sharing control, the image displayed on the viewfinder interface is transmitted to a selected application.

[0031] Optionally, the camera widget control method further includes:

[0032] In the shooting mode, in response to a touch operation on a display area other than the first display area and the second display area in the initial display interface, the camera is instructed to start shooting or stop shooting.

[0033] Optionally, the displaying, in the display area other than the first display area and the second display area in the initial display interface, based on the initial display content displayed on the initial display interface, includes:

[0034] The display area other than the first display area and the second display area in the initial display interface is displayed based on the initial display content displayed by the initial display interface, and the display effect is adjusted to reduce the power consumption of the corresponding initial display interface area.

[0035] Optionally, the control method of the camera widget includes:

[0036] Entering a shooting mode in response to a trigger instruction sent by a wearable device connected to the electronic device; and

[0037] In response to the shooting instruction sent by the wearable device, instruct the camera to shoot.

[0038] A second aspect of the present application provides an electronic device, comprising:

[0039] a first display module, configured to display an initial display interface on the touch screen, wherein the initial display interface displays a camera widget entry interface, and the initial display interface is divided into at least a first display area and a second display area; wherein the sum of the sizes of the first display area and the second display area is smaller than the size of the initial display interface;

[0040] a second display module, configured to enter a shooting mode in response to a trigger instruction on the camera widget entry interface, form a shooting function area in the first display area, and form a viewfinder interface in the second display area to display an image captured by the camera; the second display module further displays an initial display content displayed on the initial display interface in a display area other than the first display area and the second display area in the initial display interface; and

[0041] The execution module is used to instruct the camera to shoot in response to a corresponding operation on the shooting function area.

[0042] In a third aspect, the present application further provides an electronic device, comprising a touch screen display, a camera, a processor, and a storage device. The touch screen display, the camera, the processor, and the storage device are coupled, the storage device stores a computer program, and the processor runs the computer program to execute the camera widget control method described in the first aspect.

[0043] A fourth aspect of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is invoked by a processor to execute the control method of the camera widget described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the implementation. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0045] Figure 1 A first schematic diagram of an initial display interface of an electronic device provided in an embodiment of the present application;

[0046] Figure 2 A flowchart of a method for controlling a camera widget provided in an embodiment of the present application;

[0047] Figure 3 A first schematic diagram of a display interface of an electronic device provided in an embodiment of the present application when a camera widget enters a shooting mode;

[0048] Figure 4 A second schematic diagram of a display interface of an electronic device provided in an embodiment of the present application when the camera widget enters a shooting mode;

[0049] Figure 5 A schematic diagram of a display interface of an electronic device provided in an embodiment of the present application when the camera widget enters album display mode;

[0050] Figure 6 A second schematic diagram of the initial display interface of the electronic device provided in an embodiment of the present application;

[0051] Figure 7 A structural block diagram of an electronic device provided in an embodiment of the present application;

[0052] Figure 8 This is a structural block diagram of the electronic device provided in an embodiment of the present application.

[0053] The following are the descriptions of the reference numerals:

[0054] Electronic device 100

[0055] First display module 110

[0056] Second display module 120

[0057] Execution module 130

[0058] Electronic equipment 300

[0059] Touch screen 31

[0060] Camera 32

[0061] Memory 33

[0062] Processor 34

[0063] Initial display interface 1

[0064] Camera widget entry interface 10

[0065] First display area 201

[0066] Second display area 202

[0067] Shooting Function Area 2011

[0068] Additional Function Area 2012

[0069] Viewfinder 2021

[0070] Trigger Control 11

[0071] Expand logo 12

[0072] Album Entrance 21

[0073] Flash Controls 22

[0074] Camera switch control 23

[0075] Shutter Controls 24

[0076] Image magnification control 25

[0077] Video shooting time progress bar 26

[0078] Image deletion control 27

[0079] Image sharing control 28

[0080] System album control 29

[0081] Thumbnail sub-area 211

[0082] Album expansion control 212

[0083] Album collapse control 213

[0084] The following specific implementation methods will further illustrate this application in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0085] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0086] In addition, the terms "first", "second", etc. in the description of the present invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0087] It should be noted that, in the absence of conflict, the features in the embodiments of this application can be combined with each other.

[0088] Please also read Figures 1 to 3 , the present application provides a method for controlling a camera widget, the control method being applied to an electronic device 300. Among them, Figure 1 A first schematic diagram of an initial display interface of an electronic device provided in an embodiment of the present application;

[0089] Figure 2 A flowchart of a method for controlling a camera widget provided in an embodiment of the present application; Figure 3 This is a first schematic diagram of a display interface of an electronic device when a camera widget enters a shooting mode according to an embodiment of the present application. The control method of the camera widget can be adjusted in sequence and steps can be added or removed, which is not limited here.

[0090] like Figure 1 As shown, the electronic device 300 includes a touch display screen 31 and a camera 32 .

[0091] like Figure 2 As shown, the control method of the camera widget includes steps S1 to S4, which are described in detail as follows:

[0092] In step S1, an initial display interface 1 is displayed on the touch screen 31. The initial display interface 1 displays a camera widget entry interface 10 and is divided into at least a first display area 201 and a second display area 202. The sum of the sizes of the first display area 201 and the second display area 202 is smaller than the size of the initial display interface 1.

[0093] In step S2 , in response to a trigger instruction on the camera widget entry interface 10 , the camera enters the shooting mode, forms a shooting function area 2011 in the first display area 201 , and forms a viewfinder interface 2021 in the second display area 202 to display the image captured by the camera 32 .

[0094] Step S3 , displaying the display area of the initial display interface 1 excluding the first display area 201 and the second display area 202 based on the initial display content displayed by the initial display interface 1 .

[0095] Step S4: In response to the corresponding operation on the shooting function area 2011, instruct the camera 32 to shoot.

[0096] The camera widget is a small window or widget formed on the display interface based on the system camera app of the electronic device 300. After being activated, the camera widget displays important information and important function controls of the system camera app (Application) on the display interface, while disabling most of the system camera app's functions, thereby enabling certain necessary functions. Therefore, the camera widget can be used to activate the shooting function on the initial display interface 1. Compared with the method of opening the system camera app through the app icon to activate the shooting function, there is no need to switch from the initial display interface to a separate shooting window, resulting in less system computing power, faster response speed, lower power consumption, and more convenient operation.

[0097] The initial display content displayed on the initial display interface 1 refers to the content displayed when the initial display interface 1 is displayed on the touch screen 31 before a trigger instruction is input to the camera widget entry interface 10 to control the camera widget to enter the shooting mode.

[0098] The camera widget control method provided in this application displays a camera widget entry interface 10 on an initial display interface 1, and in response to a trigger instruction on the camera widget entry interface 10, enters a shooting mode, forms a shooting function area 2011 in a first display area 201, forms a viewfinder interface 2021 in a second display area 202, and displays the display areas other than the first display area 201 and the second display area 202 in the initial display interface based on the initial display content displayed on the initial display interface. In this way, a user can enter the shooting mode by manipulating the camera widget entry interface 10, which can meet the user's diverse human-computer interaction needs. Furthermore, since the display areas other than the first display area 201 and the second display area 202 in the initial display interface 1 do not change before and after entering the shooting mode, compared to the method of activating the shooting function by entering a separate shooting window through the system camera app icon, the system's computing workload and the power loss caused by screen switching can be reduced.

[0099] Exemplarily, the electronic device 300 may be a large screen, a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device and / or a smart city device, etc. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device.

[0100] Exemplarily, the touch screen 31 may be a light emitting diode (LED) display screen, a liquid crystal display (LCD) display screen, or an organic light emitting diode (OLED) display screen.

[0101] Exemplarily, the number of the cameras 32 may be one or more, for example, a front camera and a rear camera, wherein the front camera and the rear camera respectively include one or more of a wide-angle camera, an ultra-wide-angle camera, a telephoto camera, a zoom camera, a macro camera, and a depth camera.

[0102] In some implementations, the initial display interface 1 can be the display interface of the electronic device 300 after the system is unlocked, or it can be the lock screen interface of the electronic device 300, that is, the camera widget entry interface 10 can be displayed on the lock screen interface. In this way, the user can enter the shooting mode through the camera widget entry interface 10 without unlocking the system, which is more convenient to operate.

[0103] In some embodiments, the touch display screen 31 of the electronic device 300 can be a folding screen, that is, it includes an inner screen and an outer screen. When the electronic device 300 is in a folded state, the initial display interface 1 can be displayed on the outer screen. When the camera widget is triggered to enter the shooting mode, the shooting function area 2011 and the viewfinder interface 2021 can also be formed on the outer screen. In this way, the user does not need to unfold the electronic device 300 to enter the shooting mode through the camera widget entry interface 10, which is convenient for taking snapshots.

[0104] In some embodiments, as Figure 1 and Figure 3As shown, the size of the camera widget entry interface 10 is smaller than the size of the first display area 201, and the size of the first display area 201 is smaller than the second display area 202. In this way, the camera widget entry interface 10 can occupy a smaller display space on the initial display interface 1, so that the initial display interface 1 appears more concise when the shooting function is not enabled. Figure 3 As shown, the first display area 201 and the second display area 202 can be two independent display areas. In other embodiments, the first display area 201 and the second display area 202 can also partially overlap. In this case, the shooting function area 2011 can be located in the overlapping area of the first display area 201 and the second display area 202.

[0105] For example, Figure 1 As shown, the camera widget entry interface 10 includes a trigger control 11 and an expansion mark 12 on the periphery of the trigger control 11. The expansion mark 12 is used to guide the user to expect that the window will expand after clicking the trigger control 11.

[0106] In some embodiments, a trigger instruction for the camera widget entry interface 10 can be a touch operation (such as single click, double click, long press, etc.), that is, the user can enter the shooting mode by clicking the trigger control 11 in the camera widget entry interface 10.

[0107] In some embodiments, the camera widget control method further includes:

[0108] In response to a trigger instruction sent by a wearable device connected to the electronic device 300, the shooting mode is entered; and in response to a shooting instruction sent by the wearable device, the camera 32 is instructed to shoot.

[0109] The wearable device includes a smart watch, a smart bracelet, smart glasses, an earphone box, etc. In this way, the user can remotely control the electronic device 300 through the wearable device to trigger the camera widget to shoot without touching the electronic device 300, which is more convenient.

[0110] In some embodiments, displaying the display area other than the first display area 201 and the second display area 202 in the initial display interface 1 based on the initial display content displayed by the initial display interface 1 includes:

[0111] The display area other than the first display area 201 and the second display area 202 in the initial display interface 1 is displayed based on the initial display content displayed by the initial display interface 1, and the display effect is adjusted to reduce the power consumption of the area corresponding to the initial display interface 1.

[0112] For example, when entering the shooting mode, for the peripheral display areas other than the first display area 201 and the second display area 202 in the initial display interface 1, when displaying based on the initial display content displayed on the initial display interface 1, the display effect can be adjusted by lowering the display brightness of the peripheral display areas, and / or reducing the refresh frequency of these peripheral display areas, and / or reducing the resolution of the peripheral display areas, so as to achieve the effect of reducing the power consumption of the peripheral display areas.

[0113] In this way, compared with the method of starting the shooting function by opening the system camera APP through the APP icon, the present application starts the shooting function through the camera widget. On the one hand, there is no need to change the display content of the peripheral display area, thereby reducing the system's computing power and saving power consumption caused by screen switching. On the other hand, by adjusting the display effect of the peripheral display area, the power consumption of the peripheral display area can be further reduced.

[0114] In some embodiments, forming the viewfinder interface 2021 in the second display area 202 includes:

[0115] A framing interface 2021 is formed in the second display area 202 , and the display brightness of the second display area 202 is increased and / or the refresh rate of the second display area 202 is increased.

[0116] In this way, the camera widget can achieve better shooting effects.

[0117] In some embodiments, the electronic device 300 has multiple cameras 32, and the camera widget is set with preset shooting parameters. The multiple cameras 32 can be several types of wide-angle cameras, ultra-wide-angle cameras, telephoto cameras, zoom cameras, macro cameras, and depth cameras.

[0118] The control method of the camera widget further includes:

[0119] After entering the shooting mode, only the camera 32 corresponding to the preset shooting parameters is called to perform shooting, and at least part of the preset shooting parameters are fixed during the shooting period.

[0120] Exemplarily, the preset shooting parameters may include one or more of focus mode, image magnification, resolution, beautification parameters, filter color, flash effect, and filter intensity. For example, if the preset shooting parameters correspond to a zoom camera, the camera widget will only use the zoom camera after entering shooting mode. This eliminates the need to activate other cameras, thus reducing camera power consumption.

[0121] For example, during capture, one or more of the focus mode, image magnification, resolution, beautification parameters, filter color, flash effect, and filter intensity can be kept constant. For example, the image magnification and filter intensity can be kept constant, while the corresponding capture algorithm can be invoked based on the lighting and color of the captured image. This can reduce the complexity and time of image processing, thereby improving the response speed of the camera widget.

[0122] In some embodiments, the electronic device 300 further includes a system camera APP, which has multiple shooting modes and multiple shooting parameter adjustment controls.

[0123] The control method of the camera widget further includes:

[0124] After entering the shooting mode, only some of the multiple shooting modes are called for user selection, and / or only some of the multiple shooting parameter adjustment controls are formed for user manipulation.

[0125] For example, the multiple shooting modes of the system camera APP may include slow motion mode, panoramic mode, HDR mode, professional mode, night scene mode, portrait mode, large aperture mode, photo mode, video mode, time-lapse mode, high pixel mode, streamer shutter mode, black and white art mode, different focal length modes, and different wide-angle modes. After entering the shooting mode, the camera widget only calls the photo mode and video mode for the user to select. At this time, the user can only select the photo mode or the video mode by inputting different touch commands to the shooting function area 2011, and cannot select other shooting modes.

[0126] In this way, by reducing the number of photographing modes in the system camera APP, the amount of computation of the system can be reduced, thereby improving the response speed of the camera widget.

[0127] For example, the multiple shooting parameter adjustment controls of the system camera APP may include image magnification control, resolution control, frame rate control, flash effect control, filter effect control, beauty effect control, and camera switching control. Figure 3 As shown, in some embodiments, after entering the shooting mode, the camera widget only forms an image magnification control, a flash effect control, and a camera switching control for user manipulation.

[0128] In this way, by reducing the various shooting parameter adjustment controls in the system camera APP, the function modules called can be reduced, thereby improving the response speed of the camera widget.

[0129] In some embodiments, the camera widget control method further includes:

[0130] After entering the shooting mode, for at least part of the shooting parameter adjustment controls formed, only part of the adjustable parameter values are called for user selection.

[0131] For example, in the system camera app, the adjustable parameters of the image magnification control include 1.0x, 1.1x, 1.2x, ... 10x, i.e., the adjustment step is 0.1x. After the camera widget enters shooting mode, an image magnification control 25 is formed in the first display area 201, and the adjustable parameter values called by the image magnification control 25 only include 1x, 2x, ... 10x, i.e., the adjustment step is 1x.

[0132] In this way, by reducing the adjustable parameter values in the shooting parameter adjustment control, the called functional modules can be reduced, thereby improving the response speed of the camera widget.

[0133] like Figure 3 As shown, in some embodiments, the shooting function area 2011 includes a shutter control 24 , and the first display area 201 also includes an additional function area 2012 .

[0134] In response to the corresponding operation on the shooting function area 2011, instructing the camera 32 to shoot, including:

[0135] In response to a touch operation on the shutter control 24 , the image currently displayed in the viewfinder interface 2021 is saved.

[0136] For example, Figure 3 As shown, when the user clicks the shutter control 24, the camera 32 is instructed to enter the photo mode. Figure 4 As shown, when the user long presses the shutter control 24, the camera 32 is instructed to enter the video recording mode. In the video recording mode, the additional function area 2012 may further display a video recording time progress bar 26 with a total time equal to a preset video recording time (e.g., 1 minute) to remind the user of the current video recording time.

[0137] In some embodiments, the camera widget control method further includes:

[0138] In the shooting mode, in response to a touch operation on a display area other than the first display area 201 and the second display area 202 in the initial display interface 1 , the camera 32 is instructed to shoot or stop shooting.

[0139] Among them, when the user takes a selfie with the rear camera, the shutter control 24 is small in size and inconvenient to operate. In this embodiment, the user can take a picture by clicking on the display area other than the first display area 201 and the second display area 202 in the initial display interface 1, which is more convenient to operate.

[0140] In some embodiments, the camera widget control method further includes:

[0141] In response to a trigger instruction on the camera widget entry interface 10 , at least one of a flash control 22 , a camera switch control 23 and an album entry 21 is formed in the additional function area 2012 .

[0142] For example, Figure 3 As shown, after the camera widget enters the shooting mode, a flash control 22 , a camera switch control 23 and an album entrance 21 are formed in the additional function area 2012 , and an image magnification control 25 is also formed in the second display area 202 .

[0143] Furthermore, the control method of the camera widget further includes:

[0144] turning on or off the flashlight in response to a touch operation on the flashlight control 22;

[0145] In response to a touch operation on the lens switching control 23 , the front shooting or the rear shooting is switched; and in response to a pull operation on the image magnification control 25 , the magnification of the image is adjusted.

[0146] In this way, when taking pictures, the user can choose to turn on or off the flash, switch between front-facing and rear-facing shooting, and adjust the image magnification in the camera widget as needed, making it convenient for the user to adjust the shooting parameters to meet different shooting needs.

[0147] In some embodiments, after responding to the touch operation on the shutter control 24 and saving the image currently displayed in the viewfinder interface 2021, the control method of the camera widget further includes:

[0148] The image saved this time is displayed on the viewfinder interface 2021 for a preset time period; and after the preset time period, the viewfinder interface 2021 is restored to continue displaying the image acquired by the camera 32.

[0149] For example, the preset time length is 2 seconds. In this way, the user can instantly view the shooting effect of the image, thereby adjusting the shooting parameters and / or shooting angle, so that the user can obtain a satisfactory shooting effect.

[0150] In some embodiments, the album corresponding to the album entry 21 only saves images taken by the camera widget, which is different from the system album APP. The system album APP can save images taken by the camera widget and images taken by the system camera APP.

[0151] The control method of the camera widget further includes:

[0152] In response to a touch operation on the album entrance 21 , the album display mode is entered, and the selected image is displayed on the viewfinder interface 2021 .

[0153] Specifically, the album entry 21 includes a thumbnail sub-area 211 and an album expansion control 212 located on a first side of the thumbnail sub-area 211. The thumbnail sub-area 211 displays a thumbnail of a preset image. For example, the preset image may be a photo and / or video taken the last time the camera widget was launched.

[0154] The user can click on the thumbnail sub-area 211 or the album expansion control 212 to enter the Figure 5 After entering the album display mode, the thumbnail sub-area 211 expands toward the first side to display thumbnails of multiple images in the album for the user to select and display on the viewfinder interface 2021. At this time, the album expansion control 212 on the first side of the thumbnail sub-area 211 is replaced by the album collapse control 213. The user can return to the album collapse mode by clicking the album collapse control 213. Figure 3 Shooting modes shown.

[0155] In this way, users do not need to switch to the system album APP to view saved images in the viewfinder interface 2021, which not only optimizes the operation process and shortens the user's operation time, but also maintains the uniformity of the interface and saves power consumption generated by interface switching.

[0156] In some embodiments, after the camera widget enters the album display mode, the user can slide the thumbnail sub-area 211 to scroll the saved images in thumbnail form in the order of their capture time in the thumbnail sub-area 211. The scrolling direction of the thumbnails is the same as the sliding direction of the sliding operation, and the scrolling speed of the thumbnails is positively correlated with the sliding speed of the sliding operation.

[0157] In this way, the user can view all the saved images by sliding the thumbnail sub-area 211 .

[0158] In some embodiments, the camera widget control method further includes:

[0159] When the viewfinder interface 2021 displays a saved image, an image sharing control 28 is formed in the additional function area 2012 ; and in response to a touch operation on the image sharing control 28 , the image displayed on the viewfinder interface 2021 is transmitted to a selected application.

[0160] In this way, after saving the image currently displayed in the viewfinder interface 2021, the saved image will be displayed in the viewfinder interface 2021 during the period of time, so that the user can choose whether to share the image, which can save the step of opening the system album APP and facilitate the user to share the captured image.

[0161] like Figure 5 As shown, in some embodiments, after the camera widget enters album display mode, the additional function area 2012 further includes an image deletion control 27 and a system album control 29. Specifically, the flash control 22 in shooting mode is replaced by the system album control 29, and the lens switching control 23 in shooting mode is replaced by the image sharing control 28. Thus, when entering album display mode, the system album control 29 and the image sharing control 28 do not occupy additional display space, resulting in a more concise interface.

[0162] In some embodiments, after the camera widget enters the album display mode, the shutter control 24 in the shooting mode is replaced by a photo information display sub-area to display the photo information of the photo currently displayed in the viewfinder interface 2021. The photo information may include shooting time, photo name, etc.

[0163] In some embodiments, the camera widget control method further includes:

[0164] In response to an adjustment instruction, the size and / or position of the viewfinder interface 2021 in the initial display interface 1 is adjusted; or in response to a preset adjustment instruction, the size of the viewfinder interface 2021 in the initial display interface 1 is adjusted according to a preset ratio corresponding to the preset adjustment instruction, and / or the position of the viewfinder interface 2021 in the initial display interface 1 is adjusted according to a preset position corresponding to the preset adjustment instruction.

[0165] Exemplarily, the adjustment instruction may include a drag instruction and / or a zoom instruction, that is, the user can input a sliding instruction to the touch display screen 31 through a sliding gesture to adjust the position of the viewfinder interface 2021 in the initial display interface 1, and can input a sliding instruction to the touch display screen 31 through a zoom gesture to adjust the size of the viewfinder interface 2021 in the initial display interface 1.

[0166] Exemplarily, the camera widget may be provided with an instruction set consisting of a plurality of alternative adjustment instructions, each alternative adjustment instruction corresponding to a preset ratio and / or a preset position. When the user adjusts the viewfinder interface 2021, he or she may select an alternative adjustment instruction from the plurality of alternative adjustment instructions as the preset adjustment instruction.

[0167] In this way, the user can adjust the size and display position of the framing interface 2021 in the initial display interface 1 according to usage habits, thereby meeting the personalized needs of different users and allowing users to gain more control and a better experience.

[0168] In some embodiments, the electronic device 300 includes a system, and the theme of the viewfinder interface 2021 and / or the camera widget entry interface 10 changes with the theme of the system.

[0169] For example, Figure 1 As shown, when the system of the electronic device is a light color theme, the camera widget entry interface 10 is also a light color theme. Figure 6 As shown, Figure 6 This is a second schematic diagram of the camera widget entry interface provided in an embodiment of the present application. When the system of the electronic device is a dark theme, the camera widget entry interface 10 is also a dark theme. Of course, in other embodiments, the camera widget entry interface 10 can have more themes.

[0170] In this way, the theme of the camera widget entry interface 10 is consistent with the theme of the system of the electronic device 300, which can make the display interface of the electronic device 300 look more coordinated and enhance the user's visual experience.

[0171] In some embodiments, the camera widget control method further includes:

[0172] In response to the custom setting instruction, the layout of the custom set function controls and / or the types of the partial function controls are saved.

[0173] For example, the positions of some functional controls on the initial display interface 1 can be changed through customized settings, or functional controls can be selected according to one's own preferences. This makes it more applicable and can further enhance the human-computer interaction experience.

[0174] In some embodiments, the camera widget entry interface 10 is an album interface. The camera widget control method further includes:

[0175] In response to an album viewing instruction for the camera widget, photos and / or videos are viewed on the album interface.

[0176] In this way, users can view photos and / or videos through the album interface without opening the system album software APP.

[0177] In some embodiments, the photo album of the camera widget is used to save some photos and / or videos taken by the camera widget or photos and / or videos taken when the camera widget is last started.

[0178] The step of viewing photos and / or videos on the album interface in response to the album viewing instruction on the camera widget includes:

[0179] In response to an album viewing instruction for the camera widget, the photos and / or videos taken by the camera widget or the photos and / or videos taken when the camera widget was last started are viewed on the album interface.

[0180] In some embodiments, the photo album of the camera widget is used to save photos and / or videos taken when the camera software is last started, wherein the camera software includes the camera widget and the system camera software.

[0181] The step of viewing photos and / or videos on the album interface in response to the album viewing instruction on the camera widget includes:

[0182] In response to an album viewing instruction for the camera widget, the photos and / or videos taken by the last startup of the camera software are viewed on the album interface.

[0183] In some embodiments, the album viewing instruction is an instruction generated based on a sliding operation on the camera widget.

[0184] The step of viewing photos and / or videos on the album interface in response to the album viewing instruction on the camera widget includes:

[0185] In response to an instruction generated based on a sliding operation on the camera widget, photos and / or videos are viewed on the album interface.

[0186] See also Figure 7 Based on the same inventive concept, the embodiment of the present application further provides an electronic device 100 . The electronic device 100 includes a first display module 110 , a second display module 120 , and an execution module 130 .

[0187] The first display module 110 is configured to display an initial display interface 1 on the touch screen 31. The initial display interface 1 displays a camera widget entry interface 10 and is divided into at least a first display area 201 and a second display area 202. The sum of the sizes of the first display area 201 and the second display area 202 is smaller than the size of the initial display interface 1.

[0188] The second display module 120 is used to enter the shooting mode in response to a trigger instruction of the camera widget entry interface 10, form a shooting function area 2011 in the first display area 201; form a viewfinder interface in the second display area 202 to display the image acquired by the camera 32; and display the display area other than the first display area 201 and the second display area 202 in the initial display interface 1 based on the initial display content displayed by the initial display interface 1.

[0189] The execution module 130 is used to instruct the camera 32 to take a photo in response to a corresponding operation on the photo function area 2011 .

[0190] See also Figure 8 Based on the same inventive concept, an embodiment of the present application further provides an electronic device 300, which includes a touch screen 31, a camera 32, a storage 33 and a processor 34. The touch screen 31, the camera 32, the processor 34 and the storage 33 are coupled, and the storage 33 stores a computer program. The processor 34 runs the computer program to execute the camera widget control method provided in any of the aforementioned embodiments.

[0191] The electronic device 100 and electronic device 300 provided in the present application display a camera widget entry interface 10 in an initial display interface 1, and in response to a trigger instruction on the camera widget entry interface 10, enter a shooting mode, form a shooting function area 2011 in the first display area 201, form a viewfinder interface 2021 in the second display area 202, and display the display areas other than the first display area 201 and the second display area 202 in the initial display interface based on the initial display content displayed in the initial display interface. In this way, the user can enter the shooting mode by manipulating the camera widget entry interface 10, which can meet the user's diverse human-computer interaction needs. In addition, because the display areas other than the first display area 201 and the second display area 202 in the initial display interface 1 do not change before and after entering the shooting mode, compared to the method of using the system camera app icon to enter a separate shooting window to enable the shooting function, the system's computing workload and the power loss caused by screen switching can be reduced.

[0192] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is invoked by a processor to execute the camera widget control method provided in any of the aforementioned embodiments.

[0193] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, which may include: a flash drive, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc.

[0194] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0195] In the description of this application, unless otherwise specified or limited, the term "connection" should be understood in a broad sense. For example, it can mean a fixed connection, a detachable connection, or an integral connection; it can mean a direct connection, an indirect connection through an intermediate medium, or internal communication between two components; it can mean a communication connection; or it can mean an electrical connection. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.

[0196] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

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

[0198] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

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

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

[0201] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0202] The above is an implementation method of the embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the embodiment of the present application. These improvements and modifications are also considered to be within the scope of protection of the present application.

Claims

1. A method for controlling a camera widget, characterized in that: The camera widget control method is applied to an electronic device, wherein the electronic device includes a touch screen and a camera. The camera widget control method includes: Displaying an initial display interface on the touch screen; the initial display interface displays a camera widget entry interface, and the initial display interface is divided into at least a first display area and a second display area; wherein the sum of the sizes of the first display area and the second display area is smaller than the size of the initial display interface; In response to a trigger instruction on the camera widget entry interface, entering a shooting mode, forming a shooting function area in the first display area; forming a viewfinder interface in the second display area to display an image captured by the camera; Displaying, in the display area of the initial display interface other than the first display area and the second display area, initial display content displayed on the initial display interface; and In response to a corresponding operation on the shooting function area, the camera is instructed to shoot.

2. The method for controlling a camera widget according to claim 1, wherein: The control method of the camera widget further includes: In response to an adjustment instruction, adjusting the size and / or position of the viewfinder interface in the initial display interface; or In response to a preset adjustment instruction, the size of the viewfinder interface in the initial display interface is adjusted according to a preset ratio corresponding to the preset adjustment instruction, and / or the position of the viewfinder interface in the initial display interface is adjusted according to a preset position corresponding to the preset adjustment instruction.

3. The method for controlling a camera widget according to claim 1, wherein: The electronic device has multiple cameras, the camera widget is set with preset shooting parameters, and the control method of the camera widget further includes: After entering the shooting mode, only the camera corresponding to the preset shooting parameters is called to perform shooting, and at least part of the preset shooting parameters are fixed during the shooting period.

4. The method for controlling a camera widget according to claim 1, wherein: The electronic device further includes a system camera APP, the system camera APP having multiple shooting modes and multiple shooting parameter adjustment controls, and the control method of the camera widget further includes: After entering the shooting mode, only some of the multiple shooting modes are called for user selection, and / or only some of the multiple shooting parameter adjustment controls are formed for user manipulation.

5. The method for controlling a camera widget according to claim 1, wherein: The shooting function area includes a shutter control; the first display area also includes an additional function area; The control method of the camera widget further includes: In response to a trigger instruction on the camera widget entry interface, forming at least one of a flash control, a lens switching control, and an album entry in the additional function area; Instructing the camera to shoot in response to a corresponding operation on the shooting function area includes: In response to a touch operation on the shutter control, the image currently displayed in the viewfinder interface is saved.

6. The method for controlling a camera widget according to claim 5, wherein: After responding to the touch operation on the shutter control and saving the image currently displayed in the viewfinder interface, the camera widget control method further includes: Displaying the saved image on the viewfinder interface for a preset time; and After the preset display time, the viewfinder interface is restored to continue displaying the image acquired by the camera.

7. The method for controlling a camera widget according to claim 5, wherein: The additional function area includes an album entrance, and the album corresponding to the album entrance only stores images taken by the camera widget; The control method of the camera widget further includes: In response to a touch operation on the album entrance, an album display mode is entered, and the selected image is displayed on the viewfinder interface.

8. The method for controlling a camera widget according to claim 6, wherein: The control method of the camera widget further includes: When the stored image is displayed on the viewfinder interface, an image sharing control is formed in the additional function area; and In response to a touch operation on the image sharing control, the image displayed on the viewfinder interface is transmitted to a selected application.

9. The method for controlling a camera widget according to claim 1, wherein: The control method of the camera widget further includes: In the shooting mode, in response to a touch operation on a display area other than the first display area and the second display area in the initial display interface, the camera is instructed to shoot or stop shooting.

10. The method for controlling a camera widget according to claim 1, wherein: The displaying, in the display area other than the first display area and the second display area in the initial display interface, based on the initial display content displayed on the initial display interface, includes: The display area other than the first display area and the second display area in the initial display interface is displayed based on the initial display content displayed by the initial display interface, and the display effect is adjusted to reduce the power consumption of the corresponding initial display interface area.

11. The method for controlling a camera widget according to claim 1, wherein: The control method of the camera widget includes: Entering a shooting mode in response to a trigger instruction sent by a wearable device connected to the electronic device; and In response to the shooting instruction sent by the wearable device, instruct the camera to shoot.

12. An electronic device, characterized in that: The electronic device comprises: a first display module, configured to display an initial display interface on the touch screen, wherein the initial display interface displays a camera widget entry interface, and the initial display interface is divided into at least a first display area and a second display area; wherein the sum of the sizes of the first display area and the second display area is smaller than the size of the initial display interface; a second display module, configured to enter a shooting mode in response to a trigger instruction on the camera widget entry interface, form a shooting function area in the first display area, and form a viewfinder interface in the second display area to display an image captured by the camera; the second display module further displays an initial display content displayed on the initial display interface in a display area other than the first display area and the second display area in the initial display interface; and The execution module is used to instruct the camera to shoot in response to a corresponding operation on the shooting function area.

13. An electronic device, characterized in that: The electronic device includes a touch screen, a camera, a processor, and a storage device. The touch screen, the camera, the processor, and the storage device are coupled. The storage device stores a computer program. The processor runs the computer program to execute the camera widget control method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and the computer program is called by a processor to execute the camera widget control method according to any one of claims 1 to 11.