Patent ID: 11966398
Assignee: ZHEJIANG UNIVIEW TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 2:
3. The method of claim 2, further comprising:
in response to a determination result that the target writing position is not located within the position range, determining whether the target writing position is located after a cache position corresponding to the written data in the video cache space;
in response to a determination result that the target writing position is located after the cache position, detecting whether the second cache position is full; and
in a case of detecting that the second cache space is not full, writing, based on the target writing position, the I-frame data to be stored to the video cache space for caching; and in a case of detecting that the second cache space is full, writing all the video data cached in the video cache space to the memory space of the terminal device for storage, emptying the video cache space, and writing the I-frame data to be stored to the first cache space of the emptied video cache space for caching.