Video storage method, device, SOC system and medium

文档序号:1131025 发布日期:2020-10-02 浏览:14次 中文

阅读说明:本技术 一种视频存储方法、装置、soc系统、介质 (Video storage method, device, SOC system and medium ) 是由 张贞雷 刘同强 周玉龙 童元满 于 2020-06-12 设计创作,主要内容包括:本申请公开了一种视频存储方法、装置、SOC系统、介质,该方法包括:根据待存储视频信息和目标DDR占用信息,向所述目标DDR发送存储空间申请请求;接收所述目标DDR根据所述存储空间申请请求发送的存储空间分配响应;将所述待存储视频信息对应的待存储视频数据存储到所述目标DDR中与所述存储空间申请请求对应的地址空间下。本申请中在视频存储的过程中,先根据待存储视频信息以及待写入DDR的占用情况进行存储空间的申请,再将待存储视频存储到申请的空间中,这样可以避免存储空间的浪费,且在不需要进行视频存储时,SOC系统上的存储资源便可以用于支持其他功能的运行,以保证系统上其他功能的正常运行,提高SOC系统的性能。(The application discloses a video storage method, a video storage device, an SOC system and a video storage medium, wherein the method comprises the following steps: sending a storage space application request to a target DDR according to video information to be stored and the target DDR occupation information; receiving a storage space allocation response sent by the target DDR according to the storage space application request; and storing the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR. In the application, in the process of video storage, the application of the storage space is firstly carried out according to the occupation condition of video information to be stored and DDR to be written in, and then the video to be stored is stored in the applied space, so that the waste of the storage space can be avoided, and when the video storage is not required, the storage resources on the SOC system can be used for supporting the operation of other functions, so that the normal operation of the other functions on the system is ensured, and the performance of the SOC system is improved.)

1. A video storage method is applied to an SOC system and comprises the following steps:

sending a storage space application request to a target DDR according to video information to be stored and the target DDR occupation information;

receiving a storage space allocation response sent by the target DDR according to the storage space application request;

and storing the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR.

2. The video storage method according to claim 1, wherein the sending a storage space application request to the target DDR according to the video information to be stored and the target DDR occupancy information comprises:

when the video data to be stored is source video data, sending a storage space application request to a target DDR according to the resolution of the video to be stored, the frame number of the video to be stored and target DDR occupation information;

and when the video data to be stored is compressed video data, sending a storage space application request to the target DDR according to the resolution of the video to be stored, the frame number of the video to be stored, the compression mode configuration and the target DDR occupation information.

3. The video storage method according to claim 2, wherein the sending a memory space application request to the target DDR comprises:

when the video data to be stored is source video data, sending a storage space application request to the target DDR through a local CPU, wherein the size of a storage space applied in the storage space application request is determined according to the resolution and the frame number of the video data to be stored;

correspondingly, the storing the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR includes:

sending an initial address corresponding to the storage space application request, the frame number of the video data to be stored and the resolution of the video data to be stored to a local source video data writing control module through a local CPU;

and storing the video data to be stored into an address space corresponding to the starting address through a local source video data write-in control module.

4. The video storage method according to claim 2, wherein the sending a memory space application request to the target DDR comprises:

when the video data to be stored is compressed video data, sending a storage space application request to the target DDR through a local CPU, wherein the size of a storage space applied in the storage space application request is determined according to the resolution of the video data to be stored, the number of frames of the video data to be stored and a compression mode configuration;

correspondingly, the storing the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR includes:

sending an initial address corresponding to the storage space application request and the frame number of the video data to be stored to a local compressed video data write-in control module through a local CPU;

and storing the video data to be stored into an address space corresponding to the starting address through a local compressed video data write control module.

5. The video storage method according to claim 3, wherein before sending the request for memory space application to the target DDR through the local CPU, the method further comprises:

reading the resolution of the video data to be stored from a local display card through a local CPU;

or, reading the resolution of the video data to be stored from a local resolution detection module through a local CPU.

6. The video storage method according to claim 3, wherein before the storing the video data to be stored into the address space corresponding to the start address by the local source video data write control module, the method further comprises:

and performing color space conversion on the video data to be stored through a local color space conversion module to obtain the converted video data to be stored.

7. The video storage method according to any one of claims 1 to 6, further comprising:

if a video function closing instruction is received, closing the local video function;

ceasing to apply for memory space to the target DDR in order to locally invoke the target DDR to support the running application.

8. A video storage device applied to an SOC system includes:

the request sending module is used for sending a storage space application request to the target DDR according to the video information to be stored and the target DDR occupation information;

the information receiving module is used for receiving a storage space allocation response sent by the target DDR according to the storage space application request;

and the data storage module is used for storing the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR.

9. An SOC system, comprising:

a memory and a processor;

wherein the memory is used for storing a computer program;

the processor, configured to execute the computer program to implement the video storage method according to any one of claims 1 to 7.

10. A computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the video storage method of any one of claims 1 to 7.

Technical Field

The present application relates to the field of data storage technologies, and in particular, to a video storage method, an apparatus, an SOC system, and a medium.

Background

In a conventional System On Chip (SOC) System integrating a video compression function, a space with continuous addresses is allocated in a corresponding off-Chip DDR (Double Data Rate) in advance to store source video Data or compressed video Data, and such a storage space cannot be released when the SOC System closes a video function, which may affect the operation of the SOC System function for the SOC System with a short memory resource. In addition, video storage space on the SOC system needs to be used for different resolution scenes, and the maximum resolution (e.g. 1920 × 1024) needs to be met for insurance, so a relatively large storage space is generally allocated, but if the resolution of the video to be stored is small in the application of the SOC system, e.g. 640 × 480, a large part of the DDR space is wasted, and storage resources are wasted.

Disclosure of Invention

In view of this, an object of the present application is to provide a video storage method, an apparatus, an SOC system, and a medium, which can avoid the waste of storage resources on the SOC system and ensure the normal operation of the functions of the SOC system. The specific scheme is as follows:

in a first aspect, the present application discloses a video storage method applied to an SOC system, including:

sending a storage space application request to a target DDR according to video information to be stored and the target DDR occupation information;

receiving a storage space allocation response sent by the target DDR according to the storage space application request;

and storing the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR.

Optionally, the sending a storage space application request to the target DDR according to the video information to be stored and the target DDR occupation information includes:

when the video data to be stored is source video data, sending a storage space application request to a target DDR according to the resolution of the video to be stored, the frame number of the video to be stored and target DDR occupation information;

and when the video data to be stored is compressed video data, sending a storage space application request to the target DDR according to the resolution of the video to be stored, the frame number of the video to be stored, the compression mode configuration and the target DDR occupation information.

Optionally, the sending a request for memory space application to the target DDR includes:

when the video data to be stored is source video data, sending a storage space application request to the target DDR through a local CPU, wherein the size of a storage space applied in the storage space application request is determined according to the resolution and the frame number of the video data to be stored;

correspondingly, the storing the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR includes:

sending an initial address corresponding to the storage space application request, the frame number of the video data to be stored and the resolution of the video data to be stored to a local source video data writing control module through a local CPU;

and storing the video data to be stored into an address space corresponding to the starting address through a local source video data write-in control module.

Optionally, the sending a request for memory space application to the target DDR includes:

when the video data to be stored is compressed video data, sending a storage space application request to the target DDR through a local CPU, wherein the size of a storage space applied in the storage space application request is determined according to the resolution of the video data to be stored, the number of frames of the video data to be stored and a compression mode configuration;

correspondingly, the storing the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR includes:

sending an initial address corresponding to the storage space application request and the frame number of the video data to be stored to a local compressed video data write-in control module through a local CPU;

and storing the video data to be stored into an address space corresponding to the starting address through a local compressed video data write control module.

Optionally, before sending the memory space application request to the target DDR by the local CPU, the method further includes:

reading the resolution of the video data to be stored from a local display card through a local CPU;

or, reading the resolution of the video data to be stored from a local resolution detection module through a local CPU.

Optionally, before the local source video data write control module stores the video data to be stored in the address space corresponding to the start address, the method further includes:

and performing color space conversion on the video data to be stored through a local color space conversion module to obtain the converted video data to be stored.

Optionally, the video storage method further includes:

if a video function closing instruction is received, closing the local video function;

ceasing to apply for memory space to the target DDR in order to locally invoke the target DDR to support the running application.

In a second aspect, the present application discloses a video storage device applied to an SOC system, comprising:

the request sending module is used for sending a storage space application request to the target DDR according to the video information to be stored and the target DDR occupation information;

the information receiving module is used for receiving a storage space allocation response sent by the target DDR according to the storage space application request;

and the data storage module is used for storing the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR.

In a third aspect, the present application discloses an SOC system comprising:

a memory and a processor;

wherein the memory is used for storing a computer program;

the processor is configured to execute the computer program to implement the video storage method disclosed in the foregoing.

In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the video storage method disclosed above.

Therefore, according to the video information to be stored and the target DDR occupation information, a storage space application request is sent to the target DDR, a storage space distribution response sent by the target DDR according to the storage space application request is received, and then the video data to be stored corresponding to the video information to be stored is stored in the target DDR under the address space corresponding to the storage space application request. In the application, in the process of video storage, the application of the storage space is firstly carried out according to the occupation condition of video information to be stored and DDR to be written in, and then the video to be stored is stored in the applied space, so that the waste of the storage space can be avoided, and when the video storage is not required, the storage resources on the SOC system can be used for supporting the operation of other functions, so that the normal operation of the other functions on the system is ensured, and the performance of the SOC system is improved.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.

FIG. 1 is a flow chart of a video storage method disclosed in the present application;

FIG. 2 is a block diagram of a video storage system according to the present disclosure;

FIG. 3 is a flow chart of a specific video storage method disclosed in the present application;

FIG. 4 is a diagram illustrating a compressed mode configuration disclosed herein;

FIG. 5 is a schematic structural diagram of a video storage apparatus according to the present disclosure;

fig. 6 is a schematic structural diagram of an SOC system disclosed in the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

At present, in an SOC system integrating a video compression function, a space with continuous addresses is allocated in a corresponding off-chip DDR in advance to store source video data or compressed video data, so that the allocation of a storage space in advance may cause the storage of the video data to lose flexibility, cause the waste of storage resources, and affect the normal operation of the SOC system function. In view of this, the present application provides a video storage method, which can avoid the waste of storage resources on the SOC system and ensure the normal operation of the functions of the SOC system.

Referring to fig. 1, an embodiment of the present application discloses a video storage method applied to an SOC system, where the method includes:

step S11: and sending a storage space application request to the target DDR according to the video information to be stored and the target DDR occupation information.

In a specific implementation process, a storage space application request needs to be sent to a target DDR according to video information to be stored and target DDR occupation information, where the target DDR is a locally corresponding DDR which can be used to write local data to be stored in, when the video data to be stored is source video data, the video information to be stored includes resolution and frame number of the video to be stored, and when the video data to be stored is compressed video data, the video information to be stored includes resolution, frame number, and compression mode configuration of the video to be stored. The memory space application request may include a start address of a memory space to be locally applied, a resolution of a video to be stored, and a frame number, where the start address may be determined according to the target DDR occupation information.

Step S12: and receiving a storage space allocation response sent by the target DDR according to the storage space application request.

After sending the memory space application request, if the memory space allocation corresponding to the memory space application request is successful, the target DDR returns a corresponding response, so that the local DDR needs to receive the memory space allocation response sent by the target DDR according to the memory space application request. If the allocation is unsuccessful, a new address space needs to be applied.

Step S13: and storing the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR.

After receiving the storage space allocation response, the video data to be stored corresponding to the video information to be stored can be stored in the address space corresponding to the storage space application request in the target DDR.

Therefore, according to the video information to be stored and the target DDR occupation information, a storage space application request is sent to the target DDR, a storage space distribution response sent by the target DDR according to the storage space application request is received, and then the video data to be stored corresponding to the video information to be stored is stored in the target DDR under the address space corresponding to the storage space application request. In the application, in the process of video storage, the application of the storage space is firstly carried out according to the occupation condition of video information to be stored and DDR to be written in, and then the video to be stored is stored in the applied space, so that the waste of the storage space can be avoided, and when the video storage is not required, the storage resources on the SOC system can be used for supporting the operation of other functions, so that the normal operation of the other functions on the system is ensured, and the performance of the SOC system is improved.

Referring to fig. 2, an embodiment of the present application discloses a specific video storage block diagram, including: the system comprises a video card, a color space conversion module, a DDR, a source video data write space module, a compressed video data write control module, an address generation module, a compressed IP (Intellectual Property core), a CPU and a resolution detection module.

The video storage method provided by the present application is explained with reference to the framework shown in fig. 2. Referring to fig. 3, an embodiment of the present application discloses a specific video storage method applied to an SOC system, where the method includes:

step S21: and when the video data to be stored is source video data, sending a storage space application request to the target DDR through a local CPU, wherein the size of a storage space applied in the storage space application request is determined according to the resolution and the frame number of the video data to be stored.

In a specific implementation process, a memory space application request may be sent to the target DDR. Namely, sending a memory space application request to the target DDR through the local CPU. Specifically, a memory space application request is sent to the target DDR through corresponding software running on a local CPU.

In a specific implementation process, when the video data to be stored is source video data, a storage space application request is sent to the target DDR through a local CPU, wherein the size of a storage space applied in the storage space application request is determined according to the resolution and the number of frames of the video data to be stored, and a start address of the applied storage space can be determined according to the occupation situation of the target DDR.

Step S22: and receiving a storage space allocation response sent by the target DDR according to the storage space application request through a local CPU.

It can be understood that after sending the memory space application request, a memory space allocation response sent by the target DDR according to the memory space application request needs to be received by the local CPU.

Step S23: and sending the initial address corresponding to the storage space application request, the frame number of the video data to be stored and the resolution of the video data to be stored to a local source video data writing control module through a local CPU.

After receiving the storage space allocation response sent by the target DDR according to the storage space application request, the local CPU sends the related information to the local source video data write-in control module, so that the local source video data write-in control module writes the video data to be stored into the target DDR according to the received related information.

In a specific implementation process, since the video is continuously Output and the address information of the storage space is continuously issued, 3 FIFOs (First input First Output, First in First out queue) can be set in the local source video data write control module: WR _ ADDR _ FIFO, WR _ FRAME _ NUM _ FIFO, and RSL _ FIFO, respectively, store the start address, the stored FRAME number, and the resolution. Then the local source video data write control module reads WR _ ADDR _ FIFO, WR _ FRAME _ NUM _ FIFO and RSL _ FIFO in sequence to obtain a group of memory space address information, if the registers WR _ ADDR, WR _ FRAME _ NUM and RSL are used for representing, the first register WR _ ADDR is the first address of DDR to be written, the second register WR _ FRAME _ NUM is the FRAME number to be written in the DDR space with WR _ ADDR as the starting address, and the third register RSL is resolution information.

Step S24: and storing the video data to be stored into an address space corresponding to the starting address through a local source video data write-in control module.

After the local source video data write-in control module obtains the initial address, the resolution and the frame number, the local source video data write-in control module can store the video data to be stored into the address space corresponding to the initial address.

Before storing the source video data to the target DDR, further comprising: and performing color space conversion on the video data to be stored through a local color space conversion module to obtain the converted video data to be stored. And converting the RGB data into YUV data and sending the YUV data to the local source video data write-in control module. The RGB color scheme is a color standard in the industry, and obtains various colors by changing three color channels of red (R), green (G) and blue (B) and superimposing them with each other, which is one of the most widely used color systems. YUV is a color coding method, Y denotes luminance, U denotes chrominance, and V denotes density.

Specifically, the local source video data write control module reads information in three registers of WR _ ADDR, WR _ FRAME _ NUM and RSL to obtain a set of address information of the memory space, and stores the corresponding video data to be stored into the address space, for example, the value of the register of WR _ ADDR of the read set of address information of the memory space is 0x1000_0000, the value of WR _ FRAME _ NUM is 2, that is, 2 FRAMEs of image information are written into the space with 0x1000_000 as the starting address on the DDR. The resolution is used to calculate the number of frames written into the target DDR video, for example, taking 640 × 480 resolution as an example, the local source video data write control module counts wr _ cnt of the data written into the target DDR, and when wr _ cnt is 640 × 480 × 2, it indicates that two frames of source video data are written. After the two frames of video are stored, the local CPU can send a storage space application request to the target DDR again according to the video information to be stored which needs to be stored next and the occupation condition of the target DDR. Until the source video data to be stored is stored completely or the target DDR storage space is insufficient.

Therefore, according to the use condition of the DDR space, the memory space can be flexibly applied, and then the space address is issued to the local source video data write-in control module for data storage, so that the DDR use efficiency can be improved to the maximum extent. Meanwhile, when the video function of the SOC system is closed, the DDR space is not applied, and all the DDR space is used for other functions of the SOC, so that the performance of the SOC system is improved.

Before sending a memory space application request to the target DDR through the local CPU, the method further comprises the following steps: reading the resolution of the video data to be stored from a local display card through a local CPU; or, reading the resolution of the video data to be stored from a local resolution detection module through a local CPU. Specifically, if a register in the graphics card stores the resolution corresponding to the video data to be stored, the local CPU may directly read the resolution corresponding to the video data to be stored from the graphics card, and at this time, the resolution detection module is not needed, and the process is shown by a dotted line in fig. 2. If no register in the video card stores the resolution corresponding to the video data to be stored, the video card source video control information is required to be input into a resolution detection module, and the source video control information comprises line and field synchronous control information such as Hs and Vs, so as to detect the resolution.

Correspondingly, when the video data to be stored is compressed video data, sending a storage space application request to the target DDR through a local CPU, wherein the size of a storage space applied in the storage space application request is determined according to the resolution of the video data to be stored, the number of frames of the video data to be stored and the configuration of a compression mode. Specifically, for source video data with the same number of frames and the same resolution, the size of the storage space required for the compressed video data is different because the compression mode configuration is different, for example, for source video data with the same number of frames and the same resolution, the storage space required for the compressed video data configured by the YUV420 compression mode is smaller than the storage space required for the compressed video data configured by the YUV444 compression mode. Because a set of UV components is shared every 4Y for the YUV420 compression mode configuration and every 1Y for the YUV444 compression mode configuration, where Y represents luminance, U represents chrominance, and V represents concentration, a portion of the UV components are discarded for the YUV420 compression mode configuration.

Sending an initial address corresponding to the storage space application request and the frame number of the video data to be stored to a local compressed video data write-in control module through a local CPU; and storing the video data to be stored into an address space corresponding to the starting address through a local compressed video data write control module.

In a specific implementation process, since the video is continuously output and the address information of the storage space is continuously issued, 2 FIFOs can be arranged in the local compressed video data write control module: WR _ ADDR _ FIFO and WR _ FRAME _ NUM _ FIFO store the start address and the number of FRAMEs stored, respectively. Then the local compressed video data write control module reads WR _ ADDR _ FIFO and WR _ FRAME _ NUM _ FIFO in sequence to obtain a group of memory space information, if the registers WR _ ADDR and WR _ FRAME _ NUL are used for representing, the first register WR _ ADDR is the initial address of the DDR to be written, and the second register WR _ FRAME _ NUM is the number of video image FRAMEs to be written in the DDR space with WR _ ADDR as the initial address.

In the process of storing the compressed video data in the target DDR, a group of address information of the storage space may be read first, and then the corresponding compressed video data is stored in the group of address information of the storage space, for example, the read group of address information of the storage space is: the value of the WR _ ADDR register is 0x7000_0000, and the value of the WR _ FRAME _ NUM is 3, that is, a compressed image of 3 FRAMEs is to be written in the memory space having 0x7000_000 as the start address. In the process of writing under the compressed image, the module calculates the number of the written image frames by using the information of the frame header and the frame tail carried by the compressed image, for example, if the frame header of one frame of image in JPEG format is 0xFFD8 and the frame tail is 0xFFD9, the module stops writing when detecting the third frame tail of 0xFFD 9. After the 3 frames of video are stored, the local CPU can send a storage space application request to the target DDR again according to the video information to be stored which needs to be stored next and the occupation condition of the target DDR. Until the source video data to be stored is stored completely or the target DDR storage space is insufficient.

Before storing the compressed video data to the target DDR, the method further includes: and reading out source video data from the target DDR, and compressing the source video data. Specifically, the address generation module generates a source video data read address, reads source video data from the target DDR according to the source video data read address by the compression IP, compresses the source video data, and inputs the compressed video data to the local compressed video data write control module.

The process of generating the source video data reading address by the address generating module comprises the following steps: and generating a source video data reading address by using the acquired storage space address information, resolution and compression mode configuration stored in the source video data. Specifically, 3 FIFOs are arranged inside the address generation module: WR _ ADDR _ FIFO, WR _ FRAME _ NUM _ FIFO, and RSL _ FIFO, respectively, store the start address, the stored FRAME number, and the resolution. And sequentially reading the 3 queues to obtain a group of information, and generating a source video data reading address according to the configuration of the compression mode after obtaining the initial address of a frame of image. The compression mode configuration includes YUV420 and YUV444 shown in fig. 4, YUV420 is a step of reading 16 × 16Y, then reading 8 × 8U, then reading 8 × 8V, and then starting to repeat reading 16 × 16Y, and YUV444 is a step of reading 8 × 8Y, then reading 8 × 8U, then reading 8 × 8V, and then starting to repeat reading 8 × 8Y. The WR _ ADDR _ FIFO can only read the start address of the first frame, if the current address is stored in consecutive frames, the start addresses of the 2 nd and following frames are calculated in the module according to the resolution to generate the source video data read address. For example: the start address of frame 2 is WR _ ADDR + RSL _ L × RSL _ W, where RSL _ L, RSL _ W is row and column information of resolution, such as RSL _ L ═ 640 and RSL _ W ═ 480, respectively.

Step S25: and if a video function closing instruction is received, closing the local video function.

In practical application, if a video function closing instruction is received, the local video function is closed.

Step S26: ceasing to apply for memory space to the target DDR in order to locally invoke the target DDR to support the running application.

After the local video function is turned off, the application of memory space to the target DDR may be stopped in order to locally invoke the target DDR to support the running application. So as to ensure that other functions of local operation are normal and improve the performance of the SOC system.

Referring to fig. 5, an embodiment of the present application discloses a video storage device applied to an SOC system, including:

the request sending module 11 is configured to send a storage space application request to a target DDR according to video information to be stored and target DDR occupation information;

the information receiving module 12 is configured to receive a storage space allocation response sent by the target DDR according to the storage space application request;

and the data storage module 13 is configured to store the video data to be stored corresponding to the video information to be stored in the address space corresponding to the storage space application request in the target DDR.

Therefore, according to the video information to be stored and the target DDR occupation information, a storage space application request is sent to the target DDR, a storage space distribution response sent by the target DDR according to the storage space application request is received, and then the video data to be stored corresponding to the video information to be stored is stored in the target DDR under the address space corresponding to the storage space application request. In the application, in the process of video storage, the application of the storage space is firstly carried out according to the occupation condition of video information to be stored and DDR to be written in, and then the video to be stored is stored in the applied space, so that the waste of the storage space can be avoided, and when the video storage is not required, the storage resources on the SOC system can be used for supporting the operation of other functions, so that the normal operation of the other functions on the system is ensured, and the performance of the SOC system is improved.

Further, referring to fig. 6, an embodiment of the present application further discloses an SOC system, including: a processor 21 and a memory 22.

Wherein the memory 22 is used for storing a computer program; the processor 21 is configured to execute the computer program to implement the video storage method disclosed in the foregoing embodiments.

For the specific process of the video storage method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.

Further, an embodiment of the present application also discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the video storage method disclosed in any of the foregoing embodiments.

For the specific process of the video storage method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.

The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.

The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Finally, it is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of other elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The video storage method, the video storage device, the SOC system, and the video storage medium provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种录像回放的方法、装置及计算机设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类