Shooting method, device and electronic equipment
By displaying the camera preview interface when the screen of the terminal device is idle and receiving operations from independent camera control controls, the problem of low shooting quality of mobile terminal devices is solved, and more efficient image capture and simplified shooting processes are achieved.
Patent Information
- Application Number
- CN202111576456.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-21
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-12-21
AI Technical Summary
During the shooting process of mobile terminal devices, the shooting quality is not high, which makes it difficult to capture fleeting precious pictures or the image quality is poor.
Receive user operations when the terminal device is in the screen-off state, display the camera preview interface and receive operations of camera control controls, allowing users to preview and capture images, and achieve quick shooting through a concise preview interface and independent position control controls.
It improves the shooting quality, simplifies the shooting process, reduces the cumbersome user operations, and enhances the ability to capture precious images.
Smart Images

Figure CN114245017B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and specifically relates to a shooting method, device and electronic equipment. Background Art
[0002] With the rapid development of mobile communication technology, mobile terminals (such as smart phones) are used more and more frequently. Users often use mobile terminals in various occasions and places. At the same time, as the camera quality of smart phones continues to upgrade, smart phones have also become the main tool for people to take pictures.
[0003] At present, when users use mobile terminals to take photos, the photo operation process is usually: unlock the mobile terminal to enter the operation interface, then select the camera function in the operation interface, and press the shutter button to take photos after entering the camera operation interface. However, since the above shooting process is relatively cumbersome, for some fleeting and precious pictures, using the above shooting method may make it difficult to capture the pictures, or may result in low shooting quality of the captured images. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a shooting method, device and electronic device to solve the technical problem of low shooting quality of images captured during the shooting process.
[0005] In order to solve the above technical problems, the embodiments of the present application are implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a shooting method, including:
[0007] When the terminal device is in a screen-off state, receiving a first operation from a user;
[0008] In response to a first operation, displaying a camera preview interface in the screen-off state;
[0009] Receiving a second operation of a user on a camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device;
[0010] In response to the second operation, a photographing operation is performed to obtain a photographed image.
[0011] In a second aspect, an embodiment of the present application provides a photographing device, including:
[0012] A first receiving module, used for receiving a first operation of a user when the terminal device is in a screen-off state;
[0013] A first processing module, configured to display a camera preview interface in the screen-off state in response to a first operation;
[0014] A second receiving module, used to receive a second operation of the user on the camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device;
[0015] The second processing module is used to execute a shooting operation in response to a second operation to obtain a shot image.
[0016] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the shooting method of the first aspect are implemented.
[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the shooting method of the first aspect are implemented.
[0018] The shooting method, device and electronic device in the embodiments of the present application receive a first operation from the user when the terminal device is in the screen-off state, and in response to the first operation, display a camera preview interface in the screen-off state; receive a second operation from the user on the camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device, and in response to the second operation, perform a shooting operation to obtain a shot image. In the embodiments of the present application, when the terminal device receives the first operation and detects that the terminal device is in the screen-off state, the method of displaying the camera preview interface in the screen-off state allows the user to preview the shot content through the camera preview interface, thereby effectively improving the shooting quality of the shot image. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0020] Figure 1 A schematic diagram of a first process flow of a photographing method provided in an embodiment of the present application;
[0021] Figure 2 A first display interface diagram of the shooting method provided in an embodiment of the present application;
[0022] Figure 3 A second flow chart of the photographing method provided in the embodiment of the present application;
[0023] Figure 4A second display interface diagram of the shooting method provided in an embodiment of the present application;
[0024] Figure 5 A third flow chart of the photographing method provided in the embodiment of the present application;
[0025] Figure 6 A fourth flow chart of the photographing method provided in an embodiment of the present application;
[0026] Figure 7 A third display interface diagram of the shooting method provided in an embodiment of the present application;
[0027] Figure 8 A fifth flow chart of the photographing method provided in the embodiment of the present application;
[0028] Fig. 9 A schematic diagram of the module composition of a photographing device provided in an embodiment of the present application;
[0029] Fig.10 A schematic diagram of the first structure of an electronic device provided in an embodiment of the present application
[0030] Fig.11 A second structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application should fall within the scope of protection of the present application.
[0032] With the rapid development of mobile communication technology, mobile terminals (such as smart phones, etc.) are used more and more frequently. Users often use mobile terminals in various occasions and places. At the same time, as the quality of smart phones is constantly upgraded, smart phones have become the main tool for people to take pictures. At present, when users use mobile terminals to take pictures, the photo operation process is usually: unlock the mobile terminal to enter the operation interface, then select the camera function in the operation interface, and press the shutter button to take pictures after entering the camera operation interface. However, since the above shooting process is relatively cumbersome, for some fleeting precious pictures, the use of the above shooting method may make it difficult to capture the above pictures, or may result in low shooting quality of the captured images. Based on this, the embodiments of the present application provide a shooting method, an apparatus and an electronic device. In the embodiments of the present application, in order to solve the problem of low shooting quality of the captured image, when the terminal device receives a first operation and detects that the current terminal device is in a screen-off state, it can display a camera preview interface in the screen-off state. In this way, the user can preview the image to be captured through the camera preview interface displayed on the screen-off state. Thereafter, when the terminal device receives a second operation of the user on the camera control control, the terminal device responds to the second operation to perform a shooting operation to obtain a captured image. Since the above-mentioned shooting process is based on the user's preview of the image to be captured, the problem of low shooting quality of the captured image is effectively solved, thereby effectively improving the shooting quality of the captured image.
[0033] In the embodiment of the present application, the terminal device may be a smart phone, a tablet computer, etc. Taking the terminal device as an example, Figure 1 This is a schematic diagram of a first process flow of a shooting method provided in an embodiment of the present application. Figure 1 The method in can be executed by a terminal device, such as Figure 1 As shown, the method comprises at least the following steps:
[0034] In step S102, when the terminal device is in the screen-off state, a first operation of the user is received.
[0035] As an example, the first operation may be one or more of a touch operation, a preset gesture operation, and a voice control operation. Specifically, the touch operation may be an operation in which a user double-clicks or clicks the display screen of a terminal device with a finger or a stylus, or may be a touch operation of a preset button arranged on the terminal device with a finger. For example, the preset button may be a volume reduction button or a home button, etc. The preset buttons are not specifically limited in the embodiments of this specification. The preset gesture operation may be a sliding operation on the display screen of a terminal device using two or three fingers, or may be a sliding operation on the display screen of a terminal device along a preset track such as a "V" or "Z" track. The voice control operation may be a user saying "screen off shooting" by voice. The embodiments of this specification do not specifically limit the specific content of the first operation, as well as the specific content of the touch operation, preset gesture operation, and voice control operation.
[0036] It should be noted that when the user needs to take pictures with the screen off, the user needs to start the screen off shooting function in advance. Specifically, the user can turn on the mobile phone, enter the camera, select the "Settings" button, and then trigger the screen off shooting button. In this way, when the terminal device receives the above-mentioned first operation and detects that the above-mentioned terminal device is in the screen off state, the screen off shooting process provided in the embodiment of this specification can be performed.
[0037] In step S104, in response to the first operation, a camera preview interface is displayed in the screen-off state.
[0038] It should be noted that in order to increase the speed of opening the camera and reduce the page rendering time of the above preview interface, the camera preview interface displayed on the screen can be a simple preview interface, which can be an interface without function buttons such as night view, portrait, and beauty. The camera preview interface displayed on the screen is not displayed in full screen, and the camera preview interface displayed on the screen can be a small window camera preview interface. Figure 2 As shown, Figure 2 This is an interface image of the camera preview interface displayed on the screen provided in the embodiment of this specification. Figure 2 Video control controls (such as camera controls, etc.) may also be displayed.
[0039] In step S106, a second operation of the user on the camera control control is received, wherein the camera control control and the camera preview interface are located at different positions of the terminal device.
[0040] As an example, the camera control control may be a camera control, such as a camera touch button, or a physical button on a terminal device, such as a volume button, etc. The embodiment of this specification does not specifically limit the camera control control. The camera control control may be located at different positions in the same display area of the terminal device as the camera preview interface, or may be located at different positions of the terminal device. For example, the camera preview interface is located in the display area of the terminal device, and the camera control control is located in the outer frame area of the terminal device (such as the area where the volume button is located). The embodiment of this specification does not specifically limit the specific positions of the camera control control and the camera preview interface in the terminal device. The camera control control may be a control control for receiving a user's touch control for taking a photo. When the user needs to take a photo, the camera control control may be touched. In this way, the terminal device may perform a shooting operation when receiving a user's touch operation on the camera control control. The display timing of the camera control control may be that the terminal device displays the camera preview interface in the off-screen state while executing the off-screen display of the camera control control in response to the first operation. Alternatively, the terminal device may display the camera control widget on the screen before receiving the first operation, for example, when detecting that the user picks up the terminal device. The embodiment of this specification does not specifically limit the display timing of the camera control widget.
[0041] In step S108 , in response to the second operation, a photographing operation is performed to obtain a photographed image.
[0042] In an optional implementation, when the terminal device receives the second operation of the user on the camera control widget through the processing of the above step S106, it can perform a shooting operation in response to the second operation to obtain a shot image.
[0043] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification receive a first operation from the user when the terminal device is in the screen-off state, and in response to the first operation, display a camera preview interface in the screen-off state; receive a second operation from the user on the camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device, and in response to the second operation, perform a shooting operation to obtain a shot image. In the embodiments of the present application, when the terminal device receives the first operation and detects that the terminal device is in the screen-off state, the method of displaying the camera preview interface in the screen-off state allows the user to preview the shot content through the camera preview interface, effectively solving the problem of low shooting quality of the shot image, thereby effectively improving the shooting quality of the shot image.
[0044] Further, such as Figure 3As shown, the first operation includes a sliding operation along a preset sliding track. When the terminal device is in the screen-off state, before receiving the first operation of the user, the method may further include the following specific processing procedures of steps S008 to S100:
[0045] In step S008, when the terminal device is in the screen-off state, a preset operation of the user is received.
[0046] As an example, the preset operation may be an operation of picking up the terminal device, or may be a "shake" operation of the terminal device. Specifically, the terminal device may have a gyroscope, an acceleration sensor, a pressure sensor, etc. When the user performs the preset operation on the terminal device, the preset operation may be received by the sensor of the terminal device when the terminal device is in the screen-off state. The embodiments of this specification do not specifically limit the preset operation.
[0047] In step S100, in response to a preset operation, a camera control widget and a preset sliding track are displayed in a screen-off state.
[0048] As an example, the preset sliding trajectory may be a curved trajectory, or may be a digital image trajectory, etc. The embodiments of the specification do not specifically limit the preset sliding trajectory.
[0049] In an optional implementation, Figure 4 As shown, Figure 4 The terminal device is processed through the above step S008. When the terminal device is in the screen-off state, after receiving the user's preset operation, in response to the above preset operation, a schematic diagram of the camera control controls and the preset sliding trajectory is displayed in the screen-off state.
[0050] Furthermore, there may be various processing methods for the above step S104. An optional processing method is provided below. For details, please refer to the specific processing process of the following step A2.
[0051] In step A2, in response to a first operation, a camera preview interface and a camera control widget are displayed in a screen-off state, and the camera control widget and the camera preview interface are displayed in different areas.
[0052] In an optional implementation, when the terminal device receives the first operation through the processing of step S102, it can respond to the first operation and display the camera preview interface and the camera control control interface in the screen-off state. Figure 2 shown.
[0053] Further, such as Figure 5As shown, the processing method of the above step S108 can be various. An optional processing method is provided below. For details, please refer to the specific processing process of the following step S1082.
[0054] In step S1082, in response to the second operation, based on the length of time the user's finger stays at the camera control component detected by the terminal device, a continuous shooting operation is performed to obtain multiple captured images, and the length of time corresponds to the number of images captured.
[0055] In an optional implementation, a shooting rule corresponding to the detected length of time the user's finger stays at the camera control and the number of photos taken by the shooting operation can be pre-set, that is, a shooting rule corresponding to the detected length of time the user's finger stays at the camera control and the number of images taken can be pre-set. As an example, taking the above-mentioned shooting rule pre-set corresponding to the detected length of time the user's finger stays at the camera control and the number of photos taken by the shooting operation as an example, a stay time of 5 seconds corresponds to 10 shooting operations, that is, the number of images taken for a stay time of 5 seconds is 10, etc., or a stay time of 4 seconds can be set to correspond to 8 shooting operations, that is, the number of images taken for a stay time of 4 seconds is 8, etc. The above-mentioned pre-set shooting rules are not specifically limited in the embodiments of this specification.
[0056] In this way, by detecting the length of time that the user's finger stays at the camera control, the continuous shooting operation is performed, the number of images shot is determined by the length of time that the user's finger stays at the camera control, and the shooting ends when the user's finger leaves the camera control. This method solves the problem that only one image can be shot at a time during the existing screen-off shooting process, and if you want to shoot multiple images, you need to continuously click the shortcut key to trigger the shooting, and in the process of continuously clicking the shortcut key, you may miss the best shooting moment. This effectively improves the shooting efficiency of screen-off shooting and improves the user experience.
[0057] Further, such as Figure 6 As shown, the processing method of the above step S108 can be various. An optional processing method is provided below. For details, please refer to the specific processing process of the following steps S1084 to S1086.
[0058] In step S1084, in response to the second operation, a preset number of photographing times is acquired.
[0059] As an example, the preset number of shots may be 5 times, 8 times, etc., and the embodiments of this specification do not specifically limit the preset number of shots.
[0060] In an optional implementation, a preset number of shots corresponding to the second operation may be pre-set. Specifically, before performing screen-off shooting, the user may turn on the terminal device and select "Settings". Then, in the "Settings" interface, the user may select to turn on screen-off shooting and set the number of shots. Figure 7 As shown, Figure 7 A shooting times setting interface is provided in the embodiment of this specification. The user can pre-set the shooting times in the shooting times setting interface, so that during the screen-off shooting process, when the terminal device detects the second operation triggered by the user, it can obtain the preset shooting times and perform the shooting operation based on the preset shooting times.
[0061] In step S1086, a shooting operation is performed based on a preset number of shooting times to obtain a plurality of captured images.
[0062] In some optional implementations, after the terminal device receives the second operation of the user on the camera control control through the processing of step S106, it can obtain the preset number of shots corresponding to the second operation, and then, in response to the second operation, perform the shooting operation based on the preset number of shots to obtain multiple images. In this way, the method in which the terminal device performs the shooting operation based on the preset number of shots solves the problem that only one image can be shot at a time during the existing screen-off shooting process, and if you want to shoot multiple images, you need to continuously click the shortcut key to trigger the shooting, and in the process of continuously clicking the shortcut key, you may miss the best moment to shoot. This effectively improves the shooting efficiency of screen-off shooting and improves the user experience.
[0063] Further, such as Figure 8 As shown, the processing process of the above step S108 can be varied. An optional processing method is provided below. For details, please refer to the specific processing process of the following steps S1088-S1092.
[0064] In step S1088, in response to the second operation, shooting scene information is acquired.
[0065] As an example, the above-mentioned shooting scene information may include night scenes and / or day scenes, or may also include landscape scene information, building scene information, character scene information, etc. The embodiments of this specification do not specifically limit the specific content of the above-mentioned shooting scene information.
[0066] In step S1090 , shooting parameter information is determined based on the shooting scene information.
[0067] As an example, the above-mentioned shooting parameter information may include focal length information, exposure, resolution and other information. The embodiments of this specification do not specifically limit the above-mentioned shooting parameter information.
[0068] In an optional implementation method, shooting parameter information corresponding to the shooting scene information can be pre-set. Taking the above-mentioned shooting scene information including day scene shooting scene information and night scene shooting scene information as an example, the first focal length information, the first exposure level, the first resolution and other information corresponding to the day scene shooting scene information can be pre-set based on the above-mentioned day scene shooting scene information, and the second focal length, the second exposure level, the second resolution and other information corresponding to the night scene shooting scene information can be pre-set based on the above-mentioned night scene shooting scene information.
[0069] In step S1092, a shooting operation is performed based on the shooting parameter information to obtain a shot image.
[0070] In an optional implementation, taking the embodiment of step S1090 as an example, when shooting based on a day scene shooting scene, the shooting operation can be performed on the day scene shooting scene based on the pre-set first focal length information, first exposure, first resolution and other information to obtain the shot image. When shooting based on a night scene shooting scene, the shooting operation can be performed on the night scene shooting scene based on the pre-set second focal length information, second exposure, second resolution and other information to obtain the shot image. In this way, the terminal device determines the shooting parameter information using the shooting scene information, and performs the shooting operation based on the shooting parameter information. During the shooting process, there is no need for the user to manually adjust the shooting parameters during the shooting process, which effectively improves the shooting efficiency of the screen-off shooting.
[0071] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification receive a first operation from the user when the terminal device is in the screen-off state, and in response to the first operation, display a camera preview interface in the screen-off state; receive a second operation from the user on the camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device, and in response to the second operation, perform a shooting operation to obtain a shot image. In the embodiments of the present application, when the terminal device receives the first operation and detects that the terminal device is in the screen-off state, the method of displaying the camera preview interface in the screen-off state allows the user to preview the shot content through the camera preview interface, effectively solving the problem of low shooting quality of the shot image, thereby effectively improving the shooting quality of the shot image.
[0072] Corresponding to the photographing method provided in the above embodiment, based on the same technical concept, the embodiment of the present application also provides a photographing device, Fig. 9 A schematic diagram of the module composition of a photographing device provided in an embodiment of the present application, wherein the photographing device is used to perform Figures 1 to 8 Describe the shooting method, such as Fig. 9 As shown, the shooting device includes:
[0073] A first receiving module 901 is used to receive a first operation from a user when the terminal device is in a screen-off state;
[0074] A first processing module 902, configured to display a camera preview interface in the screen-off state in response to a first operation;
[0075] A second receiving module 903 is used to receive a second operation of the user on the camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device;
[0076] The second processing module 904 is used to execute a photographing operation in response to the second operation to obtain a photographed image.
[0077] Optionally, the first operation includes a sliding operation along a preset sliding track, and the above device further includes:
[0078] A third receiving module is used to receive a preset operation of the user when the terminal device is in a screen-off state;
[0079] The third processing module is used to display the camera control controls and the preset sliding track in the screen-off state in response to a preset operation.
[0080] Optionally, the first processing module is used to:
[0081] In response to the first operation, a camera preview interface and a camera control widget are displayed in the screen-off state, and the camera control widget and the camera preview interface are displayed in different areas.
[0082] Optionally, the first operation includes: one or more of: a touch operation, a preset gesture operation, and a voice control operation.
[0083] Optionally, the second processing module is used to:
[0084] In response to the second operation, based on the length of time the user's finger stays at the camera control widget detected by the terminal device, a continuous shooting operation is performed to obtain multiple captured images, and the length of time corresponds to the number of images captured.
[0085] Optionally, the second processing module is used to:
[0086] In response to the second operation, obtaining a preset number of shooting times;
[0087] Based on the preset shooting times, a shooting operation is performed to obtain a plurality of images.
[0088] Optionally, the second processing module is used to:
[0089] In response to a second operation, acquiring shooting scene information;
[0090] Determine shooting parameter information based on shooting scene information;
[0091] Based on the shooting parameter information, a shooting operation is performed to obtain a shot image.
[0092] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification receive a first operation from the user when the terminal device is in the screen-off state, and in response to the first operation, display a camera preview interface in the screen-off state; receive a second operation from the user on the camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device, and in response to the second operation, perform a shooting operation to obtain a shot image. In the embodiments of the present application, when the terminal device receives the first operation and detects that the terminal device is in the screen-off state, the method of displaying the camera preview interface in the screen-off state allows the user to preview the shot content through the camera preview interface, effectively solving the problem of low shooting quality of the shot image, thereby effectively improving the shooting quality of the shot image.
[0093] The shooting device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.
[0094] The shooting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0095] The shooting device provided in the embodiment of the present application can achieve Figures 1 to 8To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0096] Alternatively, if Fig.10 As shown, an embodiment of the present application further provides an electronic device 1000, including a processor 1001 and a memory 1002, wherein the memory 1002 stores a program or instruction that can be executed on the processor 1001, and when the program or instruction is executed by the processor 1001, each step of the above-mentioned shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0097] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0098] Fig.11 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0099] The electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110 and other components.
[0100] Those skilled in the art will appreciate that the electronic device 1100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.11 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0101] The processor 1110 is configured to:
[0102] When the terminal device is in a screen-off state, receiving a first operation from a user;
[0103] In response to a first operation, displaying a camera preview interface in the screen-off state;
[0104] Receiving a second operation of a user on a camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device;
[0105] In response to the second operation, a photographing operation is performed to obtain a photographed image.
[0106] Wherein, the first operation includes a sliding operation along a preset sliding track;
[0107] When the terminal device is in the screen-off state, before receiving a first operation from the user, the processor 1010 is further configured to:
[0108] When the terminal device is in the screen-off state, receiving the user's preset operation;
[0109] In response to a preset operation, a camera control widget and a preset sliding track are displayed in the screen-off state.
[0110] The processor 1110 is configured to:
[0111] In response to a first operation, a camera preview interface and a camera control widget are displayed in the screen-off state, and the camera control widget and the camera preview interface are displayed in different areas.
[0112] The first operation includes: one or more of a touch operation, a preset gesture operation, and a voice control operation.
[0113] The processor 1110 is configured to:
[0114] In response to the second operation, based on the length of time the user's finger stays at the camera control widget detected by the terminal device, a continuous shooting operation is performed to obtain multiple captured images, and the length of time corresponds to the number of images captured.
[0115] The processor 1110 is configured to:
[0116] In response to the second operation, obtaining a preset number of shooting times;
[0117] Based on the preset shooting times, a shooting operation is performed to obtain a plurality of images.
[0118] The processor 1110 is configured to:
[0119] In response to a second operation, acquiring shooting scene information;
[0120] Determine shooting parameter information based on shooting scene information;
[0121] Based on the shooting parameter information, a shooting operation is performed to obtain a shot image.
[0122] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification receive a first operation from the user when the terminal device is in a screen-off state, and in response to the first operation, display a camera preview interface in the screen-off state; receive a second operation from the user on the camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device, and in response to the second operation, perform a shooting operation to obtain a shot image. In the embodiments of the present application, when the terminal device receives the first operation and detects that the terminal device is in a screen-off state, the method of displaying the camera preview interface in the screen-off state allows the user to preview the shot content through the camera preview interface, effectively solving the problem of low shooting quality of the shot image, thereby effectively improving the shooting quality of the shot image.
[0123] It should be understood that in the embodiment of the present application, the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042, and the graphics processor 11041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1107 includes a touch panel 11071 and at least one of other input devices 11072. The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts: a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0124] The memory 1109 can be used to store software programs and various data. The memory 1109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1109 may include a volatile memory or a non-volatile memory, or the memory 1109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0125] The processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1110.
[0126] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0127] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0128] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned shooting method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0129] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0130] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned shooting method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0131] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0133] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A shooting method, characterized in that: The method comprises: When the terminal device is in a screen-off state, receiving a first operation from a user; In response to the first operation, displaying a camera preview interface in the screen-off state; Receiving a second operation of a user on a camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device; In response to the second operation, performing a photographing operation to obtain a photographed image; The first operation includes a sliding operation along a preset sliding track; When the terminal device is in the screen-off state, before receiving the first operation of the user, the method further includes: When the terminal device is in a screen-off state, receiving a preset operation of the user; the preset operation is an operation of picking up the terminal device, or an operation of shaking the terminal device; In response to the preset operation, a camera control widget and a preset sliding track are displayed in the screen-off state.
2. The method according to claim 1, characterized in that In response to the first operation, displaying a camera preview interface in the screen-off state includes: In response to the first operation, a camera preview interface and the camera control widget are displayed in the screen-off state, and the camera control widget and the camera preview interface are displayed in different areas.
3. The method according to claim 1, characterized in that The step of performing a photographing operation in response to the second operation to obtain a photographed image includes: In response to the second operation, based on the length of time the user's finger stays at the camera control widget detected by the terminal device, a continuous shooting operation is performed to obtain multiple captured images, and the length of time corresponds to the number of images captured.
4. The method according to claim 1, characterized in that: The step of performing a photographing operation in response to the second operation to obtain a photographed image includes: In response to the second operation, obtaining a preset number of shooting times; Based on the preset shooting times, a shooting operation is performed to obtain a plurality of images.
5. The method according to claim 1, characterized in that The step of performing a photographing operation in response to the second operation to obtain a photographed image includes: In response to the second operation, acquiring shooting scene information; Determining shooting parameter information based on the shooting scene information; Based on the shooting parameter information, a shooting operation is performed to obtain a shot image.
6. A photographing device, characterized in that: The device comprises: A first receiving module, used for receiving a first operation of a user when the terminal device is in a screen-off state; A first processing module, configured to display a camera preview interface in the screen-off state in response to the first operation; A second receiving module, configured to receive a second operation of a user on a camera control control, wherein the camera control control and the camera preview interface are located at different positions of the terminal device; A second processing module, configured to execute a photographing operation in response to the second operation to obtain a photographed image; The first operation includes a sliding operation along a preset sliding track, and the device further includes: A third receiving module is used to receive a preset operation of the user when the terminal device is in a screen-off state; the preset operation is an operation of picking up the terminal device, or an operation of shaking the terminal device; The third processing module is used to display the camera control controls and the preset sliding track in the screen-off state in response to the preset operation.
7. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the shooting method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the shooting method according to any one of claims 1 to 5 are implemented.
