Head unit black screen software redundancy lighting method, device, equipment and storage medium

By storing the task code in the vehicle computer and switching tasks when the display screen is black, the problem of the instrument screen being black while the vehicle is driving is solved, ensuring the normal display of the instrument and improving driving safety.

CN119590214BActive Publication Date: 2025-10-14VOYAH AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411726601.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-10-14
Estimated Expiration
2044-11-28

AI Technical Summary

Technical Problem

While the vehicle was driving, the instrument screen went black due to a malfunction in the vehicle computer SoC, posing a serious threat to the lives of people in the vehicle.

Method used

Get all the tasks of the current vehicle computer, store the task codes in different areas of the vehicle computer memory, execute the current task and the task to be jumped to in time slices, switch to the task to be jumped to when the display screen is detected to be black, and restore the current task display after the task is running normally.

Benefits of technology

It effectively avoids the problem of instrument black screen caused by vehicle SoC failure during driving, ensures normal display of the instrument, and improves user driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119590214B_ABST
    Figure CN119590214B_ABST
Patent Text Reader

Abstract

The application discloses a car machine black screen software redundancy lighting method and device, equipment and storage medium, the method is through obtaining all tasks of the current car machine, the code of all tasks is stored in different areas of the car machine memory, the current task and the task to be jumped are executed in time slice, when it is detected that the display screen of the current car machine is in a black screen state, the current task corresponding to the black screen state is switched off, and the code of the task to be jumped is executed, after it is detected that the current task is normally operated, the current task is continuously executed, and the current task is displayed on the display screen, which can effectively avoid the problem that the MCU cannot light the instrument due to the car machine SoC failure in the driving process, ensures normal display of the instrument when the vehicle instrument appears a black screen failure, and improves the safety of user driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle computer fault processing, and in particular to a method, device, equipment and storage medium for redundancy lighting of a vehicle computer black screen software. Background Art

[0002] As automobile iterations become faster and faster, the hardware and software functions of vehicle controllers are also iterating at an accelerated pace. The mainstream vehicle controller solution on the market adopts the Microcontroller Unit (MCU) + System on Chip (SoC) design. The MCU is responsible for the instrument display part, and the SoC is responsible for the audio and video entertainment system, but the logic between them involves many aspects of interaction. According to fault statistics, most instrument black screens are caused by SoC system failures. When a certain fault occurs, the vehicle instrument and audio and video entertainment system will have a black screen. When a black screen appears while the vehicle is driving, it can seriously threaten the lives of people in the car. Summary of the Invention

[0003] The main purpose of the present invention is to provide a method, device, equipment and storage medium for redundancy lighting of the black screen software of a vehicle computer, aiming to solve the technical problem in the prior art that a black screen appears on the vehicle instrument during driving, which seriously threatens the life safety of people in the vehicle.

[0004] In a first aspect, the present invention provides a method for lighting up a vehicle computer black screen with software redundancy, the method comprising the following steps:

[0005] Obtain all tasks of the current vehicle computer and store the codes of all tasks in different areas of the vehicle computer memory;

[0006] Execute the current task and the task to be jumped to in time slices. When it is detected that the display screen of the current vehicle computer is in a black screen state, switch the current task corresponding to the black screen state and execute the code of the task to be jumped to;

[0007] After detecting that the current task is running normally, continuing to execute the current task, and displaying the current task on the display screen.

[0008] Optionally, the acquiring of all tasks of the current vehicle computer and storing the codes of all tasks in different areas of the vehicle computer memory include:

[0009] Get all tasks of the current vehicle computer, including currently executed tasks, tasks to be jumped to, and unexecuted tasks;

[0010] A RAM shared data area is established for the currently executed task and the task to be jumped to, and all the codes are stored in different areas of the vehicle computer memory ROM.

[0011] Optionally, the code for executing the current task and the task to be jumped to in time slices, switching the current task corresponding to the black screen state and executing the task to be jumped to when detecting that the display screen of the current vehicle computer is in a black screen state, includes:

[0012] Start executing the code entry points of the current task and the task to be jumped to, and execute the codes of the current task and the task to be jumped to in time slices;

[0013] When detecting that the display screen of the current vehicle computer is in a black screen state, checking the code running state of the current task causing the display screen to be black;

[0014] When the code running state is faulty or abnormal, the current task is switched and the code of the task to be jumped is executed.

[0015] Optionally, when the code running state is faulty or abnormal, switching the current task and executing the code of the task to be jumped to includes:

[0016] When the code running state is faulty or abnormal, selecting a task with a higher priority from the tasks to be jumped to as a target task;

[0017] The code of the target task is executed, and the target task is displayed on the display screen.

[0018] Optionally, after detecting that the current task is running normally, continuing to execute the current task, and before the display screen displays the current task, the vehicle computer black screen software redundant lighting method further includes:

[0019] Real-time detection or detection according to a preset detection period to determine whether the current task has returned to normal.

[0020] Optionally, after detecting that the current task is running normally, continuing to execute the current task and displaying the current task on the display screen includes:

[0021] After detecting that the current task is running normally, continue to execute the current task, display the current task on the display screen, and transfer the task to be jumped to the background for running.

[0022] Optionally, the display screen has at least two power supply controls.

[0023] In a second aspect, to achieve the above-mentioned purpose, the present invention further proposes a vehicle-mounted black screen software redundancy lighting device, the vehicle-mounted black screen software redundancy lighting device comprising:

[0024] A code storage module is configured to acquire all tasks of the current vehicle machine, and store the codes of the all tasks in different areas of a vehicle machine memory.

[0025] A task switching module is configured to execute the current task and the to-be-jumped task in time slices, and switch off the current task corresponding to the black screen state and execute the code of the to-be-jumped task when it is detected that the display screen of the current vehicle machine is in the black screen state.

[0026] A display module is configured to continue to execute the current task and display the current task on the display screen when it is detected that the current task is normally running.

[0027] In a third aspect, the present application also provides a vehicle machine black screen software redundancy lighting device, which comprises a memory, a processor, and a vehicle machine black screen software redundancy lighting program stored in the memory and executable on the processor, and the vehicle machine black screen software redundancy lighting program is configured to implement the steps of the vehicle machine black screen software redundancy lighting method.

[0028] In a fourth aspect, the present application also provides a storage medium, which stores a vehicle machine black screen software redundancy lighting program, and the vehicle machine black screen software redundancy lighting program implements the steps of the vehicle machine black screen software redundancy lighting method when executed by a processor.

[0029] The vehicle machine black screen software redundancy lighting method provided by the present application can effectively avoid the problem that the MCU cannot light up the instrument due to the vehicle machine SoC failure during the driving process, ensure the normal display of the instrument when the vehicle instrument appears a black screen failure, and improve the safety of user driving. BRIEF DESCRIPTION OF DRAWINGS

[0030] Figure 1 The device structure diagram of the hardware running environment involved in the embodiment scheme of the present application;

[0031] Figure 2 The flowchart of the first embodiment of the vehicle machine black screen software redundancy lighting method of the present application;

[0032] Figure 3 The flowchart of the second embodiment of the vehicle machine black screen software redundancy lighting method of the present application;

[0033] Figure 4 A flowchart of a third embodiment of the car machine black screen software redundancy lighting method of the present application is shown in the figure.

[0034] Figure 5 A code storage logic diagram in the car machine black screen software redundancy lighting method of the present application is shown in the figure.

[0035] Figure 6 A flowchart of a fourth embodiment of the car machine black screen software redundancy lighting method of the present application is shown in the figure.

[0036] Figure 7 A hardware control diagram in the car machine black screen software redundancy lighting method of the present application is shown in the figure.

[0037] Figure 8 A functional module diagram of a first embodiment of the car machine black screen software redundancy lighting device of the present application is shown in the figure.

[0038] The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0039] It should be understood that the specific embodiments described herein are merely intended to explain the present application and are not intended to limit the present application.

[0040] The solution of the embodiment of the present application is mainly: obtaining all tasks of the current car machine, storing the codes of all tasks in different areas of the car machine memory; executing the current task and the to-be-jumped task in time slices, when detecting that the display screen of the current car machine is in a black screen state, switching off the current task corresponding to the black screen state, and executing the code of the to-be-jumped task; after detecting that the current task is normally running, continuing to execute the current task, and displaying the current task on the display screen, which can effectively avoid the problem that the MCU cannot light up the instrument due to the car machine SoC failure during the driving process of the vehicle, ensure the normal display of the instrument when the vehicle instrument appears a black screen failure, improve the safety of user driving, and solve the technical problem that the vehicle instrument appears a black screen during the driving process in the prior art, which seriously threatens the life safety of the people in the vehicle.

[0041] Reference Figure 1 , Figure 1 A device structure diagram of a hardware running environment involved in the embodiment of the present application is shown in the figure.

[0042] As Figure 1As shown in the figure, the device can include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection communication between the components. The user interface 1003 can include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a Wi-Fi interface). The memory 1005 can be a high-speed RAM memory, or a stable memory (Non-Volatile Memory), such as a disk memory. The memory 1005 can also be an independent storage device from the aforementioned processor 1001.

[0043] Those skilled in the art can understand that Figure 1 The device structure shown in the figure does not constitute a limitation on the device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0044] As Figure 1 As shown, the memory 1005 as a storage medium can include an operation device, a network communication module, a user interface module, and a car machine black screen software redundant lighting program.

[0045] The device of the present application calls the car machine black screen software redundant lighting program stored in the memory 1005 through the processor 1001, and performs the following operations:

[0046] Obtain all tasks of the current car machine, and store the codes of all tasks in different areas of the car machine memory;

[0047] Execute the current task and the to-be-jumped task in time slices, and when it is detected that the display screen of the current car machine is in a black screen state, switch off the current task corresponding to the black screen state, and execute the code of the to-be-jumped task;

[0048] After detecting that the current task is running normally, continue to execute the current task, and display the current task on the display screen.

[0049] The device of the present application calls the car machine black screen software redundant lighting program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0050] Obtain all tasks of the current car machine, and the all tasks include a currently executed task, a to-be-jumped task, and an unexecuted task;

[0051] A RAM shared data area is established for the currently executed task and the task to be jumped to, and all the codes are stored in different areas of the vehicle computer memory ROM.

[0052] The device of the present invention calls the vehicle computer black screen software redundant lighting program stored in the memory 1005 through the processor 1001, and further performs the following operations:

[0053] Start executing the code entry points of the current task and the task to be jumped to, and execute the codes of the current task and the task to be jumped to in time slices;

[0054] When detecting that the display screen of the current vehicle computer is in a black screen state, checking the code running state of the current task causing the display screen to be black;

[0055] When the code running state is faulty or abnormal, the current task is switched and the code of the task to be jumped is executed.

[0056] The device of the present invention calls the vehicle computer black screen software redundant lighting program stored in the memory 1005 through the processor 1001, and further performs the following operations:

[0057] When the code running state is faulty or abnormal, selecting a task with a higher priority from the tasks to be jumped to as a target task;

[0058] The code of the target task is executed, and the target task is displayed on the display screen.

[0059] The device of the present invention calls the vehicle computer black screen software redundant lighting program stored in the memory 1005 through the processor 1001, and further performs the following operations:

[0060] Real-time detection or detection according to a preset detection period to determine whether the current task has returned to normal.

[0061] The device of the present invention calls the vehicle computer black screen software redundant lighting program stored in the memory 1005 through the processor 1001, and further performs the following operations:

[0062] After detecting that the current task is running normally, continue to execute the current task, display the current task on the display screen, and transfer the task to be jumped to the background for running.

[0063] The device of the present invention calls the vehicle computer black screen software redundant lighting program stored in the memory 1005 through the processor 1001, and further performs the following operations:

[0064] The display screen has at least two power supply controls.

[0065] The embodiment obtains all tasks of a current car machine, stores codes of the all tasks in different areas of a car machine memory, executes current tasks and to-be-jumped tasks in time slices, switches off the current tasks corresponding to a black screen state of the current car machine when detecting that the display screen of the current car machine is in the black screen state, executes codes of the to-be-jumped tasks, continues to execute the current tasks after detecting that the current tasks are normally running, and displays the current tasks on the display screen. The problem that an MCU cannot light up an instrument due to a car machine SoC fault during vehicle driving is effectively avoided, the instrument is normally displayed when the vehicle instrument appears a black screen fault, and the safety of user driving is improved.

[0066] Based on the above hardware structure, the car machine black screen software redundancy lighting method embodiment of the present application is proposed.

[0067] Reference Figure 2 , Figure 2 The flowchart of the first embodiment of the car machine black screen software redundancy lighting method of the present application is shown.

[0068] In the first embodiment, the car machine black screen software redundancy lighting method includes the following steps:

[0069] Step S10, all tasks of a current car machine are obtained, and codes of the all tasks are stored in different areas of a car machine memory.

[0070] It should be noted that all tasks of a current car machine are obtained, and codes of the all tasks are stored in different areas of a car machine memory.

[0071] Step S20, current tasks and to-be-jumped tasks are executed in time slices, the current tasks corresponding to a black screen state of the current car machine are switched off when detecting that the display screen of the current car machine is in the black screen state, and codes of the to-be-jumped tasks are executed.

[0072] It should be understood that a time slice is a pre-set time period, and one round of time slice can be set to 50 ms, of course, it can also be set to other values according to actual conditions, for example, 10 ms, 30 ms, 65 ms, etc., and the embodiment does not limit this.

[0073] It can be understood that the current task is a task that is being executed by the car machine of the current vehicle, and the to-be-jumped task is a pre-set task for backup jumping after the current task has a problem. When detecting that the display screen of the current car machine is in a black screen state, the current task corresponding to the black screen state can be switched off, and the code of the to-be-jumped task is executed.

[0074] Step S30, after detecting that the current task is normally running, the current task is continued to be executed, and the current task is displayed on the display screen.

[0075] It can be understood that after detecting that the current task is running normally, the current task can be continued to be executed, and the current task is displayed on the display screen.

[0076] The embodiment can effectively avoid the problem that the MCU cannot light up the instrument due to the SoC fault of the vehicle machine during the driving process, ensure the normal display of the instrument when the vehicle instrument appears a black screen fault, and improve the safety of user driving.

[0077] Further, Figure 3 As shown in FIG. 6, the second embodiment of the vehicle machine black screen software redundancy lighting method is proposed based on the first embodiment, and in the embodiment, the step S10 specifically includes the following steps. Figure 3

[0078] Step S11, all tasks of the current vehicle machine are acquired, and the all tasks include a current execution task, a task to be jumped, and a non-execution task.

[0079] It should be noted that all tasks of the current vehicle machine are tasks corresponding to all programs pre-set in the vehicle machine, and the all tasks include a current execution task, a task to be jumped, and a non-execution task.

[0080] Step S12, a RAM shared data area of the current execution task and the task to be jumped is established, and all codes are stored in different areas of the vehicle machine memory ROM.

[0081] It can be understood that the random access memory (RAM) shared data area of the current execution task and the task to be jumped is established, and all codes can be stored in different areas of the vehicle machine solid-state semiconductor memory (Read Only Memory, ROM).

[0082] ​Through the above scheme, this embodiment obtains all tasks of the current vehicle computer, including currently executed tasks, tasks to be jumped to, and unexecuted tasks; establishes a RAM shared data area for the currently executed tasks and the tasks to be jumped to, and stores all the codes in different areas of the vehicle computer memory ROM; can store task codes in advance, effectively avoiding the problem of the MCU being unable to light up the instrument due to a vehicle computer SoC failure during driving, and improves the speed and efficiency of redundant lighting of the vehicle computer black screen software.

[0083] Further, Figure 4 This is a flow chart of the third embodiment of the vehicle computer black screen software redundant lighting method of the present invention, as shown in FIG. Figure 4 As shown, based on the first embodiment, a third embodiment of the vehicle computer black screen software redundant lighting method of the present invention is proposed. In this embodiment, step S20 specifically includes the following steps:

[0084] Step S21 : Start executing the code entry points of the current task and the task to be jumped to, and execute the codes of the current task and the task to be jumped to in time slices.

[0085] It should be noted that after the code entry points for executing the current task and the task to be jumped to are started, the codes of the current task and the task to be jumped to may be executed in time slices.

[0086] Step S22: When it is detected that the display screen of the current vehicle computer is in a black screen state, the code running state of the current task causing the display screen to be black is checked.

[0087] It is understandable that when it is detected that the display screen of the current vehicle computer is in a black screen state, the code running status of the current task causing the display screen to be black can be checked in time.

[0088] Step S23: When the code running state is faulty or abnormal, the current task is switched and the code of the task to be jumped to is executed.

[0089] It should be understood that when the code running state is faulty or abnormal, the current task can be switched out in time, thereby executing the code of the task to be jumped to.

[0090] Furthermore, the step S23 specifically includes the following steps:

[0091] When the code running state is faulty or abnormal, selecting a task with a higher priority from the tasks to be jumped to as a target task;

[0092] The code of the target task is executed, and the target task is displayed on the display screen.

[0093] It can be understood that when the code running state is failure or exception, a task with high priority can be selected from the to-be-jumped tasks as the target task; generally, the task with the highest priority is selected, and of course, the task most suitable for the current use scenario can also be selected as the target task, and the embodiment does not limit this, the code of the target task is executed, and the target task is displayed on the display screen.

[0094] Correspondingly, before the step S20, the car machine black screen software redundancy lighting method further includes the following steps:

[0095] Real-time detection or detection according to a preset detection period whether the current task has been restored to normal.

[0096] In specific implementation, referring to Figure 5 , Figure 5 The code storage logic diagram in the car machine black screen software redundancy lighting method of the application is shown in Figure 5 The second part of the scheme is specifically as follows: A realizes complete function logic, and B realizes necessary instrument function logic (independent of the SoC, only receiving necessary signals such as vehicle speed, rotating speed, gear, ready, partial fault light, partial function indicator light, etc.); when A fails, jump to B to work, and when A completes initialization and restores to normal, preferentially jump from B to A. The RAM shared data area of A and B tasks is established.

[0097] Generally, two codes are stored in different regions of the ROM: code A is stored in the starting address 0x0000 to 0x1FFF of the ROM;

[0098] Code B is stored in another region of the ROM, such as 0x2000 to 0x2FFF (for the simplified version of code A).

[0099] Start-up process: at start-up, the entry points of code A and code B start to execute in time slices, and under normal circumstances, the instrument display only displays the A state. During the execution of code A, the running state of code A is checked regularly; if it is detected that code A fails or is abnormal, the core will switch the instrument display code B state. If it is detected that A runs normally or performs other fault handling operations.

[0100] Task management: each code instance can be regarded as a task; a task switching mechanism can be designed, so that the core can switch between two tasks under certain conditions (such as task priority change, resource demand, etc.); this may involve saving and restoring the context (such as register value, stack pointer, etc.) of the task.

[0101] Through the above scheme, this embodiment starts the code entry points for executing the current task and the task to be jumped to, and executes the codes of the current task and the task to be jumped to in time slices; when it is detected that the display screen of the current vehicle computer is in a black screen state, the code running status of the current task that causes the display screen to be black is checked; when the code running status is a fault or an abnormality, the current task is switched out and the code of the task to be jumped to is executed; the current task can be quickly switched and jumped to other task codes, effectively avoiding the problem that the MCU cannot light up the instrument due to a vehicle computer SoC fault during driving, and improving the speed and efficiency of redundant lighting of the vehicle computer black screen software.

[0102] Further, Figure 6 This is a flow chart of the fourth embodiment of the vehicle computer black screen software redundant lighting method of the present invention, as shown in FIG. Figure 6 As shown, based on the first embodiment, a fourth embodiment of the vehicle computer black screen software redundant lighting method of the present invention is proposed. In this embodiment, step S30 specifically includes the following steps:

[0103] Step S31: After detecting that the current task is running normally, continue to execute the current task, display the current task on the display screen, and transfer the task to be jumped to the background for running.

[0104] It should be noted that after detecting that the current task is running normally, the current task continues to be executed, the current task is displayed on the display screen, and the task to be jumped is transferred to the background for running.

[0105] In a specific implementation, the display screen has at least two power supply controls, see Figure 7 , Figure 7 This is a schematic diagram of hardware control in the vehicle computer black screen software redundant lighting method of the present invention, as shown in FIG. Figure 7 As shown in the figure, the instrument backlight is redundantly designed and a power supply control is added to improve the reliability and stability of the system. Reliable switching between two tasks (A and B) is achieved to ensure seamless switching to task B when task A fails. When task A completes initialization and returns to normal, it can jump from task B to task A first, ensuring the continuous normal operation of the instrument system. At the same time, specific logical control of the instrument function by different tasks is realized. An additional control channel is added in the hardware, and the MCU selects the power source according to the fault control.

[0106] Through the above scheme, this embodiment starts the code entry points for executing the current task and the task to be jumped to, and executes the codes of the current task and the task to be jumped to in time slices; when it is detected that the display screen of the current vehicle computer is in a black screen state, the code running status of the current task that causes the display screen to be black is checked; when the code running status is a fault or an abnormality, the current task is switched off and the code of the task to be jumped to is executed. After detecting that the current task is normal, the execution of the current task can be quickly resumed, which can effectively avoid the problem that the MCU cannot light up the instrument due to a vehicle computer SoC fault during driving of the vehicle, and when a black screen fault occurs on the vehicle instrument, the normal display of the instrument is guaranteed, thereby improving the driving safety of the user.

[0107] Accordingly, the present invention further provides a vehicle computer black screen software redundant lighting device.

[0108] Reference Figure 8 , Figure 8 This is a functional module diagram of the first embodiment of the vehicle computer black screen software redundant lighting device of the present invention.

[0109] In a first embodiment of the vehicle computer black screen software redundancy lighting device of the present invention, the vehicle computer black screen software redundancy lighting device includes:

[0110] The code storage module 10 is used to obtain all tasks of the current vehicle computer and store the codes of all the tasks in different areas of the vehicle computer memory.

[0111] The task switching module 20 is used to execute the current task and the task to be jumped in time slices. When it is detected that the display screen of the current vehicle computer is in a black screen state, the current task corresponding to the black screen state is switched and the code of the task to be jumped is executed.

[0112] The display module 30 is configured to continue executing the current task and display the current task on the display screen after detecting that the current task is running normally.

[0113] The code storage module 10 is also used to obtain all tasks of the current vehicle computer, including currently executed tasks, tasks to be jumped to, and unexecuted tasks; establish a RAM shared data area for the currently executed tasks and the tasks to be jumped to, and store all the codes in different areas of the vehicle computer memory ROM.

[0114] The task switching module 20 is also used to start the code entry points for executing the current task and the task to be jumped to, and execute the codes of the current task and the task to be jumped to in time slices; when it is detected that the display screen of the current vehicle computer is in a black screen state, check the code running status of the current task that causes the display screen to be black; when the code running status is a fault or an abnormality, switch the current task and execute the code of the task to be jumped to.

[0115] The task switching module 20 is further configured to select a task with a higher priority from the tasks to be jumped to as a target task when the code running status is faulty or abnormal; execute the code of the target task, and display the target task on the display screen.

[0116] The task switching module 20 is further configured to detect in real time or according to a preset detection period whether the current task has returned to normal.

[0117] The display module 30 is further configured to, after detecting that the current task is running normally, continue to execute the current task, display the current task on the display screen, and transfer the task to be jumped to the background for execution.

[0118] The display module 30 is also used to control at least two power supplies for the display screen.

[0119] Among them, the steps implemented by each functional module of the vehicle computer black screen software redundant lighting device can refer to the various embodiments of the vehicle computer black screen software redundant lighting method of the present invention, and will not be repeated here.

[0120] In addition, an embodiment of the present invention further provides a storage medium, on which is stored a vehicle computer black screen software redundant lighting program. When the vehicle computer black screen software redundant lighting program is executed by a processor, the following operations are implemented:

[0121] Obtain all tasks of the current vehicle computer and store the codes of all tasks in different areas of the vehicle computer memory;

[0122] Execute the current task and the task to be jumped to in time slices. When it is detected that the display screen of the current vehicle computer is in a black screen state, switch the current task corresponding to the black screen state and execute the code of the task to be jumped to;

[0123] After detecting that the current task is running normally, continuing to execute the current task, and displaying the current task on the display screen.

[0124] Furthermore, when the vehicle computer black screen software redundant lighting program is executed by the processor, the following operations are also implemented:

[0125] acquire all tasks of the current car machine, the all tasks including a current execution task, a to-be-jumped task and an unexecuted task;

[0126] establish a RAM shared data area of the current execution task and the to-be-jumped task, and store all codes in different areas of a car machine memory ROM.

[0127] Further, the car machine black screen software redundancy lighting program, when executed by the processor, further implements the following operations:

[0128] start an execution code entry point of the current task and the to-be-jumped task, and execute the current task and the to-be-jumped task in time slices;

[0129] when detecting that the display screen of the current car machine is in a black screen state, check a code running state of a current task causing the display screen to be black;

[0130] when the code running state is a fault or an exception, switch off the current task and execute a code of the to-be-jumped task.

[0131] Further, the car machine black screen software redundancy lighting program, when executed by the processor, further implements the following operations:

[0132] when the code running state is a fault or an exception, select a task with a high priority from the to-be-jumped task as a target task;

[0133] execute a code of the target task and display the target task in the display screen.

[0134] Further, the car machine black screen software redundancy lighting program, when executed by the processor, further implements the following operations:

[0135] real-time detect or detect according to a preset detection period whether the current task has recovered to normal.

[0136] Further, the car machine black screen software redundancy lighting program, when executed by the processor, further implements the following operations:

[0137] after detecting that the current task is running normally, continue to execute the current task, display the current task in the display screen, and transfer the to-be-jumped task to run in the background.

[0138] Further, the car machine black screen software redundancy lighting program, when executed by the processor, further implements the following operations:

[0139] the display screen has at least two power supply controls.

[0140] Those skilled in the art can understand that all or part of the steps of the methods in the above embodiments can be completed by instructing the relevant hardware through a program stored in a storage medium, and the program includes a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage medium is a computer readable storage medium, including: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0141] It should be noted that in this document, the terms "comprising", "containing" or any other variant thereof are intended to cover non-exclusive inclusions, so that a process, method, article or apparatus that includes a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of other identical elements in the process, method, article or apparatus that includes the element.

[0142] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0143] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, which is made by using the content of the specification and drawings of the present application, is also included in the patent protection scope of the present application.

Claims

