CN110753188A - Terminal shooting method, terminal and readable storage medium - Google Patents

Terminal shooting method, terminal and readable storage medium Download PDF

Info

Publication number
CN110753188A
CN110753188A CN201911070057.8A CN201911070057A CN110753188A CN 110753188 A CN110753188 A CN 110753188A CN 201911070057 A CN201911070057 A CN 201911070057A CN 110753188 A CN110753188 A CN 110753188A
Authority
CN
China
Prior art keywords
terminal
shooting
information
preset
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911070057.8A
Other languages
Chinese (zh)
Inventor
孙文君
唐圣杰
黄小寒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN201911070057.8A priority Critical patent/CN110753188A/en
Publication of CN110753188A publication Critical patent/CN110753188A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a terminal shooting method, a terminal and a readable storage medium, wherein the terminal shooting method comprises the following steps: in the screen extinguishing state, if preset shooting operation is detected, shooting environment information is acquired, and the terminal camera is controlled to shoot according to shooting parameters corresponding to the shooting environment information. Like this, the terminal is under the state of putting out the screen, when detecting to predetermine the shooting operation, then correspond the parameter of shooing automatically according to shooting environmental information and shoot, can realize shooing fast, and then promote user's experience.

Description

Terminal shooting method, terminal and readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a terminal shooting method, a terminal, and a readable storage medium.
Background
With the development of technology, terminals such as mobile phones and tablet computers are widely used. Meanwhile, the terminals can provide a screen recording function, and users often use the cameras of the terminals to record videos. In actual life, when the shooting function of the terminal is started and used, a user can enter the camera for recording through multilayer operation. For example, when the terminal is in the screen-off state, the user needs to cancel the screen-off state through operation, enter the operation interface, then select the camera function, and after entering the camera, the user needs to adjust the current mode to the video recording mode, and then perform the video recording operation.
However, in real life, we often encounter some special moments, and we need to record the images at that moment quickly. However, the existing terminal needs to release the screen-off state, enter the camera function, and then start the video recording function, so that the efficiency of recording the video by the terminal is low.
Disclosure of Invention
The invention mainly aims to provide a terminal shooting method, a terminal and a readable storage medium, and aims to solve the technical problem that the video recording efficiency of the terminal in the prior art is low.
In order to achieve the above object, the present invention provides a terminal shooting method, including:
in the screen extinguishing state, if a preset shooting operation is detected, obtaining shooting environment information;
and controlling the terminal camera to shoot according to the shooting parameters corresponding to the shooting environment information.
Further, the shooting environment information includes terminal state information and/or scene information, and in the screen-off state, if a preset shooting operation is detected, the step of obtaining the shooting environment information includes:
and in the screen extinguishing state, if the preset shooting operation is detected, acquiring the terminal state information and/or the scene information.
Further, the step of controlling the terminal camera to shoot according to the shooting parameters corresponding to the shooting environment information includes:
judging whether the shooting environment information is matched with preset information or not;
and if the shooting environment information is matched with the preset information, controlling the terminal camera to shoot according to preset shooting parameters corresponding to the preset information.
Further, the terminal state information includes at least one of motion information, storage space information and power information; and/or the scene information comprises night and/or day. The step of controlling the terminal camera to shoot according to the shooting parameters corresponding to the shooting environment information comprises at least one of the following steps:
if the scene information is at night, the photographing parameter is at least one of a focal length, an exposure value and a resolution in a night scene mode, and the terminal camera is controlled to photograph;
if the scene information is in the daytime, the photographing parameter is at least one of a focal length, an exposure value and a resolution in a white scene mode, and the terminal camera is controlled to photograph;
if the terminal state information is the motion information, the photographing parameter is at least one of a focal length, an exposure value and a resolution in a motion mode, and the terminal camera is controlled to photograph;
if the terminal state information is the storage space information, the shooting parameter is at least one of a focal length, an exposure value and a resolution in a storage space size mode, and the terminal camera is controlled to shoot;
and if the terminal state information is the electric quantity information, the shooting parameter is at least one of a focal length, an exposure value and a resolution ratio in an electric quantity mode, and the terminal camera is controlled to shoot.
Further, in the screen-off state, if a preset shooting operation is detected, the step of acquiring shooting environment information includes:
detecting the space motion information of the terminal according to a sensor of the terminal;
and if the spatial motion information meets the preset shooting operation, acquiring shooting environment information.
Further, in the screen-off state, if a preset shooting operation is detected, after the step of obtaining the shooting environment information, the method includes:
controlling an image sensor in the camera to start to acquire images at a first frame rate;
judging whether an output image of the image sensor is in a preset image quality;
and if the output image of the image sensor meets the preset image quality, controlling the image sensor to start to collect images at a second frame rate, wherein the second frame rate is greater than the first frame rate.
Further, the shooting of the terminal further comprises:
detecting a first operation event to the terminal;
judging whether the first operation event is matched with a first preset operation event or not;
and if the first operation event is matched with the first preset operation event, stopping shooting by the terminal camera.
Further, the first operational event comprises: at least one of gesture operation, terminal key pressing operation, terminal clicking operation, voice operation and terminal acceleration operation.
The present invention also provides a terminal, including: detection module, control module, memory, processor and program stored on the memory and executable on the processor, the photographing program of the terminal implementing the steps of the photographing method of the terminal according to any one of claims 1 to 7 when executed by the processor.
Further, the control module is further configured to, in a screen-off state, acquire the terminal state information and/or the scene information if the preset shooting operation is detected.
The invention also provides a readable storage medium, which is characterized in that the readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the shooting method of the terminal.
According to the terminal shooting method provided by the embodiment of the invention, in the screen-off state, if the preset shooting operation is detected, the shooting environment information is acquired, and the terminal camera is controlled to shoot according to the shooting parameters corresponding to the shooting environment information. Like this, the terminal is under the state of putting out the screen, when detecting to predetermine the shooting operation, then correspond the parameter of shooing automatically according to shooting environmental information and shoot, can realize shooing fast, and then promote user's experience.
Drawings
Fig. 1 is a schematic structural diagram of a terminal in which hardware according to an embodiment of the present invention operates;
fig. 2 is a flowchart illustrating a first embodiment of a terminal shooting method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, dynamic video Experts compress standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, dynamic video Experts compress standard Audio Layer 3) player, a portable computer, and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts brightness of the display screen according to brightness of ambient light, and a proximity sensor that turns off the display screen and/or backlight when the terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the terminal is stationary, and can be used for applications of recognizing terminal gestures (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein a photographing program of an operating system, a network communication module, a user interface module, a detection module, a control module, and a terminal.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; the detection module is mainly used for detecting data of the client, and the control module is mainly used for controlling data communication; and the processor 1001 may be configured to call a photographing program of the terminal stored in the memory 1005 and perform the following operations:
in the screen extinguishing state, if a preset shooting operation is detected, obtaining shooting environment information;
and controlling the terminal camera to shoot according to the shooting parameters corresponding to the shooting environment information.
Further, in a screen-off state, if the preset shooting operation is detected, the terminal state information and/or the scene information are/is acquired.
Further, judging whether the shooting environment information is matched with preset information or not;
and if the shooting environment information is matched with the preset information, controlling the terminal camera to shoot according to preset shooting parameters corresponding to the preset information.
Further, if the scene information is at night, the photographing parameter is at least one of a focal length, an exposure value and a resolution in a night scene mode, and the terminal camera is controlled to photograph;
if the scene information is in the daytime, the photographing parameter is at least one of a focal length, an exposure value and a resolution in a white scene mode, and the terminal camera is controlled to photograph;
and/or if the terminal state information is the motion information, the photographing parameter is at least one of a focal length, an exposure value and a resolution under the motion mode, and the terminal camera is controlled to photograph;
if the terminal state information is the storage space information, the shooting parameter is at least one of a focal length, an exposure value and a resolution in a storage space size mode, and the terminal camera is controlled to shoot;
and if the terminal state information is the electric quantity information, the shooting parameter is at least one of a focal length, an exposure value and a resolution ratio in an electric quantity mode, and the terminal camera is controlled to shoot.
Further, detecting the space motion information of the terminal according to a sensor of the terminal;
and if the spatial motion information meets the preset shooting operation, acquiring shooting environment information.
Further, the processor 1001 may call a photographing program of the terminal stored in the memory 1005, and also perform the following operations:
controlling an image sensor in the camera to start to acquire images at a first frame rate;
judging whether an output image of the image sensor is in a preset image quality;
and if the output image of the image sensor meets the preset image quality, controlling the image sensor to start to collect images at a second frame rate, wherein the second frame rate is greater than the first frame rate.
Further, detecting a first operation event of the terminal;
judging whether the first operation event is matched with a first preset operation event or not;
and if the first operation event is matched with the first preset operation event, stopping shooting by the terminal camera.
Further, at least one of gesture operation, terminal key pressing operation, terminal clicking operation, voice operation and terminal acceleration operation.
Based on the hardware structure, embodiments of the shooting method of the terminal are provided.
Referring to fig. 2, in a first embodiment of the terminal shooting method of the present invention, the terminal shooting method includes:
step S10, in the screen off state, when detecting the preset shooting operation, acquiring the shooting environment information;
and when the terminal detects a preset shooting operation in a screen-off state, acquiring shooting environment information. The terminal may be a PC, or may be a terminal device having a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture experts Group Audio Layer III, motion video experts compression standard Audio Layer 3) player, an MP4(Moving Picture experts Group Audio Layer IV, motion video experts compression standard Audio Layer 3) player, a portable computer, and the like, which is not limited herein.
In the screen-off state, the user may acquire the shooting environment information through a second operation event, where the second operation event includes: the first operation event is a preset shooting operation, and the gesture operation of the preset shooting operation can be a motion operation track which is set by a user in advance and is drawn by the terminal in the air, and can also be a motion operation track which is set by a manufacturer in advance and drawn by the terminal in the air; the preset terminal key pressing operation of the shooting operation can be pressing operation of at least one of a volume key, a power key and a main control key, and can be combined pressing operation of a preset volume key and/or a preset power key; the terminal clicking operation of the preset shooting operation can be that a user clicks a terminal body for multiple times, and the terminal body comprises areas such as a screen, a side edge and a rear shell of the terminal; the operation can also be voice control operation, and the starting is controlled by voice; the terminal can be started through acceleration operation of the terminal; the photographing environment information includes, but is not limited to, terminal state information and/or scene information. In this embodiment, in the screen-off state, if it is detected that the motion operation trajectory input by the user matches the preset shooting operation trajectory, the terminal acquires the shooting environment information.
And step 20, controlling the terminal camera to shoot according to the shooting parameters corresponding to the shooting environment information.
And the terminal controls the terminal camera to shoot according to the shooting parameters corresponding to the shooting environment information. The photographing parameters include, but are not limited to, a focal length, an exposure value, and a resolution size. In this embodiment, the terminal acquires the shooting environment information, and controls the terminal camera to shoot according to different focal lengths, exposure values and resolution corresponding to different shooting environment information.
According to the terminal shooting method provided by the embodiment of the invention, in the screen-off state, if the preset shooting operation is detected, the shooting environment information is acquired, and the terminal camera is controlled to shoot according to the shooting parameters corresponding to the shooting environment information. Like this, the terminal is under the state of putting out the screen, when detecting to predetermine the shooting operation, then correspond the parameter of shooing automatically according to shooting environmental information and shoot, can realize shooing fast, and then promote user's experience.
Further, in step S10 of the first embodiment, in the screen-off state, if the preset shooting operation is detected, the step of acquiring the terminal state information and/or the scene information includes:
step S11, in the screen-off state, if a preset shooting operation is detected, acquiring terminal state information and/or scene information.
And when the terminal is in a screen extinguishing state and preset shooting operation is detected, acquiring terminal state information and/or scene information. The terminal state information comprises at least one of motion information, storage space information and electric quantity information, and the scene information comprises night and/or day. In this embodiment, when the terminal is in the screen-off state and a preset shooting operation is detected, the terminal information and/or the scene information are obtained and shooting is performed according to the shooting parameters.
Further, in step S20 of the first embodiment, the step of controlling the terminal camera to perform shooting according to the shooting parameters corresponding to the shooting environment information includes:
step S21, judging whether the shooting environment information is matched with the preset information;
and step S22, if the shooting environment information is matched with the preset information, controlling the terminal camera to shoot according to the preset shooting parameters corresponding to the preset information.
And the terminal judges whether the environment information is matched with the preset information or not, and controls the terminal camera to shoot according to preset shooting parameters corresponding to the preset information when the shooting environment information is matched with the preset information. The preset information refers to photographing parameters which are set in advance according to the photographing environment information.
Further, in step S20 of the first embodiment, the step of controlling the terminal camera to perform shooting according to the shooting parameters corresponding to the shooting environment information includes:
step S23, if the scene information is at night, the photographing parameter is at least one of the focal length, the exposure value and the resolution under the night scene mode, and the terminal camera is controlled to photograph;
and step S24, if the scene information is in the daytime, the photographing parameter is at least one of the focal length, the exposure value and the resolution in the white scene mode, and the terminal camera is controlled to photograph.
Step S25, if the terminal state information is motion information, the photographing parameter is at least one of the focal length, the exposure value and the resolution under the motion mode, and the terminal camera is controlled to photograph;
step S26, if the terminal state information is the storage space information, the shooting parameter is at least one of the focal length, the exposure value and the resolution under the storage space size mode, and the terminal camera is controlled to shoot;
in step S27, if the terminal state information is the power information, the shooting parameter is at least one of the focal length, the exposure value and the resolution in the power size mode, and the terminal camera is controlled to shoot.
If the scene information is at night, the photographing parameter is at least one of a focal length, an exposure value and a resolution ratio in a night scene mode, and a terminal camera is controlled to photograph; if the scene information is in the daytime, the photographing parameter is at least one of the focal length, the exposure value and the resolution in the white scene mode, and the terminal camera is controlled to photograph; and/or if the terminal state information is motion information, the photographing parameter is at least one of a focal length, an exposure value and a resolution under the motion mode, and the terminal camera is controlled to photograph; if the terminal state information is storage space information, the shooting parameter is at least one of a focal length, an exposure value and a resolution ratio in a storage space size mode, and a terminal camera is controlled to shoot; and if the terminal state information is the electric quantity information, the shooting parameter is at least one of the focal length, the exposure value and the resolution ratio in the electric quantity mode, and the terminal camera is controlled to shoot. For example, when the shooting environment information acquired by the terminal is at night, the shooting parameter is automatically switched to at least one of the focal length, the exposure value and the resolution in the night scene mode, and the values of the focal length, the exposure value and the resolution are the optimal values selected in the scene. For example, the terminal configures the parameter of the reference focal length as a video recording parameter corresponding to the video recording habit.
In other embodiments, the terminal may further collect the photographing parameters used by the user within a preset time according to the photographing habit of the user. And after the shooting parameters of the user are collected in one week, calculating the average shooting parameter value in the week, and configuring the calculated shooting parameters as the reference shooting parameters. Therefore, the terminal takes the photographing parameters corresponding to the photographing habits of the user as the reference photographing parameters, so that the terminal can quickly start the camera to shoot and simultaneously can ensure the quality of the video.
In this embodiment, it should be noted that the method includes, but is not limited to, controlling the terminal camera to shoot scenes in the above-mentioned scenes.
Further, in step S10 of the first embodiment, in the screen-off state, if the preset shooting operation is detected, the step of acquiring the shooting environment information includes:
step S12, detecting the space motion information of the terminal according to the sensor of the terminal;
in step S13, if the spatial motion information satisfies the preset shooting operation, the shooting environment information is obtained.
The method comprises the steps of detecting space motion information of a terminal according to a sensor of the terminal, and acquiring shooting environment information if the space motion information meets preset shooting operation. The preset shooting operation can be a motion operation track drawn by a terminal preset by a user in the air, or a motion operation track drawn by a terminal preset by a manufacturer in the air for starting video recording, wherein the motion operation track is used for starting the video recording. In this embodiment, if the preset shooting operation is set to be a circular motion track, it is determined that the motion information scribed in the air by the terminal is a circular motion track, and the shooting environment information is acquired.
Further, in step S10 of the first embodiment, in the screen-off state, if the preset shooting operation is detected, after the step of acquiring the reference focal length prestored in the terminal camera, the method includes:
step S101, controlling an image sensor in a camera to start to collect images at a first frame rate;
step S102, judging whether an output image of the image sensor is in a preset image quality;
step S103, if the output image of the image sensor satisfies the preset image quality, the image sensor is controlled to start at a second frame rate, wherein the second frame rate is greater than the first frame rate.
The method comprises the steps that a terminal controls an image sensor in a camera to start to collect images at a first frame rate, outputs the images at the first frame rate, and judges whether the output images of the image sensor are in preset image quality; and if the output image of the image sensor meets the preset image quality, controlling the image sensor to start at a second frame rate, wherein the second frame rate is greater than the first frame rate. The second frame rate may be 2 times or 3 times the first frame rate, and is not specifically limited herein, and the second frame rate cannot exceed the preset frame rate threshold, so as to avoid the problem that the frame rate is higher than the preset frame rate threshold, which causes poor image quality, and the image quality may be that the feature of the obtained shooting object is clear. In this embodiment, the terminal starts capturing images at a higher first frame rate and outputs images at the higher first frame rate, so that the terminal can quickly start capturing images, and after the image capturing is started, when the output image of the image sensor is judged to have the preset image quality, the image sensor is controlled to start capturing images at a lower second frame rate. In this way, the terminal can start outputting images at a faster frame rate, and after starting collecting images, recording is carried out at a lower frame rate while ensuring the quality.
Further, the shooting method of the terminal of the present invention further includes:
step A, detecting a first operation event of a terminal;
step B, judging whether the first operation event is matched with a first preset operation event or not;
and C, stopping shooting by the terminal camera if the first operation event is matched with the first preset operation event.
The method comprises the steps that when a terminal is in a screen off state, if preset shooting operation is detected, after terminal shooting environment information is obtained, the terminal detects a first operation event input to a display screen by a user, whether the first operation event is matched with the first preset operation event or not is judged, and if the first operation event is matched with the first preset operation event, the terminal stops shooting through a camera. Wherein the first operational event comprises: the first operation event is a preset shooting operation, and the gesture operation of the preset shooting operation can be a motion operation track which is set by a user in advance and is drawn by the terminal in the air, and can also be a motion operation track which is set by a manufacturer in advance and drawn by the terminal in the air; the preset terminal key pressing operation of the shooting operation can be pressing operation of at least one of a volume key, a power key and a main control key, and can be combined pressing operation of a preset volume key and/or a preset power key; the terminal clicking operation of the preset shooting operation can be that a user clicks a terminal body for multiple times, and the terminal body comprises areas such as a screen, a side edge and a rear shell of the terminal; the operation can also be voice control operation, and the starting is controlled by voice; the terminal can be started through acceleration operation of the terminal; the photographing environment information includes, but is not limited to, terminal state information and/or scene information. For example, in the screen-off state, if a preset shooting operation is detected, after the shooting environment information is acquired, and when it is detected that an instruction triggered by the operation of pressing the volume key twice by the user matches a first preset operation event, the camera function of the terminal is turned off in the screen-off state, and the shooting operation is automatically stopped. And if the terminal detects that the instruction triggered by the first operation event is not matched with the first preset instruction, continuing shooting.
In the embodiment, the terminal is operated by detecting a first operation event to the terminal; judging whether an instruction triggered by a first operation event is matched with a first preset operation event; and stopping shooting if the instruction triggered by the first operation event is matched with the first preset operation event. Therefore, when the terminal receives the shooting closing instruction in the screen extinguishing state, the terminal can stop shooting, and the whole process of stopping shooting by the terminal is very simple.
Furthermore, an embodiment of the present invention further provides a readable storage medium (i.e., a computer-readable memory), where a shooting program of a terminal is stored on the readable storage medium, and when executed by a processor, the shooting program of the terminal implements the following operations:
in the screen extinguishing state, if a preset shooting operation is detected, obtaining shooting environment information;
and controlling the terminal camera to shoot according to the shooting parameters corresponding to the shooting environment information.
Further, in a screen-off state, if the preset shooting operation is detected, the terminal state information and/or the scene information are/is acquired.
Further, judging whether the shooting environment information is matched with preset information or not;
and if the shooting environment information is matched with the preset information, controlling the terminal camera to shoot according to preset shooting parameters corresponding to the preset information.
Further, if the scene information is at night, the photographing parameter is at least one of a focal length, an exposure value and a resolution in a night scene mode, and the terminal camera is controlled to photograph;
if the scene information is in the daytime, the photographing parameter is at least one of a focal length, an exposure value and a resolution in a white scene mode, and the terminal camera is controlled to photograph;
and/or if the terminal state information is the motion information, the photographing parameter is at least one of a focal length, an exposure value and a resolution under the motion mode, and the terminal camera is controlled to photograph;
if the terminal state information is the storage space information, the shooting parameter is at least one of a focal length, an exposure value and a resolution in a storage space size mode, and the terminal camera is controlled to shoot;
and if the terminal state information is the electric quantity information, the shooting parameter is at least one of a focal length, an exposure value and a resolution ratio in an electric quantity mode, and the terminal camera is controlled to shoot.
Further, detecting the space motion information of the terminal according to a sensor of the terminal;
and if the spatial motion information meets the preset shooting operation, acquiring shooting environment information.
Further, the shooting program of the terminal is executed by the processor to realize the following operations:
controlling an image sensor in the camera to start to acquire images at a first frame rate;
judging whether an output image of the image sensor is in a preset image quality;
and if the output image of the image sensor meets the preset image quality, controlling the image sensor to start to collect images at a second frame rate, wherein the second frame rate is greater than the first frame rate.
Further, detecting a first operation event of the terminal;
judging whether the first operation event is matched with a first preset operation event or not;
and if the first operation event is matched with the first preset operation event, stopping shooting by the terminal camera.
Further, at least one of gesture operation, terminal key pressing operation, terminal clicking operation, voice operation and terminal acceleration operation.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (11)

1. A shooting method of a terminal is characterized by comprising the following steps:
in the screen extinguishing state, if a preset shooting operation is detected, obtaining shooting environment information;
and controlling the terminal camera to shoot according to the shooting parameters corresponding to the shooting environment information.
2. The terminal of claim 1, wherein the shooting environment information includes terminal state information and/or scene information, and the step of acquiring the shooting environment information when a preset shooting operation is detected in the screen-off state comprises:
and in the screen extinguishing state, if the preset shooting operation is detected, acquiring the terminal state information and/or the scene information.
3. The terminal shooting method according to claim 1, wherein the step of controlling the terminal camera to shoot according to the shooting parameters corresponding to the shooting environment information comprises:
judging whether the shooting environment information is matched with preset information or not;
and if the shooting environment information is matched with the preset information, controlling the terminal camera to shoot according to preset shooting parameters corresponding to the preset information.
4. The photographing method of the terminal of claim 2, wherein the terminal state information includes at least one of motion information, storage space information, and power amount information; and/or the scene information comprises night and/or day. The step of controlling the terminal camera to shoot according to the shooting parameters corresponding to the shooting environment information comprises at least one of the following steps:
if the scene information is at night, the photographing parameter is at least one of a focal length, an exposure value and a resolution in a night scene mode, and the terminal camera is controlled to photograph;
if the scene information is in the daytime, the photographing parameter is at least one of a focal length, an exposure value and a resolution in a white scene mode, and the terminal camera is controlled to photograph;
if the terminal state information is the motion information, the photographing parameter is at least one of a focal length, an exposure value and a resolution in a motion mode, and the terminal camera is controlled to photograph;
if the terminal state information is the storage space information, the shooting parameter is at least one of a focal length, an exposure value and a resolution in a storage space size mode, and the terminal camera is controlled to shoot;
and if the terminal state information is the electric quantity information, the shooting parameter is at least one of a focal length, an exposure value and a resolution ratio in an electric quantity mode, and the terminal camera is controlled to shoot.
5. The method for photographing the terminal according to claim 1, wherein the step of acquiring the photographing environment information if a preset photographing operation is detected in the screen-off state comprises:
detecting the space motion information of the terminal according to a sensor of the terminal;
and if the spatial motion information meets the preset shooting operation, acquiring shooting environment information.
6. The method for shooting by a terminal according to claim 1, wherein the step of acquiring shooting environment information if a preset shooting operation is detected in the screen-off state, is followed by:
controlling an image sensor in the camera to start to acquire images at a first frame rate;
judging whether an output image of the image sensor is in a preset image quality;
and if the output image of the image sensor meets the preset image quality, controlling the image sensor to start to collect images at a second frame rate, wherein the second frame rate is greater than the first frame rate.
7. The photographing method of a terminal according to any one of claims 1 to 6, wherein the photographing of the terminal further comprises:
detecting a first operation event to the terminal;
judging whether the first operation event is matched with a first preset operation event or not;
and if the first operation event is matched with the first preset operation event, stopping shooting by the terminal camera.
8. The photographing method of the terminal of claim 7, wherein the first operation event includes:
at least one of gesture operation, terminal key pressing operation, terminal clicking operation, voice operation and terminal acceleration operation.
9. A terminal, characterized in that the terminal comprises: detection module, control module, memory, processor and program stored on the memory and executable on the processor, the photographing program of the terminal implementing the steps of the photographing method of the terminal according to any one of claims 1 to 8 when executed by the processor.
10. The terminal of claim 9, wherein the terminal further comprises:
the control module is further configured to, in a screen-off state, acquire the terminal state information and/or the scene information if the preset shooting operation is detected.
11. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the photographing method of the terminal according to any one of claims 1 to 8.
CN201911070057.8A 2019-11-04 2019-11-04 Terminal shooting method, terminal and readable storage medium Pending CN110753188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911070057.8A CN110753188A (en) 2019-11-04 2019-11-04 Terminal shooting method, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911070057.8A CN110753188A (en) 2019-11-04 2019-11-04 Terminal shooting method, terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN110753188A true CN110753188A (en) 2020-02-04

