CN115220939A - Fault recovery method and device for vehicle-mounted display equipment, terminal equipment and medium - Google Patents

Fault recovery method and device for vehicle-mounted display equipment, terminal equipment and medium Download PDF

Info

Publication number
CN115220939A
CN115220939A CN202110896365.7A CN202110896365A CN115220939A CN 115220939 A CN115220939 A CN 115220939A CN 202110896365 A CN202110896365 A CN 202110896365A CN 115220939 A CN115220939 A CN 115220939A
Authority
CN
China
Prior art keywords
vehicle
rgb
mounted display
preset
difference value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110896365.7A
Other languages
Chinese (zh)
Inventor
陈俊伊
刘涵昱
朱汉举
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN202110896365.7A priority Critical patent/CN115220939A/en
Publication of CN115220939A publication Critical patent/CN115220939A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • G06F11/0739Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in automotive or aircraft systems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Mechanical Engineering (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The invention discloses a fault recovery method, a fault recovery device, terminal equipment and a medium of vehicle-mounted display equipment, wherein the method comprises the following steps: acquiring a current interface displayed on vehicle-mounted display equipment; calculating the region RGB difference value between the preset region of the current interface and the preset region of the standard interface; the standard interface is an interface displayed when the vehicle-mounted display equipment is not in fault; and when the RGB difference value of the area exceeds a preset threshold value, controlling the vehicle-mounted display equipment to carry out fault recovery. By adopting the invention, the automatic fault detection and recovery of the vehicle-mounted display equipment can be realized, thereby improving the reliability of the vehicle-mounted display equipment.

Description

Fault recovery method and device for vehicle-mounted display equipment, terminal equipment and medium
Technical Field
The invention relates to the technical field of vehicles, in particular to a fault recovery method and device of vehicle-mounted display equipment, terminal equipment and a medium.
Background
With the gradual development of vehicle intelligent power generation, the vehicle-mounted display equipment also gradually becomes a necessary and selling point of each large vehicle factory, and the display function of the vehicle-mounted display equipment is more and more. At present, in the display process of the vehicle-mounted display device, the problem of accidental or necessary screen scrolling and splitting exists, the display effect can be influenced, in addition, along with the continuous development of the parking function, more and more parking images such as 360-degree panoramic images, memory parking, fusion parking, automatic parking and the like are displayed on the vehicle-mounted display device, if the vehicle-mounted display device has the screen scrolling and splitting fault when displaying the parking images, the vehicle-mounted display device can have great influence on parking, therefore, the problem of screen scrolling and splitting fault of the vehicle-mounted display device can be better solved, and the vehicle-mounted display device becomes a key point to be paid attention urgently.
Disclosure of Invention
The embodiment of the invention provides a fault recovery method and device of vehicle-mounted display equipment, terminal equipment and a medium, which can realize automatic fault detection and recovery of the vehicle-mounted display equipment, thereby improving the reliability of the vehicle-mounted display equipment.
An embodiment of the present invention provides a method for recovering a failure of a vehicle-mounted display device, including:
acquiring a current interface displayed on vehicle-mounted display equipment;
calculating the region RGB difference value between the preset region of the current interface and the preset region of the standard interface; the standard interface is an interface displayed when the vehicle-mounted display equipment is not in fault;
and when the RGB difference value of the area exceeds a preset threshold value, controlling the vehicle-mounted display equipment to carry out fault recovery.
As an improvement of the foregoing solution, the calculating a region RGB difference value between the preset region of the current interface and the preset region of the standard interface includes:
extracting the RGB value of each pixel point in the preset area of the current interface to obtain a target RGB set;
calculating the RGB difference value of each pixel point in the preset area between two interfaces according to the target RGB set and a pre-acquired standard RGB set; the standard RGB set comprises the RGB value of each pixel point in the preset area of the standard interface;
and solving the total of the RGB difference values of each pixel point in the preset area to obtain the regional RGB difference value.
As an improvement of the above scheme, the preset area is an outer contour area of the identification control extracted from the standard interface.
As an improvement of the above scheme, when it is determined that the RGB difference value of the area exceeds the preset threshold, controlling the vehicle-mounted display device to perform fault recovery includes:
and when the RGB difference value of the area exceeds a preset threshold value, outputting a restarting signal to a video deserializer of the vehicle-mounted display equipment, so that the video deserializer is initialized again and loads the content to be displayed.
Accordingly, another embodiment of the present invention provides a failure recovery apparatus for a vehicle-mounted display device, including:
the interface acquisition module is used for acquiring a current interface displayed on the vehicle-mounted display equipment;
the difference calculation module is used for calculating the regional RGB difference value between the preset region of the current interface and the preset region of the standard interface; the standard interface is an interface displayed when the vehicle-mounted display equipment is not in fault;
and the recovery control module is used for controlling the vehicle-mounted display equipment to carry out fault recovery when the RGB difference value of the area exceeds a preset threshold value.
As an improvement of the above scheme, the difference calculating module is specifically configured to:
extracting the RGB value of each pixel point in a preset area of the current interface to obtain a target RGB set;
calculating the RGB difference value of each pixel point in the preset area between two interfaces according to the target RGB set and a pre-acquired standard RGB set; the standard RGB set comprises RGB values of all pixel points in the preset area of the standard interface;
and solving the sum of the RGB difference values of each pixel point in the preset area to obtain the regional RGB difference value.
As an improvement of the above solution, it is characterized in that the preset area is an outer contour area of the identification control extracted from the standard interface.
As an improvement of the above scheme, the recovery control module is specifically configured to:
and when the RGB difference value of the area exceeds a preset threshold value, outputting a restarting signal to a video deserializer of the vehicle-mounted display equipment, so that the video deserializer is initialized again and loads the content to be displayed.
Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the fault recovery method of the vehicle-mounted display device as described in any one of the above items when executing the computer program.
Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, where when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the fault recovery method of the vehicle-mounted display apparatus as described in any one of the above items.
Compared with the prior art, the fault recovery method, the fault recovery device, the terminal device and the medium of the vehicle-mounted display device disclosed by the embodiment of the invention have the advantages that the fault recovery is carried out by controlling the vehicle-mounted display device when the difference value of the area RGB between the preset area of the current interface displayed on the vehicle-mounted display device and the preset area of the standard interface displayed when the vehicle-mounted display device does not have a fault is judged to exceed the preset threshold value, so that the automatic fault detection and recovery of the vehicle-mounted display device can be realized, and the reliability of the vehicle-mounted display device is improved.
Drawings
Fig. 1 is a schematic flowchart of a fault recovery method for a vehicle-mounted display device according to an embodiment of the present invention;
fig. 2 is a schematic specific flowchart of a fault recovery method for a vehicle-mounted display device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an in-vehicle display device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a failure recovery apparatus of a vehicle-mounted display device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a fault recovery method for a vehicle-mounted display device according to an embodiment of the present invention.
The fault recovery method for the vehicle-mounted display equipment provided by the embodiment comprises the following steps:
and S11, acquiring a current interface displayed on the vehicle-mounted display equipment.
S12, calculating a region RGB difference value between a preset region of the current interface and the preset region of a standard interface; and the standard interface is an interface displayed when the vehicle-mounted display equipment is not in fault.
And S13, controlling the vehicle-mounted display equipment to carry out fault recovery when the RGB difference value of the area exceeds a preset threshold value.
Illustratively, all or part of the area displaying correct and invariable characters or graphs can be selected as a preset area in an interface displayed when the vehicle-mounted display device does not have a fault, so that the accuracy of fault detection is ensured.
It should be noted that the RGB difference value of the region is an absolute value. In specific implementation, the preset threshold may be set according to the required fault detection accuracy, which is not limited herein, and optionally, in this embodiment, the preset threshold is 0.
It can be understood that the difference value between the RGB of the preset regions in the two interfaces can be used to represent the degree of similarity between the preset regions in the two interfaces, and the larger the difference value between the RGB of the preset regions in the two interfaces is, the lower the degree of similarity between the preset regions in the two interfaces is, whereas the smaller the difference value between the RGB of the preset regions in the two interfaces is, the higher the degree of similarity between the preset regions in the two interfaces is. In the display process of the vehicle-mounted display device, because the standard interface is an interface displayed when the vehicle-mounted display device is not in fault, if the difference value of the RGB of the area between the preset area of the current interface and the preset area of the standard interface is too large, it is indicated that the similarity degree of the preset areas in the two interfaces is low, at this time, the vehicle-mounted display device is most likely to cause display dislocation due to the fault problems of scrolling and screen splitting.
It should be noted that, in the display process of the vehicle-mounted display device, the failure recovery method provided in this embodiment may be continuously operated to continuously monitor whether the scroll split failure occurs, and if the scroll split failure occurs again, the recovery mechanism may be executed again, thereby ensuring the normal operation of the vehicle-mounted display device.
As an optional embodiment, the method further comprises:
and when the RGB difference value of the area does not exceed the preset threshold value, controlling the vehicle-mounted display equipment to keep the current working state.
It can be understood that, in this embodiment, when it is determined that the difference value between the RGB of the area does not exceed the preset threshold, it indicates that the similarity degree of the preset areas in the two interfaces is higher, and the possibility of the fault problems of the vehicle-mounted display device, such as screen scrolling and screen splitting, is very low, so that the vehicle-mounted display device is controlled to maintain the current working state, thereby maintaining the normal operation of the vehicle-mounted display device.
As one optional embodiment, the calculating the difference value between the RGB areas of the preset area of the current interface and the preset area of the standard interface includes:
s121, extracting the RGB value of each pixel point in the preset area of the current interface to obtain a target RGB set;
s122, calculating the RGB difference value of each pixel point in the preset area between two interfaces according to the target RGB set and a pre-acquired standard RGB set; the standard RGB set comprises RGB values of all pixel points in the preset area of the standard interface;
and S123, solving the sum of the RGB difference values of each pixel point in the preset area to obtain the regional RGB difference value.
In step S122, the RGB difference value is an absolute value. Illustratively, for each pixel point in the preset area, according to the target RGB set and a pre-obtained standard RGB set, RGB values of the pixel point in the current interface and the standard interface are respectively obtained, and then the RGB value of the pixel point in the current interface and the RGB value of the pixel point in the standard interface are subtracted and an absolute value is taken, so as to obtain an RGB difference value of the pixel point between the two interfaces.
In a specific embodiment, the standard RGB set is obtained by: when the vehicle-mounted display equipment does not break down, selecting a pixel point at the lower left corner of a screen of the vehicle-mounted display equipment as an origin O, taking the pixel point as an x axis along the horizontal direction of the screen and taking the pixel point as a y axis along the vertical direction of the screen, and establishing a plane rectangular coordinate system x-O-y; and based on the plane rectangular coordinate system x-O-y, sequentially acquiring and recording the coordinates and RGB values of all pixel points in the preset area according to a set sequence by taking the first pixel point at the upper left corner of the preset area as a starting point, and generating a standard RGB set.
For example, in step S123, the calculation formula of the region RGB difference value may be:
Figure BDA0003198027490000061
wherein D is i As regional RGB difference values, C i Is the RGB value, B, of the ith pixel point in the current interface i And i =1,2,3 … n is the RGB value of the ith pixel point in the standard interface.
As an optional embodiment, the preset area is an outer contour area of the identification control extracted from the standard interface.
In this embodiment, the outer contour region of the identification control extracted from the standard interface displayed when the vehicle-mounted display device fails is used as the preset region, so that the calculation amount of the RGB difference values of the region can be reduced, the consumption of calculation resources is reduced, and the efficiency of fault detection is improved.
As a specific implementation manner, a specific flow of the method for recovering the fault of the vehicle-mounted display device provided in this embodiment may refer to fig. 2, which is not described herein again.
As an optional embodiment, when it is determined that the RGB difference value of the area exceeds the preset threshold, the controlling the vehicle-mounted display device to perform fault recovery includes:
and when the RGB difference value of the area exceeds a preset threshold value, outputting a restarting signal to a video deserializer of the vehicle-mounted display equipment, so that the video deserializer is initialized again and loads the content to be displayed.
It should be noted that, referring to fig. 3, in general, the vehicle-mounted display device includes a vehicle machine, a video deserializer, and a screen. The car machine is a host connected with the screen in the car and used for receiving a string video stream transmitted from the outside; the video deserializer is a video deserializer chip at a vehicle end and is used for deserializing a serialized video stream which is transmitted from the outside and enters the vehicle; the screen is a central control display screen and is used for displaying the video stream deserialized by the video deserializer. In the display process of the vehicle-mounted display device, if the video deserializer fails, the problem of screen scrolling and screen splitting of the interface displayed on the screen can be caused, and therefore, in the embodiment, when the difference value of the RGB in the region exceeds the preset threshold value, the restart signal is output to the video deserializer of the vehicle-mounted display device, so that the video deserializer is reinitialized and loads the content to be displayed, the video deserializer can be effectively enabled to recover the normal working state, and the problem of screen scrolling and screen splitting in the display process of the vehicle-mounted display device is solved.
It should be noted that the fault recovery method for the vehicle-mounted display device provided in this embodiment and the preferred embodiments thereof may be applied to different vehicle use scenarios, and is particularly applicable to parking scenarios, and not only can detect whether the vehicle-mounted display device has the problem of screen scrolling and screen splitting, but also can quickly control the vehicle-mounted display device to perform fault recovery when the problem of screen scrolling and screen splitting occurs, so that not only can developers and after-sales maintenance personnel reduce the time for positioning the problem, but also the time and cost for the user to maintain the vehicle can be reduced, the stability for the user to use the vehicle is greatly improved, and the fault rate of the vehicle is reduced.
Fig. 4 is a schematic structural diagram of a failure recovery apparatus of an on-vehicle display device according to an embodiment of the present invention.
The embodiment provides a fault recovery device of on-vehicle display equipment, includes:
the interface acquisition module 21 is configured to acquire a current interface displayed on the vehicle-mounted display device;
a difference calculating module 22, configured to calculate a region RGB difference value between the preset region of the current interface and the preset region of the standard interface; the standard interface is an interface displayed when the vehicle-mounted display equipment does not break down;
and the recovery control module 23 is configured to control the vehicle-mounted display device to perform fault recovery when it is determined that the RGB difference value of the area exceeds a preset threshold value.
According to the fault recovery device of the vehicle-mounted display equipment disclosed by the embodiment of the invention, the vehicle-mounted display equipment is controlled to carry out fault recovery by calculating the RGB difference value of the area between the preset area of the current interface displayed on the vehicle-mounted display equipment and the preset area of the standard interface displayed when the vehicle-mounted display equipment does not have a fault and when the RGB difference value of the area exceeds the preset threshold value, so that the automatic fault detection and recovery of the vehicle-mounted display equipment can be realized, and the reliability of the vehicle-mounted display equipment is improved.
As an optional embodiment, the difference calculating module is specifically configured to:
extracting the RGB value of each pixel point in a preset area of the current interface to obtain a target RGB set;
calculating the RGB difference value of each pixel point in the preset area between two interfaces according to the target RGB set and a pre-acquired standard RGB set; the standard RGB set comprises the RGB value of each pixel point in the preset area of the standard interface;
and solving the total of the RGB difference values of each pixel point in the preset area to obtain the regional RGB difference value.
As an optional embodiment, the preset area is an outer contour area of the identification control extracted from the standard interface.
As an optional embodiment, the recovery control module is specifically configured to:
and when the RGB difference value of the area exceeds a preset threshold value, outputting a restarting signal to a video deserializer of the vehicle-mounted display equipment, so that the video deserializer is initialized again and loads the content to be displayed.
It should be noted that the principle of the fault recovery device for the vehicle-mounted display device to implement fault recovery of the vehicle-mounted display device is the same as that in the above method embodiment, and specific description may refer to the above method embodiment, which is not described herein again.
Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
The terminal device provided by the embodiment of the invention comprises a processor 31, a memory 32 and a computer program which is stored in the memory 32 and configured to be executed by the processor 31, wherein when the processor 31 executes the computer program, the fault recovery method of the vehicle-mounted display device is realized according to any one of the above embodiments.
The processor 31 implements the steps in the above-described embodiment of the failure recovery method for the in-vehicle display apparatus, for example, all the steps of the failure recovery method for the in-vehicle display apparatus shown in fig. 1, when executing the computer program. Alternatively, the processor 31 may implement the functions of each module/unit in the above-described embodiment of the failure recovery apparatus for an in-vehicle display device when executing the computer program, for example, the functions of each module of the failure recovery apparatus for an in-vehicle display device shown in fig. 4.
Illustratively, the computer program may be divided into one or more modules, which are stored in the memory 32 and executed by the processor 31 to accomplish the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal device. For example, the computer program may be divided into an interface acquisition module, a difference calculation module, and a recovery control module, and each module has the following specific functions: the interface acquisition module is used for acquiring a current interface displayed on the vehicle-mounted display equipment; the difference calculation module is used for calculating the regional RGB difference value between the preset region of the current interface and the preset region of the standard interface; the standard interface is an interface displayed when the vehicle-mounted display equipment is not in fault; and the recovery control module is used for controlling the vehicle-mounted display equipment to carry out fault recovery when the RGB difference value of the area exceeds a preset threshold value.
The terminal device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The terminal device may include, but is not limited to, a processor 31, a memory 32. It will be appreciated by those skilled in the art that the schematic diagram is merely an example of a terminal device and does not constitute a limitation of a terminal device, and may include more or less components than those shown, or combine certain components, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 31 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 31 is a control center of the terminal device and connects various parts of the whole terminal device by using various interfaces and lines.
The memory 32 can be used for storing the computer programs and/or modules, and the processor 31 can implement various functions of the terminal device by running or executing the computer programs and/or modules stored in the memory 32 and calling the data stored in the memory 32. The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the terminal device, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the terminal device integrated module/unit can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A failure recovery method of an in-vehicle display device, characterized by comprising:
acquiring a current interface displayed on vehicle-mounted display equipment;
calculating the region RGB difference value between the preset region of the current interface and the preset region of the standard interface; the standard interface is an interface displayed when the vehicle-mounted display equipment is not in fault;
and when the RGB difference value of the area exceeds a preset threshold value, controlling the vehicle-mounted display equipment to carry out fault recovery.
2. The method for recovering the failure of the vehicle-mounted display device according to claim 1, wherein the calculating of the difference value of the RGB areas between the preset area of the current interface and the preset area of the standard interface comprises:
extracting the RGB value of each pixel point in the preset area of the current interface to obtain a target RGB set;
calculating the RGB difference value of each pixel point in the preset area between two interfaces according to the target RGB set and a pre-acquired standard RGB set; the standard RGB set comprises RGB values of all pixel points in the preset area of the standard interface;
and solving the sum of the RGB difference values of each pixel point in the preset area to obtain the regional RGB difference value.
3. The method for recovering the fault of the vehicle-mounted display equipment as claimed in claim 1, wherein the preset area is an outer contour area of an identification control extracted from the standard interface.
4. The method for recovering the failure of the vehicle-mounted display device according to claim 1, wherein when the difference value of the RGB regions is judged to exceed the preset threshold value, the controlling the vehicle-mounted display device to perform the failure recovery comprises:
and when the RGB difference value of the area exceeds a preset threshold value, outputting a restarting signal to a video deserializer of the vehicle-mounted display equipment, so that the video deserializer is initialized again and loads the content to be displayed.
5. A failure recovery apparatus of an in-vehicle display device, characterized by comprising:
the interface acquisition module is used for acquiring a current interface displayed on the vehicle-mounted display equipment;
the difference calculation module is used for calculating an area RGB difference value between a preset area of the current interface and the preset area of a standard interface; the standard interface is an interface displayed when the vehicle-mounted display equipment is not in fault;
and the recovery control module is used for controlling the vehicle-mounted display equipment to carry out fault recovery when the RGB difference value of the area exceeds a preset threshold value.
6. The apparatus for recovering from a failure of an in-vehicle display device according to claim 5, wherein the difference calculating module is specifically configured to:
extracting the RGB value of each pixel point in the preset area of the current interface to obtain a target RGB set;
calculating the RGB difference value of each pixel point in the preset area between two interfaces according to the target RGB set and a pre-acquired standard RGB set; the standard RGB set comprises RGB values of all pixel points in the preset area of the standard interface;
and solving the sum of the RGB difference values of each pixel point in the preset area to obtain the regional RGB difference value.
7. The apparatus for recovering from a failure of an in-vehicle display device according to claim 5, wherein the preset region is an outer contour region of an identification control extracted from the standard interface.
8. The apparatus for restoring a fault of an in-vehicle display device according to claim 5, wherein the restoration control module is specifically configured to:
and when the RGB difference value of the area exceeds a preset threshold value, outputting a restarting signal to a video deserializer of the vehicle-mounted display equipment, so that the video deserializer is initialized again and loads the content to be displayed.
9. A terminal device characterized by comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the failure recovery method of the in-vehicle display device according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program, wherein the computer program, when running, controls an apparatus in which the computer-readable storage medium is located to perform the failure recovery method of the in-vehicle display apparatus according to any one of claims 1 to 4.
CN202110896365.7A 2021-08-05 2021-08-05 Fault recovery method and device for vehicle-mounted display equipment, terminal equipment and medium Pending CN115220939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110896365.7A CN115220939A (en) 2021-08-05 2021-08-05 Fault recovery method and device for vehicle-mounted display equipment, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110896365.7A CN115220939A (en) 2021-08-05 2021-08-05 Fault recovery method and device for vehicle-mounted display equipment, terminal equipment and medium

Publications (1)

Publication Number Publication Date
CN115220939A true CN115220939A (en) 2022-10-21

Family

ID=83606684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110896365.7A Pending CN115220939A (en) 2021-08-05 2021-08-05 Fault recovery method and device for vehicle-mounted display equipment, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN115220939A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108416759A (en) * 2017-02-10 2018-08-17 阿里巴巴集团控股有限公司 Show detection method, device and equipment, the readable medium of failure
CN109270857A (en) * 2017-07-18 2019-01-25 比亚迪股份有限公司 Vehicle, the control device of vehicle-carrying display screen and method
CN111935478A (en) * 2020-07-27 2020-11-13 广州汽车集团股份有限公司 Detection method, display method and device for video signal of vehicle-mounted separation screen
CN112109549A (en) * 2020-08-25 2020-12-22 惠州华阳通用电子有限公司 Instrument display method and system
CN112527539A (en) * 2019-08-28 2021-03-19 腾讯科技(深圳)有限公司 Interface detection method and related device
CN113112448A (en) * 2021-02-25 2021-07-13 惠州华阳通用电子有限公司 Display picture detection method and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108416759A (en) * 2017-02-10 2018-08-17 阿里巴巴集团控股有限公司 Show detection method, device and equipment, the readable medium of failure
CN109270857A (en) * 2017-07-18 2019-01-25 比亚迪股份有限公司 Vehicle, the control device of vehicle-carrying display screen and method
CN112527539A (en) * 2019-08-28 2021-03-19 腾讯科技(深圳)有限公司 Interface detection method and related device
CN111935478A (en) * 2020-07-27 2020-11-13 广州汽车集团股份有限公司 Detection method, display method and device for video signal of vehicle-mounted separation screen
CN112109549A (en) * 2020-08-25 2020-12-22 惠州华阳通用电子有限公司 Instrument display method and system
CN113112448A (en) * 2021-02-25 2021-07-13 惠州华阳通用电子有限公司 Display picture detection method and storage medium

Similar Documents

Publication Publication Date Title
US11842438B2 (en) Method and terminal device for determining occluded area of virtual object
CN110032314B (en) Long screen capture method and device, storage medium and terminal equipment
CN113283347B (en) Assembly job guidance method, device, system, server and readable storage medium
CN112149583A (en) Smoke detection method, terminal device and storage medium
CN110738078A (en) face recognition method and terminal equipment
WO2024007656A1 (en) Method and apparatus for determining supplemental light intensity data, electronic device and storage medium
CN108989704B (en) Image generation method and device and terminal equipment
CN110390295B (en) Image information identification method and device and storage medium
CN114283398A (en) Method and device for processing lane line and electronic equipment
CN115220939A (en) Fault recovery method and device for vehicle-mounted display equipment, terminal equipment and medium
CN113393508B (en) Laser ranging imaging method, device, electronic equipment and storage medium
CN115510508A (en) Page information protection method and device and electronic equipment
CN114445682A (en) Method, device, electronic equipment, storage medium and product for training model
CN111695491B (en) Method and device for detecting pedestrians
CN114429631A (en) Three-dimensional object detection method, device, equipment and storage medium
CN114549584A (en) Information processing method and device, electronic equipment and storage medium
CN114119990A (en) Method, apparatus and computer program product for image feature point matching
CN114093006A (en) Training method, device and equipment of living human face detection model and storage medium
CN113627526A (en) Vehicle identification recognition method and device, electronic equipment and medium
CN113342430A (en) Fault code processing method and device, terminal equipment and readable storage medium
CN113361388B (en) Image data correction method and device, electronic equipment and automatic driving vehicle
CN112559340A (en) Picture testing method, device, equipment and storage medium
CN114092925A (en) Video subtitle detection method and device, terminal equipment and storage medium
CN111160358A (en) Image binarization method, device, equipment and medium
CN112700657B (en) Method and device for generating detection information, road side equipment and cloud control platform

Legal Events

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