WO2019183769A1 - 剩余存储量处理方法、拍摄设备及计算机可读存储介质 - Google Patents

剩余存储量处理方法、拍摄设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2019183769A1
WO2019183769A1 PCT/CN2018/080540 CN2018080540W WO2019183769A1 WO 2019183769 A1 WO2019183769 A1 WO 2019183769A1 CN 2018080540 W CN2018080540 W CN 2018080540W WO 2019183769 A1 WO2019183769 A1 WO 2019183769A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage device
current
video
capacity
remaining capacity
Prior art date
Application number
PCT/CN2018/080540
Other languages
English (en)
French (fr)
Inventor
翁超
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2018/080540 priority Critical patent/WO2019183769A1/zh
Priority to CN201880031988.4A priority patent/CN110651240A/zh
Publication of WO2019183769A1 publication Critical patent/WO2019183769A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers

Definitions

  • the embodiments of the present invention relate to the field of drones, and in particular, to a remaining storage amount processing method, a photographing apparatus, and a computer readable storage medium.
  • the photographing device in the prior art includes a memory card that can be used to store an image or video captured by the photographing device, and the photographing device can display the remaining number of images or video duration of the memory card.
  • the shooting device captures each image or each video with different scenes, different formats, and different resolutions, the number of images that can be stored in the remaining capacity of the memory card displayed by the shooting device or the duration of the video is not accurate.
  • Embodiments of the present invention provide a remaining storage amount processing method, a photographing apparatus, and a computer readable storage medium, so as to improve the number of images that can be stored by the remaining capacity of the memory card displayed by the photographing device or the accuracy of the video duration.
  • a first aspect of the embodiments of the present invention provides a method for processing a remaining storage amount, including:
  • the number of images storable by the current remaining capacity of the storage device is displayed.
  • a second aspect of the embodiments of the present invention provides a method for processing a remaining storage amount, including:
  • a video duration in which the current remaining capacity of the storage device is storable is displayed.
  • a third aspect of the embodiments of the present invention provides a photographing apparatus, including: a processor, a storage device, and a display device;
  • the processor is used to:
  • the number of images storable by the current remaining capacity of the storage device is displayed by the display device.
  • a fourth aspect of the embodiments of the present invention provides a photographing apparatus, including: a processor, a storage device, and a display device;
  • the processor is used to:
  • a fifth aspect of the embodiments of the present invention provides a computer readable storage medium comprising: a computer program stored thereon, the computer program being executed by a processor to implement the method of the first aspect or the second aspect.
  • the remaining storage amount processing method, the photographing apparatus, and the computer readable storage medium provided by the embodiment determine the current image occupation storage according to the historical image matching the parameter information of the current image by acquiring the parameter information of the current image captured by the photographing device.
  • FIG. 1 is a flowchart of a method for processing remaining storage amount according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an application scenario according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a method for processing remaining storage amount according to another embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for processing remaining storage amount according to another embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for processing remaining storage amount according to another embodiment of the present invention.
  • FIG. 6 is a structural diagram of a photographing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of a photographing apparatus according to another embodiment of the present invention.
  • 23 communication system
  • 24 terminal device
  • 60 shooting device
  • 61 processor; 62: storage device; 63: display device;
  • 64 communication interface
  • 70 shooting device
  • 71 processor
  • a component when referred to as being "fixed” to another component, it can be directly on the other component or the component can be present. When a component is considered to "connect” another component, it can be directly connected to another component or possibly a central component.
  • FIG. 1 is a flowchart of a method for processing remaining storage amount according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment may include:
  • Step S101 Acquire parameter information of a current image captured by the photographing device.
  • the photographing device may be mounted on the drone, or may be disposed on the handheld pan/tilt, or directly held by the user.
  • the photographing device may also be a terminal device having a photographing function, and the terminal device may specifically be a user device such as a mobile phone, a tablet, or the like.
  • an image sensor in the photographing device can sense an image in real time, and the photographing device displays the image sensed by the image sensor on a display component such as a display screen, so that the user observes the image, and The parameters of the shooting device are adjusted to make the image clear.
  • a processor in the photographing device when the photographing device captures the current image, a processor in the photographing device, such as an image processor, stores the current image in a storage device of the photographing device, such as a memory card, and the memory card may specifically be Secure Digital Memory Card (sdcard).
  • the processor can also obtain parameter information of the current image.
  • the parameter information of the current image includes at least one of the following: a format of the current image, a resolution of the current image, and a scene corresponding to the current image.
  • the format of the current image may be a format in which the current image is stored in the sdcard, and the format includes at least one of the following: JPEG, TIFF, RAW, which is only a schematic description herein, and does not limit the current image.
  • the resolution of the current image refers to the density of pixel points in the current image, for example, the resolution of the current image may be a pixel value per unit length in the current image. The higher the resolution of the current image, the clearer the resolution of the current image.
  • the scene corresponding to the current image includes at least one of the following: a character scene, a landscape scene, an architectural scene, and the like.
  • Step S102 Determine, according to the at least one historical image captured by the photographing device, that the current image occupies a capacity of the storage device, and the parameter information of the historical image matches the parameter information of the current image.
  • the photographing device can also take and store a plurality of historical images before taking the current image.
  • the processor in the photographing device stores the current image in a storage device of the photographing device, such as a memory card
  • the processor may be based on at least one of parameter information of the current image, such as format, resolution, and scene. Searching at least one historical image that matches the current image in the historical image.
  • the parameter information of the at least one historical image matches the parameter information of the current image
  • the parameter information of the historical image includes at least one of the following : a format of the historical image, a resolution of the historical image, and a scene corresponding to the historical image.
  • the format of each historical image in the at least one historical image is consistent with the format of the current image
  • the resolution of each of the at least one historical image is consistent with the resolution of the current image, in the at least one historical image.
  • the scene corresponding to each historical image is consistent with the scene corresponding to the current image.
  • the processor may determine, according to the at least one historical image stored in the storage device that matches the current image, that the current image occupies a capacity of the storage device. For example, the processor may determine that the current image occupies a capacity of the storage device according to an average capacity occupied by the at least one historical image that is stored in the storage device and matches the current image in the storage device.
  • the determining, according to the at least one historical image captured by the photographing device, that the current image occupies a capacity of the storage device includes: a quantity according to the at least one historical image captured by the photographing device, and the at least one history Each historical image in the image occupies a capacity of the storage device, and determines that the current image occupies a capacity of the storage device.
  • the photographing apparatus photographs and stores the history image 1 at the historical time t0, the history image 2 is photographed and stored at the historical time t1, the history image 3 is photographed and stored at the historical time t3, and the current image is captured and stored at the current time t4. image.
  • the historical image 1, the historical image 2, and the historical image 3 respectively match the current image
  • the processor of the photographing apparatus can occupy the capacity V11 occupied in the storage device according to the historical image 1 and the capacity V12 occupied by the historical image 2 in the storage device.
  • the capacity V13 occupied by the history image 3 in the storage device, and the average capacity V1 occupied by the history image 1, the history image 2, and the history image 3 in the storage device, V1 (V11 + V12 + V13) / 3. Since the history image 1, the history image 2, and the history image 3 respectively match the current image, the average capacity occupied by the history image 1, the history image 2, and the history image 3 in the storage device may be V1 as the current image occupation storage device. Capacity.
  • Step S103 Determine, according to the current remaining capacity of the storage device and the capacity of the current image occupying the storage device, the number of images that can be stored by the current remaining capacity of the storage device.
  • the processor may determine the number of images storable by the current remaining capacity of the storage device according to the current remaining capacity Cap of the storage device and the capacity V1 of the current image occupying storage device, the number of images being Cap divided by V1.
  • Step S104 Display the number of images that can be stored by the current remaining capacity of the storage device.
  • the processor determines the number of images storable by the current remaining capacity of the storage device, the number of images is displayed on a display component of the photographing device, such as a display screen, so that the user controls the number of shots of the current image.
  • the method further includes: transmitting, to the user terminal, the number of images that can be stored by the current remaining capacity of the storage device, so that the The user terminal displays the number of images storable by the current remaining capacity of the storage device.
  • the photographing device 21 is mounted on the drone 20 through the pan/tilt head 22, and after the processor in the photographing device 21 determines the number of images that the storage device can store in the current remaining capacity,
  • the communication system 23 of the machine 20 transmits the number of images to the terminal device 24 on the ground, and the user can control the drone 20 to fly or control the photographing device 21 to take an image through the terminal device 24.
  • the terminal device 24 receives the number of images storable by the current remaining capacity of the storage device in the photographing device 21, the image number is displayed on a display component of the terminal device 24 such as a display screen so that the user controls the number of shots of the current image.
  • the method further includes determining that the current remaining capacity of the storage device is storable by the number of images when the current remaining capacity of the storage device is less than a preset capacity value.
  • a preset capacity value may be set, and the preset capacity value may be the minimum capacity value recorded as C.
  • the processor in the photographing device determines that the current remaining capacity of the storage device is less than the preset capacity value, determining that the current remaining capacity of the storage device can store the number of images is 0, and at the same time, the photographing device displays the image number 0 at The display component of the photographing device is such that the user knows that the storage device has no remaining capacity.
  • the photographing device can also send the number of images 0 to the terminal device on the ground, and the terminal device displays the number of images 0 on the display component of the terminal device.
  • the parameter information of the current image captured by the photographing device is acquired, and the current image occupying the capacity of the storage device is determined according to the historical image that matches the parameter information of the current image, and is stored according to the current remaining capacity of the storage device and the current image.
  • the capacity of the device determines the number of images that can be stored in the remaining capacity. Since the parameter information of the historical image matches the parameter information of the current image, the current image can accurately calculate the capacity of the storage device according to the historical image, so that the shooting device The remaining number of images that can be stored on the memory card displayed is more accurate.
  • FIG. 3 is a flowchart of a method for processing remaining storage amount according to another embodiment of the present invention. As shown in FIG. 3, on the basis of the embodiment shown in FIG. 1, the method in this embodiment may further include:
  • Step S301 Receive a shooting instruction.
  • the processor of the photographing device calculates the number of images that can be stored by the current remaining capacity of the storage device according to the current remaining capacity Cap of the storage device and the capacity V1 of the current image occupying the storage device, the format, resolution, and In the case where the scene is unchanged, the user can continue to take an image, and correspondingly, the photographing device can also receive the user's shooting instruction.
  • Step S302 decrementing the number of images that can be stored in the current remaining capacity of the storage device according to the shooting instruction.
  • the processor in the photographing device receives the user's shooting instruction, and reduces the number of images that can be stored in the current remaining capacity of the storage device by one, that is, the number of images that can be stored in the current remaining capacity of the storage device Decrease in the increase of shooting instructions.
  • the photographing apparatus can display the reduced number of storable images on the display component such that the number of images storable by the remaining capacity of the storage device displayed on the display component is continuously decreasing.
  • the current remaining capacity of the storage device may be There may be a certain cumulative error in the process of decrementing the number of stored images. In order to reduce or eliminate the accumulated error, it can be implemented by several feasible implementations as follows.
  • a feasible implementation manner is: receiving a parameter switching instruction of the current image; determining, according to a current remaining capacity of the storage device and a capacity of the current image occupying the storage device, determining a current remaining of the storage device The number of images that can be stored, including: when receiving the parameter switching instruction of the current image, determining, according to the current remaining capacity of the storage device and the capacity of the current image occupying the storage device, determining the current storage device The remaining capacity can store the number of images.
  • the photographing device captures and stores the current image at the current time t4, and the processor of the photographing device calculates, at the current time t4, the current remaining capacity of the storage device in the photographing device according to the at least one historical image that matches the current image.
  • the number of images is 80.
  • the processor of the photographing apparatus receives a photographing instruction, and decrements the number of images 802 that can be stored in the remaining capacity to obtain 79.
  • the processor of the photographing device receives another photographing instruction, and decrements the number of images 79 that can be stored in the remaining capacity to obtain 78.
  • the processor receives the parameter switching instruction of the current image by the user, for example, switching the scene of the current image.
  • the processor can occupy the storage device according to the remaining capacity of the storage device and the current image according to the time t7. Capacity, re-determine the number of images that can be stored in the current remaining capacity of the storage device. For example, the recalculated remaining capacity can store the number of images as 76. When the scene switching of the current image is completed, the processor will recalculate The remaining capacity of the remaining number of images that can be stored is displayed on the display component. Although there is a certain jump from 78 at time t6 to 76 at time t7, the jump can reduce or eliminate the accumulated error formed during the process of decreasing the number of images.
  • Another possible implementation manner is: receiving a shooting mode switching instruction; determining, according to a current remaining capacity of the storage device and a capacity of the current image occupying the storage device, determining that a current remaining capacity of the storage device is storable
  • the number of images includes: when receiving the shooting mode switching instruction, determining that a current remaining capacity of the storage device is storable according to a current remaining capacity of the storage device and a capacity of the current image occupying the storage device The number of images.
  • the number of images that the processor can calculate at the current remaining capacity of the storage device at time t4 is 80, and the number of images that can be stored in the remaining capacity is reduced by one at time t5 to obtain 79, and the remaining capacity can be obtained at time t6.
  • the number of stored images is reduced by 1 to get 78.
  • the processor receives a shooting mode switching instruction of the user, for example, switching the image capturing mode to the video shooting mode.
  • the processor can occupy the storage device according to the remaining capacity of the storage device and the current image according to the time t7.
  • the recalculated remaining capacity can store a number of images of 76.
  • a further feasible implementation manner is: receiving a user interface switching instruction; determining, according to a current remaining capacity of the storage device and a capacity of the current image occupying the storage device, determining that a current remaining capacity of the storage device is storable
  • the number of images includes: when receiving the user interface switching instruction, determining that a current remaining capacity of the storage device is storable according to a current remaining capacity of the storage device and a capacity of the current image occupying the storage device The number of images.
  • the terminal device on the ground is installed with an application (Application, APP) that controls the photographing device, and the APP includes a plurality of user interfaces.
  • the terminal device may generate a user interface switching instruction, and the The user interface switching instruction is sent to the photographing device, and when the processor of the photographing device receives the user interface switching instruction, the current remaining capacity of the storage device is re-determined according to the current remaining capacity of the storage device and the capacity of the current image occupying the storage device. The number of images that can be stored.
  • the photographing device when the photographing device receives the parameter switching instruction, the shooting mode switching instruction, or the user interface switching instruction of the current image, the photographing device re-determines the number of images that can be stored in the current remaining capacity of the storage device. In other embodiments, the photographing device may further determine the number of images that can be stored in the current remaining capacity of the storage device when receiving other switching commands or other non-shooting commands, to reduce or eliminate the number of images. The cumulative error formed during the decrement process.
  • the photographing device when the photographing device receives the photographing instruction of the user, the number of images that can be stored in the current remaining capacity of the storage device is decremented, thereby preventing the number of images that can be stored in the remaining capacity of the user when continuously capturing the image, thereby improving the user.
  • the photographing device receives the parameter switching instruction, the shooting mode switching instruction, or the user interface switching instruction of the current image of the user, the number of images that can be stored in the current remaining capacity of the storage device is re-determined to reduce or eliminate the number of images. The cumulative error formed during the decrement process.
  • FIG. 4 is a flowchart of a method for processing remaining storage amount according to another embodiment of the present invention. As shown in FIG. 4, the method in this embodiment may include:
  • Step S401 Acquire parameter information of a current video captured by the photographing device.
  • a processor in the photographing device when the photographing device captures the current video, a processor in the photographing device, such as an image processor, stores the current video in a storage device of the photographing device, such as a memory card, which may be specifically Digital Card (Sdure Digital Memory Card, sdcard).
  • the processor can also obtain parameter information of the current video.
  • the parameter information of the current video includes at least one of the following: a format of the current video, a resolution of the current video, and a scenario corresponding to the current video.
  • the format of the current video may be a format in which the current video is stored in the sdcard, and the format includes at least one of the following: MP4, MPG, AVI, WMV, FLV, and SWF, which is only a schematic description, and The specific format of the current video is not limited.
  • the scene corresponding to the current video includes at least one of the following: a character scene, a landscape scene, an architectural scene, and the like.
  • Step S402 Determine, according to the at least one historical video captured by the photographing device, the capacity of the current video occupation storage device in a unit time, and the parameter information of the historical video matches the parameter information of the current video.
  • the shooting device can also capture and store multiple historical videos before taking the current video.
  • the processor in the photographing device stores the current video in a storage device of the photographing device, such as a memory card
  • the processor may be based on at least one of parameter information of the current video, such as format, resolution, and scene. Searching for at least one historical video that matches the current video in the history video.
  • the parameter information of the at least one historical video matches the parameter information of the current video
  • the parameter information of the historical video includes at least one of the following The format of the historical video, the resolution of the historical video, and the scene corresponding to the historical video.
  • each historical video in the at least one historical video is consistent with the format of the current video
  • the resolution of each historical video in the at least one historical video is consistent with the resolution of the current video, in the at least one historical video.
  • the scene corresponding to each historical video is consistent with the scene corresponding to the current video.
  • the processor may determine, according to the at least one historical video that is stored in the storage device that matches the current video, that the current video occupies a capacity of the storage device. For example, the processor may determine the capacity of the current video occupation storage device according to an average capacity occupied by the at least one historical video stored in the storage device that matches the current video in the storage device.
  • the determining, according to the at least one history video captured by the photographing device, the capacity of the current video occupation storage device in a unit time including: a duration of at least one historical video captured according to the photographing device, and the Each historical video in at least one historical video occupies a capacity of the storage device, and determines that the current video occupies a capacity of the storage device per unit time.
  • the photographing apparatus photographs and stores the history video 1 at the historical time t0, the history video 2 is photographed and stored at the historical time t1, the history video 3 is photographed and stored at the historical time t3, and the current photograph is taken and stored at the current time t4. video.
  • the history video 1, the history video 2, and the history video 3 respectively match the current video, and the processor of the photographing device can determine the unit time, for example, per unit time according to the duration of the history video 1 and the capacity occupied by the history video 1 in the storage device.
  • the capacity V21 occupied by the one-second history video 1 in the storage device according to the duration of the history video 2 and the capacity occupied by the history video 2 in the storage device, it is determined that the historical video 2 per unit time, for example, every second
  • the capacity V22 occupied in the storage device based on the duration of the history video 3 and the capacity occupied by the history video 3 in the storage device, the capacity V23 occupied by the history video 3 per unit time, for example, per second, in the storage device is determined.
  • the capacity V21 occupied by the historical video 1 in the unit time for example, every second
  • the capacity V22 occupied by the historical video 2 in the storage unit per unit time for example, each time, for example, each time
  • the current video occupies the capacity of the storage device per unit time.
  • Step S403 Determine, according to a current remaining capacity of the storage device and a capacity of the current video occupation storage device per unit time, a video duration that can be stored by the current remaining capacity of the storage device.
  • the processor may determine a video duration that the current remaining capacity of the storage device can store according to the current remaining capacity Cap of the storage device and the capacity V2 of the current video occupation storage device per unit time, and the video duration is Cap divided by V2.
  • Step S404 Display a video duration that the current remaining capacity of the storage device can be stored.
  • the processor determines the duration of the video that the current remaining capacity of the storage device can store, the video duration is displayed on a display component of the photographing device, such as a display screen, so that the user controls the duration of the current video.
  • the method further includes: transmitting, to the user terminal, a video duration that can be stored by the current remaining capacity of the storage device, so that the The user terminal displays a video duration that the current remaining capacity of the storage device can be stored.
  • the photographing device 21 is mounted on the drone 20 through the pan/tilt head 22, and after the processor in the photographing device 21 determines the duration of the video that the current remaining capacity of the storage device can be stored,
  • the communication system 23 of the machine 20 transmits the video duration to the terminal device 24 on the ground, and the user can control the drone 20 to fly or control the photographing device 21 to capture video through the terminal device 24.
  • the terminal device 24 receives the video duration that the current remaining capacity of the storage device in the photographing device 21 can be stored, the video duration is displayed on a display component of the terminal device 24 such as a display screen, so that the user controls the number of shots of the current video.
  • the method further includes determining that the current remaining capacity of the storage device is storable for a video duration of 0 when the current remaining capacity of the storage device is less than a preset capacity value.
  • a preset capacity value may be set, and the preset capacity value may be the minimum capacity value recorded as C.
  • the processor in the photographing device determines that the current remaining capacity of the storage device is less than the preset capacity value, determining that the current remaining capacity of the storage device can store the video duration is 0, and at the same time, the photographing device displays the video duration 0 in the The display component of the camera is photographed so that the user knows that the storage device has no remaining capacity.
  • the photographing device can also send the video duration 0 to the terminal device on the ground, and the terminal device displays the video duration 0 on the display component of the terminal device.
  • the parameter information of the current video captured by the photographing device is acquired, and the capacity of the current video occupation storage device in a unit time is determined according to the historical video matched with the parameter information of the current video, and according to the current remaining capacity and unit of the storage device.
  • the current video occupies the capacity of the storage device, and determines the length of the video that can be stored in the remaining capacity. Since the parameter information of the historical video matches the parameter information of the current video, the current video can be accurately calculated according to the historical video.
  • the capacity of the storage device is such that the remaining storable video length of the memory card displayed by the photographing device is relatively accurate.
  • FIG. 5 is a flowchart of a method for processing remaining storage amount according to another embodiment of the present invention. As shown in FIG. 5, on the basis of the embodiment shown in FIG. 4, the method in this embodiment may include:
  • Step S501 Receive a shooting instruction.
  • the processor of the photographing device calculates the video duration of the current remaining capacity of the storage device according to the current remaining capacity Cap of the storage device and the capacity V2 of the current video occupying storage device per unit time, the format and resolution of the current video are determined.
  • the shooting device can also receive the user's shooting instruction.
  • Step S502 Decrease, according to the shooting instruction, a video duration that can be stored by the current remaining capacity of the storage device.
  • the processor in the photographing device receives the user's shooting instruction, and reduces the length of the video that can be stored in the current remaining capacity of the storage device by one second, that is, the video duration that the current remaining capacity of the storage device can be stored. Decrease as the number of shooting instructions increases.
  • the photographing device can display the decremented storable video duration on the display component such that the remaining video storage capacity displayed on the display component can be continuously decremented.
  • the current remaining capacity of the storage device may be There may be a certain cumulative error in the process of decrementing the stored video duration. In order to reduce or eliminate the accumulated error, it can be implemented by several feasible implementations as follows.
  • a feasible implementation manner is: receiving a parameter switching instruction of the current video; determining, according to a current remaining capacity of the storage device and a capacity of the current video occupying the storage device per unit time, determining the current storage device
  • the duration of the video that can be stored in the remaining capacity includes: determining, when the parameter switching instruction of the current video is received, determining the storage according to the current remaining capacity of the storage device and the capacity of the current video occupying storage device per unit time The duration of the video that the current remaining capacity of the device can store.
  • the photographing device captures and stores the current video at the current time t4, and the processor of the photographing device calculates, at the current time t4, the current remaining capacity of the storage device in the photographing device according to the at least one history video that matches the current video.
  • the video duration is 60 minutes.
  • the processor of the photographing device receives a shooting instruction, and the photographing device continues to capture the current video.
  • the remaining video capacity of the storage device can be continuously decremented on a 60-minute basis.
  • the processor of the photographing apparatus receives the user's stop shooting instruction and stops shooting.
  • the processor receives the parameter switching instruction of the current video by the user, for example, switching the scene of the current video.
  • the processor can according to the remaining capacity of the storage device and the current video per unit time according to time t7.
  • the capacity of the storage device is occupied, and the video duration of the storage device's current remaining capacity can be re-determined to reduce or eliminate the accumulated error formed during the video duration decrement.
  • Another possible implementation manner is: receiving a shooting mode switching instruction; determining, according to a current remaining capacity of the storage device and a capacity of the current video occupying storage device per unit time, determining a current remaining capacity of the storage device
  • the stored video duration includes: determining, when the photographing mode switching instruction is received, determining a current remaining capacity of the storage device according to a current remaining capacity of the storage device and a capacity of the current video occupying storage device per unit time The length of video that can be stored.
  • the photographing device captures and stores the current video at the current time t4, and the processor of the photographing device calculates, at the current time t4, the current remaining capacity of the storage device in the photographing device according to the at least one history video that matches the current video.
  • the video duration is 60 minutes.
  • the processor of the photographing device receives a shooting instruction, and the photographing device continues to capture the current video.
  • the remaining video capacity of the storage device can be continuously decremented on a 60-minute basis.
  • the processor of the photographing apparatus receives the user's stop shooting instruction and stops shooting.
  • the processor receives the user's shooting mode switching instruction, for example, switching the video shooting mode to the image capturing mode.
  • the processor can according to the remaining capacity of the storage device and the current video per unit time according to time t7.
  • the capacity of the storage device is occupied, and the video duration of the storage device's current remaining capacity can be re-determined to reduce or eliminate the accumulated error formed during the video duration decrement.
  • a further possible implementation manner is: receiving a user interface switching instruction; determining, according to a current remaining capacity of the storage device and a capacity of the current video occupying the storage device per unit time, determining a current remaining capacity of the storage device
  • the stored video duration includes: determining, when the user interface switching instruction is received, determining a current remaining capacity of the storage device according to a current remaining capacity of the storage device and a capacity of the current video occupying storage device per unit time The length of video that can be stored.
  • the terminal device on the ground is installed with an application (Application, APP) that controls the photographing device, and the APP includes a plurality of user interfaces.
  • the terminal device may generate a user interface switching instruction, and the The user interface switching instruction is sent to the photographing device, and when the processor of the photographing device receives the user interface switching instruction, the current storage device is re-determined according to the current remaining capacity of the storage device and the capacity of the current video occupying storage device per unit time.
  • the remaining capacity can be stored for the duration of the video to reduce or eliminate the cumulative error that occurs during the video's decrement.
  • the photographing device when the photographing device receives the parameter switching instruction, the shooting mode switching instruction, or the user interface switching instruction of the current video, the photographing device re-determines the length of the video that can be stored in the current remaining capacity of the storage device. In other embodiments, the photographing device may further determine a video duration that the current remaining capacity of the storage device can store when receiving other switching instructions or other non-shooting instructions, to reduce or eliminate the video duration. The cumulative error formed during the decrement process.
  • the photographing device when the photographing device receives the photographing instruction of the user, the duration of the video that can be stored in the current remaining capacity of the storage device is decremented, thereby preventing the user from skipping the video duration of the remaining capacity when continuously capturing the video, thereby improving the user.
  • the capturing device receives the parameter switching instruction, the shooting mode switching instruction, or the user interface switching instruction of the current video, the video duration of the current remaining capacity of the storage device is re-determined to reduce or eliminate the video duration. The cumulative error formed during the decrement process.
  • FIG. 6 is a structural diagram of a photographing apparatus according to an embodiment of the present invention.
  • the photographing apparatus 60 includes a processor 61, a storage device 62, and a display device 63.
  • the processor 61 is configured to: acquire parameter information of a current image captured by the photographing device; determine, according to the at least one historical image captured by the photographing device, a capacity of the current image occupation storage device 62, and parameter information of the historical image The parameter information of the current image is matched; according to the current remaining capacity of the storage device 62 and the capacity of the current image occupation storage device 62, the number of images storable by the current remaining capacity of the storage device 62 is determined; the storage device is displayed by the display device 63. 62
  • the current remaining capacity can store the number of images.
  • the parameter information of the current image includes at least one of the following: a format of the current image, a resolution of the current image, and a scene corresponding to the current image.
  • the parameter information of the historical image includes at least one of the following: a format of the historical image, a resolution of the historical image, and a scene corresponding to the historical image.
  • the photographing device 60 further includes: a communication interface 64; the communication interface 64 is configured to send the number of images storable by the current remaining capacity of the storage device 62 to the user terminal, so that the user terminal displays the current remaining of the storage device 62.
  • the number of images that can be stored in capacity is configured to send the number of images storable by the current remaining capacity of the storage device 62 to the user terminal, so that the user terminal displays the current remaining of the storage device 62. The number of images that can be stored in capacity.
  • the photographing device 60 further includes: a communication interface 64; the communication interface 64 is configured to receive a shooting instruction; the processor 61 is further configured to: decrement the number of images that can be stored by the current remaining capacity of the storage device 62 according to the shooting instruction .
  • the processor 61 is specifically configured to: when receiving the parameter switching instruction of the current image, determine the current storage device 62 according to the current remaining capacity of the storage device 62 and the capacity of the current image occupation storage device 62. The number of images that can be stored in the remaining capacity.
  • the processor 61 is specifically configured to: when receiving the shooting mode switching instruction, determine a current remaining capacity of the storage device 62 according to a current remaining capacity of the storage device 62 and a capacity of the current image occupation storage device 62. The number of images that can be stored.
  • the processor 61 is specifically configured to: when receiving the user interface switching instruction, determine a current remaining capacity of the storage device 62 according to a current remaining capacity of the storage device 62 and a capacity of the current image occupation storage device 62. The number of images that can be stored.
  • the processor 61 is specifically configured to: determine, according to the quantity of the at least one historical image captured by the shooting device, and the capacity of each historical image occupying storage device 62 in the at least one historical image, to determine the current image occupation The capacity of the storage device 62.
  • the processor 61 is further configured to: when the current remaining capacity of the storage device 62 is less than the preset capacity value, determine that the current remaining capacity of the storage device 62 can store the number of images as zero.
  • the parameter information of the current image captured by the photographing device is acquired, and the current image occupying the capacity of the storage device is determined according to the historical image that matches the parameter information of the current image, and is stored according to the current remaining capacity of the storage device and the current image.
  • the capacity of the device determines the number of images that can be stored in the remaining capacity. Since the parameter information of the historical image matches the parameter information of the current image, the current image can accurately calculate the capacity of the storage device according to the historical image, so that the shooting device The remaining number of images that can be stored on the memory card displayed is more accurate.
  • FIG. 7 is a structural diagram of a photographing apparatus according to another embodiment of the present invention.
  • the photographing apparatus 70 includes: a processor 71, a storage device 72, and a display device 73.
  • the processor 71 is configured to: capture a photographing device.
  • Parameter information of the current video determining, according to the at least one historical video captured by the photographing device, the capacity of the current video occupation storage device 72 in a unit time, the parameter information of the historical video and the parameter information of the current video Matching; determining the video duration that the current remaining capacity of the storage device 72 can be stored according to the current remaining capacity of the storage device 72 and the capacity of the current video occupation storage device 72 per unit time; displaying the current remaining of the storage device 72 by the display device 73 The length of video that can be stored in capacity.
  • the parameter information of the current video includes at least one of the following: a format of the current video, a resolution of the current video, and a scenario corresponding to the current video.
  • the parameter information of the historical video includes at least one of the following: a format of the historical video, a resolution of the historical video, and a scene corresponding to the historical video.
  • the photographing device 70 further includes: a communication interface 74.
  • the communication interface 74 is configured to: send a video duration that can be stored by the current remaining capacity of the storage device 72 to the user terminal, so that the user terminal displays the current storage device 72.
  • the remaining video can be stored for the duration of the video.
  • the photographing device 70 further includes: a communication interface 74; the communication interface 74 is configured to receive a shooting instruction; the processor 71 is further configured to: decrement the video duration that can be stored by the current remaining capacity of the storage device 72 according to the shooting instruction .
  • the processor 71 is specifically configured to: when receiving the parameter switching instruction of the current video, determine the storage device according to the current remaining capacity of the storage device 72 and the capacity of the current video occupation storage device 72 per unit time 72 The current remaining capacity can be stored for the duration of the video.
  • the processor 71 is configured to: when receiving the shooting mode switching instruction, determine the current storage device 72 according to the current remaining capacity of the storage device 72 and the capacity of the current video occupation storage device per unit time.
  • the remaining video can be stored for the duration of the video.
  • the processor 71 is configured to: when receiving the user interface switching instruction, determine the current storage device 72 according to the current remaining capacity of the storage device 72 and the capacity of the current video occupation storage device per unit time.
  • the remaining video can be stored for the duration of the video.
  • the processor 71 is configured to: determine, according to the duration of the at least one historical video captured by the photographing device, and the capacity of each historical video occupying storage device 72 in the at least one historical video, determine the unit time The current video occupies the capacity of the storage device.
  • the processor 71 is further configured to: when the current remaining capacity of the storage device 72 is less than the preset capacity value, determine that the current remaining capacity of the storage device 72 can be stored as a video duration of zero.
  • the parameter information of the current video captured by the photographing device is acquired, and the capacity of the current video occupation storage device in a unit time is determined according to the historical video matched with the parameter information of the current video, and according to the current remaining capacity and unit of the storage device.
  • the current video occupies the capacity of the storage device, and determines the length of the video that can be stored in the remaining capacity. Since the parameter information of the historical video matches the parameter information of the current video, the current video can be accurately calculated according to the historical video.
  • the capacity of the storage device is such that the remaining storable video length of the memory card displayed by the photographing device is relatively accurate.
  • an embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program, which is executed by a processor to implement a remaining memory amount processing method as described in the above embodiments.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling or direct coupling or communication connection between the various components shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

本申请实施例提供一种剩余存储量处理方法、拍摄设备及计算机可读存储介质,该方法包括:获取拍摄设备拍摄的当前图像的参数信息;根据拍摄设备拍摄的至少一个历史图像,确定当前图像占用存储装置的容量,历史图像的参数信息与当前图像的参数信息相匹配;根据存储装置当前的剩余容量和当前图像占用存储装置的容量,确定存储装置当前的剩余容量可存储的图像数量;显示存储装置当前的剩余容量可存储的图像数量。本申请实施例通过获取拍摄设备拍摄的当前图像的参数信息,根据与该当前图像的参数信息匹配的历史图像,可准确计算出当前图像占用存储装置的容量,使得该拍摄设备显示的该存储卡剩余可存储的图像数量较为精准。

Description

剩余存储量处理方法、拍摄设备及计算机可读存储介质 技术领域
本发明实施例涉及无人机领域,尤其涉及一种剩余存储量处理方法、拍摄设备及计算机可读存储介质。
背景技术
现有技术中拍摄设备包括存储卡,该存储卡可用于存储该拍摄设备拍摄的图像或视频,该拍摄设备可显示该存储卡剩余可存储的图像数量或视频时长。
但是,由于该拍摄设备拍摄各图像或各视频时的场景不同、格式不同、分辩率不同,导致该拍摄设备显示的该存储卡剩余容量可存储的图像数量或视频时长不精准。
发明内容
本发明实施例提供一种剩余存储量处理方法、拍摄设备及计算机可读存储介质,以提高拍摄设备显示的存储卡剩余容量可存储的图像数量或视频时长的精确度。
本发明实施例的第一方面是提供一种剩余存储量处理方法,包括:
获取拍摄设备拍摄的当前图像的参数信息;
根据所述拍摄设备拍摄的至少一个历史图像,确定所述当前图像占用存储装置的容量,所述历史图像的参数信息与所述当前图像的参数信息相匹配;
根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量;
显示所述存储装置当前的剩余容量可存储的图像数量。
本发明实施例的第二方面是提供一种剩余存储量处理方法,包括:
获取拍摄设备拍摄的当前视频的参数信息;
根据所述拍摄设备拍摄的至少一个历史视频,确定单位时间内所述当 前视频占用存储装置的容量,所述历史视频的参数信息与所述当前视频的参数信息相匹配;
根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长;
显示所述存储装置当前的剩余容量可存储的视频时长。
本发明实施例的第三方面是提供一种拍摄设备,包括:处理器、存储装置和显示装置;
所述处理器用于:
获取拍摄设备拍摄的当前图像的参数信息;
根据所述拍摄设备拍摄的至少一个历史图像,确定所述当前图像占用存储装置的容量,所述历史图像的参数信息与所述当前图像的参数信息相匹配;
根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量;
通过所述显示装置显示所述存储装置当前的剩余容量可存储的图像数量。
本发明实施例的第四方面是提供一种拍摄设备,包括:处理器、存储装置和显示装置;
所述处理器用于:
获取拍摄设备拍摄的当前视频的参数信息;
根据所述拍摄设备拍摄的至少一个历史视频,确定单位时间内所述当前视频占用存储装置的容量,所述历史视频的参数信息与所述当前视频的参数信息相匹配;
根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长;
通过所述显示装置显示所述存储装置当前的剩余容量可存储的视频时长。
本发明实施例的第五方面是提供一种计算机可读存储介质,包括:其上存储有计算机程序,所述计算机程序被处理器执行以实现第一方面或第二方面所述的方法。
本实施例提供的剩余存储量处理方法、拍摄设备及计算机可读存储介质,通过获取拍摄设备拍摄的当前图像的参数信息,根据与该当前图像的参数信息匹配的历史图像,确定当前图像占用存储装置的容量,并根据存储装置当前的剩余容量和当前图像占用存储装置的容量,确定该剩余容量可存储的图像数量,由于历史图像的参数信息与当前图像的参数信息相匹配,所以根据该历史图像可准确计算出当前图像占用存储装置的容量,使得该拍摄设备显示的该存储卡剩余可存储的图像数量较为精准。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的剩余存储量处理方法的流程图;
图2为本发明实施例提供的应用场景示意图;
图3为本发明另一实施例提供的剩余存储量处理方法的流程图;
图4为本发明另一实施例提供的剩余存储量处理方法的流程图;
图5为本发明另一实施例提供的剩余存储量处理方法的流程图;
图6为本发明实施例提供的拍摄设备的结构图;
图7为本发明另一实施例提供的拍摄设备的结构图。
附图标记:
20:无人机;        21:拍摄设备;      22:云台;
23:通信系统;      24:终端设备;      60:拍摄设备;
61:处理器;        62:存储装置;       63:显示装置;
64:通讯接口;      70:拍摄设备;       71:处理器;
72:存储装置;      73:显示装置;       74:通讯接口。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不 是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。
本发明实施例提供一种剩余存储量处理方法。图1为本发明实施例提供的剩余存储量处理方法的流程图。如图1所示,本实施例中的方法,可以包括:
步骤S101、获取拍摄设备拍摄的当前图像的参数信息。
在本实施例中,拍摄设备可以搭载在无人机上,也可以设置在手持云台上,还可以直接由用户所持。在其他实施例中,该拍摄设备还可以是具有拍摄功能的终端设备,该终端设备具体可以是用户设备例如手机、平板电脑等。
当拍摄设备处于拍摄状态时,该拍摄设备中的图像传感器可实时感测图像,该拍摄设备将该图像传感器感测的图像显示在显示组件例如显示屏上,以便用户观测该图像,并对该拍摄设备的参数进行调节,使该图像清晰。
在本实施例中,当该拍摄设备拍摄当前图像时,该拍摄设备中的处理器例如图像处理器会将该当前图像存储在该拍摄设备的存储装置例如存储卡中,该存储卡具体可以是安全数码卡(Secure Digital Memory Card,sdcard)。同时,该处理器还可以获取该当前图像的参数信息。可选的,所述当前图像的参数信息包括如下至少一种:所述当前图像的格式、所述当前图像的分辨率、所述当前图像对应的场景。可选的,所述当前图像的 格式具体可以是当前图像存储在sdcard中的格式,该格式包括如下至少一种:JPEG、TIFF、RAW,此处只是示意性说明,并不限定该当前图像的具体格式。所述当前图像的分辨率是指所述当前图像中的像素点的密度,例如,所述当前图像的分辨率可以是所述当前图像中单位长度上的像素值。所述当前图像的分辨率越高,所述当前图像的分辨率越清晰。所述当前图像对应的场景包括如下至少一种:人物场景、风景场景、建筑场景等。
步骤S102、根据所述拍摄设备拍摄的至少一个历史图像,确定所述当前图像占用存储装置的容量,所述历史图像的参数信息与所述当前图像的参数信息相匹配。
该拍摄设备在拍摄当前图像之前,还可拍摄并存储有多个历史图像。当该拍摄设备中的处理器将该当前图像存储在该拍摄设备的存储装置例如存储卡后,该处理器可根据该当前图像的参数信息例如格式、分辨率、场景中的至少一个,从多个历史图像中查找与该当前图像匹配的至少一个历史图像,可选的,该至少一个历史图像的参数信息与该当前图像的参数信息相匹配,所述历史图像的参数信息包括如下至少一种:所述历史图像的格式、所述历史图像的分辨率、所述历史图像对应的场景。
例如,该至少一个历史图像中每个历史图像的格式与该当前图像的格式一致,该至少一个历史图像中每个历史图像的分辨率与该当前图像的分辨率一致,该至少一个历史图像中每个历史图像对应的场景与该当前图像对应的场景一致。
在本实施例中,该处理器可根据存储装置中存储的与该当前图像匹配的至少一个历史图像,确定该当前图像占用存储装置的容量。例如,该处理器可根据存储装置中存储的与该当前图像匹配的至少一个历史图像在该存储装置中占用的平均容量,确定该当前图像占用存储装置的容量。
具体的,所述根据所述拍摄设备拍摄的至少一个历史图像,确定所述当前图像占用存储装置的容量,包括:根据所述拍摄设备拍摄的至少一个历史图像的数量,以及所述至少一个历史图像中每个历史图像占用所述存储装置的容量,确定所述当前图像占用存储装置的容量。
例如,该拍摄设备在历史时刻t0拍摄并存储有历史图像1,在历史时刻t1拍摄并存储有历史图像2,在历史时刻t3拍摄并存储有历史图像3, 在当前时刻t4拍摄并存储有当前图像。历史图像1、历史图像2和历史图像3分别与当前图像匹配,该拍摄设备的处理器可根据历史图像1在该存储装置中占用的容量V11、历史图像2在该存储装置中占用的容量V12,以及历史图像3在该存储装置中占用的容量V13,计算历史图像1、历史图像2和历史图像3在该存储装置中占用的平均容量V1,V1=(V11+V12+V13)/3。由于历史图像1、历史图像2和历史图像3分别与当前图像匹配,则可将历史图像1、历史图像2和历史图像3在该存储装置中占用的平均容量为V1作为该当前图像占用存储装置的容量。
步骤S103、根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量。
该处理器根据存储装置当前的剩余容量Cap和该当前图像占用存储装置的容量V1,可确定出该存储装置当前的剩余容量可存储的图像数量,该图像数量为Cap除以V1。
步骤S104、显示所述存储装置当前的剩余容量可存储的图像数量。
该处理器确定出该存储装置当前的剩余容量可存储的图像数量之后,将该图像数量显示在该拍摄设备的显示组件例如显示屏上,以便用户控制当前图像的拍摄数量。
在其他实施例中,所述确定所述存储装置当前的剩余容量可存储的图像数量之后,还包括:将所述存储装置当前的剩余容量可存储的图像数量发送给用户终端,以使所述用户终端显示所述存储装置当前的剩余容量可存储的图像数量。
如图2所示,拍摄设备21通过云台22搭载在无人机20上,当拍摄设备21中的处理器确定出该存储装置当前的剩余容量可存储的图像数量之后,还可以通过无人机20的通信系统23将该图像数量发送给地面的终端设备24,用户可通过终端设备24控制无人机20飞行或控制拍摄设备21拍摄图像。当终端设备24接收到拍摄设备21中存储装置当前的剩余容量可存储的图像数量时,将该图像数量显示在终端设备24的显示组件例如显示屏上,以便用户控制当前图像的拍摄数量。
另外,在一些实施例中,所述方法还包括:当所述存储装置当前的剩余容量小于预设容量值时,确定所述存储装置当前的剩余容量可存储的图 像数量为0。
例如,为了避免拍摄设备或终端设备24显示还有剩余的图像数量,而存储装置实际已没有剩余容量,可设置一个预设容量值,该预设容量值可以是最小容量值记为C。当该拍摄设备中的处理器确定该存储装置当前的剩余容量小于预设容量值时,确定存储装置当前的剩余容量可存储的图像数量为0,同时,该拍摄设备将该图像数量0显示在该拍摄设备的显示组件上,以便用户知晓该存储装置已没有剩余容量。另外,该拍摄设备还可以将该图像数量0发送给地面的终端设备,该终端设备将该图像数量0显示在该终端设备的显示组件上。
本实施例通过获取拍摄设备拍摄的当前图像的参数信息,根据与该当前图像的参数信息匹配的历史图像,确定当前图像占用存储装置的容量,并根据存储装置当前的剩余容量和当前图像占用存储装置的容量,确定该剩余容量可存储的图像数量,由于历史图像的参数信息与当前图像的参数信息相匹配,所以根据该历史图像可准确计算出当前图像占用存储装置的容量,使得该拍摄设备显示的该存储卡剩余可存储的图像数量较为精准。
本发明实施例提供一种剩余存储量处理方法。图3为本发明另一实施例提供的剩余存储量处理方法的流程图。如图3所示,在图1所示实施例的基础上,本实施例中的方法,还可以包括:
步骤S301、接收拍摄指令。
当拍摄设备的处理器根据存储装置当前的剩余容量Cap和该当前图像占用存储装置的容量V1,计算出该存储装置当前的剩余容量可存储的图像数量后,在当前图像的格式、分辨率、场景不变的情况下,用户还可以继续拍摄图像,相应的,该拍摄设备还可以接收用户的拍摄指令。
步骤S302、根据所述拍摄指令对所述存储装置当前的剩余容量可存储的图像数量进行递减。
在本实施例中,该拍摄设备中的处理器每接收一次用户的拍摄指令,对存储装置当前的剩余容量可存储的图像数量减一,即该存储装置当前的剩余容量可存储的图像数量随着拍摄指令的增加而递减。同时,该拍摄设备可将递减后的可存储的图像数量显示在显示组件上,使得该显示组件上 显示的存储装置剩余容量可存储的图像数量是连续递减的。
另外,由于拍摄设备连续拍摄的多张图像的参数信息可能不完全一致,或者,该拍摄设备在预设时间内拍摄的多张图像的参数信息可能不完全一致,对存储装置当前的剩余容量可存储的图像数量进行递减的过程中,可能会有一定的累积误差。为了减少或消除该累积误差,可通过如下几种可行的实现方式来实现。
一种可行的实现方式是:接收所述当前图像的参数切换指令;所述根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量,包括:当接收到所述当前图像的参数切换指令时,根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量。
例如,拍摄设备在当前时刻t4拍摄并存储有当前图像,该拍摄设备的处理器在当前时刻t4根据与该当前图像匹配的至少一个历史图像计算出该拍摄设备中存储装置当前的剩余容量可存储的图像数量为80。在t5时刻该拍摄设备的处理器接收到一次拍摄指令,将该剩余容量可存储的图像数量80减1得到79。在t6时刻该拍摄设备的处理器又接收到一次拍摄指令,并将该剩余容量可存储的图像数量79减1得到78。在t7时刻,该处理器接收到了用户对当前图像的参数切换指令,例如,对当前图像的场景进行切换,此时,该处理器可根据t7时刻该存储装置的剩余容量和当前图像占用存储装置的容量,重新确定该存储装置当前的剩余容量可存储的图像数量,例如,重新计算后的剩余容量可存储的图像数量为76,在当前图像的场景切换完成时,该处理器将重新计算后的剩余容量可存储的图像数量76显示在显示组件。虽然从t6时刻的78到t7时刻的76存在一定的跳变,但是该跳变可减小或消除图像数量递减过程中形成的累积误差。
另一种可行的实现方式是:接收拍摄模式切换指令;所述根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量,包括:当接收到所述拍摄模式切换指令时,根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数 量。
例如,该处理器在t4时刻计算出的存储装置当前的剩余容量可存储的图像数量为80,在t5时刻将该剩余容量可存储的图像数量80减1得到79,在t6时刻该剩余容量可存储的图像数量79减1得到78。在t7时刻,该处理器接收到了用户的拍摄模式切换指令,例如,将图像拍摄模式切换到了视频拍摄模式,此时,该处理器可根据t7时刻该存储装置的剩余容量和当前图像占用存储装置的容量,重新确定该存储装置当前的剩余容量可存储的图像数量,例如,重新计算后的剩余容量可存储的图像数量为76。
再一种可行的实现方式是:接收用户界面切换指令;所述根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量,包括:当接收到所述用户界面切换指令时,根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量。
例如,地面的终端设备安装有控制该拍摄设备的应用程序(Application,APP),该APP包括多个用户界面,当用户对用户界面切换时,该终端设备可生成用户界面切换指令,并将该用户界面切换指令发送给拍摄设备,当该拍摄设备的处理器接收到用户界面切换指令时,根据该存储装置当前的剩余容量和当前图像占用存储装置的容量,重新确定该存储装置当前的剩余容量可存储的图像数量。
在本实施例中,拍摄设备接收到用户的对当前图像的参数切换指令、拍摄模式切换指令或用户界面切换指令时,重新确定该存储装置当前的剩余容量可存储的图像数量,此处只是示意性说明,在其他实施例中,该拍摄设备还可以在接收到其他切换指令或其他的非拍摄指令时,重新确定该存储装置当前的剩余容量可存储的图像数量,以较小或消除图像数量递减过程中形成的累积误差。
本实施例通过拍摄设备接收到用户的拍摄指令时,对该存储装置当前的剩余容量可存储的图像数量进行递减,避免用户在连续拍摄图像时剩余容量可存储的图像数量跳变,提高了用户体验。另外,通过拍摄设备接收到用户的对当前图像的参数切换指令、拍摄模式切换指令或用户界面切换 指令时,重新确定该存储装置当前的剩余容量可存储的图像数量,以较小或消除图像数量递减过程中形成的累积误差。
本发明实施例提供一种剩余存储量处理方法。图4为本发明另一实施例提供的剩余存储量处理方法的流程图。如图4所示,本实施例中的方法,可以包括:
步骤S401、获取拍摄设备拍摄的当前视频的参数信息。
在本实施例中,当拍摄设备拍摄当前视频时,该拍摄设备中的处理器例如图像处理器会将该当前视频存储在该拍摄设备的存储装置例如存储卡中,该存储卡具体可以是安全数码卡(Secure Digital Memory Card,sdcard)。同时,该处理器还可以获取该当前视频的参数信息。可选的,所述当前视频的参数信息包括如下至少一种:所述当前视频的格式、所述当前视频的分辨率、所述当前视频对应的场景。可选的,所述当前视频的格式具体可以是当前视频存储在sdcard中的格式,该格式包括如下至少一种:MP4、MPG、AVI、WMV、FLV、SWF,此处只是示意性说明,并不限定该当前视频的具体格式。所述当前视频对应的场景包括如下至少一种:人物场景、风景场景、建筑场景等。
步骤S402、根据所述拍摄设备拍摄的至少一个历史视频,确定单位时间内所述当前视频占用存储装置的容量,所述历史视频的参数信息与所述当前视频的参数信息相匹配。
该拍摄设备在拍摄当前视频之前,还可拍摄并存储有多个历史视频。当该拍摄设备中的处理器将该当前视频存储在该拍摄设备的存储装置例如存储卡后,该处理器可根据该当前视频的参数信息例如格式、分辨率、场景中的至少一个,从多个历史视频中查找与该当前视频匹配的至少一个历史视频,可选的,该至少一个历史视频的参数信息与该当前视频的参数信息相匹配,所述历史视频的参数信息包括如下至少一种:所述历史视频的格式、所述历史视频的分辨率、所述历史视频对应的场景。
例如,该至少一个历史视频中每个历史视频的格式与该当前视频的格式一致,该至少一个历史视频中每个历史视频的分辨率与该当前视频的分辨率一致,该至少一个历史视频中每个历史视频对应的场景与该当前视频 对应的场景一致。
在本实施例中,该处理器可根据存储装置中存储的与该当前视频匹配的至少一个历史视频,确定该当前视频占用存储装置的容量。例如,该处理器可根据存储装置中存储的与该当前视频匹配的至少一个历史视频在该存储装置中占用的平均容量,确定该当前视频占用存储装置的容量。
具体的,所述根据所述拍摄设备拍摄的至少一个历史视频,确定单位时间内所述当前视频占用存储装置的容量,包括:根据所述拍摄设备拍摄的至少一个历史视频的时长,以及所述至少一个历史视频中每个历史视频占用所述存储装置的容量,确定单位时间内所述当前视频占用存储装置的容量。
例如,该拍摄设备在历史时刻t0拍摄并存储有历史视频1,在历史时刻t1拍摄并存储有历史视频2,在历史时刻t3拍摄并存储有历史视频3,在当前时刻t4拍摄并存储有当前视频。历史视频1、历史视频2和历史视频3分别与当前视频匹配,该拍摄设备的处理器可根据历史视频1的时长和历史视频1在该存储装置中占用的容量,确定出单位时间内例如每一秒的历史视频1在该存储装置中占用的容量V21;根据历史视频2的时长和历史视频2在该存储装置中占用的容量,确定出单位时间内例如每一秒的历史视频2在该存储装置中占用的容量V22;根据历史视频3的时长和历史视频3在该存储装置中占用的容量,确定出单位时间内例如每一秒的历史视频3在该存储装置中占用的容量V23。进一步根据单位时间内例如每一秒的历史视频1在该存储装置中占用的容量V21、单位时间内例如每一秒的历史视频2在该存储装置中占用的容量V22、单位时间内例如每一秒的历史视频3在该存储装置中占用的容量V23,计算单位时间内例如每一秒的历史视频1、历史视频2和历史视频3在该存储装置中占用的平均容量V2,V2=(V21+V22+V23)/3。由于历史视频1、历史视频2和历史视频3分别与当前视频匹配,则可将单位时间内例如每一秒的历史视频1、历史视频2和历史视频3在该存储装置中占用的平均容量V2作为单位时间内该当前视频占用存储装置的容量。
步骤S403、根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视 频时长。
该处理器根据存储装置当前的剩余容量Cap和单位时间内该当前视频占用存储装置的容量V2,可确定出该存储装置当前的剩余容量可存储的视频时长,该视频时长为Cap除以V2。
步骤S404、显示所述存储装置当前的剩余容量可存储的视频时长。
该处理器确定出该存储装置当前的剩余容量可存储的视频时长之后,将该视频时长显示在该拍摄设备的显示组件例如显示屏上,以便用户控制当前视频的拍摄时长。
在其他实施例中,所述确定所述存储装置当前的剩余容量可存储的视频时长之后,还包括:将所述存储装置当前的剩余容量可存储的视频时长发送给用户终端,以使所述用户终端显示所述存储装置当前的剩余容量可存储的视频时长。
如图2所示,拍摄设备21通过云台22搭载在无人机20上,当拍摄设备21中的处理器确定出该存储装置当前的剩余容量可存储的视频时长之后,还可以通过无人机20的通信系统23将该视频时长发送给地面的终端设备24,用户可通过终端设备24控制无人机20飞行或控制拍摄设备21拍摄视频。当终端设备24接收到拍摄设备21中存储装置当前的剩余容量可存储的视频时长时,将该视频时长显示在终端设备24的显示组件例如显示屏上,以便用户控制当前视频的拍摄数量。
另外,在一些实施例中,所述方法还包括:当所述存储装置当前的剩余容量小于预设容量值时,确定所述存储装置当前的剩余容量可存储的视频时长为0。
例如,为了避免拍摄设备或终端设备24显示还有剩余的视频时长,而存储装置实际已没有剩余容量,可设置一个预设容量值,该预设容量值可以是最小容量值记为C。当该拍摄设备中的处理器确定该存储装置当前的剩余容量小于预设容量值时,确定存储装置当前的剩余容量可存储的视频时长为0,同时,该拍摄设备将视频时长0显示在该拍摄设备的显示组件上,以便用户知晓该存储装置已没有剩余容量。另外,该拍摄设备还可以将该视频时长0发送给地面的终端设备,该终端设备将该视频时长0显示在该终端设备的显示组件上。
本实施例通过获取拍摄设备拍摄的当前视频的参数信息,根据与该当前视频的参数信息匹配的历史视频,确定单位时间内当前视频占用存储装置的容量,并根据存储装置当前的剩余容量和单位时间内当前视频占用存储装置的容量,确定该剩余容量可存储的视频时长,由于历史视频的参数信息与当前视频的参数信息相匹配,所以根据该历史视频可准确计算出单位时间内当前视频占用存储装置的容量,使得该拍摄设备显示的该存储卡剩余可存储的视频时长较为精准。
本发明实施例提供一种剩余存储量处理方法。图5为本发明另一实施例提供的剩余存储量处理方法的流程图。如图5所示,在图4所示实施例的基础上,本实施例中的方法,可以包括:
步骤S501、接收拍摄指令。
当拍摄设备的处理器根据存储装置当前的剩余容量Cap和单位时间内当前视频占用存储装置的容量V2,计算出该存储装置当前的剩余容量可存储的视频时长后,在当前视频的格式、分辨率、场景不变的情况下,用户还可以继续拍摄视频,相应的,该拍摄设备还可以接收用户的拍摄指令。
步骤S502、根据所述拍摄指令对所述存储装置当前的剩余容量可存储的视频时长进行递减。
在本实施例中,该拍摄设备中的处理器每接收一次用户的拍摄指令,对存储装置当前的剩余容量可存储的视频时长减一秒,即该存储装置当前的剩余容量可存储的视频时长随着拍摄指令的增加而递减。同时,该拍摄设备可将递减后的可存储的视频时长显示在显示组件上,使得该显示组件上显示的存储装置剩余容量可存储的视频时长是连续递减的。
另外,由于拍摄设备连续拍摄的多个视频的参数信息可能不完全一致,或者,该拍摄设备在预设时间内拍摄的多个视频的参数信息可能不完全一致,对存储装置当前的剩余容量可存储的视频时长进行递减的过程中,可能会有一定的累积误差。为了减少或消除该累积误差,可通过如下几种可行的实现方式来实现。
一种可行的实现方式是:接收所述当前视频的参数切换指令;所述根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装 置的容量,确定所述存储装置当前的剩余容量可存储的视频时长,包括:当接收到所述当前视频的参数切换指令时,根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长。
例如,拍摄设备在当前时刻t4拍摄并存储有当前视频,该拍摄设备的处理器在当前时刻t4根据与该当前视频匹配的至少一个历史视频计算出该拍摄设备中存储装置当前的剩余容量可存储的视频时长为60分钟。在t5时刻该拍摄设备的处理器接收到一次拍摄指令,该拍摄设备继续拍摄当前视频,在当前视频的拍摄过程中,存储装置的剩余容量可存储的视频时长在60分钟的基础上连续递减。在t6时刻,该拍摄设备的处理器接收到用户的停止拍摄指令,并停止拍摄。在t7时刻,该处理器接收到了用户对当前视频的参数切换指令,例如,对当前视频的场景进行切换,此时,该处理器可根据t7时刻该存储装置的剩余容量和单位时间内当前视频占用存储装置的容量,重新确定该存储装置当前的剩余容量可存储的视频时长,以减小或消除视频时长递减过程中形成的累积误差。
另一种可行的实现方式是:接收拍摄模式切换指令;所述根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长,包括:当接收到所述拍摄模式切换指令时,根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长。
例如,拍摄设备在当前时刻t4拍摄并存储有当前视频,该拍摄设备的处理器在当前时刻t4根据与该当前视频匹配的至少一个历史视频计算出该拍摄设备中存储装置当前的剩余容量可存储的视频时长为60分钟。在t5时刻该拍摄设备的处理器接收到一次拍摄指令,该拍摄设备继续拍摄当前视频,在当前视频的拍摄过程中,存储装置的剩余容量可存储的视频时长在60分钟的基础上连续递减。在t6时刻,该拍摄设备的处理器接收到用户的停止拍摄指令,并停止拍摄。在t7时刻,该处理器接收到了用户的拍摄模式切换指令,例如,将视频拍摄模式切换为图像拍摄模式,此时,该处理器可根据t7时刻该存储装置的剩余容量和单位时间内当前 视频占用存储装置的容量,重新确定该存储装置当前的剩余容量可存储的视频时长,以减小或消除视频时长递减过程中形成的累积误差。
再一种可行的实现方式是:接收用户界面切换指令;所述根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长,包括:当接收到所述用户界面切换指令时,根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长。
例如,地面的终端设备安装有控制该拍摄设备的应用程序(Application,APP),该APP包括多个用户界面,当用户对用户界面切换时,该终端设备可生成用户界面切换指令,并将该用户界面切换指令发送给拍摄设备,当该拍摄设备的处理器接收到用户界面切换指令时,根据该存储装置当前的剩余容量和单位时间内当前视频占用存储装置的容量,重新确定该存储装置当前的剩余容量可存储的视频时长,以减小或消除视频时长递减过程中形成的累积误差。
在本实施例中,拍摄设备接收到用户的对当前视频的参数切换指令、拍摄模式切换指令或用户界面切换指令时,重新确定该存储装置当前的剩余容量可存储的视频时长,此处只是示意性说明,在其他实施例中,该拍摄设备还可以在接收到其他切换指令或其他的非拍摄指令时,重新确定该存储装置当前的剩余容量可存储的视频时长,以减小或消除视频时长递减过程中形成的累积误差。
本实施例通过拍摄设备接收到用户的拍摄指令时,对该存储装置当前的剩余容量可存储的视频时长进行递减,避免用户在连续拍摄视频时剩余容量可存储的视频时长跳变,提高了用户体验。另外,通过拍摄设备接收到用户的对当前视频的参数切换指令、拍摄模式切换指令或用户界面切换指令时,重新确定该存储装置当前的剩余容量可存储的视频时长,以减小或消除视频时长递减过程中形成的累积误差。
本发明实施例提供一种拍摄设备。图6为本发明实施例提供的拍摄设备的结构图,如图6所示,拍摄设备60包括:处理器61、存储装置62 和显示装置63。处理器61用于:获取拍摄设备拍摄的当前图像的参数信息;根据所述拍摄设备拍摄的至少一个历史图像,确定所述当前图像占用存储装置62的容量,所述历史图像的参数信息与所述当前图像的参数信息相匹配;根据存储装置62当前的剩余容量和所述当前图像占用存储装置62的容量,确定存储装置62当前的剩余容量可存储的图像数量;通过显示装置63显示存储装置62当前的剩余容量可存储的图像数量。
可选的,所述当前图像的参数信息包括如下至少一种:所述当前图像的格式、所述当前图像的分辨率、所述当前图像对应的场景。
可选的,所述历史图像的参数信息包括如下至少一种:所述历史图像的格式、所述历史图像的分辨率、所述历史图像对应的场景。
可选的,拍摄设备60还包括:通讯接口64;通讯接口64用于将存储装置62当前的剩余容量可存储的图像数量发送给用户终端,以使所述用户终端显示存储装置62当前的剩余容量可存储的图像数量。
可选的,拍摄设备60还包括:通讯接口64;通讯接口64用于接收拍摄指令;处理器61还用于:根据所述拍摄指令对存储装置62当前的剩余容量可存储的图像数量进行递减。
可选的,处理器61具体用于:在接收到所述当前图像的参数切换指令时,根据存储装置62当前的剩余容量和所述当前图像占用存储装置62的容量,确定存储装置62当前的剩余容量可存储的图像数量。
可选的,处理器61具体用于:在接收到所述拍摄模式切换指令时,根据存储装置62当前的剩余容量和所述当前图像占用存储装置62的容量,确定存储装置62当前的剩余容量可存储的图像数量。
可选的,处理器61具体用于:在接收到所述用户界面切换指令时,根据存储装置62当前的剩余容量和所述当前图像占用存储装置62的容量,确定存储装置62当前的剩余容量可存储的图像数量。
可选的,处理器61具体用于:根据所述拍摄设备拍摄的至少一个历史图像的数量,以及所述至少一个历史图像中每个历史图像占用存储装置62的容量,确定所述当前图像占用存储装置62的容量。
可选的,处理器61还用于:当存储装置62当前的剩余容量小于预设容量值时,确定存储装置62当前的剩余容量可存储的图像数量为0。
本发明实施例提供的拍摄设备的具体原理和实现方式均与图1所示实施例类似,此处不再赘述。
本实施例通过获取拍摄设备拍摄的当前图像的参数信息,根据与该当前图像的参数信息匹配的历史图像,确定当前图像占用存储装置的容量,并根据存储装置当前的剩余容量和当前图像占用存储装置的容量,确定该剩余容量可存储的图像数量,由于历史图像的参数信息与当前图像的参数信息相匹配,所以根据该历史图像可准确计算出当前图像占用存储装置的容量,使得该拍摄设备显示的该存储卡剩余可存储的图像数量较为精准。
本发明实施例提供一种拍摄设备。图7为本发明另一实施例提供的拍摄设备的结构图,如图7所示,拍摄设备70包括:处理器71、存储装置72和显示装置73;处理器71用于:获取拍摄设备拍摄的当前视频的参数信息;根据所述拍摄设备拍摄的至少一个历史视频,确定单位时间内所述当前视频占用存储装置72的容量,所述历史视频的参数信息与所述当前视频的参数信息相匹配;根据存储装置72当前的剩余容量和单位时间内所述当前视频占用存储装置72的容量,确定存储装置72当前的剩余容量可存储的视频时长;通过显示装置73显示存储装置72当前的剩余容量可存储的视频时长。
可选的,所述当前视频的参数信息包括如下至少一种:所述当前视频的格式、所述当前视频的分辨率、所述当前视频对应的场景。
可选的,所述历史视频的参数信息包括如下至少一种:所述历史视频的格式、所述历史视频的分辨率、所述历史视频对应的场景。
可选的,拍摄设备70还包括:通讯接口74;通讯接口74用于:将存储装置72当前的剩余容量可存储的视频时长发送给用户终端,以使所述用户终端显示存储装置72当前的剩余容量可存储的视频时长。
可选的,拍摄设备70还包括:通讯接口74;通讯接口74用于接收拍摄指令;处理器71还用于:根据所述拍摄指令对存储装置72当前的剩余容量可存储的视频时长进行递减。
可选的,处理器71具体用于:在接收到所述当前视频的参数切换指令时,根据存储装置72当前的剩余容量和单位时间内所述当前视频占用 存储装置72的容量,确定存储装置72当前的剩余容量可存储的视频时长。
可选的,处理器71具体用于:在接收到所述拍摄模式切换指令时,根据存储装置72当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定存储装置72当前的剩余容量可存储的视频时长。
可选的,处理器71具体用于:在接收到所述用户界面切换指令时,根据存储装置72当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定存储装置72当前的剩余容量可存储的视频时长。
可选的,处理器71具体用于:根据所述拍摄设备拍摄的至少一个历史视频的时长,以及所述至少一个历史视频中每个历史视频占用存储装置72的容量,确定单位时间内所述当前视频占用存储装置的容量。
可选的,处理器71还用于:当存储装置72当前的剩余容量小于预设容量值时,确定存储装置72当前的剩余容量可存储的视频时长为0。
本发明实施例提供的拍摄设备的具体原理和实现方式均与图4所示实施例类似,此处不再赘述。
本实施例通过获取拍摄设备拍摄的当前视频的参数信息,根据与该当前视频的参数信息匹配的历史视频,确定单位时间内当前视频占用存储装置的容量,并根据存储装置当前的剩余容量和单位时间内当前视频占用存储装置的容量,确定该剩余容量可存储的视频时长,由于历史视频的参数信息与当前视频的参数信息相匹配,所以根据该历史视频可准确计算出单位时间内当前视频占用存储装置的容量,使得该拍摄设备显示的该存储卡剩余可存储的视频时长较为精准。
另外,本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现如上述实施例所述的剩余存储量处理方法。
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之 间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (41)

  1. 一种剩余存储量处理方法,其特征在于,包括:
    获取拍摄设备拍摄的当前图像的参数信息;
    根据所述拍摄设备拍摄的至少一个历史图像,确定所述当前图像占用存储装置的容量,所述历史图像的参数信息与所述当前图像的参数信息相匹配;
    根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量;
    显示所述存储装置当前的剩余容量可存储的图像数量。
  2. 根据权利要求1所述的方法,其特征在于,所述当前图像的参数信息包括如下至少一种:
    所述当前图像的格式、所述当前图像的分辨率、所述当前图像对应的场景。
  3. 根据权利要求1所述的方法,其特征在于,所述历史图像的参数信息包括如下至少一种:
    所述历史图像的格式、所述历史图像的分辨率、所述历史图像对应的场景。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述确定所述存储装置当前的剩余容量可存储的图像数量之后,还包括:
    将所述存储装置当前的剩余容量可存储的图像数量发送给用户终端,以使所述用户终端显示所述存储装置当前的剩余容量可存储的图像数量。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收拍摄指令;
    根据所述拍摄指令对所述存储装置当前的剩余容量可存储的图像数量进行递减。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:
    接收所述当前图像的参数切换指令;
    所述根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量,包 括:
    当接收到所述当前图像的参数切换指令时,根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量。
  7. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:
    接收拍摄模式切换指令;
    所述根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量,包括:
    当接收到所述拍摄模式切换指令时,根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量。
  8. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:
    接收用户界面切换指令;
    所述根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量,包括:
    当接收到所述用户界面切换指令时,根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量。
  9. 根据权利要求1所述的方法,其特征在于,所述根据所述拍摄设备拍摄的至少一个历史图像,确定所述当前图像占用存储装置的容量,包括:
    根据所述拍摄设备拍摄的至少一个历史图像的数量,以及所述至少一个历史图像中每个历史图像占用所述存储装置的容量,确定所述当前图像占用存储装置的容量。
  10. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当所述存储装置当前的剩余容量小于预设容量值时,确定所述存储装 置当前的剩余容量可存储的图像数量为0。
  11. 一种剩余存储量处理方法,其特征在于,包括:
    获取拍摄设备拍摄的当前视频的参数信息;
    根据所述拍摄设备拍摄的至少一个历史视频,确定单位时间内所述当前视频占用存储装置的容量,所述历史视频的参数信息与所述当前视频的参数信息相匹配;
    根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长;
    显示所述存储装置当前的剩余容量可存储的视频时长。
  12. 根据权利要求11所述的方法,其特征在于,所述当前视频的参数信息包括如下至少一种:
    所述当前视频的格式、所述当前视频的分辨率、所述当前视频对应的场景。
  13. 根据权利要求11所述的方法,其特征在于,所述历史视频的参数信息包括如下至少一种:
    所述历史视频的格式、所述历史视频的分辨率、所述历史视频对应的场景。
  14. 根据权利要求11-13任一项所述的方法,其特征在于,所述确定所述存储装置当前的剩余容量可存储的视频时长之后,还包括:
    将所述存储装置当前的剩余容量可存储的视频时长发送给用户终端,以使所述用户终端显示所述存储装置当前的剩余容量可存储的视频时长。
  15. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    接收拍摄指令;
    根据所述拍摄指令对所述存储装置当前的剩余容量可存储的视频时长进行递减。
  16. 根据权利要求11-15任一项所述的方法,其特征在于,所述方法还包括:
    接收所述当前视频的参数切换指令;
    所述根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时 长,包括:
    当接收到所述当前视频的参数切换指令时,根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长。
  17. 根据权利要求11-15任一项所述的方法,其特征在于,所述方法还包括:
    接收拍摄模式切换指令;
    所述根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长,包括:
    当接收到所述拍摄模式切换指令时,根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长。
  18. 根据权利要求11-15任一项所述的方法,其特征在于,所述方法还包括:
    接收用户界面切换指令;
    所述根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长,包括:
    当接收到所述用户界面切换指令时,根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长。
  19. 根据权利要求11所述的方法,其特征在于,所述根据所述拍摄设备拍摄的至少一个历史视频,确定单位时间内所述当前视频占用存储装置的容量,包括:
    根据所述拍摄设备拍摄的至少一个历史视频的时长,以及所述至少一个历史视频中每个历史视频占用所述存储装置的容量,确定单位时间内所述当前视频占用存储装置的容量。
  20. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    当所述存储装置当前的剩余容量小于预设容量值时,确定所述存储装 置当前的剩余容量可存储的视频时长为0。
  21. 一种拍摄设备,其特征在于,包括:处理器、存储装置和显示装置;
    所述处理器用于:
    获取拍摄设备拍摄的当前图像的参数信息;
    根据所述拍摄设备拍摄的至少一个历史图像,确定所述当前图像占用存储装置的容量,所述历史图像的参数信息与所述当前图像的参数信息相匹配;
    根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量;
    通过所述显示装置显示所述存储装置当前的剩余容量可存储的图像数量。
  22. 根据权利要求21所述的拍摄设备,其特征在于,所述当前图像的参数信息包括如下至少一种:
    所述当前图像的格式、所述当前图像的分辨率、所述当前图像对应的场景。
  23. 根据权利要求21所述的拍摄设备,其特征在于,所述历史图像的参数信息包括如下至少一种:
    所述历史图像的格式、所述历史图像的分辨率、所述历史图像对应的场景。
  24. 根据权利要求21-23任一项所述的拍摄设备,其特征在于,还包括:通讯接口;
    所述通讯接口用于将所述存储装置当前的剩余容量可存储的图像数量发送给用户终端,以使所述用户终端显示所述存储装置当前的剩余容量可存储的图像数量。
  25. 根据权利要求21所述的拍摄设备,其特征在于,还包括:通讯接口;
    所述通讯接口用于接收拍摄指令;
    所述处理器还用于:根据所述拍摄指令对所述存储装置当前的剩余容量可存储的图像数量进行递减。
  26. 根据权利要求21-25任一项所述的拍摄设备,其特征在于,所述处理器具体用于:
    在接收到所述当前图像的参数切换指令时,根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量。
  27. 根据权利要求21-25任一项所述的拍摄设备,其特征在于,所述处理器具体用于:
    在接收到所述拍摄模式切换指令时,根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量。
  28. 根据权利要求21-25任一项所述的拍摄设备,其特征在于,所述处理器具体用于:
    在接收到用户界面切换指令时,根据所述存储装置当前的剩余容量和所述当前图像占用所述存储装置的容量,确定所述存储装置当前的剩余容量可存储的图像数量。
  29. 根据权利要求21所述的拍摄设备,其特征在于,所述处理器具体用于:
    根据所述拍摄设备拍摄的至少一个历史图像的数量,以及所述至少一个历史图像中每个历史图像占用所述存储装置的容量,确定所述当前图像占用存储装置的容量。
  30. 根据权利要求21所述的拍摄设备,其特征在于,所述处理器还用于:
    当所述存储装置当前的剩余容量小于预设容量值时,确定所述存储装置当前的剩余容量可存储的图像数量为0。
  31. 一种拍摄设备,其特征在于,包括:处理器、存储装置和显示装置;
    所述处理器用于:
    获取拍摄设备拍摄的当前视频的参数信息;
    根据所述拍摄设备拍摄的至少一个历史视频,确定单位时间内所述当前视频占用存储装置的容量,所述历史视频的参数信息与所述当前视频的 参数信息相匹配;
    根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长;
    通过所述显示装置显示所述存储装置当前的剩余容量可存储的视频时长。
  32. 根据权利要求31所述的拍摄设备,其特征在于,所述当前视频的参数信息包括如下至少一种:
    所述当前视频的格式、所述当前视频的分辨率、所述当前视频对应的场景。
  33. 根据权利要求31所述的拍摄设备,其特征在于,所述历史视频的参数信息包括如下至少一种:
    所述历史视频的格式、所述历史视频的分辨率、所述历史视频对应的场景。
  34. 根据权利要求31-33任一项所述的拍摄设备,其特征在于,还包括:通讯接口;
    所述通讯接口用于:将所述存储装置当前的剩余容量可存储的视频时长发送给用户终端,以使所述用户终端显示所述存储装置当前的剩余容量可存储的视频时长。
  35. 根据权利要求31所述的拍摄设备,其特征在于,还包括:通讯接口;
    所述通讯接口用于接收拍摄指令;
    所述处理器还用于:
    根据所述拍摄指令对所述存储装置当前的剩余容量可存储的视频时长进行递减。
  36. 根据权利要求31-35任一项所述的拍摄设备,其特征在于,所述处理器具体用于:
    在接收到所述当前视频的参数切换指令时,根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长。
  37. 根据权利要求31-35任一项所述的拍摄设备,其特征在于,所述 处理器具体用于:
    在接收到所述拍摄模式切换指令时,根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长。
  38. 根据权利要求31-35任一项所述的拍摄设备,其特征在于,所述处理器具体用于:
    在接收到用户界面切换指令时,根据所述存储装置当前的剩余容量和单位时间内所述当前视频占用存储装置的容量,确定所述存储装置当前的剩余容量可存储的视频时长。
  39. 根据权利要求31所述的拍摄设备,其特征在于,所述处理器具体用于:
    根据所述拍摄设备拍摄的至少一个历史视频的时长,以及所述至少一个历史视频中每个历史视频占用所述存储装置的容量,确定单位时间内所述当前视频占用存储装置的容量。
  40. 根据权利要求31所述的拍摄设备,其特征在于,所述处理器还用于:
    当所述存储装置当前的剩余容量小于预设容量值时,确定所述存储装置当前的剩余容量可存储的视频时长为0。
  41. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行以实现如权利要求1-20任一项所述的方法。
PCT/CN2018/080540 2018-03-26 2018-03-26 剩余存储量处理方法、拍摄设备及计算机可读存储介质 WO2019183769A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/080540 WO2019183769A1 (zh) 2018-03-26 2018-03-26 剩余存储量处理方法、拍摄设备及计算机可读存储介质
CN201880031988.4A CN110651240A (zh) 2018-03-26 2018-03-26 剩余存储量处理方法、拍摄设备及计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/080540 WO2019183769A1 (zh) 2018-03-26 2018-03-26 剩余存储量处理方法、拍摄设备及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2019183769A1 true WO2019183769A1 (zh) 2019-10-03

Family

ID=68059419

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/080540 WO2019183769A1 (zh) 2018-03-26 2018-03-26 剩余存储量处理方法、拍摄设备及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN110651240A (zh)
WO (1) WO2019183769A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1213116A (zh) * 1997-09-30 1999-04-07 富士写真胶片株式会社 扫描器及其控制方法
CN1893383A (zh) * 2005-07-08 2007-01-10 三星电子株式会社 提供根据剩余存储器容量的可记录时间的方法及其终端
US20090002506A1 (en) * 2007-06-28 2009-01-01 Sony Corporation Image capturing apparatus and image capturing method
CN105930027A (zh) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 一种终端的提示方法和终端
CN107124570A (zh) * 2017-05-08 2017-09-01 青岛海信电器股份有限公司 个人视频录像pvr录制方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0575966A (ja) * 1990-12-13 1993-03-26 Nikon Corp 電子スチルカメラ
JP5163389B2 (ja) * 2008-09-19 2013-03-13 株式会社ニコン 電子カメラ
CN102724403A (zh) * 2012-06-08 2012-10-10 华为终端有限公司 确定可拍摄张数的方法及摄像装置
CN104850487A (zh) * 2015-04-27 2015-08-19 小米科技有限责任公司 信息显示方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1213116A (zh) * 1997-09-30 1999-04-07 富士写真胶片株式会社 扫描器及其控制方法
CN1893383A (zh) * 2005-07-08 2007-01-10 三星电子株式会社 提供根据剩余存储器容量的可记录时间的方法及其终端
US20090002506A1 (en) * 2007-06-28 2009-01-01 Sony Corporation Image capturing apparatus and image capturing method
CN105930027A (zh) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 一种终端的提示方法和终端
CN107124570A (zh) * 2017-05-08 2017-09-01 青岛海信电器股份有限公司 个人视频录像pvr录制方法及装置

Also Published As

Publication number Publication date
CN110651240A (zh) 2020-01-03

Similar Documents

Publication Publication Date Title
US20120293613A1 (en) System and method for capturing and editing panoramic images
US20150222815A1 (en) Aligning videos representing different viewpoints
US9413923B2 (en) Imaging apparatus
WO2020102976A1 (zh) 云台调整方法、云台调整设备、移动平台及介质
CN103986867A (zh) 一种图像拍摄终端和图像拍摄方法
US8937669B2 (en) Image processing apparatus, control method thereof, and program
JPWO2013132828A1 (ja) 通信システムおよび中継装置
US20150350521A1 (en) Facilitating coordinated media and/or information capturing and aggregation
US20220053126A1 (en) Photographing apparatus, unmanned aerial vehicle, control terminal and method for photographing
US20150244756A1 (en) Method, Apparatus and System for Determining Terminal That is to Share Real-Time Video
US20160150158A1 (en) Photographing apparatus and method for controlling thereof
CN110933297B (zh) 智能摄影系统的摄影控制方法、装置、存储介质及系统
EP3300349A1 (en) Picture processing method, sending method, processing apparatus and sending apparatus
CN108419052B (zh) 一种多台无人机全景成像方法
WO2019183769A1 (zh) 剩余存储量处理方法、拍摄设备及计算机可读存储介质
JP6800930B2 (ja) 通信装置、その制御方法、およびそのプログラム
CN105467741A (zh) 一种全景拍照方法及终端
CN106488128B (zh) 一种自动拍照的方法及装置
CN108476291A (zh) 图像生成方法、图像生成装置和机器可读存储介质
CN109600547B (zh) 拍照方法、装置、电子设备和存储介质
CN108924405B (zh) 基于距离的拍照聚焦修正和图像处理方法、设备
CN107205108A (zh) 一种移动终端的拍照方法及装置
JP5531671B2 (ja) 画像記録装置
JP2005039580A (ja) 画像管理装置、画像閲覧装置、画像配信システム及び画像配信方法
JP2014165639A (ja) 情報端末装置、通信システム及び方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18911420

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18911420

Country of ref document: EP

Kind code of ref document: A1