Vehicle control method, control device, storage medium, electronic device and vehicle

By detecting whether the application layer has completed the release of the CAN network and forced release when necessary, the problem of abnormal communication maintenance of the entire vehicle network caused by controller software failure is solved, and the normal sleep of the CAN network and the normal operation of the vehicle's power management system is achieved.

CN115766327BActive Publication Date: 2025-03-25GREAT WALL MOTOR CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211380597.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-04
Publication Date
2025-03-25
Estimated Expiration
2042-11-04

AI Technical Summary

Technical Problem

In existing cars, the entire vehicle network communication is abnormally maintained due to controller software failure, and the on-board network cannot enter and sleep, resulting in large current consumption of the vehicle. The long-term abnormal maintenance may lead to the problem of losing power and being unable to start.

Method used

By detecting whether the application layer has completed the release of the CAN network, the timer is started to time the CAN network holding time when the application layer has not completed the release. If the preset conditions are met, a control strategy is generated to force the release of the CAN network, forming a network exception protection mechanism for sleep control.

Benefits of technology

Effectively eliminate abnormal and maintaining faults in CAN network, ensure that the entire vehicle's CAN network enters a dormant state normally, ensure the normal operation of the vehicle's low-voltage electrical energy management system, and avoid the problem of inability to start due to insufficient power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115766327B_ABST
    Figure CN115766327B_ABST
Patent Text Reader

Abstract

The present invention discloses a vehicle control method, a control device, a storage medium, an electronic device and a vehicle. The method includes the following steps: when it is determined that the vehicle power supply is in the off mode and the vehicle meets the vehicle network sleep condition, detecting whether the application layer has completed the release of the CAN network; when the application layer has not completed the release of the CAN network, starting a timer to count the retention time of the CAN network and obtaining the retention time information of the CAN network; when the retention time information meets the preset conditions, generating a first control strategy, the first control strategy is used to control the controller to force the release of the CAN network. The present invention solves the technical problem that the vehicle network cannot enter sleep mode when the vehicle network communication is abnormally maintained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle control method, a control device, a storage medium, an electronic device and a vehicle. Background Art

[0002] Currently, there are a large number of cars on the market that have abnormal network communications due to controller software failures, and the on-board network cannot enter sleep mode, resulting in high current consumption in the vehicle. If the abnormality persists for a long time, the vehicle will lose power and be unable to start, but there is no relevant controller sleep control mechanism.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a vehicle control method, a control device, a storage medium, an electronic device and a vehicle to solve the technical problem that the vehicle network cannot enter sleep mode when the vehicle network communication is abnormal.

[0005] According to one aspect of an embodiment of the present invention, a vehicle control method is provided, the method comprising the following steps: when it is determined that the vehicle power is in an off mode and the vehicle meets the vehicle network sleep conditions, detecting whether the application layer has completed the release of the CAN network; when the application layer has not completed the release of the CAN network, starting a timer to count the retention time of the CAN network and obtaining the retention time information of the CAN network; when the retention time information meets the preset conditions, generating a first control strategy, the first control strategy is used to control the controller to force the release of the CAN network.

[0006] Optionally, when the duration information is maintained to meet preset conditions, a first control strategy is generated, and the first control strategy is used to control the controller to forcibly release the CAN network, and also includes: receiving a wake-up signal, wherein the wake-up signal is sent by the faulty device, and the wake-up signal is used to wake up the CAN network; determining whether the wake-up signal is sent by the same faulty device; if so, generating a second control strategy, and the second control strategy is used to control the CAN network to enter sleep mode.

[0007] Optionally, the method also includes: during the timing of the timer, obtaining the working mode of the controller and the vehicle power supply in real time, and when the working mode meets the preset mode, generating a third control strategy, the third control strategy is used to clear the timing of the timer and stop the timer from timing.

[0008] Optionally, the method further includes: in a case where it is determined that the wake-up signal is sent by different faulty devices, re-determining whether to generate the first control strategy to execute forced release of the CAN network.

