CN114670764A - Method and device for controlling whole-vehicle dormancy of electric vehicle and electronic control unit - Google Patents

Method and device for controlling whole-vehicle dormancy of electric vehicle and electronic control unit Download PDF

Info

Publication number
CN114670764A
CN114670764A CN202111521356.6A CN202111521356A CN114670764A CN 114670764 A CN114670764 A CN 114670764A CN 202111521356 A CN202111521356 A CN 202111521356A CN 114670764 A CN114670764 A CN 114670764A
Authority
CN
China
Prior art keywords
ecu
network management
management message
indication information
sleep
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111521356.6A
Other languages
Chinese (zh)
Other versions
CN114670764B (en
Inventor
叶明明
马如斌
张友焕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Electric Vehicle Co Ltd
Original Assignee
Beijing Electric Vehicle Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Electric Vehicle Co Ltd filed Critical Beijing Electric Vehicle Co Ltd
Priority to CN202111521356.6A priority Critical patent/CN114670764B/en
Publication of CN114670764A publication Critical patent/CN114670764A/en
Application granted granted Critical
Publication of CN114670764B publication Critical patent/CN114670764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application discloses a method, a device and an electronic control unit for controlling the whole vehicle dormancy of an electric vehicle, and relates to the technical field of electric vehicles, wherein the method is applied to a first Electronic Control Unit (ECU), and comprises the following steps: receiving a first network management message sent by at least one second ECU adjacent to a first ECU in a ring network architecture of an electric automobile, wherein the first network management message carries first indication information indicating whether each ECU in the ring network architecture has a sleep condition or not; and entering a standard sleep flow of AUTOSAR NM (automotive development System) architecture network management under the condition that each ECU in the ring network architecture has a sleep condition according to at least one piece of first indication information. The scheme of the application realizes the problem that the ECUs in the ring network framework cannot be dormant due to the fact that the ECUs wait for each other to form a dead loop.

Description

Method and device for controlling whole-vehicle dormancy of electric vehicle and electronic control unit
Technical Field
The application relates to the technical field of electric automobiles, in particular to a method and a device for controlling the whole automobile dormancy of an electric automobile and an electronic control unit.
Background
Along with the popularization of the software-defined automobile concept, software in the electric automobile is updated more and more frequently, the reliability of data transmission is particularly important, and a network architecture in the electric automobile is produced in order to ensure high-reliability data transmission. The schematic diagram of the ring Network Architecture is shown in fig. 1, Electronic Control Units (ECUs) are connected through a BUS, for example, an Automotive development System Architecture Network Management (AUTOSAR NM) mechanism or an Automotive Electronic Open System and Corresponding Interface standard Network Management (Open System and the laminating Interface for Electronic networks Management, OSEK NM) mechanism is adopted in the ring Network, the ECU1 needs to determine the sleep states of the ECU2 and the ECU3, meanwhile, the ECU2 and the ECU3 need to determine the sleep state of the ECU1, and each node on the ring Network waits for each other to form a dead cycle and cannot sleep. Therefore, neither the conventional AUTOSAR NM mechanism nor the OSEK NM mechanism CAN be directly applied to solve the problem of the whole vehicle dormancy under a Controller Area Network (CAN) ring Network architecture.
Disclosure of Invention
The application aims to provide a method, a device and an electronic control unit for controlling the whole vehicle dormancy of an electric vehicle, so that the problem that the whole vehicle dormancy under a CAN looped network architecture cannot be directly solved by the existing AUTOSAR NM mechanism and the OSEKNM mechanism in the prior art is solved.
In order to achieve the above object, the present application provides a method for controlling sleep of an electric vehicle, applied to a first electronic control unit ECU, the method including:
receiving a first network management message sent by at least one second ECU adjacent to a first ECU in a ring network architecture of an electric automobile, wherein the first network management message carries first indication information indicating whether each ECU in the ring network architecture has a sleep condition or not;
and entering a standard whole vehicle sleep process under the condition that all the ECUs in the ring network framework are determined to have sleep conditions according to at least one piece of first indication information.
Optionally, the method further comprises:
and periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message is used for determining whether each ECU in the ring network architecture has a sleep condition.
Optionally, periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, where the sending includes:
under the condition that the first network management message sent by the at least one second ECU is received within a first time before the second network management message is sent, updating the first indication information received last time according to the information whether the first ECU determined at present has the sleep condition, and obtaining second indication information;
And sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message carries the second indication information.
Optionally, periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, where the sending includes:
under the condition that the first network management message sent by the target second ECU is not received within a first time length before the second network management message is sent, determining that the target second ECU currently has a sleep condition; the first time is longer than the period of sending the first network management message by the target second ECU;
generating second indication information according to whether other ECUs except the first ECU and the target second ECU, indicated by the first indication information received last time, have sleep conditions and information, determined by the first ECU, of whether the first ECU and the target second ECU have the sleep conditions;
and sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message carries the second indication information.
The embodiment of the application still provides a device of whole car dormancy of control electric automobile, is applied to first electronic control unit ECU, the device includes:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving a first network management message sent by at least one second ECU adjacent to a first ECU in a ring network architecture of the electric automobile, and the first network management message carries first indication information indicating whether each ECU in the ring network architecture has a dormancy condition or not;
and the processing module is used for entering a standard whole vehicle sleep process under the condition that each ECU in the ring network framework is determined to have a sleep condition according to at least one piece of first indication information.
Optionally, the apparatus further comprises:
and the sending module is used for periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message is used for determining whether each ECU in the ring network architecture has a sleep condition.
Optionally, the sending module includes:
the updating submodule is used for updating the first indication information received last time according to the information whether the first ECU is determined to have the dormancy condition at present and obtaining second indication information under the condition that the first network management message sent by the at least one second ECU is received within a first time before the second network management message is sent;
And the first sending submodule is used for sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, and the second network management message carries the second indication information.
Optionally, the sending module includes:
the determining submodule is used for determining that the target second ECU has the dormancy condition currently under the condition that the first network management message sent by the target second ECU is not received within a first time length before the second network management message is sent; the first time is longer than the period of sending the first network management message by the target second ECU;
a generation submodule, configured to generate second indication information according to information on whether or not other ECUs, which are indicated by the first indication information received last time, except for the first ECU and the target second ECU have a sleep condition and whether or not the first ECU and the target second ECU have the sleep condition, which is determined by the first ECU;
and the second sending submodule is used for sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, and the second network management message carries the second indication information.
An embodiment of the present application further provides an electronic control unit, including: the processor, the memory and the program stored on the memory and capable of running on the processor realize the method for controlling the whole vehicle dormancy of the electric vehicle as described above when the program is executed by the processor.
The embodiment of the application also provides a readable storage medium, wherein the readable storage medium stores a program, and the program is executed by a processor to realize the method for controlling the whole electric automobile to sleep.
The above technical scheme of this application has following beneficial effect at least:
the method for controlling the whole electric automobile to sleep includes the steps that first, a first network management message sent by at least one second ECU adjacent to a first ECU in a ring network framework of the electric automobile is received, and the first network management message carries first indication information indicating whether each ECU in the ring network framework has a sleep condition or not; and secondly, entering a standard sleep flow of AUTOSAR NM (automotive development System architecture) network management under the condition that each ECU in the ring network architecture has a sleep condition according to at least one piece of first indication information. Therefore, the method realizes entering the sleep flow when determining that each ECU has the sleep condition according to the received first network management message information, avoids the problem that each ECU in the ring network framework cannot sleep due to the fact that the ECUs wait for each other to form a dead cycle, and enables the ring network framework in the electric automobile to use an AUTOSAR NM mechanism or an OSEK NM mechanism to sleep the whole automobile.
Drawings
Fig. 1 is a schematic structural diagram of a ring network architecture of an electric vehicle;
fig. 2 is a schematic flowchart of a method for controlling the entire electric vehicle to sleep according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a method for controlling a whole electric vehicle to sleep according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic control unit according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method, the device and the electronic control unit for controlling the whole vehicle sleep of the electric vehicle provided by the embodiment of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 2, is an embodiment of the present application. The structural schematic diagram of the method for controlling the whole vehicle dormancy of the electric vehicle is applied to the first ECU, and the method comprises the following steps:
step 201, receiving a first network management message sent by at least one second ECU adjacent to a first ECU in a ring network architecture of an electric vehicle, wherein the first network management message carries first indication information indicating whether each ECU in the ring network architecture has a sleep condition;
here, it should be noted that at least one second ECU periodically sends the first network management message to the first ECU.
Here, it should be further noted that the first indication information may be obtained by updating, by the second ECU sending the first network management message, the indication information in the network management message sent by the ECU adjacent to the second ECU according to whether the second ECU currently determines that the second ECU meets the sleep condition, so that the first indication information can indicate whether all ECUs in the ring network architecture have the sleep condition.
Step 202, entering a standard whole vehicle sleep process under the condition that it is determined that each ECU in the ring network framework has a sleep condition according to at least one piece of the first indication information.
Here, it should be noted that the standard entire vehicle sleep flow may be a sleep flow based on the AUTOSAR NM mechanism or the OSEK NM mechanism.
The method for controlling the whole electric automobile to sleep includes the steps that first, a first network management message sent by at least one second ECU adjacent to a first ECU in a ring network framework of the electric automobile is received, and the first network management message carries first indication information indicating whether each ECU in the ring network framework has a sleep condition or not; and secondly, entering a standard sleep flow of AUTOSAR NM (automotive development System architecture) network management under the condition that each ECU in the ring network architecture has a sleep condition according to at least one piece of first indication information. Therefore, the method realizes entering the sleep flow when determining that each ECU has the sleep condition according to the received first network management message information, avoids the problem that each ECU in the ring network framework cannot sleep due to the fact that the ECUs wait for each other to form a dead cycle, and enables the ring network framework in the electric automobile to use an AUTOSAR NM mechanism or an OSEK NM mechanism to sleep the whole automobile.
Further, as an optional implementation manner, the method further includes:
and periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message is used for determining whether each ECU in the ring network architecture has a sleep condition.
That is to say, in the ring network architecture, the roles of the ECUs are the same, and the ECUs all receive the first network management message periodically sent by the adjacent ECU and also periodically send the second network management message to the adjacent ECU, so that each ECU can timely know whether each ECU in the ring network architecture currently has the dormancy condition, and enter a standard whole vehicle dormancy process when each ECU in the ring network architecture currently has the dormancy condition, thereby avoiding that the whole vehicle dormancy cannot be realized due to entering of a mutual waiting dead cycle among the ECUs.
As a specific implementation manner, periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture includes:
under the condition that the first network management message sent by the at least one second ECU is received within a first time before the second network management message is sent, updating the first indication information received last time according to the information whether the first ECU determined at present has the sleep condition, and obtaining second indication information;
And sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message carries the second indication information.
As another optional implementation manner, periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture includes:
under the condition that the first network management message sent by the target second ECU is not received within a first time length before the second network management message is sent, determining that the target second ECU currently has a sleep condition; the first time is longer than the period of sending the first network management message by the target second ECU;
generating second indication information according to whether other ECUs except the first ECU and the target second ECU, indicated by the first indication information received last time, have sleep conditions and information, determined by the first ECU, of whether the first ECU and the target second ECU have the sleep conditions;
and sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message carries the second indication information.
That is to say, when the first ECU periodically receives a first network management message sent by the second ECU, the first ECU may update the first indication information in the first network management message based on the currently determined information whether the first ECU has a sleep state, so as to obtain the second indication information in the second network management message to be sent by the first ECU; and when the process that the second ECU sends the first network management message is determined to be abnormal, such as: when the first ECU does not periodically receive a first network management message sent by one second ECU (target second ECU), or when the first network management message sent by the target second ECU is not received at preset time intervals, the target second ECU is determined to be disconnected or the network is interrupted, and the second ECU is defaulted to have a sleep condition.
The embodiments of the present application are described in detail below with reference to the ring network architecture in fig. 1:
here, it should be noted that, first, the first Network Management packet and the second Network Management packet may be Network Management Protocol Data units (NM PDUs), and a Data format of the NM PDUs is as follows in table 1:
Figure BDA0003407771350000071
TABLE 1
Taking the ring network architecture in fig. 1 as an example, the ring network architecture includes 4 nodes, then Bit0-Bit3 in Byte2 using NM PDU represents the sleep-wake state of ECU1-ECU4, 0 represents that the corresponding ECU has the sleep condition, 1 represents that the corresponding ECU does not have the sleep condition, and the data format of NM PDU is as shown in table 2 below:
Figure BDA0003407771350000081
TABLE 2
Let the NM IDs of each ECU be as shown in Table 3 below:
No. ECU NM ID
1 ECU1 0x400
3 ECU2 0x401
3 ECU3 0x402
4 ECU4 0x403
TABLE 3
If the ECU1 has the sleep condition and the rest of the ECUs on the ring network do not have the sleep condition, the ECU1 transmits 00 XX 010000000000, the ECU2 transmits 01 XX 000000000000, the ECU3 transmits 02 XX 000000000000, and the ECU4 transmits 03 XX 0000000000000000.
Each node on the ring network detects whether all nodes on the ring network enter a prepared dormancy state or not, and updates and receives a dormancy awakening state corresponding to the adjacent ECU in an NM message sent by the node.
As in the above example, the ECU1 receives the states of the ECU2 and the ECU3, the updated transmission message is 00 XX 010000000000, the ECU2 receives the states of the ECU1 and the ECU3, the updated transmission message is 01 XX 010000000000, the ECU3 receives the states of the ECU1 and the ECU4, the updated transmission message is 02 XX 010000000000, the ECU4 receives the states of the ECU2 and the ECU3, the updated transmission message is 03 XX 010000000000, if the ECU2 has the sleep condition at this time, the 02 XX 030000000000 is transmitted, and the rest ECUs update the corresponding NM PDUs according to the received NM states.
The nodes judge whether all the nodes on the ring network enter a sleep preparation state, if so, unified sleep is carried out, and if not, detection is continued until all the nodes reach the sleep condition.
As in the above example, when the ECU1 transmits 00 XX 0F 0000000000, the ECU2 transmits 01 XX 0F 0000000000, the ECU3 transmits 02 XX 0F 0000000000, and the ECU4 transmits 03 XX 0F 0000000000, each ECU starts a timer of Ready Sleep State to Prepare Bus Sleep State, entering the Sleep flow of the standard AUTOSAR NM.
And if the abnormal condition is that an ECU is disconnected or the network is interrupted, the ECU is in a standby dormant state by default after timeout.
As shown in fig. 3, an embodiment of the present application further provides an apparatus for controlling sleep of an entire electric vehicle, which is applied to a first electronic control unit ECU, and the apparatus includes:
the receiving module 301 is configured to receive a first network management message sent by at least one second ECU adjacent to a first ECU in a ring network architecture of an electric vehicle, where the first network management message carries first indication information indicating whether each ECU in the ring network architecture has a sleep condition;
a processing module 302, configured to enter a standard entire vehicle sleep process when it is determined that each ECU in the ring network framework has a sleep condition according to at least one piece of the first indication information.
The device for controlling the whole electric vehicle to sleep in the embodiment of the application comprises the following steps that firstly, a receiving module 301 receives a first network management message sent by at least one second ECU adjacent to a first ECU in a ring network framework of the electric vehicle, wherein the first network management message carries first indication information indicating whether each ECU in the ring network framework has a sleep condition or not; next, the processing module 302 enters a standard sleep flow of automotive development system architecture network management automotive architecture NM when determining that each ECU in the ring network architecture has a sleep condition according to at least one piece of the first indication information. Therefore, the method realizes entering the sleep flow when determining that each ECU has the sleep condition according to the received first network management message information, avoids the problem that each ECU in the ring network framework cannot sleep due to the fact that the ECUs wait for each other to form a dead cycle, and enables the ring network framework in the electric automobile to use an AUTOSAR NM mechanism or an OSEK NM mechanism to sleep the whole automobile.
Further, the apparatus further comprises:
and the sending module is used for periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message is used for determining whether each ECU in the ring network architecture has a sleep condition.
Optionally, the sending module includes:
the updating submodule is used for updating the first indication information received last time according to the information whether the first ECU is determined to have the dormancy condition at present and obtaining second indication information under the condition that the first network management message sent by the at least one second ECU is received within a first time before the second network management message is sent;
and the first sending submodule is used for sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, and the second network management message carries the second indication information.
Optionally, the sending module includes:
the determining submodule is used for determining that the target second ECU has the dormancy condition currently under the condition that the first network management message sent by the target second ECU is not received within a first time length before the second network management message is sent; the first time is longer than the period of sending the first network management message by the target second ECU;
The generation submodule is used for generating second indication information according to the information that whether other ECUs except the first ECU and the target second ECU indicated by the first indication information received last time have the sleep condition or not and whether the first ECU and the target second ECU determined by the first ECU have the sleep condition or not;
and the second sending submodule is used for sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, and the second network management message carries the second indication information.
As shown in fig. 4, an embodiment of the present application further provides an electronic control unit, including: the processor 400, the memory 420 and the program stored in the memory 420 and capable of running on the processor 400 are executed by the processor to implement the processes of the above-mentioned method embodiment for controlling the sleep of the whole electric vehicle, and can achieve the same technical effects, and are not described herein again to avoid repetition.
The transceiver 410 is used for receiving and transmitting data under the control of the processor 400.
Where in fig. 4, the bus architecture may include any number of interconnected buses and bridges, with various circuits of one or more processors, represented by processor 400, and memory, represented by memory 420, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 410 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium.
The processor 400 is responsible for managing the bus architecture and general processing, and the memory 420 may store data used by the processor 400 in performing operations.
The embodiment of the present application further provides a readable storage medium, where a program is stored on the readable storage medium, and when the program is executed by a processor, the process of the embodiment of the method for controlling the sleep of the electric vehicle as described above is implemented, and the same technical effect can be achieved, and in order to avoid repetition, the detailed description is omitted here. The readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is a preferred embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and refinements can be made without departing from the principle described in the present application, and these modifications and refinements should be regarded as the protection scope of the present application.

Claims (10)

1. A method for controlling the whole-vehicle dormancy of an electric vehicle is applied to a first Electronic Control Unit (ECU), and comprises the following steps:
receiving a first network management message sent by at least one second ECU adjacent to a first ECU in a ring network architecture of an electric automobile, wherein the first network management message carries first indication information indicating whether each ECU in the ring network architecture has a sleep condition or not;
and entering a standard whole vehicle sleep process under the condition that all the ECUs in the ring network framework are determined to have sleep conditions according to at least one piece of first indication information.
2. The method of claim 1, further comprising:
and periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message is used for determining whether each ECU in the ring network architecture has a sleep condition.
3. The method according to claim 2, wherein periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture comprises:
under the condition that the first network management message sent by the at least one second ECU is received within a first time before the second network management message is sent, updating the first indication information received last time according to the information whether the first ECU determined at present has the sleep condition, and obtaining second indication information;
and sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message carries the second indication information.
4. The method according to claim 2, wherein periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture comprises:
under the condition that the first network management message sent by the target second ECU is not received within a first time length before the second network management message is sent, determining that the target second ECU currently has a sleep condition; the first time is longer than the period of sending the first network management message by the target second ECU;
Generating second indication information according to information that whether other ECUs except the first ECU and the target second ECU indicated by the first indication information received last time have sleep conditions and whether the first ECU and the target second ECU determined by the first ECU have the sleep conditions;
and sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message carries the second indication information.
5. The utility model provides a device of whole car dormancy of control electric automobile which characterized in that is applied to a electronic control unit ECU, the device includes:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving a first network management message sent by at least one second ECU adjacent to a first ECU in a ring network architecture of the electric automobile, and the first network management message carries first indication information indicating whether each ECU in the ring network architecture has a dormancy condition or not;
and the processing module is used for entering a standard whole vehicle sleep process under the condition that each ECU in the ring network framework is determined to have a sleep condition according to at least one piece of first indication information.
6. The apparatus of claim 5, further comprising:
and the sending module is used for periodically sending a second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, wherein the second network management message is used for determining whether each ECU in the ring network architecture has a sleep condition.
7. The apparatus of claim 6, wherein the sending module comprises:
the updating submodule is used for updating the first indication information received at the last time according to the information of whether the first ECU has the dormancy condition or not under the condition that the first network management message sent by the at least one second ECU is received within a first time period before the second network management message is sent, so as to obtain second indication information;
and the first sending submodule is used for sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, and the second network management message carries the second indication information.
8. The apparatus of claim 6, wherein the sending module comprises:
The determining submodule is used for determining that the target second ECU has the dormancy condition currently under the condition that the first network management message sent by the target second ECU is not received within a first time length before the second network management message is sent; the first time length is longer than the period of sending the first network management message by the target second ECU;
a generation submodule, configured to generate second indication information according to information on whether or not other ECUs, which are indicated by the first indication information received last time, except for the first ECU and the target second ECU have a sleep condition and whether or not the first ECU and the target second ECU have the sleep condition, which is determined by the first ECU;
and the second sending submodule is used for sending the second network management message to the at least one second ECU adjacent to the first ECU in the ring network architecture, and the second network management message carries the second indication information.
9. An electronic control unit, comprising: processor, memory and program stored on the memory and executable on the processor, the program implementing the method for controlling the whole vehicle dormancy of the electric vehicle according to any one of claims 1 to 4 when being executed by the processor.
10. A readable storage medium, characterized in that the readable storage medium stores a program, and the program is executed by a processor to implement the method for controlling the whole vehicle sleep of the electric vehicle according to any one of claims 1 to 4.
CN202111521356.6A 2021-12-13 2021-12-13 Method and device for controlling whole electric automobile to sleep and electronic control unit Active CN114670764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111521356.6A CN114670764B (en) 2021-12-13 2021-12-13 Method and device for controlling whole electric automobile to sleep and electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111521356.6A CN114670764B (en) 2021-12-13 2021-12-13 Method and device for controlling whole electric automobile to sleep and electronic control unit

Publications (2)

Publication Number Publication Date
CN114670764A true CN114670764A (en) 2022-06-28
CN114670764B CN114670764B (en) 2024-06-07

Family

ID=82069647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111521356.6A Active CN114670764B (en) 2021-12-13 2021-12-13 Method and device for controlling whole electric automobile to sleep and electronic control unit

Country Status (1)

Country Link
CN (1) CN114670764B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200035A (en) * 2013-03-29 2013-07-10 北京经纬恒润科技有限公司 Network dormancy method, network dormancy device and electronic control unit (ECU) based on open system and the corresponding interfaces for automotive electronics (OSEK) standard
CN104742825A (en) * 2015-03-20 2015-07-01 山东省科学院自动化研究所 Low-power-consumption automobile body controller and control method thereof
CN107360072A (en) * 2017-06-30 2017-11-17 惠州华阳通用电子有限公司 It is a kind of can synchronous dormancy CAN network and its control method
CN112241164A (en) * 2020-10-29 2021-01-19 安徽江淮汽车集团股份有限公司 Automobile network dormancy testing method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200035A (en) * 2013-03-29 2013-07-10 北京经纬恒润科技有限公司 Network dormancy method, network dormancy device and electronic control unit (ECU) based on open system and the corresponding interfaces for automotive electronics (OSEK) standard
CN104742825A (en) * 2015-03-20 2015-07-01 山东省科学院自动化研究所 Low-power-consumption automobile body controller and control method thereof
CN107360072A (en) * 2017-06-30 2017-11-17 惠州华阳通用电子有限公司 It is a kind of can synchronous dormancy CAN network and its control method
CN112241164A (en) * 2020-10-29 2021-01-19 安徽江淮汽车集团股份有限公司 Automobile network dormancy testing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114670764B (en) 2024-06-07

Similar Documents

Publication Publication Date Title
CN110758289B (en) Sleep and wake-up method of in-vehicle hybrid network comprising vehicle-mounted Ethernet
CN107659494B (en) Data processing method and intelligent vehicle-mounted gateway
CN107465588B (en) State control method and device of multi-channel bus network and network management system
CN112491671B (en) Method and system for monitoring whole vehicle feed problem and vehicle CAN network gateway
CN103200035B (en) Based on the net dormancy method of OSEK standard, device and ECU
CN110830267A (en) State control method and device of network node and gateway
JP2017220220A (en) Electronic control units and service management system for vehicles
US20190217869A1 (en) Control apparatus, control method, and program
CN112764410A (en) Vehicle-mounted controller testing device, system and method
CN111464642A (en) Method and device for pushing messages of vehicle machine
DE102019126529A1 (en) MAINTAIN RADIO RESOURCE CONTROL ACTIVITY AFTER SMS WAKE UP
CN210839611U (en) Sleep and awakening device of in-vehicle hybrid network comprising vehicle-mounted Ethernet
US20190243633A1 (en) Vehicular communication system
CN111490918B (en) Vehicle-mounted Ethernet network awakening system, method and device and computer equipment
CN113993196B (en) Node control method, system, equipment and storage medium of vehicle-mounted Ethernet
CN111885173B (en) ECU (electronic control unit) conforming to AUTOSAR (automotive open system architecture) and sleep/wake-up management method thereof
CN114670764B (en) Method and device for controlling whole electric automobile to sleep and electronic control unit
CN111315000A (en) Vehicle data transmission method, device, equipment and storage medium
CN110509870B (en) Vehicle-mounted CAN network and vehicle-mounted CAN network management method
CN111625282A (en) Multi-subnet cooperative sleep method and system based on CAN bus
CN116931988A (en) OTA upgrading method and device, electronic equipment and storage medium
CN107888472B (en) Vehicle network management method, control gateway, controller and automobile
CN107171915B (en) Communication protocol changing method and device
CN114670762A (en) Vehicle-mounted equipment wake-up control method and device and electric vehicle
CN112068493B (en) Whole vehicle sleep awakening control method and control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant