Control method and device of vehicle-mounted power supply, electronic equipment and storage medium

By deploying the main computing unit and auxiliary computing unit in the autonomous driving vehicle, the vehicle power supply is stable controlled by using multiple judgments on vehicle driving status information, the problem of instability of on-vehicle power control is solved, and the safety and reliability of the autonomous driving system is improved. sex.

CN119160113APending Publication Date: 2024-12-20BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411035173.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In the prior art, the on-board power control of the vehicle is not stable and reliable enough, and it is prone to abnormal shutdown of the automatic driving system due to accidental touch or failure, affecting driving safety.

Method used

By deploying the main computing unit and the auxiliary computing unit in the vehicle, the vehicle driving status information is used to determine whether to turn off the on-board power supply, ensuring that the power is turned off or turned on under preset conditions, avoiding accidentally triggering the shutdown request, and realizing the main computing unit and asynchronous shutdown of auxiliary computing units.

Benefits of technology

Improve the control stability and reliability of the on-board power supply, prevent the wrong vehicle shutdown caused by accidental triggering of shutdown, and ensure driving safety and driving stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119160113A_ABST
    Figure CN119160113A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device of a vehicle-mounted power supply, electronic equipment and a storage medium, and relates to the field of artificial intelligence, in particular to the field of automatic driving. The method comprises the steps of obtaining first driving state information of a vehicle in response to a shutdown request for a vehicle-mounted power supply; the first driving state information represents the current driving state of the vehicle acquired by a main calculation unit in the vehicle; when the main calculation unit is controlled to stop running according to the first running state information, second running state information of the vehicle is obtained; wherein the second driving state information represents the current driving state, obtained by an auxiliary calculation unit in the vehicle, of the vehicle; and when it is determined that the vehicle-mounted power supply needs to be turned off according to the second driving state information, the auxiliary calculation unit is controlled to stop running, and the vehicle-mounted power supply is turned off.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of autonomous driving in the field of artificial intelligence, and in particular to a control method, device, electronic device and storage medium for a vehicle-mounted power supply. Background Art

[0002] When the vehicle is driving, the reliability and stability of the vehicle power supply will directly affect the driving safety of the vehicle. If the user accidentally touches the power switch or the power cable fails, the vehicle power supply will be turned off, causing the vehicle to be out of control.

[0003] How to control the vehicle-mounted power supply stably and reliably is a problem that needs to be solved urgently. Summary of the invention

[0004] The present disclosure provides a method and device for controlling a vehicle power supply, an electronic device, and a storage medium.

[0005] According to a first aspect of the present disclosure, a method for controlling a vehicle power supply is provided, the method comprising:

[0006] In response to a shutdown request for the vehicle power supply, first driving state information of the vehicle is obtained; wherein the first driving state information represents the current driving state of the vehicle obtained by a main computing unit in the vehicle;

[0007] When the main computing unit is controlled to stop running according to the first driving state information, second driving state information of the vehicle is obtained; wherein the second driving state information represents the current driving state of the vehicle obtained by the auxiliary computing unit in the vehicle;

[0008] When it is determined according to the second driving state information that the vehicle power supply needs to be turned off, the auxiliary computing unit is controlled to stop running, and the vehicle power supply is turned off.

[0009] According to a second aspect of the present disclosure, a control device for a vehicle-mounted power supply is provided, the device comprising:

[0010] A first acquisition unit, configured to acquire first driving state information of the vehicle in response to a shutdown request for the vehicle power supply; wherein the first driving state information represents a current driving state of the vehicle acquired by a main computing unit in the vehicle;

[0011] a second acquisition unit, configured to acquire second driving state information of the vehicle when the main computing unit is controlled to stop running according to the first driving state information; wherein the second driving state information represents the current driving state of the vehicle acquired by the auxiliary computing unit in the vehicle;

[0012] The power shut-off unit is used to control the auxiliary computing unit to stop running and shut down the vehicle power supply when it is determined that the vehicle power supply needs to be shut down according to the second driving state information.

[0013] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0014] at least one processor; and

[0015] a memory communicatively coupled to the at least one processor;

[0016] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect of the present disclosure.

[0017] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method according to the first aspect of the present disclosure.

[0018] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, which implements the steps of the method described in the first aspect of the present disclosure when executed by a processor.

[0019] According to a sixth aspect of the present disclosure, a vehicle is provided, comprising the microcontroller unit described in the first aspect of the present disclosure; the microcontroller unit, an on-board power supply, a main computing unit, and an auxiliary computing unit are deployed on the vehicle.

[0020] According to the technology disclosed in the present invention, the control stability and reliability of the vehicle-mounted power supply are improved.

[0021] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0023] Figure 1 is a flow chart of a method for controlling a vehicle power supply according to an embodiment of the present disclosure;

[0024] Figure 2 is a schematic diagram of the structure of a vehicle-mounted computing platform provided according to an embodiment of the present disclosure;

[0025] Figure 3 is a flow chart of a method for controlling a vehicle power supply according to an embodiment of the present disclosure;

[0026] Figure 4 is a flow chart of a method for controlling a vehicle power supply according to an embodiment of the present disclosure;

[0027] Figure 5 is a flow chart of a method for controlling a vehicle power supply according to an embodiment of the present disclosure;

[0028] Figure 6 is a structural block diagram of a vehicle-mounted power supply control device provided according to an embodiment of the present disclosure;

[0029] Figure 7 is a structural block diagram of a vehicle-mounted power supply control device provided according to an embodiment of the present disclosure;

[0030] Figure 8 is a block diagram of an electronic device for implementing the control method of the vehicle power supply of the embodiment of the present disclosure;

[0031] Fig. 9 The block diagram is a block diagram of an electronic device used to implement the vehicle power supply control method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0032] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0033] In an autonomous vehicle, the vehicle power supply can be affected by the switch level of the vehicle. When the level is high, the vehicle power supply is turned on, and when the level is low, the vehicle power supply is turned off. For example, after the driver gets in the car and turns on the one-touch start button, a constant voltage of about 13V will appear on the cable of the vehicle power supply. After the MCU (Microcontroller Unit) detects this voltage, it turns on the vehicle power supply, and the vehicle power supply will supply power to each unit module on the vehicle; when the one-touch start button is turned off, 0V voltage appears on the cable. After the MCU detects this voltage, it sends a shutdown command to each unit module, exits all currently running applications, and then cuts off the vehicle power supply.

[0034] However, when the autonomous driving system has a cable connection problem, for example, the cable is abnormally disconnected, the vehicle power supply will also be shut down. If the vehicle is currently performing an autonomous driving task, a very serious traffic accident may occur. Alternatively, when the cable is abnormally disturbed, for example, the cable surface is damaged and contacts other metal parts of the vehicle body, the voltage on the cable may also become low for a period of time, causing the autonomous driving system to shut down abnormally. Or, when a logical error occurs inside the MCU, the shutdown command is mistakenly issued, causing an abnormal shutdown.

[0035] In other words, the current control of the vehicle's power supply is not stable and reliable enough. When some unexpected fault conditions occur, the vehicle's automatic driving system may be abnormally shut down, causing serious consequences for driving safety.

[0036] The present disclosure provides a control method, device, electronic device and storage medium for a vehicle power supply, which are applied to the field of autonomous driving in the field of artificial intelligence to achieve stable and reliable control of the vehicle power supply.

[0037] It should be noted that the data in this embodiment is not targeted at a specific user and cannot reflect the personal information of a specific user. It should be noted that the data in this embodiment comes from a public data set.

[0038] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0039] In order to enable readers to more deeply understand the implementation principle of the present disclosure, the following Figure 1-Figure 9 The embodiment is further refined.

[0040] Figure 1 FIG. 1 is a flow chart of a method for controlling a vehicle power supply according to an embodiment of the present disclosure, and the method can be executed by a control device for a vehicle power supply. Figure 1 As shown, the method comprises the following steps:

[0041] S101. In response to a request to shut down the vehicle power supply, obtain first driving state information of the vehicle; wherein the first driving state information represents the current driving state of the vehicle obtained by a main computing unit in the vehicle.

[0042] For example, a vehicle is equipped with an onboard computing platform, which is the hardware core for realizing the vehicle's autonomous driving function. The reliability and stability of the power supply in the onboard computing platform will directly affect driving safety. If there is a power problem or unexpected shutdown, the vehicle may be directly out of control.

[0043] The vehicle computing platform can be deployed with MCU, vehicle power supply, main computing unit, and auxiliary computing unit, that is, the vehicle is deployed with MCU, vehicle power supply, main computing unit, and auxiliary computing unit, etc. The MCU is used to manage the power on and off of the vehicle, and the vehicle power supply is used to power the vehicle, which is the main power supply of the vehicle computing platform. The main computing unit is used to control the automatic driving function of the vehicle, and the auxiliary computing unit is the backup computing unit of the main computing unit. When the main computing unit fails, the auxiliary computing unit can take over the work of the main computing unit.

[0044] When the vehicle power supply needs to be cut off, the vehicle responds to the shutdown request for the vehicle power supply. Specifically, the MCU in the vehicle may respond to the shutdown request for the vehicle power supply. For example, the user touches the IGN (Ignition) off button on the vehicle and issues a shutdown request. After responding to the shutdown request of the vehicle power supply, the main computing unit and the auxiliary computing unit may be controlled to stop working. The main computing unit may be controlled to stop working first, and then the auxiliary computing unit may be controlled to stop working. When the main computing unit is controlled to stop working, the first driving state information of the vehicle may be obtained through the main computing unit. The first driving state information represents the current driving state of the vehicle obtained by the main computing unit. For example, the driving state may refer to the vehicle speed, driving direction, window switch state, etc. The MCU may instruct the main computing unit to obtain the first driving state information. After receiving the instruction of the MCU, the main computing unit obtains the current driving state information of the vehicle in real time as the first driving state information. The main computing unit may send the first driving state information to the MCU in real time so that the MCU obtains the first driving state information.

[0045] S102. When the main computing unit is controlled to stop running according to the first driving state information, second driving state information of the vehicle is obtained; wherein the second driving state information represents the current driving state of the vehicle obtained by the auxiliary computing unit in the vehicle.

[0046] Exemplarily, the main computing unit may send the first driving state information to the MCU, and the MCU determines whether to shut down the main computing unit according to the first driving state information. For example, it may be determined whether the first driving state information includes a preset first identification information, and the preset first identification information may indicate that the main computing unit currently needs to be shut down. If it includes, the main computing unit may be controlled to stop running; if it does not include, the main computing unit may be controlled to run normally.

[0047] In this embodiment, controlling the main computing unit to stop running according to the first driving state information includes: if it is determined that the first driving state information meets a preset shutdown condition, controlling the main computing unit to stop running.

[0048] Specifically, after receiving the first driving state information, the MCU can determine whether the first driving state information meets the preset shutdown condition. The main computing unit can also determine whether the first driving state information meets the preset shutdown condition, and then send the judgment result to the MCU, so that the MCU can understand whether the first driving state information meets the preset shutdown condition. The shutdown condition is set in advance. For example, the shutdown condition can be that the vehicle speed is 0, that is, it is determined whether the current vehicle speed is 0. If so, the shutdown condition is met, and the main computing unit can be controlled to stop running; if not, the shutdown condition is not met, and the main computing unit continues to operate normally.

[0049] If the first driving state information does not meet the preset shutdown condition, it means that the vehicle power supply cannot be cut off at present, and the vehicle continues to drive according to the current state. For example, if the user mistakenly sends a shutdown request during the driving of the vehicle, the vehicle can continue to drive normally.

[0050] If the first driving state information meets the preset shutdown condition, the MCU can send a shutdown command to the main computing unit. The main computing unit receives the shutdown command and stops running, that is, the main computing unit is shut down. After the main computing unit is shut down, the MCU will detect a shutdown completion feedback signal, and then instruct the auxiliary computing unit to obtain the second driving state information.

[0051] That is to say, after the main computing unit is turned off, the auxiliary computing unit can obtain the second driving state information of the vehicle again, and the second driving state information is the current driving state of the vehicle obtained by the auxiliary computing unit. The MCU can instruct the auxiliary computing unit to obtain the second driving state information, and after receiving the instruction from the MCU, the auxiliary computing unit obtains the current driving state information of the vehicle in real time as the second driving state information. The auxiliary computing unit can also send the second driving state information to the MCU in real time, so that the MCU obtains the second driving state information.

[0052] S103: When it is determined according to the second driving state information that the vehicle power supply needs to be turned off, the auxiliary computing unit is controlled to stop running and the vehicle power supply is turned off.

[0053] Exemplarily, the auxiliary computing unit may send the second driving state information to the MCU, and the MCU determines whether to control the auxiliary computing unit to shut down. For example, it may be determined whether the second driving state information includes the preset second identification information, and the preset second identification information may indicate that the auxiliary computing unit currently needs to be shut down. If it is included, the auxiliary computing unit may be controlled to stop running; if it is not included, the auxiliary computing unit is controlled to run normally.

[0054] In this embodiment, determining that the vehicle power supply needs to be shut down according to the second driving state information includes: if it is determined that the second driving state information meets a preset shutdown condition, controlling the auxiliary computing unit to stop running.

[0055] Specifically, it is determined whether the second driving status information meets the preset shutdown condition. The auxiliary computing unit can also determine whether the second driving status information meets the preset shutdown condition, and then send the determination result to the MCU, so that the MCU can understand whether the second driving status information meets the preset shutdown condition.

[0056] If the second driving state information does not meet the preset shutdown condition, it means that the vehicle power supply cannot be cut off at present, and the vehicle continues to drive according to the current state. For example, if the user mistakenly sends a shutdown request while the vehicle is driving, the vehicle can continue to drive normally. However, the main computing unit has been turned off at this time, so the auxiliary computing unit can take over the main computing unit and control the automatic driving of the vehicle. That is, if it is determined that the second driving state information does not meet the preset shutdown condition, the auxiliary computing unit is controlled to take over the automatic driving task of the vehicle.

[0057] If the second driving state information meets the preset shutdown condition, the MCU can send a shutdown command to the auxiliary computing unit. The auxiliary computing unit receives the shutdown command and stops running, that is, the auxiliary computing unit is shut down. After the auxiliary computing unit is shut down, the MCU will detect a shutdown completion feedback signal. If the MCU receives the shutdown completion feedback signal from the auxiliary computing unit and determines that the auxiliary computing unit is shut down, the main power supply of the entire on-board computing platform can be turned off, that is, the on-board power supply is cut off, thereby completing the safe shutdown of the entire autonomous driving system.

[0058] In this embodiment, it also includes: if the switch level signal of the vehicle power supply is converted from a low level signal to a high level signal, the vehicle power supply is turned on; a first power-on instruction is sent to the main computing unit, and a second power-on instruction is sent to the auxiliary computing unit; wherein the first power-on instruction is used to control the main computing unit to start running, and the second power-on instruction is used to control the auxiliary computing unit to start running.

[0059] Specifically, the vehicle power supply in the vehicle computing platform is controlled by the key power of the vehicle. The key power can be represented as a switch connected to the vehicle power supply. When the level on the key power cable, that is, the switch level, is a high-level signal, the vehicle computing platform is turned on and the vehicle power supply is connected; when the level on the key power cable is a low-level signal, the vehicle computing platform is turned off and the vehicle power supply is cut off. When a shutdown request is issued, the level on the key power cable changes from a high-level signal to a low-level signal. When some unexpected fault conditions occur, the key power cable may also change to a low-level signal, for example, when the key power cable is disconnected or loose, or when the key power is strongly interfered with.

[0060] After the vehicle-mounted computing platform is turned off, the switch level signal of the vehicle-mounted power supply can continue to be detected in real time. If the switch level signal of the vehicle-mounted power supply is converted from a low-level signal to a high-level signal, the vehicle-mounted power supply can be turned on again. For example, the preset low-level signal is 0V, and the preset high-level signal is 13V. When a 13V voltage appears on the key cable, the MCU of the vehicle-mounted computing platform detects this voltage, turns on the vehicle-mounted power supply, and the vehicle-mounted power supply will re-power all unit modules such as the main computing unit and the auxiliary computing unit. The MCU can first turn on the vehicle power supply, then send a first power-on instruction to the main computing unit, and send a second power-on instruction to the auxiliary computing unit. The first power-on instruction is used to control the main computing unit to start running, and the second power-on instruction is used to control the auxiliary computing unit to start running. The MCU does not specifically limit the order of sending the first power-on instruction and sending the second power-on instruction. That is, when shutting down, the main computing unit is turned off first, and then the auxiliary computing unit is turned off. When starting up, the main computing unit and the auxiliary computing unit can be turned on at the same time.

[0061] The beneficial effect of this setting is that the switch of the vehicle computing platform can be controlled according to the level signal on the key cable, and step-by-step judgment can be made when shutting down to avoid wrong shutdown. When starting up, the main computing unit and the auxiliary computing unit can be directly turned on to improve the startup efficiency and thus enhance the driving experience.

[0062] Figure 2 This is a schematic diagram of the structure of the vehicle computing platform. Figure 2 In the system, the MCU is connected to the main computing unit, the auxiliary computing unit, and the vehicle power supply, respectively, and can control the switches of the main computing unit, the auxiliary computing unit, and the vehicle power supply. The vehicle power supply is connected to the main computing unit and the auxiliary computing unit, respectively, and can supply power to the main computing unit and the auxiliary computing unit.

[0063] In the disclosed embodiment, when a shutdown request is received, it can be determined whether the main computing unit meets the shutdown conditions. If so, the main computing unit is turned off. Then it is determined whether the auxiliary computing unit meets the shutdown conditions. If so, the auxiliary computing unit is turned off, and finally the main power supply is turned off. Through multiple judgments, the problem of erroneous shutdown of the vehicle caused by erroneous triggering of the shutdown request is avoided, and the control stability and reliability of the vehicle power supply are improved. In addition, the asynchronous shutdown of the main computing unit and the auxiliary computing unit is realized. Even if the main computing unit is shut down by mistake, the auxiliary computing unit can continue to control the driving, thereby improving the driving safety.

[0064] Figure 3 A schematic flow chart of a method for controlling a vehicle power supply provided in an embodiment of the present disclosure.

[0065] like Figure 3 As shown, the method comprises the following steps:

[0066] S301. In response to a request to shut down the vehicle power supply, obtain first driving state information of the vehicle; wherein the first driving state information represents the current driving state of the vehicle obtained by a main computing unit in the vehicle.

[0067] For example, the switch level signal of the vehicle power supply is obtained in real time, and the switch level signal can represent the on / off request of the vehicle power supply. If the switch level signal of the vehicle power supply is converted from a high level signal to a low level signal, it is determined that a shutdown request for the vehicle power supply is received, and the current driving state information of the vehicle is obtained through the main computing unit, which is the first driving state information. The driving state information includes the automatic driving task currently executed by the vehicle and the current speed of the vehicle.

[0068] Specifically, the switch level signal of the vehicle power supply can represent the on / off request of the vehicle power supply. For example, when the switch level signal of the vehicle power supply is converted from a high level signal to a low level signal, it indicates that a shutdown request has been issued; when the switch level signal of the vehicle power supply is converted from a low level signal to a high level signal, it indicates that a power-on request has been issued. For example, the preset high level signal is a 13V voltage signal, and the preset low level signal is a 0V voltage signal. The MCU of the vehicle computing platform can detect the switch level signal of the vehicle power supply in real time.

[0069] If the MCU in the vehicle detects that the switch level signal is converted from a preset high level signal to a preset low level signal, it is determined that a shutdown request for the vehicle power supply is received. The MCU can control the main computing unit to obtain the current driving state information of the vehicle as the first driving state information. The driving state information may include the automatic driving task currently performed by the vehicle and the current speed of the vehicle. For example, when the user clicks the one-key shutdown button, a 0V voltage appears on the cable. After the MCU detects this voltage, it notifies the main computing unit to obtain the first driving state information.

[0070] In this embodiment, the low-level signal indicates shutdown. When shutting down, the first driving state information is first obtained through the main computing unit to realize gradual shutdown of the main computing unit and the auxiliary computing unit to avoid accidental shutdown affecting driving safety.

[0071] S302. If it is determined that the first driving state information meets the preset shutdown condition, the main computing unit is controlled to stop running, and the second driving state information of the vehicle is obtained; wherein the second driving state information represents the current driving state of the vehicle obtained by the auxiliary computing unit.

