A vehicle screen display method and a vehicle

By using hysteresis counters and transparency gradient technology, the flickering and abrupt changes caused by the rapid switching of far-infrared camera images have been resolved, thereby improving the stability and visual comfort of vehicle screen displays and enhancing driving safety.

CN123169664APending Publication Date: 2026-11-27GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611108728.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-24
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The infrared camera differs significantly from the display on a regular screen, causing noticeable flickering and abrupt changes when the infrared image switches rapidly between being displayed and hidden. This affects the user experience, distracts the driver, and poses a safety hazard.

Method used

By filtering out repeated state flips within a short period of time using a hysteresis counter, and using frame-by-frame transparency gradients to achieve a smooth transition of the displayed state, screen flickering and visual jumps are eliminated.

Benefits of technology

It improves the stability of the image content displayed on the vehicle screen, enhances the driver's visual comfort and safety, and reduces the distraction caused by screen flicker.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169664A_ABST
    Figure CN123169664A_ABST
Patent Text Reader

Abstract

The embodiment of the specification provides a vehicle screen display method, and relates to the technical field of intelligent cockpits. The method acquires a target display state of a camera device configured by a vehicle in a target screen; determines a current display state of the camera device in the target screen; if the target display state is inconsistent with the current display state, performs accumulated counting through a hysteresis counter; and when a counting value of the accumulated counting reaches a preset threshold value, updates the current display state to the target display state, so as to process image content corresponding to the camera device on the target screen. According to the scheme, the hysteresis counter is configured in the vehicle screen display, state repeated flips in a short time are filtered, frequent switching caused by state transients is avoided, driver visual interference is reduced, and driving safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of smart cockpit technology, specifically to vehicle screen display technology within the field of smart cockpit technology, and more specifically to a vehicle screen display method and a vehicle. Background Technology

[0002] In-vehicle far-infrared night vision systems use far-infrared cameras to detect thermal targets such as pedestrians and animals, providing drivers with auxiliary visual information at night or in low-visibility conditions. This is a crucial safety feature of smart cockpits. The video stream output from the far-infrared camera needs to be rendered and displayed in real-time on the vehicle's dashboard, dynamically starting and stopping according to the vehicle's status.

[0003] However, due to the significant differences between far-infrared cameras and commonly used screen displays, the infrared image flickers and jumps noticeably during the rapid switching between being displayed and hidden, causing visual discomfort. This not only seriously affects the user experience but also distracts the driver, posing a safety hazard. Summary of the Invention

[0004] This specification provides a vehicle screen display method and a vehicle, thereby improving vehicle driving safety.

[0005] To achieve the above technical objectives, the embodiments of this specification provide the following technical solutions: In a first aspect, one embodiment of this specification provides a vehicle screen display method, comprising: The target display status of the camera device configured in the vehicle is obtained on the target screen. The target display status is determined based on the status information of the vehicle and is associated with the content display of the camera device. Determine the current display state of the camera device on the target screen; If the target display state is inconsistent with the current display state, then a cumulative count is performed using a hysteresis counter; When the accumulated count reaches a preset threshold, the current display state is updated to the target display state so as to process the image content corresponding to the camera device on the target screen.

[0006] Optionally, in one possible implementation, obtaining the target display state of the vehicle-configured camera device on the target screen includes: Obtain the power information corresponding to the vehicle; In response to the power information instructing the vehicle to start, the camera device is subjected to fault detection to obtain fault information; Determine the theme information configured for the target screen; By combining the power information, the theme information, and the fault information, the target display status corresponding to the camera device is determined.

[0007] In this implementation, by incorporating multiple vehicle status information related to infrared image display control into a unified decision-making logic, the target display status can be accurately determined. This avoids incorrect display status switching due to misjudgment of a single piece of information or incomplete information from the source of decision-making, thereby improving the accuracy and reliability of display switching decisions.

[0008] Optionally, in one possible implementation, the fault detection of the camera device to obtain fault information includes: Determine the runtime of the camera device and the cold start time window corresponding to the start of the camera device; If the runtime is within the preset cold start time window, the first timeout threshold is used for fault detection to obtain the fault information. If the runtime exceeds the cold start time window, a second timeout threshold is used for fault detection. If the first timeout threshold is greater than the second timeout threshold, the fault information is obtained.

[0009] In this implementation, by distinguishing the differences in the link characteristics of the camera during the cold start phase and the normal operation phase and matching different fault confirmation time limits, the system achieves differentiated processing of the brief link jitter caused by physical characteristics during the cold start phase and the real faults during the normal operation phase. This achieves the technical effect of suppressing false alarms during the cold start phase and maintaining a fast response during the normal operation phase, thereby improving the accuracy and robustness of fault detection and mitigating the problem of unnecessary switching of infrared images due to false alarm faults.

[0010] Optionally, in one possible implementation, the method further includes: The vehicle's surroundings are temperature-sensing to obtain the ambient temperature. The first timeout threshold and / or the second timeout threshold are adjusted based on the ambient temperature, wherein the lower the ambient temperature, the larger the corresponding timeout threshold.

[0011] In this implementation, by introducing ambient temperature as a dynamic adjustment factor for the fault detection threshold, the timeout threshold setting is matched with the actual time required for the electronic components of the infrared camera to reach a stable state under different temperature conditions. This achieves an adaptive adjustment effect, which further extends the fault confirmation time in low-temperature environments to prevent false alarms, and maintains a shorter confirmation time in normal or high-temperature environments to ensure response speed. This improves the adaptability and accuracy of the fault detection mechanism under all temperature range conditions.

[0012] Optionally, in one possible implementation, updating the current display state to the target display state when the accumulated count reaches a preset threshold includes: When the accumulated count reaches a preset threshold, a transparency gradient process is triggered. The transparency gradient process adjusts the rendering transparency value frame by frame, gradually changing from the current transparency value corresponding to the current display state to the target transparency value corresponding to the target display state. The current display state is updated to the target display state based on the transparency gradient process.

[0013] In this implementation, a transparency gradient process is triggered when the accumulated count reaches a preset threshold. The transparency value is adjusted frame by frame to gradually transition from the current transparency value to the target transparency value, transforming the display state transition from an instantaneous jump to a continuous multi-frame gradient transition. Specifically, utilizing the persistence of vision characteristic of the human eye, the image gradually fades out when switching from display to hiding and gradually fades in when switching from hiding to display. This eliminates the abrupt jump in the image during state transitions, improves the visual comfort of the image content displayed on the vehicle screen, and reduces the visual impact on the driver caused by the instantaneous appearance and disappearance of the image.

[0014] Optionally, in one possible implementation, updating the current display state to the target display state based on the transparency gradient process includes: If the transparency gradient process is a fade-in process, then frame data is continuously obtained from the frame queue, and the texture of the frame data is uploaded for rendering. In the fade-in process, the current display state is a hidden state, the target display state is a display state, and the rendering transparency value increases frame by frame. If the transparency gradient process is a fade-out process, the target frame texture before fade-out is retained, and the acquisition of frame data from the frame queue is paused. After the rendering transparency value indicates transparency, the frame queue is cleared and the video stream input is stopped. In the fade-out process, the current display state is the display state, the target display state is the hidden state, and the rendering transparency value decreases frame by frame.

[0015] In this implementation, by distinguishing between the fade-in process and the fade-out process and adopting different frame processing strategies for each, namely, the timing design of retaining textures, pausing frame fetching, and delaying the clearing of the queue during the fade-out stage, the screen fades out smoothly instead of disappearing abruptly. At the same time, it achieves the technical effect of avoiding the rendering thread not being able to obtain textures and resulting in a black screen due to the frame queue being cleared too early, or the residual frames being rendered and causing ghosting due to the frame queue being cleared too late. This improves the naturalness and consistency of the screen transition during the display switching process.

[0016] Optionally, in one possible implementation, the transparency gradient process is performed based on a gradient step size, the configuration process of which includes: Obtain the preset target gradient transition time; Determine the rendering frame rate of the target screen in the current display mode; The number of rendering frames is determined based on the target gradient transition time and the rendering frame rate; The rendering transparency value is divided according to the number of rendering frames to determine the gradient step size.

[0017] In this implementation, by dynamically binding the gradient step size to the actual rendering frame rate of the screen, the total duration of the transparency transition remains constant under different frame rate conditions. This achieves the effect that the user perceives a consistent transition speed regardless of changes in the screen refresh rate, thereby improving the adaptability of the transparency gradient process to differences in the display device's frame rate and mitigating the problem of inconsistent transition speed caused by frame rate fluctuations.

[0018] Optionally, in one possible implementation, the configuration process corresponding to the rendering transparency value includes: Obtain the number of frames that have been gradientd and the total number of frames that have been gradientd in the transparency gradient process; The gradation progress is obtained by proportionally calculating the number of frames that have already been graded and the total number of frames that have been graded. Based on the gradient progress, the rendering transparency value of the current frame is calculated according to a preset nonlinear curve function. The data change rate at the beginning and end of the nonlinear curve function is less than the data change rate in the middle segment.

[0019] In this implementation, a non-linear curve is used instead of a linear curve to control the rate of change of transparency, so that the image changes more slowly at the beginning and end of the gradient and faster in the middle section, achieving a gradient effect that is more in line with the human eye's perception of brightness changes, improving the naturalness and comfort of the visual transition, and improving the visual stiffness caused by the constant rate of change at the beginning and end of the linear gradient.

[0020] Optionally, in one possible implementation, the method further includes: When acquiring frame data to be rendered, the frame data is structurally parsed to determine the validity flag field of the frame data. The validity flag field is configured based on the fade-out process and is used to indicate whether the frame data is allowed to be rendered. If the validity flag field indicates invalidity, then rendering of the corresponding frame data is stopped.

[0021] In this implementation, by embedding a validity flag at the frame data level and performing mandatory validation when the rendering thread retrieves frames, even if the rendering thread retrieves an invalid residual frame due to multi-thread timing differences during and after the fade-out process, the flag field can be used to mask it and prevent visible rendering. This achieves the effect of completely eliminating the ghosting problem caused by timing competition from the logical level, and improves the synchronization and accuracy of the screen content during display switching.

[0022] Secondly, one embodiment of this specification provides a vehicle screen display device, comprising: The acquisition unit is used to acquire the target display status of the camera device configured in the vehicle on the target screen. The target display status is determined based on the status information of the vehicle, and the status information is associated with the content display of the camera device. A display unit is used to determine the current display state of the camera device on the target screen; The display unit is further configured to perform cumulative counting via a hysteresis counter if the target display state is inconsistent with the current display state. The display unit is further configured to update the current display state to the target display state when the accumulated count value reaches a preset threshold, so as to process the image content corresponding to the camera device on the target screen.

[0023] Thirdly, one embodiment of this specification also provides a vehicle screen display system, including sensors and a vehicle controller, wherein the sensors are used to collect vehicle-related data; and the vehicle controller is used to execute the vehicle screen display method as described in the first aspect or any possible implementation thereof.

[0024] Fourthly, one embodiment of this specification also provides a vehicle, the vehicle comprising: a memory for storing executable program code; and a processor for calling and running the executable program code from the memory, causing the vehicle to execute the vehicle screen display method in the first aspect or any possible implementation of the first aspect.

[0025] Fifthly, one embodiment of this specification also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the vehicle screen display method as described above.

[0026] Sixthly, embodiments of this specification provide a computer program product or computer program, the computer program product including a computer program that can be stored in a computer-readable storage medium or in the cloud; the processor of the computer device reads the computer program, and when the processor executes the computer program, it implements the steps of the above-described vehicle screen display method.

[0027] As can be seen from the above technical solution, the vehicle screen display method provided in this specification obtains the target display state of the camera device configured in the vehicle on the target screen; then determines the current display state of the camera device on the target screen, providing an accurate basis for subsequent display switching decisions, avoiding discrepancies between the display state and user expectations due to missing information; if the target display state is inconsistent with the current display state, a hysteresis counter is used to perform cumulative counting, which introduces an acknowledgment delay mechanism to absorb the transient state changes caused by short-term jitter during the counting process, achieving the effect of filtering transient interference; furthermore, when the cumulative count value reaches a preset threshold, the current display state is updated to the target display state, so as to process the image content corresponding to the camera device on the target screen. By introducing a hysteresis counting mechanism with a threshold in the state switching judgment, the instantaneous jitter of the vehicle state signal is filtered, and the frequent and repeated switching of the display state is avoided, improving the stability of the image content of the camera device displayed on the vehicle screen, improving the driver's visual interference and attention distraction caused by screen flicker, and enhancing driving safety. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this specification. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0029] Figure 1 This is a schematic diagram illustrating the application environment of a vehicle screen display method provided in one embodiment of this specification.

[0030] Figure 2 This is a flowchart illustrating a vehicle screen display method according to one embodiment of this specification.

[0031] Figure 3 This is a schematic diagram illustrating a vehicle screen display method according to one embodiment of this specification.

[0032] Figure 4 This is a schematic diagram of the functional modules of a vehicle screen display device provided for one embodiment of this specification.

[0033] Figure 5 This is a structural schematic diagram of a vehicle provided for one embodiment of this specification. Detailed Implementation

[0034] Unless otherwise defined, the technical or scientific terms used in the embodiments of this specification shall have the ordinary meaning understood by one of ordinary skill in the art to which this specification pertains. The terms "first," "second," and similar terms used in the embodiments of this specification do not indicate any order, quantity, or importance, but are merely used to avoid confusion of constituent elements.

[0035] Unless the context otherwise requires, throughout this specification, "a plurality of" means "at least two," and "including" is interpreted as open-ended or encompassing, that is, "including, but not limited to." In the description of this specification, terms such as "one embodiment," "some embodiments," "exemplary embodiment," "example," "specific example," or "some examples" are intended to indicate that a particular feature, structure, material, or characteristic associated with that embodiment or example is included in at least one embodiment or example of this specification. The illustrative representations of the above terms do not necessarily refer to the same embodiment or example.

[0036] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.

[0037] In-vehicle far-infrared night vision systems use far-infrared cameras to detect thermal targets such as pedestrians and animals, providing drivers with auxiliary visual information at night or in low-visibility conditions. This is a crucial safety feature of smart cockpits. The video stream output from the far-infrared camera needs to be rendered and displayed in real-time on the vehicle's dashboard, dynamically starting and stopping according to the vehicle's status.

[0038] However, due to the significant differences between far-infrared cameras and commonly used screen displays, the infrared image flickers and jumps noticeably during the rapid switching between being displayed and hidden, causing visual discomfort. This not only seriously affects the user experience but also distracts the driver, posing a safety hazard.

[0039] To address the aforementioned problems, this specification provides a vehicle screen display system, and the vehicle screen display method provided in this specification is applied to the vehicle screen display system. This display system filters out repeated state flips within a short period using a hysteresis counter, avoiding frequent switching caused by transient state changes; and utilizes frame-by-frame transparency gradients to achieve smooth transitions in display states, thereby eliminating screen flicker and visual jumps, reducing driver visual interference, and improving driving safety.

[0040] Specifically, the vehicle information interaction system may include systems composed of... Figure 1 The operating environment formed by server 110 and vehicle 120 is described. Vehicle 120 communicates with server 110 via a network connection. The functions implemented within vehicle 120 can be local processing or information received by vehicle 120 and uploaded to cloud server 110, which then processes the information and sends it back to vehicle 120. Server 110 can be an electronic device with certain computing capabilities. It may have a network communication module, processor, and memory, etc. Of course, server 110 can also refer to software running on the electronic device. Server 110 can also be a distributed server, which can be a system with multiple processors, memory, network communication modules, etc., working together. Alternatively, server 110 can also be a cluster of several servers 110. Or, with the development of science and technology, server 110 can also be a new technical means capable of realizing the corresponding functions of the embodiments described in the specification. For example, it can be a new form of "server" based on quantum computing.

[0041] Specifically, when managing screens within a vehicle using the aforementioned display system, the target display state of the vehicle's camera equipment on the target screen is obtained. Then, the current display state of the camera equipment on the target screen is determined, providing an accurate basis for subsequent display switching decisions and preventing discrepancies between the display state and user expectations due to missing information. If the target display state differs from the current display state, a hysteresis counter is used for cumulative counting. This introduces an acknowledgment delay mechanism, allowing transient state changes caused by short-term jitter to be absorbed during the counting process, thus filtering out momentary interference. Furthermore, when the cumulative count reaches a preset threshold, the current display state is updated to the target display state, allowing the image content corresponding to the camera equipment to be processed on the target screen. By introducing a hysteresis counting mechanism with a threshold in the state switching judgment, the system effectively filters out momentary jitter in vehicle state signals, avoids frequent and repeated switching of display states, improves the stability of the image content displayed on the vehicle screen, mitigates driver visual interference and distraction caused by screen flicker, and enhances driving safety.

[0042] Based on the above concept, this specification provides a vehicle screen display method. The vehicle screen display method provided by this specification will be described exemplarily below with reference to the accompanying drawings.

[0043] To be applied Figure 1 Taking a vehicle as an example, this specification provides illustrative examples of some embodiments of the vehicle screen display method, such as... Figure 2 As shown, Figure 2 A flowchart illustrating a vehicle screen display method according to one embodiment of this specification; the vehicle screen display method includes: 201. Obtain the target display status of the camera equipment configured in the vehicle on the target screen. The target display status is determined based on the vehicle's status information, which is related to the content displayed by the camera equipment.

[0044] In this embodiment, the camera device refers to an image sensor device installed on a vehicle for acquiring image information of the vehicle's external environment and outputting a video stream. The video stream output by the camera device is processed and displayed on the in-vehicle display screen, providing auxiliary visual information to the driver. For example, the camera device may include an infrared camera, a far-infrared camera, a low-light night vision camera, or other camera devices suitable for imaging under visible light or low visibility conditions.

[0045] This embodiment uses a far-infrared camera as an example of a camera device, which is a sensor device that images objects by detecting the far-infrared electromagnetic waves emitted by the target object itself. In this solution, the far-infrared camera is configured at the front of the vehicle to collect infrared images of heat source targets such as pedestrians and animals in front of the vehicle. The output video stream is processed and displayed on the vehicle's instrument panel screen, providing the driver with auxiliary visual information in nighttime or low-visibility conditions.

[0046] It is understood that the target screen can be a vehicle instrument panel screen, or a display device installed inside the vehicle that can perform graphic rendering, such as a central control screen, head-up display, or passenger entertainment screen; there is no limitation here.

[0047] Accordingly, the target display state can be specifically a binary identifier used to characterize whether the image content corresponding to the camera device is presented on the target screen, such as a display state or a hidden state. More generally, the target display state can be expressed in various ways, such as including but not limited to: Boolean values, enumerated values, or composite state fields with transparency indicators, etc., all of which can describe the intention of the camera device to present on the target screen.

[0048] In this embodiment, status information refers to various signals that can affect the decision-making of far-infrared image display during vehicle operation. Specifically, it can refer to vehicle power information, target screen theme information, far-infrared camera fault information, and may also cover other auxiliary signals related to infrared content display.

[0049] In one possible scenario, considering that the decision-making of far-infrared image display control involves multiple vehicle status signals such as power supply, theme, and fault, a single signal cannot accurately determine whether the image should be displayed or hidden. Therefore, a multi-condition joint decision-making approach can be adopted, using power supply information, theme information, and fault information as common inputs, and determining the target display state with a if-only judgment logic.

[0050] Specifically, to determine the target display status, the power information of the vehicle can be obtained first; then, in response to the power information indicating that the vehicle is started, the camera equipment is used for fault detection to obtain fault information; and the theme information configured for the target screen is determined; then, the power information, theme information and fault information are combined to determine the target display status of the camera equipment.

[0051] In this embodiment, the target display status is determined jointly based on three conditions: power status, theme mode, and fault confirmation flag. The fault confirmation flag is obtained from the vehicle's adaptive detection, thereby avoiding interference from link jitter on the display decision. The target display status is "displayed" only when the power status is ON, the theme mode is infrared, and the fault confirmation flag is fault-free; otherwise, it is "hidden".

[0052] For example, after the vehicle is powered on, the system reads the power signal (KL15) to confirm that the power is ON, and then initiates link fault detection for the infrared camera. The detection module determines whether the camera video stream is being received normally and whether the image data is valid, and outputs fault information (fault present / fault-free). At the same time, the system reads the current theme configuration of the instrument panel. If the user has set an "infrared night vision theme," the theme information is "infrared mode"; if it is set to "speedometer theme" or "navigation theme," the theme information is "non-infrared mode." Finally, the system makes a decision according to the rules: the target display status is "displayed" only when the power is ON, the theme is infrared mode, and the fault information is fault-free; otherwise, the target display status is "hidden."

[0053] As can be seen, this embodiment incorporates multiple vehicle status information related to infrared image display control into a unified decision logic, thereby achieving accurate determination of the target display status. This avoids incorrect display status switching due to misjudgment of a single piece of information or incomplete information from the source of decision-making, and improves the accuracy and reliability of display switching decisions.

[0054] Furthermore, for the aforementioned adaptive fault detection process, considering that the link characteristics of the far-infrared camera during the cold start phase are fundamentally different from those during the normal operation phase, i.e., link jitter during the cold start phase is a physical phenomenon rather than a fault, while link abnormalities during the normal operation phase are most likely real faults. Therefore, a dual-threshold adaptive fault detection method that distinguishes between cold start windows and normal operation windows can be adopted.

[0055] Specifically, for the determination of fault information, the operation duration of the imaging device and the cold start time window corresponding to the startup of the imaging device can be determined first. If the operation duration is within the preset cold start time window, the first timeout threshold is used for fault detection to obtain fault information; if the operation duration exceeds the cold start time window, the second timeout threshold is used for fault detection to obtain fault information, where the first timeout threshold is greater than the second timeout threshold.

[0056] Among them, for the configuration of the dual-threshold adaptive fault detection, the cold start time window T_cold is defined. When it is detected that the KL15 state switches from OFF to ON, the startup time t_start is recorded, and the system operation time t_elapsed = t_current - t_start. During the period when t_elapsed < T_cold, the system is determined to be in the cold start phase; after t_elapsed ≥ T_cold, the system is determined to enter the normal operation phase. In addition, two fault confirmation timeout thresholds are defined: the first timeout threshold T1, which is used in the cold start phase, T1 = 8 seconds; the second timeout threshold T2, which is used in the normal operation phase, T2 = 5 seconds.

[0057] Illustratively, the vehicle has just been started from the flameout state, and the infrared camera is powered on and starts working. The system records the startup time and calculates the operation duration in real time. The first 20 seconds are the preset cold start time window. During the cold start phase, the internal circuit of the camera is in a stabilization process, and the video link may experience short-term signal instability or frame loss, which is a physical characteristic rather than a fault. Therefore, the first timeout threshold of 8 seconds is adopted in the cold start phase, that is, the link abnormality needs to last for more than 8 seconds to be confirmed as a fault. After 20 seconds, the system enters the normal operation phase, and the link has been stabilized. At this time, the second timeout threshold of 5 seconds is adopted, and the link abnormality lasting for more than 5 seconds is determined as a fault. If the link only jitters for 2 seconds during the cold start and then returns to normal, it will not be misjudged as a fault, and the target display state will not switch due to the short-term jitter.

[0058] As can be seen, this embodiment distinguishes the differences in the link characteristics of the camera during the cold start phase and the normal operation phase and matches different fault confirmation time limits. This enables differentiated processing of the brief link jitter caused by physical characteristics during the cold start phase and the real fault during the normal operation phase. This achieves the technical effect of suppressing false alarms during the cold start phase and maintaining a fast response during the normal operation phase, thereby improving the accuracy and robustness of fault detection and alleviating the problem of unnecessary switching of infrared images due to false alarm faults.

[0059] Optionally, considering that changes in ambient temperature can affect the stabilization time of the electronic components of the infrared camera, and that startup under low temperature conditions requires a longer stabilization transition time, a fixed timeout threshold cannot simultaneously meet the requirements of false alarm suppression and rapid response under all temperature range conditions. Therefore, a method of dynamically adjusting the timeout threshold based on ambient temperature can be adopted.

[0060] Specifically, the ambient temperature of the vehicle's environment can be sensed to obtain the ambient temperature; then, the first timeout threshold and / or the second timeout threshold can be adjusted based on the ambient temperature, wherein the lower the ambient temperature, the larger the corresponding timeout threshold.

[0061] For example, when a vehicle is cold-started in an extremely cold region (ambient temperature -20°C), the electronic components of the infrared camera require a longer stabilization time than at normal temperatures. After obtaining the current ambient temperature from the vehicle's external temperature sensor, the system adjusts the first timeout threshold for the cold start phase from the default 8 seconds to 12 seconds, and the second timeout threshold for the normal operation phase from 5 seconds to 8 seconds. When the vehicle is started in summer (ambient temperature 35°C), the temperature is higher, and the thresholds revert to their default values. This adaptive adjustment ensures that fault detection does not produce false alarms due to the extended stabilization time at low temperatures, nor does it sacrifice response speed at normal temperatures.

[0062] As can be seen, this embodiment introduces ambient temperature as a dynamic adjustment factor for the fault detection threshold, so that the setting of the timeout threshold matches the actual time required for the electronic components of the infrared camera to reach a stable state under different temperature conditions. This achieves an adaptive adjustment effect, which further extends the fault confirmation time in low-temperature environments to prevent false alarms, and maintains a shorter confirmation time in normal or high-temperature environments to ensure response speed. This improves the adaptability and accuracy of the fault detection mechanism under all temperature range conditions.

[0063] 202. Determine the current display status of the camera device on the target screen.

[0064] In this embodiment, the current display state can be maintained by a status register in the display control device. This status register is read at the beginning of each frame rendering cycle and is used to characterize the actual state of the camera device on the target screen after the previous frame rendering is completed.

[0065] Optionally, the current display state and the target display state can be expressed using the same data structure to facilitate comparison operations between the two.

[0066] 203. If the target display state is inconsistent with the current display state, the cumulative count is performed through the hysteresis counter.

[0067] In this embodiment, the hysteresis counter is a counting device used to delay the confirmation of display state switching requests. When the target display state is inconsistent with the current display state, the hysteresis counter starts to accumulate counts frame by frame; if the target state recovers to be consistent with the current state before the count value reaches a preset threshold, the counter is immediately reset to zero. Its function is to filter short-term switching requests caused by instantaneous jitter of vehicle status signals, avoiding repeated screen switching.

[0068] Specifically, this embodiment achieves this by defining a hysteresis counter and a hysteresis threshold H (e.g., H=3). That is, when the target display state is inconsistent with the current display state, the switch is not executed immediately, but the transparency gradient is initiated after the state switch is confirmed; and when the target is consistent with the current state, the counter is reset.

[0069] During the cumulative counting process using the hysteresis counter, if the target display state returns to the same state as the current display state, the hysteresis counter will be reset to zero.

[0070] For example, the infrared image is currently in a displayed state. Due to a brief signal jitter in the camera link, the fault flag flips momentarily, causing the target display state to change to "hidden." The hysteresis counter starts counting; the count value is 1 in the first frame and 2 in the second frame. Before the counter reaches a threshold of 3, the link jitter recovers, the fault flag returns to normal, and the target display state returns to "displayed." At this point, if the target state is detected to be consistent with the current display state again, the hysteresis counter is immediately reset to 0. The entire process does not trigger any state switching, the infrared image remains stable, and the driver does not perceive any abnormality. If the link jitter only lasts for two frames before recovering, the image is completely unaffected.

[0071] As can be seen, this embodiment sets clear reset conditions and zeroing actions for the hysteresis counter, so that the counter only triggers switching when the target state is continuously inconsistent and reaches the threshold. After the short-term jitter is recovered, the counter automatically returns to zero without any switching action, thus effectively filtering out the interference of instantaneous state, improving the stability and anti-interference ability of the display state switching, and improving the problem of frequent screen flickering caused by the instantaneous change of vehicle state information.

[0072] 204. When the accumulated count reaches the preset threshold, the current display state is updated to the target display state so that the image content corresponding to the camera device can be processed on the target screen.

[0073] In this embodiment, the preset threshold, also known as the hysteresis threshold, refers to the frame count threshold set for the hysteresis counter, used to determine whether to confirm the execution of the display state switch. When the cumulative count value of the hysteresis counter reaches the preset threshold, it indicates that the inconsistency between the target display state and the current display state has lasted for a sufficient number of frames and is not caused by instantaneous interference. Based on this, the system triggers the subsequent transparency gradient process. The specific value of the preset threshold can be configured according to the system's requirements for balancing response speed and anti-interference capability.

[0074] Furthermore, updating the current display state to the target display state means that after the hysteresis counter confirms the switch, the system changes the internally recorded display state variable from its original value to the target state value, ensuring that the system state aligns with the decision expectation. Processing the image content corresponding to the camera on the target screen refers to performing subsequent processing operations on the video frame data captured by the camera, based on the updated display state. This includes hiding and showing the image content; for example, when updated to a display state, the image content is rendered normally, and when updated to a hidden state, rendering is stopped or a fade-out process is performed, thus presenting a visual effect on the target screen that matches the current display state.

[0075] In one possible scenario, considering the problem of abrupt visual transitions during the instantaneous change from displaying the image to completely hidden or vice versa, a method can be adopted to trigger the transparency gradient process when the count value reaches a preset threshold. By adjusting the rendering transparency value frame by frame, the instantaneous change can be transformed into a smooth gradient transition.

[0076] Specifically, for the process of updating the current display state to the target display state, when the accumulated count value reaches a preset threshold, a transparency gradient process is triggered. The transparency gradient process adjusts the rendering transparency value frame by frame, gradually changing from the current transparency value corresponding to the current display state to the target transparency value corresponding to the target display state. Then, based on the transparency gradient process, the current display state is updated to the target display state.

[0077] The transparency gradient process refers to the rendering process where, after confirming the display state switch, the rendering transparency value is adjusted frame by frame to smoothly transition the image from the transparency value corresponding to the current display state to the transparency value corresponding to the target display state. This process includes two types: a fade-in process from hidden to visible and a fade-out process from visible to hidden. Its effect is to transform the instantaneous jump in display state into a multi-frame visual gradient transition, eliminating the abruptness of the image.

[0078] For example, the vehicle's instrument panel currently displays an infrared night vision image, with the display status set to "Display". When the user switches the instrument panel theme from infrared mode to navigation mode, the system triggers a fade-out process after confirmation via a hysteresis counter. The transparency value starts at 1.0 and decreases by 0.06 per frame. The infrared image is fully visible in the first frame, approximately semi-transparent in the seventh frame, and completely invisible in the fifteenth frame. The driver sees the infrared image fade out smoothly, rather than disappearing instantly. Conversely, when the user switches back to the infrared theme, the system triggers a fade-in process, with the transparency value increasing from 0.0 to 1.0 frame by frame, and the infrared image fades in smoothly. The entire switching process takes approximately 500 milliseconds, resulting in a natural visual transition without any abrupt changes.

[0079] As can be seen, this embodiment triggers a transparency gradient process when the accumulated count value reaches a preset threshold, gradually transitioning from the current transparency value to the target transparency value by adjusting the rendered transparency value frame by frame. This transforms the switching of display states from an instantaneous jump to a continuous, multi-frame gradient transition. Specifically, it utilizes the persistence of vision characteristic of the human eye to create a gradual fade-out effect when the image switches from display to hiding and a gradual fade-in effect when switching from hiding to display. This achieves the technical effect of eliminating abrupt image jumps during state transitions, improving the visual comfort of image content displayed on the vehicle screen, and reducing the visual impact on the driver caused by instantaneous image visibility.

[0080] Furthermore, considering that the fade-in process needs to ensure the real-time performance of the image, and the fade-out process needs to avoid the abrupt disappearance of the image and prevent residual frames from causing ghosting, the processing requirements for frame data in the two switching directions are fundamentally different. A unified frame processing strategy cannot meet both of these requirements at the same time. Therefore, a differentiated frame processing method that distinguishes between fade-in and fade-out can be adopted.

[0081] In scenarios where the transparency gradient process is a fade-in process, frame data is continuously retrieved from the frame queue, and the texture of the frame data is uploaded for rendering. In the fade-in process, the current display state is a hidden state, the target display state is a display state, and the rendering transparency value increases frame by frame.

[0082] For example, a user switches the instrument panel theme from speedometer to infrared night vision. The target display status changes to "Display," and the system initiates a fade-in process. The transparency value starts at 0.0 and increases by approximately 0.06 per frame, allowing the infrared image to smoothly transition from completely invisible to fully visible within about 500 milliseconds. During the fade-in process, the rendering thread continuously retrieves new frames from the frame queue to ensure the real-time nature of the infrared image; the content is a live view as the image gradually appears.

[0083] In addition, for scenes where the transparency gradient process is a fade-out process, the target frame texture before fade-out is retained, and frame data acquisition from the frame queue is paused. After the rendering transparency value indicates transparency, the frame queue is cleared and the video stream input is stopped. During the fade-out process, the current display state is the display state, the target display state is the hidden state, and the rendering transparency value decreases frame by frame.

[0084] For example, a user switches from an infrared theme to a navigation theme. The target display status changes to "hidden," and the system initiates a fade-out process. The last infrared frame retrieved from the frame queue is used as the fade-out texture, and the rendering thread pauses retrieving new frames from the queue. The transparency value decreases by 0.06 per frame, starting from 1.0, causing the infrared frame to gradually fade until it becomes completely transparent after approximately 500 milliseconds. At this point, the frame queue is cleared, and RTSP video stream reception stops. The driver sees the infrared image fade out smoothly, rather than disappear abruptly.

[0085] In summary, during the fade-in phase, even if the opacity hasn't reached 1.0, new frames continue to be fetched from the frame queue and textures are uploaded. During the fade-out phase, the texture data of the last frame is retained, the opacity value is reduced, and no new frames are fetched. Only after the fade-out is complete (opacity drops to 0.0) are the frame queue cleared and the video stream stopped. Because the last frame's texture is retained during the fade-out phase, the driver won't see an abrupt black screen transition; instead, the image gradually fades out, resulting in a natural visual transition.

[0086] As can be seen, this embodiment distinguishes between the fade-in process and the fade-out process and adopts different frame processing strategies for each. Specifically, it preserves textures, pauses frame fetching, and delays clearing the queue during the fade-out phase. This achieves a smooth fade-out of the screen rather than an abrupt disappearance. At the same time, it avoids the rendering thread being unable to retrieve textures and resulting in a black screen due to premature clearing of the frame queue, or the residual frames being rendered and causing ghosting due to delayed clearing of the frame queue. This improves the naturalness and consistency of the screen transition during display switching.

[0087] Optionally, considering that the target screen may render at different frame rates in different display modes, if the gradient step size is set to a fixed value, the actual perceived transition speed will be inconsistent for users under the same gradient transition time setting at different frame rates. Therefore, a method of dynamically calculating the gradient step size based on the current rendering frame rate can be adopted.

[0088] Specifically, the process of configuring the gradient step size can be as follows: first, obtain the preset target gradient transition time; then, determine the rendering frame rate of the target screen in the current display mode; and determine the number of rendering frames based on the target gradient transition time and the rendering frame rate; and then divide the rendering transparency value according to the number of rendering frames to determine the gradient step size.

[0089] Specifically, when switching from "hidden" to "show", the opacity increases by Δα (fade-in) frame by frame, gradually changing from 0.0 to 1.0; when switching from "show" to "hidden", the opacity decreases by Δα (fade-out) frame by frame, gradually changing from 1.0 to 0.0.

[0090] For example, for the method of determining the gradient step size Δα, the target gradient transition time can be set to T_transition (e.g., 500ms), and the rendering frame rate is F fps (approximately 30fps). Then Δα = 1.0 / (T_transition × F / 1000) = 1.0 / (500 × 30 / 1000) ≈ 0.067.

[0091] In this example, the system presets the target gradient transition time to 500 milliseconds, and the current rendering frame rate of the instrument screen is 30 frames per second. According to the calculation: the total number of rendering frames during the transition = 30 × (500 / 1000) = 15 frames. The total change in the transparency value is 1.0 (from 0.0 to 1.0 or from 1.0 to 0.0), and the gradient step size = 1.0 / 15 ≈ 0.067. Each frame renders the transparency value by adding or subtracting 0.067 from the previous frame's value, completing the transition after 15 frames. If the instrument screen's frame rate is adjusted to 60 frames per second in a certain display mode, the gradient step size automatically changes to 1.0 / 30 ≈ 0.033, increasing the transition frame count to 30 frames, while the total transition time remains unchanged at 500 milliseconds.

[0092] As can be seen, this embodiment dynamically binds the gradient step size to the actual rendering frame rate of the screen, so that the total duration of the transparency transition remains constant under different frame rate conditions. This achieves the effect that the user perceives the transition speed consistently regardless of changes in the screen refresh rate, thereby improving the adaptability of the transparency gradient process to differences in the display device's frame rate and improving the problem of inconsistent transition speed caused by frame rate fluctuations.

[0093] In another possible scenario, considering that the rate of change of linear transparency gradient is exactly the same in the beginning and end stages as in the middle stage, it does not match the human eye's perception characteristics of brightness change being more sensitive at the dark and bright ends and relatively less sensitive in the middle, resulting in a harsh visual transition, this embodiment supports non-linear gradient curves in addition to linear gradients, so that the transition is more in line with the human eye's perception characteristics of brightness change (such as the Weber-Fechner law).

[0094] Specifically, for the configuration process corresponding to the rendering transparency value, the number of frames that have been gradientd and the total number of gradient frames can be obtained first; then, the gradient progress can be obtained by proportional calculation based on the number of frames that have been gradientd and the total number of gradient frames; and based on the gradient progress, the rendering transparency value of the current frame can be calculated according to the preset non-linear curve function. The data change rate at the beginning and end of the non-linear curve function is less than the data change rate in the middle segment.

[0095] Here, the fading progress p is defined as the number of frames already faded / the total number of frames faded. For a linear fading: opacity = p; while for an ease-in-out fading: opacity = 3p. 2 - 2p 3 .

[0096] In comparison, the ease-in-out gradient changes more gradually at the beginning and end, and more rapidly in the middle, resulting in a more natural visual appearance. The gradient curve type can be selected through configuration parameters.

[0097] For example, during the fade-out process, the total number of fade-in frames is 15, and the current frame is the 3rd frame. The fade-in progress p = 3 / 15 = 0.2. The ease-in-out curve function opacity = 3p is used. 2 -2p 3 Calculating, substituting p=0.2, opacity = 3×0.04 - 2×0.008 = 0.104. Compared to the opacity value of 0.2 under linear gradient, the image under non-linear gradient is closer to completely opaque, and the change is slower. In the middle of the gradient (when p=0.5), opacity=0.5, consistent with linear gradient. As the gradient nears completion (when p=0.9), opacity=3×0.81 - 2×0.729=0.972, and the change slows down again. In the overall effect, the image fades out slowly at the beginning, accelerates in the middle, and flattens out at the end, which better matches the human eye's perception of changes in brightness.

[0098] As can be seen, this embodiment uses a non-linear curve instead of a linear curve to control the rate of change of transparency, making the change of the image slower at the beginning and end of the gradient and faster in the middle section, achieving a gradient effect that is more in line with the human eye's perception of brightness changes, improving the naturalness and comfort of the visual transition, and improving the visual stiffness caused by the constant rate of change at the beginning and end of the linear gradient.

[0099] Based on the above description of the transparency gradient process, it can be seen that the visual jump problem is solved by transparency gradient, and the state hysteresis problem is solved by state oscillation. Through the synergy of gradient and hysteresis, oscillation is filtered out by hysteresis and does not trigger switching, and real switching is smoothly transitioned through gradient.

[0100] In one possible scenario, considering the timing competition between the operation of clearing the frame queue after the fade-out process is completed and the frame fetching operation of the rendering thread in a multi-threaded environment, the rendering thread may fetch residual frames that should have been cleared and render them to the screen with visible transparency, causing ghosting. Therefore, a method of embedding a validity flag field in the frame data and forcibly validating it during rendering can be adopted.

[0101] Specifically, during the execution of the transparency fading process, when acquiring the frame data to be rendered, the frame data is structurally parsed to determine the validity flag field of the frame data. The validity flag field is based on the fade-out process configuration and is used to indicate whether the frame data is allowed to be rendered. If the validity flag field indicates invalidity, the rendering of the corresponding frame data is stopped.

[0102] To implement the above steps, a valid flag field is added to the frame data structure, and the following operation sequence is defined: The frame data structure definition includes: frame pixel data, frame timestamp, and validity flag.

[0103] For the show-hide switching sequence: first mark the current frame as invalid - set the target opacity to 0 - wait for the opacity to gradually change from the current value to 0.0 - then mark no new frames - clear the frame queue - stop the video stream.

[0104] Based on the above frame data configuration, in the frame acquisition logic of the rendering thread, even if a frame is acquired, it is not rendered. Instead, a texture is uploaded and the target opacity is used. This ensures that no matter when the rendering thread acquires a frame, as long as the validity flag (frame.valid) is marked as invalid (false), the frame will not be rendered with non-zero opacity, logically eliminating the ghosting problem caused by timing races.

[0105] For example, before initiating the fade-out process after confirming the switch from visible to hidden, the system first sets the validity flag field of the current frame data to false, and then starts the fade-out. During the fade-out, the last valid texture is retained for rendering. After the fade-out is complete and the frame queue is cleared, if, due to multi-threading timing differences, the rendering thread still retrieves a residual frame at the moment the frame queue is cleared, parsing the frame data structure reveals that the validity field is false. Based on logical judgment, texture uploading for this residual frame is stopped, and its rendering opacity is directly set to 0.0. This residual frame will not be rendered to the screen in any visible form, avoiding the phenomenon of the image disappearing after a single frame flash.