Family

ID=69282145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911070057.8A Pending CN110753188A (en) 2019-11-04 2019-11-04 Terminal shooting method, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN110753188A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794833A (en) * 2021-08-16 2021-12-14 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867717A (en) * 2009-04-16 2010-10-20 华晶科技股份有限公司 Adjusting method for photographic parameters of digital image and digital photographing device
CN105827929A (en) * 2015-01-06 2016-08-03 中兴通讯股份有限公司 Photographing method and photographing device of mobile terminal camera
CN107360370A (en) * 2017-07-27 2017-11-17 深圳市泰衡诺科技有限公司 A kind of method, photo taking and photo camera for smart machine
CN108924414A (en) * 2018-06-27 2018-11-30 维沃移动通信有限公司 A kind of image pickup method and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867717A (en) * 2009-04-16 2010-10-20 华晶科技股份有限公司 Adjusting method for photographic parameters of digital image and digital photographing device
CN105827929A (en) * 2015-01-06 2016-08-03 中兴通讯股份有限公司 Photographing method and photographing device of mobile terminal camera
CN107360370A (en) * 2017-07-27 2017-11-17 深圳市泰衡诺科技有限公司 A kind of method, photo taking and photo camera for smart machine
CN108924414A (en) * 2018-06-27 2018-11-30 维沃移动通信有限公司 A kind of image pickup method and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794833A (en) * 2021-08-16 2021-12-14 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment
CN113794833B (en) * 2021-08-16 2023-05-26 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US11330194B2 (en) Photographing using night shot mode processing and user interface
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
CN110569095B (en) Method and electronic equipment for displaying page elements
KR101971736B1 (en) Mobile terminal and method for controlling the same
EP3131302B1 (en) Method and device for generating video content
EP4117272A1 (en) Image processing method and apparatus
US9661229B2 (en) Method for capturing a picture in a portable terminal by outputting a notification of an object being in a capturing position
CN105487680B (en) Method, apparatus and terminal for terminal screenshotss
CN104361558B (en) Image processing method, device and equipment
CN104469159A (en) Shooting parameter adjusting method and device
US12022183B2 (en) Photographing method, graphical user interface, and electronic device
CN107566746B (en) Photographing method and user terminal
CN108121486B (en) Picture display method and mobile terminal
CN105653505A (en) Method and device for regulating character display
US20220343056A1 (en) Method for loading image and electronic device
US20230205417A1 (en) Display Control Method, Electronic Device, and Computer-Readable Storage Medium
CN111213363A (en) Terminal photographing control method, mobile terminal and readable storage medium
CN114879894B (en) Function starting method, user interface and electronic equipment
KR20210101009A (en) Method for Recording Video using a plurality of Cameras and Device thereof
CN110753188A (en) Terminal shooting method, terminal and readable storage medium
CN108989555B (en) Image processing method and related product
CN108243489B (en) Photographing control method and mobile terminal
KR20210133104A (en) Method and device for shooting image, and storage medium
CN112616080B (en) Television photographing anti-shake method, device, equipment and readable storage medium
CN116723382B (en) Shooting method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination