Abnormal image frame processing method and related device

By discarding and supplementing image frame processing, the playback problem of display devices when receiving abnormal image signals in a short time is solved, the user experience is improved, and the screen stability and normal playback are ensured.

CN116132728BActive Publication Date: 2024-11-01SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211714604.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2024-11-01
Estimated Expiration
2042-12-29

AI Technical Summary

Technical Problem

When existing display devices receive abnormal image signals in a short time, they will still play abnormal image frames through the screen, resulting in poor user experience and problems such as screen flashing and screen flipping.

Method used

By determining the continuous number X of abnormal image frames, discarding these frames, and reading the sorted target frame from the image to be played as supplementary frames, supplementary image frames are generated to make up for the discarded frames, and avoiding abnormal image frames being stored And play.

Benefits of technology

It effectively avoids screen playback problems caused by abnormal image signal in a short period of time, improves user experience, and ensures the stability and normal playback of the display device screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116132728B_ABST
    Figure CN116132728B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of display technology, and provides an abnormal data processing method and related device for a display device, so that the display device will not play image frames with abnormal image signals in a short period of time through the screen. When the method of the present application is applied to a display device, it mainly includes: determining the continuous number X of abnormal image frames, where X is a positive integer greater than or equal to 1; discarding the abnormal image frames of the continuous number X frames; reading the Y frames of target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue, where the to-be-played image cache is used to store image frames to be played on the screen of the display device, and the target to-be-played image frames are image frames stored in the to-be-played image cache; generating X frames of supplementary image frames based on the Y frames of the target to-be-played image frames; and storing the X frames of the supplementary image frames in the to-be-played image cache.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of display technology, and in particular, relates to an abnormal data processing method of a display device and a related device. Background Art

[0002] Display device, also known as monitor, display screen, etc. Display device is usually an output device for outputting images. In a computer where the display device is separated from the host device, the display device needs to receive an image signal in a specific format (such as VBO, MiPi, eDP, etc.) from the host device, and then the display device restores the image frame from the image signal and plays it through the screen of the display device.

[0003] When the display device finds that the image signal received from the host device is abnormal within a short period of time (for example, within 1 second), the display device will feedback the abnormal state to the host device so that the host device can adopt a preset corresponding strategy (for example, changing the format of the image signal between the display device or notifying the user, etc.). However, in the prior art, the display device will still play the image frame with abnormal image signal within a short period of time through the screen, so that the user can see screen flickering, screen distortion and other phenomena displayed on the display device screen, which brings a bad user experience. Summary of the invention

[0004] The purpose of the present application is to provide an abnormal data processing method and related apparatus applied to a display device, so that the display device will not play image frames with abnormal image signals in a short period of time through the screen, thereby bringing a better user experience.

[0005] In a first aspect, the present application provides a method for processing an abnormal image frame, which is applied to a display device, comprising:

[0006] Determine a continuous number X of abnormal image frames, where X is a positive integer greater than or equal to 1;

[0007] Discarding X consecutive frames of abnormal image frames;

[0008] Reading the Y target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue, wherein the to-be-played image cache is used to store image frames to be played on the screen of the display device, and the target to-be-played image frames are image frames stored in the to-be-played image cache;

[0009] Generate X frames of supplementary image frames according to the target image frame to be played of the Y frames;

[0010] The X frames of supplementary image frames are stored in the to-be-played image buffer.

[0011] Optionally, after determining the continuous number X of abnormal image frames and before reading the next Y target image frames to be played from the image buffer in the form of a first-in-first-out queue, the method further includes:

[0012] Calculate the abnormal duration occupied by the abnormal image frame of frame X;

[0013] Determine whether the abnormal duration reaches or exceeds a predetermined duration threshold;

[0014] If the number of the abnormal image frames reaches or exceeds the predetermined time threshold, storing X frames of the abnormal image frames in the to-be-played image buffer;

[0015] If the number of abnormal image frames does not reach the predetermined duration threshold, the step of reading the Y target image frames to be played that are ranked later from the to-be-played image cache in the form of a first-in-first-out queue is triggered.

[0016] Optionally, before determining the continuous number X of abnormal image frames, the method further includes:

[0017] receiving an image signal sent by a host device, wherein the image signal includes a plurality of image frames;

[0018] Determining frame by frame whether a current image frame in the image signal meets a preset protocol standard requirement;

[0019] If the current image frame does not meet the requirements of the protocol standard, the current image frame is determined to be an abnormal image frame, and the next image frame in the image signal is regarded as a new current image frame, triggering the step of determining frame by frame whether the current image frame in the image signal meets the preset protocol standard requirements until the current image frame meets the requirements of the protocol standard, thereby obtaining the continuous number X of abnormal image frames.

[0020] Optionally, after the current image frame meets the protocol standard requirement, the method further includes:

[0021] Determining that the current image frame is a first image frame that meets the requirements of the protocol standard;

[0022] The first image frame is directly stored in the to-be-played image buffer.

[0023] Optionally, before reading the Y target frames to be played that are sorted later from the to-be-played image cache in the form of a first-in-first-out queue, the method further includes:

[0024] Determining the number of image frames in the to-be-played image buffer;

[0025] If the number of image frames in the to-be-played image cache is equal to 1, then Y is equal to 1, triggering the step of reading Y target to-be-played image frames that are ranked later from the to-be-played image cache in the form of a first-in-first-out queue;

[0026] If the number of to-be-played image frames in the to-be-played image cache is equal to or greater than 2, Y is set equal to 2, triggering the step of reading the Y-frame target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue.

[0027] Optionally, generating X frames of supplementary image frames according to the Y frames of the target to-be-played image frames includes:

[0028] When X is equal to 1 and Y is equal to 1, copying one frame of the target image frame to be played as one frame of the supplementary image frame;

[0029] When X is equal to 1 and Y is equal to 2, one frame of the supplementary image frame is generated according to two frames of the target image frames to be played.

[0030] Optionally, after storing the X frames of the supplementary image frames in the to-be-played image buffer, the method further includes:

[0031] The image frames in the to-be-played image buffer are played frame by frame through the screen of the display device.

[0032] In a second aspect, the present application provides a system for processing abnormal image frames, which is applied to a display device, comprising:

[0033] A determination unit, used to determine a continuous number X of abnormal image frames, where X is a positive integer greater than or equal to 1;

[0034] A discarding unit, used for discarding a continuous number X of abnormal image frames;

[0035] a reading unit, configured to read a target to-be-played image frame of Y frames sorted later from a to-be-played image cache in a first-in-first-out queue, wherein the to-be-played image cache is used to store image frames to be played on the screen of the display device, and the target to-be-played image frame is an image frame stored in the to-be-played image cache;

[0036] A generating unit, configured to generate X frames of supplementary image frames according to Y frames of target image frames to be played;

[0037] The storage unit is used to store the X frames of supplementary image frames into the to-be-played image buffer.

[0038] Optionally, the system further includes:

[0039] A calculation unit, used for calculating the abnormal duration occupied by the abnormal image frame X;

[0040] A judging unit, used to judge whether the abnormal duration reaches or exceeds a predetermined duration threshold;

[0041] The storage unit is further configured to store X frames of the abnormal image frames into the to-be-played image buffer if the number of the abnormal image frames reaches or exceeds the predetermined duration threshold;

[0042] The trigger unit is used for triggering the step of reading the Y target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue if the number of the abnormal image frames does not reach the predetermined time threshold.

[0043] Optionally, the system further includes:

[0044] A receiving unit, configured to receive an image signal sent by a host device, wherein the image signal includes a plurality of image frames;

[0045] The judging unit is further used to judge frame by frame whether the current image frame in the image signal meets the preset protocol standard requirements;

[0046] The determining unit is further configured to determine that the current image frame is an abnormal image frame if the current image frame does not meet the protocol standard requirement;

[0047] a viewing unit, configured to view the next image frame in the image signal as a new current image frame;

[0048] The trigger unit is further used to trigger the step of determining frame by frame whether the current image frame in the image signal meets the requirements of the preset protocol standard;

[0049] The obtaining unit is used to obtain the continuous number X of the abnormal image frames until the current image frame meets the protocol standard requirement.

[0050] Optionally, the system further includes:

[0051] The determining unit is further used to determine that the current image frame meets the first image frame required by the protocol standard;

[0052] The storage unit is further used to store the first image frame directly into the to-be-played image buffer.

[0053] Optionally, the system further includes:

[0054] The determining unit is further used to determine the number of image frames in the to-be-played image buffer;

[0055] The trigger unit is further configured to set Y to 1 if the number of image frames in the to-be-played image cache is equal to 1, triggering the step of reading Y target to-be-played image frames that are ranked later from the to-be-played image cache in a first-in-first-out queue;

[0056] The trigger unit is also used to set Y to 2 if the number of to-be-played image frames in the to-be-played image cache is equal to or greater than 2, triggering the step of reading the Y-frame target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue.

[0057] Optionally, when the generating unit generates X frames of supplementary image frames according to the Y frames of the target image frames to be played, it is specifically used to:

[0058] When X is equal to 1 and Y is equal to 1, copying one frame of the target image frame to be played as one frame of the supplementary image frame;

[0059] When X is equal to 1 and Y is equal to 2, one frame of the supplementary image frame is generated according to two frames of the target image frames to be played.

[0060] Optionally, the system further includes:

[0061] The playing unit is used to play the image frames in the to-be-played image buffer frame by frame through the screen of the display device.

[0062] In a third aspect, the present application provides a computer device, including:

[0063] Processor, memory, bus, input and output interface, network interface;

[0064] The processor is connected to the memory, the input / output interface, and the network interface via the bus;

[0065] The memory stores a program;

[0066] When the processor executes the program stored in the memory, it implements the method for processing abnormal image frames as described in any one of the first aspects above.

[0067] In a fourth aspect, the present application provides a computer storage medium, wherein the computer storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the method for processing abnormal image frames as described in any one of the first aspects above.

[0068] In a fifth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method for processing abnormal image frames as described in any one of the first aspects above.

[0069] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0070] The present application is applied to a method for processing abnormal image frames of a display device, by determining the continuous number X of abnormal image frames, where X is a positive integer greater than or equal to 1, and then knowing the current number of continuous abnormal image frames before discarding these abnormal image frames; then discarding the continuous number X frames of abnormal image frames to prevent the abnormal image frames from being stored in the to-be-played image cache and then being played; to make up for the frame number vacancy of the discarded X frames of abnormal image frames, read the Y frames of target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue, where the to-be-played image cache is used to store the screen of the device to be displayed The target image frames to be played are the image frames stored in the image buffer to be played, and the Y-frame target image frames to be played that are normal and close to the discarded X-frame abnormal image frames are obtained; then, the X-frame supplementary image frames are generated according to the Y-frame target image frames to be played to make up for the frame number vacancy of the discarded X-frame abnormal image frames; the X-frame supplementary image frames are stored in the image buffer to be played, and the display device can play the image frames in the image buffer to be played frame by frame through its screen, so that the display device will not play the image frames with abnormal image signals in a short period of time through the screen, thereby bringing a better user experience to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 A schematic flow chart of an embodiment of a method for processing abnormal data applied to a display device according to the present application;

[0072] Figure 2 This is a flow chart of another embodiment of the abnormal data processing method applied to a display device of the present application;

[0073] Figure 3 This is a schematic diagram of the structure of an embodiment of an abnormal data processing system applied to a display device in the present application;

[0074] Figure 4 This is a schematic structural diagram of another embodiment of the abnormal data processing system applied to a display device of the present application;

[0075] Figure 5 A schematic diagram of the structure of an embodiment of a computer device of the present application;

[0076] Figure 6 A schematic diagram of the structure of an embodiment of a display device of the present application. DETAILED DESCRIPTION

[0077] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0078] See also Figure 6 , the display device 600 of the present application is usually composed of a receiving module 610, a first-level cache 620, a processing module 630, a second-level cache 640, an output module 650, a screen 660, etc. The receiving module 610 is used to receive the image signal sent from the host device 700, and directly store the received image signal in the first-level cache 620. At the same time, the receiving module 610 is also used to detect all received image signals. If the receiving module 610 detects that the received image signal is abnormal (for example, it does not meet the corresponding specifications of the industry standard signal protocol VBO, MiPi, eDP, etc.), the receiving module 610 will send the abnormal related signal to the processing module 630; the first-level cache 620 is used to temporarily store the image signal received by the receiving module 610 but not processed by the processing module 630 in time The processing module 630 is used to process the image signal in the first-level cache 620, such as noise reduction, frame insertion, deletion of abnormal image frames, etc. The processing module 630 is also used to store the image signal played by the screen 660 of the display device 600 in the second-level cache 640; the second-level cache 640 is the image cache to be played, which is used to temporarily store the image signal processed by the processing module 630 and then played by the screen 660; the output module 650 is used to output the image signal of the second-level cache 640 to the screen 660 in sequence; the screen 660 is used to present the image signal input by the output module 650.

[0079] Based on the above understanding, please refer to Figure 1 , an embodiment of the abnormal data processing method applied to a display device of the present application includes:

[0080] 101. Determine a continuous number X of abnormal image frames, where X is a positive integer greater than or equal to 1.

[0081] It is understandable that the screen of the display device is used to play image frames one by one. In the prior art, the image frames displayed on the screen of the display device have screen flickering, screen distortion and other phenomena, because the screen of the display device plays image frames with abnormal image signals. To this end, this step needs to determine the continuous number X of abnormal image frames in the first-level cache of the display device, so that the subsequent steps use supplementary image frames to replace them, thereby avoiding the screen of the display device playing image frames with abnormal image signals. For example, the receiving module can detect whether each image frame contained in the image signal is abnormal according to a preset protocol standard. When an abnormal image frame is found, the continuous number of abnormal image frames is accumulated from zero to "+1" until an image frame that meets the preset protocol standard appears in the image signal, and the continuous number of abnormal image frames can be determined.

[0082] 102. Discard X consecutive abnormal image frames.

[0083] In order to prevent abnormal image frames from being stored in the to-be-played image cache (secondary cache) and then played, the processing module in this step needs to discard the abnormal image frames determined in step 101 in a timely manner.

[0084] 103. Read the target to-be-played image frames of Y frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue. The to-be-played image cache is used to store image frames to be played on the screen of the display device. The target to-be-played image frames are image frames stored in the to-be-played image cache.

[0085] In order to make up for the number of frames of abnormal image frames discarded in step 102, this step reads the Y target image frames to be played that are sorted later from the image cache to be played (secondary cache) in the form of a first-in-first-out queue. The image frames stored in the image cache to be played are all normal and have a front-to-back continuous relationship. This step can read the Y target image frames to be played that are sorted later as a basis for generating a corresponding number of supplementary image frames to be discarded. These Y target image frames to be played are the image frames closest to the abnormal image frames discarded in step 102 and are determined to be normal, which is conducive to generating X supplementary image frames that are similar, reasonable and coherent to the abnormal image frames discarded in step 102.

[0086] 104. Generate X frames of supplementary image frames according to Y frames of target image frames to be played.

[0087] X frames of supplementary image frames are generated according to the Y frames of target image frames to be played read in step 103, so as to obtain the same number of supplementary image frames as the number of abnormal image frames discarded in step 102. For example, the processing module generates X frames of supplementary image frames related to the Y frames of target image frames to be played after performing vector operations, motion estimation and other calculations on the Y frames of target image frames to be played.

[0088] 105. Store the X supplementary image frames into the image buffer to be played.

[0089] The X frames of supplementary image frames generated in step 104 replace the X frames of abnormal image frames discarded in step 102 and are stored in the image cache to be played. The display device plays the image frames in the image cache to be played frame by frame through its screen, so that the display device will not play the image frames with abnormal image signals in a short period of time through the screen, thereby bringing a better user experience.

[0090] Please read Figure 2 Another embodiment of the abnormal data processing method of the present application applied to a display device includes:

[0091] 201. Receive an image signal sent by a host device, where the image signal includes a plurality of image frames.

[0092] When the display device is correctly connected to the host device and powered on and works normally, the display device will receive an image signal in a preset format (VBO, MiPi, eDP, etc.) sent by the host device. This image signal contains image frames, which are used to present to the screen of the display device.

[0093] 202. Determine frame by frame whether the current image frame in the image signal meets the preset protocol standard requirements. If the current image frame meets the preset protocol standard requirements, execute steps 204 and 206; if the current image frame does not meet the preset protocol standard requirements, execute step 203.

[0094] In the process of transmitting the image signal from the host device to the display device, the cable may be affected by objective factors such as strong magnetic fields, electric fields or cable loss, so that the receiving module of the display device will receive the image signal with serious garbled characters, distortion, etc. In this step, the receiving module can determine frame by frame whether the current image frame in the received image signal meets the preset protocol standard requirements. For example, if the image signal format received by the receiving module is VBO, then this step determines whether the format of the current image frame in the image signal meets the VBO format protocol standard requirements, so as to promptly find abnormal image frames that do not meet the preset protocol standard requirements. It is understandable that there are many ways to find abnormal image frames in actual applications, which will not be explained one by one here.

[0095] 203 . Determine that the current image frame is an abnormal image frame; regard the next image frame in the image signal as a new current image frame, triggering execution of step 202 .

[0096] When it is determined in step 202 that the current image frame does not meet the preset protocol standard requirements, it is proved that the current image frame is abnormal, the current image frame is determined to be an abnormal image frame, and consecutive abnormal image frames are accumulated, and the initial accumulation value starts from 0. Each time a current image frame is determined to be an abnormal image frame, the accumulation is increased by 1, and the next image frame in the image signal is regarded as a new current image frame, so that step 202 starts the judgment of the next image frame contained in the image signal.

[0097] 204. Determine whether the current image frame is the first image frame that meets the requirements of the protocol standard.

[0098] When it is determined in step 202 that the current image frame meets the preset protocol standard requirements, and this is the first time this step is performed after step 203 is performed, it is determined that the current image frame is the first image frame that meets the protocol standard requirements.

[0099] 205. Store the first image frame directly into the image buffer to be played.

[0100] Since the abnormal image frame determined in step 203 will eventually be discarded and replaced by a new supplementary image frame, although the image cache to be played is used as a buffer, it will also waste a lot of time. Therefore, in order to increase the number of image frames in the image cache to be played and make up for the time required to generate the supplementary image frame, this step can directly store the first image frame into the image cache to be played.

[0101] 206. Determine a continuous number X of abnormal image frames, where X is a positive integer greater than or equal to 1.

[0102] In step 202, it is determined that the current image frame meets the preset protocol standard requirements, and this is the first time this step is executed after step 203 is executed. At the same time, the accumulation of abnormal image frames in step 203 should be stopped to obtain the number X of abnormal image frames.

[0103] 207. Discard X consecutive abnormal image frames.

[0104] After the continuous number X of abnormal image frames is known in step 206, this step may be performed to continuously count the abnormal image frames of the X frames to prevent the abnormal image frames from being stored in the to-be-played image buffer and then played.

[0105] 208. Calculate the abnormal duration occupied by the X abnormal image frames.

[0106] It is understandable that different display devices have different screen refresh rates. It is impossible to determine whether the abnormal image frames can be noticed by the user only from the number of frames. The average person's perception of the screen refresh rate has a certain range. Therefore, this step can calculate the abnormal duration occupied by X frames of abnormal image frames, and then know whether this abnormal duration will be noticed by the average person.

[0107] 209. Determine whether the abnormal duration reaches or exceeds a predetermined duration threshold. If the abnormal duration reaches or exceeds the predetermined duration threshold, execute step 210; if the abnormal duration does not reach the predetermined duration threshold, execute step 211.

[0108] It is understandable that a predetermined duration threshold may be pre-stored in the display device, and the predetermined duration threshold may correspond to a maximum time slot in which most human eyes will not detect frame drops or frame changes. Therefore, this step further determines whether the abnormal duration in 208 reaches or exceeds the predetermined duration threshold. If the abnormal duration reaches or exceeds the predetermined duration threshold, it proves that the discarded X frames of abnormal image frames or the replaced corrected image frames will be recognized by the human eye, which may affect the user's viewing experience; if the abnormal duration does not reach the predetermined duration threshold, it proves that the discarded X frames of abnormal image frames are usually not recognized by the human eye. For example, the predetermined duration threshold is 1 second.

[0109] 210. Store X abnormal image frames into a buffer of images to be played.

[0110] When the abnormal duration determined in correction 209 reaches or exceeds the predetermined duration threshold, the discarded X frames of abnormal image frames or the replaced corrected image frames will be recognized by the human eye. At this time, the display device should not continue to use the method of this embodiment. The image signal from the image signal source is abnormal. This is no longer a sudden, short-term accidental phenomenon. The screen of the display device should truly present the abnormal image frame so that the user can take corresponding countermeasures after discovering the display problem. Therefore, this step can directly store the X frames of abnormal image frames in the image buffer to be played, so that the screen of the display device truly presents the abnormal image frame.

[0111] 211. Determine the number of image frames in the image buffer to be played.

[0112] When it is determined in correction 209 that the abnormal duration does not reach the predetermined duration threshold, the abnormal image frames occupying the abnormal duration can be optimized. Since the basis for optimizing the abnormal image frames occupying the abnormal duration is derived from the image frames in the image buffer to be played, the number of image frames in the image buffer to be played is first determined in this step. For example, the number of image frames in the image buffer to be played is equal to 1, 2, 3, ...

[0113] 212. Read the target to-be-played image frames of Y frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue. The to-be-played image cache is used to store image frames to be played on the screen of the display device. The target to-be-played image frames are image frames stored in the to-be-played image cache.

[0114] This step is performed in the same way as above. Figure 1 Step 103 in the embodiment is similar, and the repeated parts are not repeated here.

[0115] Preferably, when the number of image frames in the image cache to be played in step 211 is equal to 1, Y in this step is equal to 1; when the number of image frames to be played in the image cache to be played in step 211 is equal to 2 or greater than 2, Y in this step is equal to 2.

[0116] 213. Generate X frames of supplementary image frames according to Y frames of target image frames to be played.

[0117] This step is performed in the same way as above. Figure 1 Step 104 in the embodiment is similar, and the repeated parts are not repeated here.

[0118] Preferably, when the consecutive number X of abnormal image frames is equal to 1 and the target image frame to be played Y read from the image cache to be played is equal to 1, one frame of the target image frame to be played is copied as one frame of supplementary image frame; when the consecutive number X of abnormal image frames is equal to 1 and the target image frame to be played Y read from the image cache to be played is equal to 2, one frame of the supplementary image frame is generated based on the two frames of the target image frame to be played.

[0119] 214. Store the X supplementary image frames into the to-be-played image buffer.

[0120] The X frames of supplementary image frames generated in step 213 replace the X frames of abnormal image frames discarded in step 207 and are stored in the image buffer to be played. The device to be displayed plays the image frames in the image buffer to be played frame by frame through its screen.

[0121] 215. Play the image frames in the to-be-played image buffer frame by frame through the display device screen.

[0122] The screen of the display device plays the image frames in the image buffer to be played frame by frame. When the screen of the display device plays the X-frame supplementary image frames put into the image buffer to be played in step 214, the display device can replace the image frames with abnormal image signals within a short period of time with the supplementary image frames and play them on the screen, thereby bringing a better user experience.

[0123] The above embodiment describes the method for processing abnormal image frames of the present application. The following describes the system for processing abnormal image frames of the present application. Figure 3 , an embodiment of the abnormal image frame processing system of the present application is applied to a display device, comprising:

[0124] A determination unit 301 is used to determine a continuous number X of abnormal image frames, where X is a positive integer greater than or equal to 1;

[0125] A discarding unit 302 is used to discard X consecutive frames of abnormal image frames;

[0126] A reading unit 303 is used to read the Y-frame target to-be-played image frames sorted later from a to-be-played image cache in a first-in-first-out queue, wherein the to-be-played image cache is used to store image frames to be played on the screen of the display device, and the target to-be-played image frames are image frames stored in the to-be-played image cache;

[0127] A generating unit 304 is used to generate X frames of supplementary image frames according to Y frames of target image frames to be played;

[0128] The storage unit 305 is used to store the X frames of supplementary image frames into the to-be-played image buffer. The operation of the processing system for abnormal image frames applied to the display device in this embodiment is similar to the above-mentioned Figure 1 The operations performed in the embodiment are similar and will not be described in detail here.

[0129] See also Figure 4 Another embodiment of the abnormal image frame processing system of the present application is applied to a display device, comprising:

[0130] A determination unit 401 is used to determine a continuous number X of abnormal image frames, where X is a positive integer greater than or equal to 1;

[0131] A discarding unit 402 is used to discard X consecutive frames of abnormal image frames;

[0132] A reading unit 403 is used to read the Y-frame target to-be-played image frames sorted later from a to-be-played image cache in a first-in-first-out queue, wherein the to-be-played image cache is used to store image frames to be played on the screen of the display device, and the target to-be-played image frames are image frames stored in the to-be-played image cache;

[0133] A generating unit 404 is used to generate X frames of supplementary image frames according to Y frames of target image frames to be played;

[0134] The storage unit 405 is used to store the X frames of supplementary image frames into the to-be-played image buffer.

[0135] Optionally, the system further includes:

[0136] A calculation unit 406, configured to calculate an abnormal duration occupied by the abnormal image frame X;

[0137] A judging unit 407, configured to judge whether the abnormal duration reaches or exceeds a predetermined duration threshold;

[0138] The storage unit 405 is further configured to store X frames of the abnormal image frames into the to-be-played image buffer if the number of the abnormal image frames reaches or exceeds the predetermined duration threshold;

[0139] The trigger unit 408 is configured to trigger the step of reading the Y target to-be-played image frames that are sorted later from the to-be-played image cache in the form of a first-in-first-out queue if the number of the abnormal image frames does not reach the predetermined duration threshold.

[0140] Optionally, the system further includes:

[0141] A receiving unit 409, configured to receive an image signal sent by a host device, wherein the image signal includes a plurality of image frames;

[0142] The judging unit 407 is further configured to judge frame by frame whether the current image frame in the image signal meets the preset protocol standard requirements;

[0143] The determining unit 401 is further configured to determine that the current image frame is an abnormal image frame if the current image frame does not meet the protocol standard requirement;

[0144] A regarding unit 410, configured to regard the next image frame in the image signal as a new current image frame;

[0145] The trigger unit 408 is further used to trigger the step of determining frame by frame whether the current image frame in the image signal meets the requirements of the preset protocol standard;

[0146] The obtaining unit 411 is configured to obtain the continuous number X of the abnormal image frames until the current image frame meets the protocol standard requirement.

[0147] Optionally, the system further includes:

[0148] The determining unit 401 is further used to determine that the current image frame meets the first image frame required by the protocol standard;

[0149] The storage unit 405 is further configured to directly store the first image frame into the to-be-played image buffer.

[0150] Optionally, the system further includes:

[0151] The determining unit 401 is further configured to determine the number of image frames in the to-be-played image buffer;

[0152] The trigger unit 408 is further configured to set Y to 1 if the number of image frames in the to-be-played image cache is equal to 1, triggering the step of reading Y target to-be-played image frames that are ranked later from the to-be-played image cache in a first-in-first-out queue;

[0153] The trigger unit 408 is also used to set Y to 2 if the number of to-be-played image frames in the to-be-played image cache is equal to or greater than 2, thereby triggering the step of reading the Y-frame target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue.

[0154] Optionally, when the generating unit 404 generates X frames of supplementary image frames according to the Y frames of the target image frames to be played, it is specifically used to:

[0155] When X is equal to 1 and Y is equal to 1, copying one frame of the target image frame to be played as one frame of the supplementary image frame;

[0156] When X is equal to 1 and Y is equal to 2, one frame of the supplementary image frame is generated according to two frames of the target image frames to be played.

[0157] Optionally, the system further includes:

[0158] The playing unit 412 is used to play the image frames in the to-be-played image buffer frame by frame through the screen of the display device.

[0159] The operation of the processing system of abnormal image frames applied to the display device in this embodiment is similar to the above Figure 2 The operations performed in the embodiment are similar and will not be described in detail here.

[0160] The computer device in the embodiment of the present application is described below. Figure 5 , an embodiment of the computer device in the embodiment of the present application includes:

[0161] The computer device 500 may include one or more processors (central processing units, CPU) 501 and a memory 502, in which one or more application programs or data are stored. The memory 502 is a volatile storage or a persistent storage. The program stored in the memory 502 may include one or more modules, and each module may include a series of instruction operations in the computer device. Furthermore, the processor 501 may be configured to communicate with the memory 502 to execute a series of instruction operations in the memory 502 on the computer device 500. The computer device 500 may also include one or more wireless network interfaces 503, one or more input and output interfaces 504, and / or one or more operating systems, such as Windows Server, Mac OS, Unix, Linux, FreeBSD, etc. The processor 501 may execute the aforementioned Figure 1 or Figure 2 The operations performed in the illustrated embodiment will not be described in detail here.

[0162] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

[0163] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions or improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A method for processing abnormal image frames, characterized in that: Applied to display devices, including: Determine a continuous number X of abnormal image frames, where X is a positive integer greater than or equal to 1; Discarding X consecutive frames of abnormal image frames; Reading the Y target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue, wherein the to-be-played image cache is used to store image frames to be played on the screen of the display device, and the target to-be-played image frames are image frames stored in the to-be-played image cache; Generate X frames of supplementary image frames according to the target image frame to be played of the Y frames; Storing the X frames of supplementary image frames into the to-be-played image buffer; Before reading the Y-frame target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue, the method further includes: Determining the number of image frames in the to-be-played image buffer; If the number of image frames in the to-be-played image cache is equal to 1, then Y is equal to 1, triggering the step of reading Y target to-be-played image frames that are ranked later from the to-be-played image cache in the form of a first-in-first-out queue; If the number of to-be-played image frames in the to-be-played image cache is equal to or greater than 2, Y is set equal to 2, triggering the step of reading the Y-frame target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue.

2. The method for processing abnormal image frames according to claim 1, characterized in that: After determining the continuous number X of abnormal image frames, and before reading the next Y target image frames to be played from the image buffer in the form of a first-in-first-out queue, the method further includes: Calculate the abnormal duration occupied by the abnormal image frame of frame X; Determine whether the abnormal duration reaches or exceeds a predetermined duration threshold; If the number of the abnormal image frames reaches or exceeds the predetermined time threshold, storing X frames of the abnormal image frames in the to-be-played image buffer; If the number of abnormal image frames does not reach the predetermined duration threshold, the step of reading the Y target image frames to be played that are ranked later from the to-be-played image cache in the form of a first-in-first-out queue is triggered.

3. The method for processing abnormal image frames according to claim 1, characterized in that: Before determining the continuous number X of abnormal image frames, the method further includes: receiving an image signal sent by a host device, wherein the image signal includes a plurality of image frames; Determining frame by frame whether a current image frame in the image signal meets a preset protocol standard requirement; If the current image frame does not meet the requirements of the protocol standard, the current image frame is determined to be an abnormal image frame, and the next image frame in the image signal is regarded as a new current image frame, triggering the step of determining frame by frame whether the current image frame in the image signal meets the preset protocol standard requirements until the current image frame meets the requirements of the protocol standard, thereby obtaining the continuous number X of abnormal image frames.

4. The method for processing abnormal image frames according to claim 3, characterized in that: After the current image frame meets the protocol standard requirement, the method further includes: Determining that the current image frame is a first image frame that meets the requirements of the protocol standard; The first image frame is directly stored in the to-be-played image buffer.

5. The method for processing abnormal image frames according to claim 1, characterized in that: The generating of X frames of supplementary image frames according to the Y frames of the target image frames to be played includes: When X is equal to 1 and Y is equal to 1, copying one frame of the target image frame to be played as one frame of the supplementary image frame; When X is equal to 1 and Y is equal to 2, one frame of the supplementary image frame is generated according to two frames of the target image frames to be played.

6. The method for processing abnormal image frames according to claim 1, characterized in that: After storing the X frames of supplementary image frames into the to-be-played image buffer, the method further includes: The image frames in the to-be-played image buffer are played frame by frame through the screen of the display device.

7. A system for processing abnormal image frames, characterized in that: Applied to display devices, including: A determination unit, configured to determine a continuous number X of abnormal image frames, where X is a positive integer greater than or equal to 1; A discarding unit, used for discarding X consecutive frames of abnormal image frames; a reading unit, configured to read a target to-be-played image frame of Y frames sorted later from a to-be-played image cache in a first-in-first-out queue, wherein the to-be-played image cache is used to store image frames to be played on the screen of the display device, and the target to-be-played image frame is an image frame stored in the to-be-played image cache; A generating unit, configured to generate X frames of supplementary image frames according to Y frames of target image frames to be played; A storage unit, used for storing the X frames of supplementary image frames into the to-be-played image buffer; The system further comprises: The determining unit is further used to determine the number of image frames in the to-be-played image buffer; a triggering unit, configured to set Y to 1 if the number of image frames in the to-be-played image cache is 1, and trigger the reading unit to execute the step of reading Y target to-be-played image frames sorted later from the to-be-played image cache in the form of a first-in-first-out queue; The trigger unit is also used to set Y to 2 if the number of image frames to be played in the image cache to be played is equal to 2 or greater than 2, triggering the reading unit to execute the step of reading the Y frame target image frames to be played that are sorted later from the image cache to be played in the form of a first-in-first-out queue.

8. A computer device, characterized in that: include: Processor, memory, bus, input and output interface, network interface; The processor is connected to the memory, the input / output interface, and the network interface via the bus; The memory stores a program; When the processor executes the program stored in the memory, the method for processing abnormal image frames as described in any one of claims 1 to 6 is implemented.

9. A computer storage medium, characterized in that The computer storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the method for processing abnormal image frames as claimed in any one of claims 1 to 6.