IP Library › Granted Patent US 11,412,172
Granted Patent B2
US 11,412,172 · App. 17/395,707 · Granted Aug 9, 2022

Video recording method and device, Internet Protocol camera and storage medium

Inventor: Ming Wang (Weifang, CN)
Assignee: GOERTEK INC.
H04N5/77G11B27/10
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,412,172
App. No.
17/395,707
Granted
Aug 9, 2022
Kind
B2
Abstract

Disclosed are a video recording method, a video recording device, an Internet Protocol camera and a storage medium. In this disclosure, a relative timestamp of a current image uploaded by an image sensor is compared with a recording timestamp of a current recording frame, then an image to be recorded corresponding to the current recording frame is determined according to a comparison result, and finally video recording is performed according to the image to be recorded.

Claims (51)

1. A video recording method, comprising the following steps:

comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame;

determining an image to be recorded corresponding to the current recording frame according to a comparison result; and

performing video recording according to the image to be recorded.

2. The video recording method of claim 1 , wherein the step of determining an image to be recorded corresponding to the current recording frame according to a comparison result comprises:

in a determination that the comparison result is that the relative timestamp is greater than the recording timestamp, calculating a current time difference between the relative timestamp of the current image and the recording timestamp of the current recording frame, and determining the image to be recorded corresponding to the current recording frame according to the current time difference;

in a determination that the comparison result is that the relative timestamp is less than the recording timestamp, returning to the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame; and

in a determination that the comparison result is that the relative timestamp is equal to the recording timestamp, taking the current image as the image to be recorded corresponding to the current recording frame.

3. The video recording method of claim 2 , wherein the step of determining the image to be recorded corresponding to the current recording frame according to the current time difference comprises:

in a determination that the current time difference is less than a preset time difference, taking the current image as the image to be recorded corresponding to the current recording frame, wherein the preset time difference is a time difference between the recording timestamp and a relative timestamp stored in a preset area;

in a determination that the current time difference is greater than the preset time difference, taking an image in the preset area as the image to be recorded corresponding to the current recording frame; and

in a determination that the current time difference is equal to the preset time difference, taking the image in the preset area or the current image as the image to be recorded corresponding to the current recording frame.

4. The video recording method of claim 3 , wherein:

the step of in a determination that the comparison result is that the relative timestamp is less than the recording timestamp, returning to the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame comprises:

in a determination that the comparison result is that the relative timestamp is less than the recording timestamp, updating data for the preset area according to the current image and the relative timestamp of the current image, returning to the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame;

the step of in a determination that the comparison result is that the relative timestamp is equal to the recording timestamp, taking the current image as the image to be recorded corresponding to the current recording frame comprises:

in a determination that the comparison result is that the relative timestamp is equal to the recording timestamp, taking the current image as the image to be recorded corresponding to the current recording frame, and updating data for the preset area according to the current image and the relative timestamp of the current image; and

the step of in a determination that the current time difference is less than a preset time difference, taking the current image as the image to be recorded corresponding to the current recording frame comprises:

in a determination that the current time difference is less than the preset time difference, taking the current image as the image to be recorded corresponding to the current recording frame, and updating data for the preset area according to the current image and the relative timestamp of the current image.

5. The video recording method of claim 1 , wherein before the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame, the video recording method further comprises:

determining a recording timestamp of each frame to be recorded according to a preset frame rate; and

taking a frame to be recorded with the smallest recording timestamp as the current recording frame;

wherein the step of performing video recording according to the image to be recorded comprises:

adding the image to be recorded to a video packaging assembly, deleting the recording timestamp of the current recording frame, and returning to the step of taking a frame to be recorded with the smallest recording timestamp as the current recording frame.

6. The video recording method of claim 2 , wherein before the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame, the video recording method further comprises:

determining a recording timestamp of each frame to be recorded according to a preset frame rate; and

taking a frame to be recorded with the smallest recording timestamp as the current recording frame;

wherein the step of performing video recording according to the image to be recorded comprises:

adding the image to be recorded to a video packaging assembly, deleting the recording timestamp of the current recording frame, and returning to the step of taking a frame to be recorded with the smallest recording timestamp as the current recording frame.

7. The video recording method of claim 3 , wherein before the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame, the video recording method further comprises:

determining a recording timestamp of each frame to be recorded according to a preset frame rate; and

taking a frame to be recorded with the smallest recording timestamp as the current recording frame;

wherein the step of performing video recording according to the image to be recorded comprises:

adding the image to be recorded to a video packaging assembly, deleting the recording timestamp of the current recording frame, and returning to the step of taking a frame to be recorded with the smallest recording timestamp as the current recording frame.

8. The video recording method of claim 4 , wherein before the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame, the video recording method further comprises:

determining a recording timestamp of each frame to be recorded according to a preset frame rate; and

taking a frame to be recorded with the smallest recording timestamp as the current recording frame;

wherein the step of performing video recording according to the image to be recorded comprises:

adding the image to be recorded to a video packaging assembly, deleting the recording timestamp of the current recording frame, and returning to the step of taking a frame to be recorded with the smallest recording timestamp as the current recording frame.

9. The video recording method of claim 1 , wherein before the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame, the video recording method further comprises:

upon receiving a timestamp of the current image uploaded by the image sensor, converting the timestamp of the current image to the relative timestamp according to a reference timestamp.

10. The video recording method of claim 2 , wherein before the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame, the video recording method further comprises:

upon receiving a timestamp of the current image uploaded by the image sensor, converting the timestamp of the current image to the relative timestamp according to a reference timestamp.

11. The video recording method of claim 3 , wherein before the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame, the video recording method further comprises:

upon receiving a timestamp of the current image uploaded by the image sensor, converting the timestamp of the current image to the relative timestamp according to a reference timestamp.

12. The video recording method of claim 4 , wherein before the step of comparing a relative timestamp of a current image uploaded by an image sensor with a recording timestamp of a current recording frame, the video recording method further comprises:

upon receiving a timestamp of the current image uploaded by the image sensor, converting the timestamp of the current image to the relative timestamp according to a reference timestamp.

13. The video recording method of claim 9 , wherein before the step of upon receiving a timestamp of the current image uploaded by the image sensor, converting the timestamp of the current image to the relative timestamp according to a reference timestamp, the video recording method further comprises:

upon receiving a video recording instruction, taking a timestamp of a first image uploaded by the image sensor as the reference timestamp.

14. An Internet Protocol camera, comprising: a memory, a processor, and a video recording program stored on the memory and executable on the processor, wherein the video recording program is executed by the processor to implement the steps of the video recording method as recited claim 1 .

15. A non-volatile storage medium, wherein a video recording program is stored on the non-volatile storage medium, and the video recording program is executed by a processor to implement the steps of the video recording method as recited claim 1 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 6, 2021
From: WANG, MING
To: GOERTEK INC.
Reel/Frame 057101/0863 →
Priority Claims (1)
CN 201910235885.6 · Mar 26, 2019 · national
Continuity (2)
Continuation PCTCN2019109272 · Sep 30, 2019
Related Publication 20210368130A1 · Nov 25, 2021