Finished vehicle local area network management method
By dividing the network management level and vehicle network architecture in the vehicle LAN network, the controller-level wake-up and identifying the wake-up cause is solved, and the problem of wake-up full network wake-up is achieved in optimization of static power consumption and convenient detection of abnormalities is achieved.
Patent Information
- Application Number
- CN202411728542.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-02-28
AI Technical Summary
The existing vehicle network management method causes the entire network to wake up when the controller is abnormal, causing unnecessary static power consumption, and it is difficult to effectively troubleshoot the root cause of the abnormality.
The LAN management method of the whole vehicle is adopted. By pre-dividing the network management level and the vehicle network architecture, the controller-level wake-up is supported, and the wake-up source is identified by itself and the wake-up reason is sent through the network management message. Only the network segment where the abnormal controller is located is awakened to avoid wake-up on the entire network.
Ensure that only abnormal network segments are awakened when the controller is abnormal, avoid the increase in static power consumption of the entire vehicle, and identify the cause of abnormality through network messages, so as to facilitate problem investigation.
Smart Images

Figure CN119544451A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile network technology, and in particular to a whole-vehicle local area network management method. Background Art
[0002] Currently, most vehicle network management uses OSEC network management. All controllers on the vehicle must be in sleep mode before the vehicle network can be in sleep mode. As long as one controller cannot be in sleep mode due to an abnormality, other controllers on all network segments of the vehicle will be in wake-up state. If any controller requests the vehicle network at this time, the vehicle network will be awakened, resulting in unnecessary static power consumption of the vehicle. Furthermore, it is difficult to effectively troubleshoot the root cause of the problem that causes the abnormal working condition of the aforementioned controller. Summary of the invention
[0003] In view of the above, the present invention aims to provide a vehicle local area network management method to solve the above-mentioned technical problems.
[0004] The technical solution adopted by the present invention is as follows:
[0005] The present invention provides a vehicle local area network management method, which includes:
[0006] The controller nodes and the vehicle network architecture are pre-divided according to the network management level; wherein the controller nodes are at least divided into: management coordination nodes, first-level nodes, and the first-level nodes include network management gateway nodes; the vehicle network is at least divided into: backbone communication network, first-level communication network and private network;
[0007] After being awakened locally, the node of the backbone communication network or the primary communication network identifies the awakening source by itself and sends the awakening reason through a network management message, and sends a network application message to convey its own network request reason;
[0008] After determining the target wake-up network segment, send a network management message to wake up the target network segment;
[0009] The awakened network management gateway node determines the target awakening network segment of the private network according to the network application message signal and wakes it up;
[0010] After the node of the private network is awakened, the network management gateway node sends a network management message and the awakening reason.
[0011] In at least one possible implementation, the network management method further includes:
[0012] After the primary node determines that a preset local sleep condition is met, stopping sending network management messages;
[0013] After the management coordination node determines that the local sleep condition is met and confirms that all the first-level nodes under it have stopped sending network management messages, the backbone communication network stops sending network management messages.
[0014] In at least one possible implementation, the network request reason further includes: a hold reason;
[0015] When the network wake-up and the network hold do not belong to the same node, the control node in the network hold sends the hold reason through a network management message.
[0016] In at least one possible implementation manner, the signal for waking up the target network segment is transmitted to the backbone communication network via a network application message.
[0017] In at least one possible implementation manner, the network management message and the network application message each have a preset network request reason identifier.
[0018] In at least one possible implementation manner, the network request reason identifier is set as follows: each bit of the message signal is used to represent a network request reason, and the lower 6 bits of the network management message are used to define the first wake-up reason of the node.
[0019] In at least one possible implementation, the division of the controller nodes according to the network management level includes:
[0020] Use several regional controllers as management and coordination nodes for the entire vehicle network;
[0021] A node directly connected to the management coordination node and having a network management function is used as a first-level node; and a node in the first-level node having a network management subnet function is used as a network management gateway node.
[0022] In at least one possible implementation, the vehicle network architecture is divided into:
[0023] The network consisting of the management coordination node and peer nodes is defined as a backbone communication network;
[0024] A network connected to the management coordination node and having a network management function is defined as a primary communication network;
[0025] The network under the network management gateway node is defined as a private network, and the private network is scheduled by the network management gateway node.
[0026] Compared with the prior art, the main design concept of the present invention is to divide the controller nodes and the vehicle network architecture according to the network management level in advance. For nodes that support controller-level wake-up, after being awakened locally, they can identify the wake-up source by themselves and send the wake-up reason through the network management message, and transmit their own network request reason through the network application message; after deciding on a target wake-up network segment, send a network management message to wake up the target network segment; and, for the network management gateway node, the target wake-up network segment of its private network can be decided according to the network application message signal and wake it up. After the private network node is awakened, the corresponding network management gateway node sends the network management message and the wake-up reason. The present invention can ensure that after a controller is in an abnormal working condition, the controllers of all network segments will not be awakened, but only the network segment where the abnormal controller is located will be awakened, which will not affect the static power consumption of the whole vehicle; in addition, the awakened controller can identify the cause of the abnormality through the corresponding network message to troubleshoot the problem. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described below with reference to the accompanying drawings, in which:
[0028] Figure 1 A schematic diagram of a vehicle local area network management method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0029] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0030] The present invention proposes an embodiment of a vehicle local area network management method. Specifically, Figure 1 shown, including:
[0031] Step S1, pre-dividing the controller nodes and the vehicle network architecture according to the network management level; wherein the controller nodes are at least divided into: management coordination nodes, first-level nodes, and the first-level nodes include network management gateway nodes; the vehicle network is at least divided into: backbone communication network, first-level communication network and private network;
[0032] Therefore, the node and network division can be expanded to:
[0033] (1) Controller node (ECU) network management level division:
[0034] Use several regional controllers (such as left front, left rear, right front, and right rear) as management and coordination nodes for the vehicle network;
[0035] The nodes directly connected to the management coordination node and having the network management function are regarded as the first-level nodes; and the nodes having the network management subnet function among the first-level nodes are regarded as the network management (NM) gateway nodes.
[0036] Of course, it can also be viewed from other dimensions:
[0037] First, when the power mode is OFF, CAN (FD) communication is performed, and the ECU nodes that perform synchronous sleep and synchronous wake-up;
[0038] Second, an ECU node that starts communicating when the power mode is ON or enabled by other ECUs, and immediately stops communicating or only delays communicating for a set period of time when the power mode is switched to OFF or disabled by other ECUs.
[0039] (2) Vehicle network layer division:
[0040] A network consisting of at least a management coordination node and peer nodes is the backbone communication network W_CANFD;
[0041] The network connected to the management coordination node and having network management functions is regarded as the primary communication network;
[0042] The network under the network management gateway node is a private network, which is scheduled by the network management gateway node.
[0043] Step S2: After the node of the backbone communication network or the primary communication network is awakened locally (wake-up at the controller ECU level), it identifies the wake-up source by itself and sends the wake-up reason through the network management message (this step is to perform the network request reason analysis function), and sends the network application message to convey its own network request reason;
[0044] Step S3: after determining the target wake-up network segment, send a network management message to wake up the target network segment (this step is to perform the independent wake-up decision function of the downstream network segment);
[0045] Step S4, the awakened network management gateway node decides the target awakening network segment of the private network according to the network application message signal and wakes it up (that is, it also supports the independent awakening decision function of the downstream network segment of the node);
[0046] Step S5: After the node of the private network is awakened, the network management gateway node sends a network management message and the awakening reason.
[0047] It should be further pointed out here that the aforementioned target wake-up network segment signal can also be sent on the backbone communication network through a network application message.
[0048] The network management messages and network application messages mentioned above have preset network request reason identifiers respectively, so they can be distinguished through message signals. In actual operation, each bit of the message signal represents a network request reason. For example, when the controller requests network operation, the corresponding position is 1, otherwise it is set to 0. In addition, the lower 6 bits (48-53 bits) of Byte6 in the network management message can be used to define the first wake-up reason of the controller.
[0049] In addition, the network request reason also includes: a retention reason; for example, for some specific wake-up scenarios, it is possible that the network wake-up and the network retention are not the same controller node, so the controller node of the network retention can send the retention reason through a network management message.
[0050] Finally, regarding the vehicle network dormancy, it can be added that after the first-level node (including the network management gateway node) determines that the preset local dormancy conditions are met, the network management message is stopped;
[0051] After the management coordination node determines that the local sleep condition is met and all the first-level nodes under it have stopped sending network management messages, it stops sending network management messages in the backbone communication network.
[0052] In summary, the main design concept of the present invention is to divide the controller nodes and the vehicle network architecture according to the network management level in advance. For nodes that support controller-level wake-up, after being awakened locally, they can identify the wake-up source by themselves and send the wake-up reason through the network management message, and transmit their own network request reason through the network application message; after deciding on a target wake-up network segment, send a network management message to wake up the target network segment; and, for the network management gateway node, the target wake-up network segment of its private network can be decided according to the network application message signal and wake it up. After the private network node is awakened, the corresponding network management gateway node sends the network management message and the wake-up reason. The present invention can ensure that after a controller is in an abnormal working condition, the controllers of all network segments will not be awakened, but only the network segment where the abnormal controller is located will be awakened, which will not affect the static power consumption of the whole vehicle; in addition, the awakened controller can identify the cause of the abnormality through the corresponding network message to troubleshoot the problem. .
[0053] If the expressions expressing orientation are mentioned in the embodiments of the present invention, they are relative concepts based on the embodiments. In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, wherein a, b, c can be single or multiple.
[0054] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings, but the above is only a preferred embodiment of the present invention. It should be noted that the technical features involved in the above embodiments and their preferred methods can be reasonably combined and matched into a variety of equivalent schemes by those skilled in the art without departing from or changing the design ideas and technical effects of the present invention; therefore, the present invention is not limited to the scope of implementation shown in the drawings, and all changes made in accordance with the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the specification and drawings, should be within the protection scope of the present invention.
Claims
1. A vehicle local area network management method, characterized in that: include: The controller nodes and the vehicle network architecture are pre-divided according to the network management level; wherein the controller nodes are at least divided into: management coordination nodes, first-level nodes, and the first-level nodes include network management gateway nodes; the vehicle network is at least divided into: backbone communication network, first-level communication network and private network; After being awakened locally, the node of the backbone communication network or the primary communication network identifies the awakening source by itself and sends the awakening reason through a network management message, and sends a network application message to convey its own network request reason; After determining the target wake-up network segment, send a network management message to wake up the target network segment; The awakened network management gateway node determines the target awakening network segment of the private network according to the network application message signal and wakes it up; After the node of the private network is awakened, the network management gateway node sends a network management message and the awakening reason.
2. The vehicle local area network management method according to claim 1, characterized in that: The network management method further includes: After the primary node determines that a preset local sleep condition is met, stopping sending network management messages; After the management coordination node determines that the local sleep condition is met and confirms that all the first-level nodes under it have stopped sending network management messages, the backbone communication network stops sending network management messages.
3. The vehicle local area network management method according to claim 1, characterized in that: The network request reason also includes: a holding reason; When the network wake-up and the network hold do not belong to the same node, the control node in the network hold sends the hold reason through a network management message.
4. The vehicle local area network management method according to claim 1, characterized in that: The signal of the target awakening network segment is transmitted to the backbone communication network through the network application message.
5. The vehicle local area network management method according to claim 1, characterized in that: The network management message and the network application message each have a preset network request reason identifier.
6. The vehicle local area network management method according to claim 5, characterized in that: The network request reason identifier is set as follows: each bit of the message signal is used to represent a network request reason, and the lower 6 bits of the network management message are used to define the first wake-up reason of the node.
7. The vehicle local area network management method according to any one of claims 1 to 6, characterized in that: The division of controller nodes by network management level includes: Use several regional controllers as management and coordination nodes for the entire vehicle network; A node directly connected to the management coordination node and having a network management function is used as a first-level node; and a node in the first-level node having a network management subnet function is used as a network management gateway node.
8. The vehicle local area network management method according to claim 7, characterized in that: The vehicle network architecture can be divided into the following ways: The network consisting of the management coordination node and peer nodes is defined as a backbone communication network; A network connected to the management coordination node and having a network management function is defined as a primary communication network; The network under the network management gateway node is defined as a private network, and the private network is scheduled by the network management gateway node.