A control method, control device and vehicle for waking up a network

By assessing the status of the battery, control storage module, and software module when the vehicle battery is restored after an abnormal power outage, and waking up the network only when preset conditions are met, the problem of the vehicle controller and functional modules malfunctioning is solved, thus improving vehicle safety.

CN116455940BActive Publication Date: 2026-07-14GREAT WALL MOTOR CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREAT WALL MOTOR CO LTD
Filing Date
2023-04-28
Publication Date
2026-07-14

Smart Images

  • Figure CN116455940B_ABST
    Figure CN116455940B_ABST
Patent Text Reader

Abstract

The application provides a control method and device for waking up a network and a vehicle. The method comprises the following steps: in response to receiving an instruction for recovering power supply after an abnormal power-off of a vehicle storage battery, judging whether the storage battery, a control storage function module and a software function module meet preset wake-up conditions; and in response to the storage battery, the control storage function module and the software function module meeting the preset wake-up conditions, waking up the network. In the case of recovering power supply after an abnormal power-off of a vehicle storage battery, before waking up the network, it is firstly judged whether the storage battery, the control storage function module and the software function module meet preset wake-up conditions, and when the storage battery, the control storage function module and the software function module meet the preset wake-up conditions, the operation of waking up the network is allowed to be performed. In this way, it can be ensured that when the operation of waking up the network is performed, the storage battery, the control storage function module and the software function module are all in a normal state and can normally operate, thereby improving the safety of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a control method, control device, and vehicle for waking up a network. Background Technology

[0002] Abnormal battery power loss in vehicles occurs frequently. After an abnormal battery power loss, it is necessary to restore power. During the power restoration process, the vehicle controller and various functional modules often fail to function properly. If the vehicle network is activated at this time, it will inevitably lead to safety hazards. Summary of the Invention

[0003] In view of this, the purpose of this application is to propose a control method, control device and vehicle for waking up the network, so as to solve the safety hazard caused by the sudden restoration of power to the battery.

[0004] To achieve the above objectives, the first aspect of this application provides a control method for waking up a network, comprising:

[0005] In response to receiving a command to restore power after an abnormal power loss of the vehicle battery, determine whether the battery, control storage function module, and software function module meet the preset wake-up conditions;

[0006] The network is woken up when the battery, control storage module, and software module meet the preset wake-up conditions.

[0007] Optionally, the preset wake-up conditions include: preset voltage stability conditions, preset control storage function module normal conditions, and preset software module normal conditions;

[0008] The determination of whether the battery, control storage module, and software module meet the preset wake-up conditions includes:

[0009] Determine whether the battery voltage meets the preset voltage stability condition;

[0010] Determine whether the control storage function module meets the preset normal conditions for the control storage function module;

[0011] Determine whether the software function module meets the preset normal conditions for the software module;

[0012] In response to the battery voltage meeting the preset voltage stability condition, the control and storage function module meeting the preset control and storage function module normal condition, and the software function module meeting the preset software module normal condition, it is determined that the battery, control and storage function module, and software function module meet the preset wake-up condition.

[0013] Optionally, the preset voltage stability conditions include: the battery voltage is within a preset voltage range, and the voltage fluctuation amplitude of the battery voltage within a preset time period is less than or equal to a preset floating value.

[0014] Optionally, the control storage function module includes a controller function module and a storage unit. The controller function module includes an I / O port and a communication driver chip. The preset control storage function module normal conditions include: preset control storage conditions, preset I / O port voltage normal conditions, and preset communication driver chip normal conditions.

[0015] The step of determining whether the control storage function module meets the preset normal conditions for the control storage function module includes:

[0016] Determine whether the storage unit meets the preset control storage conditions;

[0017] In response to the storage unit meeting the preset control storage conditions, it is determined whether the voltage of the I / O port in the control storage function module meets the preset normal I / O port voltage conditions;

[0018] In response to the voltage of the I / O port meeting the preset normal I / O port voltage conditions, it is determined whether the communication driver chip in the control storage function module meets the preset normal communication driver chip conditions.

[0019] In response to the communication driver chip meeting the preset normal conditions for the communication driver chip, it is determined that the control storage function module meets the preset normal conditions for the control storage function module.

[0020] Optionally, the preset control storage condition is: receiving a successful read / write instruction sent by the storage unit;

[0021] The step of determining whether the storage unit meets the preset control storage conditions includes:

[0022] Send read / write commands to the storage unit;

[0023] In response to receiving a successful read / write instruction from the storage unit, it is determined that the storage unit meets the preset control storage normal conditions.

[0024] Optionally, the normal condition for the preset I / O port voltage is that the voltage of the I / O port is within the preset I / O voltage range.

[0025] Optionally, the normal condition of the preset communication driver chip is: receiving communication feedback information sent by the communication driver chip;

[0026] The determination of whether the communication driver chip of the control storage function module meets the preset normal conditions for the communication driver chip includes:

[0027] Send communication information to the communication driver chip;

[0028] In response to receiving communication feedback information sent by the communication driver chip, it is determined that the communication driver chip of the control storage function module meets the preset normal conditions for the communication driver chip.

[0029] Optionally, the normal conditions of the preset software module include: receiving a successful read / write instruction from the storage unit;

[0030] The step of determining whether the software functional module meets the preset normal conditions for the software module includes:

[0031] All software function modules are controlled to send software module read / write instructions to the storage unit;

[0032] In response to receiving all successful read / write instructions for software modules sent by the storage unit, it is determined that the software functional module meets the preset normal conditions for software modules, wherein the successful read / write instructions for software modules correspond one-to-one with the read / write instructions for software modules.

[0033] A second aspect of this application provides a control device for waking up a network, comprising:

[0034] The judgment module is configured to, in response to a command to restore power after an abnormal power failure of the vehicle battery, determine whether the battery, the control storage function module, and the software function module meet the preset wake-up conditions.

[0035] The execution module is configured to wake up the network in response to the battery, control storage function module and software function module meeting the preset wake-up conditions.

[0036] A third aspect of this application provides a vehicle including the control device for the wake-up network described in the second aspect above.

[0037] As can be seen from the above, the network wake-up control method, control device, and vehicle provided in this application, when the vehicle battery loses power abnormally and is restored to power, first determine whether the battery, control storage module, and software module meet preset wake-up conditions before waking up the network. Only when the battery, control storage module, and software module meet the preset wake-up conditions is the network wake-up operation allowed. This ensures that the battery, control storage module, and software module are all in normal condition and can operate normally when the network wake-up operation is performed, preventing the network from being woken up even when the battery, control storage module, and / or software module are abnormal or damaged, thus improving vehicle safety. Attached Figure Description

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

[0039] Figure 1 This is a flowchart illustrating the control method for the wake-up network according to an embodiment of this application;

[0040] Figure 2 This is a schematic diagram of the control device for the wake-up network according to an embodiment of this application;

[0041] Figure 3 This is a schematic diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0043] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0044] As the power source for a car's starting, lighting, and signaling systems, the battery needs to provide a strong and continuous electrical energy. A key difference between electric vehicles and traditional vehicles is that electric vehicles are powered by high-voltage batteries. Various electronic control units (vehicle controller, battery management system, body controller, etc.) need to meet the electrical control requirements of the entire vehicle. Therefore, a continuous and stable power supply from the battery is a fundamental condition for ensuring the normal operation of each electronic control unit.

[0045] However, due to some special circumstances, abnormal battery power loss in vehicles does occur from time to time. The abnormal battery power loss may be caused by the following two situations:

[0046] Scenario 1: When users are repairing their vehicles or when they are not using the vehicles for a long time, they often disconnect the positive or negative terminals of the battery, causing the battery to lose power abnormally.

[0047] Scenario 2: When the vehicle experiences some abnormalities (such as road bumps or improper operation during driving), the positive or negative terminal of the battery may disconnect, resulting in abnormal battery power loss.

[0048] Based on the above problems, the inventors discovered that when the battery is restored after an abnormal power outage, the vehicle controller and various functional modules often malfunction. This is because when the vehicle battery is restored after an abnormal power outage, the sudden surge in power supply may cause the battery voltage to be too high or unstable, resulting in voltage spikes. This can lead to the battery suddenly supplying high or unstable voltages to the vehicle controller and other electronic control units, easily damaging the vehicle controller and causing it to malfunction, thus reducing its lifespan. Furthermore, waking up the vehicle network when the vehicle controller and its functional modules are malfunctioning could pose a safety hazard.

[0049] Based on this, this application provides a control method, control device, and vehicle for waking up the network, which performs the operation of waking up the network only after ensuring that the battery, control storage function module, and software function module are all in normal condition, thereby improving vehicle safety.

[0050] refer to Figure 1 This application provides a control method for waking up a network, which can be executed by the microcontroller unit (MCU, also known as a single-chip microcomputer) of the vehicle controller. The control method includes the following steps:

[0051] Step S100: In response to receiving the instruction to restore power after the vehicle battery has lost power abnormally, determine whether the battery, the control storage function module, and the software function module meet the preset wake-up conditions.

[0052] Step S200: In response to the battery, control storage function module and software function module meeting the preset wake-up conditions, the network is woken up.

[0053] Specifically, the vehicle's overall controller includes an MCU and controller functional modules controlled by the MCU. The controller functional modules include I / O ports, communication driver chips, etc.

[0054] The abnormal battery power loss described in this application refers to a prolonged period of abnormal battery power loss. For example, when a user is repairing the vehicle or when the vehicle is not in use for an extended period, they often intentionally disconnect the positive or negative terminal of the battery, causing a prolonged abnormal power loss. This prolonged abnormal battery power loss leads to a prolonged power outage for various functional modules of the vehicle. When the battery is re-energized, the unstable battery voltage or the presence of spikes can easily cause these long-deprived functional modules to malfunction or malfunction.

[0055] The abnormal power loss of the vehicle battery described in this application does not include the situation where the battery experiences a momentary abnormal power loss and is immediately restored to power. When the battery experiences a brief power loss, the MCU and various functional modules can be powered by the storage capacitor connected to it, which will not cause the MCU and various functional modules to lose power. Therefore, when the battery experiences a momentary abnormal power loss and is immediately restored to power, it will not cause the various functional modules to malfunction or malfunction. Therefore, it is not necessary to judge the normality of the battery, control storage functional module and software functional module.

[0056] In this application, after the battery loses power abnormally, it needs to be powered back on. When the MCU receives the instruction to restore power after the vehicle battery loses power abnormally, it determines whether the battery, control storage function module and software function module meet the preset wake-up conditions. When the battery, control storage function module and software function module meet the preset wake-up conditions, the network is woken up.

[0057] The battery serves as the power source for the vehicle's starting system, lighting system, and signal system. When the vehicle's battery loses power abnormally and is restored to power, the positive and negative terminals of the battery are reconnected. At this time, the battery has a certain voltage, but the voltage may be unstable, excessively high, or have spikes.

[0058] The MCU is used to control the execution of various functions of the vehicle.

[0059] The control and storage function module includes a controller function module and a storage unit (also referred to as "EEPROM, EEPROM, or storage space"). The controller function module includes the I / O port and the communication driver chip. Both the controller function module and the storage unit are controlled by the MCU. The MCU, the controller function module, and the storage unit are all powered by the battery. When the battery voltage is unstable, excessively high, or has voltage spikes, the voltage output from the battery to the MCU and control and storage function module may damage the MCU and control and storage function module, causing them to malfunction.

[0060] The software functional modules can be upper-level apps or functional modules for the vehicle, such as in-vehicle music apps, in-vehicle navigation modules, or in-vehicle video apps. These software functional modules are controlled by the MCU and powered by the battery. When the MCU malfunctions, it may cause the various software functional modules to malfunction as well.

[0061] Therefore, in this application, when the vehicle battery is restored after an abnormal power outage, the status of the battery, control storage module, and software module must be determined before waking up the network. Only when the battery, control storage module, and software module meet the preset wake-up conditions is it proven that the battery, control storage module, and software module are all in a normal state and can operate normally. Only then is the network wake-up operation allowed. This ensures that the network will not be woken up even when the battery, control storage module, and / or software module are abnormal or damaged, thus improving vehicle safety.

[0062] The preset wake-up conditions are predefined conditions that allow the network to be woken up. When the battery, control and storage module, and software module meet the preset wake-up conditions, it indicates that they are all in a normal state without any abnormalities. In this case, the network wake-up operation can be performed normally without any safety risks. Conversely, if the battery, control and storage module, and software module do not meet the preset wake-up conditions, it indicates that they are in an abnormal state. In this case, waking up the network should not be performed, otherwise, safety risks may occur.

[0063] In some embodiments, the preset wake-up conditions include: preset voltage stability conditions, preset control storage function module normal conditions, and preset software module normal conditions;

[0064] Step S100 determines whether the battery, control storage module, and software module meet the preset wake-up conditions, including:

[0065] Determine whether the battery voltage meets the preset voltage stability condition;

[0066] Determine whether the control storage function module meets the preset normal conditions for the control storage function module;

[0067] Determine whether the software function module meets the preset normal conditions for the software module;

[0068] In response to the battery voltage meeting the preset voltage stability condition, the control and storage function module meeting the preset control and storage function module normal condition, and the software function module meeting the preset software module normal condition, it is determined that the battery, control and storage function module, and software function module meet the preset wake-up condition.

[0069] Specifically, the preset voltage stability condition is a preset condition for judging whether the battery voltage is normal. When the battery voltage meets the preset voltage stability condition, it means that the battery voltage is in a stable and normal state.

[0070] The preset normal conditions for the control storage function module are preset conditions for judging whether the control storage function module is normal. When the control storage function module meets the preset normal conditions, it means that the control storage function module is not abnormal and is in a normal state.

[0071] The preset normal conditions for software modules are preset conditions for judging whether a software function module is normal. When a software function module meets the preset normal conditions, it means that the software function module is not abnormal and is in a normal state.

[0072] When determining whether the battery, control and storage module, and software module meet the preset wake-up conditions, the system checks whether the battery voltage meets the preset voltage stability condition, whether the control and storage module meets the preset normal operation condition, and whether the software module meets the preset normal operation condition. If the battery voltage meets the preset voltage stability condition, the control and storage module meets the preset normal operation condition, and the software module meets the preset normal operation condition, then the battery, control and storage module, and software module meet the preset wake-up conditions. At this point, the battery, control and storage module, and software module are all in a normal state without any abnormalities. The network wake-up operation can be performed normally without any safety risks. Conversely, if the battery voltage does not meet the preset voltage stability condition, the control and storage function module does not meet the preset normal conditions, and / or the software function module does not meet the preset normal conditions, it indicates that the battery, control and storage function module, and / or software function module do not meet the corresponding conditions, and that the battery, control and storage function module, and / or software function module are in an abnormal state. In this case, it is not advisable to wake up the network, otherwise, there will be safety hazards.

[0073] In some embodiments, step S100, determining whether the battery, the control storage function module, and the software function module meet preset wake-up conditions, includes:

[0074] Step S110: Determine whether the battery voltage meets the preset voltage stability condition;

[0075] Step S120: In response to the battery voltage meeting the preset voltage stability condition, determine whether the control storage function module meets the preset control storage function module normal condition;

[0076] Step S130: In response to the control storage function module meeting the preset control storage function module normal conditions, determine whether the software function module meets the preset software module normal conditions;

[0077] Step S140: In response to the software function module meeting the preset normal conditions, it is determined that the battery, control storage function module and software function module meet the preset wake-up conditions.

[0078] Specifically, when determining whether the battery, control and storage function module, and software function module meet the preset wake-up conditions, the process first determines whether the battery voltage meets the preset voltage stability condition. If the battery voltage meets the preset voltage stability condition, the process then determines whether the control and storage function module meets the preset normal operation condition. If the control and storage function module meets the preset normal operation condition, the process then determines whether the software function module meets the preset normal operation condition. If the software function module meets the preset normal operation condition, the process is finally determined that the battery, control and storage function module, and software function module meet the preset wake-up conditions.

[0079] When determining whether the battery, control and storage module, and software module meet the preset wake-up conditions, the specific judgment process follows a certain priority order: the battery must be judged first, then the control and storage module, and finally the software module. This order aligns better with the actual application principles of each module. First, the battery supplies power to the control and storage module and the software module; therefore, the battery must be judged first. Only when the battery voltage is confirmed to be stable and normal can we ensure that a sudden power supply from the battery will not damage the control and storage module and the software module, and only then can the battery provide normal power to the control and storage module and the software module. After confirming that the battery voltage is stable and normal, the control and storage module is then judged. This is because the control and storage module controls the other software modules; only when the control and storage module is functioning normally can it properly control the other software modules. Therefore, the control and storage module must be confirmed to be functioning normally before judging the upper-level software modules.

[0080] In this application, the process of determining whether the battery, control storage module, and software module meet the preset wake-up conditions has a certain judgment order, which makes the entire judgment process more in line with the actual operating principle and process. Only when the judgment of the previous step meets the conditions will the next judgment operation be performed. If the judgment of the previous step does not meet the conditions, the next judgment operation will be stopped, thereby improving the efficiency and accuracy of the judgment process and avoiding the execution of some redundant judgment steps.

[0081] In some embodiments, the preset voltage stability conditions include: the battery voltage is within a preset voltage range, and the voltage fluctuation amplitude of the battery voltage within a preset time period is less than or equal to a preset floating value.

[0082] Specifically, the preset voltage range is the normal voltage range of the battery set based on actual testing experience. In this embodiment, the preset voltage range is 7–16V. When the battery voltage is within the preset voltage range, the battery voltage is normal.

[0083] The preset time period is a pre-defined time interval for judging whether the battery voltage is normal, and the preset fluctuation value is a fluctuation value of the battery voltage set based on actual experience. In this embodiment, the preset time period is 100ms, and the preset fluctuation value is 10%. When the voltage fluctuation of the battery voltage within the preset time period is less than or equal to the preset fluctuation value, it indicates that the battery voltage is stable.

[0084] The voltage fluctuation amplitude s is calculated using the formula s = (v1 - v2) / v2, where v1 is the larger voltage value between two adjacent time points, and v2 is the smaller voltage value between two adjacent time points. Based on the calculation of the battery voltage fluctuation amplitude, it can be determined whether the battery voltage is stable.

[0085] Only when the battery voltage is within the preset voltage range and the voltage fluctuation amplitude within the preset time period is less than or equal to the preset floating value, it is proven that the battery voltage is stable and normal, and the battery is in a normal state.

[0086] In this application, the battery's voltage stability and normality are assessed to determine whether the battery is in a normal state. Only when the battery voltage meets the preset voltage stability conditions can it be determined that the battery voltage is stable and normal, indicating that the battery is in a normal state. By assessing the battery under set conditions, the battery's state can be determined more accurately, ensuring the effectiveness and accuracy of the assessment process.

[0087] In some embodiments, the control storage function module includes a controller function module and a storage unit, the controller function module includes an I / O port and a communication driver chip; the preset control storage function module normal conditions include: preset control storage conditions, preset I / O port voltage normal conditions, and preset communication driver chip normal conditions;

[0088] Step S120, determining whether the control storage function module meets the preset normal conditions for the control storage function module, includes:

[0089] Step S121: Determine whether the storage unit meets the preset control storage conditions;

[0090] Step S122: In response to the storage unit meeting the preset control storage conditions, determine whether the voltage of the I / O port in the control storage function module meets the preset normal I / O port voltage conditions.

[0091] Step S123: In response to the voltage of the I / O port meeting the preset normal I / O port voltage conditions, determine whether the communication driver chip in the control storage function module meets the preset normal communication driver chip conditions.

[0092] Step S124: In response to the communication driver chip meeting the preset normal conditions of the communication driver chip, determine that the control storage function module meets the preset normal conditions of the control storage function module.

[0093] Specifically, the preset control storage condition is a preset condition for judging whether the storage unit is normal. When the storage unit meets the preset control storage condition, it indicates that the interaction between the MCU and the storage unit is normal and the storage unit is normal.

[0094] The preset I / O port voltage normal condition is a preset condition for judging whether the I / O port is normal. When the voltage of the I / O port meets the preset I / O port voltage normal condition, it indicates that the I / O port of the control storage function module is in a normal state.

[0095] The preset normal conditions for the communication driver chip are preset conditions for judging whether the communication driver chip is normal. When the communication driver chip meets the preset normal conditions for the communication driver chip, it indicates that the communication driver chip is in a normal state.

[0096] In determining whether the control storage function module meets the preset normal conditions, the following steps are required: First, determine whether the storage unit meets the preset control storage conditions. If the storage unit meets the preset control storage conditions, it indicates that the interaction between the MCU and the storage unit is normal. Only when the interaction between the MCU and the storage unit is normal can the determination of whether the I / O ports in the control storage function module are normal be performed; otherwise, even if the I / O ports are normal, the actual storage and read / write requirements cannot be met. Therefore, after determining that the interaction between the MCU and the storage unit is normal, the voltage of the I / O ports is detected to determine whether the voltage of the I / O ports meets the preset normal I / O port voltage conditions. When it is determined that the voltage of the I / O ports in the control storage function module meets the preset normal I / O port voltage conditions, the MCU sends a signal to the communication driver chip through the I / O ports to determine whether the communication driver chip in the control storage function module meets the preset normal communication driver chip conditions. When it is determined that the communication driver chip meets the preset normal communication driver chip conditions, the control storage function module is finally determined to meet the preset normal control storage function module conditions.

[0097] In this application, the steps of determining whether the control storage function module meets the preset normal conditions of the control storage function module have a certain priority order. First, it is determined whether the storage unit is normal, then whether the I / O port is normal, and finally whether the communication driver chip is normal. Only when the previous determination step meets the conditions can the next step be executed. When the previous step does not meet the conditions, the next step is stopped. Setting this determination order not only conforms to the actual control principle and order, but also makes the whole determination process accurate and efficient, avoiding the execution of unnecessary determination steps.

[0098] In some embodiments, the preset control storage condition is: receiving a successful read / write instruction sent by the storage unit; step S121, determining whether the storage unit meets the preset control storage condition, includes:

[0099] Step S1211: Send read / write instructions to the storage unit;

[0100] Step S1212: In response to receiving a successful read / write instruction sent by the storage unit, it is determined that the storage unit meets the preset control storage normal conditions.

[0101] Specifically, when determining whether the storage unit meets the preset control storage conditions, the MCU first sends a read / write command to the storage unit. After receiving the read / write command, the storage unit completes the read / write operation according to the command and sends a successful read / write command to the MCU. When the MCU receives the successful read / write command from the storage unit, it indicates that the interaction between the MCU and the storage unit is normal. The MCU can control and read / write the storage unit normally, and the storage unit can also perform read / write operations normally and return read / write results, indicating that the storage unit is in a normal state at this time.

[0102] In this application, the normality of the storage unit can be determined by judging the interaction between the MCU and the storage unit. When the storage unit meets the preset control storage conditions, it indicates that the interaction between the MCU and the storage unit is normal and the storage unit is in a normal state. Judging the storage unit by setting the conditions can more accurately determine the state of the control storage function module and the storage unit, ensuring the effectiveness and accuracy of the judgment process.

[0103] In some embodiments, the preset normal I / O port voltage condition is that the voltage of the I / O port is within a preset I / O voltage range. The preset I / O voltage range is a normal I / O port voltage range preset based on actual testing experience. When the voltage of the I / O port in the control storage function module is within the preset I / O voltage range, it indicates that the voltage of the I / O port meets the preset normal I / O port voltage condition, and at this time, the I / O port is determined to be in a normal state.

[0104] In this application, by judging the I / O ports according to the set conditions, the normality of the I / O ports can be judged more accurately, ensuring that all functions of the control storage module are normal, and improving the effectiveness and accuracy of the judgment process.

[0105] In some embodiments, the normal condition of the preset communication driver chip is: receiving communication feedback information sent by the communication driver chip;

[0106] Step S123, determining whether the communication driver chip in the control storage function module meets the preset normal conditions for the communication driver chip, includes:

[0107] Step S1231: Send communication information to the communication driver chip;

[0108] Step S1232: In response to receiving communication feedback information sent by the communication driver chip, it is determined that the communication driver chip meets the preset normal conditions for the communication driver chip.

[0109] Specifically, when determining whether the communication driver chip in the control storage function module meets the preset normal conditions of the communication driver chip, the MCU first sends communication information to the communication driver chip. The MCU can send communication information to the communication driver chip through the I / O port. When the communication driver chip receives the communication information, it immediately sends communication feedback information to the MCU. When the MCU receives the communication feedback information sent by the communication driver chip, it determines that the communication driver chip meets the preset normal conditions of the communication driver chip. At this time, it indicates that the communication driver chip is in a normal state.

[0110] In this application, by judging the communication driver chip under set conditions, the normality of the communication driver chip can be judged more accurately, thereby ensuring that all functions of the control storage module are normal and improving the effectiveness and accuracy of the judgment process.

[0111] In some embodiments, the normal conditions of the preset software module include: receiving a successful read / write instruction from the storage unit;

[0112] Step S130, determining whether the software functional module meets the preset normal conditions for the software module, includes:

[0113] Step S131: Control all the software function modules to send software module read / write instructions to the storage unit;

[0114] Step S132: In response to receiving all successful read / write instructions for software modules sent by the storage unit, it is determined that the software functional module meets the preset normal conditions for software modules, wherein the successful read / write instructions for software modules correspond one-to-one with the read / write instructions for software modules.

[0115] Specifically, when determining whether a software function module meets preset normal conditions, the MCU first controls all software function modules to send software module read / write instructions to the storage unit. After receiving the read / write instructions from each software function module, the storage unit performs read / write operations according to the content of the instructions and sends a successful read / write instruction to the corresponding software function module, which then sends it back to the MCU. Each successful read / write instruction corresponds one-to-one with the previous one.

[0116] When the MCU receives successful read / write instructions from all software modules sent by the storage unit, it determines that the software functional module meets the preset normal conditions. At this time, all software functional modules are in normal state, all software functional modules can perform read / write operations on the storage unit normally, and the interaction between all software functional modules and the storage unit is also in normal state.

[0117] In this application, the normality of each software functional module can be determined by judging the interactivity between each software functional module and the storage unit. When a software functional module meets the preset normal conditions, it indicates that the interaction between the software functional module and the storage unit is normal, and all software functional modules are in a normal state. Judging the software functional modules by setting conditions can more accurately determine the state of the software functional modules, ensuring the effectiveness and accuracy of the judgment process.

[0118] In some embodiments, the control method for waking up the network described in this application may include the following steps:

[0119] Step 1: When the MCU of the vehicle controller receives the command to restore power after an abnormal power outage of the vehicle battery, the MCU monitors whether the battery voltage is stable within a preset voltage range (e.g., 7-16V) and whether the battery voltage fluctuation amplitude is less than 10% within 100ms. When it is determined that the battery voltage is stable within 7-16V and the battery voltage fluctuation amplitude is less than 10% within 100ms, proceed to Step 2.

[0120] Step 2: The MCU starts sending read and write commands to the memory unit. If the MCU can receive the successful read and write command sent by the memory unit, it is determined that the memory unit is normal and the interaction between the MCU and the memory unit is also normal. Then proceed to step 3.

[0121] Step 3: The MCU detects the voltage of the I / O port. When the voltage of the I / O port is within the preset I / O voltage range, it determines that the I / O port is normal and proceeds to step 4.

[0122] Step 4: The MCU sends communication information to the communication driver chip. When it is confirmed that the MCU can receive the communication feedback information sent by the communication driver chip, the communication driver chip is considered to be functioning normally.

[0123] Step 5: Once it is confirmed that there are no problems with the battery, the control storage function module, and the storage unit, the MCU controls the power management system BSW to send a start-up permission flag to the sleep-wake management module SLP. The SLP module immediately sets the battery wake-up flag to 1.

[0124] The MCU, via the SLP (Software Logic Provider) control, sends instructions allowing other software functional modules (SWCs) to read and write to the storage unit, controlling each software functional module to send read / write instructions to the storage unit. Upon receiving all software module read / write instructions, the storage unit performs the corresponding read / write operation and then sends a successful read / write instruction to the SLP. When the SLP receives all successful read / write instructions, it sends them to the MCU. The MCU then controls the SLP to send a network wake-up request and executes the network wake-up operation.

[0125] If any abnormality occurs during the above process, it will be recorded inside the MCU, and the network will not be allowed to be woken up.

[0126] The method described in this application can protect the vehicle controller and its software modules from damage caused by abnormal operations when power is suddenly restored after an abnormal battery power failure, thus extending the lifespan of the vehicle controller's software modules. Furthermore, by ensuring that the battery, control storage module, and software modules are all in normal working order before allowing network wake-up, vehicle safety can be improved.

[0127] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.

[0128] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0129] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a control device for waking up a network.

[0130] refer to Figure 2 The control device for waking up the network includes:

[0131] The judgment module 201 is configured to, in response to receiving an instruction to restore power after an abnormal power failure of the vehicle battery, determine whether the battery, the control storage function module, and the software function module meet the preset wake-up conditions.

[0132] The execution module 202 is configured to wake up the network in response to the battery, control storage function module and software function module meeting the preset wake-up conditions.

[0133] In some embodiments, the preset wake-up conditions include: preset voltage stability conditions, preset control storage function module normal conditions, and preset software module normal conditions;

[0134] The judgment module 201 is further configured to:

[0135] Determine whether the battery voltage meets the preset voltage stability condition;

[0136] Determine whether the control storage function module meets the preset normal conditions for the control storage function module;

[0137] Determine whether the software function module meets the preset normal conditions for the software module;

[0138] In response to the battery voltage meeting the preset voltage stability condition, the control and storage function module meeting the preset control and storage function module normal condition, and the software function module meeting the preset software module normal condition, it is determined that the battery, control and storage function module, and software function module meet the preset wake-up condition.

[0139] In some embodiments, the preset voltage stability conditions include: the battery voltage is within a preset voltage range, and the voltage fluctuation amplitude of the battery voltage within a preset time period is less than or equal to a preset floating value.

[0140] In some embodiments, the control storage function module includes a controller function module and a storage unit, the controller function module including an I / O port and a communication driver chip; the preset control storage function module normal conditions include: preset control storage conditions, preset I / O port voltage normal conditions, and preset communication driver chip normal conditions; the judgment module 201 is further configured to:

[0141] Determine whether the storage unit meets the preset control storage conditions;

[0142] In response to the storage unit meeting the preset control storage conditions, it is determined whether the voltage of the I / O port in the control storage function module meets the preset normal I / O port voltage conditions;

[0143] In response to the voltage of the I / O port meeting the preset normal I / O port voltage conditions, it is determined whether the communication driver chip in the control storage function module meets the preset normal communication driver chip conditions.

[0144] In response to the communication driver chip meeting the preset normal conditions for the communication driver chip, it is determined that the control storage function module meets the preset normal conditions for the control storage function module.

[0145] In some embodiments, the preset control storage condition is: receiving a successful read / write instruction sent by the storage unit;

[0146] Module 201 is also configured as follows:

[0147] Send read / write commands to the storage unit;

[0148] In response to receiving a successful read / write instruction from the storage unit, it is determined that the storage unit meets the preset control storage normal conditions.

[0149] In some embodiments, the normal condition for the preset I / O port voltage is that the voltage of the I / O port is within the preset I / O voltage range.

[0150] In some embodiments, the normal condition of the preset communication driver chip is: receiving communication feedback information sent by the communication driver chip;

[0151] The judgment module 201 is further configured to:

[0152] Send communication information to the communication driver chip;

[0153] In response to receiving communication feedback information sent by the communication driver chip, it is determined that the communication driver chip meets the preset normal conditions for the communication driver chip.

[0154] In some embodiments, the normal conditions of the preset software module include: receiving a successful read / write instruction from the storage unit;

[0155] The judgment module 201 is further configured to:

[0156] All software function modules are controlled to send software module read / write instructions to the storage unit;

[0157] In response to receiving all successful read / write instructions for software modules sent by the storage unit, it is determined that the software functional module meets the preset normal conditions for software modules, wherein the successful read / write instructions for software modules correspond one-to-one with the read / write instructions for software modules.

[0158] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.

[0159] The apparatus of the above embodiments is used to implement the control method of the corresponding wake-up network in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0160] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the control method for waking up the network described in any of the above embodiments.

[0161] Figure 3 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0162] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0163] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0164] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0165] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0166] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0167] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0168] The electronic devices described above are used to implement the control methods of the corresponding wake-up networks in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0169] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a computer-readable storage medium storing computer instructions for causing the computer to execute the control method for waking up the network as described in any of the above embodiments.

[0170] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0171] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the control method for waking up the network as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0172] Based on the same inventive concept, corresponding to any of the above-described embodiments, this application also provides a vehicle, the vehicle including the control device of the wake-up network, the electronic device, or the computer-readable medium. The vehicle has the beneficial effects of the corresponding method embodiments, which will not be elaborated further here.

[0173] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.

[0174] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0175] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0176] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.

Claims

1. A control method for waking up a network, characterized in that, include: In response to receiving a command to restore power after an abnormal power loss of the vehicle battery, determine whether the battery, control storage function module, and software function module meet the preset wake-up conditions; The network is woken up when the battery, control storage module, and software module meet the preset wake-up conditions. The preset wake-up conditions include: preset voltage stability conditions, preset control and storage function module normal conditions, and preset software module normal conditions. The determination of whether the battery, control storage module, and software module meet the preset wake-up conditions includes: Determine whether the battery voltage meets the preset voltage stability condition; Determine whether the control storage function module meets the preset normal conditions for the control storage function module; Determine whether the software function module meets the preset normal conditions for the software module; In response to the battery voltage meeting the preset voltage stability condition, the control storage function module meeting the preset control storage function module normal condition, and the software function module meeting the preset software module normal condition, it is determined that the battery, control storage function module, and software function module meet the preset wake-up condition. The control storage function module includes a controller function module and a storage unit. The controller function module includes an I / O port and a communication driver chip. The preset control storage function module normal conditions include: preset control storage conditions, preset I / O port voltage normal conditions, and preset communication driver chip normal conditions. The preset control storage condition is: receiving a successful read / write instruction sent by the storage unit; The normal condition for the preset communication driver chip is: receiving communication feedback information sent by the communication driver chip; The normal conditions for the preset software module include: receiving a successful read / write instruction from the storage unit.

2. The control method according to claim 1, characterized in that, The preset voltage stability conditions include: the battery voltage is within a preset voltage range, and the voltage fluctuation amplitude of the battery voltage within a preset time period is less than or equal to a preset floating value.

3. The control method according to claim 1, characterized in that, The step of determining whether the control storage function module meets the preset normal conditions for the control storage function module includes: Determine whether the storage unit meets the preset control storage conditions; In response to the storage unit meeting the preset control storage conditions, it is determined whether the voltage of the I / O port in the control storage function module meets the preset normal I / O port voltage conditions; In response to the voltage of the I / O port meeting the preset normal I / O port voltage conditions, it is determined whether the communication driver chip in the control storage function module meets the preset normal communication driver chip conditions. In response to the communication driver chip meeting the preset normal conditions for the communication driver chip, it is determined that the control storage function module meets the preset normal conditions for the control storage function module.

4. The control method according to claim 3, characterized in that, The step of determining whether the storage unit meets the preset control storage conditions includes: Send read / write commands to the storage unit; In response to receiving a successful read / write instruction from the storage unit, it is determined that the storage unit meets the preset control storage normal conditions.

5. The control method according to claim 3, characterized in that, The normal condition for the preset I / O port voltage is that the voltage of the I / O port is within the preset I / O voltage range.

6. The control method according to claim 3, characterized in that, The step of determining whether the communication driver chip in the control storage function module meets the preset normal conditions for the communication driver chip includes: Send communication information to the communication driver chip; In response to receiving communication feedback information sent by the communication driver chip, it is determined that the communication driver chip meets the preset normal conditions for the communication driver chip.

7. The control method according to claim 1, characterized in that, The normal conditions for the preset software module include: receiving a successful read / write instruction from the storage unit; The step of determining whether the software functional module meets the preset normal conditions for the software module includes: All software function modules are controlled to send software module read / write instructions to the storage unit; In response to receiving all successful read / write instructions for software modules sent by the storage unit, it is determined that the software functional module meets the preset normal conditions for software modules, wherein the successful read / write instructions for software modules correspond one-to-one with the read / write instructions for software modules.

8. A control device for waking up a network, characterized in that, include: The judgment module is configured to, in response to receiving an instruction to restore power after an abnormal power loss of the vehicle battery, determine whether the battery, the control and storage function module, and the software function module meet preset wake-up conditions; wherein, the preset wake-up conditions include: preset voltage stability conditions, preset normal conditions of the control and storage function module, and preset normal conditions of the software module. The step of determining whether the battery, control storage function module, and software function module meet the preset wake-up conditions includes: determining whether the battery voltage meets the preset voltage stability condition; determining whether the control storage function module meets the preset control storage function module normal condition; determining whether the software function module meets the preset software module normal condition; and, in response to the battery voltage meeting the preset voltage stability condition, the control storage function module meeting the preset control storage function module normal condition, and the software function module meeting the preset software module normal condition, then determining that the battery, control storage function module, and software function module meet the preset wake-up conditions. The control storage function module includes a controller function module and a storage unit. The controller function module includes I / O ports and a communication driver chip. The preset control storage function module normal conditions include: preset control storage conditions, preset I / O port voltage normal conditions, and preset communication driver chip normal conditions. The preset control storage condition is: receiving a successful read / write instruction sent by the storage unit. The preset communication driver chip normal condition is: receiving communication feedback information sent by the communication driver chip. The preset software module normal condition includes: receiving a successful software module read / write instruction sent by the storage unit. The execution module is configured to wake up the network in response to the battery, control storage function module and software function module meeting the preset wake-up conditions.

9. A vehicle, characterized in that, Includes the control device for the wake-up network as described in claim 8.