Control method and apparatus, and vehicle
By judging the valid state of the network wake-up variable in the vehicle's power-down state and setting the invalid state, the power loss problem caused by the frequent wake-up of the vehicle's power-down state of the vehicle's power-down state is solved, and the power loss prevention capability is improved.
Patent Information
- Application Number
- PCT/CN2024/089897
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-05
- Filing Date
- 2024-04-25
- Publication Date
- 2025-03-13
AI Technical Summary
When the vehicle is powered off, the network wake-up variable frequently wakes up the vehicle controller, resulting in power loss, and the prior art anti-power loss capability is insufficient.
When the vehicle is in the power-off state, the vehicle controller determines the valid state of each network wake-up variable and records its wake-up parameters (such as the total wake-up time and number of times). If the wake-up parameter reaches or exceeds the threshold, the controller sets the network wake-up variable to an invalid state to prevent it from waking up.
By setting the invalid state network wake-up variable, the number of wake-up times of the vehicle controller in abnormal situations is reduced, the power loss is reduced, and the vehicle's anti-power loss ability in abnormal operation or failure situations is improved.
Smart Images

Figure CN2024089897_13032025_PF_FP_ABST
Abstract
Description
Control method, device and vehicle
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application number 202311142569.7 filed with the Patent Office of China on September 5, 2023, with the invention name “Control Method, Device and Vehicle”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of vehicle technology, and more specifically, to a control method, device, and vehicle. Background Art
[0004] With the development of vehicle technology, vehicle functions are becoming increasingly complex, and vehicles are becoming more and more intelligent and networked. As a result, when the vehicle is powered off, there are still multiple network wake-up variables that can wake up the entire vehicle network, such as remotely controlling the vehicle, remotely viewing the panoramic view, tapping the vehicle to trigger "Sentry Mode", etc. The network wake-up variables will wake up multiple controllers of the entire vehicle. If the number of wake-ups is too many or the wake-up time is too long, it may cause the vehicle to lose power and make it impossible to start normally. In related methods, the power of the vehicle controller can be monitored and the power of the vehicle controller can be controlled in time when abnormal power is found to prevent the vehicle from losing power. However, the power loss prevention ability of related methods needs to be improved.
[0005] Summary of the Invention
[0006] In view of the above problems, the present application proposes a control method, device and vehicle to improve the above problems.
[0007] In a first aspect, the present application provides a control method, which includes: when a vehicle is in a power-off state, the vehicle controller determines whether each network wake-up variable is in a valid state, and records the corresponding wake-up parameters for the network wake-up variables in the valid state, wherein the wake-up parameters include at least one of the total wake-up duration and the total number of wake-ups; if the wake-up parameter of the network wake-up variable in the valid state is greater than or equal to the corresponding threshold, the network wake-up variable in the valid state is set to an invalid state, and the vehicle controller does not respond to the wake-up of the network wake-up variable in the invalid state.
[0008] In the second aspect, the present application provides a control device, which includes: a parameter acquisition unit, which is used when the vehicle is in a power-off state, for the vehicle controller to determine whether each network wake-up variable is in a valid state, and to record the corresponding wake-up parameters for the network wake-up variables in the valid state, wherein the wake-up parameters include at least one of the total wake-up duration and the total number of wake-ups; a parameter change unit, which is used to set the network wake-up variable in the valid state to an invalid state if the wake-up parameter of the network wake-up variable in the valid state is greater than or equal to the corresponding threshold value, and the vehicle controller does not respond to the wake-up of the network wake-up variable in the invalid state.
[0009] In a third aspect, the present application provides a vehicle controller comprising a processor and a memory; one or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs are configured to execute the above-mentioned method.
[0010] In a fourth aspect, the present application provides a vehicle comprising one or more of the above-mentioned vehicle controllers.
[0011] In a fifth aspect, the present application provides a computer-readable storage medium, in which program code is stored, wherein the above method is executed when the program code is run.
[0012] The present application provides a control method, device, vehicle, and storage medium. When the vehicle is in a powered-off state, the vehicle controller can determine whether each network wake-up variable is in a valid state. For each valid network wake-up variable, the vehicle controller records at least one wake-up parameter, including the total wake-up duration and the total number of wake-up times. If the wake-up parameter of the valid network wake-up variable is greater than or equal to a corresponding threshold, the valid network wake-up variable is set to an invalid state, and the vehicle controller does not respond to the invalid network wake-up variable's wake-up. Through the above-described method, when the wake-up parameter of the valid network wake-up variable is greater than or equal to the corresponding threshold, the valid network wake-up variable can be set to an invalid state, causing the vehicle controller to no longer respond to the valid network wake-up variable. When the wake-up parameter of the valid network wake-up variable is greater than or equal to the corresponding threshold, it may indicate abnormal operation by the vehicle owner / pedestrian, software anomalies, mechanical failures in the vehicle controller, etc. Therefore, preventing the vehicle controller from responding to the valid network wake-up variable can reduce the number of abnormal wake-ups of the vehicle controller, thereby reducing power loss when the vehicle is powered off, and thereby improving the vehicle's ability to prevent power outages in scenarios such as abnormal operation by the vehicle owner / pedestrian, software anomalies, mechanical failures in the vehicle controller, etc. In addition, each vehicle controller can perform relevant controls based on the status of its own network wake-up variables, thereby improving control flexibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0014] FIG1 is a flow chart of a control method proposed in an embodiment of the present application;
[0015] FIG2 shows a schematic diagram of a wake-up source of a vehicle controller proposed in this application;
[0016] FIG3 shows a schematic diagram of a mode switching of a vehicle controller proposed in this application;
[0017] FIG4 shows a flow chart of a control method proposed in another embodiment of the present application;
[0018] FIG5 shows a schematic diagram of a basic process proposed in this application;
[0019] FIG6 shows a structural block diagram of a control device proposed in an embodiment of the present application;
[0020] FIG7 shows a structural block diagram of a vehicle proposed in this application. DETAILED DESCRIPTION
[0021] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0022] In an embodiment of the present application, the inventors propose a control method, device, and vehicle. When the vehicle is in a powered-off state, the vehicle controller can determine whether each network wake-up variable is in a valid state. For each valid network wake-up variable, the vehicle controller records at least one wake-up parameter, including the total wake-up duration and the total number of wake-up times. If the wake-up parameter of the valid network wake-up variable is greater than or equal to a corresponding threshold, the valid network wake-up variable is set to an invalid state, and the vehicle controller does not respond to the invalid network wake-up variable's wake-up. Through the above-described method, when the wake-up parameter of the valid network wake-up variable is greater than or equal to the corresponding threshold, the valid network wake-up variable can be set to an invalid state, causing the vehicle controller to no longer respond to the valid network wake-up variable. When the wake-up parameter of the valid network wake-up variable is greater than or equal to the corresponding threshold, it may indicate abnormal operation by the vehicle owner / pedestrian, software anomalies, mechanical failures in the vehicle controller, etc. Therefore, preventing the vehicle controller from responding to the valid network wake-up variable can reduce the number of abnormal wake-ups of the vehicle controller, thereby reducing power loss when the vehicle is powered off, thereby improving the vehicle's ability to prevent power outages in scenarios such as abnormal operation by the vehicle owner / pedestrian, software anomalies, mechanical failures in the vehicle controller, etc. In addition, each vehicle controller can perform relevant controls based on the status of its own network wake-up variables, thereby improving control flexibility.
[0023] Referring to FIG1 , an embodiment of the present application provides a control method, the method comprising:
[0024] S110: When the vehicle is in a power-off state, the vehicle controller determines whether each network wake-up variable is in a valid state, and records the corresponding wake-up parameters for the valid network wake-up variables, where the wake-up parameters include at least one of a total wake-up duration and a total number of wake-ups.
[0025] The vehicle may have a corresponding power supply state, which may be a power-on state or a power-off state. When the vehicle is in the power-on state, it may indicate that the user is using the vehicle; when the vehicle is in the power-off state, it may indicate that the user is not using the vehicle.
[0026] A vehicle controller can refer to an ECU (Electronic Control Unit), which can include a microcontroller (MCU) and one or more components. A microcontroller can be used to control one or more components, enabling them to perform different functions related to the vehicle controller. For example, a vehicle controller used for window control may include power components, which can be controlled by a microcontroller to move the window.
[0027] The network wake-up variable may refer to a wake-up variable corresponding to a network wake-up source, and the network wake-up source may refer to a wake-up source external to the vehicle controller (such as a remote control command, a door handle, etc.).
[0028] As shown in Figure 2, the vehicle controller can correspond to at least one wake-up source, and each wake-up source can correspond to a local wake-up variable or a network wake-up variable. The local wake-up variable can refer to the wake-up variable corresponding to the local wake-up source, and the local wake-up source can refer to the wake-up source inside the vehicle controller (such as a component, etc.). Each network wake-up variable can correspond to a wake-up parameter and a high-voltage request status value. The wake-up parameter can be at least one of the total wake-up duration and the total number of wake-ups. The total wake-up duration can refer to the total duration that the wake-up state of the corresponding network wake-up variable remains valid within an ignition cycle; the total number of wake-ups can refer to the total number of times the wake-up state of the corresponding network wake-up variable switches from invalid to valid within an ignition cycle. The high-voltage request status value can be used to identify whether the corresponding vehicle controller can send a high-voltage power-up request to the vehicle. When the vehicle receives the high-voltage power-up request, the vehicle's high-voltage battery will charge the vehicle's storage battery, so that the vehicle is not currently at risk of power outage.
[0029] As a method, if the vehicle is in a power-off state, the vehicle controller can determine the network wake-up variable in the valid state based on the wake-up state of the network wake-up variable corresponding to the vehicle controller. After determining the network wake-up variable in the valid state, it can start to obtain the wake-up parameters of the network wake-up variable in the valid state.
[0030] Optionally, if the microcontroller receives a wake-up request for the network wake-up variable, the microcontroller may set the wake-up state of the network wake-up variable to valid, and determine that the network wake-up variable is a network wake-up variable in a valid state.
[0031] Optionally, the microcontroller may start a timer to start timing when the wake-up state of the network wake-up variable in the valid state changes from invalid to valid, and stop timing when the wake-up state of the network wake-up variable in the valid state changes from valid to invalid again, and use the timing duration of the current timer as the current total wake-up duration of the network wake-up variable in the valid state.
[0032] Optionally, after the wakeup source corresponding to the active network wakeup variable is triggered, the microcontroller may wait for a preset time and then monitor whether the wakeup source is triggered again. If the wakeup source is not triggered, the wakeup state of the active network wakeup variable may be changed from active to inactive. If the wakeup source is triggered again, the wakeup state of the active network wakeup variable may be set to active again. The preset time for each wakeup source may be different and may be determined based on multiple experiments.
[0033] Optionally, the microcontroller may add 1 to the total number of wake-up times when the wake-up state of the network wake-up variable in the valid state changes from invalid to valid.
[0034] Exemplarily, the wake-up source corresponding to the network wake-up variable in the valid state may be a door handle, and the preset time of the door handle may be 2 seconds. When the door handle is pulled up, it may indicate that the wake-up source is triggered. At this time, the wake-up state of the network wake-up variable in the valid state may be changed from invalid to valid, the total number of wake-ups may be increased by 1, and the timer may be started. If the door handle is not in the pulled-up state after 2 seconds, the wake-up state of the network wake-up variable in the valid state may be changed from valid to invalid and the timing may be stopped; if the door handle is in the pulled-up state after 2 seconds, the timing may continue until the wake-up state of the network wake-up variable in the valid state is changed from valid to invalid.
[0035] As a way of obtaining the vehicle power supply status, in response to the vehicle controller being in the working mode, the vehicle controller may obtain the vehicle power supply status.
[0036] In an embodiment of the present application, as shown in FIG3 , the vehicle controller may be in working mode or low power mode. When the vehicle controller is in working mode, it may be in local mode or network mode. Among them, low power mode may refer to a working mode in which the vehicle controller always works in a low power consumption manner. Usually, when the vehicle is in a long-term static state, the vehicle controller may work in low power mode so that the vehicle will not consume too much power when parked for a long time, so that the vehicle can be started normally. Network mode may refer to a working mode in which the vehicle controller needs to communicate with other vehicle controllers in the vehicle. In network mode, the vehicle controller will send network messages to the outside. Local mode may refer to a working mode in which the vehicle controller only controls its own internal components. Therefore, it can be determined whether the vehicle controller is currently in network mode or local mode based on whether the vehicle controller sends network messages to the outside.
[0037] Furthermore, when the vehicle controller is in local mode and no target event is detected, in order to save power, the vehicle controller may automatically switch to low-power mode after executing all processes in local mode. The target event may refer to an event that prolongs the vehicle controller's time in local mode (such as detecting a local wake-up variable, etc.) or an event that causes the vehicle controller to switch from local mode to network mode (such as detecting a valid network wake-up variable, etc.). A local wake-up variable may refer to a wake-up variable corresponding to a local wake-up source, a valid network wake-up variable may refer to a wake-up variable corresponding to a network wake-up source, a local wake-up source may refer to a wake-up source inside the vehicle controller (such as a component, etc.), and a network wake-up source may refer to a wake-up source outside the vehicle controller (such as a remote control command, a door handle, etc.). When the vehicle controller is in local mode and detects a valid network wake-up variable, the vehicle controller may switch from local mode to network mode and wake up other vehicle controllers in the vehicle, so that the other vehicle controllers in the vehicle also enter network mode. When the vehicle controller is in low-power mode and detects a local wake-up variable, the vehicle controller may switch from low-power mode to local mode.
[0038] Optionally, the vehicle's power supply status can be obtained based on the vehicle's power supply status or key status.
[0039] The power state may be represented by IGNOFF, IGNON, or ACC, etc. The key state may refer to the state of a mechanical key, and the key state may be represented by CRANKING, IGNON, IGNOFF, or ACC, etc.
[0040] Alternatively, the vehicle controller may be connected to a hard line (eg, a KL30 wire) so that the microcontroller can determine the power state or key state based on a high level or a low level obtained by the hard line.
[0041] Optionally, the vehicle controller may be connected to a CAN (Controller Area Network) bus, so that the microcontroller may determine the power status or key status based on a keystatus signal transmitted by other controllers on the CAN bus.
[0042] S120: If the wake-up parameter of the network wake-up variable in the valid state is greater than or equal to the corresponding threshold, the network wake-up variable in the valid state is set to an invalid state, and the vehicle controller does not respond to the wake-up of the network wake-up variable in the invalid state.
[0043] The threshold corresponding to the total number of wake-up times may be a first threshold, and the threshold corresponding to the total wake-up duration may be a second threshold.
[0044] As one approach, when the wake-up parameter is the total number of wake-ups, if the total number of wake-ups is greater than or equal to a first threshold, the microcontroller may set the network wake-up variable in a valid state to an invalid state.
[0045] As another way, when the wake-up parameter is the total wake-up time, if the total wake-up time is greater than or equal to the second threshold, the microcontroller may set the valid network wake-up variable to an invalid state.
[0046] As another way, when the wake-up parameters are the total number of wake-ups and the total wake-up duration, if the total number of wake-ups is greater than or equal to a first threshold and the total wake-up duration is greater than or equal to a second threshold, the microcontroller can set the valid state network wake-up variable to an invalid state.
[0047] In the embodiment of the present application, there are multiple ways to determine the wake-up parameter of the network wake-up variable in the valid state.
[0048] As a method of determining the wake-up parameters, the wake-up parameters of the network wake-up variables in the valid state can be determined based on a mapping relationship list, which includes the network wake-up variables corresponding to all vehicle controllers on the vehicle and the pre-set wake-up parameters of each network wake-up variable.
[0049] Another way to determine the wakeup parameters is based on the type of wakeup source corresponding to the active network wakeup variable. If the wakeup source is of the first type, the wakeup parameter of the active network wakeup variable can be the total wakeup duration; if the wakeup source is of the second type, the wakeup parameter of the active network wakeup variable can be the total number of wakeups; if the wakeup source is of the third type, the wakeup parameter of the active network wakeup variable can be both the total wakeup duration and the total number of wakeups.
[0050] Among them, the first type may refer to a wake-up source whose wake-up state remains valid for a period greater than or equal to a specified period after being triggered; the second type may refer to a wake-up source whose probability of being triggered again within a specified time period after being triggered for the first time is greater than or equal to a specified probability; the third type may refer to a wake-up source whose wake-up state remains valid for a period less than a specified period after being triggered, or a wake-up source whose probability of being triggered again within a specified time period after being triggered for the first time is less than a specified probability.
[0051] This embodiment provides a control method in which, when a vehicle is in a powered-off state, a vehicle controller can determine whether each network wake-up variable is in a valid state. For each valid network wake-up variable, the vehicle controller can record at least one wake-up parameter, including the total wake-up duration and the total number of wake-up times. If the wake-up parameter of the valid network wake-up variable is greater than or equal to a corresponding threshold, the valid network wake-up variable is set to an invalid state, and the vehicle controller does not respond to wake-ups from the invalid network wake-up variable. This method allows the valid network wake-up variable to be set to an invalid state when the wake-up parameter of the valid network wake-up variable is greater than or equal to a corresponding threshold, causing the vehicle controller to no longer respond to the valid network wake-up variable. When the wake-up parameter of the valid network wake-up variable is greater than or equal to a corresponding threshold, it may indicate abnormal operation by the vehicle owner / pedestrian, a software anomaly, or a mechanical failure in the vehicle controller. Therefore, preventing the vehicle controller from responding to the valid network wake-up variable can reduce the number of abnormal wake-ups of the vehicle controller, thereby reducing power loss when the vehicle is powered off, and thereby improving the vehicle's ability to prevent power outages in scenarios such as abnormal operation by the vehicle owner / pedestrian, or software anomalies or mechanical failures in the vehicle controller. In addition, each vehicle controller can perform relevant controls based on the status of its own network wake-up variables, thereby improving control flexibility.
[0052] Referring to FIG4 , an embodiment of the present application provides a control method, the method comprising:
[0053] S210: When the vehicle is in a power-off state, the vehicle controller determines whether each network wake-up variable is in a valid state, and records the corresponding wake-up parameters for the valid network wake-up variables, where the wake-up parameters include at least one of a total wake-up duration and a total number of wake-ups.
[0054] When the wake-up parameter is the total number of wake-ups, as a method, within one ignition cycle, when the vehicle is in a power-off state, the vehicle controller responds to each network wake-up variable switching from an invalid state to a valid state, and adds 1 to the total number of wake-ups of the valid state network wake-up variable, wherein the total number of wake-ups is not changed while the current valid state is maintained.
[0055] Optionally, within an ignition cycle, if the total number of wake-up times is less than a first threshold, it is possible to confirm whether the network wake-up variable in the valid state is still in the valid state, and to confirm whether the vehicle is currently in the power-off state; if the vehicle is currently in the power-on state, it may indicate that the ignition cycle is over, and the vehicle exits the power-loss prevention control process, and the total number of wake-up times may be set to 0 to wait for the next ignition cycle to arrive; if the vehicle is currently in the power-off state and the current wake-up state of the network wake-up variable in the valid state is invalid, it may indicate that the ignition cycle has not ended, and the current total number of wake-up times may be saved to wait for the wake-up state of the network wake-up variable in the valid state to change from invalid to valid again within the ignition cycle.
[0056] Here, one ignition cycle may refer to a period of time from the moment the vehicle is switched from the power-on state to the power-off state to the moment the vehicle is switched from the power-off state to the power-on state.
[0057] For example, within the ignition cycle, the current total number of wake-ups may be 4. When the vehicle is currently powered off and the current wake-up state of the valid network wake-up variable is invalid, the current total number of wake-ups may be saved. When the wake-up state of the valid network wake-up variable changes from invalid to valid again within the ignition cycle, the total number of wake-ups at this time may be 5.
[0058] When the wake-up parameter is the total wake-up duration, as a method, within an ignition cycle, when the vehicle is in a power-off state, the vehicle controller determines whether each network wake-up variable is in a valid state, and when it is confirmed that there is a network wake-up variable in the valid state, starts timing to obtain the current wake-up duration of the network wake-up variable in the valid state within the ignition cycle, and the current wake-up duration is the duration of the valid state of the network wake-up variable in the valid state; based on the initial wake-up duration and the current wake-up duration, the total wake-up duration is obtained, and the initial wake-up duration is the total wake-up duration when the vehicle controller last receives a wake-up request for the network wake-up variable in the valid state within the ignition cycle.
[0059] Optionally, within an ignition cycle, if the total wake-up duration is less than a second threshold, it is possible to confirm whether the network wake-up variable in the valid state is still in the valid state, and to confirm whether the vehicle is currently in the power-off state; if the vehicle is currently in the power-on state, it may indicate that the ignition cycle is over, and the vehicle exits the power-loss prevention control process, then the timing may be stopped, and the total wake-up duration may be set to 0, to wait for the next ignition cycle to arrive; if the vehicle is currently in the power-off state and the current wake-up state of the network wake-up variable in the valid state is invalid, then the timing may be stopped, which may indicate that the ignition cycle has not ended, then the total wake-up duration may be used as the initial wake-up duration within the ignition cycle, to wait for the wake-up state of the network wake-up variable in the valid state to change from invalid to valid again within the ignition cycle.
[0060] In the embodiment of the present application, there are multiple ways to determine the first threshold and the second threshold.
[0061] As a way of determining the thresholds, the first threshold and the second threshold may be determined based on the degree of aging of the battery. The higher the degree of aging of the battery, the smaller the first threshold and the second threshold may be.
[0062] As another way of determining the threshold value, the first threshold value and the second threshold value may be determined based on dark current characteristics or the like.
[0063] As another way to determine the threshold, the first threshold and the second threshold can be determined by the user, and the user can enter the threshold setting interface through the user terminal or the vehicle's central control screen to set the first threshold and the second threshold.
[0064] As another way to determine the threshold, the first threshold and the second threshold can be determined for other vehicle controllers, and the other vehicle controllers can send threshold update instructions to the vehicle controller that implements the control method in the present application, and the threshold update instructions can be used to modify the first threshold and the second threshold of the vehicle controller that implements the control method in the present application.
[0065] Optionally, when the vehicle controller implementing the control method in the present application receives multiple threshold update instructions at the same time, the target threshold update instruction can be determined based on the priority of the vehicle controllers corresponding to the multiple threshold update instructions, and the target threshold update instruction can be executed. The target threshold update instruction can be the threshold update instruction issued by the vehicle controller with the highest priority.
[0066] Optionally, the first threshold and the second threshold can be changed at any time.
[0067] Optionally, within an ignition cycle, in response to the vehicle controller being in the working mode, a power shortage prevention control process may be entered, and after entering the power shortage prevention control process, the power supply status of the vehicle may be obtained.
[0068] S220: If the wake-up parameter is greater than or equal to the corresponding threshold, obtain the high voltage request state value of the network wake-up variable in the valid state.
[0069] Among them, the high-voltage request status value can be used to identify whether the corresponding vehicle controller can send a high-voltage power-on request to the vehicle. When the vehicle receives the high-voltage power-on request, the vehicle's high-voltage battery will charge the vehicle's battery, so that the vehicle will not be at risk of low power.
[0070] As a method, if the wake-up parameter is greater than or equal to the corresponding threshold, the high voltage request state value of the valid network wake-up variable can be obtained through the state value mapping table. The state value mapping table can include the high voltage request state value corresponding to each network wake-up variable.
[0071] The high-voltage request state value may be a first target value or a second target value. For example, the first target value may be False, and the second target value may be True.
[0072] In an embodiment of the present application, the high-voltage request state value corresponding to each network wake-up variable can be customized based on the needs of the user corresponding to the vehicle.
[0073] In an embodiment of the present application, the high-voltage request state value of the corresponding network wake-up variable can be determined based on the triggering mode of the wake-up source corresponding to the network wake-up variable. If the triggering mode of the wake-up source corresponding to the network wake-up variable is non-remote triggering, the high-voltage request state value corresponding to the network wake-up variable can be determined to be a first target value; if the triggering mode of the wake-up source corresponding to the network wake-up variable is remote triggering, the high-voltage request state value corresponding to the network wake-up variable can be determined to be a second target value.
[0074] For example, when standing next to a car door and pulling up the door handle, the high-voltage request state value of the corresponding network wake-up variable can be set to the first target value; when the car lights are turned on remotely through a related mobile phone application, the high-voltage request state value of the corresponding network wake-up variable can be set to the second target value.
[0075] In an embodiment of the present application, as shown in Table 1, the identifier, first threshold, second threshold, total number of wake-ups, total wake-up duration, and high-voltage request status value corresponding to each network wake-up variable can be stored in association.
[0076] Table 1
[0077] S230: If the high voltage request state value is the first target value, set the network wake-up variable in the valid state to an invalid state.
[0078] As one approach, if the high-voltage request state value reaches the first target value, the wake-up state of the active network wake-up variable can be set to invalid. The active network wake-up variable identifier and wake-up parameters are then sent to the connected car server, and a prompt message is sent to the user terminal (such as a mobile phone, computer, or tablet). This prompt message can be used to inform the user of an anomaly in the network wake-up variable. This allows the connected car server to promptly troubleshoot the issue based on the received active network wake-up variable identifier and wake-up parameters, and alert the user to possible improper vehicle usage behavior.
[0079] For example, when the wake-up parameter of the network wake-up variable in the valid state corresponding to the door handle exceeds the corresponding threshold within an ignition cycle, it can be considered as an abnormal operation by a non-owner, such as a thief stealing a vehicle or a child playing a prank, etc. Therefore, the network wake-up variable in the valid state can be set to an invalid state, so that within the ignition cycle, the network wake-up variable in the valid state cannot wake up the corresponding vehicle controller, and thus the vehicle controller will not enter the network mode due to the change in the wake-up state of the network wake-up variable in the valid state, thereby preventing other vehicle controllers from being woken up by the vehicle controller.
[0080] S240: If the high-voltage request state value is the second target value, send a high-voltage request signal to put the battery of the vehicle in a charging state, and set the wake-up parameter to 0.
[0081] As a method, if the high voltage request state value is the second target value, a high voltage request signal may be sent to put the battery of the vehicle in a charging state and set the wake-up parameter to 0.
[0082] For example, when the wake-up parameter of the network wake-up variable in the valid state corresponding to the headlights exceeds the corresponding threshold value within an ignition cycle, it can be considered that the owner needs to use the headlights for lighting, so a high-voltage signal can be sent to request that the vehicle's battery be in a charging state within the ignition cycle, thereby avoiding the vehicle from running out of power due to the owner's repeated use or long-term use of the headlights; and the wake-up parameter is set to 0, thereby avoiding incorrect estimation of the wake-up parameter of the network wake-up variable in the valid state in the next ignition cycle.
[0083] Optionally, within an ignition cycle, in response to the vehicle controller being in working mode, a power-loss prevention control process can be entered, and after entering the power-loss prevention control process, the vehicle's power supply status can be obtained. If the vehicle is in a powered-on state, indicating that the ignition cycle is over, the power-loss prevention control process can be exited.
[0084] This embodiment provides a control method that, through the aforementioned method, enables setting the active network wake-up variable to an inactive state when the wake-up parameter of the active network wake-up variable is greater than or equal to a corresponding threshold, causing the vehicle controller to no longer respond to the active network wake-up variable. When the wake-up parameter of the active network wake-up variable is greater than or equal to the corresponding threshold, it may indicate abnormal operation by the vehicle owner / pedestrian, a software anomaly in the vehicle controller, or a mechanical failure. Therefore, preventing the vehicle controller from responding to the active network wake-up variable can reduce the number of times the vehicle controller is abnormally awakened, thereby reducing power loss when the vehicle is powered off, thereby improving the vehicle's ability to prevent battery loss in scenarios such as abnormal operation by the vehicle owner / pedestrian, software anomalies in the vehicle controller, or mechanical failures. Furthermore, each vehicle controller can perform related control based on the status of its own network wake-up variable, thereby increasing control flexibility. Furthermore, in this embodiment, when the wake-up parameter of the active network wake-up variable is greater than or equal to the corresponding threshold, the vehicle controller determines whether to continue responding to the active network wake-up variable based on the high-voltage request state value of the active network wake-up variable, thereby increasing the flexibility of battery loss prevention control and improving the user experience.
[0085] In order to better understand the solutions of all embodiments of the present application, the basic business process of the control method of the present application is introduced below.
[0086] Referring to Figure 5, after the vehicle controller enters local mode and initiates the battery loss prevention control process in step S1, it can determine whether the vehicle is in a powered-off state in steps S2 and S3. If, during the ignition cycle, the vehicle is powered-on in step S3, the wakeup parameter of the network wakeup variable is set to 0 in step S4, the battery loss prevention control process is exited, and the process returns to step S1 to await the next ignition cycle. If, during the ignition cycle, the vehicle is powered-off in step S3, the wakeup parameter of the active network wakeup variable is obtained in steps S5 and S6. If, during the ignition cycle, the wakeup parameter is determined to be greater than or equal to the corresponding threshold in step S7, the high-voltage request state value of the active network wakeup variable is determined to be a first target value in step S8. If not, step S9 is executed and the process returns to step S11 to await the next ignition cycle. If, during the ignition cycle, the wakeup parameter is determined to be less than the corresponding threshold in step S7, or if, during the ignition cycle, the high-voltage request state value is determined to be the first target value in step S8, steps S10 and S11 are executed in sequence. If it is determined based on step S11 that the vehicle is still in the power-off state and the network wake-up variable in the valid state is currently in the valid state, then the process returns to step S6 to continue obtaining the wake-up parameters; if it is determined based on step S11 that the vehicle is in the power-off state and the network wake-up variable in the valid state becomes invalid, indicating that the ignition cycle has not ended, then step S13 can be executed to save the wake-up parameters of the network wake-up variable in the valid state until the wake-up source corresponding to the network wake-up variable in the valid state is triggered again within the ignition cycle, so as to continue to obtain the wake-up parameters of the network wake-up variable in the valid state within the ignition cycle based on the saved wake-up parameters; if it is determined based on step S11 that the vehicle is in the power-on state, indicating that the ignition cycle is over, then step S12 can be executed to exit the anti-low power control process and set the wake-up parameters to 0 so that the correct wake-up parameters can be obtained when the next ignition cycle arrives.
[0087] Referring to FIG6 , the present application provides a control device 400, which includes:
[0088] The parameter acquisition unit 410 is used for the vehicle controller to determine whether each network wake-up variable is in a valid state when the vehicle is in a power-off state, and to record the corresponding wake-up parameters for the valid network wake-up variables, wherein the wake-up parameters include at least one of the total wake-up duration and the total number of wake-ups.
[0089] The parameter changing unit 420 is configured to set the network wake-up variable in the valid state to an invalid state if the wake-up parameter of the network wake-up variable in the valid state is greater than or equal to the corresponding threshold, and the vehicle controller does not respond to the wake-up of the network wake-up variable in the invalid state.
[0090] As a method, the wake-up parameter includes the total number of wake-ups. The parameter acquisition unit 410 is specifically configured to, within an ignition cycle, when the vehicle is in a power-off state, respond to the vehicle controller switching each network wake-up variable from an invalid state to a valid state, and add 1 to the total number of wake-ups of the network wake-up variable in the valid state, wherein the total number of wake-ups is not changed while the current valid state is maintained.
[0091] Optionally, the parameter change unit 420 is specifically used to confirm whether the network wake-up variable in the valid state is still in the valid state and whether the vehicle is currently in the power-off state if the total number of wake-ups is less than a first threshold; if the vehicle is currently in the power-on state, set the total number of wake-ups to 0; if the vehicle is currently in the power-off state and the network wake-up variable in the valid state is currently in the invalid state, save the total number of wake-ups.
[0092] As another way, the wake-up parameter includes the total wake-up duration. The parameter acquisition unit 410 is specifically used to, within an ignition cycle, when the vehicle is in a power-off state, the vehicle controller determines whether each network wake-up variable is in a valid state, and when confirming the existence of the network wake-up variable in the valid state, starts timing to obtain the current wake-up duration of the network wake-up variable in the valid state within the ignition cycle, and the current wake-up duration is the duration of the valid state of the network wake-up variable in the valid state; based on the initial wake-up duration and the current wake-up duration, the total wake-up duration is obtained, and the initial wake-up duration is the total wake-up duration when the vehicle controller last receives a wake-up request for the network wake-up variable in the valid state within the ignition cycle.
[0093] Optionally, the parameter change unit 420 is specifically used to confirm whether the network wake-up variable in the valid state is still in the valid state and whether the vehicle is currently in the power-off state if the total wake-up duration is less than a second threshold; if the vehicle is currently in the power-on state, stop the timing and set the total wake-up duration to 0; if the vehicle is currently in the power-off state and the network wake-up variable in the valid state is currently in the invalid state, stop the timing and use the total wake-up duration as the initial wake-up duration in the ignition cycle.
[0094] As a method, the parameter changing unit 420 is specifically used to obtain the high-voltage request state value of the network wake-up variable in the valid state if the wake-up parameter is greater than or equal to the corresponding threshold; if the high-voltage request state value is the first target value, set the network wake-up variable in the valid state to an invalid state; if the high-voltage request state value is the second target value, send a high-voltage request signal to put the battery of the vehicle in a charging state, and set the wake-up parameter to 0.
[0095] Optionally, the parameter changing unit 420 is specifically configured to send the identifier of the valid network wake-up variable and the wake-up parameter to the Internet of Vehicles server, and send a prompt message to the user terminal, wherein the prompt message is configured to prompt the user that an abnormality exists in the network wake-up variable.
[0096] As one approach, the state acquisition unit 410 is specifically configured to, in response to the vehicle controller being in the working mode during an ignition cycle, have the vehicle controller acquire the vehicle power supply state. The parameter change unit 420 is specifically configured to set the wake-up parameter to 0 if the vehicle is in the powered-on state during the ignition cycle.
[0097] A vehicle provided by this application will be described below with reference to FIG7 .
[0098] 7 , based on the above control method and apparatus, the embodiment of the present application further provides another vehicle 100 capable of executing the above control method. The vehicle 100 includes a vehicle controller 102 .
[0099] The vehicle controller 102 includes a processor 1022 and a memory 1024 , wherein the memory 1024 stores a program that can execute the contents of the aforementioned embodiments, and the processor 1022 can execute the program stored in the memory 1024 .
[0100] The processor 1022 may include one or more processing cores. The processor 1022 utilizes various interfaces and lines to connect various components within the vehicle controller 102. It executes various functions and processes data for the vehicle 100 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1024, as well as accessing data stored in the memory 1024. Alternatively, the processor 1022 may be implemented in the form of at least one of a network processor (NPU), a digital signal processor (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 1022 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing display content; the NPU is responsible for processing multimedia data such as video and images; and the modem is responsible for wireless communication. It is understood that the modem can also be implemented independently of the processor 1022 by using a separate communication chip.
[0101] The memory 1024 may include random access memory (RAM), read-only memory (ROM), and double data rate synchronous dynamic random access memory (DDR). The memory 1024 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 1024 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the various method embodiments described below, etc. The data storage area may also store data created by the vehicle controller 102 during use (such as a phone book, audio and video data, chat history data, etc.).
[0102] An embodiment of the present application provides a computer-readable storage medium 800. The computer-readable storage medium 800 stores program code, which can be called by a processor to execute the method described in the above method embodiment.
[0103] The computer-readable storage medium 800 can be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 800 has storage space for program code 810 for executing any of the method steps described above. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in a suitable form.
[0104] In summary, the present application provides a control method, device, and vehicle. When the vehicle is in a power-off state, the vehicle controller can determine whether each network wake-up variable is in a valid state. For the valid network wake-up variable, the vehicle controller records at least one wake-up parameter, including the total wake-up duration and the total number of wake-up times. If the wake-up parameter of the valid network wake-up variable is greater than or equal to a corresponding threshold, the valid network wake-up variable is set to an invalid state, and the vehicle controller does not respond to the invalid network wake-up variable's wake-up. Through the above-described method, when the wake-up parameter of the valid network wake-up variable is greater than or equal to the corresponding threshold, the valid network wake-up variable can be set to an invalid state, causing the vehicle controller to no longer respond to the valid network wake-up variable. When the wake-up parameter of the valid network wake-up variable is greater than or equal to the corresponding threshold, it may indicate abnormal operation by the vehicle owner / pedestrian, software anomalies, mechanical failures in the vehicle controller, etc. Therefore, preventing the vehicle controller from responding to the valid network wake-up variable can reduce the number of abnormal wake-ups of the vehicle controller, thereby reducing power loss when the vehicle is in a power-off state, thereby improving the vehicle's ability to prevent power outages in scenarios such as abnormal operation by the vehicle owner / pedestrian, software anomalies, mechanical failures in the vehicle controller, etc. In addition, each vehicle controller can perform relevant controls based on the status of its own network wake-up variables, thereby improving control flexibility.
[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A control method, characterized in that: The method comprises: When the vehicle is in a power-off state, the vehicle controller determines whether each network wake-up variable is in a valid state, and records the corresponding wake-up parameter for the network wake-up variable in the valid state, wherein the wake-up parameter includes at least one of the total wake-up duration and the total number of wake-ups; If the wake-up parameter of the network wake-up variable in the valid state is greater than or equal to the corresponding threshold, the network wake-up variable in the valid state is set to an invalid state, and the vehicle controller does not respond to the wake-up of the network wake-up variable in the invalid state.
2. The method according to claim 1, characterized in that The wake-up parameter includes the total number of wake-ups. When the vehicle is in a power-off state, the vehicle controller determines whether each network wake-up variable is in a valid state, and records the corresponding wake-up parameter for the valid network wake-up variable, including: During an ignition cycle, when the vehicle is in a power-off state, the vehicle controller responds to each network wake-up variable switching from an invalid state to a valid state by adding 1 to the total number of wake-up times of the valid state network wake-up variable, wherein the total number of wake-up times is not changed while the current valid state is maintained.
3. The method according to claim 2, characterized in that The method further comprises: If the total number of wake-up times is less than a first threshold, confirming whether the network wake-up variable in the valid state is still in a valid state, and confirming whether the vehicle is currently in a power-off state; If the vehicle is currently powered on, the total number of wake-up times is set to 0; If the vehicle is currently in a power-off state and the valid network wake-up variable is currently in an invalid state, the total number of wake-ups is saved.
4. The method according to claim 1, characterized in that: The wake-up parameters include the total wake-up duration. When the vehicle is in a power-off state, the vehicle controller determines whether each network wake-up variable is in a valid state, and records the corresponding wake-up parameters for the valid network wake-up variables, including: In an ignition cycle, when the vehicle is in a power-off state, the vehicle controller determines whether each network wake-up variable is in a valid state, and when confirming that there is a network wake-up variable in a valid state, starts timing to obtain the current wake-up duration of the network wake-up variable in the valid state in the ignition cycle, and the current wake-up duration is the duration of the valid state of the network wake-up variable in the valid state; The total wake-up duration is obtained based on the initial wake-up duration and the current wake-up duration, wherein the initial wake-up duration is the total wake-up duration when the vehicle controller last receives a wake-up request for the network wake-up variable in the valid state within the ignition cycle.
5. The method according to claim 4, characterized in that The method further comprises: If the total wake-up time is less than a second threshold, confirming whether the network wake-up variable in the valid state is still in a valid state, and confirming whether the vehicle is currently in a power-off state; If the vehicle is currently powered on, stop the timing and set the total wake-up time to 0; If the vehicle is currently in a power-off state and the network wake-up variable in the valid state is currently in an invalid state, the timing is stopped, and the total wake-up duration is used as the initial wake-up duration in the ignition cycle.
6. The method according to claim 1, characterized in that If the wake-up parameter of the network wake-up variable in the valid state is greater than or equal to the corresponding threshold, setting the network wake-up variable in the valid state to an invalid state includes: If the wake-up parameter is greater than or equal to the corresponding threshold, obtaining a high voltage request state value of the network wake-up variable in the valid state; If the high voltage request state value is the first target value, setting the network wake-up variable in the valid state to an invalid state; If the high voltage request state value is the second target value, a high voltage request signal is sent to put the battery of the vehicle in a charging state, and the wake-up parameter is set to 0.
7. The method according to claim 6, characterized in that If the high voltage request state value is the first target value, after setting the network wake-up variable in the valid state to the invalid state, the method further includes: The identifier of the network wake-up variable in the valid state and the wake-up parameter are sent to the Internet of Vehicles server, and a prompt message is sent to the user terminal, where the prompt message is used to prompt the user that there is an abnormality in the network wake-up variable in the valid state.
8. A control device, characterized in that: The device comprises: A parameter acquisition unit, configured to, when the vehicle is in a power-off state, determine by the vehicle controller whether each network wake-up variable is in a valid state, and record a corresponding wake-up parameter for the network wake-up variable in a valid state, wherein the wake-up parameter includes at least one of a total wake-up duration and a total number of wake-ups; The parameter changing unit is used to set the network wake-up variable in the valid state to an invalid state if the wake-up parameter of the network wake-up variable in the valid state is greater than or equal to the corresponding threshold value, and the vehicle controller does not respond to the wake-up of the network wake-up variable in the invalid state.
9. A vehicle controller, characterized in that: including a processor and a memory; One or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs are configured to execute the method according to any one of claims 1 to 7.
10. A vehicle, characterized in that: A vehicle controller comprising one or more of claims 9.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, wherein when the program code is run, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Vehicle abnormal wakeup monitoring method and device, server and storage medium
CN115723692A
Vehicle sleep wake-up control method, electronic equipment and vehicle
CN116494896A
Vehicle User Interface with Proximity Activation
US20110082616A1
Opportunistic information forwarding using wireless terminals in the internet-of-things
US20160007288A1