[0009] Optionally, when the application layer has not completed releasing the CAN network, in the process of starting a timer to count the retention time of the CAN network, the method also includes: detecting whether there is a faulty device in the vehicle, and if so, repairing the faulty device.

[0010] Optionally, the method further includes: obtaining a repair time required to repair the faulty device, determining whether the repair time is greater than the maintenance time, and if so, extending the timing time of the timer to the repair time required to repair the faulty device.

[0011] According to another aspect of an embodiment of the present invention, a vehicle control device is also provided, including: a detection module, for detecting whether the application layer has completed the release of the CAN network when it is determined that the vehicle power is in the off mode and the vehicle meets the vehicle network sleep conditions; a timing module, for starting a timer to time the retention time of the CAN network when the application layer has not completed the release of the CAN network, and obtaining the retention time information of the CAN network; a control module, for generating a first control strategy when the retention time information meets a preset condition, and the first control strategy is used to control the controller to force the release of the CAN network.

[0012] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein when the program is executed, the computer-readable storage medium is controlled and the device where the computer-readable storage medium is located executes the above-mentioned vehicle control method.

[0013] According to another aspect of an embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the above-mentioned vehicle control method.

[0014] According to yet another aspect of the embodiments of the present invention, a vehicle is provided, comprising the above-mentioned electronic device.

[0015] In an embodiment of the present invention, when it is determined that the vehicle power is in the off mode and the vehicle meets the vehicle network sleep conditions, by detecting whether the application layer has completed the release of the CAN network, if the application layer has not completed the release of the CAN, it is proved that the CAN network has abnormal communication retention phenomenon. At this time, the timer is started to time the retention time of the CAN network, and the retention time information of the CAN network is obtained. When the retention time information meets the preset conditions, a first control strategy is generated. The first control strategy is used to control the controller to force the release of the CAN network. In this way, when the CAN network communication is abnormally maintained due to a controller software failure and the CAN network cannot enter sleep mode, the timer timeout can be used to time, and after the timeout, the controller itself is controlled to force the release of the CAN network, so that the controller forms a network abnormality protection mechanism for sleep control, thereby achieving the purpose of eliminating the abnormal retention failure of the CAN network, ensuring that the CAN network of the whole vehicle enters the sleep state normally, and ensuring the normal operation of the low-voltage electric energy management system of the whole vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0017] Figure 1 is a hardware structure block diagram of an electronic device of a vehicle according to the present invention;

[0018] Figure 2 is a flow chart of a first embodiment of a method for controlling a vehicle according to the present invention;

[0019] Figure 3 is a structural block diagram of an embodiment of a control device for a vehicle according to the present invention;

[0020] Figure 4 is a flowchart of a second embodiment of a method for controlling a vehicle according to the present invention;

[0021] Figure 5 is a flowchart of a third embodiment of a vehicle control method according to the present invention. DETAILED DESCRIPTION

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

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] According to one embodiment of the present invention, an embodiment of a vehicle control method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0025] The method embodiment can be executed in an electronic device or similar computing device in a vehicle including a memory and a processor. For example, the method can be executed in an electronic device in a vehicle. Figure 1 As shown, the electronic device of the vehicle may include one or more processors 102 (the processor may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), a neural network processor (NPU), a tensor processor (TPU), an artificial intelligence (AI) type processor, etc.) and a memory 104 for storing data. Optionally, the electronic device of the vehicle may also include a transmission device 106 for communication functions, an input and output device 108, and a display 110. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the electronic device of the vehicle. For example, the electronic device of the vehicle may include more or fewer components than those described in the above structure, or may have a configuration different from that described in the above structure.

[0026] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the information processing method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above-mentioned information processing method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0027] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0028] The display 110 may be, for example, a touch screen liquid crystal display (LCD). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contact and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music, and / or web browsing, etc. The executable instructions for executing the above human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.

[0029] Figure 2 is a flow chart of a first embodiment of a vehicle control method according to the present application, such as Figure 2 As shown, the process includes the following steps:

[0030] Step S21, when it is determined that the vehicle power is in the off mode and the vehicle meets the vehicle network sleep condition, detecting whether the application layer has completed the release of the CAN network;

[0031] In this step, the vehicle network sleep condition is that there is no wake-up signal and the preset time is 3 minutes. That is, when the vehicle power is turned off and there is no wake-up signal, the vehicle enters the network sleep state after three minutes.

[0032] Step S22, when the application layer has not completed releasing the CAN network, starting a timer to count the holding time of the CAN network and obtaining holding time information of the CAN network;

[0033] Step S23, when the holding time information meets the preset condition, a first control strategy is generated, and the first control strategy is used to control the controller to forcibly release the CAN network. In this step, the preset condition is set to that the holding time of the CAN network reaches 5 minutes.

[0034] By applying the technical solution of this embodiment, when it is determined that the vehicle power is in the off mode and the vehicle meets the vehicle network sleep conditions, by detecting whether the application layer has completed the release of the CAN network, if the application layer has not completed the release of the CAN, it is proved that there is a communication abnormality in the CAN network. At this time, the timer is started to count the retention time of the CAN network, and the retention time information of the CAN network is obtained. When the retention time information meets the preset conditions, a first control strategy is generated. The first control strategy is used to control the controller to force the release of the CAN network. In this way, when the CAN network communication is abnormally maintained due to a controller software failure and the CAN network cannot enter sleep mode, the timer timeout can be used to count, and after the timeout, the controller itself is controlled to force the release of the CAN network, so that the controller forms a network abnormality protection mechanism for sleep control, thereby achieving the purpose of eliminating the abnormal retention failure of the CAN network, ensuring that the CAN network of the whole vehicle enters the sleep state normally, and ensuring the normal operation of the low-voltage electric energy management system of the whole vehicle.

[0035] like Figure 4 The flowchart of the second embodiment of the vehicle control method according to the present application is shown. When the retention time information meets the preset conditions, a first control strategy is generated. The first control strategy is used to control the controller to forcibly release the CAN network. The method further includes the following steps:

[0036] Step S31, receiving a wake-up signal, wherein the wake-up signal is sent by the faulty device and is used to wake up the CAN network;

[0037] In the technical solution provided in the above step S31 of the present invention, a wake-up signal is received, wherein the wake-up signal is sent by the faulty device, and the wake-up signal is used to wake up the CAN network. For example, the wake-up signal can be a signal of no output of the hazard warning light sent by the body controller (active controller), or it can be an unconditional execution signal sent by the seat controller (passive controller). This is only an example for illustration without specific limitation.

[0038] Step S32, determining whether the wake-up signal is sent by the same faulty device;

[0039] In the technical solution provided in the above step S32 of the present invention, it is determined whether the wake-up signal is sent by the same faulty device, wherein the faulty device may be a body controller, a seat controller or other controller with an abnormality, or a module with a fault in the application layer of the controller, such as a thermal management module. This is only an example and is not specifically limited.

[0040] Step S33: if yes, generate a second control strategy, the second control strategy is used to control the CAN network to enter the sleep mode.

[0041] In this embodiment, when the same faulty device sends a wake-up signal requesting to wake up the CAN network, the CAN network is controlled to enter sleep mode, and the same faulty device is not allowed to wake up the CAN network again, thereby further achieving the technical effect of eliminating abnormal maintenance faults of the CAN network.

[0042] In such Figure 4 In the illustrated embodiment, the method further includes: in the case of KL15OFF (vehicle power is off), if after the power is off, there is no wake-up source requesting to wake up the CAN network and the timer reaches three minutes, the entire vehicle network enters sleep mode. At this time, it is determined whether the ECU application layer has released the CAN network. If not, it proves that the controller has software bugs that cause initialization failure, state machine stagnation, timing errors, software and hardware compatibility, and other problems, which lead to abnormal CAN network communication. At this time, the controller starts a five-minute timer to time the duration of the abnormal CAN network communication. If the duration of the abnormal CAN network communication reaches five minutes, the controller is controlled to release the network, stop sending network management messages, and wait for the network to sleep. After the controller releases the network, while waiting for the network to sleep, if a wake-up signal (corresponding to Figure 4 If the trigger wake-up condition x in the above example is set, it is determined whether the wake-up signal is sent by the same faulty device (corresponding to Figure 4 Is it the cause of the last fault? If yes, the control bus goes into sleep mode without network management messages, and the wake-up signal sent by the same faulty device is not allowed to request the CAN network again during the sleep-wake-up cycle of the CAN network. In addition, the passive controller is not allowed to actively wake up the CAN network after the bus goes into sleep mode, thereby eliminating the abnormal maintenance fault of the CAN network and solving the problem of abnormal maintenance of the vehicle network communication due to controller software failure.

[0043] Optionally, the method further comprises:

[0044] Step S41, during the timing of the timer, the operating modes of the controller and the vehicle power supply are obtained in real time;

[0045] In this step, the working modes of the vehicle power supply include shutdown mode (OFF mode), power-on mode (ACC mode), start ignition mode (CRANK mode) and operation mode (ON mode). The working modes of the controller include power-on mode, power-off sleep mode, brake mode, charging mode, fault mode and driving mode. Among them, the power-off sleep mode includes ready sleep mode, ready bus sleep mode and sleep mode.

[0046] Step S42, when the working mode meets the preset mode, a third control strategy is generated, and the third control strategy is used to reset the timing of the timer and stop the timer from timing. The preset mode includes: the working mode of the controller is the ready sleep mode, the ready bus sleep mode, and any working mode in the sleep mode, and the working mode of the vehicle power supply is any working mode in the start ignition mode (CRANK mode) and the operation mode (ON mode).

[0047] In this embodiment, during the timing of the timer, if the controller enters any one of the working modes including the ready sleep mode, the ready bus sleep mode and the sleep mode, it proves that the CAN network can enter sleep mode normally, and if the vehicle power jumps to the start ignition mode (CRANK mode) or the running mode (ON mode), it means that the sleep condition of the entire vehicle network is no longer met at this time. At this time, the timing of the timer is cleared and the timer is stopped. Therefore, when the CAN network can sleep normally, the controller is no longer controlled to force the release of the CAN network to ensure the normal sleep of the CAN network, and when the vehicle does not meet the sleep condition of the entire vehicle network, the controller is no longer controlled to force the release of the CAN network to ensure the normal operation of the vehicle.

[0048] Optionally, the method further includes: when it is determined that the wake-up signal is sent by different faulty devices, re-determining whether to generate the first control strategy to execute the forced release of the CAN network. Specifically, when the wake-up signal is sent by different faulty devices, re-execute steps S31-S33 in the above embodiment to determine whether to generate the first control strategy to execute the forced release of the CAN network. When the vehicle network communication is abnormally maintained due to different software failures of the controller, the controller re-executes the forced release of the CAN network, thereby further achieving the purpose of eliminating the abnormal maintenance failure of the CAN network and ensuring that the CAN network of the whole vehicle enters the sleep state normally.

[0049] Optionally, when the application layer has not completed releasing the CAN network, the method further includes: detecting whether there is a faulty device in the vehicle, and if so, repairing the faulty device. In this embodiment, if it is detected that there is a faulty device in the vehicle, the faulty device is controlled to perform self-repair, wherein the faulty device can perform self-repair through networking or by relying on its own abnormal protection mechanism. By repairing the faulty device, the controller is ensured to enter sleep normally, thereby eliminating the abnormal maintenance fault of the CAN network.

[0050] Optionally, the method further includes: obtaining the repair time required to repair the faulty device, determining whether the repair time is greater than the retention time, and if so, extending the timing time of the timer to the repair time required to repair the faulty device. Specifically, the repair time is the time from when the faulty device starts to repair its own existing bug to when the bug is completely eliminated. During the repair period, if the faulty device uses networking for self-repair, then when the repair time is greater than the retention time of the CAN network abnormality, the timing time of the timer is extended to the repair time required to repair the faulty device, thereby ensuring that the faulty device continues to use the CAN network for self-repair until the faulty device completely eliminates the existing bug. At this time, the CAN network is controlled to enter a dormant state, thereby achieving the purpose of repairing the faulty device and ensuring that the CAN network enters dormancy normally.

[0051] like Figure 5 The flowchart of the third embodiment of the vehicle control method according to the present application is shown. In the case where the vehicle does not have a wake-up source, if it is determined that the vehicle power is in the off mode ( Figure 5 In the case of KL15 being OFF), and the vehicle meets the vehicle network sleep conditions, by detecting whether the application layer has completed the release of the CAN network (corresponding to Figure 5 In the case that the ECU application layer has released the network), if the application layer has not completed the release of the CAN network, the timer is started to count the holding time of the CAN network, and the holding time information of the CAN network is obtained. If the time information meets the preset conditions, the controller forces the network to be released, stops sending network management messages, and prohibits waking up the CAN network. Among them, the timer is a five-minute timer, and the wake-up source 30 is a device or signal source for waking up the vehicle controller.

[0052] According to another specific embodiment of the present application, a vehicle control device is provided, such as Figure 3As shown, the control device includes: a detection module 42, a timing module 44 and a control module 46. The detection module 42 is used to detect whether the application layer has completed the release of the CAN network when it is determined that the vehicle power is in the off mode and the vehicle meets the vehicle network sleep condition. The timing module 44 is used to start the timer to count the retention time of the CAN network and obtain the retention time information of the CAN network when the application layer has not completed the release of the CAN network; the control module 46 is used to generate a first control strategy when the retention time information meets the preset conditions, and the first control strategy is used to control the controller to force the release of the CAN network.

[0053] In this embodiment, when it is determined that the vehicle power is in the off mode and the vehicle meets the vehicle network sleep conditions, by detecting whether the application layer has completed the release of the CAN network, if the application layer has not completed the release of the CAN, it is proved that the CAN network has abnormal communication retention phenomenon. At this time, the timer is started to count the retention time of the CAN network, and the retention time information of the CAN network is obtained. When the retention time information meets the preset conditions, the first control strategy is generated. The first control strategy is used to control the controller to force the release of the CAN network. In this way, when the CAN network communication is abnormally retained due to a controller software failure and the CAN network cannot enter sleep mode, the timer timeout can be used to count, and after the timeout, the controller itself is controlled to force the release of the CAN network, so that the controller forms a network abnormality protection mechanism for sleep control, thereby achieving the technical effect of eliminating the abnormal retention failure of the CAN network, ensuring that the CAN network of the whole vehicle enters the sleep state normally, and ensuring the normal operation of the low-voltage electric energy management system of the whole vehicle.

[0054] The control method of the vehicle of the present application mainly relies on the AUTOSAR network management protocol, through the forced sleep mechanism, the controller is used as the main logic control unit to form a complete network abnormality protection mechanism for sleep control, and a five-minute timer is used to time the five-minute timeout timing strategy, and combined with the network retention reason (fault reason), the controller is forced to release the network, effectively solving the abnormal retention problem of the CAN network caused by the software failure of the controller, ensuring that the CAN network of the whole vehicle enters the sleep state normally, and ensuring the normal operation of the low-voltage electric energy management system of the whole vehicle. The control method of the vehicle of the present application is carried on any controller, such as the body domain controller and the gateway. As an alternative embodiment, the controller bottom layer timeout timing mechanism can also be used and combined with the application layer to judge the reason for the CAN network to maintain, so as to realize the controller's own forced release network strategy. As another alternative embodiment, the central controller can also be used to centrally control and judge the CAN network retention time, so as to achieve the timeout and send a forced sleep instruction to control each network segment controller to enter sleep. It should be noted that the release network of the present application refers to disconnecting from the network.

[0055] According to another specific embodiment of the present application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein when the program is running, the computer-readable storage medium is controlled, and the device where the computer-readable storage medium is located executes the steps of the vehicle control method in the above embodiment.

[0056] According to another specific embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps of the vehicle control method in the above embodiment.

[0057] According to another specific embodiment of the present application, a vehicle is provided, the vehicle includes the electronic device in the above embodiment, and the vehicle is controlled by the control method of the vehicle in the above embodiment. In this embodiment, each controller of the vehicle starts the timeout timing after the vehicle power mode is OFF, and adopts the strategy of controlling the application layer to release the CAN network after the timeout, and each controller undertakes the demand to form a network abnormality protection mechanism for dormant control, so that the overall control process of the whole vehicle from the occurrence of the fault to the elimination of the fault is realized through the self-repair of each controller, and the market problem of the whole vehicle power shortage caused by the abnormal maintenance of the CAN network is eliminated, ensuring that the CAN network of the whole vehicle enters the dormant state normally, and ensuring the normal operation of the low-voltage electric energy management system of the whole vehicle.

[0058] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0059] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0060] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

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

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

[0063] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0064] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A vehicle control method, characterized in that: The method comprises the following steps: When it is determined that the vehicle power is in the off mode and the vehicle meets the vehicle network sleep conditions, detect whether the application layer has completed the release of the CAN network; When the application layer has not completed releasing the CAN network, starting a timer to count the holding time of the CAN network and obtaining holding time information of the CAN network; When the holding time information satisfies a preset condition, generating a first control strategy, wherein the first control strategy is used to control the controller to forcibly release the CAN network; In the case where the application layer has not completed releasing the CAN network, in the process of starting a timer to count the holding time of the CAN network, the method further includes: Detect whether the vehicle has a faulty device, and if so, repair the faulty device, wherein the faulty device includes a faulty module in the application layer of the controller.

2. The method according to claim 1, characterized in that When the holding time information satisfies a preset condition, a first control strategy is generated, wherein the first control strategy is used to control the controller to forcibly release the CAN network, and further includes: Receiving a wake-up signal, wherein the wake-up signal is sent by a faulty device and is used to wake up the CAN network; Determining whether the wake-up signal is sent by the same faulty device; If yes, a second control strategy is generated, where the second control strategy is used to control the CAN network to enter a sleep mode.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: During the timing of the timer, the operating modes of the controller and the vehicle power supply are obtained in real time; When the working mode satisfies the preset mode, a third control strategy is generated, and the third control strategy is used to reset the timing of the timer and stop the timer from timing.

4. The method according to claim 2, characterized in that: The method further comprises: In the case where it is determined that the wake-up signal is sent by a different faulty device, it is re-determined whether to generate the first control strategy to execute forced release of the CAN network.

5. The method according to claim 1, characterized in that The method further comprises: Obtain the repair time required to repair the faulty device, determine whether the repair time is greater than the maintenance time, and if so, extend the timing time of the timer to the repair time required to repair the faulty device.

6. A vehicle control device, characterized in that: The control device is used to execute the method according to any one of claims 1 to 5, comprising: A detection module, used to detect whether the application layer has completed releasing the CAN network when it is determined that the vehicle power is in the off mode and the vehicle meets the vehicle network sleep condition; A timing module, used for starting a timer to count the holding time of the CAN network and obtaining holding time information of the CAN network when the application layer has not completed releasing the CAN network; The control module is used to generate a first control strategy when the retention time information meets a preset condition, wherein the first control strategy is used to control the controller to forcibly release the CAN network.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the computer-readable storage medium is controlled, and the device in which the program is located executes the vehicle control method according to any one of claims 1 to 5.

8. An electronic device, comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the vehicle control method described in any one of claims 1 to 5.

9. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 8.

Citation Information

Patent Citations

  • Dormancy method of electronic control unit (ECU), ECU, system and vehicle

    CN114690739A