Intelligent cabin car infotainment restarting method, device and equipment and readable storage medium

By obtaining the real -time power status information of the SOC of the smart cockpit machine system, the target power supply status is determined, and the mandatory shutdown and restart of the target power supply are solved, which solves the problem of cold restaurant, extend the service life of the hard disk and improves the stability of the system.

CN119377009APending Publication Date: 2025-01-28ECARX TECHNOLOGY PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411416697.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

In the prior art, the smart cockpit car system can easily cause a cold restart of the SOC when restarting, which may damage the hard disk of the car machine or shorten its service life.

Method used

By obtaining the real -time power status information of the system SOC on the film, determine the target power status of the SOC. If the SOC is in a startup state, it is forced to shut down. After the SOC is in a shutdown state, the restart movement is performed to avoid cold restart.

Benefits of technology

Effectively prevent SOC's cold resolutions, reduce the risk of hard disk damage and use life reduction caused by cold retrieval, and enhance the stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119377009A_ABST
    Figure CN119377009A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent cabin car infotainment restarting method, device and equipment and a readable storage medium, and relates to the technical field of car infotainment control, and the method comprises the steps: when a restarting instruction is received, obtaining the real-time power state information of a system-on-chip (SOC); determining a target power supply state of the SOC based on the real-time power supply state information; if it is monitored that the target power supply state of the SOC is in a power-on state, the SOC is controlled to be powered off forcibly; and after the SOC is in the power-off state, restarting operation is executed, so that restarting of the intelligent cabin car infotainment is achieved. According to the method and the device, the problem of cold restart of the SOC can be prevented, so that damage to peripheral equipment such as a vehicle machine hard disk caused by cold restart is avoided, the service life of the vehicle machine hard disk can be effectively prolonged, the risk of data loss and system failure caused by damage to the hard disk is reduced, and the system stability is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle computer control technology, and specifically to a smart cockpit vehicle computer restart method, device, equipment and readable storage medium. Background Art

[0002] With the continuous development of automobile intelligence, the smart cockpit system has become an important part of the car, which can realize various functions including navigation, entertainment, communication, etc. Among them, the smart cockpit system is composed of a complex system, including core system control chips such as SOC (System on Chip), MCU (Microcontroller Unit), and many peripherals such as hard disk, WIFI (wireless network communication technology), USB (Universal Serial Bus), etc. However, in actual use, the smart cockpit system may need to be restarted due to abnormal faults or human operation.

[0003] In the related technology, common forms of vehicle computer power management include the vehicle computer SOC power relying on the MCU to pull up and the SOC and MCU power being independent. Among them, when the vehicle computer needs to be restarted, for the scenario where the SOC power relies on the MCU to pull up, the MCU will call its own reset interface to complete the MCU restart, but it is equivalent to the SOC experiencing a power-off and restart process; and for the scenario where the SOC and MCU power are independent, the MCU usually completes the restart first, and then directly restarts the SOC by pulling the GPIO (General-Purpose Input / Output).

[0004] It should be understood that when the vehicle computer is in the power-on state, if a restart is required, then the above two restart scenarios are equivalent to a cold restart of the SOC; and this cold restart method has certain hidden dangers for complex vehicle computer systems, because the direct power loss caused by the cold restart does not conform to the normal power-off process of the vehicle computer, so in the long run it may cause damage to peripherals such as the vehicle computer hard disk or shorten the service life. It can be seen that how to prevent the SOC from cold restarting to avoid damage to peripherals such as the vehicle computer hard disk or shorten the service life due to the cold restart is a problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a smart cockpit vehicle computer restart method, device, equipment and readable storage medium, which can solve the technical problem in the prior art that the vehicle computer hard disk and other peripherals are damaged or the service life is shortened due to the cold restart of the SOC.

[0006] In a first aspect, an embodiment of the present application provides a smart cockpit vehicle restart method, the smart cockpit vehicle restart method comprising:

[0007] When a restart command is received, real-time power status information of the system on chip SOC is obtained;

[0008] Determining a target power state of the SOC based on the real-time power state information;

[0009] If it is detected that the target power state of the SOC is in the power-on state, controlling the SOC to be forced to shut down;

[0010] After the SOC is in a shutdown state, a restart action is performed to restart the smart cockpit vehicle computer.

[0011] In combination with the first aspect, in an implementation manner, before the step of determining the target power state of the SOC based on the real-time power state information, the method further includes:

[0012] Determining whether the power state of the SOC is in a switching state according to the real-time power state information, the switching state being any one of a first switching state corresponding to entering a power-on state from a power-off state, a second switching state corresponding to entering a power-on state from a standby state, a third switching state corresponding to entering a power-off state from a power-on state, and a fourth switching state corresponding to entering a standby state from a power-on state;

[0013] If yes, wait for the power state switching of the SOC to be completed to generate new real-time power state information, and perform the step of determining the target power state of the SOC based on the real-time power state information based on the new real-time power state information;

[0014] If not, the step of determining the target power state of the SOC based on the real-time power state information is performed.

[0015] In combination with the first aspect, in an implementation manner, after the step of determining the target power state of the SOC based on the real-time power state information, the method further includes:

[0016] If it is monitored that the target power state of the SOC is in the shutdown state, the step of executing the restart action is performed.

[0017] In combination with the first aspect, in an implementation manner, after the step of determining the target power state of the SOC based on the real-time power state information, the method further includes:

[0018] If it is monitored that the target power state of the SOC is in the standby state, the step of executing the restart action is performed.

[0019] In combination with the first aspect, in one implementation, the real-time power state information includes level states corresponding to power signals read by two general purpose input and output ports GPIO, and determining the target power state of the SOC based on the real-time power state information includes:

[0020] When the level states corresponding to the power signals read by the two GPIOs are both high level, it is determined that the target power state of the SOC is the power-on state;

[0021] When the level state corresponding to the power signal read by one of the GPIOs is a low level and the level state corresponding to the power signal read by the other GPIO is a high level, determining that the target power state of the SOC is a standby state;

[0022] When the level states corresponding to the power signals read by the two GPIOs are both low levels, it is determined that the target power state of the SOC is the shutdown state.

[0023] In combination with the first aspect, in one implementation, the performing the restart action includes:

[0024] The micro control unit MCU is controlled to restart, so as to drive the SOC to restart.

[0025] In a second aspect, an embodiment of the present application provides a smart cockpit vehicle computer restart device, the smart cockpit vehicle computer restart device comprising:

[0026] An information acquisition module, which is used to obtain real-time power status information of the system on chip SOC when a restart instruction is received;

[0027] A state determination module, configured to determine a target power state of the SOC based on the real-time power state information;

[0028] The restart control module is used to control the SOC to force shutdown if it is detected that the target power state of the SOC is in the power-on state; after the SOC is in the power-off state, a restart action is executed to realize the restart of the smart cockpit vehicle computer.

[0029] In conjunction with the second aspect, in one implementation, the state determination module is further configured to:

[0030] Determining whether the power state of the SOC is in a switching state according to the real-time power state information, the switching state being any one of a first switching state corresponding to entering a power-on state from a power-off state, a second switching state corresponding to entering a power-on state from a standby state, a third switching state corresponding to entering a power-off state from a power-on state, and a fourth switching state corresponding to entering a standby state from a power-on state;

[0031] If yes, wait for the power state switching of the SOC to be completed to generate new real-time power state information, and perform the step of determining the target power state of the SOC based on the real-time power state information based on the new real-time power state information;

[0032] If not, the step of determining the target power state of the SOC based on the real-time power state information is performed.

[0033] In combination with the second aspect, in one implementation, the restart control module is further used to: if it is monitored that the target power state of the SOC is in a shutdown state, execute the step of executing the restart action.

[0034] In combination with the second aspect, in one implementation, the restart control module is further configured to: if it is monitored that the target power state of the SOC is in a standby state, execute the step of executing the restart action.

[0035] In combination with the second aspect, in one implementation, the real-time power state information includes level states corresponding to power signals read by two general purpose input and output ports GPIO, and the state determination module is specifically used to:

[0036] When the level states corresponding to the power signals read by the two GPIOs are both high level, it is determined that the target power state of the SOC is the power-on state;

[0037] When the level state corresponding to the power signal read by one of the GPIOs is a low level and the level state corresponding to the power signal read by the other GPIO is a high level, determining that the target power state of the SOC is a standby state;

[0038] When the level states corresponding to the power signals read by the two GPIOs are both low levels, it is determined that the target power state of the SOC is the shutdown state.

[0039] In combination with the second aspect, in one implementation, the restart control module is specifically used to: control the micro control unit MCU to restart, so as to drive the SOC to restart.

[0040] In the third aspect, an embodiment of the present application provides a smart cockpit vehicle computer restart device, which includes a processor, a memory, and a smart cockpit vehicle computer restart program stored in the memory and executable by the processor, wherein when the smart cockpit vehicle computer restart program is executed by the processor, the steps of the smart cockpit vehicle computer restart method as described above are implemented.

[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a smart cockpit vehicle computer restart program is stored. When the smart cockpit vehicle computer restart program is executed by a processor, the steps of the smart cockpit vehicle computer restart method as described above are implemented.

[0042] The beneficial effects brought by the technical solution provided in the embodiments of the present application include:

[0043] When a restart command is received, the SOC will not be restarted directly. Instead, the real-time power status information of the system on chip SOC is obtained to determine whether the power status of the SOC is in the on state. If it is in the on state, the SOC is forced to shut down, and the restart action is performed after the SOC is in the off state to prevent the SOC from cold restarting. This can avoid damage to peripherals such as the vehicle hard disk due to a cold restart, thereby effectively extending its service life and reducing the risk of data loss and system failure due to hard disk damage, so as to enhance system stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 This is a flow chart of an embodiment of a method for restarting a smart cockpit vehicle computer of the present application;

[0045] Figure 2 A communication diagram corresponding to different restart sources involved in the embodiment of the present application;

[0046] Figure 3 A schematic diagram of a specific process of restarting the smart cockpit vehicle computer involved in the embodiment of the present application;

[0047] Figure 4 This is a functional module diagram of an embodiment of the smart cockpit vehicle restart device of the present application;

[0048] Figure 5 This is a schematic diagram of the hardware structure of the smart cockpit vehicle computer restart device involved in the embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0051] In a first aspect, an embodiment of the present application provides a method for restarting a smart cockpit vehicle computer.

[0052] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of an embodiment of the smart cockpit vehicle restart method of this application. Figure 1 As shown, the smart cockpit vehicle restart method includes:

[0053] Step N10: When a restart instruction is received, real-time power status information of the system on chip SOC is obtained.

[0054] For example, it can be understood that for the vehicle system of the smart cockpit DHU, common restart sources usually include external ECU (Electronic Control Unit), diagnostic restart, SOC and MCU; among them, see Figure 2 As shown, when the external ECU is the restart source, SWSM (Steering Wheel Switch Module, which is responsible for managing and controlling the various switches and button functions on the steering wheel) will inform the MCU to long press the square control button to restart through the bus LIN (Local Interconnect Network) signal; when the restart source is a diagnostic restart, VGM (Vehicle Gateway Module, which is responsible for transmitting and managing data between different electronic control units of the vehicle) will send a diagnostic restart command to the MCU or SOC through Ethernet for restart; when the SOC is the restart source, that is, the SOC has an abnormality, the SOC will inform the MCU to restart by controlling the power-related GPIO; and when the MCU is the restart source, the MCU itself will restart the SOC by controlling the power-related GPIO after detecting some abnormality.

[0055] For the above different restart sources, the MCU and SOC in the vehicle system interact through two directly connected GPIOs. Therefore, the MCU in this embodiment can determine the current power state of the SOC through two input GPIOs (such as SLP_S3 and SLP_S5), and control the power state of the SOC through the output GPIO. Figure 3 As shown, when the MCU receives the restart command, it will monitor the SOC power state, that is, read the level state corresponding to the power signal output by the SOC through GPIO to form real-time power state information, thereby providing a data basis for the control of the SOC power state.

[0056] Step N20: Determine the target power state of the SOC based on the real-time power state information.

[0057] Exemplarily, it should be understood that a cold restart usually means directly cutting off the power supply and then powering it on again without shutting down the system normally, which will not only cause the status of the vehicle computer (such as memory, network connection, disk status, etc.) to be completely reset, and then cause all running programs and data to be lost, but also because direct power loss does not conform to the normal power-off process of the vehicle computer, it may cause damage to peripherals such as hard disks or shorten their service life in the long run. Therefore, in order to prevent the SOC from having a cold restart problem, the MCU in this embodiment will first determine the target power state of the current SOC according to the level state corresponding to the power signal read by different GPIOs in the real-time power state information when receiving the restart instruction, and then decide whether to directly perform the restart action on the SOC.

[0058] Further, in one embodiment, the real-time power state information includes level states corresponding to power signals read by two general purpose input and output ports GPIO, and determining the target power state of the SOC based on the real-time power state information includes:

[0059] When the level states corresponding to the power signals read by the two GPIOs are both high level, it is determined that the target power state of the SOC is the power-on state;

[0060] When the level state corresponding to the power signal read by one of the GPIOs is a low level and the level state corresponding to the power signal read by the other GPIO is a high level, determining that the target power state of the SOC is a standby state;

[0061] When the level states corresponding to the power signals read by the two GPIOs are both low levels, it is determined that the target power state of the SOC is the shutdown state.

[0062] Exemplarily, in this embodiment, the MCU will determine the current target power state of the SOC through the two input GPIOs (such as SLP_S3 and SLP_S5) directly connected to the SOC, that is, when the level states corresponding to the power signals read by SLP_S3 and SLP_S5 are both high, the target power state of the SOC is determined to be the power-on state; when the level state corresponding to the power signal read by SLP_S3 is low and the level state corresponding to the power signal read by SLP_S5 is high, the target power state of the SOC is determined to be the standby state (i.e., STR); when the level states corresponding to the power signals read by SLP_S3 and SLP_S5 are both low, the target power state of the SOC is determined to be the power-off state. Specifically, the power-on state (S0): SLP_S3 high level and SLP_S5 high level; the standby state (S3): SLP_S3 low level and SLP_S5 high level; the power-off state (S5): SLP_S3 low level and SLP_S5 low level.

[0063] Step N30: ​​If it is detected that the target power state of the SOC is in the power-on state, the SOC is controlled to be forcibly shut down.

[0064] For example, see Figure 3 As shown, in order to prevent the SOC from cold restarting, when the MCU receives the restart command, once it detects that the target power state of the SOC is in the power-on state, it will decide not to directly restart the SOC, but to force the SOC to shut down first, so as to achieve the logout and shutdown of the vehicle system and hardware preparation. Specifically, during the forced shutdown process, the vehicle will log out of the current user session and close all running programs and processes, thereby ensuring that the data is properly saved or closed, which is crucial to protecting the data integrity of peripherals such as hard disks; and before completely cutting off the power, the vehicle will also send necessary signals to peripherals such as hard disks to put them into a safe state. For example, the read / write head of the hard disk will be returned to a safe area to reduce wear and tear during the next startup.

[0065] Step N40: After the SOC is in the shutdown state, a restart action is performed to restart the smart cockpit vehicle computer.

[0066] For example, see Figure 3 As shown, after the MCU executes the SOC forced shutdown process, when the SOC is in the shutdown state, the MCU will start to control its own restart and drive the SOC to restart, so as to effectively prevent the SOC from having a cold restart problem, thereby avoiding damage to peripherals such as the vehicle hard disk due to a cold restart, thereby effectively extending its service life and reducing the risk of data loss and system failure due to hard disk damage, so as to enhance system stability.

[0067] Furthermore, in one embodiment, the executing the restart action includes:

[0068] The micro control unit MCU is controlled to restart, so as to drive the SOC to restart.

[0069] For example, in this embodiment, for the scenario where the power of the SOC depends on the MCU to pull up, when the SOC is in the shutdown state, the MCU calls its own reset interface to complete the MCU restart, which will not cause the SOC to cold restart problem; and for the scenario where the power of the SOC and the MCU are independent of each other, when the SOC is in the shutdown state, the MCU controls itself to complete the restart, and finally restarts the SOC by pulling the GPIO, which will not cause the SOC to cold restart problem.

[0070] Furthermore, in one embodiment, before the step of determining the target power state of the SOC based on the real-time power state information, the method further includes:

[0071] Determining whether the power state of the SOC is in a switching state according to the real-time power state information, the switching state being any one of a first switching state corresponding to entering a power-on state from a power-off state, a second switching state corresponding to entering a power-on state from a standby state, a third switching state corresponding to entering a power-off state from a power-on state, and a fourth switching state corresponding to entering a standby state from a power-on state;

[0072] If yes, wait for the power state switching of the SOC to be completed to generate new real-time power state information, and perform the step of determining the target power state of the SOC based on the real-time power state information based on the new real-time power state information;

[0073] If not, the step of determining the target power state of the SOC based on the real-time power state information is performed.

[0074] Exemplarily, it is understandable that the power state of the SOC is not in a single state, but also in a switching state, such as entering the power-on state S0 from the power-off state S5, entering the power-on state S0 from the standby state S3, entering the power-off state S5 from the power-on state S0, and entering the standby state S3 from the power-on state S0. In this embodiment, the above switching states are defined as follows: S5->S0: cold start, the process of entering the power-on state from the power-off state; S3->S0: STR exit, the process of entering the power-on state from the standby state; S0->S5: the process of entering the power-off state from the power-on state; S0->S3: the process of entering the standby state from the power-on state.

[0075] It should be understood that when the car computer is shut down or in standby mode, it is often necessary to ensure that all important data is properly saved, and storage devices such as hard disks will perform a series of protection operations. Therefore, if a sudden restart is performed during the process of switching from the power-on state to the power-off state or the standby state (i.e., during the shutdown or standby process), it will not only cause data loss or file system damage, thereby affecting the normal operation of the car computer, but also interrupt the protection operations of the hard disk, etc., thereby increasing the risk of hard disk damage; in addition, the system status (such as data in the memory, the status of peripherals, etc.) needs to be gradually updated and synchronized during the power state switching process. If the restart is performed before the switching is completed, it may cause inconsistent system status, and then cause problems such as startup failure or abnormal operation; of course, the power management module will also adjust the voltage and current during the switching process to ensure the stable operation of the hardware; therefore, if the restart is performed before the switching is completed, the power management module may not work properly, thereby affecting the life and stability of the hardware.

[0076] Therefore, see Figure 3 As shown, in order to ensure data integrity, system stability, hardware protection, etc., this embodiment will also determine whether the power state of the SOC is in switching according to the real-time power state information before determining whether the SOC can be directly restarted, that is, whether the power state of the SOC is in any one of the four switching states of S5->S0, S3->S0, S0->S5 and S0->S3; if so, wait for the SOC power state switching to be completed, and then determine the target power state of the current SOC based on the real-time power state information corresponding to the completion of the switching; if not, directly determine the target power state of the current SOC according to the real-time power state information obtained in step N10.

[0077] Furthermore, in one embodiment, after the step of determining the target power state of the SOC based on the real-time power state information, the method further includes:

[0078] If it is monitored that the target power state of the SOC is in the shutdown state, the step of executing the restart action is performed.

[0079] For example, it is understandable that when the SOC is in the shutdown state, it means that the vehicle computer has completed the system logout and shutdown, file system synchronization and hardware preparation operations, and restarting the SOC at this time will not cause the SOC to have a cold start problem. Figure 3 As shown, in this embodiment, when the target power state of the SOC is detected to be in the shutdown state, the MCU itself will directly execute the restart operation and drive the SOC to restart, so as to avoid damage to peripherals such as the vehicle hard disk or shortening of the service life due to a cold restart.

[0080] Furthermore, in one embodiment, after the step of determining the target power state of the SOC based on the real-time power state information, the method further includes:

[0081] If it is monitored that the target power state of the SOC is in the standby state, the step of executing the restart action is performed.

[0082] For example, it can be understood that when the SOC is in standby mode, it means that the vehicle computer has completed operations such as proper storage of important data, system status synchronization, and hardware protection. Restarting the SOC at this time will not cause the SOC to have a cold start problem. Figure 3 As shown, in this embodiment, when the target power state of the SOC is detected to be in the standby state, the MCU itself will directly execute the restart operation and drive the SOC to restart, so as to avoid damage to peripherals such as the vehicle hard disk or reduction in service life due to a cold restart.

[0083] This embodiment will take the following restart process as an example to explain the restart method of the smart cockpit vehicle computer.

[0084] Step P1: The restart source triggers the restart process (ie, receives a restart instruction) and enters step P2.

[0085] Step P2: monitor the SOC power state to determine whether the current SOC power state is in the S0 state; if so, proceed to step P3, if not, proceed to step P4.

[0086] Step P3: The current SOC power state is the power-on state, first execute the forced fast shutdown process, and then enter step P9.

[0087] Step P4: Determine whether the current SOC power state is in S5->S0 or S3->S0; if so, proceed to step P5, if not, proceed to step P6.

[0088] Step P5: The current vehicle system is in the middle of migrating to the power-on state. You need to wait for the migration to be completed before entering step P3.

[0089] Step P6: Determine whether the current SOC power state is in S0->S5 or S0->S3; if so, proceed to step P7, if not, proceed to step P9.

[0090] Step P7: The current vehicle system is in the middle of migrating to the shutdown or standby state. It is necessary to wait for the migration to be completed before entering step P8.

[0091] Step P8: Determine whether the current SOC executes the S0->S5 or S0->S3 process successfully; if so, proceed to step P9; if not, proceed to step P3.

[0092] Step P9: Determine whether the current SOC power state is in the S5 state or the S3 state; if so, proceed to step P10, if not, proceed to step P2.

[0093] Step P10: The vehicle computer system is currently in shutdown or standby mode, and the hard disk and other peripherals have all been powered off normally. At this time, a restart action is performed and the process proceeds to step P11.

[0094] Step P11: Restart is complete and the process ends.

[0095] In summary, in order to avoid the potential risk of damage to hard disks and other peripherals or shortened service life due to cold restart, this embodiment performs different processing actions according to the different power states at that time before executing the restart action on the smart cockpit vehicle computer, that is, first manage the power of the vehicle computer, so that the vehicle computer enters a stable shutdown or standby state before executing the restart action. It can be understood that this embodiment can be applied to vehicle computer systems with various different power management forms, and supports differentiated processing of restart operations performed on different restart sources according to needs, with high compatibility and flexibility.

[0096] In a second aspect, an embodiment of the present application also provides a smart cockpit vehicle computer restart device.

[0097] In one embodiment, referring to Figure 4 , Figure 4 This is a functional module diagram of an embodiment of the smart cockpit vehicle restart device of this application. Figure 4 As shown, the smart cockpit vehicle restart device includes:

[0098] An information acquisition module, which is used to obtain real-time power status information of the system on chip SOC when a restart instruction is received;

[0099] A state determination module, configured to determine a target power state of the SOC based on the real-time power state information;

[0100] The restart control module is used to control the SOC to force shutdown if it is detected that the target power state of the SOC is in the power-on state; after the SOC is in the power-off state, a restart action is executed to realize the restart of the smart cockpit vehicle computer.

[0101] Furthermore, in one embodiment, the state determination module is further configured to:

[0102] Determining whether the power state of the SOC is in a switching state according to the real-time power state information, the switching state being any one of a first switching state corresponding to entering a power-on state from a power-off state, a second switching state corresponding to entering a power-on state from a standby state, a third switching state corresponding to entering a power-off state from a power-on state, and a fourth switching state corresponding to entering a standby state from a power-on state;

[0103] If yes, wait for the power state switching of the SOC to be completed to generate new real-time power state information, and perform the step of determining the target power state of the SOC based on the real-time power state information based on the new real-time power state information;

[0104] If not, the step of determining the target power state of the SOC based on the real-time power state information is performed.

[0105] Furthermore, in one embodiment, the restart control module is further configured to: if it is detected that the target power state of the SOC is in a shutdown state, execute the step of executing the restart action.

[0106] Furthermore, in one embodiment, the restart control module is further configured to: if it is detected that the target power state of the SOC is in a standby state, execute the step of executing the restart action.

[0107] Further, in one embodiment, the real-time power state information includes level states corresponding to power signals read by two general purpose input and output ports GPIO, and the state determination module is specifically used to:

[0108] When the level states corresponding to the power signals read by the two GPIOs are both high level, it is determined that the target power state of the SOC is the power-on state;

[0109] When the level state corresponding to the power signal read by one of the GPIOs is a low level and the level state corresponding to the power signal read by the other GPIO is a high level, determining that the target power state of the SOC is a standby state;

[0110] When the level states corresponding to the power signals read by the two GPIOs are both low levels, it is determined that the target power state of the SOC is the shutdown state.

[0111] Furthermore, in one embodiment, the restart control module is specifically used to control the micro control unit MCU to restart, so as to drive the SOC to restart.

[0112] Among them, the functional implementation of each module in the above-mentioned smart cockpit vehicle computer restart device corresponds to the various steps in the above-mentioned smart cockpit vehicle computer restart method embodiment, and its functions and implementation processes will not be repeated here one by one.

[0113] In a third aspect, an embodiment of the present application provides a smart cockpit vehicle computer restart device, which may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.

[0114] Reference Figure 5 , Figure 5 Schematic diagram of the hardware structure of the smart cockpit vehicle restart device involved in the embodiment of the present application. In the embodiment of the present application, the smart cockpit vehicle restart device may include a processor, a memory, a communication interface and a communication bus.

[0115] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0116] The communication interface includes input / output (I / O) interface, physical interface and logical interface, etc., which are used to realize the interconnection of devices inside the smart cockpit vehicle restart device, and the interface used to realize the interconnection between the smart cockpit vehicle restart device and other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.; the user device can be a display (Display), a keyboard (Keyboard), etc.

[0117] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0118] The processor may be a general-purpose processor, which may call the smart cockpit vehicle restart program stored in the memory and execute the smart cockpit vehicle restart method provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the smart cockpit vehicle restart program is called may refer to the various embodiments of the smart cockpit vehicle restart method of the present application, which will not be described in detail here.

[0119] Those skilled in the art will understand that Figure 5The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0120] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.

[0121] The readable storage medium of the present application stores a smart cockpit vehicle computer restart program, wherein when the smart cockpit vehicle computer restart program is executed by the processor, the steps of the smart cockpit vehicle computer restart method as described above are implemented.

[0122] Among them, the method implemented when the smart cockpit vehicle computer restart program is executed can refer to the various embodiments of the smart cockpit vehicle computer restart method of the present application, and will not be repeated here.

[0123] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0124] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0125] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0126] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0127] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0128] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0129] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for restarting a smart cockpit vehicle, characterized in that: The smart cockpit vehicle restart method includes: When a restart command is received, real-time power status information of the system on chip SOC is obtained; Determining a target power state of the SOC based on the real-time power state information; If it is detected that the target power state of the SOC is in the power-on state, controlling the SOC to be forced to shut down; After the SOC is in a shutdown state, a restart action is performed to restart the smart cockpit vehicle computer.

2. The smart cockpit vehicle restart method according to claim 1, characterized in that: Before the step of determining the target power state of the SOC based on the real-time power state information, the method further includes: Determining whether the power state of the SOC is in a switching state according to the real-time power state information, the switching state being any one of a first switching state corresponding to entering a power-on state from a power-off state, a second switching state corresponding to entering a power-on state from a standby state, a third switching state corresponding to entering a power-off state from a power-on state, and a fourth switching state corresponding to entering a standby state from a power-on state; If yes, wait for the power state switching of the SOC to be completed to generate new real-time power state information, and perform the step of determining the target power state of the SOC based on the real-time power state information based on the new real-time power state information; If not, the step of determining the target power state of the SOC based on the real-time power state information is performed.

3. The smart cockpit vehicle restart method according to claim 1, characterized in that: After the step of determining the target power state of the SOC based on the real-time power state information, the method further includes: If it is monitored that the target power state of the SOC is in the shutdown state, the step of executing the restart action is performed.

4. The smart cockpit vehicle restart method according to claim 1, characterized in that: After the step of determining the target power state of the SOC based on the real-time power state information, the method further includes: If it is monitored that the target power state of the SOC is in the standby state, the step of executing the restart action is performed.

5. The smart cockpit vehicle restart method according to claim 1, characterized in that: The real-time power state information includes level states corresponding to power signals read by two general purpose input and output ports GPIO, and determining the target power state of the SOC based on the real-time power state information includes: When the level states corresponding to the power signals read by the two GPIOs are both high level, it is determined that the target power state of the SOC is the power-on state; When the level state corresponding to the power signal read by one of the GPIOs is a low level and the level state corresponding to the power signal read by the other GPIO is a high level, determining that the target power state of the SOC is a standby state; When the level states corresponding to the power signals read by the two GPIOs are both low levels, it is determined that the target power state of the SOC is the shutdown state.

6. The smart cockpit vehicle restart method according to claim 1, characterized in that: The executing restart action includes: The micro control unit MCU is controlled to restart, so as to drive the SOC to restart.

7. A smart cockpit vehicle restart device, characterized in that: The smart cockpit vehicle restart device comprises: An information acquisition module, which is used to obtain real-time power status information of the system on chip SOC when a restart instruction is received; A state determination module, configured to determine a target power state of the SOC based on the real-time power state information; The restart control module is used to control the SOC to force shutdown if it is detected that the target power state of the SOC is in the power-on state; after the SOC is in the power-off state, a restart action is executed to realize the restart of the smart cockpit vehicle computer.

8. The intelligent cockpit vehicle restart device according to claim 7, characterized in that: The state determination module is also used for: Determining whether the power state of the SOC is in a switching state according to the real-time power state information, the switching state being any one of a first switching state corresponding to entering a power-on state from a power-off state, a second switching state corresponding to entering a power-on state from a standby state, a third switching state corresponding to entering a power-off state from a power-on state, and a fourth switching state corresponding to entering a standby state from a power-on state; If yes, wait for the power state switching of the SOC to be completed to generate new real-time power state information, and perform the step of determining the target power state of the SOC based on the real-time power state information based on the new real-time power state information; If not, the step of determining the target power state of the SOC based on the real-time power state information is performed.

9. A smart cockpit vehicle restart device, characterized in that: The smart cockpit vehicle computer restart device includes a processor, a memory, and a smart cockpit vehicle computer restart program stored in the memory and executable by the processor. When the smart cockpit vehicle computer restart program is executed by the processor, the steps of the smart cockpit vehicle computer restart method as described in any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a smart cockpit vehicle computer restart program, wherein when the smart cockpit vehicle computer restart program is executed by the processor, the steps of the smart cockpit vehicle computer restart method according to any one of claims 1 to 6 are implemented.