[0072] Exemplarily, whether the first driving state information satisfies the preset shutdown condition can be determined by the MCU, or by the main computing unit and then notified to the MCU. If the MCU determines that the first driving state information satisfies the preset shutdown condition, the main computing unit can be controlled to stop running. After the MCU determines that the main computing unit is shut down, the second driving state information of the vehicle can be obtained through the auxiliary computing unit.

[0073] In this embodiment, determining that the first driving status information satisfies the preset shutdown condition includes: if it is determined based on the first driving status information that the vehicle is not currently performing an automatic driving task, and the current speed of the vehicle is a preset speed value, then determining that the first driving status information satisfies the preset shutdown condition.

[0074] Specifically, the first driving state information may include the current speed of the vehicle, and may also include whether the vehicle is currently performing an autonomous driving task. A speed value is preset, for example, the speed value is 0m / s, that is, the vehicle is stationary. According to the first driving state information, it is determined whether the vehicle is currently performing an autonomous driving task, and whether the value of the current speed of the vehicle is a preset speed value. If the vehicle is not currently performing an autonomous driving task, and the value of the current speed of the vehicle is a preset speed value, it is determined that the first driving state information meets the preset shutdown condition; if the vehicle is currently performing an autonomous driving task, or the value of the current speed of the vehicle is not a preset speed value, it is determined that the first driving state information does not meet the preset shutdown condition.

[0075] That is to say, when the vehicle is performing an autonomous driving task, for example, the vehicle is parking automatically, the vehicle's onboard computing platform should not be shut down at this time, and a shutdown request may be issued by mistake, and the main computing unit should not be shut down. Alternatively, if the vehicle is currently driving at high speed, the main computing unit should not be shut down.

[0076] The beneficial effect of such a setting is that the cable may be subjected to abnormal interference, or the cable surface may be damaged and contact other metal bodies of the vehicle body, or a logic error may occur inside the MCU, causing the switch level signal to become a low level signal or a shutdown request to be issued. By judging whether the first driving state information meets the shutdown condition, the main computing unit can be prevented from shutting down incorrectly, ensuring the normal driving of the vehicle and improving driving safety.

[0077] In this embodiment, controlling the main computing unit to stop running includes: obtaining the current switch level signal of the vehicle power supply, and controlling the main computing unit to stop running according to the current switch level signal of the vehicle power supply. For example, a voltage value may be preset, and if the voltage value represented by the current switch level signal is the preset voltage value, the main computing unit may be controlled to stop running; otherwise, the main computing unit may not be controlled to stop running.

[0078] In this embodiment, the main computing unit is controlled to stop running according to the current switch level signal of the vehicle power supply, including: if the current switch level signal is a low level signal, a first shutdown command is sent to the main computing unit; wherein the first shutdown command is used to control the main computing unit to stop running.

[0079] Specifically, after determining that the first driving status information meets the preset shutdown conditions, the MCU can issue a shutdown command to the main computing unit to control the main computing unit to stop running. The shutdown command issued by the MCU to the main computing unit is the first shutdown command. Before issuing the first shutdown command, the MCU can confirm again whether the current switch level signal is still the preset low-level signal. If so, it means that it is indeed necessary to shut down, and the first shutdown command is issued to the main computing unit; if not, it means that an accidental touch or failure may have occurred just now, causing the switch level signal to temporarily become a low-level signal, and there is no need to shut down, that is, there is no need to issue the first shutdown command to the main computing unit, and the on-board computing platform continues to operate normally.

[0080] After receiving the first shutdown command, the main computing unit shuts down the main computing unit and feeds back a shutdown completion message to the MCU. The MCU receives the feedback message from the main computing unit, determines that the main computing unit has completed the shutdown, and obtains the second driving state information through the auxiliary computing unit.

[0081] The beneficial effect of such a setting is that before issuing the first shutdown command, the switch level signal is confirmed again, thereby improving the control accuracy of the vehicle power supply, avoiding accidental shutdown, and improving driving safety.

[0082] In this embodiment, if the current switch level signal is a low level signal, a first shutdown command is sent to the main computing unit, including: if the current switch level signal is a low level signal, obtaining the vehicle's new first driving status information again; if it is determined that the new first driving status information meets the preset shutdown conditions, a first shutdown command is sent to the main computing unit.

[0083] Specifically, after determining that the current switch level signal is still a low level signal, the MCU can obtain the current first driving state information again through the main computing unit, that is, obtain new first driving state information. For example, the MCU can send an information acquisition instruction to the main computing unit, and the main computing unit collects the new first driving state information.

[0084] After obtaining the new first driving state information, the main computing unit can send the new first driving state information to the MCU, and the MCU can judge again whether the new first driving state information meets the preset shutdown condition. The main computing unit can also judge again whether the new first driving state information meets the preset shutdown condition, and send the judgment result to the MCU. For example, it can be judged again whether the vehicle is not currently performing an automatic driving task, and whether the current speed of the vehicle is a preset speed threshold. If so, it is determined that the new first driving state information meets the preset shutdown condition. After determining that the new first driving state information meets the preset shutdown condition, the MCU can send the first shutdown instruction to the main computing unit.

[0085] The beneficial effect of such a setting is that the first driving state information is obtained again and the shutdown condition is judged, ensuring that the vehicle power supply can be cut off at present to avoid affecting the driving of the vehicle.

[0086] In this embodiment, after determining that the current switch level signal is still a low level signal, the MCU can directly send a first shutdown instruction to the main computing unit. The main computing unit receives the first shutdown instruction, obtains new first driving state information, and determines whether the new first driving state information meets the preset shutdown condition. If so, the main computing unit itself is directly shut down and the shutdown result is fed back to the MCU; if not, the shutdown is not performed.

[0087] S303: If it is determined that the second driving state information meets the preset shutdown condition, the auxiliary computing unit is controlled to stop running and the vehicle power supply is turned off.

[0088] Exemplarily, this step may refer to the above-mentioned step S103 and will not be described in detail.

[0089] In the disclosed embodiment, when a shutdown request is received, it can be determined whether the main computing unit meets the shutdown conditions. If so, the main computing unit is turned off. Then it is determined whether the auxiliary computing unit meets the shutdown conditions. If so, the auxiliary computing unit is turned off, and finally the main power supply is turned off. Through multiple judgments, the problem of erroneous shutdown of the vehicle caused by erroneous triggering of the shutdown request is avoided. The asynchronous shutdown of the main computing unit and the auxiliary computing unit is realized. Even if the main computing unit is shut down by mistake, the auxiliary computing unit can continue to control the driving, thereby improving the safety of driving.

[0090] Figure 4 A schematic flow chart of a method for controlling a vehicle power supply provided in an embodiment of the present disclosure.

[0091] In this embodiment, obtaining the second driving state information of the vehicle includes: receiving first feedback information sent by the main computing unit; wherein the first feedback information represents the completion status of the shutdown of the main computing unit; if the first feedback information represents that the main computing unit has completed the shutdown, then obtaining the second driving state information of the vehicle.

[0092] like Figure 4 As shown, the method comprises the following steps:

[0093] S401. In response to a request to shut down the vehicle power supply, obtain first driving state information of the vehicle; wherein the first driving state information represents the current driving state of the vehicle obtained by a main computing unit in the vehicle.

[0094] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.

[0095] S402: If it is determined that the first driving state information meets a preset shutdown condition, the main computing unit is controlled to stop running.

[0096] Exemplarily, this step may refer to the above-mentioned step S102 and will not be described in detail.

[0097] S403, receiving first feedback information sent by the main computing unit; wherein the first feedback information represents the completion status of the shutdown of the main computing unit.

[0098] Exemplarily, after executing the first shutdown instruction, the main computing unit may generate a shutdown completion feedback information as the first feedback information. That is, the first feedback information may characterize the completion of the first shutdown instruction by the main computing unit, for example, it may indicate that the shutdown is completed or not completed. The main computing unit may send the first feedback information to the MCU.

[0099] S404: If the first feedback information indicates that the main computing unit has completed shutdown, obtaining second driving state information of the vehicle.

[0100] Exemplarily, after receiving the first feedback information, the MCU determines whether the main computing unit has completed shutdown according to the first feedback information. If it is determined that the first feedback information indicates that the main computing unit has completed shutdown, the MCU can obtain the second driving state information of the vehicle through the auxiliary computing unit. For example, the MCU can send an information acquisition instruction to the auxiliary computing unit, and the auxiliary computing unit obtains the second driving state information. The auxiliary computing unit can also send the second driving state information to the MCU.

[0101] In this embodiment, the main computing unit is first shut down, and then the second driving status information is obtained to shut down the auxiliary computing unit, thereby gradually shutting down the main computing unit and the auxiliary computing unit. When the main computing unit is abnormally shut down, the auxiliary computing unit can take over the vehicle's automatic driving function to achieve safe driving.

[0102] S405: If it is determined that the second driving state information meets the preset shutdown condition, the auxiliary computing unit is controlled to stop running and the vehicle power supply is turned off.

[0103] Exemplarily, whether the second driving state information satisfies the preset shutdown condition can be determined by the MCU, or the auxiliary computing unit can determine and then inform the MCU. If the MCU determines that the second driving state information satisfies the preset shutdown condition, the auxiliary computing unit can be controlled to stop running. After the MCU determines that the auxiliary computing unit is shut down, the vehicle power supply can be turned off.

[0104] In this embodiment, determining that the second driving state information meets the preset shutdown condition includes: if it is determined based on the second driving state information that the vehicle is not currently performing an automatic driving task, and the current speed of the vehicle is a preset speed value, then determining that the second driving state information meets the preset shutdown condition.

[0105] Specifically, the second driving state information may include the current speed of the vehicle, and may also include whether the vehicle is currently performing an autonomous driving task. A speed value is preset, for example, the speed value is 0m / s, that is, the vehicle is stationary. According to the second driving state information, it is determined whether the vehicle is currently performing an autonomous driving task, and whether the value of the current speed of the vehicle is a preset speed value. If the vehicle is not currently performing an autonomous driving task, and the value of the current speed of the vehicle is a preset speed value, it is determined that the second driving state information meets the preset shutdown condition; if the vehicle is currently performing an autonomous driving task, or the value of the current speed of the vehicle is not a preset speed value, it is determined that the second driving state information does not meet the preset shutdown condition.

[0106] That is to say, when the vehicle is performing an autonomous driving task, for example, the vehicle is parking automatically, the vehicle's onboard computing platform should not be shut down at this time, and a shutdown request may have been issued by mistake, and the auxiliary computing unit should not be shut down. Alternatively, if the vehicle is currently driving at high speed, the auxiliary computing unit should not be shut down either.

[0107] The beneficial effect of such a setting is that the cable may be subjected to abnormal interference, or the cable surface may be damaged and contact other metal bodies of the vehicle body, or a logic error may occur inside the MCU, causing the switch voltage signal to become a low-level signal or a shutdown request to be issued. By judging whether the second driving state information meets the shutdown condition, the auxiliary computing unit can be prevented from shutting down incorrectly, ensuring the normal driving of the vehicle and improving driving safety.

[0108] In this embodiment, controlling the auxiliary computing unit to stop running includes: obtaining a current switch level signal of the vehicle power supply, and controlling the auxiliary computing unit to stop running according to the current switch level signal of the vehicle power supply. For example, a voltage value may be preset, and if the voltage value represented by the current switch level signal is the preset voltage value, the auxiliary computing unit may be controlled to stop running; otherwise, the auxiliary computing unit may not be controlled to stop running.

[0109] In this embodiment, the auxiliary computing unit is controlled to stop running according to the current switch level signal of the vehicle power supply, including: if the current switch level signal is a low level signal, a second shutdown instruction is sent to the auxiliary computing unit; wherein the second shutdown instruction is used to control the auxiliary computing unit to stop running.

[0110] Specifically, after determining that the second driving state information meets the preset shutdown conditions, the MCU can issue a shutdown command to the auxiliary computing unit to control the auxiliary computing unit to stop running. The shutdown command issued by the MCU to the auxiliary computing unit is the second shutdown command. Before issuing the second shutdown command, the MCU can confirm again whether the current switch level signal is still the preset low-level signal. If so, it means that it is indeed necessary to shut down, and issue the second shutdown command to the auxiliary computing unit; if not, it means that an accidental touch or failure may have occurred just now, causing the switch level signal to temporarily become a low-level signal, and there is no need to shut down, that is, there is no need to issue a second shutdown command to the auxiliary computing unit, and the on-board computing platform continues to operate normally.

[0111] After receiving the second shutdown command, the auxiliary computing unit shuts down the auxiliary computing unit and feeds back a shutdown completion message to the MCU. The MCU receives the feedback message from the auxiliary computing unit, determines that the auxiliary computing unit has completed the shutdown, and can continue to shut down the vehicle power supply.

[0112] The beneficial effect of such a setting is that before issuing the second shutdown command, the switch level signal is confirmed again, thereby improving the control accuracy of the vehicle power supply, avoiding accidental shutdown, and improving driving safety.

[0113] In this embodiment, if the current switch level signal is a low level signal, a second shutdown command is sent to the auxiliary computing unit, including: if the current switch level signal is a low level signal, the new second driving status information of the vehicle is obtained again; if it is determined that the new second driving status information meets the preset shutdown conditions, a second shutdown command is sent to the auxiliary computing unit.

[0114] Specifically, after determining that the current switch level signal is still a low level signal, the MCU can obtain the current second driving state information again through the auxiliary computing unit, that is, obtain new second driving state information. For example, the MCU can send an information acquisition instruction to the auxiliary computing unit, and the auxiliary computing unit collects the new second driving state information.

[0115] After obtaining the new second driving state information, the auxiliary computing unit can send the new second driving state information to the MCU, and the MCU can judge again whether the new second driving state information meets the preset shutdown condition. The auxiliary computing unit can also judge again whether the new second driving state information meets the preset shutdown condition, and send the judgment result to the MCU. For example, it can be judged again whether the vehicle is not currently performing the automatic driving task, and whether the current speed of the vehicle is the preset speed value. If so, it is determined that the new second driving state information meets the preset shutdown condition. After determining that the new second driving state information meets the preset shutdown condition, the MCU can send a second shutdown instruction to the auxiliary computing unit.

[0116] The beneficial effect of such a setting is that the second driving state information is obtained again and the shutdown condition is judged, ensuring that the vehicle power supply can be cut off at present to avoid affecting the driving of the vehicle.

[0117] In this embodiment, after determining that the current switch level signal is still a low level signal, the MCU can directly send a second shutdown instruction to the auxiliary computing unit. The auxiliary computing unit receives the second shutdown instruction, obtains new second driving state information, and determines whether the new second driving state information meets the preset shutdown condition. If so, the auxiliary computing unit itself is directly shut down and the shutdown result is fed back to the MCU; if not, the shutdown is not performed.

[0118] In this embodiment, shutting down the vehicle power supply includes: receiving second feedback information sent by the auxiliary computing unit; wherein the second feedback information represents the completion status of the shutdown of the auxiliary computing unit; if the second feedback information represents that the auxiliary computing unit has completed the shutdown, shutting down the vehicle power supply.

[0119] Specifically, after executing the second shutdown instruction, the auxiliary computing unit may generate a shutdown completion feedback information as the second feedback information. That is, the second feedback information may characterize the completion of the second shutdown instruction by the auxiliary computing unit, for example, it may indicate that the shutdown is completed or not completed. The auxiliary computing unit may send the second feedback information to the MCU.

[0120] After receiving the second feedback information, the MCU determines whether the auxiliary computing unit has completed shutdown according to the second feedback information. If it is determined that the second feedback information indicates that the auxiliary computing unit has completed shutdown, the MCU can turn off the vehicle power supply and stop supplying power to the main computing unit and the auxiliary computing unit.

[0121] The beneficial effect of this setting is that the main computing unit is turned off first, then the auxiliary computing unit, and finally the vehicle power supply is cut off. This can avoid abnormal shutdown of the autonomous driving system due to line failure or MCU control logic errors, thereby improving the safety and reliability of autonomous driving vehicles.

[0122] In the disclosed embodiment, when a shutdown request is received, it can be determined whether the main computing unit meets the shutdown conditions. If so, the main computing unit is turned off. Then it is determined whether the auxiliary computing unit meets the shutdown conditions. If so, the auxiliary computing unit is turned off, and finally the main power supply is turned off. Through multiple judgments, the problem of erroneous shutdown of the vehicle caused by erroneous triggering of the shutdown request is avoided. The asynchronous shutdown of the main computing unit and the auxiliary computing unit is realized. Even if the main computing unit is shut down by mistake, the auxiliary computing unit can continue to control the driving, thereby improving the safety of driving.

[0123] Figure 5 The following is a flow chart of a method for controlling a vehicle power supply provided by an embodiment of the present disclosure. Figure 5 As shown, the method comprises the following steps:

[0124] S501. The MCU detects that the switch level signal changes from a high level signal to a low level signal, and notifies the main computing unit to obtain the first driving state information.

[0125] S502, the main computing unit determines whether the first driving state information meets the preset shutdown condition, if so, execute S503; if not, execute S512.

[0126] S503: The main computing unit notifies the MCU of the determination result, and the MCU sends a first shutdown request to the main computing unit.

[0127] S504, the main computing unit again determines whether the new first driving state information meets the preset shutdown condition, if so, execute S505; if not, execute S512.

[0128] S505: The main computing unit shuts down, and sends first feedback information of the completion of shutdown to the MCU.

[0129] S506. The MCU notifies the auxiliary computing unit to obtain the second driving state information.

[0130] S507, the auxiliary computing unit determines whether the second driving state information meets the preset shutdown condition, if so, execute S508; if not, execute S512.

[0131] S508: The auxiliary computing unit notifies the MCU of the determination result, and the MCU sends a second shutdown request to the auxiliary computing unit.

[0132] S509, the auxiliary computing unit again determines whether the new second driving state information meets the preset shutdown condition, if so, execute S510; if not, execute S512.

[0133] S510 , the auxiliary computing unit shuts down, and sends second feedback information of the completion of shutdown to the MCU.

[0134] S511, MCU turns off the vehicle power supply.

[0135] S512, ending the shutdown process.

[0136] Figure 6 This is a structural block diagram of a vehicle power supply control device provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 6 The vehicle power supply control device 600 includes: a first acquisition unit 601, a second acquisition unit 602 and a power shut-down unit 603.

[0137] The first acquisition unit 601 is used to acquire first driving state information of the vehicle in response to a shutdown request for the vehicle power supply; wherein the first driving state information represents the current driving state of the vehicle acquired by the main computing unit in the vehicle;

[0138] A second acquisition unit 602 is used to acquire second driving state information of the vehicle when the main computing unit is controlled to stop running according to the first driving state information; wherein the second driving state information represents the current driving state of the vehicle acquired by the auxiliary computing unit in the vehicle;

[0139] The power shut-down unit 603 is used to control the auxiliary computing unit to stop running and shut down the vehicle power supply when it is determined that the vehicle power supply needs to be shut down according to the second driving state information.

[0140] Figure 7 A structural block diagram of a vehicle power supply control device provided by an embodiment of the present disclosure, such as Figure 7 As shown, the vehicle power control device 700 includes a first acquisition unit 701, a second acquisition unit 702 and a power shut-down unit 703, wherein the second acquisition unit 702 includes a first judgment module 7021, a first feedback module 7022 and a second information acquisition module 7023.

[0141] The first judgment module 7021 is used to control the main computing unit to stop running if it is determined that the first driving state information meets a preset shutdown condition;

[0142] The first feedback module 7022 is used to receive the first feedback information sent by the main computing unit; wherein the first feedback information represents the completion status of the shutdown of the main computing unit;

[0143] The second information acquisition module 7023 is used to acquire the second driving state information of the vehicle if the first feedback information indicates that the main computing unit has completed shutdown.

[0144] In one example, the shutdown request is generated based on detecting that a switch level signal of the vehicle power supply is a low level signal.

[0145] In one example, the first determination module 7021 is specifically configured to:

[0146] If it is determined based on the first driving status information that the vehicle is not currently performing an automatic driving task, and the current speed of the vehicle is a preset speed value, then it is determined that the first driving status information meets the preset shutdown condition.

[0147] In one example, the second acquisition unit 702 includes:

[0148] A first shutdown module, used for obtaining a current switch level signal of the vehicle power supply, and controlling the main computing unit to stop running according to the current switch level signal of the vehicle power supply;

[0149] In one example, the first shutdown module includes:

[0150] The first shutdown submodule is used to send a first shutdown instruction to the main computing unit if the current switch level signal is a low level signal; wherein the first shutdown instruction is used to control the main computing unit to stop running.

[0151] In one example, the first shutdown submodule is specifically used to:

[0152] If the current switch level signal is a low level signal, obtaining new first driving state information of the vehicle again;

[0153] If it is determined that the new first driving state information meets the preset shutdown condition, the first shutdown instruction is sent to the main computing unit.

[0154] In one example, the power shut-down unit 703 includes:

[0155] The second judgment module is used to control the auxiliary computing unit to stop running if it is determined that the second driving state information meets a preset shutdown condition.

[0156] In one example, the second judgment module is specifically used to:

[0157] If it is determined based on the second driving state information that the vehicle is not currently performing an automatic driving task, and the current speed of the vehicle is a preset speed value, then it is determined that the second driving state information meets the preset shutdown condition.

[0158] In one example, the power shut-down unit 703 includes:

[0159] The second shutdown module is used to obtain the current switch level signal of the vehicle power supply, and control the auxiliary computing unit to stop running according to the current switch level signal of the vehicle power supply.

[0160] In one example, the second shutdown module includes:

[0161] The second shutdown submodule is used to send a second shutdown instruction to the auxiliary computing unit if the current switch level signal is a low level signal; wherein the second shutdown instruction is used to control the auxiliary computing unit to stop running.

[0162] In one example, the second shutdown submodule is specifically used for:

[0163] If the current switch level signal is a low level signal, obtaining new second driving state information of the vehicle again;

[0164] If it is determined that the new second driving state information meets the preset shutdown condition, the second shutdown instruction is sent to the auxiliary computing unit.

[0165] In one example, the power shut-down unit 703 includes:

[0166] A second feedback module, configured to receive second feedback information sent by the auxiliary computing unit; wherein the second feedback information represents the completion status of the shutdown of the auxiliary computing unit;

[0167] The power shut-down module is configured to shut down the vehicle power supply if the second feedback information indicates that the auxiliary computing unit has completed shutting down.

[0168] In one example, it also includes:

[0169] The auxiliary takeover unit is used to control the auxiliary computing unit to take over the automatic driving task of the vehicle if it is determined that the second driving state information does not meet the preset shutdown condition.

[0170] In one example, it also includes:

[0171] A power on unit, configured to turn on the vehicle power supply if the switch level signal of the vehicle power supply is converted from a low level signal to a high level signal;

[0172] A power-on unit is used to send a first power-on instruction to the main computing unit and a second power-on instruction to the auxiliary computing unit; wherein the first power-on instruction is used to control the main computing unit to start running, and the second power-on instruction is used to control the auxiliary computing unit to start running.

[0173] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device.

[0174] Figure 8 A structural block diagram of an electronic device provided in an embodiment of the present disclosure, such as Figure 8 As shown, the electronic device 800 includes: at least one processor 802; and a memory 801 communicatively connected to the at least one processor 802; wherein the memory stores instructions executable by the at least one processor 802, and the instructions are executed by the at least one processor 802 so that the at least one processor 802 can execute the control method of the vehicle power supply disclosed in the present invention.

[0175] The electronic device 800 further includes a receiver 803 and a transmitter 804. The receiver 803 is used to receive instructions and data sent by other devices, and the transmitter 804 is used to send instructions and data to external devices.

[0176] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0177] According to an embodiment of the present disclosure, the present disclosure also provides a computer program product, which includes: a computer program, the computer program is stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device executes the solution provided by any of the above embodiments.

[0178] Fig. 9 A schematic block diagram of an example electronic device 900 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0179] like Fig. 9 As shown, the device 900 includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0180] A number of components in the device 900 are connected to the I / O interface 905, including: an input unit 906, such as a keyboard, a mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the device 900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0181] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods and processes described above, such as the control method of the vehicle power supply. For example, in some embodiments, the control method of the vehicle power supply may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 900 via the ROM 902 and / or the communication unit 909. When the computer program is loaded into the RAM 903 and executed by the computing unit 901, one or more steps of the control method of the vehicle power supply described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to execute the control method of the vehicle power supply by any other appropriate means (e.g., by means of firmware).

[0182] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0183] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0184] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0185] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0186] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0187] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0188] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0189] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for controlling a vehicle power supply, comprising: In response to a shutdown request for the vehicle power supply, first driving state information of the vehicle is obtained; wherein the first driving state information represents the current driving state of the vehicle obtained by a main computing unit in the vehicle; When the main computing unit is controlled to stop running according to the first driving state information, second driving state information of the vehicle is obtained; wherein the second driving state information represents the current driving state of the vehicle obtained by the auxiliary computing unit in the vehicle; When it is determined according to the second driving state information that the vehicle power supply needs to be turned off, the auxiliary computing unit is controlled to stop running, and the vehicle power supply is turned off.

2. The method according to claim 1, wherein: The shutdown request is generated based on detecting that the switch level signal of the vehicle power supply is a low level signal.

3. The method according to claim 1, wherein: The controlling the main computing unit to stop running according to the first driving state information comprises: If it is determined that the first driving state information meets the preset shutdown condition, the main computing unit is controlled to stop running.

4. The method according to claim 3, wherein: The determining that the first driving state information meets a preset shutdown condition includes: If it is determined based on the first driving status information that the vehicle is not currently performing an automatic driving task, and the current speed of the vehicle is a preset speed value, then it is determined that the first driving status information meets the preset shutdown condition.

5. The method according to any one of claims 1 to 4, wherein: The controlling the main computing unit to stop running comprises: The current switch level signal of the vehicle power supply is obtained, and the main computing unit is controlled to stop running according to the current switch level signal of the vehicle power supply.

6. The method according to claim 5, wherein: The controlling the main computing unit to stop running according to the current switch level signal of the vehicle-mounted power supply comprises: If the current switch level signal is a low level signal, a first shutdown instruction is sent to the main computing unit; wherein the first shutdown instruction is used to control the main computing unit to stop running.

7. The method according to claim 6, wherein: If the current switch level signal is a low level signal, sending a first shutdown instruction to the main computing unit includes: If the current switch level signal is a low level signal, obtaining new first driving state information of the vehicle again; If it is determined that the new first driving state information meets the preset shutdown condition, the first shutdown instruction is sent to the main computing unit.

8. The method according to any one of claims 1 to 7, wherein: The obtaining the second driving state information of the vehicle includes: Receiving first feedback information sent by the main computing unit; wherein the first feedback information represents the completion status of the shutdown of the main computing unit; If the first feedback information indicates that the main computing unit has completed shutdown, the second driving state information of the vehicle is obtained.

9. The method according to any one of claims 1 to 8, wherein: The determining that the vehicle power supply needs to be turned off according to the second driving state information includes: If it is determined that the second driving state information meets the preset shutdown condition, the auxiliary computing unit is controlled to stop running.

10. The method according to claim 9, wherein: The determining that the second driving state information satisfies a preset shutdown condition includes: If it is determined based on the second driving state information that the vehicle is not currently performing an automatic driving task, and the current speed of the vehicle is a preset speed value, then it is determined that the second driving state information meets the preset shutdown condition.

11. The method according to claim 10, wherein: The controlling the auxiliary computing unit to stop running includes: The current switch level signal of the vehicle power supply is obtained, and the auxiliary computing unit is controlled to stop running according to the current switch level signal of the vehicle power supply.

12. The method according to claim 11, wherein: The step of controlling the auxiliary computing unit to stop running according to the current switch level signal of the vehicle-mounted power supply comprises: If the current switch level signal is a low level signal, a second shutdown instruction is sent to the auxiliary computing unit; wherein the second shutdown instruction is used to control the auxiliary computing unit to stop running.

13. The method according to claim 12, wherein: If the current switch level signal is a low level signal, sending a second shutdown instruction to the auxiliary computing unit includes: If the current switch level signal is a low level signal, obtaining new second driving state information of the vehicle again; If it is determined that the new second driving state information meets the preset shutdown condition, the second shutdown instruction is sent to the auxiliary computing unit.

14. The method according to claims 1-13, wherein: The step of shutting down the vehicle-mounted power supply includes: receiving second feedback information sent by the auxiliary computing unit; wherein the second feedback information represents the completion status of the shutdown of the auxiliary computing unit; If the second feedback information indicates that the auxiliary computing unit has completed shutdown, the vehicle power supply is turned off.

15. The method according to any one of claims 1 to 14, further comprising: If it is determined that the second driving state information does not meet the preset shutdown condition, the auxiliary computing unit is controlled to take over the automatic driving task of the vehicle.

16. The method according to any one of claims 1 to 15, further comprising: If the switch level signal of the vehicle power supply is converted from a low level signal to a high level signal, turning on the vehicle power supply; A first power-on instruction is sent to the main computing unit, and a second power-on instruction is sent to the auxiliary computing unit; wherein the first power-on instruction is used to control the main computing unit to start running, and the second power-on instruction is used to control the auxiliary computing unit to start running.

17. A control device for a vehicle-mounted power supply, comprising: A first acquisition unit, configured to acquire first driving state information of the vehicle in response to a shutdown request for the vehicle power supply; wherein the first driving state information represents a current driving state of the vehicle acquired by a main computing unit in the vehicle; a second acquisition unit, configured to acquire second driving state information of the vehicle when the main computing unit is controlled to stop running according to the first driving state information; wherein the second driving state information represents the current driving state of the vehicle acquired by the auxiliary computing unit in the vehicle; The power shut-off unit is used to control the auxiliary computing unit to stop running and shut down the vehicle power supply when it is determined that the vehicle power supply needs to be shut down according to the second driving state information.

18. The device according to claim 17, wherein: The shutdown request is generated based on detecting that the switch level signal of the vehicle power supply is a low level signal.

19. The device according to claim 17, wherein: The second acquisition unit includes: The first judgment module is used to control the main computing unit to stop running if it is determined that the first driving state information meets a preset shutdown condition.

20. The device according to claim 19, wherein The first judgment module is specifically used to: If it is determined based on the first driving status information that the vehicle is not currently performing an automatic driving task, and the current speed of the vehicle is a preset speed value, then it is determined that the first driving status information meets the preset shutdown condition.

21. The device according to any one of claims 17 to 20, wherein: The second acquisition unit includes: The first shutdown module is used to obtain the current switch level signal of the vehicle power supply, and control the main computing unit to stop running according to the current switch level signal of the vehicle power supply.

22. The device according to claim 21, wherein The first shutdown module includes: The first shutdown submodule is used to send a first shutdown instruction to the main computing unit if the current switch level signal is a low level signal; wherein the first shutdown instruction is used to control the main computing unit to stop running.

23. The device according to claim 22, wherein: The first shutdown submodule is specifically used for: If the current switch level signal is a low level signal, obtaining new first driving state information of the vehicle again; If it is determined that the new first driving state information meets the preset shutdown condition, the first shutdown instruction is sent to the main computing unit.

24. The device according to any one of claims 17 to 23, wherein: The second acquisition unit includes: A first feedback module, configured to receive first feedback information sent by the main computing unit; wherein the first feedback information represents the completion status of the shutdown of the main computing unit; The second information acquisition module is used to acquire the second driving state information of the vehicle if the first feedback information indicates that the main computing unit has completed shutdown.

25. The device according to any one of claims 17 to 24, wherein: The power shut-off unit comprises: The second judgment module is used to control the auxiliary computing unit to stop running if it is determined that the second driving state information meets a preset shutdown condition.

26. The device according to claim 25, wherein The second judgment module is specifically used to: If it is determined based on the second driving state information that the vehicle is not currently performing an automatic driving task, and the current speed of the vehicle is a preset speed value, then it is determined that the second driving state information meets the preset shutdown condition.

27. The device according to claim 26, wherein The power shut-off unit comprises: The second shutdown module is used to obtain the current switch level signal of the vehicle power supply, and control the auxiliary computing unit to stop running according to the current switch level signal of the vehicle power supply.

28. The device according to claim 27, wherein The second shutdown module includes: The second shutdown submodule is used to send a second shutdown instruction to the auxiliary computing unit if the current switch level signal is a low level signal; wherein the second shutdown instruction is used to control the auxiliary computing unit to stop running.

29. The device according to claim 28, wherein The second shutdown submodule is specifically used for: If the current switch level signal is a low level signal, obtaining new second driving state information of the vehicle again; If it is determined that the new second driving state information meets the preset shutdown condition, the second shutdown instruction is sent to the auxiliary computing unit.

30. The device according to any one of claims 17 to 29, wherein: The power shut-off unit comprises: A second feedback module, configured to receive second feedback information sent by the auxiliary computing unit; wherein the second feedback information represents the completion status of the shutdown of the auxiliary computing unit; The power shut-down module is configured to shut down the vehicle power supply if the second feedback information indicates that the auxiliary computing unit has completed shutting down.

31. The apparatus according to any one of claims 17 to 30, further comprising: The auxiliary takeover unit is used to control the auxiliary computing unit to take over the automatic driving task of the vehicle if it is determined that the second driving state information does not meet the preset shutdown condition.

32. The apparatus according to any one of claims 17 to 31, further comprising: A power on unit, configured to turn on the vehicle power supply if the switch level signal of the vehicle power supply is converted from a low level signal to a high level signal; A power-on unit is used to send a first power-on instruction to the main computing unit and a second power-on instruction to the auxiliary computing unit; wherein the first power-on instruction is used to control the main computing unit to start running, and the second power-on instruction is used to control the auxiliary computing unit to start running.

33. An electronic device, wherein: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 16.

34. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-16.

35. A computer program product, wherein: The invention comprises a computer program, which implements the steps of the method according to any one of claims 1 to 16 when being executed by a processor.

36. A vehicle, wherein: The vehicle is equipped with a microcontroller, an on-board power supply, a main computing unit, and an auxiliary computing unit, and the microcontroller is used to execute the method described in any one of claims 1-16.