CN116170600B - Data processing method and device, electronic equipment and storage medium - Google Patents

Data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116170600B
CN116170600B CN202310325751.XA CN202310325751A CN116170600B CN 116170600 B CN116170600 B CN 116170600B CN 202310325751 A CN202310325751 A CN 202310325751A CN 116170600 B CN116170600 B CN 116170600B
Authority
CN
China
Prior art keywords
data
video
preset
video display
display end
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.)
Active
Application number
CN202310325751.XA
Other languages
Chinese (zh)
Other versions
CN116170600A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310325751.XA priority Critical patent/CN116170600B/en
Publication of CN116170600A publication Critical patent/CN116170600A/en
Application granted granted Critical
Publication of CN116170600B publication Critical patent/CN116170600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04N19/423Methods 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 characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/182Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a data processing method, a data processing device, electronic equipment and a storage medium, and relates to the field of data transmission. In the scheme, whether video data sent by a host end are received or not is determined; if not, acquiring pre-stored preset image data; and transmitting the preset image data to a video display end so as to trigger the video display end to display a corresponding preset image according to the preset image data. Therefore, in the application, when the host end does not interact with the video data, the preset image data stored in advance can be obtained so as to display the preset image on the video display end, so that the situation that the video display end does not have picture output is avoided, and the man-machine interaction experience is enhanced.

Description

Data processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data transmission, and in particular, to a data processing method, apparatus, electronic device, and storage medium.
Background
In the related art, the steps for processing video data are generally: after the host terminal is powered on and started, the video data to be displayed is transmitted to the baseboard management control chip to process the video data, and then the processed video data is transmitted to the video display terminal to be displayed. However, this approach has the following drawbacks: the picture that the video display terminal shows is controlled by the host computer end completely, if the host computer end does not power on or does not start after the power on, then the host computer end can not output video data to base plate management control chip to can't transmit the data after handling to the video display terminal, lead to the video display terminal not have picture output, and then lead to human-computer interaction's experience to feel relatively poor.
Disclosure of Invention
The purpose of the application is to provide a data processing method, a device, an electronic device and a storage medium, when a host end does not interact with video data, a preset image can be displayed on a video display end by acquiring preset image data stored in advance, so that the situation that the video display end does not have picture output is avoided, and man-machine interaction experience is enhanced.
In order to solve the above technical problems, the present application provides a data processing method applied to a substrate management device, wherein the substrate management device stores preset image data in advance, and the method includes:
determining whether video data sent by a host computer is received or not;
if not, acquiring pre-stored preset image data;
and transmitting the preset image data to a video display end so as to trigger the video display end to display a corresponding preset image according to the preset image data.
Preferably, triggering the video display terminal to display a corresponding preset image according to the preset image data includes:
triggering the video display end to acquire the resolution information of the preset image so that the video display end displays the preset image according to the resolution information and the preset image data.
Preferably, pre-stored preset image data are acquired; transmitting the preset image data to a video display end to trigger the video display end to display a corresponding preset image according to the preset image data, wherein the method comprises the following steps:
and when the preset image data are image data, circularly acquiring the image data, and sending the acquired image data to the video display end so as to trigger the video display end to continuously display images corresponding to the image data.
Preferably, pre-stored preset image data are acquired; transmitting the preset image data to a video display end to trigger the video display end to display a corresponding preset image according to the preset image data, wherein the method comprises the following steps:
and when the preset image data is preset video data, circularly acquiring a plurality of frames of video data in the preset video data, and sending the acquired frames of video data to the video display end so as to trigger the video display end to continuously display videos corresponding to the frames of video data.
Preferably, the method substrate management device is used for monitoring the working state of a host, and the method further comprises:
and acquiring the working parameters of the host end, and determining whether to trigger the video display end to display alarm information according to the working parameters and a preset parameter threshold value.
Preferably, the hardware interface of the baseboard management device is connected with the acquisition device, and the method for acquiring the working parameters of the host end includes:
and controlling the acquisition device to acquire working parameters of the host end acquired by the substrate management device through the interface.
Preferably, a preset parameter threshold is preset in the acquisition device, and whether to trigger the video display end to display alarm information is determined according to the working parameter and the preset parameter threshold, including:
determining whether the working parameter reaches the preset parameter threshold;
and triggering the video display end to display alarm information when the preset parameter threshold is reached.
Preferably, at least two preset parameter thresholds are preset in the acquisition device, and the values of the preset parameter thresholds are different, when the working parameter reaches the preset parameter threshold, the video display terminal is triggered to display alarm information, including:
when the working parameters reach any preset parameter threshold, triggering the video display end to display alarm information corresponding to the preset parameter threshold reached by the working parameters.
Preferably, determining whether the working parameter reaches the preset parameter threshold includes:
Acquiring a judging signal output by the acquisition device, wherein the judging signal comprises comparison results of the working parameters and the preset parameter thresholds;
and determining whether the working parameter reaches the preset parameter threshold according to the judging signal.
Preferably, when the types of the working parameters at least include two types, triggering the video display end to display alarm information when the working parameters reach the preset parameter threshold value, including:
when the working parameters reach the preset parameter threshold, determining the type of the working parameters reaching the preset parameter threshold;
and determining corresponding alarm information according to the type of the working parameter reaching the preset parameter threshold and the preset parameter threshold, and triggering the video display terminal to display the determined alarm information.
Preferably, the alarm information at least comprises background color alarm information and text alarm information.
Preferably, after determining to trigger the video display end to display the alarm information, the method further comprises:
acquiring a storage address of the alarm information, and acquiring alarm data corresponding to the alarm information in the storage address according to the storage address;
And transmitting the alarm data to the video display end so as to trigger the video display end to display the alarm information.
Preferably, after obtaining the alarm data corresponding to the alarm information in the storage address according to the storage address, the method further includes:
combining the alarm data with the video data transmitted by the host end to obtain combined data;
transmitting the alarm data to the video display end to trigger the video display end to display the alarm information, including:
and transmitting the combined data to the video display end so as to trigger the video display end to display at least the alarm information.
Preferably, the method includes combining the alarm data and the video data transmitted by the host to obtain combined data, including:
and replacing the pixel value of the preset configuration position of the video data with the pixel value of the alarm data according to the preset configuration position, the video data and the alarm data to obtain combined data so as to display a synthesized picture of the alarm data and the video data on the video display terminal.
Preferably, replacing the pixel value at the preset configuration position of the video data with the pixel value of the alarm data according to the preset configuration position, the video data and the alarm data to obtain the combined data, including:
According to the first address and the resolution ratio of the video data in the storage module, calculating whether the address of the video data of the read video data reaches the address which corresponds to the preset configuration position and needs to be combined with the alarm data;
if yes, replacing the pixel value of the video data with the pixel value of the alarm data to obtain the combined data.
Preferably, replacing the pixel value of the video data with the pixel value of the alarm data to obtain the combined data further includes:
compressing the combined data, transmitting the compressed data to the video display end, and triggering the video display end to decompress the compressed data so as to display the synthesized picture of the alarm information and the video data.
Preferably, before transmitting the data to the video display end, the method further comprises:
performing color space conversion on the data to obtain converted data;
respectively storing the converted data into a first-in first-out queue and a public storage space, and respectively recording the storage positions of the data;
and reading each data from the first-in first-out queue and/or the public storage space according to the storage position of each recorded data, compressing each data, and transmitting the compressed data to a video display end.
In order to solve the above technical problem, the present application further provides a data processing device, which is applied to a substrate management device, wherein the substrate management device stores preset image data in advance, and the data processing device includes:
a first determining unit, configured to determine whether video data sent by a host side is received by the first determining unit;
the data acquisition unit is used for acquiring pre-stored preset image data when the video data sent by the host end are not received;
the display triggering unit is used for transmitting the preset image data to the video display end so as to trigger the video display end to display the corresponding preset image according to the preset image data.
Preferably, triggering the video display end to display a corresponding preset image according to the preset image data includes:
triggering the video display end to acquire the resolution information of the preset image so that the video display end displays the preset image according to the resolution information and the preset image data.
Preferably, the data acquisition unit is specifically configured to: when the preset image data are image data, circularly acquiring the image data;
the display triggering unit is specifically used for: and sending the acquired image data to the video display end so as to trigger the video display end to continuously display the image corresponding to the image data.
Preferably, the data acquisition unit is specifically configured to: when the preset image data are preset video data, circularly acquiring a plurality of frames of video data in the preset video data;
the display triggering unit is specifically used for: and sending the acquired frames of video data to the video display end so as to trigger the video display end to continuously display videos corresponding to the frames of video data.
Preferably, the baseboard management device is used for monitoring the working state of the host computer, and the device further comprises:
the working parameter acquisition unit is used for acquiring the working parameters of the host end;
and the parameter judging unit is used for determining whether to trigger the video display terminal to display alarm information according to the working parameters and a preset parameter threshold value.
Preferably, the hardware interface of the substrate management device is connected with the acquisition device, and the working parameter acquisition unit is specifically configured to: and controlling the acquisition device to acquire working parameters of the host end acquired by the substrate management device through the interface.
Preferably, a preset parameter threshold is preset in the collecting device, and the parameter judging unit is specifically configured to:
the threshold judging unit is used for determining whether the working parameter reaches the preset parameter threshold;
And the alarm triggering unit is used for triggering the video display end to display alarm information when the preset parameter threshold value is reached.
Preferably, at least two preset parameter thresholds are preset in the acquisition device, and the values of the preset parameter thresholds are different, and the alarm triggering unit is specifically configured to: when the working parameters reach any preset parameter threshold, triggering the video display end to display alarm information corresponding to the preset parameter threshold reached by the working parameters.
Preferably, the threshold value judging unit is specifically configured to: acquiring a judging signal output by the acquisition device, wherein the judging signal comprises comparison results of the working parameters and the preset parameter thresholds; and determining whether the working parameter reaches the preset parameter threshold according to the judging signal.
Preferably, when the types of the operating parameters include at least two types, the alarm triggering unit includes:
the alarm parameter type determining unit is used for determining the type of the working parameter reaching the preset parameter threshold when the working parameter reaches the preset parameter threshold;
and the alarm information determining unit is used for determining corresponding alarm information according to the type of the working parameter reaching the preset parameter threshold and the reached preset parameter threshold, and triggering the video display end to display the determined alarm information.
Preferably, the alarm information at least comprises background color alarm information and text alarm information.
Preferably, the method further comprises:
a storage address acquisition unit, configured to acquire a storage address of the alarm information, and acquire alarm data corresponding to the alarm information in the storage address according to the storage address;
and the alarm data transmission unit is used for transmitting the alarm data to the video display end so as to trigger the video display end to display the alarm information.
Preferably, the method further comprises:
the data merging unit is used for merging the alarm data and the video data transmitted by the host end to obtain merged data;
the alarm data transmission unit is specifically configured to: and transmitting the combined data to the video display end so as to trigger the video display end to display at least the alarm information.
Preferably, the data merging unit is specifically configured to: and replacing the pixel value of the preset configuration position of the video data with the pixel value of the alarm data according to the preset configuration position, the video data and the alarm data to obtain combined data so as to display a synthesized picture of the alarm data and the video data on the video display terminal.
Preferably, the data merging unit is specifically configured to: according to the first address and the resolution ratio of the video data in the storage module, calculating whether the address of the video data of the read video data reaches the address which corresponds to the preset configuration position and needs to be combined with the alarm data; if yes, replacing the pixel value of the video data with the pixel value of the alarm data to obtain the combined data.
Preferably, the method further comprises:
the first compression unit is used for compressing the combined data and transmitting the compressed data to the video display end so as to trigger the video display end to decompress the compressed data, so that the alarm information and the synthesized picture of the video data are displayed.
Preferably, the method further comprises:
the color space conversion unit is used for performing color space conversion on the data to obtain converted data;
the storage unit is used for respectively storing the converted data into the first-in first-out queue and the public storage space and respectively recording the storage position of each data;
and the second compression unit is used for reading each data from the first-in first-out queue and/or the public storage space according to the storage position of each recorded data, compressing each data and transmitting the compressed data to a video display end.
In order to solve the above technical problem, the present application further provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the data processing method as described above when storing a computer program.
To solve the above technical problem, the present application further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the data processing method as described above.
The application provides a data processing method, and relates to the field of data transmission. In the scheme, whether video data sent by a host end are received or not is determined; if not, acquiring pre-stored preset image data; and transmitting the preset image data to a video display end so as to trigger the video display end to display a corresponding preset image according to the preset image data. Therefore, in the application, when the host end does not interact with the video data, the preset image data stored in advance can be obtained so as to display the preset image on the video display end, so that the situation that the video display end does not have picture output is avoided, and the man-machine interaction experience is enhanced.
The application also provides a data processing device, electronic equipment and a storage medium, and the data processing device and the storage medium have the same beneficial effects as the data processing method.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly explain the related art and the drawings needed in the embodiments, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block diagram of a video function implementation in the related art;
FIG. 2 is a block diagram of a video compression in the related art;
FIG. 3 is an exploded view of a block video data of the related art;
FIG. 4 is a schematic flow chart of a data processing method provided in the present application;
FIG. 5 is a block diagram of an optimized video function process provided herein;
FIG. 6 is a block diagram of an optimized video function provided herein;
FIG. 7 is a block diagram of a data processing apparatus provided herein;
fig. 8 is a block diagram of an electronic device provided in the present application;
Fig. 9 is a block diagram of a computer readable storage medium according to the present application.
Detailed Description
The core of the application is to provide a data processing method, a device, an electronic device and a storage medium, when a host end does not interact with video data, a preset image can be displayed on a video display end by acquiring preset image data stored in advance, so that the situation that the video display end does not have picture output is avoided, and man-machine interaction experience is enhanced.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
First, description is made of a video function in a conventional scheme: as shown in fig. 1, fig. 1 is a block diagram of a video function implementation in the related art, specifically, a host transmits video data to a VGA (Video Graphic Array, displaying a drawing array), then a first display end directly displays the video data in the VGA, a compression unit compresses the video data in the VGA, and the compressed video data is stored in a storage module, and a second display end is transmitted through an EMAC (Ethernet Media Access Controller ) to decompress and display the video data.
Secondly, the implementation of the video compression function in the conventional scheme is described: as shown in fig. 2, fig. 2 is a BLOCK diagram of video compression in the related art, the compression unit converts original video data output by the VGA into data in YUV format through a color space conversion module (RGB 2 YUV), then caches Y, U, V data with storage resources in a slice (FIFO (First Input First Output, first-in first-out queue)), and according to the requirement of BLOCK format conversion (supporting YUV444/YUV422/YUV420 compression format), 16 y_fifos, 16 u_fifos and 16 v_fifos are needed, and meanwhile according to project practice experience, for (1920 x 1200) with the maximum resolution, the depth of FIFO is 16384 and the width of 8bits, so that the condition that the FIFO is not full and the condition of no loss can be satisfied. The video_comp_ip in fig. 2 is used to implement a compression function, and YUV format data is obtained from the FIFO queue and compressed to obtain compressed data.
As shown in fig. 3, fig. 3 is an exploded view of a block video data in the related art. The BLOCK mode transmission of video data is described in detail: each small box on the right side in fig. 3 represents 8×8 pixels on the left side in fig. 3, the large box on the right side in fig. 3 represents 16×16 pixels, and the rectangular box is 8×16 pixels. Cb is the U component and Cr is the V component.
For example, with YUV420, the Y block represents the Y component of 48 x 8 pixels, the Cb block represents the U component of 18 x 8 blocks, and the Cr block represents the V component of 18 x 8 blocks. That is, if the current compression mode is YUV420, the Y data of 16×16 is input to the subsequent stage, the U data of 8×8 is input, and the V data of 8×8 is input. And then sequentially circulated. If the current compression mode is YUV422, the data is input to the Y data of 16×16 of the subsequent stage, then the data is input to the U data of 16×8, and then the data is input to the V data of 16×8. And then sequentially circulated. If the current compression mode is YUV444, the data is input to the Y data of the next stage 8×8, then the data of the U of 8×8 is input, and then the data of the V of 8×8 is input. And then sequentially circulated.
Specifically, YUV write logic is: in YUV420 mode, (keep all Y data, keep even rows and even columns of U/V data);
y data of line 0/16/32/48 … is written into Y_FIFO_0;
y data of line 1/17/33/49 … is written into Y_FIFO_1;
y data of line 2/18/34/50 … is written into Y_FIFO_2;
……
the Y data of line 15/31/47/63 … is written into y_fifo_15.
Writing even column U data of row 0/16/32/48 … into U_FIFO_0;
writing even column U data of row 2/18/34/50 … into U_FIFO_1;
……
Even column U data of the 14/30/46/62 … line is written into u_fifo_7.
Even column U data of row 0/16/32/48 … is written into V_FIFO_0;
even column U data of row 2/18/34/50 … is written into V_FIFO_1;
……
even column U data of the 14/30/46/62 … line is written into v_fifo_7.
In YUV422 mode, (all Y data is retained, even columns of U/V data are retained);
y data of line 0/16/32/48 … is written into Y_FIFO_0;
y data of line 1/17/33/49 … is written into Y_FIFO_1;
y data of line 2/18/34/50 … is written into Y_FIFO_2;
……
the Y data of line 15/31/47/63 … is written into y_fifo_15.
Writing even column U data of row 0/16/32/48 … into U_FIFO_0;
even column U data of row 1/17/33/49 … is written into U_FIFO_1;
writing even column U data of row 2/18/34/50 … into U_FIFO_2;
……
the U data of the 15/31/47/63 … even numbered columns is written into the u_fifo_15.
Writing even column V data of row 0/16/32/48 … into V_FIFO_0;
writing even column V data of row 1/17/33/49 … into V_FIFO_1;
writing even column V data of row 2/18/34/50 … into V_FIFO_2;
……
v data of even numbered columns of the 15/31/47/63 … th row is written into v_fifo_15.
In YUV444 mode, (Y/U/V data of all rows and all columns is reserved);
Y data of line 0/8/16/24 … is written into Y_FIFO_0;
y data of 1/9/17/25 … th line is written into Y_FIFO_1;
y data of line 2/10/18/26 … is written into Y_FIFO_2;
……
y data of line 7/15/23/31 … is written into Y_FIFO_7.
U data of line 0/8/16/24 … is written into U_FIFO_0;
u data of line 1/9/17/25 … is written into U_FIFO_1;
u data of line 2/10/18/26 … is written into U_FIFO_2;
……
u data of line 7/15/23/31 … is written into U_FIFO_7.
Writing V data of line 0/8/16/24 … into v_fifo_0;
writing V data of line 1/9/17/25 … into v_fifo_1;
writing V data of line 2/10/18/26 … into v_fifo_2;
……
the V data of line 7/15/23/31 … is written into V_FIFO_7.
Specifically, YUV read logic is: in YUV420 mode, 16 times y_fifo_0, 16 times y_fifo_1, … … times y_fifo_15 are sequentially read. 8 times U_FIFO_0,8 times U_FIFO_1,8 times U_FIFO_7,8 times V_FIFO_0,8 times V_FIFO_1,8 times V_FIFO_7, and then loops in sequence.
In YUV422 mode, 16 times y_fifo_0, 16 times y_fifo_1 … … times y_fifo_15,8 times u_fifo_0,8 times u_fifo_1, … … times u_fifo_15,8 times v_fifo_0,8 times v_fifo_1, … … times v_fifo_15 are sequentially read.
In YUV444 mode, 8 times y_fifo_0,8 times y_fifo_1, … … times y_fifo_7 are sequentially read. 8 U_FIFO_0,8 U_FIFO_1,8 U_FIFO_7,8 V_FIFO_0,8 V_FIFO_1,8 V_FIFO_7.
The traditional scheme has the following defects: the picture that the video display terminal shows is controlled by the host computer end completely, if the host computer end does not power on or does not start after the power on, then the host computer end can not output video data to base plate management control chip to can't transmit the data after handling to the video display terminal, lead to the video display terminal not have picture output, and then lead to human-computer interaction's experience to feel relatively poor. And the required on-chip storage space is very large and is up to 768KB, the area and cost control of a chip are very unfavorable, and meanwhile, the FIFO with very large quantity and capacity is very difficult to the time sequence constraint of the chip, the back-end design, the packaging manufacture and the like.
Referring to fig. 4, fig. 4 is a flow chart of a data processing method provided in the present application, the method is applied to a substrate management device, and preset image data is stored in the substrate management device in advance, and the method includes:
s11: determining whether video data sent by a host computer is received or not;
specifically, when the video display end can display a picture, a video picture corresponding to the video data sent by the host end is generally displayed, and when the host end does not send the video data, the video display end cannot display the picture. The case where the host side does not send video data may be: the application is not limited here, specifically according to the actual situation, because the host side is not powered on, the host side is powered on but the CPU (Central Processing Unit/Processor) is not started, the host side has a fault to cause that video data cannot be transmitted, or a transmission channel between the host side and the host side has a fault, etc.
Therefore, no matter what reason, as long as the video data sent by the host end cannot be received, the following step of obtaining the preset image data is performed, so that the video display end displays the preset image, and the situation that the video display end does not have picture output is avoided.
S12: if not, acquiring pre-stored preset image data;
specifically, after the video data sent by the host end is not received, the pre-stored preset image data is obtained, so that the video display end can display the preset image according to the preset image data.
When the method is applied to the substrate management device, the preset image data are stored in a storage module which can directly interact with the substrate management device. In addition, the preset image data in the present application may be image data (for example, the image data may be a trademark or a server complete machine information image or other images), or may be video data (for example, manufacturer's introduction video or server introduction video or slide show video including a plurality of image data, etc.).
S13: and transmitting the preset image data to the video display end so as to trigger the video display end to display the corresponding preset image according to the preset image data.
Specifically, after the preset image data is obtained, the preset image data is transmitted to the video display end, wherein the video display end may include at least one first display end and at least one second display end, the preset image data may be directly transmitted to the first display end, and at this time, the corresponding first display end may directly display the preset image based on the preset image data. When the preset image data is transmitted to the second display end, the preset image data is required to be compressed, the compressed data is transmitted to the second display end in a remote mode through a network, the second display end is triggered to decompress the compressed data, and the preset image is displayed according to the decompressed data.
In summary, the method in the application can obtain the pre-stored pre-set image data when the host end does not interact with the video data, so that the pre-set image is displayed on the video display end, no picture output of the video display end is avoided, and man-machine interaction experience is enhanced.
Based on the above embodiments:
as a preferred embodiment, triggering the video display terminal to display a corresponding preset image according to the preset image data includes:
triggering the video display end to acquire the resolution information of the preset image so that the video display end displays the preset image according to the resolution information and the preset image data.
Specifically, when the video display end displays the preset image, firstly, the resolution information corresponding to the preset image data is obtained, and then the preset image is displayed based on the obtained resolution information and the received preset image data. Specifically, but not limited to, the preset image DATA may be converted into a DVI (Digital Visual Interface, digital video interface) timing sequence (the DVI timing sequence at least includes signals such as HS/VS/data_en) according to the resolution information, and then the DVI timing sequence is digital-to-analog converted and then connected to a VGA interface of the video display end to display the corresponding preset image.
As a preferred embodiment, the pre-stored preset image data is acquired; transmitting the preset image data to the video display end to trigger the video display end to display the corresponding preset image according to the preset image data, comprising:
when the preset image data is image data, circularly acquiring the image data, and sending the acquired image data to a video display end so as to trigger the video display end to continuously display images corresponding to the image data.
Specifically, when the preset image data is image data, the preset image data is stored in the storage module and is only one frame of image data, so that if the corresponding image is to be continuously displayed, the image data needs to be circularly acquired from the storage module, and after the image data is acquired each time, the image data is transmitted to the video display end, so that the video display end can continuously display the image corresponding to the image data.
Therefore, the mode in the embodiment can enable the video display end to continuously output pictures, enhances man-machine interaction experience, and is simple and reliable in implementation mode.
As a preferred embodiment, the pre-stored preset image data is acquired; transmitting the preset image data to the video display end to trigger the video display end to display the corresponding preset image according to the preset image data, comprising:
when the preset image data is preset video data, circularly acquiring a plurality of frames of video data in the preset video data, and sending the acquired frames of video data to a video display end so as to trigger the video display end to continuously display videos corresponding to the frames of video data.
Specifically, when the preset image data is video data, the preset image data is video data composed of multiple-needle image data when stored in the storage module, and at this time, when a picture is displayed on the video display end, the complete video can be selected to be displayed or a part of the fragments in the complete video can be selected to be displayed. Depending on the configuration of the user.
Specifically, if the user configures to circularly play the complete video, the video data corresponding to the complete video needs to be circularly acquired and sent to the video display end, so that the video display end circularly plays the complete video. If the user is configured to circularly play a certain segment in the complete video, the video data corresponding to the segment can be circularly acquired, so that the video display end circularly plays the video corresponding to the segment. The configuration of the user can also be that the complete video is played once at preset time intervals, and the video is frozen in a certain image after being played, correspondingly, the video data are acquired at preset time intervals, and the image data corresponding to the image to be displayed are acquired circularly after the video data are acquired. Of course, the foregoing embodiments are merely specific examples of the present embodiments, and other implementations are possible, which are not limited herein.
In summary, in the manner of this embodiment, not only can the video display end continuously output the picture, but also the video display end can display different pictures according to the configuration of the user, and the configuration manner is flexible, so as to improve the human-computer interaction experience.
As a preferred embodiment, the baseboard management device is configured to monitor an operation state of a host, and the method further includes:
and acquiring working parameters of the host end, and determining whether to trigger the video display end to display alarm information according to the working parameters and a preset parameter threshold value.
Furthermore, in consideration of the alarm condition occurring at the local server main board end in the related art, such as the conditions of over-high CPU temperature and abnormal main board voltage at the host end, abnormal power of PSU (Power supply unit ) and the like, the video display end is not actively controlled to display alarm information, only an alarm log is given, and the user can know the alarm condition when actively viewing the alarm log. That is, the user also needs to actively acquire the alarm information, which may cause the user to miss the alarm information, so that related processing measures cannot be timely taken, and the server motherboard may be damaged.
In order to solve the technical problems, the method and the device for displaying the alarm information in the video display terminal further acquire working parameters of the host terminal, and determine whether to trigger the video display terminal to display the alarm information according to the working parameters and preset parameter thresholds, wherein the preset parameter thresholds are configured in a register in advance, and after the working parameters are acquired, the acquired working parameter values are compared with the preset parameter thresholds in the register to determine whether to send the alarm information.
In the embodiment, the alarm is not performed in an alarm log mode, but the alarm information is directly displayed through the video display end, so that a user can see the alarm information in time, and relevant processing measures are taken according to the displayed alarm information, and the damage of a server main board is avoided.
As a preferred embodiment, the hardware interface of the baseboard management device is connected with the acquisition device, and the method for acquiring the working parameters of the host includes:
the control acquisition device acquires working parameters of the host end acquired by the substrate management device through a hardware interface.
Specifically, the present embodiment is intended to define the manner in which the operating parameters are obtained as follows: the acquisition device is arranged in the substrate management device and is connected with a hardware interface used for acquiring the working parameters in the substrate management device, so that the working parameters can be acquired through the hardware interface. It should be noted that the number of the hardware interfaces in the present application may be, but is not limited to, a plurality of the hardware interfaces, and each hardware interface user obtains different types of working parameters.
Therefore, in the method, the alarm information can be directly displayed through the video display end in a mode that the acquisition device with the hardware structure is connected with the hardware interface, and the alarm mode is obvious.
As a preferred embodiment, if a preset parameter threshold is preset in the acquisition device, determining whether to trigger the video display end to display the alarm information according to the working parameter and the preset parameter threshold includes:
determining whether the working parameter reaches a preset parameter threshold;
when the preset parameter threshold is reached, triggering the video display end to display alarm information.
Specifically, the mode of judging whether to trigger the video display end to display the alarm information is as follows: judging whether the acquired working parameters reach a preset parameter threshold, if so, judging that an alarm is required, and at the moment, triggering a video display end to display alarm information.
As a preferred embodiment, after determining to trigger the video display end to display the alarm information, the method further includes:
acquiring a storage address of the alarm information, and acquiring alarm data corresponding to the alarm information in the storage address according to the storage address;
and transmitting the alarm data to the video display end to trigger the video display end to display alarm information.
When the alarm information is an alarm image or a video, the alarm information may be, but not limited to, acquired and stored alarm data in advance, and the alarm data is transmitted to the video display end, so as to trigger the video display end to display the corresponding alarm data.
As a preferred embodiment, at least two preset parameter thresholds are preset in the acquisition device, and the values of the preset parameter thresholds are different, when the working parameter reaches the preset parameter threshold, the video display terminal is triggered to display alarm information, including:
when the working parameter reaches any preset parameter threshold, triggering the video display end to display alarm information corresponding to the preset parameter threshold reached by the working parameter.
Specifically, a plurality of preset parameter thresholds can be set in the acquisition device, and the different preset parameter thresholds have different values, so that when the working parameter and the preset parameter threshold are judged, the working parameter can be classified according to the preset parameter threshold reached by the working parameter, and further, the video display end is triggered to display alarm information corresponding to the reached preset parameter threshold. Specifically, if at least a first preset parameter threshold value and a second preset parameter threshold value are set in the acquisition device, and the first preset parameter threshold value is smaller than the second preset parameter threshold value, when the working parameter is smaller than the first preset parameter threshold value, judging that the working parameter is a safety level, and not triggering to display alarm information at the moment; if the working parameter reaches a first preset parameter threshold but does not reach a second preset parameter threshold, judging that the working parameter is a dangerous level of a first degree, and triggering first alarm information corresponding to the first preset parameter threshold at the moment; if the working parameter reaches a second preset parameter threshold, judging that the working parameter is a dangerous grade of a second degree, and triggering second alarm information corresponding to the second preset parameter threshold at the moment.
The mode in the embodiment can carry out different alarms on the working parameters of different grades so as to facilitate the user to distinguish the alarm conditions of the working parameters, thereby facilitating the selection of a proper processing strategy and ensuring the safety of the main board.
As a preferred embodiment, determining whether the operating parameter reaches a preset parameter threshold comprises:
acquiring a judging signal output by the acquisition device, wherein the judging signal comprises comparison results of working parameters and preset parameter thresholds;
and determining whether the working parameter reaches a preset parameter threshold according to the judging signal.
Specifically, the specific manner in which the present embodiment aims to define the comparison of the operating parameter and the preset parameter threshold is: the working parameter and the preset parameter threshold values are compared in the acquisition device, a judging signal containing the comparison results of the working parameter and the preset parameter threshold values is output, whether the working parameter reaches the preset parameter threshold value or not is determined based on the judging signal, and when the preset parameter threshold value is determined to be reached, which preset parameter threshold value is reached is determined according to the judging signal.
For example: after the user/developer configures the preset parameter threshold of the relevant interface, for example, the hardware interface IIC0 obtains a certain key interface voltage of the main board, the standard voltage is 3.3V, the highest upper limit (the second preset parameter threshold) is 5V, the dangerous upper limit (the first preset parameter threshold) is 4.2V, the user sets the relevant register in the acquisition device to be 5V and 4.2V respectively, then compares the obtained value of the IIC0 interface with the value of the register, and if the obtained value exceeds the value of the relevant register, the relevant signal iic0_error is pulled up [1:0]. Such as: IIC0_ERROR [1:0] = 2' b0, indicating that the voltage does not exceed 4.2V; iic0_error [1:0] =2' b1, representing voltages exceeding 4.2V but less than 5V; IIC0_ERROR [1:0] = 2' b2, indicating a voltage exceeding 5V. The same method processes interfaces of the hardware interface IIC 1-ICC_N-1 and the like to obtain IIC 1-ERROR-IIC_N-1-ERROR related signals.
As a preferred embodiment, the alarm information at least comprises background color alarm information and text alarm information.
Specifically, the alarm information may be configured to include a combination of background color alarm information and text alarm information, at this time, the visual impact of the background color alarm information is large, so that the user can find the alarm information in time, and the backgrounds with different colors may be configured to alarm with different degrees, so that the user can select a proper processing strategy according to the degree of the alarm information. In addition, the working condition of the alarm can be described through the text alarm information, so that a user can quickly and accurately position the alarm position according to the text alarm information.
For example, relevant alarm images are stored in a storage module in advance, for example, image 0 is stored for iic0_error [1:0] =2' b1, the image size is 64 x 64, the background color is yellow, the content is that certain interface voltage is higher, and words such as fast processing are processed. For another example, for iic0_error [1:0] =2' b2, image 1 is stored, the image size is 64×64, the background color is red, the content is that some interface voltage is very high, and the words must be processed. That is, if the value of IIC0_ERROR [1:0] is 0, no processing is performed (i.e., no alarm is performed), if the value is 1 or 2, it is determined that an alarm is required, and a relevant memory address is read, which is preconfigured into the hardware, so as to obtain corresponding alarm information according to the memory address. Similarly, the processing manner of the determination signal output by the other hardware interfaces is the same as the above manner, and the disclosure is not repeated here.
As a preferred embodiment, when the types of the working parameters at least include two types, and the working parameters reach a preset parameter threshold, triggering the video display end to display alarm information includes:
when the working parameters reach a preset parameter threshold, determining the type of the working parameters reaching the preset parameter threshold;
and determining corresponding alarm information according to the type of the working parameter reaching the preset parameter threshold and the preset parameter threshold, and triggering the video display end to display the determined alarm information.
Specifically, when the acquisition device is considered to be connected with a plurality of hardware interfaces of the substrate management device and each hardware interface is used for outputting one type of working parameter, if the working parameter reaches a preset parameter threshold, the type of the working parameter needs to be determined, at the moment, alarm information corresponding to the type of the working parameter and corresponding to the reached preset parameter threshold is acquired, so that a video display end is triggered to display the corresponding alarm information, and a user can conveniently determine the type of the alarm according to the alarm information.
It should be noted that the type of the operation parameter may be determined by a hardware interface that acquires the operation parameter, for example, a first hardware interface is configured as an interface that transmits a voltage parameter, a second hardware interface is configured as an interface that transmits a current parameter, or the like.
As a preferred embodiment, after acquiring the alarm data corresponding to the alarm information in the storage address according to the storage address, the method further includes:
combining the alarm data with the video data transmitted by the host end to obtain combined data;
transmitting the alarm data to the video display end to trigger the video display end to display the alarm information, comprising:
and transmitting the combined data to a video display end so as to trigger the video display end to display at least alarm information.
Specifically, after the alarm is determined to be needed, the alarm data and the video data transmitted by the host end can be combined to obtain combined data, and the combined mode can completely replace the video data by the alarm data so as to only display the alarm information, or can replace part of the video data by the alarm data so as to display a combined picture of the alarm data and the video data.
As a preferred embodiment, combining the alarm data and the video data transmitted by the host end to obtain combined data includes:
and replacing the pixel value of the preset configuration position of the video data with the pixel value of the alarm data according to the preset configuration position, the video data and the alarm data to obtain the combined data so as to display the synthesized picture of the alarm data and the video data on the video display terminal.
Specifically, in order to realize the function of displaying the alarm information, normal display of the video data sent by the host is not affected as much as possible, the alarm information may be displayed at a preset configuration position of a video picture corresponding to the video data, where the preset configuration position is the configuration information issued by the user, when the video data and the alarm data are combined, the pixel value at the preset configuration position of the video data is replaced by the pixel value of the alarm data according to the preset configuration position, the video data and the alarm data, so as to obtain the combined data, so that a composite picture of the alarm data and the video data is displayed at the video display, the alarm information is displayed at the preset configuration position, and the video information corresponding to the video data is generated at the rest positions.
Such as the user being configured to: and displaying the alarm information at the left upper corner of the original video, calculating the value of an HS/VS signal at the left upper corner according to the current resolution information at a DVI interface of a VGA of a detection video display end, and correspondingly replacing the pixel value of the original video with the pixel value corresponding to the alarm information when the value of the HS/VS signal is the left upper corner information of the original video, so that the relevant coverage of the alarm data to the video data is completed.
As a preferred embodiment, replacing the pixel value at the preset configuration position of the video data with the pixel value of the alarm data according to the preset configuration position, the video data and the alarm data to obtain the combined data, including:
according to the first address and the resolution ratio of the video data in the storage module, calculating whether the address of the video data of the read video data reaches the address which corresponds to the preset configuration position and needs to be combined with the alarm data;
if yes, the pixel value of the video data is replaced by the pixel value of the alarm data, and the combined data is obtained.
In the process of transmitting data to a video display end, when the data needs to be compressed, the process of transmitting the data to a later stage compression unit is divided into two types: one is a mode of a DVI interface, and the other is a BUFFER mode in which video data transmitted from a host side is stored in a storage module and then compressed by a compression unit. The merging of the DVI interface mode is the same as the merging process described above, and will not be described in detail herein, if the merging of the BUFFER mode is required, according to the head address, resolution, and address of the read interface (of AXI (Advanced eXtensible Interface, bus protocol) bus) in the storage module of the video data sent by the configured host end, whether the address of the read interface reaches the position to be merged configured by the user, if so, the video data sent by the host end is covered by the alarm data. And then the combined data is formed and then sent to a compression unit for video compression, and then the combined data is transmitted to a remote video display end, so that a user of the remote video display end can receive alarm information when the user opens the monitoring management interface.
As a preferred embodiment, replacing the pixel value of the video data with the pixel value of the alarm data, and after obtaining the combined data, further includes:
compressing the combined data, transmitting the compressed data to a video display end, and triggering the video display end to decompress the compressed data so as to display a synthesized picture of the alarm information and the video data.
Further, the remote video display receives the combined data in a compressed mode, so that after the compressed data is received, the compressed data is decompressed to display a synthesized picture of the alarm information and the video data. In the data transmission process, the data transmission quantity can be reduced by means of compression and decompression, and the transmission efficiency is further improved.
Fig. 5 is a block diagram of an optimized video function process provided in the present application. During normal operation, the host transmits video data to the VGA, and the first picture processing unit acquires the video data from the VGA and transmits the video data to the first display end to display a video picture. The VGA stores the video data into the storage module, the compression unit reads the video data from the storage module and compresses the video data, then the compressed video data is stored into the storage module and transmitted to the second display end through the EMAC, and the second display end decompresses the data and displays the video picture. When the host end does not transmit video data, the acquisition unit acquires preset image data stored in the storage module in advance, and the acquisition unit transmits the preset image data to the first display end through the first picture processing unit so as to display a picture corresponding to the preset image data (wherein when the working parameters acquired by the acquisition device are abnormal, the acquired preset image data is alarm data, and the information correspondingly displayed is alarm information). When the host end has video data transmission and needs to display alarm information, the second picture processing unit performs merging processing on the alarm data and the original video data according to whether the first address, the resolution and the address of the reading interface in the video data storage module reach the position to be merged or not, if so, the compression unit reads the merged data, compresses the merged data and then writes the merged data into the storage module, and the merged data is sent to the second display end through the EAMC to display a synthesized picture corresponding to the alarm information and the video data.
The VGA stores the video data into the storage module, the compression unit reads the video data from the storage module and compresses the video data, then the compressed video data is stored into the storage module and transmitted to the second display end through the EMAC, and the second display end decompresses the data and displays the video picture.
As a preferred embodiment, before transmitting the data to the video display end, the method further comprises:
performing color space conversion on the data to obtain converted data;
respectively storing the converted data into a first-in first-out queue and a public storage space, and respectively recording the storage positions of the data;
and reading each data from the first-in first-out queue and/or the public storage space according to the storage position of each recorded data, compressing each data, and transmitting the compressed data to the video display end.
Specifically, in the related art, when processing video output, the color space conversion module is firstly performed on original video data output by the VGA to convert the original video data in RGB format into data in YUV format, then the Y, U, V data is buffered (i.e. first in first out queue FIFO) by using storage resources in a chip, and according to the requirement of BLOCK format conversion (such as YUV444/YUV422/YUV420 compression format), 16 y_fifos, 16 u_fifos and 16 v_fifos are required, and meanwhile according to project practice experience, for the condition that the FIFO is full and no loss occurs under the condition that the FIFO is not full (1920×1200) and the FIFO has a depth of 16384 and a width of 8bits can be satisfied. In practice, the FIFO depth actually required is directly from 8192 to 16384, because the FIFO depth can only be power of 2, and therefore, large FIFO resources are wasted. The required on-chip storage space is up to 768KB, which is very unfavorable for the area and cost control of the chip, and simultaneously, the FIFO with large quantity and capacity is a great difficult problem for the time sequence constraint of the chip, the back-end design, the packaging manufacture and the like.
Therefore, in this application, a common storage space (a common RAM (random access memory, random access memory)) is provided, and when data is stored, a part of the data is stored in the FIFO queue, and the other part of the data is stored in the common storage space, and the position of each data storage is recorded, so that the later stage compression unit reads the corresponding data according to the recorded position of each data storage, performs compression processing on the corresponding data, and transmits the compressed data to the video display terminal to display the corresponding data.
As shown in fig. 6, fig. 6 is a block diagram of an optimized video function provided in the present application, in this embodiment, the depths of y_fifo_0, y_fifo_15, u_fifo_0, u_fifo_15, v_fifo_0, v_fifo_15 are set to 8192, and the ram_public (common memory space) is added, where the depth of the RAM may be set to 49152, the RAM is with address information, then y_fifo_0 writes to the 0-1023 addresses of the ram_public after being full, and y_fifo_1 writes to the 1024-2047 addresses … … v_fifo_15 of the ram_public after being full, that is, each FIFO only needs an extra 1024 address space to satisfy the scene of maximum resolution of 1920 by 1200. Meanwhile, the fifo_ctrl_new needs to be modified correspondingly, the logic on the writing side is as described above, and the logic on the reading side is not repeated, so that the FIFO needs to be optimized correspondingly, and the statistics of which data is written into the FIFO is needed, and then the corresponding reading is performed. Thus, in this embodiment, the on-chip memory space required for the video compression function is 48×8192+49152=432 KB, whereas the conventional scheme requires 48×16384=768 KB. Compared with the traditional scheme, the method reduces (768-432)/768=43.75% of on-chip resources, greatly reduces the space of the on-chip resources occupied by the video compression function, greatly saves project cost, reduces chip area and also increases the reliability and stability of the chip. The video_comp_ip in fig. 6 functions the same as the video_comp_ip in fig. 2, and is not described here again.
Referring to fig. 7, fig. 7 is a block diagram of a data processing apparatus provided in the present application, where the apparatus includes:
a first determining unit 71, configured to determine whether video data sent by the host is received by itself;
a data acquisition unit 72, configured to acquire pre-stored preset image data when video data sent by the host is not received;
the display triggering unit 73 is configured to transmit the preset image data to the video display end, so as to trigger the video display end to display a corresponding preset image according to the preset image data.
As a preferred embodiment, triggering the video display terminal to display a corresponding preset image according to the preset image data includes:
triggering the video display end to acquire the resolution information of the preset image so that the video display end displays the preset image according to the resolution information and the preset image data.
As a preferred embodiment, the data acquisition unit is specifically configured to: when the preset image data are image data, circularly acquiring the image data;
the display triggering unit is specifically used for: and sending the acquired image data to a video display end so as to trigger the video display end to continuously display images corresponding to the image data.
As a preferred embodiment, the data acquisition unit is specifically configured to: when the preset image data is preset video data, circularly acquiring a plurality of frames of video data in the preset video data;
the display triggering unit is specifically used for: and sending the acquired frames of video data to a video display end so as to trigger the video display end to continuously display videos corresponding to the frames of video data.
As a preferred embodiment, the baseboard management device is used for monitoring the working state of the host computer, and the device further comprises:
the working parameter acquisition unit is used for acquiring working parameters of the host end;
and the parameter judging unit is used for determining whether to trigger the video display terminal to display the alarm information according to the working parameters and the preset parameter threshold value.
As a preferred embodiment, the hardware interface of the baseboard management device is connected with the acquisition device, and the working parameter acquisition unit is specifically configured to: the control acquisition device acquires working parameters of the host end acquired by the substrate management device through the hardware interface.
As a preferred embodiment, the collection device is preset with a preset parameter threshold, and the parameter determining unit is specifically configured to:
the threshold judging unit is used for determining whether the working parameter reaches a preset parameter threshold;
And the alarm triggering unit is used for triggering the video display end to display alarm information when the alarm triggering unit reaches a preset parameter threshold value.
As a preferred embodiment, at least two preset parameter thresholds are preset in the acquisition device, and the values of the preset parameter thresholds are different, and the alarm triggering unit is specifically configured to: when the working parameter reaches any preset parameter threshold, triggering the video display end to display alarm information corresponding to the preset parameter threshold reached by the working parameter.
As a preferred embodiment, the threshold value judging unit is specifically configured to: acquiring a judging signal output by the acquisition device, wherein the judging signal comprises comparison results of working parameters and preset parameter thresholds; and determining whether the working parameter reaches a preset parameter threshold according to the judging signal.
As a preferred embodiment, when the types of the operation parameters include at least two types, the alarm triggering unit includes:
the alarm parameter type determining unit is used for determining the type of the working parameter reaching the preset parameter threshold when the working parameter reaches the preset parameter threshold;
and the alarm information determining unit is used for determining corresponding alarm information according to the type of the working parameter reaching the preset parameter threshold and the reached preset parameter threshold, and triggering the video display end to display the determined alarm information.
As a preferred embodiment, the alarm information at least comprises background color alarm information and text alarm information.
As a preferred embodiment, further comprising:
the storage address acquisition unit is used for acquiring the storage address of the alarm information and acquiring alarm data corresponding to the alarm information in the storage address according to the storage address;
and the alarm data transmission unit is used for transmitting the alarm data to the video display end so as to trigger the video display end to display alarm information.
As a preferred embodiment, further comprising:
the data merging unit is used for merging the alarm data and the video data transmitted by the host end to obtain merged data;
the alarm data transmission unit is specifically configured to: and transmitting the combined data to a video display end so as to trigger the video display end to display at least alarm information.
As a preferred embodiment, the data merging unit is specifically configured to: and replacing the pixel value of the preset configuration position of the video data with the pixel value of the alarm data according to the preset configuration position, the video data and the alarm data to obtain the combined data so as to display the synthesized picture of the alarm data and the video data on the video display terminal.
As a preferred embodiment, the data merging unit is specifically configured to: according to the first address and the resolution ratio of the video data in the storage module, calculating whether the address of the video data of the read video data reaches the address which corresponds to the preset configuration position and needs to be combined with the alarm data; if yes, the pixel value of the video data is replaced by the pixel value of the alarm data, and the combined data is obtained.
As a preferred embodiment, further comprising:
the first compression unit is used for compressing the combined data and transmitting the compressed data to the video display end so as to trigger the video display end to decompress the compressed data, so that a synthesized picture of the alarm information and the video data is displayed.
As a preferred embodiment, further comprising:
the color space conversion unit is used for performing color space conversion on the data to obtain converted data;
the storage unit is used for respectively storing the converted data into the first-in first-out queue and the public storage space and respectively recording the storage position of each data;
and the second compression unit is used for reading each data from the first-in first-out queue and/or the public storage space according to the storage position of each recorded data, compressing each data and transmitting the compressed data to the video display end. For the description of the electronic device, refer to the above embodiments, and the description is omitted herein.
Referring to fig. 8, fig. 8 is a block diagram of an electronic device provided in the present application, where the device includes:
a memory 81 for storing a computer program;
a processor 82 for implementing the steps of the data processing method as described above when storing a computer program.
For the description of the electronic device, refer to the above embodiments, and the description is omitted herein.
Referring to fig. 9, fig. 9 is a block diagram of a computer readable storage medium provided in the present application, where a computer program 41 is stored on the computer readable storage medium 40, and the computer program 41 implements the steps of the data processing method when executed by a processor. The computer storage medium 40 may be a transitory storage medium or a non-transitory storage medium, and the application is not limited herein. For the description of the computer-readable storage medium 40, reference is made to the above embodiments, and the description thereof is omitted herein.
It should also be noted that in this specification, relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (19)

1. The data processing method is characterized by being applied to a substrate management device, wherein preset image data is stored in the substrate management device in advance, and the preset image data is stored in a storage module which directly performs data interaction with the substrate management device, and the method comprises the following steps:
when the host end is not electrified or is not started after the host end is electrified, determining whether the host end receives video data sent by the host end or not;
if not, acquiring pre-stored preset image data;
transmitting the preset image data to a video display end to trigger the video display end to display a corresponding preset image according to the preset image data;
Before transmitting the data to the video display end, the method further comprises the following steps:
performing color space conversion on the data to obtain converted data;
respectively storing the converted data into a first-in first-out queue and a public storage space, and respectively recording the storage positions of the data;
and reading each data from the first-in first-out queue and/or the public storage space according to the storage position of each recorded data, compressing each data, and transmitting the compressed data to the video display end.
2. The data processing method according to claim 1, wherein the pre-stored preset image data is acquired; transmitting the preset image data to a video display end to trigger the video display end to display a corresponding preset image according to the preset image data, wherein the method comprises the following steps:
and when the preset image data are image data, circularly acquiring the image data, and sending the acquired image data to the video display end so as to trigger the video display end to continuously display images corresponding to the image data.
3. The data processing method according to claim 1, wherein the pre-stored preset image data is acquired; transmitting the preset image data to a video display end to trigger the video display end to display a corresponding preset image according to the preset image data, wherein the method comprises the following steps:
And when the preset image data is preset video data, circularly acquiring a plurality of frames of video data in the preset video data, and sending the acquired frames of video data to the video display end so as to trigger the video display end to continuously display videos corresponding to the frames of video data.
4. A method of processing data according to any one of claims 1 to 3, wherein triggering the video display to display the corresponding preset image according to the preset image data comprises:
triggering the video display end to acquire the resolution information of the preset image so that the video display end displays the preset image according to the resolution information and the preset image data.
5. The data processing method of claim 1, wherein the baseboard management device is configured to monitor an operation state of the host side, the method further comprising:
and acquiring the working parameters of the host end, and determining whether to trigger the video display end to display alarm information according to the working parameters and a preset parameter threshold value.
6. The data processing method according to claim 5, wherein the hardware interface of the baseboard management device is connected to the acquisition device, and the acquiring the working parameters of the host includes:
And controlling the acquisition device to acquire working parameters of the host end acquired by the substrate management device through the hardware interface.
7. The data processing method according to claim 6, wherein if a preset parameter threshold is preset in the acquisition device, determining whether to trigger the video display terminal to display the alarm information according to the working parameter and the preset parameter threshold includes:
determining whether the working parameter reaches the preset parameter threshold;
and triggering the video display end to display alarm information when the preset parameter threshold is reached.
8. The data processing method according to claim 7, wherein at least two preset parameter thresholds are preset in the acquisition device, and the values of the preset parameter thresholds are different, and when the working parameter reaches the preset parameter threshold, triggering the video display end to display alarm information includes:
when the working parameters reach any preset parameter threshold, triggering the video display end to display alarm information corresponding to the preset parameter threshold reached by the working parameters.
9. The data processing method of claim 8, wherein determining whether the operating parameter reaches the preset parameter threshold comprises:
Acquiring a judging signal output by the acquisition device, wherein the judging signal comprises comparison results of the working parameters and the preset parameter thresholds;
and determining whether the working parameter reaches the preset parameter threshold according to the judging signal.
10. The data processing method according to claim 8, wherein when the type of the working parameter includes at least two types, triggering the video display terminal to display the alarm information when the working parameter reaches the preset parameter threshold value includes:
when the working parameters reach the preset parameter threshold, determining the type of the working parameters reaching the preset parameter threshold;
and determining corresponding alarm information according to the type of the working parameter reaching the preset parameter threshold and the preset parameter threshold, and triggering the video display terminal to display the determined alarm information.
11. The data processing method of claim 5, wherein the alarm information comprises at least background color alarm information and text alarm information.
12. The data processing method according to any one of claims 5 to 11, further comprising, after determining to trigger the video display terminal to display an alarm message:
Acquiring a storage address of the alarm information, and acquiring alarm data corresponding to the alarm information in the storage address according to the storage address;
and transmitting the alarm data to the video display end so as to trigger the video display end to display the alarm information.
13. The data processing method of claim 12, further comprising, after acquiring the alert data corresponding to the alert information in the storage address according to the storage address:
combining the alarm data with the video data transmitted by the host end to obtain combined data;
transmitting the alarm data to the video display end to trigger the video display end to display the alarm information, including:
and transmitting the combined data to the video display end so as to trigger the video display end to display at least the alarm information.
14. The data processing method as claimed in claim 13, wherein combining the alarm data and the video data transmitted from the host side to obtain combined data comprises:
and replacing the pixel value of the preset configuration position of the video data with the pixel value of the alarm data according to the preset configuration position, the video data and the alarm data to obtain combined data so as to display a synthesized picture of the alarm data and the video data on the video display terminal.
15. The data processing method of claim 14, wherein replacing the pixel value at the preset configuration position of the video data with the pixel value of the alert data according to the preset configuration position, the video data and the alert data to obtain the combined data, comprises:
according to the first address and the resolution ratio of the video data in the storage module, calculating whether the address of the video data of the read video data reaches the address which corresponds to the preset configuration position and needs to be combined with the alarm data;
if yes, replacing the pixel value of the video data with the pixel value of the alarm data to obtain the combined data.
16. The data processing method of claim 15, wherein replacing the pixel values of the video data with the pixel values of the alert data, after obtaining the merged data, further comprises:
compressing the combined data, transmitting the compressed data to the video display end, and triggering the video display end to decompress the compressed data so as to display the synthesized picture of the alarm information and the video data.
17. The data processing device is characterized by being applied to a substrate management device, wherein preset image data is stored in the substrate management device in advance, the preset image data is stored in a storage module which directly performs data interaction with the substrate management device, and the data processing device comprises:
The first determining unit is used for determining whether the first determining unit receives video data sent by the host end or not when the host end is not electrified or is not started after the host end is electrified;
the data acquisition unit is used for acquiring pre-stored preset image data when the video data sent by the host end are not received;
the display triggering unit is used for transmitting the preset image data to the video display end so as to trigger the video display end to display a corresponding preset image according to the preset image data;
further comprises:
the color space conversion unit is used for performing color space conversion on the data to obtain converted data;
the storage unit is used for respectively storing the converted data into the first-in first-out queue and the public storage space and respectively recording the storage position of each data;
and the second compression unit is used for reading each data from the first-in first-out queue and/or the public storage space according to the storage position of each recorded data, compressing each data and transmitting the compressed data to the video display end.
18. An electronic device, comprising:
a memory for storing a computer program;
processor for implementing the steps of the data processing method according to any of claims 1-16 when executing a computer program.
19. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the data processing method according to any of claims 1-16.
CN202310325751.XA 2023-03-30 2023-03-30 Data processing method and device, electronic equipment and storage medium Active CN116170600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310325751.XA CN116170600B (en) 2023-03-30 2023-03-30 Data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310325751.XA CN116170600B (en) 2023-03-30 2023-03-30 Data processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116170600A CN116170600A (en) 2023-05-26
CN116170600B true CN116170600B (en) 2024-01-12

Family

ID=86420240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310325751.XA Active CN116170600B (en) 2023-03-30 2023-03-30 Data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116170600B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885637A (en) * 2017-11-09 2018-04-06 紫光华山信息技术有限公司 A kind of server exception detection method and device
CN108920103A (en) * 2018-06-29 2018-11-30 平安科技(深圳)有限公司 Management method, device, computer equipment and the storage medium of server
CN114327647A (en) * 2021-11-30 2022-04-12 浪潮电子信息产业股份有限公司 Server startup method, system, equipment and computer readable storage medium
CN114816947A (en) * 2022-05-30 2022-07-29 苏州浪潮智能科技有限公司 Server state display system, method and device and readable storage medium
CN115185590A (en) * 2022-06-28 2022-10-14 海宁奕斯伟集成电路设计有限公司 Display control device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885637A (en) * 2017-11-09 2018-04-06 紫光华山信息技术有限公司 A kind of server exception detection method and device
CN108920103A (en) * 2018-06-29 2018-11-30 平安科技(深圳)有限公司 Management method, device, computer equipment and the storage medium of server
CN114327647A (en) * 2021-11-30 2022-04-12 浪潮电子信息产业股份有限公司 Server startup method, system, equipment and computer readable storage medium
CN114816947A (en) * 2022-05-30 2022-07-29 苏州浪潮智能科技有限公司 Server state display system, method and device and readable storage medium
CN115185590A (en) * 2022-06-28 2022-10-14 海宁奕斯伟集成电路设计有限公司 Display control device and method

Also Published As

Publication number Publication date
CN116170600A (en) 2023-05-26

Similar Documents

Publication Publication Date Title
US5559954A (en) Method & apparatus for displaying pixels from a multi-format frame buffer
US8792056B2 (en) Electronic apparatus and display control method
CN100407284C (en) Display device and display method
US7554563B2 (en) Video display control apparatus and video display control method
US20060050076A1 (en) Apparatus for and method of generating graphic data, and information recording medium
CN115297094B (en) Video transmission control method, device, equipment and computer readable storage medium
CN114051145B (en) Video compression processing method, device and medium
JP2007240741A (en) Image controller and control method
CN104168445A (en) dynamic video storage method and network security monitoring device
US10805680B2 (en) Method and device for configuring image mode
CN102411488B (en) Method for displaying images of mobile terminal and mobile terminal
CN116170600B (en) Data processing method and device, electronic equipment and storage medium
WO2007057053A1 (en) Conditional updating of image data in a memory buffer
US20050212969A1 (en) Apparatus and method of image display with real-time compression
US20170345356A1 (en) Display Driving Apparatus And Operating Method Thereof
CN103747191A (en) Network interaction high-definition character superimposition system
CN107846588B (en) Method and device for acquiring serial port record information in television
US5703628A (en) Image data store device
CN115174915A (en) Image processing system and method for reducing network bandwidth occupation
US11223802B2 (en) Image-based determination apparatus and image-based determination system
CN110996032B (en) Data recording and playback method based on Ethernet and SRIO
CN108876703B (en) Data storage method
US8068179B2 (en) On-screen display device with compressed data and display method thereof
CN101166244B (en) Screen display device and its display method
CN101657851B (en) Method for controlling output of display unit and system enabling of the method

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