Method, device, vehicle and storage medium for waking up vehicle computer ECU

By sending control instructions between ECUs in the vehicle and using high-side driver chips and CAN bus technology, the problem of low ECU wake-up efficiency is solved, the automated ECU wake-up process is realized, and the wake-up efficiency of the ECU in the vehicle is improved.

CN114116028BActive Publication Date: 2024-10-11GUANGZHOU XIAOPENG MOTORS TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111349350.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-15
Publication Date
2024-10-11
Estimated Expiration
2041-11-15

AI Technical Summary

Technical Problem

The ECU wake-up process in existing vehicles is inefficient. Especially when the ECU cannot be successfully woken up due to hardware or network reasons, the user needs to manually disconnect the power supply, which is a cumbersome and inefficient process.

Method used

By sending control instructions between ECUs in the vehicle, if no message is received, the ECU is re-awakened, the high-side driver chip and CAN bus are used for instruction transmission, and the order of transmission is determined according to the function and importance of the ECU, and the counter records the number of transmissions. to detect faults.

Benefits of technology

It improves the efficiency of ECU wake-up, avoids manual operation by users, simplifies the wake-up process, and enhances the automatic wake-up capability of ECU.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114116028B_ABST
    Figure CN114116028B_ABST
Patent Text Reader

Abstract

The present application discloses a wake-up method, device, vehicle and storage medium for an on-board computer ECU, and belongs to the field of vehicle control technology. Applied to a vehicle with at least two ECUs, the method includes: when the first ECU receives a wake-up instruction, it enters a wake-up state according to the wake-up instruction, the first ECU is any one of the at least two ECUs, and the wake-up instruction is used to wake up each ECU; if the first ECU does not receive a message sent by the second ECU within a preset time period, a control instruction is sent to the second ECU through the first ECU. After the first ECU enters the wake-up state, if the message sent by the second ECU is not received within a preset time period, a control instruction is sent to the second ECU through the first ECU, so that the second ECU can be re-awakened based on the control instruction, without the user manually disconnecting the power supply battery and other processes, thereby improving the efficiency of re-awakening each ECU.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to a method, device, vehicle and storage medium for waking up an on-board computer (ECU). Background Art

[0002] With the continuous development of science and technology, various vehicles have become indispensable means of transportation for users in real life. Among them, the driving computers in most vehicles can also connect to the outside world through the communication network to achieve the function of data transmission.

[0003] At present, there are more and more various configurations in vehicles. After the vehicle is turned off, many devices in the vehicle also need to be powered off and enter a dormant state. For example, the anti-lock braking system, four-wheel drive system, electronically controlled automatic transmission, active suspension system, airbag system, multi-directional adjustable electric seat, etc. in the vehicle are all equipped with their own electronic control units (Electronic Control Unit, ECU), which is also called a driving computer. When these driving computers enter the dormant state and reawaken, some ECUs will not be successfully awakened due to their own hardware reasons or network management reasons. At this time, it is necessary to disconnect the battery in the vehicle that powers the ECU and re-power the ECU to restore it to a normal state. In this process, for the ECU that fails to wake up, the reawakening method is too cumbersome, resulting in the problem of low efficiency in waking up the ECU in the vehicle. Summary of the invention

[0004] The embodiments of the present application provide a method, device, vehicle and storage medium for waking up an on-board computer ECU, which can improve the efficiency of waking up the ECU in the vehicle.

[0005] In one aspect, an embodiment of the present application provides a method for waking up a vehicle computer ECU, the method being applied to a vehicle having at least two ECUs, the method comprising:

[0006] When the first ECU receives the wake-up instruction, the first ECU enters the wake-up state according to the wake-up instruction, the first ECU is any one ECU of the at least two ECUs, and the wake-up instruction is used to wake up each ECU;

[0007] If the first ECU does not receive a message sent by the second ECU within a preset time period, a control instruction is sent to the second ECU via the first ECU, and the control instruction is used to reawaken the second ECU.

[0008] Optionally, the first ECU includes a high-side driver chip HSD, and the first ECU is electrically connected to the second ECU via a control pin of the HSD;

[0009] If the first ECU does not receive the message sent by the second ECU within a preset time period, sending a control instruction to the second ECU through the first ECU includes:

[0010] When the first ECU does not receive the message sent by the second ECU within a preset time period, the control instruction is sent to the second ECU through the control pin of the HSD.

[0011] Optionally, the number of the second ECUs is not less than 2, and before the first ECU sends a control instruction to the second ECU through the first ECU if the first ECU does not receive a message sent by the second ECU within a preset time period, the method further includes:

[0012] Acquiring the driving functions of each of the second ECUs through the first ECU;

[0013] Determining the order of sending the control instructions according to the driving functions of each of the second ECUs;

[0014] The control instructions are sent to each of the second ECUs in sequence through the control pins of the HSD according to the sending order.

[0015] Optionally, determining the order of sending the control instructions according to the driving functions of each of the second ECUs includes:

[0016] According to the driving functions of each of the second ECUs, obtaining the importance level of each of the second ECUs;

[0017] The order of sending the control instructions is determined according to the importance levels of the second ECUs.

[0018] Optionally, the vehicle further includes a counter, the counter being used to record the number of times the control instruction is sent to the second ECU through the control pin of the HSD, and the method further includes:

[0019] Detecting whether the sending times reaches a preset times threshold;

[0020] When the number of transmissions does not reach the preset number threshold, and the first ECU does not receive the message sent by the second ECU within the preset time period, re-execute the step of sending the control instruction to the second ECU through the first ECU;

[0021] When the number of transmissions reaches the preset number threshold, and the first ECU does not receive the message sent by the second ECU within the preset time period, fault information is generated, where the fault information is used to indicate that a fault exists in the wake-up process of the second ECU.

[0022] Optionally, after generating the fault information when the number of transmissions reaches the preset number threshold and the first ECU does not receive the message sent by the second ECU within the preset time period, the method further includes:

[0023] The fault information is sent to a target terminal or a server, the target terminal establishes a wireless communication connection with the vehicle, and the server establishes a wireless communication connection with the vehicle.

[0024] Optionally, when the first ECU receives the wake-up instruction, after entering the wake-up state according to the wake-up instruction, the method further includes:

[0025] Obtaining the initial state of the first ECU;

[0026] When the initial state of the first ECU is a sleep state, the step of sending a control instruction to the second ECU through the first ECU if the first ECU does not receive a message sent by the second ECU within a preset time period is executed, so that the second ECU is reawakened based on the control instruction.

[0027] Optionally, the first ECU is electrically connected to a CAN bus, and the second ECU is electrically connected to the CAN bus;

[0028] Before the method of sending a control instruction to the second ECU by the first ECU if the first ECU does not receive a message sent by the second ECU within a preset time period so that the second ECU is reawakened based on the control instruction, the method further includes:

[0029] Within the preset time period, the first ECU detects whether a message sent by the second ECU is received through the CAN bus.

[0030] In another aspect, an embodiment of the present application provides a device for waking up a vehicle computer ECU, the device being applied to a vehicle having at least two ECUs, the device comprising:

[0031] A first wake-up module, configured to enter a wake-up state according to a wake-up instruction when a first ECU receives the wake-up instruction, wherein the first ECU is any one of the at least two ECUs, and the wake-up instruction is used to wake up each ECU;

[0032] The instruction sending module is used to send a control instruction to the second ECU through the first ECU if the first ECU does not receive a message sent by the second ECU within a preset time period, and the control instruction is used to reawaken the second ECU.

[0033] On the other hand, an embodiment of the present application provides a vehicle, comprising at least two on-board computers, wherein any one of the at least two on-board computers comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the wake-up method of the on-board computer ECU as described in any one of claims 1 to 7.

[0034] On the other hand, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for waking up the vehicle computer ECU as described in the above-mentioned other aspect and its optional method is implemented.

[0035] The technical solution provided by the embodiments of the present application may at least include the following beneficial effects:

[0036] In this application, when the first ECU receives a wake-up instruction, it enters a wake-up state according to the wake-up instruction. The first ECU is any one of at least two ECUs, and the wake-up instruction is used to wake up each ECU; if the first ECU does not receive a message sent by the second ECU within a preset time period, a control instruction is sent to the second ECU through the first ECU, and the control instruction is used to re-wake up the second ECU. When any one of the ECUs receives a wake-up instruction, the vehicle enters a wake-up state according to the wake-up instruction, and receives a message sent by the second ECU through the first ECU. If it is not received within a preset time period, a control instruction is sent to the second ECU through the first ECU, so that the second ECU can be re-wake up based on the control instruction, without the need for the user to manually disconnect the power supply battery, etc., thereby improving the efficiency of re-waking up each ECU. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0038] Figure 1 is a structural diagram of a vehicle network connection involved in an exemplary embodiment of the present application;

[0039] Figure 2 It is a method flow chart of a method for waking up a vehicle computer ECU provided by an exemplary embodiment of the present application;

[0040] Figure 3 It is a method flow chart of a method for waking up a vehicle computer ECU provided by an exemplary embodiment of the present application;

[0041] Figure 4 This is a schematic diagram of a structure in which ECUs in a vehicle are connected to each other according to an exemplary embodiment of the present application;

[0042] Figure 5 An exemplary embodiment of the present application relates to Figure 4 Another schematic diagram of the structure of interconnection of ECUs in a vehicle;

[0043] Figure 6 It is a structural block diagram of a wake-up device for a vehicle computer ECU provided by an exemplary embodiment of the present application;

[0044] Figure 7 It is a structural schematic diagram of a vehicle computer provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0045] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0046] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0047] It should be noted that the terms "first", "second", "third" and "fourth" in the specification and claims of the present application are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0048] The solution provided by the present application can be used in scenarios such as sleeping and waking up the vehicle's onboard computer during the use of the vehicle in daily life. To facilitate understanding, some special terms and application architectures involved in the embodiments of the present application are first briefly introduced below.

[0049] Electronic Control Unit (ECU), also known as "driving computer" or "on-board computer", is composed of a microprocessor (MCU), memory, input / output (I / O) interface, analog-to-digital converter (A / D), and large-scale integrated circuits such as shaping and driving, just like an ordinary computer.

[0050] Over-The-Air (OTA) is a data value-added service (referred to as OTA service) based on the short message mechanism, which dynamically downloads, deletes and updates the service menu in the SIM card through the mobile terminal or server (online), allowing users to obtain personalized information services.

[0051] In daily life, vehicles have been widely used as an indispensable means of transportation. Among them, each control system of the vehicle can be controlled by using ECU. For example, the anti-lock braking system, four-wheel drive system, electronically controlled automatic transmission, active suspension system, airbag system, multi-directional adjustable electric seats, etc. in the vehicle are all equipped with their own ECUs, which can be managed by ECU during the driving or parking process of the vehicle.

[0052] Please refer to Figure 1 , which shows a schematic diagram of a vehicle network connection structure involved in an exemplary embodiment of the present application. Figure 1 As shown, it includes various vehicles 101, a communication network 102, a server 103, and a user terminal 104. Among them, each vehicle 101 can establish a network connection with the communication network 102 through its own configured ECU, so as to communicate with the server 103 through the communication network 102.

[0053] Optionally, the communication network 102 can be a wired network or a wireless network, and optionally, the wireless network or the wired network uses standard communication technology and / or protocol. The communication network 102 is usually the Internet, but it can also be any network, including but not limited to any combination of a local area network (LAN), a metropolitan area network (MAN), a wide area network (MAN), a mobile, wired or wireless network, a dedicated network or a virtual private network. In some embodiments, the data exchanged through the network is represented by technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above-mentioned data communication technologies.

[0054] Optionally, the server 103 may be a server that provides services for applications installed in the vehicle. The server 103 may be one server, or may be composed of several servers, or may be a virtualization platform, or may be a cloud computing service center.

[0055] Optionally, the ECU in each of the above vehicles 101 may also establish a communication connection with the user terminal 104. For example, the user terminal may be a mobile device such as a mobile phone, a tablet computer, a laptop computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a smart Bluetooth headset, or the like.

[0056] During driving, the vehicle needs to wake up the ECUs configured in each system so that it can be controlled through the ECUs. When the vehicle needs to be parked or turned off, the ECUs in the vehicle will also enter a dormant state. When the user starts the vehicle again, such as opening the door or inserting the key to start the ignition, the dormant ECUs in the vehicle will be awakened. During the awakening process, if there are problems with some ECUs, resulting in a wake-up failure, the user needs to disconnect the battery and re-power the ECU to restore it to normal. In this process, for the ECU that failed to wake up, the re-awakening method is too cumbersome, resulting in low efficiency in waking up the ECU in the vehicle.

[0057] In order to improve the efficiency of waking up the ECU in the vehicle, the present application proposes a solution. During the process of ECU awakening in the vehicle, the awakened ECU monitors the messages sent by other ECUs. If no messages sent by other ECUs are received, a control instruction is sent to the ECU, so that other ECUs are awakened again, avoiding manual operation by the user and improving the wake-up efficiency of the ECU.

[0058] Please refer to Figure 2 , which shows a method flow chart of a method for waking up a vehicle computer ECU provided by an exemplary embodiment of the present application. The method for waking up a vehicle computer ECU can be applied to a vehicle having at least two ECUs, and the method can be executed by the ECU in the vehicle. Figure 2 As shown, the method for waking up the vehicle computer ECU may include the following steps.

[0059] Step 201: When a first ECU receives a wake-up instruction, it enters a wake-up state according to the wake-up instruction. The first ECU is any one of at least two ECUs. The wake-up instruction is used to wake up each ECU.

[0060] Optionally, the wake-up command may be a door opening command triggered when the user opens the door of the vehicle, or the wake-up command may be an opening command when the user turns on the vehicle terminal in the vehicle, or the wake-up command may be a command for the user to remotely control the locking or unlocking of the vehicle through a remote control, etc. In actual applications, when a user triggers a wake-up command, the ECU in the vehicle receives the wake-up command, wakes up according to the wake-up command, and switches its own working state to the wake-up state. Optionally, in the present application, the ECU entering the wake-up state may refer to the ECU entering the communication mode, and can communicate by sending messages, thereby performing data exchange.

[0061] Optionally, the vehicle of the present application is configured with at least two ECUs, and the systems managed by the two ECUs can be the same or different. For example, the anti-lock braking system is configured with an ECU, the four-wheel drive system is configured with an ECU, and the active suspension system is configured with an ECU. These three ECUs can all work normally. After the vehicle is turned off, these three ECUs can enter a dormant state. When the user opens the door or ignites the vehicle, a wake-up instruction can be triggered to trigger the three ECUs to wake up. After the first ECU receives the wake-up instruction, it can wake itself up according to the wake-up instruction, thereby entering a wake-up state. The first ECU is any one of the three ECUs.

[0062] Step 202: If the first ECU does not receive a message sent by the second ECU within a preset time period, a control instruction is sent to the second ECU via the first ECU, and the control instruction is used to reawaken the second ECU.

[0063] Optionally, after the first ECU enters the wake-up state, it detects whether it has received a message sent by the second ECU, and the second ECU can be any ECU in the vehicle that is different from the first ECU. If the first ECU does not receive the message sent by the second ECU within a preset time period, a control instruction is sent to the second ECU through the first ECU, and the control instruction is used to reawaken the second ECU. If the first ECU receives the message sent by the second ECU within the preset time period, it means that the second ECU has been awakened based on the above wake-up instruction and does not need to be reawakened. Among them, the preset time period can be pre-set in the vehicle by the developer.

