






相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年12月06日提交中国专利局,申请号为202111472327.5,申请名称为“一种视频数据传输方法、视频数据解码方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111472327.5 and the title of "a video data transmission method, video data decoding method and related device" submitted to the China Patent Office on December 06, 2021, the entire content of which Incorporated in this application by reference.
本申请涉及数据处理领域,特别涉及一种视频数据传输方法、视频数据解码方法及相关装置。The present application relates to the field of data processing, in particular to a video data transmission method, a video data decoding method and related devices.
传统的基板管理控制芯片中视频压缩系统的传输流程是:首先VGA将主机HOST的视频信息传递到视频压缩控制模块进行视频压缩,完成压缩之后,将数据写入到DDR,EMAC(网卡)驱动读取完成压缩的数据,通过网络将视频数据传输至远程,进行远程显示。The transmission process of the video compression system in the traditional substrate management control chip is: first, the VGA transmits the video information of the host HOST to the video compression control module for video compression. After the compression is completed, the data is written to DDR, and the EMAC (network card) driver reads Take the compressed data, and transmit the video data to the remote through the network for remote display.
但是,发明人意识到,上述传统方案存在视频数据大,占用过网络带宽的情况。基板管理芯片的一个重要功能就是要实现远程的监控管理,在应用场景中,除了视频压缩功能要占用网络带宽外,很多其他的功能也要占用网络带宽,比如在远程进行固件更新(固件文件通过网络传输到本地)或者是读取/设置本地的服务器状态信息等。如果视频功能占用的网络带宽很大,将对基板管理控制芯片的其他功能造成很大的影响,在一定或者很大程度上影响基板管理控制芯片的性能,尤其是本地服务器遇到需要紧急处理的情况,甚至会造成本地服务器的安全风险。However, the inventor realizes that the above-mentioned traditional solution has the situation that the video data is large and occupies too much network bandwidth. An important function of the substrate management chip is to realize remote monitoring and management. In the application scenario, in addition to the video compression function occupying the network bandwidth, many other functions also occupy the network bandwidth, such as performing firmware update remotely (the firmware file is passed through network transmission to local) or read/set local server status information, etc. If the network bandwidth occupied by the video function is large, it will have a great impact on other functions of the baseboard management control chip, and affect the performance of the baseboard management control chip to a certain or a large extent. situation, and even pose a security risk to the local server.
发明内容Contents of the invention
为解决上述技术问题,本申请提供一种视频数据传输方法,应用于基板管理控制芯片,该视频数据传输方法包括:In order to solve the above technical problems, this application provides a video data transmission method, which is applied to the substrate management control chip, and the video data transmission method includes:
对主机端发送的视频数据进行压缩得到视频压缩数据,并按照乒乓操作的结构将视频压缩数据分别存储至第一存储空间和第二存储空间;Compressing the video data sent by the host end to obtain compressed video data, and storing the compressed video data in the first storage space and the second storage space respectively according to the structure of the ping-pong operation;
若接收到数据传输指令,则从第一存储空间中读取预设字节长度的第一待传输数据,并从第二存储空间中读取预设字节长度的第二待传输数据;If a data transmission instruction is received, read the first data to be transmitted with a preset byte length from the first storage space, and read the second data to be transmitted with a preset byte length from the second storage space;
判断第一待传输数据和第二待传输数据的相似度是否大于或等于预设值;judging whether the similarity between the first data to be transmitted and the second data to be transmitted is greater than or equal to a preset value;
若是,则将添加有第一传输标识符的第一待传输数据设置为当前帧数据,将与第一传输标识符对应的第二传输标识符设置为后一帧数据;及If so, then set the first data to be transmitted with the first transmission identifier as the current frame data, and set the second transmission identifier corresponding to the first transmission identifier as the next frame data; and
将当前帧数据和后一帧数据发送至视频数据接收端。Send the current frame data and the next frame data to the video data receiving end.
可选的,在判断第一待传输数据和第二待传输数据的相似度是否大于预设值之后,还包括:Optionally, after judging whether the similarity between the first data to be transmitted and the second data to be transmitted is greater than a preset value, the method further includes:
若第一待传输数据和第二待传输数据的相似度小于预设值,则将第一待传输数据设置为当前帧数据,将第二待传输数据设置为后一帧数据。If the similarity between the first data to be transmitted and the second data to be transmitted is smaller than the preset value, the first data to be transmitted is set as the current frame data, and the second data to be transmitted is set as the next frame data.
可选的,在将添加有第一传输标识符的第一待传输数据设置为当前帧数据之前,还包括:Optionally, before setting the first to-be-transmitted data added with the first transmission identifier as the current frame data, the method further includes:
生成第一待传输数据对应的第一传输标识符;其中,第一传输标识符包括标识字段Flag、帧类型字段First_frame,起始位置字段Begin_cnt,重复数据长度字段pixel_num;第一传输标识符的帧类型字段First_frame的值为1。Generate a first transmission identifier corresponding to the first data to be transmitted; wherein, the first transmission identifier includes an identification field Flag, a frame type field First_frame, a start position field Begin_cnt, and a repeated data length field pixel_num; the frame of the first transmission identifier The value of the type field First_frame is 1.
可选的,将添加有第一传输标识符的第一待传输数据设置为当前帧数据,包括:Optionally, setting the first to-be-transmitted data added with the first transmission identifier as the current frame data includes:
在第一待传输数据之前添加第一传输标识符,得到当前帧数据。The first transmission identifier is added before the first data to be transmitted to obtain the current frame data.
可选的,在将与第一传输标识符对应的第二传输标识符设置为后一帧数据之前,还包括:Optionally, before setting the second transmission identifier corresponding to the first transmission identifier as the next frame of data, the method further includes:
生成第一传输标识符对应的第二传输标识符;其中,第二传输标识符包括标识字段Flag、帧类型字段First_frame,起始位置字段Begin_cnt,重复数据长度字段pixel_num;第二传输标识符的帧类型字段First_frame的值为0,第二传输标识符中标识字段Flag、起始位置字段Begin_cnt和重复数据长度字段pixel_num的值均与第一传输标识符相同。Generate a second transmission identifier corresponding to the first transmission identifier; wherein, the second transmission identifier includes an identification field Flag, a frame type field First_frame, a start position field Begin_cnt, and a repeated data length field pixel_num; the frame of the second transmission identifier The value of the type field First_frame is 0, and the values of the identification field Flag, the start position field Begin_cnt and the repeated data length field pixel_num in the second transmission identifier are the same as those of the first transmission identifier.
本申请还提供了一种视频数据解码方法,应用于视频数据接收端,视频数据解码方法包括:The present application also provides a video data decoding method, which is applied to a video data receiving end, and the video data decoding method includes:
接收基板管理控制芯片通过上述视频数据传输方法传输的当前帧数据和后一帧数据;Receive the current frame data and the next frame data transmitted by the substrate management control chip through the above video data transmission method;
判断当前帧数据中是否包括第一传输标识符;若是,则对当前帧数据中的第一待传输数据进行解码得到第一解码结果,并将第一解码结果添加至缓存;Judging whether the current frame data includes a first transmission identifier; if so, decoding the first data to be transmitted in the current frame data to obtain a first decoding result, and adding the first decoding result to the cache;
判断后一帧数据中是否包括第二传输标识符;若是,则从缓存中读取第一解码结果作为后一帧数据对应的第二解码结果;及Judging whether the next frame of data includes the second transmission identifier; if so, reading the first decoding result from the cache as the second decoding result corresponding to the next frame of data; and
根据第一解码结果和第二解码结果生成待显示视频数据。Generate video data to be displayed according to the first decoding result and the second decoding result.
本申请还提供了一种视频数据传输装置,应用于基板管理控制芯片,视频数据传输装置包括:The present application also provides a video data transmission device, which is applied to a substrate management control chip. The video data transmission device includes:
数据存储模块,用于对主机端发送的视频数据进行压缩得到视频压缩数据,并按照 乒乓操作的结构将视频压缩数据分别存储至第一存储空间和第二存储空间;The data storage module is used to compress the video data sent by the host end to obtain compressed video data, and store the compressed video data in the first storage space and the second storage space respectively according to the structure of the ping-pong operation;
数据读取模块,用于若接收到数据传输指令,则从第一存储空间中读取预设字节长度的第一待传输数据,并从第二存储空间中读取预设字节长度的第二待传输数据;The data reading module is used to read the first data to be transmitted with a preset byte length from the first storage space if a data transmission instruction is received, and read the data with a preset byte length from the second storage space. the second data to be transmitted;
相似度判断模块,用于判断第一待传输数据和第二待传输数据的相似度是否大于或等于预设值;A similarity judging module, configured to judge whether the similarity between the first data to be transmitted and the second data to be transmitted is greater than or equal to a preset value;
数据设置模块,用于若第一待传输数据和第二待传输数据的相似度大于或等于预设值,则将添加有第一传输标识符的第一待传输数据设置为当前帧数据,将与第一传输标识符对应的第二传输标识符设置为后一帧数据;及A data setting module, configured to set the first data to be transmitted with the first transmission identifier as the current frame data if the similarity between the first data to be transmitted and the second data to be transmitted is greater than or equal to a preset value, and The second transmission identifier corresponding to the first transmission identifier is set as the next frame of data; and
数据传输模块,用于将当前帧数据和后一帧数据发送至视频数据接收端。The data transmission module is used to send the current frame data and the next frame data to the video data receiving end.
本申请还提供了一种视频数据解码装置,应用于视频数据接收端,视频数据解码装置包括:The present application also provides a video data decoding device, which is applied to a video data receiving end, and the video data decoding device includes:
数据接收模块,用于接收基板管理控制芯片通过上述视频数据传输方法传输的当前帧数据和后一帧数据;The data receiving module is used to receive the current frame data and the next frame data transmitted by the substrate management control chip through the above video data transmission method;
第一判断模块,用于判断当前帧数据中是否包括第一传输标识符;若是,则对当前帧数据中的第一待传输数据进行解码得到第一解码结果,并将第一解码结果添加至缓存;The first judging module is used to judge whether the current frame data includes the first transmission identifier; if so, decode the first data to be transmitted in the current frame data to obtain the first decoding result, and add the first decoding result to cache;
第二判断模块,用于判断后一帧数据中是否包括第二传输标识符;若是,则从缓存中读取第一解码结果作为后一帧数据对应的第二解码结果;及The second judging module is used to judge whether the next frame data includes the second transmission identifier; if so, read the first decoding result from the cache as the second decoding result corresponding to the next frame data; and
显示模块,用于根据第一解码结果和第二解码结果生成待显示视频数据。The display module is used to generate video data to be displayed according to the first decoding result and the second decoding result.
本申请还提供了一种非易失性计算机可读存储介质,其上存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时实现上述视频数据传输方法和/或上述一种视频数据解码方法的步骤。The present application also provides a non-volatile computer-readable storage medium, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by one or more processors, the above-mentioned video data transmission method and/or Steps in the above video data decoding method.
本申请还提供了一种电子设备,包括存储器和一个或多个处理器,所述存储器中存储有计算机可读指令,所述一个或多个处理器调用所述存储器中的计算机可读指令时实现上述视频数据传输方法和/或上述一种视频数据解码方法的步骤。The present application also provides an electronic device, including a memory and one or more processors, where computer-readable instructions are stored in the memory, and when the one or more processors invoke the computer-readable instructions in the memory The steps of the above video data transmission method and/or the above video data decoding method are realized.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features and advantages of the application will be apparent from the description, drawings, and claims.
为了更清楚地说明本申请实施例,下面将对实施例中所需要使用的附图做简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present application more clearly, the following will briefly introduce the accompanying drawings used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. As far as people are concerned, other drawings can also be obtained based on these drawings on the premise of not paying creative work.
图1为本申请一个或多个实施例所提供的一种视频数据传输方法的流程图;FIG. 1 is a flowchart of a video data transmission method provided by one or more embodiments of the present application;
图2为本申请一个或多个实施例所提供的一种视视频数据解码方法的流程图;FIG. 2 is a flowchart of a method for decoding video and video data provided by one or more embodiments of the present application;
图3为传统方案中压缩视频数据传输方案示意图;Fig. 3 is a schematic diagram of a compressed video data transmission scheme in a traditional scheme;
图4为本申请一个或多个实施例所提供的一种压缩视频数据传输方案示意图;FIG. 4 is a schematic diagram of a compressed video data transmission solution provided by one or more embodiments of the present application;
图5为本申请一个或多个实施例所提供的一种视频数据传输装置的结构示意图;FIG. 5 is a schematic structural diagram of a video data transmission device provided by one or more embodiments of the present application;
图6为本申请一个或多个实施例所提供的一种视频数据解码装置的结构示意图;FIG. 6 is a schematic structural diagram of a video data decoding device provided by one or more embodiments of the present application;
图7为本申请一个或多个实施例所提供的电子设备的内部结构图。Fig. 7 is an internal structural diagram of an electronic device provided by one or more embodiments of the present application.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
下面请参见图1,图1为本申请实施例所提供的一种视频数据传输方法的流程图。Referring to FIG. 1 below, FIG. 1 is a flowchart of a video data transmission method provided by an embodiment of the present application.
具体步骤可以包括:Specific steps can include:
S101:对主机端发送的视频数据进行压缩得到视频压缩数据,并按照乒乓操作的结构将视频压缩数据分别存储至第一存储空间和第二存储空间;S101: Compress the video data sent by the host to obtain compressed video data, and store the compressed video data in the first storage space and the second storage space respectively according to the structure of the ping-pong operation;
其中,本实施例可以应用于基板管理控制芯片,基板管理控制系统通常指服务器领域中对服务器的状态(温度,风扇,主CPU运行情况等)进行监控的系统,基板管理控制芯片还可以将本地的视频信息,通过网络传递给远端,供远端显示和监控。Wherein, this embodiment can be applied to a baseboard management control chip. A baseboard management control system generally refers to a system that monitors the server status (temperature, fan, main CPU operation, etc.) in the server field. The baseboard management control chip can also control the local The video information is transmitted to the remote end through the network for display and monitoring at the remote end.
接收到主机端发送的视频压缩数据后,可以利用视频压缩模块对视频数据进行压缩得到视频压缩数据。在得到视频压缩数据值后,可以以帧为单位,按照乒乓操作的结构,分别写入DDR中A和B两块区域,即第0帧写入地址A,第1帧写入地址B,第2帧写入地址A,第3帧写入地址B……。通过上述方式可以使得第一存储空间存储奇数帧的视频压缩数据,第二存储空间存储偶数帧的视频压缩数据。在进行相邻帧数据比较时,本实施例可以将第N帧与第N+1帧进行对比,将第N+2帧与第N+3帧进行对比,将N+4帧与第N+5帧进行对比,……,以此类推。在相邻帧数据比较后,可以对后一帧数据(添加标识符修改之后的)进行暂存,然后优先发送当前帧数据,再发送后一帧数据。例如在比较0和第1帧的时候,是将第0和第1帧都从DDR中读回,但是会优先发送第0帧,再发送第1帧,因此需将第1帧(添加标识符修改之后的)进行暂存。After receiving the video compression data sent by the host, the video compression module can be used to compress the video data to obtain video compression data. After the video compression data value is obtained, it can be written into the two areas of A and B in the DDR in units of frames and according to the structure of the ping-pong operation, that is, the address A is written in the 0th frame, the address B is written in the 1st frame, and the address B is written in the 1st frame. Address A is written in 2 frames, and address B is written in the 3rd frame.... Through the above method, the first storage space can store odd-numbered frames of compressed video data, and the second storage space can store even-numbered frames of video compressed data. When comparing adjacent frame data, this embodiment can compare the Nth frame with the N+1th frame, compare the N+2th frame with the N+3th frame, and compare the N+4th frame with the N+th frame 5 frames for comparison, ..., and so on. After the adjacent frame data is compared, the next frame data (after adding the identifier and modifying) can be temporarily stored, and then the current frame data is sent first, and then the next frame data is sent. For example, when comparing frame 0 and frame 1, both frame 0 and frame 1 are read back from DDR, but frame 0 will be sent first, and then frame 1 will be sent, so frame 1 (add identifier After modification) for temporary storage.
S102:若接收到数据传输指令,则从第一存储空间中读取预设字节长度的第一待传输数据,并从第二存储空间中读取预设字节长度的第二待传输数据;S102: If a data transmission instruction is received, read the first data to be transmitted with a preset byte length from the first storage space, and read the second data to be transmitted with a preset byte length from the second storage space ;
其中,在得到数据传输指令后可以分别从第一存储空间和第二存储空间读取相同长度的第一待传输数据和第二待传输数据。作为一种可行的实施方式,本实施例可以实时统计网络带宽,根据网络带宽确定读取的数据长度,即:根据网络带宽确定预设字节长度,网络带宽的大小与预设字节长度正相关。Wherein, after obtaining the data transmission instruction, the first data to be transmitted and the second data to be transmitted with the same length can be respectively read from the first storage space and the second storage space. As a feasible implementation, this embodiment can count the network bandwidth in real time, and determine the length of the read data according to the network bandwidth, that is: determine the preset byte length according to the network bandwidth, and the size of the network bandwidth is exactly the same as the preset byte length. relevant.
S103:判断第一待传输数据和第二待传输数据的相似度是否大于或等于预设值;若是,则进入S104;若否,则结束流程。S103: Determine whether the similarity between the first data to be transmitted and the second data to be transmitted is greater than or equal to a preset value; if yes, proceed to S104; if not, end the process.
其中,由于本实施例按照乒乓操作的结构将视频压缩数据分别存储至第一存储空间和第二存储空间,因此第一待传输数据和第二待传输数据为相邻帧的视频数据,判断第一待传输数据和第二待传输数据的相似度是否大于或等于预设值,则可以判定第一待传输数据和第二待传输数据对应的图像内容是否为相同内容。响应于第一待传输数据和第二待传输数据的相似度大于或等于预设值,进入S104的相关操作;响应于第一待传输数据和第二待传输数据的相似度小于预设值结束本实施例的操作流程,还可以将第一待传输数据设置为当前帧数据、将第二待传输数据设置为后一帧数据,进而将当前帧数据和后一帧数据发送至视频数据接收端。因此在判断第一待传输数据和第二待传输数据的相似度是否大于预设值之后,还可以包括,响应于第一待传输数据和第二待传输数据的相似度小于预设值,将第一待传输数据设置为当前帧数据,将第二待传输数据设置为后一帧数据。Wherein, since the present embodiment stores the compressed video data in the first storage space and the second storage space respectively according to the structure of the ping-pong operation, the first data to be transmitted and the second data to be transmitted are video data of adjacent frames, and it is judged that the first If the similarity between the first data to be transmitted and the second data to be transmitted is greater than or equal to a preset value, it can be determined whether the image content corresponding to the first data to be transmitted and the second data to be transmitted are the same. In response to the similarity between the first data to be transmitted and the second data to be transmitted is greater than or equal to the preset value, enter the related operation of S104; in response to the similarity between the first data to be transmitted and the second data to be transmitted is less than the preset value to end In the operation process of this embodiment, the first data to be transmitted can also be set as the current frame data, the second data to be transmitted can be set as the next frame data, and then the current frame data and the next frame data can be sent to the video data receiving end . Therefore, after judging whether the similarity between the first data to be transmitted and the second data to be transmitted is greater than a preset value, it may also include, in response to the similarity between the first data to be transmitted and the second data to be transmitted being less than a preset value, The first data to be transmitted is set as the current frame data, and the second data to be transmitted is set as the next frame data.
具体的,本实施例可以生成第一待传输数据对应的第一传输标识符;其中,第一传输标识符包括标识字段Flag、帧类型字段First_frame,起始位置字段Begin_cnt,重复数据长度字段pixel_num;第一传输标识符的帧类型字段First_frame的值为1。本实施例还可以生成第一传输标识符对应的第二传输标识符;其中,第二传输标识符包括标识字段Flag、帧类型字段First_frame,起始位置字段Begin_cnt,重复数据长度字段pixel_num;第二传输标识符的帧类型字段First_frame的值为0,第二传输标识符中标识字段Flag、起始位置字段Begin_cnt和重复数据长度字段pixel_num的值均与第一传输标识符相同。Specifically, this embodiment can generate a first transmission identifier corresponding to the first data to be transmitted; wherein, the first transmission identifier includes an identification field Flag, a frame type field First_frame, a start position field Begin_cnt, and a repeated data length field pixel_num; The value of the frame type field First_frame of the first transmission identifier is 1. This embodiment can also generate a second transmission identifier corresponding to the first transmission identifier; wherein, the second transmission identifier includes an identification field Flag, a frame type field First_frame, a start position field Begin_cnt, and a repeated data length field pixel_num; The value of the frame type field First_frame of the transmission identifier is 0, and the values of the identification field Flag, the start position field Begin_cnt and the repeated data length field pixel_num of the second transmission identifier are the same as those of the first transmission identifier.
S104:将添加有第一传输标识符的第一待传输数据设置为当前帧数据,将与第一传输标识符对应的第二传输标识符设置为后一帧数据;S104: Set the first to-be-transmitted data added with the first transmission identifier as the current frame data, and set the second transmission identifier corresponding to the first transmission identifier as the subsequent frame data;
作为一种可行的实施方式,本实施例可以在第一待传输数据之前添加第一传输标识符,得到当前帧数据。As a feasible implementation manner, in this embodiment, the first transmission identifier may be added before the first data to be transmitted to obtain the current frame data.
S105:将当前帧数据和后一帧数据发送至视频数据接收端。S105: Send the current frame data and the next frame data to the video data receiving end.
本实施例按照乒乓操作的结构将视频压缩数据分别存储至第一存储空间和第二存储空间,在需要将视频压缩数据传输至数据接收端时,从第一存储空间中读取预设字节长度的第一待传输数据,并从第二存储空间中读取预设字节长度的第二待传输数据。若第一待传输数据和第二待传输数据的相似度大于或等于预设值,则认为这两份数据为内容相同的数据,此时将添加有第一传输标识符的第一待传输数据设置为当前帧数据,将与第一传输标识符对应的第二传输标识符设置为后一帧数据,进而将当前帧数据和后一帧数据发送至视频数据接收端。通过上述方式能够避免相同数据重复传输,进而降低了数据传输对网络带宽的占用。In this embodiment, the compressed video data is stored in the first storage space and the second storage space respectively according to the structure of the ping-pong operation, and when the video compressed data needs to be transmitted to the data receiving end, the preset bytes are read from the first storage space length of the first data to be transmitted, and read second data to be transmitted with a preset byte length from the second storage space. If the similarity between the first data to be transmitted and the second data to be transmitted is greater than or equal to the preset value, the two pieces of data are considered to be data with the same content, and the first data to be transmitted with the first transmission identifier will be added at this time Set as the current frame data, set the second transmission identifier corresponding to the first transmission identifier as the next frame data, and then send the current frame data and the next frame data to the video data receiving end. Repeated transmission of the same data can be avoided through the above method, thereby reducing the occupation of network bandwidth by data transmission.
下面请参见图2,图2为本申请实施例所提供的一种视视频数据解码方法的流程图。Referring to FIG. 2 below, FIG. 2 is a flow chart of a method for decoding video and video data provided by an embodiment of the present application.
具体步骤可以包括:Specific steps can include:
S201:接收基板管理控制芯片传输的当前帧数据和后一帧数据;S201: Receive the current frame data and the next frame data transmitted by the baseboard management control chip;
本实施例可以应用于视频数据接收端,上述当前帧数据和后一帧数据可以为按照图1对应实施例的视频数据传输方法传输的数据This embodiment can be applied to a video data receiving end, and the above-mentioned current frame data and next frame data can be data transmitted according to the video data transmission method of the corresponding embodiment in FIG. 1
S202:判断当前帧数据中是否包括第一传输标识符;若是,则对当前帧数据中的第一待传输数据进行解码得到第一解码结果,并将第一解码结果添加至缓存;进一步的,若当前帧数据中不包括第一传输标识符,则可以直接对当前帧数据和后一帧数据进行解码,得到第一解码结果和第二解码结果。S202: Determine whether the current frame data includes the first transmission identifier; if so, decode the first data to be transmitted in the current frame data to obtain a first decoding result, and add the first decoding result to the cache; further, If the current frame data does not include the first transmission identifier, the current frame data and the subsequent frame data may be directly decoded to obtain a first decoding result and a second decoding result.
具体地,响应于当前帧数据中包括第一传输标识符,对当前帧数据中的第一待传输数据进行解码得到第一解码结果,并将第一解码结果添加至缓存;响应于当前帧数据中不包括第一传输标识符,直接对当前帧数据和后一帧数据进行解码,得到第一解码结果和第二解码结果。Specifically, in response to the fact that the current frame data includes the first transmission identifier, the first data to be transmitted in the current frame data is decoded to obtain a first decoding result, and the first decoding result is added to the cache; in response to the current frame data does not include the first transmission identifier, and directly decodes the current frame data and the next frame data to obtain the first decoding result and the second decoding result.
S203:判断后一帧数据中是否包括第二传输标识符;若是,则从缓存中读取第一解码结果作为后一帧数据对应的第二解码结果;S203: Determine whether the next frame of data includes the second transmission identifier; if so, read the first decoding result from the cache as the second decoding result corresponding to the next frame of data;
进一步的,若后一帧数据中不包括第二传输标识符,则可以对后一帧数据进行解码得到第二解码结果。Further, if the subsequent frame of data does not include the second transmission identifier, the subsequent frame of data may be decoded to obtain a second decoding result.
具体地,响应于后一帧数据中包括第二传输标识符,从缓存中读取第一解码结果作为后一帧数据对应的第二解码结果;响应于后一帧数据中不包括第二传输标识符,对后一帧数据进行解码得到第二解码结果。Specifically, in response to the subsequent frame data including the second transmission identifier, read the first decoding result from the cache as the second decoding result corresponding to the subsequent frame data; in response to the subsequent frame data not including the second transmission identifier The identifier is used to decode the next frame of data to obtain the second decoding result.
S204:根据第一解码结果和第二解码结果生成待显示视频数据。S204: Generate video data to be displayed according to the first decoding result and the second decoding result.
本实施例接收图1对应实施例传输的当前帧数据和后一帧数据,若当前帧数据中包括 第一传输标识符,则说明当前帧数据为重复数据的第一帧,若后一帧数据中包括第二传输标识符,则说明后一帧数据为当前帧数据的重复数据,此时可以从缓存中读取第一解码结果作为后一帧数据对应的第二解码结果,进而根据第一解码结果和第二解码结果生成待显示视频数据。通过上述方式能够避免相同数据重复传输,进而降低了数据传输对网络带宽的占用,还能够降低解码数据的计算量。This embodiment receives the current frame data and the subsequent frame data transmitted by the embodiment corresponding to FIG. 1. If the current frame data includes the first transmission identifier, it means that the current frame data is the first frame of repeated data. If the second transmission identifier is included in the second transmission identifier, it means that the subsequent frame data is repeated data of the current frame data. At this time, the first decoding result can be read from the cache as the second decoding result corresponding to the subsequent frame data, and then according to the first The decoding result and the second decoding result generate video data to be displayed. Repeated transmission of the same data can be avoided through the above method, thereby reducing the occupation of network bandwidth by data transmission, and also reducing the amount of calculation for decoding data.
下面通过在实际应用中的实施例说明上述实施例描述的流程。The process described in the above-mentioned embodiments will be described below through embodiments in practical applications.
请参见图3,图3为传统方案中压缩视频数据传输方案示意图,本实施例提供的压缩视频传输流程包括:主机HOST的视频信息传递到基板管理控制芯片的视频压缩控制模块(CMP,compress);视频压缩控制模块对原始的视频数据进行压缩,并且将压缩完成的数据写入到DDR。网络驱动发起读压缩视频数据的命令,将读回的数据进行网络打包。网卡EMAC将包含视频数据的网络包转换成以太网帧格式,发给端口物理层PHY。端口物理层PHY通过网线/网络将视频数据传递到远端。Please refer to Fig. 3. Fig. 3 is a schematic diagram of a compressed video data transmission scheme in a traditional solution. The compressed video transmission process provided by this embodiment includes: the video information of the host HOST is transmitted to the video compression control module (CMP, compress) of the substrate management control chip ; The video compression control module compresses the original video data, and writes the compressed data into the DDR. The network driver initiates a command to read compressed video data, and packs the read back data over the network. The network card EMAC converts the network packet containing video data into an Ethernet frame format and sends it to the port physical layer PHY. The port physical layer PHY transmits the video data to the remote end through the network cable/network.
上述传统方案中,存在如下弊端:主机显卡的视频数据的一直不断的产生,数据量巨大的视频信息在通过网络发送的时候,将极大的占用网络带宽,而基板管理芯片的一个重要功能就是要实现远程的监控管理,在应用场景中,除了视频压缩功能要占用网络带宽外,很多其他的功能也要占用网络带宽,比如在远程进行固件更新(固件文件通过网络传输到本地)或者是读取/设置本地的服务器状态信息等。如果视频功能占用的网络带宽很大,将对基板管理控制芯片的其他功能造成很大的影响,在一定或者很大程度上影响基板管理控制芯片的性能,尤其是本地服务器遇到需要紧急处理的情况,甚至会造成本地服务器的安全风险,如果此时SoC系统需要运行比较重要的应用程序(需快速响应的)此时系统将无法满足此需求。SoC(System on Chip,简称SoC)即片上系统,SoC将微处理器、模拟IP核、数字IP核和存储器(或片外存储控制接口)集成在单一芯片上,SoC通常是客户定制的,或是面向特定用途的标准产品。In the above traditional solution, there are the following disadvantages: the video data of the host graphics card is constantly generated, and the video information with a huge amount of data will greatly occupy the network bandwidth when it is sent through the network, and an important function of the substrate management chip is In order to realize remote monitoring and management, in the application scenario, in addition to the video compression function, many other functions also occupy the network bandwidth, such as performing firmware update remotely (the firmware file is transmitted to the local through the network) or reading Get/set local server status information, etc. If the network bandwidth occupied by the video function is large, it will have a great impact on other functions of the baseboard management control chip, and affect the performance of the baseboard management control chip to a certain or a large extent. If the SoC system needs to run more important applications (requiring quick response) at this time, the system will not be able to meet this requirement. SoC (System on Chip, referred to as SoC) is a system on a chip. SoC integrates microprocessor, analog IP core, digital IP core and memory (or off-chip storage control interface) on a single chip. SoC is usually customized by customers, or It is a standard product for a specific purpose.
针对上述传统方案中存在的缺陷,本申请提供一种新的基板管理控制芯片中降低网络带宽的方案。本方案在传统方案基础上进行了优化,视频压缩模块在写压缩数据的时候采取乒乓操作,写入A/B两块DDR地址空间,修改EMAC驱动,依次分别读取A/B两块区域,EMAC内部增加COMP比较单元,比较前后两帧视频数据在当前描述符长度上的一致性,如果后一帧的在当前描述符下与前一帧的数据相同,则将对应的数据修改为标志位,然后再远端视频解码时候,解析对应的标志位信息。由于在真实应用场景中,前后两帧变化很小或者不变化,或者只局部发生变化的概率是极大的,因此本方案能够极大的减少网络传输的视频数据量。Aiming at the defects in the above-mentioned traditional solutions, the present application provides a new solution for reducing the network bandwidth in the baseboard management control chip. This solution is optimized on the basis of the traditional solution. The video compression module adopts a ping-pong operation when writing compressed data, writes into the A/B two DDR address spaces, modifies the EMAC driver, and reads the A/B two areas in turn. The COMP comparison unit is added inside the EMAC to compare the consistency of the two frames of video data in the current descriptor length. If the data of the next frame is the same as the data of the previous frame under the current descriptor, the corresponding data will be modified to the flag bit. , and then parse the corresponding flag bit information when the remote video is decoded. In a real application scenario, the probability that the preceding and following frames change little or do not change, or only partially change is extremely high, so this solution can greatly reduce the amount of video data transmitted over the network.
请参见图4,图4为本申请实施例所提供的一种压缩视频数据传输方案示意图,本方案的实现流程如下:Please refer to FIG. 4. FIG. 4 is a schematic diagram of a compressed video data transmission scheme provided by the embodiment of the present application. The implementation process of this scheme is as follows:
步骤1:主机端将视频信息传递给基板管理控制芯片的视频压缩控制模块CMP;Step 1: The host side transmits the video information to the video compression control module CMP of the substrate management control chip;
其中,本地显卡输出的原始图像信息,在通过网络传给远端之前,需要可以使用视频压缩控制模块CMP进行视频压缩以便降低视频数据量和网络带宽。Among them, before the original image information output by the local graphics card is transmitted to the remote end through the network, it is necessary to use the video compression control module CMP to perform video compression so as to reduce the amount of video data and network bandwidth.
步骤2:视频压缩模块CMP完成视频压缩后,以帧为单位,按照乒乓操作的结构,分别写入DDR中A和B两块区域,即第0帧写入地址A,第1帧写入地址B,第2帧写入地址A,第3帧写入地址B……。Step 2: After the video compression module CMP completes the video compression, it takes the frame as the unit and according to the structure of the ping-pong operation, writes the two areas of A and B in the DDR respectively, that is, the address A is written in the 0th frame, and the address A is written in the 1st frame B, address A is written in the second frame, and address B is written in the third frame....
步骤3:CPU上运行的网络驱动,依次发起读A和B地址的操作,值得注意的是,每次发起的操作,读的数据长度需要统一,比如,都是读256字节/1024字节等。同时这个数据长度可以用户根据实时统计网络带宽进行调整,以最大程度上降低视频数据所占的网络带宽。Step 3: The network driver running on the CPU initiates the operation of reading A and B addresses in turn. It is worth noting that the read data length needs to be uniform for each operation initiated, for example, both read 256 bytes/1024 bytes wait. At the same time, the data length can be adjusted by the user according to the real-time statistical network bandwidth, so as to minimize the network bandwidth occupied by video data.
步骤4:网卡EMAC中新增的COMP(compare,比较单元),对网络驱动本次读回的压缩视频数据进行比较,如果一致则将后一帧中对应的数据修改为标识符的形式,标识符格式为{Flag,Fisrt_frame,Begin_cnt,pixel_num},其中Flag为标识符,可参考设置为32’hFFFFFFFF,Fisrt_frame设置为0,表示当前数据为后一帧,需要在解码端需要补全的数据。Begin_cnt,表示当前数据段在帧中的起始位置,pixel_num表示重复数据的长度。Step 4: The newly added COMP (compare, comparison unit) in the network card EMAC compares the compressed video data read back by the network driver this time, and if they are consistent, modify the corresponding data in the next frame to the form of an identifier, and identify The character format is {Flag, Fisrt_frame, Begin_cnt, pixel_num}, where Flag is an identifier, which can be set to 32'hFFFFFFFF for reference, and Fisrt_frame is set to 0, indicating that the current data is the next frame and needs to be completed at the decoding end. Begin_cnt indicates the starting position of the current data segment in the frame, and pixel_num indicates the length of the repeated data.
进一步的对应当前帧的修改,需在与后一帧重复的数据端之前加入标识符{Flag,Fisrt_frame,Begin_cnt,pixel_num},其中可参考设置为32’hFFFFFFFF,Fisrt_frame设置为1,表示当前数据为当前帧,需要在解码端进行缓存的数据(以备后一帧补全数据之用)。Begin_cnt,表示当前数据段在帧中的起始位置,pixel_num表示重复数据的长度。根据以上论述可知,当前帧需要传输标识符+重复的数据端,而后一帧则只需要传输标识符。For further modifications corresponding to the current frame, the identifier {Flag, Fisrt_frame, Begin_cnt, pixel_num} needs to be added before the data end repeated with the next frame, where the reference can be set to 32'hFFFFFFFF, and Fisrt_frame is set to 1, indicating that the current data is For the current frame, the data that needs to be buffered at the decoding end (for the completion of the data in the next frame). Begin_cnt indicates the starting position of the current data segment in the frame, and pixel_num indicates the length of the repeated data. According to the above discussion, it can be seen that the current frame needs to transmit the identifier + the repeated data end, while the next frame only needs to transmit the identifier.
步骤5:网卡EMAC将经过COMP模块之后的两帧数据分别发送至远端,远端的解码程序也需要对应的修改,在检测到Flag=32’hFFFFFFFF之后,再检测Fisrt_frame,如果Fisrt_frame=1,则需缓存从Begin_cnt开启的pixel_num数量的数据。同时在检测到Flag=32’hFFFFFFFF之后,如果再检测到Fisrt_frame,如果Fisrt_frame=0,则直接依次到缓存中取pixel_num数量的数据进行补全当前帧即可。Step 5: The network card EMAC sends the two frames of data after the COMP module to the remote end respectively, and the decoding program at the remote end also needs to be modified accordingly. After detecting Flag=32'hFFFFFFFF, then detect Fisrt_frame, if Fisrt_frame=1, It is necessary to cache the data of the number of pixel_num opened from Begin_cnt. At the same time, after detecting Flag=32'hFFFFFFFF, if Fisrt_frame is detected again, if Fisrt_frame=0, then directly fetch the data of pixel_num number from the cache to complete the current frame.
本实施例在传统方案基础上进行了优化,视频压缩模块在写压缩数据的时候采取乒乓操作,写入A/B两块DDR地址空间,修改EMAC驱动,依次分别读取A/B两块区域,EMAC内部增加COMP比较单元,比较前后两帧视频数据在当前描述符长度上的一致性,如果后一帧的在当前描述符下与前一帧的数据相同,则将对应的数据修改为标志符,同 时对应的修改当前帧数据(增加标识符),然后在远端视频解码时候,解析对应的标志位信息,进行数据的补全操作。由于在真实应用场景中,前后两帧变化很小或者不变化,或者只局部发生变化的概率是极大的,因此本方案能够极大的减少网络传输的视频数据量。This embodiment is optimized on the basis of the traditional solution. The video compression module adopts a ping-pong operation when writing compressed data, writes into the A/B two DDR address spaces, modifies the EMAC driver, and reads the A/B two areas in turn. , the COMP comparison unit is added inside the EMAC to compare the consistency of the two frames of video data in the current descriptor length. If the data of the next frame is the same as the data of the previous frame under the current descriptor, the corresponding data will be changed to a flag symbol, and correspondingly modify the current frame data (increase the identifier), and then parse the corresponding flag bit information to complete the data when decoding the remote video. In a real application scenario, the probability that the preceding and following frames change little or do not change, or only partially change is extremely high, so this solution can greatly reduce the amount of video data transmitted over the network.
本实施例在网卡EMAC内部增加COMP比较功能,比较前后两帧数据在同一区域的数据一致性,如果数据一致,则后一帧对应的区域只传标识符,当前帧数据传输标识符+正常数据,在到解码端进行后一帧的数据补全,极大降低了网络传输的视频数据量,降低了网络带宽,提升系统性能。本实施例中网络驱动可实时检测网络带宽,动态调整网络驱动读取DDR中的数据长度,可达到最佳的数据长度。本实施例采用乒乓结构存储压缩视频数据,只修改了传统方案中的局部且实现不复杂,但是可极大降低基板管理控制芯片中的视频数据量,降低网络带宽。In this embodiment, the COMP comparison function is added inside the network card EMAC to compare the data consistency of the two frames of data in the same area before and after. If the data is consistent, only the identifier is transmitted in the area corresponding to the next frame, and the current frame data transmits the identifier + normal data , to complete the data of the next frame at the decoding end, which greatly reduces the amount of video data transmitted over the network, reduces the network bandwidth, and improves system performance. In this embodiment, the network driver can detect the network bandwidth in real time, and dynamically adjust the length of the data in the DDR read by the network driver, so as to achieve the optimal data length. This embodiment uses a ping-pong structure to store compressed video data, only partially modifying the traditional solution and the implementation is not complicated, but it can greatly reduce the amount of video data in the substrate management control chip and reduce the network bandwidth.
请参见图5,图5为本申请实施例所提供的一种视频数据传输装置的结构示意图,该装置应用于基板管理控制芯片,视频数据传输装置包括:Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a video data transmission device provided in an embodiment of the present application. The device is applied to a substrate management control chip. The video data transmission device includes:
数据存储模块501,用于对主机端发送的视频数据进行压缩得到视频压缩数据,并按照乒乓操作的结构将视频压缩数据分别存储至第一存储空间和第二存储空间;The
数据读取模块502,用于若接收到数据传输指令,则从第一存储空间中读取预设字节长度的第一待传输数据,并从第二存储空间中读取预设字节长度的第二待传输数据;The
相似度判断模块503,用于判断第一待传输数据和第二待传输数据的相似度是否大于或等于预设值;A
数据设置模块504,用于若第一待传输数据和第二待传输数据的相似度大于或等于预设值,则将添加有第一传输标识符的第一待传输数据设置为当前帧数据,将与第一传输标识符对应的第二传输标识符设置为后一帧数据;A
数据传输模块505,用于将当前帧数据和后一帧数据发送至视频数据接收端。The
本实施例按照乒乓操作的结构将视频压缩数据分别存储至第一存储空间和第二存储空间,在需要将视频压缩数据传输至数据接收端时,从第一存储空间中读取预设字节长度的第一待传输数据,并从第二存储空间中读取预设字节长度的第二待传输数据。若第一待传输数据和第二待传输数据的相似度大于或等于预设值,则认为这两份数据为内容相同的数据,此时将添加有第一传输标识符的第一待传输数据设置为当前帧数据,将与第一传输标识符对应的第二传输标识符设置为后一帧数据,进而将当前帧数据和后一帧数据发送至视频数据接收端。通过上述方式能够避免相同数据重复传输,进而降低了数 据传输对网络带宽的占用。In this embodiment, the compressed video data is stored in the first storage space and the second storage space respectively according to the structure of the ping-pong operation, and when the video compressed data needs to be transmitted to the data receiving end, the preset bytes are read from the first storage space length of the first data to be transmitted, and read second data to be transmitted with a preset byte length from the second storage space. If the similarity between the first data to be transmitted and the second data to be transmitted is greater than or equal to the preset value, the two pieces of data are considered to be data with the same content, and the first data to be transmitted with the first transmission identifier will be added at this time Set as the current frame data, set the second transmission identifier corresponding to the first transmission identifier as the next frame data, and then send the current frame data and the next frame data to the video data receiving end. Repeated transmission of the same data can be avoided through the above method, thereby reducing the occupation of network bandwidth by data transmission.
进一步的,还包括:Further, it also includes:
数据设置模块,用于在判断第一待传输数据和第二待传输数据的相似度是否大于预设值之后,若第一待传输数据和第二待传输数据的相似度小于预设值,则将第一待传输数据设置为当前帧数据,将第二待传输数据设置为后一帧数据。The data setting module is used for judging whether the similarity between the first data to be transmitted and the second data to be transmitted is greater than a preset value, if the similarity between the first data to be transmitted and the second data to be transmitted is smaller than the preset value, then The first data to be transmitted is set as the current frame data, and the second data to be transmitted is set as the next frame data.
进一步的,还包括:Further, it also includes:
第一标识符生成模块,用于在将添加有第一传输标识符的第一待传输数据设置为当前帧数据之前,生成第一待传输数据对应的第一传输标识符;其中,第一传输标识符包括标识字段Flag、帧类型字段First_frame,起始位置字段Begin_cnt,重复数据长度字段pixel_num;第一传输标识符的帧类型字段First_frame的值为1。The first identifier generating module is configured to generate a first transmission identifier corresponding to the first data to be transmitted before setting the first data to be transmitted with the first transmission identifier added as the current frame data; wherein, the first transmission The identifier includes an identification field Flag, a frame type field First_frame, a start position field Begin_cnt, and a repeated data length field pixel_num; the value of the frame type field First_frame of the first transmission identifier is 1.
进一步的,数据设置模块504用于在第一待传输数据之前添加第一传输标识符,得到当前帧数据。Further, the
进一步的,还包括:Further, it also includes:
第二标识符生成模块,用于在将与第一传输标识符对应的第二传输标识符设置为后一帧数据之前,生成第一传输标识符对应的第二传输标识符;其中,第二传输标识符包括标识字段Flag、帧类型字段First_frame,起始位置字段Begin_cnt,重复数据长度字段pixel_num;第二传输标识符的帧类型字段First_frame的值为0,第二传输标识符中标识字段Flag、起始位置字段Begin_cnt和重复数据长度字段pixel_num的值均与第一传输标识符相同。The second identifier generation module is used to generate the second transmission identifier corresponding to the first transmission identifier before setting the second transmission identifier corresponding to the first transmission identifier as the subsequent frame data; wherein, the second The transmission identifier includes the identification field Flag, the frame type field First_frame, the start position field Begin_cnt, and the repeated data length field pixel_num; the value of the frame type field First_frame of the second transmission identifier is 0, and the identification fields Flag, Both the values of the start position field Begin_cnt and the repeated data length field pixel_num are the same as the first transmission identifier.
请参见图6,图6为本申请实施例所提供的一种视频数据解码装置的结构示意图,该装置应用于视频数据接收端,视频数据解码装置包括:Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a video data decoding device provided in an embodiment of the present application. The device is applied to a video data receiving end, and the video data decoding device includes:
数据接收模块601,用于接收基板管理控制芯片通过权利要求1至5任一项的视频数据传输方法传输的当前帧数据和后一帧数据;A
第一判断模块602,用于判断当前帧数据中是否包括第一传输标识符;若是,则对当前帧数据中的第一待传输数据进行解码得到第一解码结果,并将第一解码结果添加至缓存;The
第二判断模块603,用于判断后一帧数据中是否包括第二传输标识符;若是,则从缓存中读取第一解码结果作为后一帧数据对应的第二解码结果;The
显示模块604,用于根据第一解码结果和第二解码结果生成待显示视频数据。A
本实施例接收图1对应实施例传输的当前帧数据和后一帧数据,若当前帧数据中包括第一传输标识符,则说明当前帧数据为重复数据的第一帧,若后一帧数据中包括第二传 输标识符,则说明后一帧数据为当前帧数据的重复数据,此时可以从缓存中读取第一解码结果作为后一帧数据对应的第二解码结果,进而根据第一解码结果和第二解码结果生成待显示视频数据。通过上述方式能够避免相同数据重复传输,进而降低了数据传输对网络带宽的占用,还能够降低解码数据的计算量。This embodiment receives the current frame data and the subsequent frame data transmitted by the embodiment corresponding to FIG. 1. If the current frame data includes the first transmission identifier, it means that the current frame data is the first frame of repeated data. If the second transmission identifier is included in the second transmission identifier, it means that the subsequent frame data is repeated data of the current frame data. At this time, the first decoding result can be read from the cache as the second decoding result corresponding to the subsequent frame data, and then according to the first The decoding result and the second decoding result generate video data to be displayed. Repeated transmission of the same data can be avoided through the above method, thereby reducing the occupation of network bandwidth by data transmission, and also reducing the amount of calculation for decoding data.
由于装置部分的实施例与方法部分的实施例相互对应,因此装置部分的实施例请参见方法部分的实施例的描述,这里暂不赘述。Since the embodiment of the device part corresponds to the embodiment of the method part, please refer to the description of the embodiment of the method part for the embodiment of the device part, and details will not be repeated here.
本申请还提供了一种非易失性计算机可读存储介质,其上存有计算机可读指令,该计算机可读指令被执行时可以实现上述上述视频数据传输方法和/或上述一种视频数据解码方法所提供的步骤。该存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The present application also provides a non-volatile computer-readable storage medium, on which computer-readable instructions are stored. When the computer-readable instructions are executed, the above-mentioned video data transmission method and/or the above-mentioned video data transmission method can be realized. The steps provided by the decoding method. The storage medium may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
本申请还提供了一种电子设备,可以包括存储器和一个或多个处理器,所述存储器中存有计算机可读指令,所述一个或多个处理器调用所述存储器中的计算机可读指令时,可以实现上述视频数据传输方法和/或上述一种视频数据解码方法所提供的步骤。当然所述电子设备还可以包括各种网络接口,电源等组件。The present application also provides an electronic device, which may include a memory and one or more processors, wherein computer-readable instructions are stored in the memory, and the one or more processors call the computer-readable instructions in the memory , the steps provided by the above video data transmission method and/or the above video data decoding method may be implemented. Of course, the electronic device may also include various network interfaces, power supplies and other components.
在一个实施例中,上述电子设备的内部结构图可以如图7所示,包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该电子设备的处理器用于提供计算和控制能力。该电子设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机可读指令和数据库。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该电子设备的数据库用于存储包裹对应的分拣任务信息等数据,具体存储的数据还可以参见上述方法实施例中的限定。该电子设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行时以实现上述视频数据传输方法和/或上述视频数据解码方法所提供的步骤。In one embodiment, the internal structure diagram of the above-mentioned electronic device may be as shown in FIG. 7 , including a processor, a memory, a network interface and a database connected through a system bus. Wherein, the processor of the electronic device is used to provide calculation and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer readable instructions and a database. The internal memory provides an environment for the execution of the operating system and computer readable instructions in the non-volatile storage medium. The database of the electronic device is used to store data such as sorting task information corresponding to the package, and specific stored data may also refer to the definitions in the foregoing method embodiments. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer-readable instructions are executed by the processor, the steps provided by the above-mentioned video data transmission method and/or the above-mentioned video data decoding method are realized.
本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的电子设备的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 7 is only a block diagram of a partial structure related to the solution of this application, and does not constitute a limitation on the electronic equipment to which the solution of this application is applied. The specific electronic equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的 保护范围内。Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for relevant details, please refer to the description of the method part. It should be pointed out that for those skilled in the art, without departing from the principle of the application, several improvements and modifications can be made to the application, and these improvements and modifications also fall within the protection scope of the claims of the application.
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的状况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is no such actual relationship or order between the operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/564,050US12143609B2 (en) | 2021-12-06 | 2022-06-22 | Video data transmission method, video data decoding method, and related apparatuses |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111472327.5 | 2021-12-06 | ||
| CN202111472327.5ACN113873255B (en) | 2021-12-06 | 2021-12-06 | Video data transmission method, video data decoding method and related devices |
| Publication Number | Publication Date |
|---|---|
| WO2023103336A1true WO2023103336A1 (en) | 2023-06-15 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/100477CeasedWO2023103336A1 (en) | 2021-12-06 | 2022-06-22 | Video data transmission method, video data decoding method, and related apparatuses |
| Country | Link |
|---|---|
| CN (1) | CN113873255B (en) |
| WO (1) | WO2023103336A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113873255B (en)* | 2021-12-06 | 2022-02-18 | 苏州浪潮智能科技有限公司 | Video data transmission method, video data decoding method and related devices |
| CN114083831A (en) | 2021-12-06 | 2022-02-25 | 深圳市鑫东泰塑胶有限公司 | A kind of environmental protection plastic plastic box bonding equipment and its environmental protection plastic packaging box folding process |
| CN114051145B (en)* | 2022-01-11 | 2022-04-22 | 苏州浪潮智能科技有限公司 | A video compression processing method, device and medium |
| CN115209145A (en)* | 2022-09-15 | 2022-10-18 | 苏州浪潮智能科技有限公司 | Video compression method, system, device and readable storage medium |
| CN115620197A (en)* | 2022-10-21 | 2023-01-17 | 山东云海国创云计算装备产业创新中心有限公司 | Action recognition method, device, equipment and storage medium based on data expansion |
| CN118338002B (en)* | 2024-06-12 | 2024-09-24 | 山东云海国创云计算装备产业创新中心有限公司 | BMC video compression method, device and system and baseboard management controller |
| CN118842932A (en)* | 2024-09-23 | 2024-10-25 | 山东云海国创云计算装备产业创新中心有限公司 | Video processing method, device, electronic equipment, medium and product |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5174641A (en)* | 1990-07-25 | 1992-12-29 | Massachusetts Institute Of Technology | Video encoding method for television applications |
| WO2011047330A2 (en)* | 2009-10-15 | 2011-04-21 | Omnivision Technologies, Inc. | Low-cost video encoder |
| CN202206502U (en)* | 2011-09-23 | 2012-04-25 | 湖南城市学院 | Door access video signal transmitting device |
| CN102946529A (en)* | 2012-10-19 | 2013-02-27 | 华中科技大学 | Image transmission and processing system based on FPGA (Field Programmable Gate Array) and multi-core DSP (Digital Signal Processor) |
| CN107835424A (en)* | 2017-12-18 | 2018-03-23 | 合肥亚慕信息科技有限公司 | A kind of media sync transmission player method based on data perception |
| CN110532219A (en)* | 2019-06-25 | 2019-12-03 | 北京理工大学 | It is a kind of that table tennis date storage method is gone based on FPGA |
| CN113873255A (en)* | 2021-12-06 | 2021-12-31 | 苏州浪潮智能科技有限公司 | A video data transmission method, video data decoding method and related device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101127819A (en)* | 2007-10-12 | 2008-02-20 | 杭州华三通信技术有限公司 | A method and device for image transmission |
| CN102810294A (en)* | 2012-08-01 | 2012-12-05 | 京东方科技集团股份有限公司 | A display method, device and system |
| JP2018192002A (en)* | 2017-05-17 | 2018-12-06 | オリンパス株式会社 | Endoscope apparatus and imaging method |
| CN113709490A (en)* | 2021-07-30 | 2021-11-26 | 山东云海国创云计算装备产业创新中心有限公司 | Video compression method, device, system and medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5174641A (en)* | 1990-07-25 | 1992-12-29 | Massachusetts Institute Of Technology | Video encoding method for television applications |
| WO2011047330A2 (en)* | 2009-10-15 | 2011-04-21 | Omnivision Technologies, Inc. | Low-cost video encoder |
| CN202206502U (en)* | 2011-09-23 | 2012-04-25 | 湖南城市学院 | Door access video signal transmitting device |
| CN102946529A (en)* | 2012-10-19 | 2013-02-27 | 华中科技大学 | Image transmission and processing system based on FPGA (Field Programmable Gate Array) and multi-core DSP (Digital Signal Processor) |
| CN107835424A (en)* | 2017-12-18 | 2018-03-23 | 合肥亚慕信息科技有限公司 | A kind of media sync transmission player method based on data perception |
| CN110532219A (en)* | 2019-06-25 | 2019-12-03 | 北京理工大学 | It is a kind of that table tennis date storage method is gone based on FPGA |
| CN113873255A (en)* | 2021-12-06 | 2021-12-31 | 苏州浪潮智能科技有限公司 | A video data transmission method, video data decoding method and related device |
| Publication number | Publication date |
|---|---|
| CN113873255B (en) | 2022-02-18 |
| CN113873255A (en) | 2021-12-31 |
| Publication | Publication Date | Title |
|---|---|---|
| WO2023103336A1 (en) | Video data transmission method, video data decoding method, and related apparatuses | |
| US12143609B2 (en) | Video data transmission method, video data decoding method, and related apparatuses | |
| CN105631035B (en) | Date storage method and device | |
| TW392391B (en) | Variable length code detection in a signal processing system | |
| WO2014063652A1 (en) | Method and server for providing image data to computing terminal | |
| CN114051145B (en) | A video compression processing method, device and medium | |
| CN114466196B (en) | Video data processing method, system, device, and computer-readable storage medium | |
| CN110888862A (en) | Data storage method, data query method, data storage device, data query device, server and storage medium | |
| CN112948151A (en) | Program interface image transmission method, substrate management controller and remote control equipment | |
| CN103503381B (en) | The method of data transmission of device redirection, Apparatus and system | |
| CN107147914A (en) | An embedded system, a monochrome bitmap compression method, and a host computer | |
| CN102055806B (en) | Remote intelligent terminal service control system | |
| CN108391170A (en) | Switch method, apparatus, television set and the storage medium of EDID files | |
| CN114339378A (en) | Audio and video code stream processing method and device and electronic equipment | |
| CN113704206B (en) | Metadata processing method and device, electronic equipment and storage medium | |
| US9471584B2 (en) | Demand paging method for mobile terminal, controller and mobile terminal | |
| CN108259958B (en) | Remote control key response method, device, device and storage medium | |
| WO2024119812A1 (en) | Image processing method, system and apparatus, image compression apparatus, and storage medium | |
| CN101141442B (en) | System and method for implementing memory card function service | |
| WO2021237513A1 (en) | Data compression storage system and method, processor, and computer storage medium | |
| WO2023231858A1 (en) | Data transmission circuit, data transmission method, and electronic device | |
| WO2024078172A1 (en) | Screen display method and apparatus, device, and readable storage medium | |
| CN115665481A (en) | Video processing apparatus, method, device, and storage medium | |
| CN115103189A (en) | Data processing method, apparatus, computer equipment and readable storage medium | |
| CN109582589B (en) | Semiconductor device and memory access method |
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | Ref document number:22902773 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:22902773 Country of ref document:EP Kind code of ref document:A1 | |
| 122 | Ep: pct application non-entry in european phase | Ref document number:22902773 Country of ref document:EP Kind code of ref document:A1 | |
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established | Free format text:NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/11/2024) | |
| 122 | Ep: pct application non-entry in european phase | Ref document number:22902773 Country of ref document:EP Kind code of ref document:A1 |