[0106] As can be seen, this embodiment embeds a validity flag at the frame data level and performs mandatory verification when the rendering thread retrieves frames. This ensures that even if the rendering thread retrieves an invalid residual frame due to timing differences between multiple threads during and after the fade-out process, the flag field can be used to mask it and prevent visible rendering. This achieves the effect of completely eliminating the ghosting problem caused by timing competition from the logical level and improving the synchronization and accuracy of the screen content during display switching.

[0107] Alternatively, a read-write lock (rwlock) can be used to protect the frame fetching and clearing operations of the frame queue, ensuring that the two are mutually exclusive.

[0108] Specifically, the frame fetching and clearing operations of the frame queue are protected by using read-write locks. This is achieved by applying a read lock when the rendering thread fetches a frame and applying a write lock when the queue needs to be cleared during the display state switch. The mutual exclusion mechanism of read-write locks ensures that the frame fetching and clearing operations cannot be performed simultaneously. That is, all read operations are blocked during the period when the write lock is held, thereby preventing the rendering thread from fetching residual frames during the queue clearing process.

[0109] Below, combining the above-mentioned validity marker field and other possible embodiments, we can obtain the following: Figure 3 The execution steps shown in the far-infrared camera scenario can be performed in a loop, for example, every frame (15ms). Figure 3 This is a schematic diagram illustrating a scenario of a vehicle screen display method according to one embodiment of this specification. The scenario includes the following execution steps: Step S1: Adaptive fault detection.

[0110] This step integrates hardware and system operation information such as camera connection status, power status, system uptime, and subject status to adaptively determine anomalies in the far-infrared camera. Its core lies in distinguishing between the system's cold start phase and normal operation phase, employing differentiated fault confirmation strategies for each phase, and outputting fault confirmation flags to inform the system whether a real fault requiring attention exists. This provides a reliable basis for subsequent display status decisions.

[0111] Step S2: Display the status decision.

[0112] This step follows the fault confirmation flag output in step S1. Combining the preset target display state expectation with the current display status of the system, and based on preset multi-condition joint decision-making rules, it determines the target display mode that the system should enter next. By comprehensively deciding on multiple conditions such as fault status, power status, and theme mode, the updated target display state is output as the target input value for the subsequent smooth switching process.

[0113] Step S3: Smooth display switching.

[0114] This step, based on the target display state output in step S2 and combined with the current frame data, smooths the display switching process. Its core is to confirm the authenticity of the state switch through a hysteresis counting mechanism, and after confirming the switch, to initiate transparency gradient calculation, generating transition transparency values ​​frame by frame. This allows the image to transition between showing and hiding in a gradual rather than abrupt manner, outputting both the target transparency and the actual transparency after smoothing algorithm processing, achieving a visually flicker-free and abrupt switching.

[0115] Step S4: Frame validity linkage.

[0116] This step validates the input frame data. Based on the current display transition stage, the validity flags for the frame data are configured and checked. When invalid frame data is detected, a cascading cleanup action is triggered, including setting the invalid frame flag and clearing the frame rendering queue. This prevents invalid or expired data from entering the rendering pipeline, eliminates the conditions for ghosting frames from the data source, and provides validity-filtered frame data for subsequent rendering steps.

[0117] Step S5: Rendering and Compositing.

[0118] This step is the final execution layer of the entire process. Combining the actual transparency value output from step S3 with the frame validity flag output from step S4, the validated frame data undergoes texture uploading and transparency compositing. The visibility of the frame is controlled based on the transparency value, and rendering of the current frame is determined based on the validity flag. Finally, the current frame is rendered and output to the target screen, ensuring a smooth, ghosting-free, and flicker-free visual transition during screen transitions.

[0119] In summary, this embodiment obtains the target display state of the camera device configured in the vehicle on the target screen; then determines the current display state of the camera device on the target screen, providing an accurate basis for subsequent display switching decisions and avoiding discrepancies between the display state and user expectations due to missing information; if the target display state is inconsistent with the current display state, a hysteresis counter is used to perform cumulative counting, which introduces an acknowledgment delay mechanism to absorb the transient state changes caused by short-term jitter during the counting process, achieving the effect of filtering transient interference; furthermore, when the cumulative count value reaches a preset threshold, the current display state is updated to the target display state so that the image content corresponding to the camera device can be processed on the target screen. By introducing a hysteresis counting mechanism with a threshold in the state switching judgment, the instantaneous jitter of the vehicle state signal is filtered out, and frequent and repeated switching of the display state is avoided, improving the stability of the image content of the camera device displayed on the vehicle screen, mitigating driver visual interference and attention distraction caused by screen flicker, and improving driving safety.

[0120] It should be noted that the various embodiments described in this specification emphasize the parts that differ from other embodiments, and the embodiments can be explained by comparison with each other. Any combination of the various embodiments described in this specification based on general technical knowledge is covered within the scope of this specification.

[0121] In one exemplary embodiment of this specification, a vehicle screen display device 400 is also provided, such as... Figure 4 As shown, Figure 4 This specification provides a functional module diagram of a vehicle screen display device 400 according to one embodiment of the present invention. The display device 400 includes: The acquisition unit 401 is used to acquire the target display status of the camera device configured in the vehicle on the target screen. The target display status is determined based on the status information of the vehicle, and the status information is associated with the content display of the camera device. Display unit 402 is used to determine the current display state of the camera device on the target screen; The display unit 402 is further configured to perform cumulative counting via a hysteresis counter if the target display state is inconsistent with the current display state; The display unit 402 is further configured to update the current display state to the target display state when the accumulated count value reaches a preset threshold, so as to process the image content corresponding to the camera device on the target screen.

[0122] Specifically, in this embodiment, the OR unit and display unit can correspond to physical components. For example, the display unit can be associated with processing modules such as CPU, GPU, and FPGA. The specific physical component can be any component or combination of components with the above functions. The specific method depends on the actual scenario and is not limited here.

[0123] The aforementioned display device acquires the target display state of the vehicle's camera on the target screen; then determines the current display state of the camera on the target screen, providing an accurate basis for subsequent display switching decisions and avoiding discrepancies between the display state and user expectations due to missing information. If the target display state is inconsistent with the current display state, a hysteresis counter is used to perform cumulative counting, incorporating an acknowledgment delay mechanism to absorb transient state changes caused by short-term jitter during the counting process, thus filtering out transient interference. Furthermore, when the cumulative count reaches a preset threshold, the current display state is updated to the target display state, allowing the image content corresponding to the camera to be processed on the target screen. By introducing a hysteresis counting mechanism with a threshold in the state switching judgment, the device effectively filters out transient jitter in the vehicle state signal, avoids frequent and repeated switching of display states, improves the stability of the image content displayed on the vehicle screen, mitigates driver visual interference and distraction caused by screen flicker, and enhances driving safety.

[0124] Specific limitations regarding the vehicle screen display device can be found in the limitations regarding the vehicle screen display method described above, and will not be repeated here. Each unit module in the aforementioned vehicle screen display device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in a computer device, or stored in software in the memory of a computer device, so that the processor can call and execute the operations corresponding to each module.

[0125] In addition, in one exemplary embodiment of this specification, a vehicle is also provided, such as Figure 5 As shown, Figure 5 This is a structural schematic diagram of a vehicle provided for one embodiment of this specification.

[0126] For example, vehicle 500 and Figure 1 Vehicle 120 in the text refers to the same vehicle.

[0127] For example, such as Figure 5 As shown, the vehicle 500 includes a memory 510 and a processor 520, wherein the memory 510 stores executable program code 530, and the processor 520 is used to call and execute the executable program code 530 to perform a method for displaying a vehicle screen.

[0128] For example, the memory 510 can be used to store related programs of the vehicle screen display method provided in the embodiments of this application; the processor 520 can call the related programs of the vehicle screen display method stored in the memory 510 to execute the vehicle screen display method of the embodiments of this application; for example, obtaining the target display state of the camera device configured in the vehicle on the target screen, the target display state is determined based on the vehicle's state information, and the state information is associated with the content display of the camera device; determining the current display state of the camera device on the target screen; if the target display state is inconsistent with the current display state, performing cumulative counting through a hysteresis counter; when the cumulative count value reaches a preset threshold, updating the current display state to the target display state, so as to process the image content corresponding to the camera device on the target screen.

[0129] This embodiment can divide the device into functional modules based on the above method example. For example, each module can correspond to a separate function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0130] When each functional module is divided according to its corresponding function, the device may further include an acquisition module, a prediction module, a determination module, and an output module. It should be noted that all relevant content regarding the steps involved in the above method embodiments can be referenced to the functional descriptions of the corresponding functional modules, and will not be repeated here.

[0131] It should be understood that the device provided in this embodiment is used to execute the above-described vehicle screen display method, and therefore can achieve the same effect as the above-described implementation method.

[0132] When using an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing program code, etc.

[0133] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits as disclosed in this application. The processor may also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and microprocessors, etc., and the storage module may be a memory.

[0134] In addition, the device provided in the embodiments of this application may specifically be a chip, component or module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute a vehicle screen display method provided in the above embodiments.

[0135] This application also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, it causes the computer to execute the above-described related method steps to implement the vehicle screen display method provided in the above embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, Digital Video Discs (DVDs), Compact Disc Read-Only Memory (CD-ROMs), microdrives, and magneto-optical disks, read-only memory (ROMs), random access memory (RAMs), erasable programmable read-only memory (EPROMs), electrically erasable programmable read-only memory (EEPROMs), dynamic random access memory (DRAMs), video random access memory (VRAMs), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and / or data.

[0136] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement the vehicle screen display method provided in the above embodiments.

[0137] The vehicle, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0138] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0139] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0140] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0141] The embodiments described above are merely illustrative of several implementation methods outlined in this specification. While the descriptions are specific and detailed, they should not be construed as limiting the scope of the solutions provided in this specification. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this specification, and these all fall within the scope of protection of this specification. Therefore, the scope of protection for this patent should be determined by the appended claims.

Claims

1. A method for displaying information on a vehicle screen, characterized in that, include: The target display status of the camera device configured in the vehicle is obtained on the target screen. The target display status is determined based on the status information of the vehicle and is associated with the content display of the camera device. Determine the current display state of the camera device on the target screen; If the target display state is inconsistent with the current display state, then a cumulative count is performed using a hysteresis counter; When the accumulated count reaches a preset threshold, the current display state is updated to the target display state so as to process the image content corresponding to the camera device on the target screen.

2. The method according to claim 1, characterized in that, The acquisition of the target display status of the camera device configured in the vehicle on the target screen includes: Obtain the power information corresponding to the vehicle; In response to the power information instructing the vehicle to start, the camera device is subjected to fault detection to obtain fault information; Determine the theme information configured for the target screen; By combining the power information, the theme information, and the fault information, the target display status corresponding to the camera device is determined.

3. The method according to claim 2, characterized in that, The fault detection of the camera device to obtain fault information includes: Determine the runtime of the camera device and the cold start time window corresponding to the start of the camera device; If the runtime is within the preset cold start time window, the first timeout threshold is used for fault detection to obtain the fault information. If the runtime exceeds the cold start time window, a second timeout threshold is used for fault detection. If the first timeout threshold is greater than the second timeout threshold, the fault information is obtained.

4. The method according to claim 3, characterized in that, The method further includes: The vehicle's surroundings are temperature-sensing to obtain the ambient temperature. The first timeout threshold and / or the second timeout threshold are adjusted based on the ambient temperature, wherein the lower the ambient temperature, the larger the corresponding timeout threshold.

5. The method according to claim 1, characterized in that, The step of updating the current display state to the target display state when the accumulated count reaches a preset threshold includes: When the accumulated count reaches a preset threshold, a transparency gradient process is triggered. The transparency gradient process adjusts the rendering transparency value frame by frame, gradually changing from the current transparency value corresponding to the current display state to the target transparency value corresponding to the target display state. The current display state is updated to the target display state based on the transparency gradient process.

6. The method according to claim 5, characterized in that, The step of updating the current display state to the target display state based on the transparency gradient process includes: If the transparency gradient process is a fade-in process, then frame data is continuously obtained from the frame queue, and the texture of the frame data is uploaded for rendering. In the fade-in process, the current display state is a hidden state, the target display state is a display state, and the rendering transparency value increases frame by frame. If the transparency gradient process is a fade-out process, the target frame texture before fade-out is retained, and the acquisition of frame data from the frame queue is paused. After the rendering transparency value indicates transparency, the frame queue is cleared and the video stream input is stopped. In the fade-out process, the current display state is the display state, the target display state is the hidden state, and the rendering transparency value decreases frame by frame.

7. The method according to claim 5, characterized in that, The transparency gradient process is executed based on a gradient step size, and the configuration process of the gradient step size includes: Obtain the preset target gradient transition time; Determine the rendering frame rate of the target screen in the current display mode; The number of rendering frames is determined based on the target gradient transition time and the rendering frame rate; The rendering transparency value is divided according to the number of rendering frames to determine the gradient step size.

8. The method according to claim 6, characterized in that, The configuration process corresponding to the rendering transparency value includes: Obtain the number of frames that have been gradientd and the total number of frames that have been gradientd in the transparency gradient process; The gradation progress is obtained by proportionally calculating the number of frames that have already been graded and the total number of frames that have been graded. Based on the gradient progress, the rendering transparency value of the current frame is calculated according to a preset nonlinear curve function. The data change rate at the beginning and end of the nonlinear curve function is less than the data change rate in the middle segment.

9. The method according to any one of claims 1-8, characterized in that, The method further includes: When acquiring frame data to be rendered, the frame data is structurally parsed to determine the validity flag field of the frame data. The validity flag field is configured based on the fade-out process and is used to indicate whether the frame data is allowed to be rendered. If the validity flag field indicates invalidity, then rendering of the corresponding frame data is stopped.

10. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor is configured to call and run the executable program code from the memory, causing the vehicle to perform the vehicle screen display method as described in any one of claims 1 to 9.