CN111683252A - Server and output system and method of video compression image - Google Patents

Server and output system and method of video compression image Download PDF

Info

Publication number
CN111683252A
CN111683252A CN202010529635.6A CN202010529635A CN111683252A CN 111683252 A CN111683252 A CN 111683252A CN 202010529635 A CN202010529635 A CN 202010529635A CN 111683252 A CN111683252 A CN 111683252A
Authority
CN
China
Prior art keywords
frame
image data
management module
interrupt signal
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010529635.6A
Other languages
Chinese (zh)
Other versions
CN111683252B (en
Inventor
魏红杨
童元满
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN202010529635.6A priority Critical patent/CN111683252B/en
Publication of CN111683252A publication Critical patent/CN111683252A/en
Application granted granted Critical
Publication of CN111683252B publication Critical patent/CN111683252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/226Characteristics of the server or Internal components of the server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load

Abstract

The application discloses output system of video compression image includes: the compression module is used for placing the compressed image data into the cache module every time one frame of image data is compressed; a cache module; a control module; the data write-in controller is used for reading out a frame of image data from the cache module based on a first-in first-out rule and writing the frame of image data into a preset memory area when the BMC management module clears an interrupt signal, and outputting the interrupt signal once through the control module, so that the BMC management module clears the interrupt signal after reading the frame of image data from the memory area; when the current interrupt signal is determined not to be cleared by the BMC management module and the duration exceeds a preset duration threshold, frame dropping is carried out according to a preset active frame dropping rule; and a BMC management module. By applying the scheme of the application, the situation of image tearing is avoided. The application also provides a server and an output method of the video compression image, and the server and the output method have corresponding effects.

Description

Server and output system and method of video compression image
Technical Field
The present invention relates to the technical field of servers, and in particular, to a server and a system and a method for outputting video compressed images.
Background
In the current server field, a BMC management module or BMC management system is an indispensable important component in server monitoring and management, provides rich management interfaces between management software and a hardware platform, can monitor the running state of a server in real time, discover and record running faults, and provides means for remote login and maintenance to ensure the normal running of the server. The remote desktop display function needs to use a video compression module of the BMC, and the video compression module can compress video images generated by a local system of the server and transmit the compressed video images to a remote end through the Ethernet for display.
However, video images are continuously generated, and when an abnormal condition occurs in a transmission process, especially when the BMC fails to timely send image data in the memory, in practical applications, an image tearing condition easily occurs, where the image tearing condition indicates that a data portion of the frame of image received by a remote end is lost.
In summary, how to effectively output the video compression image and avoid the image tearing is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a server, a video compression image output system and a video compression image output method, so that the output of a video compression image is effectively carried out, and the situation of image tearing is avoided.
In order to solve the technical problems, the invention provides the following technical scheme:
an output system for video compressed images, comprising:
the compression module is used for placing the compressed frame of image data into the cache module after one frame of image data is compressed;
the cache module;
a control module;
the data write-in controller is used for reading a frame of image data from the cache module based on a first-in first-out rule when the BMC management module clears an interrupt signal, writing the frame of image data into a preset memory area and outputting a primary interrupt signal to the BMC management module through the control module so that the BMC management module clears the primary interrupt signal after reading the frame of image data from the memory area; when the current interrupt signal is determined not to be cleared by the BMC management module and the duration exceeds a preset duration threshold, frame dropping is carried out according to a preset active frame dropping rule;
and the BMC management module is used for outputting each frame of image data read from the memory area.
Preferably, the preset active frame dropping rule is as follows:
reading a frame of image data from the cache module based on a first-in first-out rule, discarding the image data after reading, judging whether the BMC management module clears the currently existing interrupt signal after discarding, if so, ending the frame-missing process, otherwise, returning to execute the operation of reading a frame of image data from the cache module and discarding the image data until the BMC management module clears the currently existing interrupt signal.
Preferably, the preset active frame dropping rule is as follows:
when the remaining available space of the cache module is judged to be lower than a preset space threshold value, reading a frame of image data from the cache module based on a first-in first-out rule, discarding the frame of image data after reading, judging whether the BMC management module clears the currently existing interrupt signal after discarding, if so, ending the frame-missing process, otherwise, returning to execute the operation of reading a frame of image data from the cache module and discarding the frame of image data until the BMC management module clears the currently existing interrupt signal.
Preferably, the data write controller is further configured to:
after any frame of image data is written into a preset memory area, the frame header start-stop address of the frame of image data and the size of the frame of image data are sent to the BMC management module through the control module.
Preferably, the data write controller is a data write controller that performs a write operation based on an AXI bus.
An output method of a video compressed image, applied to any one of the output systems of the video compressed image, includes:
the compression module is used for placing the compressed frame of image data into the cache module after compressing the frame of image data;
when the BMC management module clears an interrupt signal, the data write-in controller reads a frame of image data from the cache module based on a first-in first-out rule, writes the frame of image data into a preset memory area and outputs the interrupt signal to the BMC management module through the control module, so that the BMC management module clears the interrupt signal after reading the frame of image data from the memory area;
when the current interrupt signal is determined not to be cleared by the BMC management module and the duration exceeds a preset duration threshold, the data write-in controller performs frame loss according to a preset active frame loss rule;
and the BMC management module outputs each frame of image data read from the memory area.
Preferably, the preset active frame dropping rule is as follows:
the data write-in controller reads a frame of image data from the cache module based on a first-in first-out rule, discards the image data after reading, and judges whether the BMC management module clears the currently existing interrupt signal after discarding, if so, the frame-missing process is finished, otherwise, the data write-in controller returns to execute the operation of reading a frame of image data from the cache module and discarding the image data until the BMC management module clears the currently existing interrupt signal.
Preferably, the preset active frame dropping rule is as follows:
when the remaining available space of the cache module is judged to be lower than a preset space threshold value, the data write-in controller reads a frame of image data from the cache module based on a first-in first-out rule, discards the image data after reading, judges whether the BMC management module clears the currently existing interrupt signal after discarding, if so, the frame-missing process is finished, otherwise, the operation of reading a frame of image data from the cache module and discarding is returned to be executed until the BMC management module clears the currently existing interrupt signal.
Preferably, the method further comprises the following steps:
after writing any frame of image data into a preset memory area, the data writing controller sends the frame header start-stop address of the frame of image data and the size of the frame of image data to the BMC management module through the control module.
A server comprising the video compressed image output system of any one of the above.
By applying the technical scheme provided by the embodiment of the invention, the blocking is prevented by actively dropping frames, thereby avoiding the situation of image tearing. Specifically, each time the BMC management module clears the one-time interrupt signal, the data write controller may read a frame of image data from the buffer module based on a first-in first-out rule, write the frame of image data into the preset memory area, and output the one-time interrupt signal to the BMC management module through the control module. Therefore, if the output system of the video compressed image of the application operates normally, after the BMC management module reads the frame of image data from the memory area, the interrupt signal can be cleared in time, so that the data write controller can write the next frame into the memory. Correspondingly, if it is determined that the currently existing interrupt signal is not cleared by the BMC management module and the duration exceeds the preset duration threshold, it is described that the current output of the video compressed image is blocked, so that the present application drops frames according to the preset active frame dropping rule. In conclusion, the scheme of the application can effectively output the video compression image, and avoids the situation of image tearing.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an output system for video compression image according to the present invention;
FIG. 2 is a schematic diagram of an output system for video compression according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating an embodiment of a method for outputting a video compressed image according to the present invention.
Detailed Description
The core of the invention is to provide an output system of the video compression image, which can effectively output the video compression image and avoid the image tearing condition.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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 invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an output system of a video compressed image according to the present invention, the output system of the video compressed image may include:
a compression module 10, configured to, each time a frame of image data is compressed, place the compressed frame of image data into a buffer module 20;
a cache module 20;
a control module 30;
the data write-in controller 40 is configured to read a frame of image data from the buffer module 20 based on a first-in first-out rule whenever the BMC management module clears an interrupt signal, write the frame of image data into a preset memory area, and output an interrupt signal to the BMC management module through the control module 30, so that the BMC management module clears the interrupt signal after reading the frame of image data from the memory area; when the current interrupt signal is determined not to be cleared by the BMC management module and the duration exceeds a preset duration threshold, frame dropping is carried out according to a preset active frame dropping rule;
and the BMC management module is used for outputting each frame of image data read from the memory area.
Specifically, the display card in the server host can receive display information of the server host operating system, can form VGA data, display the VGA data locally in the server, and simultaneously, can store the VGA data in the memory according to a certain format, so that the remote end can obtain the VGA data through the ethernet network. And because the compression can reduce the amount of data transmitted by the ethernet network, a video compression module is usually arranged in the conventional BMC to read VGA data from a memory for compression, and the VGA data is stored in a corresponding area of the memory after compression, so that the compressed data stored in the memory can be transmitted to a remote end through the ethernet network for the remote end to display video.
In the solution of the present application, in addition to the compression module 10 being provided to reduce the amount of transmission data for subsequent data transmission in ethernet, a buffer module 20, a control module 30, and a data write controller 40 are also provided. In addition, the BMC management module is not shown in fig. 1 and 2 of the present application.
Since video compression is performed according to one-by-one image compression, each time a frame of image data is compressed, the compression module 10 puts the compressed frame of image data into the buffer module 20 provided in the present application. The compression module 10 may be specifically selected as, for example, the JPEG image compression module 10 in fig. 2.
The buffer module 20 of the present application may be selected as a FIFO (First Input First Output) type buffer module 20, and the size of the space of the buffer module 20 may also be set and adjusted according to actual needs, without affecting the implementation of the present invention, and of course, the size of the space may be set to a size capable of accommodating multi-frame image data.
When the compression module 10 puts the compressed image data of each frame into the cache module 20, the communication protocol based on which may also be selected according to needs, for example, the compressed image data of each frame may be sequentially put into the cache module 20 through an AHB (Advanced high performance Bus) interface in the embodiment of fig. 2.
Whether the BMC management module clears the currently existing interrupt signal may be detected by the data write controller 40 or by the control module 30, as long as the function of the present application can be implemented. For example, when the data write controller 40 determines that the BMC management module clears the currently existing interrupt signal, the information may be sent to the control module 30, and the control module 30 may further output a trigger signal to the data write controller 40, that is, each time the data write controller 40 receives a trigger signal, one frame of image data may be read from the buffer module 20 and written into the preset memory area. For another example, the control module 30 determines whether the BMC management module clears the currently existing interrupt signal, if it determines that the currently existing interrupt signal is cleared, the control module 30 may output a trigger signal to the data write-in controller 40, and each time the data write-in controller 40 receives a trigger signal, the data write-in controller may read out a frame of image data from the buffer module 20 and write the frame of image data into the preset memory area.
When the data write controller 40 writes the image data into the preset memory area, the communication protocol based on may also be selected as needed, for example, considering that the AXI bus has a higher data transmission rate, so in an embodiment of the present invention, the data write controller 40 may be the data write controller 40 that performs the write operation based on the AXI (Advanced eXtensible Interface) bus. For example, in fig. 2, the data write controller 40 of the present application may be specifically selected as AXI Master.
It should be noted that, when the AXI bus is selected to implement the data write controller 40 of the present application, since the data amount written by the data write controller 40 at each time is fixed, the data write controller 40 writes the frame of image data read from the buffer module 20 into a preset memory area, and multiple write operations may need to be performed. For example, if the image data size of a certain frame is 20 bits, the data write controller 40 assumes that 16-bit data is fixedly written each time, it is necessary to write twice for the image data of the present frame, and the insufficient number of bits can be filled by complementing 0 at the time of writing the second time.
After the data write controller 40 writes the complete frame of image data into the preset memory region, it can output an interrupt signal to the BMC management module through the control module 30, and the BMC management module clears the interrupt signal after reading the frame of image data from the memory region. It is understood that, when the output system of the video compressed image is operating normally, the BMC management module clears the interrupt signal in time, so that the data write controller 40 can continue to write the next frame of image data into the predetermined memory area, and then generates the interrupt signal, and so on.
The preset memory region may be set by a worker, for example, an instruction for setting the memory region is output to the control module 30 through an APB (advanced peripheral Bus) interface, where the instruction may carry a start address and a size of the memory, so as to limit an address range of the memory region when the data write controller 40 performs a write operation. The data writing controller 40 writes the image data of each frame into the preset memory area by performing the writing operation in a sequential writing manner or a cyclic writing manner, which is also a more common data writing manner.
As described above, when the output system of the video compressed image normally operates, the BMC management module may timely clear the interrupt signal, and if the BMC management module does not timely clear the interrupt signal, for example, some abnormal conditions cause the BMC management module to not timely clear the interrupt signal, if the active frame dropping operation of the present application is not performed, it can be understood that the data write controller 40 will not continuously write the image data into the memory, and the compression module 10 will continuously generate the image data and place the image data into the buffer module 20, and when the buffer module 20 is full, a part of data content of a certain frame is easily stored in the buffer module 20, and another part of the data content is not stored, and then the image will be torn.
Therefore, in the scheme of the application, when it is determined that the currently existing interrupt signal is not cleared by the BMC management module and the duration exceeds the preset duration threshold, it can be determined that the output system of the video compressed image is blocked, and frame dropping can be performed according to the preset active frame dropping rule. The preset active frame dropping rule can be set according to actual needs, but when dropping, complete one or more frames of data need to be dropped to avoid the situation of image tearing.
For example, in an embodiment of the present invention, the preset active frame dropping rule is:
reading a frame of image data from the buffer module 20 based on a first-in first-out rule, discarding the frame of image data after reading the frame of image data, judging whether the BMC management module clears the currently existing interrupt signal after discarding the frame of image data, if so, ending the frame-missing process, otherwise, returning to execute the operation of reading a frame of image data from the buffer module 20 and discarding the frame of image data until the BMC management module clears the currently existing interrupt signal.
In this embodiment, as long as it is determined that the currently existing interrupt signal is not cleared by the BMC management module and the duration exceeds the preset duration threshold, the data write controller 40 starts to drop frames. Specifically, the data write controller 40 reads out a frame of image data from the buffer module 20 based on the first-in first-out rule, and discards the frame of image data after reading. Then, it can be determined whether the BMC management module clears the currently existing interrupt signal, if not, a frame is discarded, and then it is determined whether the interrupt signal is cleared, and so on. Until the current interrupt signal is cleared, the frame loss process is finished. That is, when it is determined that the current interrupt signal is cleared, the data write controller 40 may read out one frame of image data from the buffer module 20 and write the frame of image data into the preset memory area, and then output an interrupt signal to the BMC management module through the control module 30.
In a specific embodiment of the present invention, the preset active frame dropping rule is:
when the remaining available space of the cache module 20 is judged to be lower than the preset space threshold, reading a frame of image data from the cache module 20 based on a first-in first-out rule, discarding the frame of image data after reading, judging whether the BMC management module clears the currently existing interrupt signal after discarding, if so, ending the frame-missing process, otherwise, returning to execute the operation of reading a frame of image data from the cache module 20 and discarding the frame of image data until the BMC management module clears the currently existing interrupt signal.
Considering that the buffer module 20 has a certain capability of storing image data, after it is determined that the currently existing interrupt signal is not cleared by the BMC management module and the duration exceeds the preset duration threshold, in this embodiment, the frame dropping operation is not performed immediately, but the frame dropping operation is performed only when the remaining available space of the buffer module 20 is lower than the preset space threshold, so as to fully utilize the storage capability of the buffer module 20. The value of the spatial threshold may be set and adjusted according to actual needs, but is usually set to a value larger than the size of one frame of image data. In addition, in this embodiment, the operation of determining whether the remaining available space of the cache module 20 is lower than the preset space threshold may be implemented by the control module 30, or may be implemented by the data write controller 40, without affecting the implementation of the present invention, for example, in the embodiment of fig. 2, the control module 30 may determine whether the remaining available space of the cache module 20 is lower than the preset space threshold.
Further, in an embodiment of the present invention, the data writing controller 40 may further be configured to:
after writing any frame of image data into the preset memory area, the frame header start-stop address of the frame of image data and the size of the frame of image data are sent to the BMC management module through the control module 30.
In this embodiment, the BMC management module needs to know the start position and the end position of each frame image in the memory area, considering that the BMC management module needs to send each frame image in the memory area to the remote end through the ethernet. For each frame of image data, the BMC management module may determine the start position and the end position of the frame of image by detecting the frame head flag and the frame tail flag of the frame of image. In this embodiment, considering that the BMC management module determines the start position and the end position of the frame of image, the time consumed by the BMC management module to clear the interrupt signal may be increased, and it is also not beneficial to send the image data to the remote end in time, so that the data write controller 40 obtains the start and stop address of the frame header of the frame of image data and the size of the frame of image data after writing any frame of image data into the preset memory area, and sends the frame of image data to the BMC management module through the control module 30, which reduces the workload of the BMC management module, and is also beneficial to improving the work efficiency of the output system of the video compressed image of the present application.
The implementation method has more obvious effect particularly in the situation that the BMC management module is busy.
When writing any frame of image data into a preset memory area, the data write controller 40 may determine the head of the frame according to the frame head flag, determine the tail of the frame according to the frame tail flag, start counting from the frame head flag of the frame through a counter provided in the data write controller 40 until the frame tail flag is detected, and stop counting, so as to obtain the size of the image data of the current frame. Since the data write controller 40 performs the write operation in a sequential write mode or a cyclic write mode, the data write controller 40 can also know the frame header start/stop address for writing the frame of image data into the memory area.
In addition, since the data write controller 40 needs to send an interrupt signal to the BMC management module through the control module 30, in this embodiment, the frame header start/stop address of the frame image data, the size of the frame image data, and the interrupt signal may be sent together. Of course, each frame of image data described in the present application refers to image data compressed by the compression module 10.
By applying the technical scheme provided by the embodiment of the invention, the blocking is prevented by actively dropping frames, thereby avoiding the situation of image tearing. Specifically, each time the BMC management module clears the primary interrupt signal, the data write controller 40 may read a frame of image data from the buffer module 20 based on a first-in first-out rule, write the frame of image data into the preset memory area, and output the primary interrupt signal to the BMC management module through the control module 30. Therefore, if the output system of the video compressed image of the present application operates normally, after the BMC management module reads the frame of image data from the memory area, the interrupt signal may be cleared in time, so that the data write controller 40 may write the next frame into the memory. Correspondingly, if it is determined that the currently existing interrupt signal is not cleared by the BMC management module and the duration exceeds the preset duration threshold, it is described that the current output of the video compressed image is blocked, so that the present application drops frames according to the preset active frame dropping rule. In conclusion, the scheme of the application can effectively output the video compression image, and avoids the situation of image tearing.
Corresponding to the above system embodiments, the embodiments of the present invention further provide an output method of video compressed images, which can be referred to in correspondence with the above.
Referring to fig. 3, a flowchart of an output method of a video compressed image according to the present invention is shown, where the method can be applied to the output system of a video compressed image in any of the above embodiments, and includes:
step S101: the compression module is used for placing the compressed frame of image data into the cache module after compressing the frame of image data;
step S102: when the BMC management module clears an interrupt signal, the data write-in controller reads a frame of image data from the cache module based on a first-in first-out rule, writes the frame of image data into a preset memory area and outputs an interrupt signal to the BMC management module through the control module, so that the BMC management module clears the interrupt signal after reading the frame of image data from the memory area;
step S103: when the current interrupt signal is determined not to be cleared by the BMC management module and the duration exceeds a preset duration threshold, the data write-in controller performs frame loss according to a preset active frame loss rule;
step S104: and the BMC management module outputs each frame of image data read from the memory area.
In a specific embodiment of the present invention, the preset active frame dropping rule is:
the data writing controller reads a frame of image data from the cache module based on a first-in first-out rule, discards the image data after reading, judges whether the BMC management module clears the currently existing interrupt signal after discarding, if so, the frame-dropping process is finished, otherwise, the operation of reading a frame of image data from the cache module and discarding is returned until the BMC management module clears the currently existing interrupt signal.
In a specific embodiment of the present invention, the preset active frame dropping rule is:
when the remaining available space of the cache module is judged to be lower than the preset space threshold value, the data write-in controller reads a frame of image data from the cache module based on a first-in first-out rule, discards the frame of image data after reading, judges whether the BMC management module clears the currently existing interrupt signal after discarding, if so, the frame-missing process is finished, otherwise, the operation of reading a frame of image data from the cache module and discarding is returned to be executed until the BMC management module clears the currently existing interrupt signal.
In one embodiment of the present invention, the method further comprises:
after writing any frame of image data into a preset memory area, the data writing controller sends the frame header start-stop address of the frame of image data and the size of the frame of image data to the BMC management module through the control module.
In one embodiment of the present invention, the data write controller is a data write controller that performs a write operation based on an AXI bus.
Corresponding to the above system and method embodiments, embodiments of the present invention further provide a server, which may include the output system of video compressed images in any of the above embodiments, and reference may be made to the above embodiments, and a description thereof is not repeated here.
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 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.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. An output system for video compression images, comprising:
the compression module is used for placing the compressed frame of image data into the cache module after one frame of image data is compressed;
the cache module;
a control module;
the data write-in controller is used for reading a frame of image data from the cache module based on a first-in first-out rule when the BMC management module clears an interrupt signal, writing the frame of image data into a preset memory area and outputting a primary interrupt signal to the BMC management module through the control module so that the BMC management module clears the primary interrupt signal after reading the frame of image data from the memory area; when the current interrupt signal is determined not to be cleared by the BMC management module and the duration exceeds a preset duration threshold, frame dropping is carried out according to a preset active frame dropping rule;
and the BMC management module is used for outputting each frame of image data read from the memory area.
2. The system for outputting compressed video images according to claim 1, wherein the preset active frame dropping rule is:
reading a frame of image data from the cache module based on a first-in first-out rule, discarding the image data after reading, judging whether the BMC management module clears the currently existing interrupt signal after discarding, if so, ending the frame-missing process, otherwise, returning to execute the operation of reading a frame of image data from the cache module and discarding the image data until the BMC management module clears the currently existing interrupt signal.
3. The system for outputting compressed video images according to claim 1, wherein the preset active frame dropping rule is:
when the remaining available space of the cache module is judged to be lower than a preset space threshold value, reading a frame of image data from the cache module based on a first-in first-out rule, discarding the frame of image data after reading, judging whether the BMC management module clears the currently existing interrupt signal after discarding, if so, ending the frame-missing process, otherwise, returning to execute the operation of reading a frame of image data from the cache module and discarding the frame of image data until the BMC management module clears the currently existing interrupt signal.
4. The system for outputting a video compressed image according to any one of claims 1 to 3, wherein the data write controller is further configured to:
after any frame of image data is written into a preset memory area, the frame header start-stop address of the frame of image data and the size of the frame of image data are sent to the BMC management module through the control module.
5. The system for outputting a video compressed image according to claim 1, wherein the data write controller is a data write controller for performing a write operation based on an AXI bus.
6. An output method of a video compressed image, applied to the output system of a video compressed image according to any one of claims 1 to 5, comprising:
the compression module is used for placing the compressed frame of image data into the cache module after compressing the frame of image data;
when the BMC management module clears an interrupt signal, the data write-in controller reads a frame of image data from the cache module based on a first-in first-out rule, writes the frame of image data into a preset memory area and outputs the interrupt signal to the BMC management module through the control module, so that the BMC management module clears the interrupt signal after reading the frame of image data from the memory area;
when the current interrupt signal is determined not to be cleared by the BMC management module and the duration exceeds a preset duration threshold, the data write-in controller performs frame loss according to a preset active frame loss rule;
and the BMC management module outputs each frame of image data read from the memory area.
7. The output method of video compressed images according to claim 6, wherein the preset active frame loss rule is:
the data write-in controller reads a frame of image data from the cache module based on a first-in first-out rule, discards the image data after reading, and judges whether the BMC management module clears the currently existing interrupt signal after discarding, if so, the frame-missing process is finished, otherwise, the data write-in controller returns to execute the operation of reading a frame of image data from the cache module and discarding the image data until the BMC management module clears the currently existing interrupt signal.
8. The output method of video compressed images according to claim 6, wherein the preset active frame loss rule is:
when the remaining available space of the cache module is judged to be lower than a preset space threshold value, the data write-in controller reads a frame of image data from the cache module based on a first-in first-out rule, discards the image data after reading, judges whether the BMC management module clears the currently existing interrupt signal after discarding, if so, the frame-missing process is finished, otherwise, the operation of reading a frame of image data from the cache module and discarding is returned to be executed until the BMC management module clears the currently existing interrupt signal.
9. The method for outputting a video compressed image according to any one of claims 6 to 8, further comprising:
after writing any frame of image data into a preset memory area, the data writing controller sends the frame header start-stop address of the frame of image data and the size of the frame of image data to the BMC management module through the control module.
10. A server, characterized by comprising the output system of video compressed images according to any one of claims 1 to 5.
CN202010529635.6A 2020-06-11 2020-06-11 Server and output system and method of video compression image Active CN111683252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010529635.6A CN111683252B (en) 2020-06-11 2020-06-11 Server and output system and method of video compression image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010529635.6A CN111683252B (en) 2020-06-11 2020-06-11 Server and output system and method of video compression image

Publications (2)

Publication Number Publication Date
CN111683252A true CN111683252A (en) 2020-09-18
CN111683252B CN111683252B (en) 2021-11-09

Family

ID=72454805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010529635.6A Active CN111683252B (en) 2020-06-11 2020-06-11 Server and output system and method of video compression image

Country Status (1)

Country Link
CN (1) CN111683252B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511839A (en) * 2020-11-26 2021-03-16 山东云海国创云计算装备产业创新中心有限公司 Video transmission control method, device, equipment and readable storage medium
CN112839231A (en) * 2021-01-15 2021-05-25 苏州浪潮智能科技有限公司 Video compression transmission method and system
CN113852564A (en) * 2021-11-29 2021-12-28 苏州浪潮智能科技有限公司 Server control method, device and medium
CN114567787A (en) * 2022-02-28 2022-05-31 山东云海国创云计算装备产业创新中心有限公司 Video compression method, system and related device applied to BMC
CN114615209A (en) * 2022-03-11 2022-06-10 山东云海国创云计算装备产业创新中心有限公司 Dynamic adaptive image compression method, device, equipment and readable medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222433A (en) * 2008-01-23 2008-07-16 华为技术有限公司 Method, system and device for controlling data flux
US7516255B1 (en) * 2005-03-30 2009-04-07 Teradici Corporation Method and apparatus for providing a low-latency connection between a data processor and a remote graphical user interface over a network
JP2012037690A (en) * 2010-08-06 2012-02-23 Sharp Corp Image processor
CN102724560A (en) * 2012-06-28 2012-10-10 广东威创视讯科技股份有限公司 Method and device for audio data display
CN102984002A (en) * 2012-11-27 2013-03-20 华为技术有限公司 Method and device for processing input/output (I/O) overtime
CN103269421A (en) * 2013-05-23 2013-08-28 广东威创视讯科技股份有限公司 Frame dropping method and system of video image
CN104641361A (en) * 2012-09-18 2015-05-20 思科技术公司 Real time and high resolution buffer occupancy monitoring and recording
CN105144281A (en) * 2013-04-26 2015-12-09 夏普株式会社 Memory control device and mobile terminal
CN107231563A (en) * 2016-03-24 2017-10-03 腾讯科技(深圳)有限公司 Method for processing video frequency and device
CN107919997A (en) * 2017-10-12 2018-04-17 北京遥感设备研究所 A kind of frame losing detection method and system based on DSP
CN108737818A (en) * 2018-05-21 2018-11-02 深圳市梦网科技发展有限公司 Frame losing method, device and terminal device under a kind of congested network

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7516255B1 (en) * 2005-03-30 2009-04-07 Teradici Corporation Method and apparatus for providing a low-latency connection between a data processor and a remote graphical user interface over a network
CN101222433A (en) * 2008-01-23 2008-07-16 华为技术有限公司 Method, system and device for controlling data flux
JP2012037690A (en) * 2010-08-06 2012-02-23 Sharp Corp Image processor
CN102724560A (en) * 2012-06-28 2012-10-10 广东威创视讯科技股份有限公司 Method and device for audio data display
CN104641361A (en) * 2012-09-18 2015-05-20 思科技术公司 Real time and high resolution buffer occupancy monitoring and recording
CN102984002A (en) * 2012-11-27 2013-03-20 华为技术有限公司 Method and device for processing input/output (I/O) overtime
CN105144281A (en) * 2013-04-26 2015-12-09 夏普株式会社 Memory control device and mobile terminal
CN103269421A (en) * 2013-05-23 2013-08-28 广东威创视讯科技股份有限公司 Frame dropping method and system of video image
CN107231563A (en) * 2016-03-24 2017-10-03 腾讯科技(深圳)有限公司 Method for processing video frequency and device
US20180262815A1 (en) * 2016-03-24 2018-09-13 Tencent Technology (Shenzhen) Company Limited Video processing method and apparatus, and computer storage medium
CN107919997A (en) * 2017-10-12 2018-04-17 北京遥感设备研究所 A kind of frame losing detection method and system based on DSP
CN108737818A (en) * 2018-05-21 2018-11-02 深圳市梦网科技发展有限公司 Frame losing method, device and terminal device under a kind of congested network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
童康宁: "基于UDT的视频传输系统的研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511839A (en) * 2020-11-26 2021-03-16 山东云海国创云计算装备产业创新中心有限公司 Video transmission control method, device, equipment and readable storage medium
CN112839231A (en) * 2021-01-15 2021-05-25 苏州浪潮智能科技有限公司 Video compression transmission method and system
CN112839231B (en) * 2021-01-15 2022-06-07 苏州浪潮智能科技有限公司 Video compression transmission method and system
CN113852564A (en) * 2021-11-29 2021-12-28 苏州浪潮智能科技有限公司 Server control method, device and medium
CN114567787A (en) * 2022-02-28 2022-05-31 山东云海国创云计算装备产业创新中心有限公司 Video compression method, system and related device applied to BMC
CN114567787B (en) * 2022-02-28 2023-11-03 山东云海国创云计算装备产业创新中心有限公司 Video compression method, system and related device applied to BMC
CN114615209A (en) * 2022-03-11 2022-06-10 山东云海国创云计算装备产业创新中心有限公司 Dynamic adaptive image compression method, device, equipment and readable medium
CN114615209B (en) * 2022-03-11 2024-03-08 山东云海国创云计算装备产业创新中心有限公司 Dynamic adaptive image compression method, device, equipment and readable medium

Also Published As

Publication number Publication date
CN111683252B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
CN111683252B (en) Server and output system and method of video compression image
KR950006565B1 (en) Communication control unit with lower layer protocol and higher layer protocol control
CN100365994C (en) Method and system for regulating ethernet
CN111277836B (en) Video extraction frame loss control method, system, terminal and storage medium
JP3127523B2 (en) Communication control device and data transmission method
CN116684659B (en) Video output control module, method, equipment and server of BMC chip
CN112511839A (en) Video transmission control method, device, equipment and readable storage medium
CN111182306B (en) Video extraction method, system, terminal and storage medium for video compression
CN112616024A (en) USB camera data acquisition method and device, electronic equipment and storage medium
CN113676386B (en) FC-AE-1553 bus protocol message communication system
CN114020529A (en) Backup method and device of flow table data, network equipment and storage medium
WO2024037076A1 (en) Data interaction method, apparatus and system, and electronic device and storage medium
CN117009087A (en) Image output method, device, equipment and storage medium
US7639690B2 (en) Network communication monitoring system, network communication monitoring method, central apparatus, relay unit, and memory product for storing a computer program
CN110445730A (en) The real-time acquisition and storage method of network data and device based on WinPcap
CN114978433A (en) Data transmission method, device, equipment, storage medium and computer program product
WO2001006708A1 (en) Data transfer control device and electronic apparatus
CN113992609A (en) Method and system for processing multilink service data disorder
CN117032598B (en) YUV video transmission system, baseboard management controller, method, equipment and medium
EP2726992B1 (en) Network control model driver
CN114827242B (en) Method, device, equipment and medium for correcting flow control frame
JP3186707B2 (en) ATM communication controller
US11770312B2 (en) Service detection method and apparatus, device, and storage medium
CN114051047B (en) Session message backup method and device, network equipment and storage medium
CN117762329A (en) Video data storage method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant