WO2023216839A1 - 一种冻屏检测方法、装置、电子设备及车辆 - Google Patents

一种冻屏检测方法、装置、电子设备及车辆 Download PDF

Info

Publication number
WO2023216839A1
WO2023216839A1 PCT/CN2023/089689 CN2023089689W WO2023216839A1 WO 2023216839 A1 WO2023216839 A1 WO 2023216839A1 CN 2023089689 W CN2023089689 W CN 2023089689W WO 2023216839 A1 WO2023216839 A1 WO 2023216839A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
screen
video signal
display screen
target frame
Prior art date
Application number
PCT/CN2023/089689
Other languages
English (en)
French (fr)
Inventor
董小飞
李佳虎
Original Assignee
比亚迪股份有限公司
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 比亚迪股份有限公司 filed Critical 比亚迪股份有限公司
Publication of WO2023216839A1 publication Critical patent/WO2023216839A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/04Diagnosis, testing or measuring for television systems or their details for receivers

Definitions

  • the present disclosure belongs to the technical field of display equipment, and in particular relates to a freeze screen detection method, device, electronic equipment, vehicle and computer-readable storage medium.
  • Freeze screen is one of the common faults of display equipment. When a display device freezes its screen, it often brings a bad experience to the user and may even endanger the user's personal safety. For example, if the instrument on the vehicle freezes and the driver is unable to obtain driving information, it may cause the driver to engage in some dangerous driving behaviors.
  • screen freeze detection is usually performed by using an external camera to collect images of the display device. If the image collected is inconsistent with the image that the display device should display, the display device is considered to have a screen freeze. However, adding an additional camera will undoubtedly add additional cost.
  • the present disclosure provides a freeze screen detection method, device, electronic equipment, vehicle, and computer-readable storage medium, which can realize freeze screen detection of a display device without adding an additional camera, effectively reducing costs. .
  • the present disclosure provides a freeze screen detection method, including:
  • Monitor changes in preset pixel points in the video signal output to the display screen, wherein the above-mentioned preset pixel points change according to a preset strategy when the above-mentioned display screen does not freeze;
  • the above-mentioned method of determining whether a frozen screen occurs on the above-mentioned display screen based on the changes in the above-mentioned preset pixel points and the above-mentioned preset strategy includes:
  • the above-mentioned preset strategy is that the pixel value of the above-mentioned preset pixel point changes between multiple target frames of the above-mentioned video signal, wherein the pixel value of the above-mentioned preset pixel point in any two adjacent target frames is different;
  • the above-mentioned monitoring of changes in preset pixels in the video signal output to the display screen includes:
  • Monitor changes in pixel values of the above-mentioned preset pixel points in multiple target frames
  • the above-mentioned determination of whether the changes of the above-mentioned preset pixels conform to the above-mentioned preset strategy includes:
  • the above-mentioned monitoring of changes in pixel values of the above-mentioned preset pixel points in multiple target frames includes:
  • the above-mentioned determination of whether the changes in pixel values of the above-mentioned preset pixel points in multiple target frames conform to the above-mentioned preset strategy includes:
  • the above-mentioned count value is greater than the above-mentioned count threshold, it is determined that the changes in pixel values of the above-mentioned preset pixel points in multiple target frames do not comply with the above-mentioned preset strategy;
  • the count value is less than or equal to the count threshold, it is determined that the changes in pixel values of the preset pixel points in multiple target frames comply with the preset strategy.
  • each target frame of the video signal it is sequentially detected whether the pixel value of the preset pixel point in each target frame of the video signal is the same as the pixel value of the preset pixel point in the previous target frame, including:
  • the cyclic redundancy check code of the preset pixel in the current target frame is the same as the cyclic redundancy check code of the preset pixel in the previous target frame, then it is determined that the preset pixel in the current target frame is the same as the previous one.
  • the pixel values of the preset pixels in the target frame are the same;
  • the cyclic redundancy check code of the preset pixel in the current target frame is different from the cyclic redundancy check code of the preset pixel in the previous target frame, then it is determined that the preset pixel in the current target frame is different from the previous one.
  • the pixel values of the preset pixels in a target frame are different.
  • the video signal is a video signal output to the display screen within a monitoring period
  • the target frame is each frame in the video signal, or the target frame is a preset number of frames per interval in the video signal.
  • a selected frame, or the above-mentioned target frame is a plurality of consecutive frames selected from the above-mentioned video signal.
  • the above-mentioned method of determining whether a frozen screen occurs on the above-mentioned display screen based on the changes in the above-mentioned preset pixel points and the above-mentioned preset strategy includes:
  • the above frozen screen detection method also includes:
  • the above-mentioned display screen is a vehicle instrument screen
  • the above-mentioned monitoring of changes in preset pixel points in the video signal output to the display screen includes:
  • the above frozen screen detection method also includes:
  • the above-mentioned vehicle instrument screen is controlled to display the above-mentioned driving information and backup screen.
  • a freeze screen detection device including:
  • a monitoring unit configured to monitor changes in preset pixels in the video signal output to the display screen, where the preset pixels change according to a preset strategy when the display screen does not freeze;
  • the determining unit is used to determine whether the display screen freezes based on changes in the preset pixel points and the preset strategy.
  • the present disclosure provides an electronic device.
  • the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the computer program, the above steps are implemented. Steps of the first aspect of the method.
  • the present disclosure provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the steps of the method of the first aspect are implemented.
  • the present disclosure provides a vehicle, which includes the electronic device of the third aspect.
  • the preset pixels in the video signal output to the display screen change according to the preset strategy.
  • the preset pixels in the video signal By monitoring the changes of preset pixels in the video signal and comparing the changes with the preset strategy, it can be determined whether the display screen is currently frozen.
  • This disclosed solution can realize frozen screen detection on the display screen without adding additional cameras, effectively reducing costs.
  • Figure 1 is a schematic diagram of the implementation environment of the freeze screen detection method provided by an embodiment of the present disclosure
  • Figure 2 is a schematic flowchart of a freeze screen detection method provided by an embodiment of the present disclosure
  • Figure 3 is a schematic diagram of preset pixels provided by an embodiment of the present disclosure.
  • Figure 4 is a schematic diagram of the counting flow of the freeze screen detection method provided by an embodiment of the present disclosure
  • Figure 5 is a schematic structural diagram of a freeze screen detection device provided by an embodiment of the present disclosure.
  • Freeze screen means that the screen is frozen and no longer changes. While fully digital instrumentation is developing rapidly in the vehicle field, it has also brought the problem of frozen instrument screens to major car companies. If the instrument on the vehicle freezes and the driver is unable to obtain driving information, it may cause the driver to engage in dangerous driving behaviors. For example, after the instrument screen is frozen, the driver cannot know the current speed of the vehicle. If the current speed of the vehicle is already over the speed limit, the driver can choose to continue to press the accelerator to accelerate. In order to ensure driving safety, the fully digital instrument must detect the stability of its own display screen in real time. In the related technology, screen freeze detection is usually performed by using an external camera to collect images of the display device.
  • Embodiments of the present disclosure propose a freeze screen detection method, device, electronic equipment, vehicle and computer-readable storage medium.
  • the preset pixels in the video signal output to the display screen are preset.
  • Strategy changes. By monitoring the changes of preset pixels in the video signal and comparing the changes with the preset strategy, it can be determined whether the display screen is currently frozen. This disclosed solution can realize frozen screen detection on the display screen without adding additional cameras, effectively reducing costs.
  • the example implementation environment includes the instrument host and instrument display.
  • the instrument display screen includes a deserializer, an on-screen display (OSD) chip, a microcontroller unit (Microcontroller Unit, MCU) and a screen.
  • the instrument host outputs the video signal that needs to be displayed. After the video signal is processed by the deserializer and OSD chip, it is output to the screen for display.
  • the MCU is connected to the OSD chip and screen respectively to control the OSD chip and screen respectively.
  • a freeze screen detection method provided by an embodiment of the present disclosure is described below. Please refer to Figure 2.
  • This frozen screen detection method can be applied to the MCU in Figure 1, including:
  • Step 201 Monitor changes in preset pixels in the video signal output to the display screen.
  • Step 202 Determine whether the display screen freezes based on changes in preset pixel points and preset strategies.
  • each frame of the video signal is composed of multiple pixel points
  • the preset pixel point can be any one or more pixel points in each frame of the video signal, and there is no limitation here.
  • the preset pixel point can be selected from an area that users pay less attention to.
  • the preset pixel point can be a 2*2 pixel in the upper left corner of each frame of the video signal. 4 pixels of the area. Since the video signals output to the display screen will be processed by the OSD chip, the MCU can monitor changes in the preset pixels in the video signal through the OSD chip.
  • Figure 3 shows the video signal, where each grid represents a pixel, and the preset pixels are the 4 pixels in the 2*2 pixel area in the upper left corner of each frame of the video signal.
  • the MCU can monitor the changes in the four pixels in the upper left corner between different frames of the video signal through the OSD.
  • the preset pixels in the video signal should change according to the preset strategy. Therefore, by monitoring the actual changes of the preset pixels in the video signal and comparing the actual changes of the preset pixels with the preset strategy, it can be determined whether the display screen is frozen.
  • the embodiment of the present disclosure can set a monitoring period, and the MCU can monitor changes in preset pixels in the video signal output to the display screen during the current monitoring period. Then at the end of the current monitoring period, according to the preset The changes in pixels and the preset strategy determine whether the display screen freezes during the current monitoring period. Next, the MCU can monitor the changes in the preset pixels in the video signal output to the display screen in the next monitoring cycle, and at the end of the next monitoring cycle, based on the changes in the preset pixels and the preset strategy, Determine whether the display screen freezes during the next monitoring cycle, and so on.
  • the freeze screen detection of the display screen can be realized without adding an additional camera, and because the MCU only monitors the changes of some pixels (i.e., preset pixels) in the video signal, not All pixels of the video signal are monitored, so the calculation amount of frozen screen detection can also be greatly reduced.
  • the above step 202 includes:
  • A1. Determine whether the changes in the preset pixels comply with the preset strategy.
  • the preset strategy can be set according to requirements, and the embodiments of the present disclosure do not specifically limit the preset strategy. Since the preset pixel points always change according to the preset strategy when the display screen does not freeze, therefore, if the change of the preset pixel points conforms to the preset strategy, it can be determined that the display screen does not freeze. On the contrary, if the change of the preset pixels does not comply with the preset strategy, it can be determined that the display screen is frozen. Specifically, when the display screen freezes, the preset pixel points will remain unchanged between multiple frames of the video signal, so the changes in the monitored preset pixel points must not comply with the preset strategy. In this way, you can quickly determine whether the display screen is frozen.
  • the preset strategy may be that the pixel value of the preset pixel point changes between multiple target frames of the video signal, wherein the pixel value of the preset pixel point in any two adjacent target frames is different.
  • the adjacent target frames are the two target frames with the closest display time.
  • the target frame can be selected from all frames of the video signal, and the selected frame is used as the target frame. Based on this, the above step 201 includes:
  • step A1 includes:
  • the pixel value of the preset pixel point changes between multiple target frames of the video signal.
  • the target frame can be a frame selected every two frames among all frames of the video signal.
  • the pixel value of the preset pixel point in the target frame is the same as the pixel value of the preset pixel point in the previous target frame.
  • the pixel values of the target frame and the subsequent target frame are not the same. If the pixel values of the preset pixels in any two adjacent target frames are the same, it may be because the display is frozen.
  • the video signal includes frame 1, frame 2, frame 3, frame 4, frame 5, frame 6 and frame 7 in display order. Select frame 1, frame 4 and frame 7 as target frames.
  • the pixel value of the preset pixel point in frame 1 is X1
  • the pixel value of the preset pixel point in frame 4 is X2
  • the pixel value of the preset pixel point in frame 7 is X1.
  • the pixel values of each preset pixel point in two adjacent target frames will be different.
  • the preset pixels include pixel 1 and pixel 2.
  • the pixel value of pixel 1 in two adjacent target frames is different
  • the pixel value of pixel 2 in two adjacent frames is different.
  • the pixel values of adjacent target frames are different.
  • the pixel values of pixel 1 and pixel 2 may be the same or different, and are not limited here.
  • the above-mentioned monitoring of changes in pixel values of preset pixel points in multiple target frames includes:
  • the above-mentioned method of determining whether the changes in pixel values of preset pixels in multiple target frames complies with the preset strategy includes:
  • the count value is greater than the count threshold, it is determined that the changes in pixel values of the preset pixel points in multiple target frames do not comply with the preset strategy.
  • the count value is less than or equal to the count threshold, it is determined that the changes in pixel values of the preset pixel points in multiple target frames comply with the preset strategy.
  • Each target frame has a display order, and based on the display order, it is sequentially detected whether the pixel value of the preset pixel point in each target frame of the video signal is the same as that of the preset pixel point in the previous target frame of the target frame.
  • the target frames can be obtained sequentially based on the display order of each target frame.
  • the MCU can detect whether the pixel value of the preset pixel point of the current target frame is the same as the pixel value of the preset pixel point of the previous target frame of the current target frame. If the pixel values are the same, you can add 1 to the count value, and if the pixel values are different, reset the count value to 0.
  • the MCU can determine whether the current monitoring cycle has ended. If it has ended, it can determine whether the count value is greater than the preset counting threshold. If it is greater than the counting threshold, it is determined that the changes in pixel values of the preset pixel points in multiple target frames do not comply with the preset strategy. At this time, it can be determined that the display screen freezes. If it is less than or equal to the count threshold, it is determined that the change in pixel value of the preset pixel point in multiple target frames complies with the preset strategy. At this time, it can be determined that the display screen does not freeze.
  • every 100 milliseconds can be recorded as a monitoring period, and the current monitoring period is the monitoring period to which the current moment belongs.
  • the MCU can determine whether the display screen is frozen at the end of each monitoring cycle. At the end of the current monitoring cycle and the beginning of the next monitoring cycle, the count value will also be reset to 0. That is to say, the steps shown in Figure 4 are only executed by the MCU within one monitoring cycle, and the MCU executes the steps shown in Figure 4 once in each monitoring cycle. In this way,
  • the freeze screen detection method of the embodiment of the present disclosure can be simplified and the calculation amount of the MCU can be reduced.
  • the above method is to sequentially detect whether the pixel value of the preset pixel point in each target frame of the video signal is the same as that of the preset pixel point in the previous target frame, including:
  • the cyclic redundancy check code of the preset pixel point in the current target frame is the same as the cyclic redundancy check code of the preset pixel point in the previous target frame, then it is determined that the preset pixel point in the current target frame is the same as the previous target frame.
  • the pixel values of the preset pixels in are the same.
  • the cyclic redundancy check code of the preset pixel in the current target frame is different from the cyclic redundancy check code of the preset pixel in the previous target frame, then determine whether the preset pixel in the current target frame is the same as the previous target.
  • the pixel values of the preset pixels in the frame are different.
  • the MCU can obtain the Cyclic Redundancy Check (CRC) of the preset pixel in the current target frame.
  • CRC Cyclic Redundancy Check
  • the CRC of the preset pixel can be calculated by the OSD chip, and then the MCU obtains the CRC from the OSD chip. Default pixel CRC.
  • the CRC of the preset pixel in the current target frame is the same as the CRC of the preset pixel in the previous target frame, it can be determined that the pixel value of the preset pixel in the current target frame is the same as that of the preset pixel in the previous target frame. , otherwise, it can be determined that the pixel value of the preset pixel point in the current target frame is different from the preset pixel point in the previous target frame.
  • the target frame in order to obtain a higher accuracy of freeze screen detection, may be each frame of the video signal, that is, if the video signal includes frame 1, frame 2, frame 3, frame 4 and Frame 5, then the target frames are frame 1, frame 2, frame 3, frame 4 and frame 5.
  • the video signal is a video signal output to the above-mentioned display screen within a monitoring period.
  • the target frame in order to reduce the calculation amount of the MCU, may be a frame selected every preset number of frames in the video signal, that is, if the video signal includes frame 1, frame 2, frame 3, Frame 4 and Frame 5, the default number is 1, then the target frames can be Frame 1, Frame 3 and Frame 5.
  • the video signal is a video signal output to the above-mentioned display screen within a monitoring period.
  • the target frame may be multiple consecutive frames selected from the video signal, that is, if the video signal includes frame 1, frame 2, frame 3, frame 4 and frame 5 , then the target frames can be frame 3, frame 4 and frame 5.
  • the video signal is a video signal output to the above-mentioned display screen within a monitoring period.
  • the above step 202 includes:
  • the detection frame may be any at least two frames in the video signal. If the changes in the preset pixels do not comply with the preset strategy, in order to obtain more accurate freeze screen detection results, the MCU can determine whether each detection frame is the same. Specifically, for every two detection frames, assuming detection frame 1 and detection frame 2, the MCU can determine whether all pixels of detection frame 1 correspond to all pixels of detection frame 2. If they are consistent, determine whether detection frames 1 and 2 are consistent. The detection frame 2 is the same. If they are inconsistent, it is determined that the detection frame 1 and the detection frame 2 are different. Optionally, the MCU can obtain the CRC of detection frame 1 and the CRC of detection frame 2.
  • the CRC can be calculated by the OSD chip, and the MCU can obtain the CRC from the OSD chip. If each detection frame is the same, it can be determined that the display screen is frozen. If any two detection frames among all detection frames are different, it is determined that the display screen is not frozen.
  • the frozen screen detection method in this embodiment of the present disclosure also includes:
  • the MCU can control the OSD chip to clear the residual images on the display screen, and can control the OSD chip to block the video signal output by the instrument host in Figure 1, and then Output the backup screen file stored locally in the OSD chip so that the user can still obtain the required information from the display screen when the screen freezes.
  • the backup picture file can also be stored in the MCU, and the MCU sends the backup picture file to the OSD chip, and controls the OSD chip to display the backup picture.
  • the backup picture files can also be stored in the OSD chip and MCU respectively to solve the problem of insufficient storage space of the OSD chip and MCU.
  • the above step 201 includes:
  • driving information includes but is not limited to vehicle speed, rotation speed and turn signal information.
  • the MCU can receive driving information from the Controller Area Network (CAN) bus, which needs to be displayed on the vehicle instrument screen. Therefore, when driving information is received, the MCU can determine whether there is a video signal output to the vehicle instrument screen. If there is a video signal output to the vehicle instrument screen, freeze screen detection can be started. Specifically, if there is a video signal output to the vehicle instrument screen, the MCU may perform the above steps 201 and 202 once per monitoring cycle.
  • CAN Controller Area Network
  • freeze screen detection method of the embodiment of the present disclosure also includes:
  • the vehicle instrument screen is controlled to display driving information and backup images.
  • the MCU when receiving driving information that needs to be displayed on the above-mentioned vehicle instrument screen, if there is no video signal output to the vehicle instrument screen, in order to ensure that the display of the vehicle instrument screen is stable, the MCU can convert the received driving information to the vehicle instrument screen. Information is sent to the OSD chip.
  • the OSD chip combines the backup images and driving information stored by itself in a preset manner and outputs them to the vehicle instrument screen, so that the vehicle instrument screen displays the driving information and backup images.
  • the preset pixels in the video signal output to the display screen change according to the preset strategy.
  • the preset pixels in the video signal By monitoring the changes of preset pixels in the video signal and comparing the changes with the preset strategy, it can be determined whether the display screen is currently frozen.
  • This disclosed solution can realize frozen screen detection on the display screen without adding additional cameras, effectively reducing costs.
  • freeze screen detection device 500 in the embodiment of the present disclosure includes:
  • the monitoring unit 501 is used to monitor the changes of preset pixel points in the video signal output to the display screen, wherein the above-mentioned preset pixel points change according to a preset strategy when the above-mentioned display screen does not freeze;
  • the determining unit 502 is configured to determine whether the display screen freezes based on changes in the preset pixel points and the preset strategy.
  • the above-mentioned determining unit 502 includes:
  • the first judgment sub-unit is used to judge whether the change of the above-mentioned preset pixel points conforms to the above-mentioned preset strategy
  • the first determination subunit is used to determine that the above-mentioned display screen does not freeze if the change of the above-mentioned preset pixel points complies with the above-mentioned preset strategy;
  • the second determination subunit is used to determine that the display screen freezes if the changes in the preset pixel points do not comply with the preset strategy.
  • the above-mentioned preset strategy is that the pixel value of the above-mentioned preset pixel point changes between multiple target frames of the above-mentioned video signal, wherein the pixel value of the above-mentioned preset pixel point in any two adjacent target frames is Different; the above-mentioned monitoring unit 501 is specifically used to monitor the changes in pixel values of the above-mentioned preset pixel points in multiple target frames; the above-mentioned first judgment sub-unit is specifically used to determine the changes in the above-mentioned preset pixel points in multiple target frames. Whether the changes in pixel values in are consistent with the above preset strategy.
  • the above-mentioned monitoring unit 501 is specifically configured to sequentially detect whether the pixel value of the preset pixel point in each target frame of the above-mentioned video signal is the same as the pixel value of the preset pixel point in the previous target frame based on the display order of each target frame. ; If they are the same, add one to the count value; if they are not the same, reset the above count value to zero.
  • the above-mentioned first judgment sub-unit is specifically used to judge whether the above-mentioned count value is greater than the preset counting threshold; if the above-mentioned count value is greater than the above-mentioned counting threshold, then it is determined that the above-mentioned count value is greater than the preset counting threshold.
  • the change of the pixel value of the preset pixel in multiple target frames does not comply with the above preset strategy; if the above count value is less than or equal to the above count threshold, then determine the pixel value of the above preset pixel in multiple target frames.
  • the changes are in line with the above preset strategy.
  • the above-mentioned monitoring unit 501 is specifically configured to obtain the cyclic redundancy check code of the preset pixels in the current target frame based on the display order of each target frame; if the cyclic redundancy check code of the preset pixels in the current target frame is If the remainder check code is the same as the cyclic redundancy check code of the preset pixel in the previous target frame, then it is determined that the pixel value of the preset pixel in the current target frame is the same as the preset pixel in the previous target frame; if If the cyclic redundancy check code of the preset pixel in the current target frame is different from the cyclic redundancy check code of the preset pixel in the previous target frame, then it is determined that the preset pixel in the current target frame is different from the previous one. The pixel values of the preset pixels in the target frame are different.
  • the video signal is a video signal output to the display screen within a monitoring period
  • the target frame is each frame in the video signal, or the target frame is a preset number of frames per interval in the video signal.
  • a selected frame, or the above-mentioned target frame is a plurality of consecutive frames selected from the above-mentioned video signal.
  • the above-mentioned determining unit 502 includes:
  • the second judgment subunit is used to judge whether the change of the above-mentioned preset pixel points conforms to the above-mentioned preset strategy
  • the third determination subunit is used to determine that the above-mentioned display screen does not freeze if the changes in the above-mentioned preset pixel points comply with the above-mentioned preset strategy;
  • the detection frame selection subunit is used to select at least two detection frames from the above video signal if the change of the above preset pixel points does not comply with the above preset strategy;
  • the third judgment subunit is used to judge whether each detection frame is the same
  • the fourth determination subunit is used to determine that the above-mentioned display screen freezes if all detection frames are the same;
  • the fifth determination subunit is used to determine that if any two detection frames are different, the above-mentioned display screen does not freeze.
  • freeze screen detection device 500 also includes:
  • the freeze screen processing unit is used to clear the remaining images on the display screen and control the display screen to display a backup image when it is determined that the screen freeze occurs on the display screen.
  • the above-mentioned display screen is a vehicle instrument screen
  • the above-mentioned monitoring unit 501 is specifically used to determine whether there is a video signal output to the above-mentioned vehicle instrument screen when receiving driving information that needs to be displayed on the above-mentioned vehicle instrument screen; if there is The video signal output to the above-mentioned vehicle instrument screen is monitored for changes in the preset pixel points in the video signal output to the above-mentioned vehicle instrument screen.
  • freeze screen detection device 500 also includes:
  • a backup display unit is used to control the vehicle instrument screen to display the driving information and the backup screen if there is no video signal output to the vehicle instrument screen.
  • the preset pixels in the video signal output to the display screen change according to the preset strategy.
  • the preset pixels in the video signal By monitoring the changes of preset pixels in the video signal and comparing the changes with the preset strategy, it can be determined whether the display screen is currently frozen.
  • This disclosed solution can realize frozen screen detection on the display screen without adding additional cameras, effectively reducing costs.
  • an embodiment of the present disclosure also provides an electronic device.
  • the electronic device in the embodiment of the present disclosure includes: a memory, one or more processors and a program stored in the memory and available in A computer program that runs on a processor.
  • the memory is used to store software programs and units
  • the processor executes various functional applications and data processing by running the software programs and units stored in the memory to obtain resources corresponding to the above-mentioned preset events.
  • the processor implements the steps of the above frozen screen detection method by running the above computer program stored in the memory.
  • the processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), Application Specific Integrated Circuit (ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • Memory may include read-only memory and random access memory and provides instructions and data to the processor. Some or all of the memory may also include non-volatile random access memory. For example, the memory may also store device class information.
  • embodiments of the present disclosure also provide a vehicle.
  • the vehicle includes the above electronic device, and the electronic device is used to implement the steps of the above freeze screen detection method.
  • embodiments of the present disclosure also provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the computer program is executed by a processor, the above-mentioned freezing process is implemented. Screen detection method steps.
  • Module completion means dividing the internal structure of the above device into different functional units or modules to complete all or part of the functions described above.
  • Each functional unit and module in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the above-mentioned integrated unit can be hardware-based. It can also be implemented in the form of software functional units.
  • the specific names of each functional unit and module are only for the convenience of distinguishing each other and are not used to limit the scope of the present disclosure. above For the specific working processes of the units and modules in the system, please refer to the corresponding processes in the foregoing method embodiments, and will not be described again here.
  • the disclosed devices and methods can be implemented in other ways.
  • the system embodiments described above are only illustrative.
  • the division of the above modules or units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined. Either it can be integrated into another system, or some features can be ignored, or not implemented.
  • Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
  • the units described above as separate components may or may not be physically separated.
  • the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • the above-mentioned 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.
  • the present disclosure can implement all or part of the processes in the above-mentioned embodiment methods, and can also be completed by instructing the associated hardware through a computer program.
  • the above-mentioned computer program can be stored in a computer-readable storage medium, and the computer can When the program is executed by the processor, the steps of each of the above method embodiments can be implemented.
  • the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code, executable file or some intermediate form, etc.
  • the above-mentioned computer-readable storage media may include: any entity or device capable of carrying the above-mentioned computer program code, recording media, U disk, mobile hard disk, magnetic disk, optical disk, computer-readable memory, read-only memory (ROM, Read-Only Memory) ), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signals telecommunications signals
  • software distribution media etc.
  • the content contained in the above computer-readable storage media can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction.
  • computer-readable storage media The medium does not include electrical carrier signals and telecommunications signals.

Abstract

一种冻屏检测方法、装置、电子设备及车辆。该方法包括:监测输出至显示屏的视频信号中预设像素点的变化情况,其中,所述预设像素点在所述显示屏未发生冻屏时以预设策略变化;根据所述预设像素点的变化情况以及所述预设策略,确定所述显示屏是否发生冻屏。

Description

一种冻屏检测方法、装置、电子设备及车辆
相关申请的交叉引用
本公开基于申请号为202210508705.9,申请日为2022年05月10日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。
技术领域
本公开属于显示设备技术领域,尤其涉及一种冻屏检测方法、装置、电子设备、车辆及计算机可读存储介质。
背景技术
冻屏是显示设备常见的故障之一。当显示设备发生冻屏故障时,往往会给用户带来不好的体验,甚至可能危害到用户的人身安全。例如,如果车辆上的仪表发生冻屏故障,驾驶员无法获知行车信息,则可能使得驾驶员进行一些危险的驾驶行为。相关技术中,通常采用外加摄像头采集显示设备画面的方式来进行冻屏检测,如果采集到的画面与显示设备应显示的画面不一致,则认为显示设备发生冻屏。然而,外加摄像头无疑会增加额外的成本。
公开内容
有鉴于此,本公开提供了一种冻屏检测方法、装置、电子设备、车辆及计算机可读存储介质,可以在无需额外增加摄像头的情况下实现对显示设备的冻屏检测,有效降低了成本。
第一方面,本公开提供了一种冻屏检测方法,包括:
监测输出至显示屏的视频信号中预设像素点的变化情况,其中,上述预设像素点在上述显示屏未发生冻屏时以预设策略变化;
根据上述预设像素点的变化情况以及上述预设策略,确定上述显示屏是否发生冻屏。
可选地,上述根据上述预设像素点的变化情况以及上述预设策略,确定上述显示屏是否发生冻屏,包括:
判断上述预设像素点的变化情况是否符合上述预设策略;
若上述预设像素点的变化情况符合上述预设策略,则确定上述显示屏未发生冻屏;
若上述预设像素点的变化情况不符合上述预设策略,则确定上述显示屏发生冻屏。
可选地,上述预设策略为上述预设像素点在上述视频信号的多个目标帧之间像素值发生变化,其中,上述预设像素点在任意两个相邻的目标帧中的像素值不同;
上述监测输出至显示屏的视频信号中预设像素点的变化情况,包括:
监测上述预设像素点在多个目标帧中的像素值的变化情况;
上述判断上述预设像素点的变化情况是否符合上述预设策略,包括:
判断上述预设像素点在多个目标帧中的像素值的变化情况是否符合上述预设策略。
可选地,上述监测上述预设像素点在多个目标帧中的像素值的变化情况,包括:
基于各个目标帧的显示顺序,依次检测上述视频信号的每个目标帧中预设像素点与前一目标帧中预设像素点的像素值是否相同;
若相同,则将计数值加一;
若不相同,则将上述计数值重置为零;
上述判断上述预设像素点在多个目标帧中的像素值的变化情况是否符合上述预设策略,包括:
判断上述计数值是否大于预设的计数阈值;
若上述计数值大于上述计数阈值,则判定上述预设像素点在多个目标帧中的像素值的变化情况不符合上述预设策略;
若上述计数值小于或等于上述计数阈值,则判定上述预设像素点在多个目标帧中的像素值的变化情况符合上述预设策略。
可选地,上述基于各个目标帧的显示顺序,依次检测上述视频信号的每个目标帧中预设像素点与前一目标帧中预设像素点的像素值是否相同,包括:
基于各个目标帧的显示顺序,获取当前目标帧中预设像素点的循环冗余校验码;
若上述当前目标帧中预设像素点的循环冗余校验码与前一目标帧中预设像素点的循环冗余校验码相同,则确定上述当前目标帧中预设像素点与前一目标帧中预设像素点的像素值相同;
若上述当前目标帧中预设像素点的循环冗余校验码与前一目标帧中预设像素点的循环冗余校验码不相同,则确定上述当前目标帧中预设像素点与前一目标帧中预设像素点的像素值不相同。
可选地,上述视频信号为在一个监测周期内输出至上述显示屏的视频信号,上述目标帧为上述视频信号中每一帧,或者,上述目标帧为上述视频信号中每间隔预设数量帧选取的一帧,或者,上述目标帧为上述视频信号中选取的连续多个帧。
可选地,上述根据上述预设像素点的变化情况以及上述预设策略,确定上述显示屏是否发生冻屏,包括:
判断上述预设像素点的变化情况是否符合上述预设策略;
若上述预设像素点的变化情况符合上述预设策略,则确定上述显示屏未发生冻屏;
若上述预设像素点的变化情况不符合上述预设策略,则从上述视频信号中选取至少两个检测帧;
判断各个检测帧是否相同;
若各个检测帧均相同,则确定上述显示屏发生冻屏;
若任意两个检测帧不同,则确定上述显示屏未发生冻屏。
可选地,上述冻屏检测方法还包括:
在确定上述显示屏发生冻屏时,将上述显示屏的残留画面清除,并控制上述显示屏显示备份画面。
可选地,上述显示屏为车辆仪表屏,上述监测输出至显示屏的视频信号中预设像素点的变化情况,包括:
当接收到需要在上述车辆仪表屏显示的行车信息时,确定是否存在输出至上述车辆仪表屏的视频信号;
若存在输出至上述车辆仪表屏的视频信号,则监测输出至上述车辆仪表屏的视频信号中预设像素点的变化情况。
可选地,上述冻屏检测方法还包括:
若不存在输出至上述车辆仪表屏的视频信号,则控制上述车辆仪表屏显示上述行车信息和备份画面。
第二方面,本公开提供了一种冻屏检测装置,包括:
监测单元,用于监测输出至显示屏的视频信号中预设像素点的变化情况,其中,上述预设像素点在上述显示屏未发生冻屏时以预设策略变化;
确定单元,用于根据上述预设像素点的变化情况以及上述预设策略,确定上述显示屏是否发生冻屏。
第三方面,本公开提供了一种电子设备,上述电子设备包括存储器、处理器以及存储在上述存储器中并可在上述处理器上运行的计算机程序,上述处理器执行上述计算机程序时实现如上述第一方面的方法的步骤。
第四方面,本公开提供了一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被处理器执行时实现如上述第一方面的方法的步骤。
第五方面,本公开提供了一种车辆,上述车辆包括如上述第三方面的电子设备。
由上可见,本公开方案中显示屏在未发生冻屏时,输出至显示屏的视频信号中预设像素点以预设策略变化。通过监测视频信号中预设像素点的变化情况,将该变化情况与预设策略进行对比,可以确定显示屏当前是否发生冻屏。本公开方案无需额外增加摄像头,即可实现对显示屏的冻屏检测,有效降低了成本。
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。
附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本公开实施例提供的冻屏检测方法的实施环境示意图;
图2是本公开实施例提供的冻屏检测方法的流程示意图;
图3是本公开实施例提供的预设像素点的示意图;
图4是本公开实施例提供的冻屏检测方法的计数流程示意图;
图5是本公开实施例提供的冻屏检测装置的结构示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本公开实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本公开。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本公开的描述。
冻屏,即画面发生冻结,不再变化。全数字化仪表在车辆领域快速发展的同时,也给各大车企带来了仪表冻屏的难题。如果车辆上的仪表发生冻屏故障,驾驶员无法获知行车信息,则可能使得驾驶员进行一些危险的驾驶行为。例如,仪表冻屏后,驾驶员无法获知当前车速,在当前车速己经超速的情况下,选择继续深踩油门加速。为了保障行车安全,全数字化仪表必须做到实时检测自身显示画面的稳定性。相关技术中,通常采用外加摄像头采集显示设备画面的方式来进行冻屏检测,如果采集到的画面与显示设备应显示的画面不一致,则认为显示设备发生冻屏。然而,外加摄像头无疑会增加额外的成本。基于此, 本公开实施例提出了一种冻屏检测方法、装置、电子设备、车辆及计算机可读存储介质,显示屏在未发生冻屏时,输出至显示屏的视频信号中预设像素点以预设策略变化。通过监测视频信号中预设像素点的变化情况,将该变化情况与预设策略进行对比,可以确定显示屏当前是否发生冻屏。本公开方案无需额外增加摄像头,即可实现对显示屏的冻屏检测,有效降低了成本。为了说明本公开实施例所提出的技术方案,下面通过具体实施例来进行说明。
下面对本公开实施例提供的一种冻屏检测方法的实施环境进行描述。请参阅图1,示例的实施环境包括仪表主机和仪表显示屏。
其中,仪表显示屏包括解串器、屏幕菜单式调节方式(on-screen display,OSD)芯片、微控制单元(Microcontroller Unit,MCU)和屏幕。仪表主机将需要显示的视频信号输出,视频信号经过解串器和OSD芯片处理后,输出至屏幕进行显示。MCU分别与OSD芯片和屏幕连接,以分别控制OSD芯片和屏幕。
下面对本公开实施例提供的一种冻屏检测方法进行描述。请参阅图2,该冻屏检测方法可以应用于图1中的MCU,包括:
步骤201,监测输出至显示屏的视频信号中预设像素点的变化情况。
步骤202,根据预设像素点的变化情况以及预设策略,确定显示屏是否发生冻屏。
在本公开实施例中,视频信号的多个帧依次输出至显示屏进行显示。其中,视频信号的每个帧均由多个像素点组成,预设像素点可以是视频信号的每个帧中任意的一个或多个像素点,此处不作限。例如,为了尽量不影响用户的观看体验,预设像素点可以选择用户较少注意到的区域的像素点,比如预设像素点可以是视频信号的每个帧中左上角的2*2大小像素区域的4个像素点。由于输出至显示屏的视频信号均会经过OSD芯片处理,因此,MCU可以通过OSD芯片来监测视频信号中预设像素点的变化情况。其中,通过预先设置,预设像素点在视频信号的不同帧以预设策略进行变化。请参阅图3,图3所示为视频信号,其中每个网格代表一个像素点,以预设像素点为视频信号的每个帧中左上角的2*2大小像素区域的4个像素点为例,MCU可以通过OSD监测左上角4个像素点在视频信号的不同帧之间的变化情况。
由于在预先设置中,如果显示屏未发生冻屏,则视频信号中预设像素点应该是以预设策略变化的。因此,通过监测视频信号中预设像素点实际的变化情况,将预设像素点实际的变化情况与预设策略对比,即可确定显示屏是否发生冻屏。
示例性地,本公开实施例可以设置监测周期,MCU可以监测当前监测周期内输出至显示屏的视频信号中预设像素点的变化情况。然后在当前监测周期的结束时刻,根据该预设 像素点的变化情况以及预设策略,确定显示屏在当前监测周期内是否发生冻屏。接下来,MCU可以监测下一监测周期内输出至显示屏的视频信号中预设像素点的变化情况,以及在下一监测周期的结束时刻,根据该预设像素点的变化情况以及预设策略,确定显示屏在下一监测周期内是否发生冻屏,以此类推。通过此种方式,不需要额外增加摄像头,即可实现对显示屏的冻屏检测,并且,由于MCU只是对视频信号中的部分像素点(即预设像素点)的变化情况进行监测,而不是对视频信号的所有像素点进行监测,因此还可以大大减少冻屏检测的计算量。
在一些实施例中,上述步骤202包括:
A1、判断预设像素点的变化情况是否符合预设策略。
A2、若预设像素点的变化情况符合预设策略,则确定显示屏未发生冻屏。
A3、若预设像素点的变化情况不符合预设策略,则确定显示屏发生冻屏。
其中,预设策略可以根据需求设定,本公开实施例不对预设策略做具体限定。由于预设像素点在显示屏未发生冻屏的情况下,始终是以预设策略变化的,因此,如果预设像素点的变化情况符合预设策略,则可以确定显示屏未发生冻屏,反之,如果预设像素点的变化情况不符合预设策略,则可以确定显示屏发生冻屏。具体地,在显示屏发生冻屏的情况下,预设像素点会在视频信号的多个帧之间保持不变,因此监测到的预设像素点的变化情况必然不符合预设策略。通过此种方式,可以快速判断显示屏是否发生冻屏。
在一些实施例中,预设策略可以为预设像素点在视频信号的多个目标帧之间像素值发生变化,其中,预设像素点在任意两个相邻的目标帧中的像素值不同。相邻的目标帧即为显示时间最接近的两个目标帧,目标帧可以在视频信号的所有帧中选取,选取的帧即作为目标帧。基于此,上述步骤201包括:
监测预设像素点在多个目标帧中的像素值的变化情况。
上述步骤A1包括:
判断预设像素点在多个目标帧中的像素值的变化情况是否符合预设策略。
在本公开实施例中,当显示屏未发生冻屏时,预设像素点在视频信号的多个目标帧之间像素值发生变化。比如,目标帧可以是视频信号的所有帧中每间隔两帧选取的一帧,对于任意一个目标帧,预设像素点在该目标帧的像素值与预设像素点在该目标帧的前一目标帧和后一目标帧的像素值均不相同。如果任意两个相邻的目标帧中预设像素点的像素值相同,则可能是因为显示屏发生了冻屏。举例来说,假设视频信号按照显示顺序包括帧1、帧2、帧3、帧4、帧5、帧6和帧7。选取帧1、帧4和帧7作为目标帧。其中,帧1中预设像素点的像素值为X1,帧4中预设像素点的像素值为X2,帧7中预设像素点的像素值 为X1。如此,即可保证预设像素点在相邻的两个目标帧中像素值不同。需要说明的是,在显示屏未发生冻屏时,如果预设像素点有多个,则两个相邻的目标帧中各个预设像素点的像素值分别对应不同。例如,假设预设像素点包括像素点1和像素点2,在显示屏未发生冻屏时,像素点1在两个相邻的目标帧中的像素值不同,且像素点2在两个相邻的目标帧的像素值不同。其中,像素点1和像素点2的像素值可以相同,也可以不同,此处不作限定。
在一些实施例中,上述监测预设像素点在多个目标帧中的像素值的变化情况,包括:
基于各个目标帧的显示顺序,依次检测视频信号的每个目标帧中预设像素点与前一目标帧中预设像素点的像素值是否相同。
若相同,则将计数值加一。
若不相同,则将计数值重置为零。
上述判断预设像素点在多个目标帧中的像素值的变化情况是否符合预设策略,包括:
判断计数值是否大于预设的计数阈值。
若计数值大于计数阈值,则判定预设像素点在多个目标帧中的像素值的变化情况不符合预设策略。
若计数值小于或等于计数阈值,则判定预设像素点在多个目标帧中的像素值的变化情况符合预设策略。
其中,各个目标帧具有显示顺序,基于该显示顺序,依次检测视频信号的每个目标帧中预设像素点与该目标帧的前一目标帧中预设像素点的像素值是否相同。具体地,请参阅4,在当前监测周期中,可以基于各个目标帧的显示顺序,依次获取目标帧。对于当前获取的当前目标帧,MCU可以检测当前目标帧的预设像素点的像素值与该当前目标帧的前一目标帧的预设像素点的像素值是否相同。如果像素值相同,则可以将计数值加1,如果像素值不同,则将计数值重置为0。在将计数值加1或重置为0后,MCU可以判断当前监测周期是否结束,如果己经结束,则可以判断计数值是否大于预设的计数阈值。如果大于计数阈值,则判定预设像素点在多个目标帧中的像素值的变化情况不符合预设策略,此时,可以确定显示屏发生冻屏。如果小于或等于计数阈值则判定预设像素点在多个目标帧中的像素值的变化情况符合预设策略,此时,可以确定显示屏未发生冻屏。需要说明的是,本公开实施例中可以将每100毫秒记作一个监测周期,当前监测周期即为当前时刻所属的监测周期。MCU可以在每个监测周期结束时确定显示屏是否发生冻屏,在当前监测周期结束,下一监测周期开始时,计数值同样会被重置为0。也即是说,图4所示的步骤只是MCU在一个监测周期内所执行的,MCU在每个监测周期均执行一次图4所示的步骤。通过此方式, 可以简化本公开实施例的冻屏检测方法,减少MCU的计算量。
可选地,上述基于各个目标帧的显示顺序,依次检测视频信号的每个目标帧中预设像素点与前一目标帧中预设像素点的像素值是否相同,包括:
基于各个目标帧的显示顺序,获取当前目标帧中预设像素点的循环冗余校验码。
若当前目标帧中预设像素点的循环冗余校验码与前一目标帧中预设像素点的循环冗余校验码相同,则确定当前目标帧中预设像素点与前一目标帧中预设像素点的像素值相同。
若当前目标帧中预设像素点的循环冗余校验码与前一目标帧中预设像素点的循环冗余校验码不相同,则确定当前目标帧中预设像素点与前一目标帧中预设像素点的像素值不相同。
在本公开实施例中,除了视频信号的首个目标帧,对于每个目标帧,依次检测该目标帧中预设像素点与该目标帧的前一目标帧中预设像素点的像素值是否相同。其中,当前目标帧即为当前需检测的目标帧。MCU可以获取当前目标帧中预设像素点的循环冗余校验码(Cyclic Redundancy Check,CRC。可选地,该预设像素点的CRC可以由OSD芯片进行计算,然后MCU从OSD芯片获取该预设像素点的CRC。
如果当前目标帧中预设像素点的CRC与前一目标帧中预设像素点的CRC相同,则可以确定当前目标帧中预设像素点与前一目标帧中预设像素点的像素值相同,否则,可以确定当前目标帧中预设像素点与前一目标帧中预设像素点的像素值不相同。
在一些实施例中,为了获得更高的冻屏检测的准确率,目标帧可以是视频信号的每一帧,也即是说,如果视频信号包括帧1、帧2、帧3、帧4和帧5,则目标帧为帧1、帧2、帧3、帧4和帧5。其中,视频信号为在一个监测周期内输出至上述显示屏的视频信号。
在另一些实施例中,为了减少MCU的计算量,目标帧可以是视频信号中每间隔预设数量帧选取的一帧,也即是说,如果视频信号包括帧1、帧2、帧3、帧4和帧5,预设数量为1,则目标帧可以为帧1、帧3和帧5。其中,视频信号为在一个监测周期内输出至上述显示屏的视频信号。
在又一些实施例中,为了减少MCU的计算量目标帧可以是视频信号中选取的连续多个帧,也即是说,如果视频信号包括帧1、帧2、帧3、帧4和帧5,则目标帧可以为帧3、帧4和帧5。其中,视频信号为在一个监测周期内输出至上述显示屏的视频信号。
在一些实施例中,上述步骤202包括:
判断预设像素点的变化情况是否符合预设策略。
若预设像素点的变化情况符合预设策略,则确定显示屏未发生冻屏。
若预设像素点的变化情况不符合预设策略,则从视频信号中选取至少两个检测帧。
判断各个检测帧是否相同。
若各个检测帧均相同,则确定显示屏发生冻屏。
若任意两个检测帧不同,则确定显示屏未发生冻屏。
其中,检测帧可以是视频信号中的任意至少两个帧。如果预设像素点的变化情况不符合预设策略,为了得到更准确的冻屏检测结果,MCU可以判断各个检测帧是否相同。具体地,对于每两个检测帧,假设为检测帧1和检测帧2,MCU可以判断检测帧1的全部像素点与检测帧2的全部像素点是否对应一致,如果一致则确定检测帧1和检测帧2相同,如果不一致则确定检测帧1和检测帧2不同。可选地,MCU可以获取检测帧1的CRC和检测帧2的CRC,如果两个CRC相同,则确定检测帧1的全部像素点与检测帧2的全部像素点对应一致。其中,CRC可以由OSD芯片计算得到,MCU可以从OSD芯片获取该CRC。如果各个检测帧均相同,则可以确定显示屏发生冻屏。如果所有检测帧中任意两个检测帧不同,则确定显示屏未发生冻屏。
可选地,本公开实施例的冻屏检测方法还包括:
在确定显示屏发生冻屏时,将显示屏的残留画面清除,并控制显示屏显示备份画面。
在本公开实施例中,如果确定显示屏发送冻屏,则MCU可以控制OSD芯片将显示屏屏幕上的残留画面清除,并且,可以控制OSD芯片将图1中仪表主机输出的视频信号屏蔽,进而输出OSD芯片中本地存储的备份画面文件,以使用户在显示屏发生冻屏时依然能从显示屏获得需要的信息。可选地,备份画面文件也可以存储MCU中,由MCU将备份画面文件发送给OSD芯片,并控制OSD芯片显示该备份画面。或者,备份画面文件也可以分别存储在OSD芯片和MCU中,以解决OSD芯片和MCU的存储空间不足的问题。
在一些实施例中,当显示屏为车辆仪表屏时,上述步骤201包括:
当接收到需要在车辆仪表屏显示的行车信息时,确定是否存在输出至车辆仪表屏的视频信号;
若存在输出至车辆仪表屏的视频信号,则监测输出至车辆仪表屏的视频信号中预设像素点的变化情况。
其中,行车信息包括但不限于车速、转速和转向灯信息。一般来说,当车辆解锁,仪表就应该开始工作,此时MCU可以从控制器域网(Controller AreaNetwork,CAN)总线接收到行车信息,这些行车信息需要显示在车辆仪表屏上。因此,当接收到行车信息时,MCU可以确定是否存在输出至车辆仪表屏的视频信号。如果存在输出至车辆仪表屏的视频信号,则可以开始进行冻屏检测。具体地,如果存在输出至车辆仪表屏的视频信号,则MCU可以每个监测周期执行一次上述步骤201和202。
可选地,基于上一实施例,本公开实施例的冻屏检测方法还包括:
若不存在输出至车辆仪表屏的视频信号,则控制车辆仪表屏显示行车信息和备份画面。
在本公开实施例中,当接收到需要在上述车辆仪表屏显示的行车信息时,如果不存在输出至车辆仪表屏的视频信号,为了保证车辆仪表屏的显示稳定,MCU可以将接收到的行车信息发送至OSD芯片。OSD芯片将自身存储的备份画面和行车信息按照预设的方式进行组合后输出至车辆仪表屏,以使车辆仪表屏显示该行车信息和备份画面。
由上可见,本公开方案中显示屏在未发生冻屏时,输出至显示屏的视频信号中预设像素点以预设策略变化。通过监测视频信号中预设像素点的变化情况,将该变化情况与预设策略进行对比,可以确定显示屏当前是否发生冻屏。本公开方案无需额外增加摄像头,即可实现对显示屏的冻屏检测,有效降低了成本。
对应于上文所提供的冻屏检测方法,本公开实施例还提供了一种冻屏检测装置。如图5所示,本公开实施例中的冻屏检测装置500包括:
监测单元501,用于监测输出至显示屏的视频信号中预设像素点的变化情况,其中,上述预设像素点在上述显示屏未发生冻屏时以预设策略变化;
确定单元502,用于根据上述预设像素点的变化情况以及上述预设策略,确定上述显示屏是否发生冻屏。
可选地,上述确定单元502包括:
第一判断子单元,用于判断上述预设像素点的变化情况是否符合上述预设策略;
第一确定子单元,用于若上述预设像素点的变化情况符合上述预设策略,则确定上述显示屏未发生冻屏;
第二确定子单元,用于若上述预设像素点的变化情况不符合上述预设策略,则确定上述显示屏发生冻屏。
可选地,上述预设策略为上述预设像素点在上述视频信号的多个目标帧之间像素值发生变化,其中,上述预设像素点在任意两个相邻的目标帧中的像素值不同;上述监测单元501,具体用于监测上述预设像素点在多个目标帧中的像素值的变化情况;上述第一判断子单元,具体用于判断上述预设像素点在多个目标帧中的像素值的变化情况是否符合上述预设策略。
可选地,上述监测单元501,具体用于基于各个目标帧的显示顺序,依次检测上述视频信号的每个目标帧中预设像素点与前一目标帧中预设像素点的像素值是否相同;若相同,则将计数值加一;若不相同,则将上述计数值重置为零。上述第一判断子单元,具体用于判断上述计数值是否大于预设的计数阈值;若上述计数值大于上述计数阈值,则判定上述 预设像素点在多个目标帧中的像素值的变化情况不符合上述预设策略;若上述计数值小于或等于上述计数阈值,则判定上述预设像素点在多个目标帧中的像素值的变化情况符合上述预设策略。
可选地,上述监测单元501,具体用于基于各个目标帧的显示顺序,获取当前目标帧中预设像素点的循环冗余校验码;若上述当前目标帧中预设像素点的循环冗余校验码与前一目标帧中预设像素点的循环冗余校验码相同,则确定上述当前目标帧中预设像素点与前一目标帧中预设像素点的像素值相同;若上述当前目标帧中预设像素点的循环冗余校验码与前一目标帧中预设像素点的循环冗余校验码不相同,则确定上述当前目标帧中预设像素点与前一目标帧中预设像素点的像素值不相同。
可选地,上述视频信号为在一个监测周期内输出至上述显示屏的视频信号,上述目标帧为上述视频信号中每一帧,或者,上述目标帧为上述视频信号中每间隔预设数量帧选取的一帧,或者,上述目标帧为上述视频信号中选取的连续多个帧。
可选地,上述确定单元502包括:
第二判断子单元,用于判断上述预设像素点的变化情况是否符合上述预设策略;
第三确定子单元,用于若上述预设像素点的变化情况符合上述预设策略,则确定上述显示屏未发生冻屏;
检测帧选取子单元,用于若上述预设像素点的变化情况不符合上述预设策略,则从上述视频信号中选取至少两个检测帧;
第三判断子单元,用于判断各个检测帧是否相同;
第四确定子单元,用于若各个检测帧均相同,则确定上述显示屏发生冻屏;
第五确定子单元,用于若任意两个检测帧不同,则确定上述显示屏未发生冻屏。
可选地,上述冻屏检测装置500还包括:
冻屏处理单元,用于在确定上述显示屏发生冻屏时,将上述显示屏的残留画面清除,并控制上述显示屏显示备份画面。
可选地,上述显示屏为车辆仪表屏,上述监测单元501,具体用于当接收到需要在上述车辆仪表屏显示的行车信息时,确定是否存在输出至上述车辆仪表屏的视频信号;若存在输出至上述车辆仪表屏的视频信号,则监测输出至上述车辆仪表屏的视频信号中预设像素点的变化情况。
可选地,上述冻屏检测装置500还包括:
备份显示单元,用于若不存在输出至上述车辆仪表屏的视频信号,则控制上述车辆仪表屏显示上述行车信息和备份画面。
由上可见,本公开方案中显示屏在未发生冻屏时,输出至显示屏的视频信号中预设像素点以预设策略变化。通过监测视频信号中预设像素点的变化情况,将该变化情况与预设策略进行对比,可以确定显示屏当前是否发生冻屏。本公开方案无需额外增加摄像头,即可实现对显示屏的冻屏检测,有效降低了成本。
对应于上文所提供的冻屏检测方法,本公开实施例还提供了一种电子设备,本公开实施例中的电子设备包括:存储器,一个或多个处理器及存储在存储器上并可在处理器上运行的计算机程序。其中:存储器用于存储软件程序以及单元,处理器通过运行存储在存储器的软件程序以及单元,从而执行各种功能应用以及数据处理,以获取上述预设事件对应的资源。具体地,处理器通过运行存储在存储器的上述计算机程序时实现上述冻屏检测方法的步骤。
应当理解,在本公开实施例中,所称处理器可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分或全部还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类别的信息。
对应于上文所提供的冻屏检测方法,本公开实施例还提供了一种车辆,该车辆包括上述电子设备,该电子设备用于实现如上述冻屏检测方法的步骤。
对应于上文所提供的冻屏检测方法,本公开实施例还提供了一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被处理器执行时实现如上述冻屏检测方法的步骤。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将上述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本公开的保护范围。上述 系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者外部设备软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。
在本公开所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的藕合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接藕合或通讯连接,可以是电性,机械或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本公开实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关联的硬件来完成,上述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读存储介质可以包括:能够携带上述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机可读存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,上述计算机可读存储介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不包括是电载波信号和电信信号。
以上实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所 记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的精神和范围,均应包含在本公开的保护范围之内。

Claims (14)

  1. 一种冻屏检测方法,其特征在于,包括:
    监测输出至显示屏的视频信号中预设像素点的变化情况,其中,所述预设像素点在所述显示屏未发生冻屏时以预设策略变化;
    根据所述预设像素点的变化情况以及所述预设策略,确定所述显示屏是否发生冻屏。
  2. 如权利要求1所述的冻屏检测方法,其特征在于,所述根据所述预设像素点的变化情况以及所述预设策略,确定所述显示屏是否发生冻屏,包括:
    判断所述预设像素点的变化情况是否符合所述预设策略;
    若所述预设像素点的变化情况符合所述预设策略,则确定所述显示屏未发生冻屏;
    若所述预设像素点的变化情况不符合所述预设策略,则确定所述显示屏发生冻屏。
  3. 如权利要求2所述的冻屏检测方法,其特征在于,所述预设策略为所述预设像素点在所述视频信号的多个目标帧之间像素值发生变化,其中,所述预设像素点在任意两个相邻的目标帧中的像素值不同;
    所述监测输出至显示屏的视频信号中预设像素点的变化情况,包括:
    监测所述预设像素点在多个目标帧中的像素值的变化情况;
    所述判断所述预设像素点的变化情况是否符合所述预设策略,包括:
    判断所述预设像素点在多个目标帧中的像素值的变化情况是否符合所述预设策略。
  4. 如权利要求3所述的冻屏检测方法,其特征在于,所述监测所述预设像素点在多个目标帧中的像素值的变化情况,包括:
    基于各个目标帧的显示顺序,依次检测所述视频信号的每个目标帧中预设像素点与前一目标帧中预设像素点的像素值是否相同;
    若相同,则将计数值加一;
    若不相同,则将所述计数值重置为零;
    所述判断所述预设像素点在多个目标帧中的像素值的变化情况是否符合所述预设策略,包括:
    判断所述计数值是否大于预设的计数阈值;
    若所述计数值大于所述计数阈值,则判定所述预设像素点在多个目标帧中的像素值的变化情况不符合所述预设策略;
    若所述计数值小于或等于所述计数阈值,则判定所述预设像素点在多个目标帧中的像素值的变化情况符合所述预设策略。
  5. 如权利要求4所述的冻屏检测方法,其特征在于,所述基于各个目标帧的显示顺序,依次检测所述视频信号的每个目标帧中预设像素点与前一目标帧中预设像素点的像素值是否相同,包括:
    基于各个目标帧的显示顺序,获取当前目标帧中预设像素点的循环冗余校验码;
    若所述当前目标帧中预设像素点的循环冗余校验码与前一目标帧中预设像素点的循环冗余校验码相同,则确定所述当前目标帧中预设像素点与前一目标帧中预设像素点的像素值相同;
    若所述当前目标帧中预设像素点的循环冗余校验码与前一目标帧中预设像素点的循环冗余校验码不相同,则确定所述当前目标帧中预设像素点与前一目标帧中预设像素点的像素值不相同。
  6. 如权利要求3-5中任一项所述的冻屏检测方法,其特征在于,所述视频信号为在一个监测周期内输出至所述显示屏的视频信号,所述目标帧为所述视频信号中每一帧,或者,所述目标帧为所述视频信号中每间隔预设数量帧选取的一帧,或者,所述目标帧为所述视频信号中选取的连续多个帧。
  7. 如权利要求1-6中任一项所述的冻屏检测方法,其特征在于,所述根据所述预设像素点的变化情况以及所述预设策略,确定所述显示屏是否发生冻屏,包括:
    判断所述预设像素点的变化情况是否符合所述预设策略;
    若所述预设像素点的变化情况符合所述预设策略,则确定所述显示屏未发生冻屏;
    若所述预设像素点的变化情况不符合所述预设策略,则从所述视频信号中选取至少两个检测帧;
    判断各个检测帧是否相同;
    若各个检测帧均相同,则确定所述显示屏发生冻屏;
    若任意两个检测帧不同,则确定所述显示屏未发生冻屏。
  8. 如权利要求1-7任一项所述的冻屏检测方法,其特征在于,所述冻屏检测方法还包括:
    在确定所述显示屏发生冻屏时,将所述显示屏的残留画面清除,并控制所述显示屏显示备份画面。
  9. 如权利要求1-8中任一项所述的冻屏检测方法,其特征在于,所述显示屏为车辆仪表屏,所述监测输出至显示屏的视频信号中预设像素点的变化情况,包括:
    当接收到需要在所述车辆仪表屏显示的行车信息时,确定是否存在输出至所述车辆仪表屏的视频信号;
    若存在输出至所述车辆仪表屏的视频信号,则监测输出至所述车辆仪表屏的视频信号中预设像素点的变化情况。
  10. 如权利要求9所述的冻屏检测方法,其特征在于,所述冻屏检测方法还包括:
    若不存在输出至所述车辆仪表屏的视频信号,则控制所述车辆仪表屏显示所述行车信息和备份画面。
  11. 一种冻屏检测装置,其特征在于,包括:
    监测单元,用于监测输出至显示屏的视频信号中预设像素点的变化情况,其中,所述预设像素点在所述显示屏未发生冻屏时以预设策略变化;
    确定单元,用于根据所述预设像素点的变化情况以及所述预设策略,确定所述显示屏是否发生冻屏。
  12. 一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程
    序时实现如权利要求1至10任一项所述的方法。
  13. 一种车辆,包括如权利要求12所述的电子设备。
  14. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至10任一项所述的方法。
PCT/CN2023/089689 2022-05-10 2023-04-21 一种冻屏检测方法、装置、电子设备及车辆 WO2023216839A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210508705.9 2022-05-10
CN202210508705.9A CN117082229A (zh) 2022-05-10 2022-05-10 一种冻屏检测方法、装置、电子设备及车辆

Publications (1)

Publication Number Publication Date
WO2023216839A1 true WO2023216839A1 (zh) 2023-11-16

Family

ID=88704823

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/089689 WO2023216839A1 (zh) 2022-05-10 2023-04-21 一种冻屏检测方法、装置、电子设备及车辆

Country Status (2)

Country Link
CN (1) CN117082229A (zh)
WO (1) WO2023216839A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2254039A1 (en) * 2009-05-20 2010-11-24 Bombardier Transportation GmbH Visual display module with control of display data by checksum
KR102153718B1 (ko) * 2019-06-12 2020-09-08 주식회사 텔레칩스 화면 멈춤을 초래하는 정지 프레임을 결정하는 차량 클러스터 장치 및 그 방법
CN112109549A (zh) * 2020-08-25 2020-12-22 惠州华阳通用电子有限公司 一种仪表显示方法和系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2254039A1 (en) * 2009-05-20 2010-11-24 Bombardier Transportation GmbH Visual display module with control of display data by checksum
KR102153718B1 (ko) * 2019-06-12 2020-09-08 주식회사 텔레칩스 화면 멈춤을 초래하는 정지 프레임을 결정하는 차량 클러스터 장치 및 그 방법
CN112109549A (zh) * 2020-08-25 2020-12-22 惠州华阳通用电子有限公司 一种仪表显示方法和系统

Also Published As

Publication number Publication date
CN117082229A (zh) 2023-11-17

Similar Documents

Publication Publication Date Title
US11012593B2 (en) Fault tolerant display
US20230188578A1 (en) Data transmission method and apparatus
CN107797739B (zh) 移动终端及其显示控制方法、装置和计算机可读存储介质
TW201424400A (zh) 用於減少數位視訊影像資料之方法及裝置
CN106155263B (zh) 一种参数调节方法及装置
CN108600675B (zh) 通道路数扩展方法、设备、网络录像机及存储介质
WO2019041227A1 (zh) 车载安防监控方法、系统及终端设备
US20210090478A1 (en) Surround-view with seamless transition to 3d view system and method
WO2022252877A1 (zh) 图像处理芯片及应用于图像处理芯片的异常处理方法
WO2023216839A1 (zh) 一种冻屏检测方法、装置、电子设备及车辆
JP3279545B2 (ja) 焼き付き防止機能付き表示装置および焼き付き防止方法
US20230234509A1 (en) Image processing method and apparatus
CN115643408A (zh) 一种图像压缩方法、装置、设备、存储介质
WO2022161310A1 (zh) 显示方法、装置和电子设备
CN115174915A (zh) 一种降低网络带宽占用的图像处理系统及方法
CN111835955A (zh) 一种数据获取方法及装置
CN115103156A (zh) 一种动态的视频流传递方法
US20210194610A1 (en) Monitoring video broadcasts
CN117319675B (zh) 服务器管理控制芯片的视频压缩系统
CN112738612B (zh) 一种视频处理方法及系统
WO2024001970A1 (zh) 一种事件数据处理方法及相关设备
CN114554126B (zh) 一种基板管理控制芯片、视频数据传输方法及服务器
TWI493502B (zh) 處理影像旋轉的方法與裝置
WO2021218548A1 (zh) 冻屏检测方法、装置、终端设备及计算机存储介质
CN117854447A (zh) 电子设备的黑屏恢复方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23802613

Country of ref document: EP

Kind code of ref document: A1