1. A method for lighting up a black screen of a vehicle with software redundancy, characterized in that: The vehicle computer black screen software redundant lighting method includes: Obtain all tasks of the current vehicle computer and store the codes of all tasks in different areas of the vehicle computer memory; Execute the current task and the task to be jumped to in time slices. When it is detected that the display screen of the current vehicle computer is in a black screen state, switch the current task corresponding to the black screen state and execute the code of the task to be jumped to; After detecting that the current task is running normally, continuing to execute the current task and displaying the current task on the display screen; The code for executing the current task and the task to be jumped to in the time slice, switching the current task corresponding to the black screen state and executing the task to be jumped to when detecting that the display screen of the current vehicle computer is in a black screen state, includes: Start executing the code entry points of the current task and the task to be jumped to, and execute the codes of the current task and the task to be jumped to in time slices; When detecting that the display screen of the current vehicle computer is in a black screen state, checking the code running state of the current task causing the display screen to be black; When the code running state is faulty or abnormal, the current task is switched and the code of the task to be jumped is executed.

2. The vehicle computer black screen software redundant lighting method according to claim 1, characterized in that: The step of obtaining all tasks of the current vehicle computer and storing the codes of all tasks in different areas of the vehicle computer memory includes: Get all tasks of the current vehicle computer, including currently executed tasks, tasks to be jumped to, and unexecuted tasks; A RAM shared data area is established for the currently executed task and the task to be jumped to, and all the codes are stored in different areas of the vehicle computer memory ROM.

3. The vehicle computer black screen software redundant lighting method according to claim 1, characterized in that: When the code running state is faulty or abnormal, switching the current task and executing the code of the task to be jumped to includes: When the code running state is faulty or abnormal, selecting a task with a higher priority from the tasks to be jumped to as a target task; The code of the target task is executed, and the target task is displayed on the display screen.

4. The vehicle computer black screen software redundant lighting method according to claim 1, characterized in that: After detecting that the current task is running normally, continuing to execute the current task, and before the display screen displays the current task, the vehicle computer black screen software redundant lighting method further includes: Real-time detection or detection according to a preset detection period to determine whether the current task has returned to normal.

5. The vehicle computer black screen software redundant lighting method according to claim 1, characterized in that: After detecting that the current task is running normally, continuing to execute the current task and displaying the current task on the display screen includes: After detecting that the current task is running normally, continue to execute the current task, display the current task on the display screen, and transfer the task to be jumped to the background for running.

6. The vehicle computer black screen software redundant lighting method according to claim 1, characterized in that: The display screen has at least two power supply controls.

7. A vehicle computer black screen software redundant lighting device, characterized in that: The vehicle computer black screen software redundant lighting device includes: A code storage module is used to obtain all tasks of the current vehicle computer and store the codes of all the tasks in different areas of the vehicle computer memory; A task switching module is used to execute the current task and the task to be jumped to in time slices. When it is detected that the display screen of the current vehicle computer is in a black screen state, the current task corresponding to the black screen state is switched and the code of the task to be jumped to is executed; A display module is used to continue executing the current task and display the current task on the display screen after detecting that the current task is running normally; The task switching module is also used to start the code entry points for executing the current task and the task to be jumped to, and execute the codes of the current task and the task to be jumped to in time slices; when it is detected that the display screen of the current vehicle computer is in a black screen state, check the code running status of the current task that causes the display screen to be black; when the code running status is a fault or abnormality, switch the current task and execute the code of the task to be jumped to.

8. A vehicle computer black screen software redundant lighting device, characterized in that: The vehicle-computer black screen software redundant lighting device includes: a memory, a processor, and a vehicle-computer black screen software redundant lighting program stored in the memory and runnable on the processor. The vehicle-computer black screen software redundant lighting program is configured to implement the steps of the vehicle-computer black screen software redundant lighting method as described in any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium stores a vehicle computer black screen software redundant lighting program, and when the vehicle computer black screen software redundant lighting program is executed by the processor, the steps of the vehicle computer black screen software redundant lighting method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Display screen blank screen detection method, display screen blank screen detection equipment and vehicle

    CN115933230A

  • Blank screen processing method and system for picture of in-vehicle infotainment system

    CN117389770A