[0064] For example, the above-mentioned anti-lock braking system is equipped with an ECU, the four-wheel drive system is equipped with an ECU, and the active suspension system is equipped with an ECU. These three ECUs can all work normally. When the user opens the door or ignites the vehicle, a wake-up instruction can be triggered to trigger the three ECUs to wake up. After any one of the ECUs (such as the ECU configured for the anti-lock braking system) receives the wake-up instruction, it can wake itself up according to the wake-up instruction, thereby entering the wake-up state, and does not receive a message sent by other ECUs (such as the ECU configured for the active suspension system) within a preset time period, indicating that the ECU configured for the active suspension system has not been successfully awakened. The ECU configured for the anti-lock braking system can send a control instruction to cause the ECU configured for the active suspension system to be awakened again based on the control instruction.

[0065] In summary, the present application enters the wake-up state according to the wake-up instruction when the first ECU receives the wake-up instruction, the first ECU is any one of at least two ECUs, and the wake-up instruction is used to wake up each ECU; if the first ECU does not receive the message sent by the second ECU within a preset time period, the first ECU sends a control instruction to the second ECU, and the control instruction is used to re-wake up the second ECU. When any one of the ECUs receives the wake-up instruction, the vehicle enters the wake-up state according to the wake-up instruction, and receives the message sent by the second ECU through the first ECU. If it is not received within the preset time period, the first ECU sends a control instruction to the second ECU, so that the second ECU can be re-wake up based on the control instruction, without the user manually disconnecting the power supply battery and other processes, thereby improving the efficiency of re-waking up each ECU.

[0066] In one possible implementation, the above-mentioned method of sending control instructions can be implemented through a high-side driver chip (High-side Driver, HSD), that is, an HSD chip is provided on the ECU, and is connected to the receiving port of other ECUs through the control pin of the HSD, thereby achieving the effect of transmitting control instructions between different ECUs.

[0067] Please refer to Figure 3 , which shows a method flow chart of a method for waking up a vehicle computer ECU provided by an exemplary embodiment of the present application. The method for waking up a vehicle computer ECU can be applied to a vehicle having at least two ECUs, and the method can be executed by the ECU in the vehicle. Figure 3 As shown, the method for waking up the vehicle computer ECU may include the following steps.

[0068] Step 301: When a first ECU receives a wake-up instruction, it enters a wake-up state according to the wake-up instruction. The first ECU is any one of at least two ECUs. The wake-up instruction is used to wake up each ECU.

[0069] Optionally, the wake-up instruction can refer to the introduction in the above step 201, which will not be repeated here. When an ECU in the vehicle receives the wake-up instruction, it can enter the wake-up state according to the wake-up instruction.

[0070] The first ECU is any one of the ECUs in the vehicle. After the first ECU in the vehicle is awakened, the first ECU can obtain the initial state of the first ECU. When the initial state of the first ECU is a dormant state, step 302 is executed. For example, the first ECU can record its initial state before dormancy. After the ECU is awakened, the initial state before the awakening state is obtained. If the initial state before the awakening state is a dormant state, step 302 is executed, otherwise the subsequent logic of this solution is not executed.

[0071] That is to say, the first ECU can obtain its own initial state, and when it determines that its initial state is converted from the sleep state to the wake-up state, it executes step 302. Since there may be other wake-up situations in the vehicle, such as OTA mute, the ECU may also be awakened. In this application, when the ECU of the vehicle has an OAT mute situation, the initial state before entering the wake-up state is not the sleep state, and this application may not execute subsequent logic.

[0072] Step 302: If the first ECU does not receive a message sent by the second ECU within a preset time period, a control instruction is sent to the second ECU via the first ECU, and the control instruction is used to reawaken the second ECU.

[0073] Optionally, after entering the awake state, the first ECU can receive a message sent by the second ECU within a preset time period. If the first ECU does not receive a message sent by the second ECU within the preset time period, the first ECU sends a control instruction to the second ECU, and the control instruction is used to reawaken the second ECU. That is, the first ECU entering the awake state can monitor whether other ECUs have sent messages.

[0074] In a possible implementation, the first ECU is electrically connected to the CAN bus, and the second ECU is electrically connected to the CAN bus; within a preset time period, the first ECU can detect whether a message sent by the second ECU is received through the CAN bus. If within the preset time period, the first ECU detects that a message sent by the second ECU is received through the CAN bus, it means that the second ECU is working normally and does not need to be re-awakened. If within the preset time period, the first ECU detects that a message sent by the second ECU is not received through the CAN bus, it means that the second ECU is working normally and does not need to be re-awakened. That is, the first ECU includes a high-side driver chip HSD, and the first ECU is electrically connected to the second ECU through the control pin of the HSD; when the first ECU does not receive a message sent by the second ECU within the preset time period, it sends a control instruction to the second ECU through the control pin of the HSD.

[0075] Optionally, the preset time period can be pre-set in the vehicle by the developer. For example, the preset time period is T1. Within the time period T1, the first ECU detects that the message sent by the second ECU is received through the CAN bus, indicating that the second ECU is working normally and does not need to be re-awakened. If within the time period T1, the first ECU detects that the message sent by the second ECU is not received through the CAN bus, indicating that the second ECU is working normally and does not need to be re-awakened.

[0076] Please refer to Figure 4 , which shows a schematic diagram of the structure of interconnection of in-vehicle ECUs involved in an exemplary embodiment of the present application. Figure 4 As shown, it includes ECU 1 401, ECU 2 402, ECU 3 403, CAN bus 404, HSD 1 405, HSD 2 406, and power supply 407. Among them, power supply 407 is used to power each ECU, ECU 1 401 is electrically connected to the positive and negative poles of the power supply through its own power supply interface, and ECU 2 402 is also electrically connected to the positive and negative poles of the power supply through its own power supply interface. ECU 1 401 and ECU 2 402 are also connected to CAN bus 404 through their respective data interfaces. Taking the example that ECU 1 401 can detect whether the message sent by ECU 2 402 is received in the CAN bus, and ECU 2 402 can detect whether the message sent by ECU 1 401 is received in the CAN bus, ECU 1 401 is also connected to the second access interface on ECU 2 402 through HSD 1 405, and ECU 2 402 is also connected to the first access interface on ECU 1 401 through HSD 2 406.

[0077] Optional, above Figure 4 Each ECU in the vehicle can be regarded as an ECU with different system configurations in the vehicle. After receiving the wake-up instruction in the above step 301, the ECU 1 401 in the vehicle enters the wake-up state according to the wake-up instruction. The ECU 1 401 can continue to detect whether the message sent by the ECU 2 is received through the CAN bus. If the ECU 1 401 does not receive the message sent by the ECU 2 402 through the CAN bus 404 within the preset time period, the HSD 1 405 on the ECU 1 401 sends a control instruction to the second access interface of the ECU 2 402, and the control instruction is used to re-awaken the ECU 2 402. If the ECU 1 401 receives the message sent by the ECU 2 402 through the CAN bus 404 within the preset time period, it means that the ECU 2 402 has been awakened and does not need to be awakened again. Optionally, if the ECU 2 402 enters the awake state first in the above process, it can also detect whether the message sent by the ECU 1 401 is received in the CAN bus 404, which will not be repeated here.

[0078] In a possible implementation, the number of second ECUs may be no less than 2. Before the above step 302, the first ECU may also obtain the driving functions of each second ECU; determine the order of sending control instructions according to the driving functions of each second ECU; and send control instructions to each second ECU in sequence through the control pin of the HSD according to the sending order. That is, in actual applications, the number of ECUs that are not awakened may be greater than 2, and the first ECU may detect each ECU that is not awakened and determine the order of sending control instructions to each ECU, thereby realizing supervision of multiple ECUs.

[0079] For example, please refer to Figure 5 , which shows that an exemplary embodiment of the present application involves Figure 4 Another schematic diagram of the structure of the interconnection of ECUs in the car. Figure 5 As shown, it includes ECU 1 501, ECU 2 502, ECU 3 503, CAN bus 504, HSD 1 505, HSD 2 506, HSD 3 507, and power supply 508. Among them, power supply 508 is used to power each ECU, ECU 1 501 is electrically connected to the positive and negative poles of the power supply through its own power supply interface, ECU 2 502 and ECU 3 503 are also electrically connected to the positive and negative poles of the power supply through their own power supply interfaces, and ECU 1 501, ECU 2 502, and ECU 3 503 are also respectively connected to the CAN bus 504 through their respective data interfaces. Taking the example that ECU 1 501 can detect whether the CAN bus receives the messages sent by ECU 2 502 and ECU 3 503, ECU 1 501 is also connected to the second access interface on ECU 2 502 through HSD 1 505, ECU 1 501 is also connected to the third access interface on ECU 3 503 through HSD 1 505, ECU 2 502 is also connected to the first access interface on ECU 1 501 through HSD 2 506, and ECU 3 503 is also connected to the fourth access interface on ECU 1 501 through HSD 3 507.

[0080] like Figure 5 As shown, during the wake-up process, ECU 1 501 can detect whether it has received a message sent by ECU 2 502 within a preset time period, and can also detect whether it has received a message sent by ECU 3 503 within a preset time period. If ECU 1 501 has not received a message sent by ECU 2 502 or a message sent by ECU 3 503 within a preset time period, it indicates that a control instruction needs to be sent to the second ECU (including ECU 2 502 and ECU 3 503). Optionally, ECU 1 501 can also obtain the driving functions of each ECU and determine the order of sending the control instructions according to each driving function.

[0081] It should be noted that Figure 5 ECU 2 and ECU 3 can also check each other through HSD. The connection method can refer to that between ECU 1 and ECU 2, which will not be repeated here.

[0082] Optionally, the above method of determining the order of sending control instructions according to the driving functions of each second ECU can be as follows: according to the driving functions of each second ECU, the importance level of each second ECU is obtained; according to the importance level of each second ECU, the order of sending control instructions is determined. For example, the function name of each driving function and the corresponding importance level are pre-stored in the vehicle, and the vehicle can determine the order of sending control instructions according to the importance level of each second ECU.

[0083] For example, the vehicle pre-stores the function names of various driving functions and the corresponding importance levels. Please refer to Table 1, which shows a corresponding relationship table between driving functions and importance levels involved in an exemplary embodiment of the present application.

[0084] Driving function Importance level Driving function 1 Importance Level 1 Driving function 2 Importance Level 2 Driving function three Importance Level 3 …… ……

[0085] Table 1

[0086] As shown in Table 1, the first ECU can obtain the driving functions of each second ECU, and query the importance level of each driving function through Table 1, and determine the order of sending control instructions according to the order of importance level. Optionally, the first ECU can obtain the order of sending control instructions in the order of importance level from high to low. For example, the above Figure 5 In the example, if the importance level of the driving function of ECU 2 is higher than that of ECU 3, then the order of sending the control instruction from ECU 1 is ECU 2, then ECU 3. If the importance level of the driving function of ECU 2 is lower than that of ECU 3, then the order of sending the control instruction from ECU 1 is ECU 3, then ECU 2.

[0087] Step 303, detecting whether the number of transmissions reaches a preset number threshold;

[0088] In one possible implementation, the vehicle provided by the present application also includes a counter, which is used to record the number of times the control instruction is sent to the second ECU through the control pin of the HSD. The first ECU can detect whether its own number of transmissions reaches a preset number threshold, and execute subsequent steps based on whether the number of transmissions reaches the preset number threshold and whether the message sent by the second ECU is received. Optionally, the preset number threshold can be pre-set in the vehicle by the developer. For example, each time the first ECU sends a control instruction to the second ECU, the number in the counter can be increased by 1. In this step, by detecting whether the number of transmissions reaches the preset number threshold, it is decided whether to stop sending the control instruction again.

[0089] When the number of transmissions does not reach the preset number threshold, and the first ECU does not receive the message sent by the second ECU within the preset time period, the step of sending the control instruction from the first ECU to the second ECU is re-executed, that is, the process returns to step 302 .

[0090] That is, in this solution, after the second ECU receives the control instruction, the re-awakening process according to the control instruction fails, and the first ECU still does not receive the message sent by the second ECU within the preset time period. The first ECU can resend the control instruction. At this time, the number of transmissions increases by one. When the number of transmissions each time does not reach the preset number threshold, and the first ECU still does not receive the message sent by the second ECU within the preset time period, the first ECU can continue to send control instructions to the second ECU. For example, the preset number of times is 10 times. After the first ECU sends the control instruction to the second ECU for the first time, the above detection number does not reach 10 times. If the first ECU does not receive the message sent by the second ECU within the preset time period, the first ECU can send the control instruction to the second ECU again (for the second time).

[0091] Step 304: When the number of transmissions reaches a preset number threshold and the first ECU does not receive a message sent by the second ECU within a preset time period, fault information is generated, and the fault information is used to indicate that a fault exists in the wake-up process of the second ECU.

[0092] Optionally, when the number of transmissions reaches a preset threshold and the first ECU does not receive a message sent by the second ECU within a preset time period, it means that the second ECU has failed during this wake-up process. The first ECU can generate fault information, thereby indicating that a fault occurred in the second ECU during the wake-up process.

[0093] In one possible implementation, the first ECU can detect whether the ECU network management parameters are normal. If the ECU network management parameters are normal, it means that the second ECU wake-up failure is not caused by the ECU network management, but is caused by its own abnormality. Thus, the generated fault information can indicate that the second ECU wake-up failure is caused by its own abnormality. If the ECU network management parameters are abnormal, it means that the second ECU wake-up failure is caused by the ECU network management. Thus, the generated fault information can indicate that the second ECU wake-up failure is caused by the ECU network management abnormality.

[0094] Optionally, the ECU network management parameters may be parameters such as the operating voltage and operating current of the ECU in the ECU network structure. When judging whether the ECU network management parameters are normal, the judgment may be made as follows: if the ECU network management parameters are not within the normal value range, it indicates that the ECU network management parameters are abnormal; if the ECU network management parameters are within the normal value range, it indicates that the ECU network management parameters are normal, thereby obtaining the content of the fault information.

[0095] In one possible implementation, the first ECU may also send the generated fault information to a target terminal or a server, wherein the target terminal has a wireless communication connection with the vehicle, and the server has a wireless communication connection with the vehicle. For example, the first ECU may also display the generated fault information on the display screen of the vehicle, or the first ECU may also send the generated fault information to a user terminal that has a wireless communication connection with the vehicle, and the user terminal may display the fault information, so that the user may know whether the second ECU has a fault through the displayed fault information. Alternatively, the first ECU may also send the generated fault information to a server that has a wireless communication connection with the vehicle, so that the background server may know the vehicle and whether the second ECU has a fault and the cause of the fault, thereby improving the efficiency of troubleshooting.

[0096] In summary, the present application enters the wake-up state according to the wake-up instruction when the first ECU receives the wake-up instruction, the first ECU is any one of at least two ECUs, and the wake-up instruction is used to wake up each ECU; if the first ECU does not receive the message sent by the second ECU within a preset time period, the first ECU sends a control instruction to the second ECU, and the control instruction is used to re-wake up the second ECU. When any one of the ECUs receives the wake-up instruction, the vehicle enters the wake-up state according to the wake-up instruction, and receives the message sent by the second ECU through the first ECU. If it is not received within the preset time period, the first ECU sends a control instruction to the second ECU, so that the second ECU can be re-wake up based on the control instruction, without the user manually disconnecting the power supply battery and other processes, thereby improving the efficiency of re-waking up each ECU.

[0097] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0098] Please refer to Figure 6 , which shows a structural block diagram of a vehicle computer ECU wake-up device provided by an exemplary embodiment of the present application. The vehicle computer ECU wake-up device 600 can be applied to a vehicle with at least two ECUs. The vehicle computer ECU wake-up device 600 includes:

[0099] A first wake-up module 601 is used for entering a wake-up state according to a wake-up instruction when a first ECU receives the wake-up instruction, wherein the first ECU is any one of the at least two ECUs, and the wake-up instruction is used to wake up each ECU;

[0100] The instruction sending module 602 is used to send a control instruction to the second ECU through the first ECU if the first ECU does not receive a message sent by the second ECU within a preset time period, and the control instruction is used to reawaken the second ECU.

[0101] In summary, the present application enters the wake-up state according to the wake-up instruction when the first ECU receives the wake-up instruction, the first ECU is any one of at least two ECUs, and the wake-up instruction is used to wake up each ECU; if the first ECU does not receive the message sent by the second ECU within a preset time period, the first ECU sends a control instruction to the second ECU, and the control instruction is used to re-wake up the second ECU. When any one of the ECUs receives the wake-up instruction, the vehicle enters the wake-up state according to the wake-up instruction, and receives the message sent by the second ECU through the first ECU. If it is not received within the preset time period, the first ECU sends a control instruction to the second ECU, so that the second ECU can be re-wake up based on the control instruction, without the user manually disconnecting the power supply battery and other processes, thereby improving the efficiency of re-waking up each ECU.

[0102] Optionally, the first ECU includes a high-side driver chip HSD, and the first ECU is electrically connected to the second ECU via a control pin of the HSD;

[0103] The instruction sending module 602 is used to send the control instruction to the second ECU through the control pin of the HSD when the first ECU does not receive the message sent by the second ECU within a preset time period.

[0104] Optionally, the number of the second ECU is not less than 2, and the device further includes:

[0105] a function acquisition module, configured to acquire the driving functions of each of the second ECUs through the first ECU before sending a control instruction to the second ECU through the first ECU if the first ECU does not receive a message sent by the second ECU within a preset time period;

[0106] A sequence determination module, used for determining the sending sequence of the control instructions according to the driving functions of each of the second ECUs;

[0107] An instruction sending module is used to send the control instructions to each of the second ECUs in sequence through the control pins of the HSD according to the sending order.

[0108] Optionally, the order determination module is further used to obtain the importance level of each of the second ECUs according to the driving functions of each of the second ECUs;

[0109] The order of sending the control instructions is determined according to the importance levels of the second ECUs.

[0110] Optionally, the vehicle further includes a counter, the counter being used to record the number of times the control instruction is sent to the second ECU through the control pin of the HSD, and the device further includes:

[0111] A first detection module is used to detect whether the number of transmissions reaches a preset number threshold;

[0112] A first execution module, configured to re-execute the step of sending a control instruction to the second ECU through the first ECU when the number of sending times does not reach the preset number threshold and the first ECU does not receive the message sent by the second ECU within the preset time period;

[0113] The information generation module is used to generate fault information when the number of transmissions reaches the preset number threshold and the first ECU does not receive the message sent by the second ECU within the preset time period, and the fault information is used to indicate that the second ECU has a fault during the wake-up process.

[0114] Optionally, the device further comprises:

[0115] An information sending module is used to send the fault information to a target terminal or a server after generating fault information when the number of transmissions reaches the preset number threshold and the first ECU does not receive the message sent by the second ECU within the preset time period. The target terminal establishes a wireless communication connection with the vehicle, and the server establishes a wireless communication connection with the vehicle.

[0116] Optionally, the device further comprises:

[0117] A state acquisition module, configured to acquire an initial state of the first ECU after the first ECU enters a wake-up state according to the wake-up instruction when the first ECU receives the wake-up instruction;

[0118] The second execution module is used to execute the step of sending a control instruction to the second ECU through the first ECU when the initial state of the first ECU is a sleep state, so that the second ECU is reawakened based on the control instruction if the first ECU does not receive a message sent by the second ECU within a preset time period.

[0119] Optionally, the first ECU is electrically connected to a CAN bus, and the second ECU is electrically connected to the CAN bus;

[0120] The device also includes:

[0121] The second detection module is used for detecting whether the first ECU receives the message sent by the second ECU through the CAN bus within the preset time period before sending a control instruction to the second ECU through the first ECU if the first ECU does not receive the message sent by the second ECU within the preset time period.

[0122] Optionally, the present application also provides a vehicle, which includes at least two on-board computers, and any one of the at least two on-board computers includes a memory and a processor, and a computer program is stored in the memory. When the computer program is executed by the processor, the processor implements the methods provided in the above-mentioned embodiments.

[0123] Please refer to Figure 7 , which shows a schematic diagram of the structure of a driving computer provided by an exemplary embodiment of the present application. Figure 7 As shown, the vehicle computer 700 includes a central processing unit (CPU) 701, a system memory 704 including a random access memory (RAM) 702 and a read only memory (ROM) 703, and a system bus 705 connecting the system memory 704 and the central processing unit 701. The vehicle computer 700 also includes a basic input / output system (I / O system) 708 for helping to transmit information between various components in the computer, and a large-capacity storage device 707 for storing an operating system 712, application programs 713 and other program modules 714.

[0124] The basic input / output system 706 includes a display 708 for displaying information and an input device 709 such as a mouse and a keyboard for user inputting information. The display 708 and the input device 709 are connected to the central processing unit 701 through an input / output controller 710 connected to the system bus 705. The basic input / output system 706 may also include an input / output controller 710 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 710 also provides output to a display screen, a printer, or other types of output devices.

[0125] The mass storage device 707 is connected to the central processing unit 701 via a mass storage controller (not shown) connected to the system bus 705. The mass storage device 707 and its associated computer readable medium provide non-volatile storage for the vehicle computer 700. That is, the mass storage device 707 may include a computer readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.

[0126] The computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that the computer storage media is not limited to the above. The above-mentioned system memory 704 and mass storage device 707 can be collectively referred to as memory.

[0127] The on-board computer 700 can be connected to the Internet or other network devices via a network interface unit 711 connected to the system bus 705 .

[0128] The memory also includes one or more programs, which are stored in the memory. The central processing unit 701 implements all or part of the steps executed by the on-board computer in the methods provided in the above-mentioned embodiments of the present application by executing the one or more programs.

[0129] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0130] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a high-density digital video disc (Digital Video Disc, DVD)), or a semiconductor medium (e.g., a solid-state drive (Solid State Disk, SSD)), etc.

[0131] The embodiment of the present application also discloses a vehicle, which includes an on-board terminal, and the on-board terminal includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the wake-up method of the vehicle computer ECU in the above method embodiment. Optionally, the above terminal can be the on-board terminal in this embodiment.

[0132] The embodiment of the present application further discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the method in the above method embodiment when executed by a processor.

[0133] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.

[0134] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0135] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0136] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0137] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.

[0138] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0139] The above is an example introduction to a wake-up method, device, terminal and storage medium for an on-board computer ECU disclosed in an embodiment of the present application. This article uses individual examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for waking up a vehicle computer ECU, characterized in that: The method is applied to a vehicle having at least two ECUs, and the method comprises: When the first ECU receives a wake-up instruction, it enters a wake-up state according to the wake-up instruction, the first ECU is any one ECU of the at least two ECUs, and the wake-up instruction is used to wake up each ECU; the first ECU includes a high-side driver chip HSD, and the first ECU is electrically connected to the second ECU through a control pin of the HSD; If the first ECU does not receive a message sent by the second ECU within a preset time period, a control instruction is sent to the second ECU through the control pin of the HSD, and the control instruction is used to reawaken the second ECU.

2. The method according to claim 1, characterized in that: The number of the second ECUs is not less than 2, and before the first ECU sends a control instruction to the second ECU through the first ECU if the first ECU does not receive a message sent by the second ECU within a preset time period, the method further includes: Acquiring the driving functions of each of the second ECUs through the first ECU; Determining the order of sending the control instructions according to the driving functions of each of the second ECUs; The control instructions are sent to each of the second ECUs in sequence through the control pins of the HSD according to the sending order.

3. The method according to claim 2, characterized in that The step of determining the order of sending the control instructions according to the driving functions of the second ECUs includes: According to the driving functions of each of the second ECUs, obtaining the importance level of each of the second ECUs; The order of sending the control instructions is determined according to the importance levels of the second ECUs.

4. The method according to claim 1, characterized in that The vehicle further includes a counter, the counter being used to record the number of times the control instruction is sent to the second ECU via the control pin of the HSD. The method further includes: Detecting whether the sending times reaches a preset times threshold; When the number of transmissions does not reach the preset number threshold, and the first ECU does not receive the message sent by the second ECU within the preset time period, re-execute the step of sending the control instruction to the second ECU through the first ECU; When the number of transmissions reaches the preset number threshold, and the first ECU does not receive the message sent by the second ECU within the preset time period, fault information is generated, where the fault information is used to indicate that a fault exists in the wake-up process of the second ECU.

5. The method according to claim 4, characterized in that After generating fault information when the number of transmissions reaches the preset number threshold and the first ECU does not receive the message sent by the second ECU within the preset time period, the method further includes: The fault information is sent to a target terminal or a server, the target terminal establishes a wireless communication connection with the vehicle, and the server establishes a wireless communication connection with the vehicle.

6. The method according to any one of claims 1 to 5, characterized in that: When the first ECU receives the wake-up instruction, after entering the wake-up state according to the wake-up instruction, the method further includes: Obtaining the initial state of the first ECU; When the initial state of the first ECU is a sleep state, the step of sending a control instruction to the second ECU through the first ECU if the first ECU does not receive a message sent by the second ECU within a preset time period is executed, so that the second ECU is reawakened based on the control instruction.

7. The method according to any one of claims 1 to 5, characterized in that: The first ECU is electrically connected to a CAN bus, and the second ECU is electrically connected to the CAN bus; Before the first ECU sends a control instruction to the second ECU if the first ECU does not receive the message sent by the second ECU within a preset time period, the method further includes: Within the preset time period, the first ECU detects whether a message sent by the second ECU is received through the CAN bus.

8. A wake-up device for a vehicle computer ECU, characterized in that: The device is applied to a vehicle having at least two ECUs, and the device comprises: A first wake-up module, configured to enter a wake-up state according to a wake-up instruction when a first ECU receives the wake-up instruction, wherein the first ECU is any one of the at least two ECUs, and the wake-up instruction is used to wake up each ECU; the first ECU includes a high-side driver chip HSD, and the first ECU is electrically connected to the second ECU through a control pin of the HSD; The instruction sending module is used to send a control instruction to the second ECU through the control pin of the HSD if the first ECU does not receive a message sent by the second ECU within a preset time period, and the control instruction is used to reawaken the second ECU.

9. A vehicle, characterized in that: The vehicle includes at least two on-board computers, and any one of the at least two on-board computers includes a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the processor implements the wake-up method of the on-board computer ECU as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the wake-up method of the vehicle computer ECU as described in any one of claims 1 to 7 is implemented.