Gateway node management system of local network
By introducing central gateway and sub-gateway nodes into the automotive network, dividing service clusters according to service types, and adopting independent sleep and wake-up modes, the problem of high energy consumption in the existing technology is solved, and more efficient network management and battery life are achieved.
Patent Information
- Application Number
- CN202410448857.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-15
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology lacks effective design for data exchange on different buses in automotive network management, resulting in high energy consumption and difficulty in meeting the dual requirements of modern vehicles for network performance and energy efficiency.
Adopt a local network gateway node management system, divide the network through central gateway and sub-gateway nodes, divide service clusters according to service types, adopt independent sleep and independent wake-up modes, realize wake-up and sleep management of terminal nodes through specific messages, and reduce unnecessary Energy consumption.
On the premise of ensuring network communication efficiency, the energy consumption of the entire vehicle is reduced, the endurance of electric vehicles is improved, and more targeted network management and optimization are achieved.
Smart Images

Figure CN118540176A
Abstract
Description
Technical Field
[0001] The invention relates to a network management technology, in particular to a gateway node management system of a local network. Background Art
[0002] With the improvement of automobile electronics and the increase of vehicle functions, modern automobiles are undergoing a technological revolution. Automobiles are no longer just traditional means of transportation, but have become mobile terminals with intelligent, interconnected and electrified features. In the past, automobiles only needed a few ECUs (electronic Control Units) to control basic functions such as engines and braking systems. But modern automobiles have more functional requirements, including driver assistance systems, autonomous driving technology, intelligent safety functions, multimedia entertainment systems, etc. However, the implementation of these functions requires more ECUs to manage and control. In order to make the ECU nodes in the network sleep and wake up in an orderly manner, sleep when there is no communication demand, which can save the battery power of the entire vehicle, and introduce the network management strategy of the automobile.
[0003] As the application scenarios of current in-vehicle networks become increasingly complex, the requirements for information flow, data processing efficiency and response speed are getting higher and higher. The existing local network design lacks the design of exchanging data from different buses in the same local network through gateways. The local network design without gateways means the lack of an effective data exchange and communication coordination center in cross-network communication and system integration, making it difficult to achieve efficient data exchange between different buses. With the development of in-vehicle network technology, network management is gradually evolving towards more efficient and flexible management strategies.
[0004] In the traditional network management process, the active status of each part of the network is not distinguished, but the network is managed as a whole, regardless of whether the node currently needs to communicate. This traditional network management method focuses on the operation of the entire network and performs unified status monitoring and control. The advantages of the traditional network management method are: simplified network architecture and continuous communication capabilities, ensuring fast response time and continuous data flow, and realizing global network management mainly through the network wake-up mechanism to wake up all nodes at the same time when the vehicle starts, and ensuring stable operation of the network by monitoring the status and performance indicators of the entire network. The traditional network management method is easy to implement and maintain due to its simplified management and architecture, and can provide stable and fast network communication. However, the existence of the traditional network management method has the following disadvantages: low efficiency, resulting in unnecessary energy consumption. Since electric vehicles need to reduce energy consumption outside of driving as much as possible while meeting the normal operation of many auxiliary systems, the traditional network management method cannot meet the dual requirements of modern vehicles for network performance and energy efficiency. Summary of the invention
[0005] The present invention is to avoid the deficiencies existing in the above-mentioned prior art and provide a gateway node management system for a local network, so as to reduce the energy consumption caused by communication as much as possible while ensuring the network communication efficiency, thereby reducing the energy consumption of the whole vehicle and improving the endurance.
[0006] The present invention adopts the following technical solutions to solve the technical problems.
[0007] A gateway node management system for a local network of the present invention is characterized in that the local network includes a plurality of sub-gateway nodes and a central gateway; the central gateway is connected to a plurality of sub-gateway nodes; the central gateway is connected to a sub-gateway node via a first-level bus; each of the plurality of sub-gateway nodes is connected to the central gateway via a first-level bus; each of the sub-gateway nodes is connected to a plurality of terminal nodes via a plurality of second-level buses, and each of the plurality of terminal nodes is connected to the sub-gateway node to which the terminal node belongs via a second-level bus;
[0008] The local network is divided into a plurality of service clusters according to the service type; each of the service clusters includes a plurality of terminal nodes; the plurality of terminal nodes of the same service cluster belong to the same gateway node or to different gateway nodes;
[0009] Each of the multiple service clusters adopts an independent sleep and independent wake-up mode, and wakes up each of the multiple terminal nodes of each service cluster through a specific message.
[0010] The structural features of a local network gateway node management system of the present invention are also as follows:
[0011] Furthermore, the multiple service clusters include an infotainment service system cluster, a driving assistance system cluster, a vehicle control system cluster, a safety monitoring system cluster and a vehicle diagnostic system cluster.
[0012] Furthermore, in the independent wake-up mode, when a service cluster is enabled, only the terminal nodes in the service cluster are woken up.
[0013] Furthermore, a hardware filtering mechanism is configured in the transceiver of the terminal node; and a service cluster number bit is set in the specific message.
[0014] Furthermore, a wake-up ID is set in a register of a transceiver of the terminal node.
[0015] Furthermore, in the specific message, a SC ID bit is allocated to each service cluster in the User Data area, and the SC ID is a bit indicating whether different service clusters need to remain awake.
[0016] Furthermore, the central gateway, terminal nodes and sub-gateway nodes all include respective network management modules; the central gateway, terminal nodes and sub-gateway nodes all transmit data on the bus via the communication interface module.
[0017] Furthermore, the external request buffer and the internal request buffer are bit arrays stored in the application layer; each bus corresponds to its own external request buffer and internal request buffer.
[0018] Furthermore, the channel mode of the first-level bus or the second-level bus is configured as an Active Mode or a Passive Mode.
[0019] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0020] The present invention discloses a gateway node management system for a local network. The local network comprises a central gateway, wherein the central gateway is connected to each of a plurality of sub-gateway nodes via a first-level bus; each of the sub-gateway nodes is connected to a plurality of terminal nodes via a plurality of second-level buses; the local network is divided into a plurality of service clusters according to service types; each of the plurality of service clusters comprises a plurality of terminal nodes; a plurality of terminal nodes of the same service cluster belong to the same gateway node or to different gateway nodes; each of the plurality of service clusters adopts an independent sleep and independent wake-up mode, and wakes up the plurality of terminal nodes of each service cluster via a specific message.
[0021] In the vehicle network, different service clusters are divided according to the actual functional connection of the nodes, and the design implements waking up the nodes in a specific service cluster through hardware transceivers, message IDs, and message SC ID tags. When there are multiple buses of different types in the same service cluster, when a message is sent on one of the buses, the message records the SC ID tag at the application layer through the routing of the gateway node. The communication manager determines the forwarding based on the link mode of the bus under the gateway node. The network management module obtains the message with the SC ID tag from the application layer through the routing module routing, and calls the bottom interface module to forward it to other buses. The nodes on other buses accept the network wake-up request after hardware filtering and SC ID tag bit AND operation, thereby realizing the request transmission between nodes on different buses in the same service cluster.
[0022] The local network gateway node management system of the present invention can realize group management of nodes in the network according to their functions, provide more targeted management and optimization, and is of great significance for reducing the energy consumption of the entire vehicle and extending the cruising range of electric vehicles.
[0023] In summary, the local network gateway node management system of the present invention has the advantages of being able to reduce the energy consumption caused by communication as much as possible while ensuring the network communication efficiency, thereby reducing the energy consumption of the entire vehicle and improving the battery life. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 The diagram is a topological structure diagram of a gateway node of a gateway node management system of a local network according to the present invention.
[0025] Figure 2 It is a schematic diagram of the SC ID information storage and update process of a gateway node management system of a local network according to the present invention.
[0026] Figure 3 It is a working schematic diagram of a communication state machine of a service cluster of a gateway node management system of a local network of the present invention.
[0027] Figure 4 The present invention is a flowchart of waking up the terminal nodes of three second-level buses on a sub-gateway node M of a gateway node management system of a local network.
[0028] Figure 5 Schematic diagram of the two parts of the register of the present invention.
[0029] The present invention will be further described below through specific implementation modes in conjunction with the accompanying drawings. DETAILED DESCRIPTION
[0030] See also Figure 1 to Figure 5 A gateway node management system for a local network of the present invention is characterized in that the local network includes a plurality of sub-gateway nodes and a central gateway; the central gateway is connected to a plurality of sub-gateway nodes; the central gateway is connected to a sub-gateway node via a first-level bus; each of the plurality of sub-gateway nodes is connected to the central gateway via a first-level bus; each of the sub-gateway nodes is connected to a plurality of terminal nodes via a plurality of second-level buses, and each of the plurality of terminal nodes is connected to the sub-gateway node to which the terminal node belongs via a second-level bus;
[0031] The local network is divided into a plurality of service clusters according to the service type; each of the service clusters includes a plurality of terminal nodes; the plurality of terminal nodes of the same service cluster belong to the same gateway node or to different gateway nodes;
[0032] Each of the multiple service clusters adopts an independent sleep and independent wake-up mode, and wakes up each of the multiple terminal nodes of each service cluster through a specific message.
[0033] The gateway node management system for a local network of the present invention is different from the method in the prior art in which all nodes in the global network management are put to sleep and woken up at the same time. The present invention divides the entire network into multiple service clusters according to the service type, and each service cluster constitutes a local network, which can realize independent sleep and independent wake-up, and the service clusters do not affect each other. The gateway node management system for a local network of the present invention ensures that when the local network covers multiple nodes under different buses, network messages can still be efficiently transmitted between these dispersed nodes, which can ensure network communication efficiency and reduce the energy consumption of the entire vehicle.
[0034] In a specific implementation, the multiple service clusters include an infotainment service system cluster, a driving assistance system cluster, a vehicle control system cluster, a safety monitoring system cluster and a vehicle diagnostic system cluster.
[0035] When dividing the entire network into multiple service clusters based on service types, two aspects need to be considered. First, it is necessary to clarify what service types exist in the current in-vehicle network. Common service types may include but are not limited to: infotainment service system, driver assistance system, vehicle control system, safety monitoring system, vehicle diagnostic system, etc. Each service type is classified as a service cluster. Each service type involves specific functions and requirements. Second, for each service cluster, identify and list all terminal nodes involved in providing the service. For example, the infotainment service system cluster may include terminal nodes such as media playback control unit, display controller, and network access device; while the safety monitoring system cluster may include terminal nodes such as collision detection sensor, airbag control unit, and lane keeping assist control unit.
[0036] During specific implementation, in the independent wake-up mode, when a service cluster is enabled, only the terminal nodes in the service cluster are woken up.
[0037] In a gateway node management system of a local network of the present invention, a certain terminal node in a service cluster is awakened through a specific message (in specific implementation, it can be determined whether to wake up one or more terminal nodes in the service cluster based on service needs; sometimes it is not necessary to wake up all terminal nodes in the service cluster to meet service needs), rather than waking up all terminal nodes on the entire bus.
[0038] During specific implementation, a hardware filtering mechanism is configured in the transceiver of the terminal node; and a service cluster number bit is set in the specific message.
[0039] The implementation of the specific message is: first, relying on the transceiver configuration hardware filtering mechanism of the terminal node, determining whether it is a relevant message of the current terminal node through the ID of the specific message; second, adding a service cluster number bit in the specific message.
[0040] During specific implementation, the wake-up ID is set in a register of the transceiver of the terminal node.
[0041] The configuration of the hardware filtering mechanism refers to the configuration of the hardware transceiver with a specified frame wake-up, that is, configuring the register of the specified frame and dividing the register into two parts. Figure 5 , the first part of the register is the 11-bit CAN ID area, and the second part is the 11-bit ID mask area. The CAN ID area is used to mark the wake-up ID of the specified frame, and the corresponding bit in the mask area, if it is 0, it means that the corresponding ID bit must be satisfied, if it is 1, it means that the corresponding ID bit can be ignored. For example: configure to receive data frames with ID 0x2AX (X means the corresponding mask bit is set to 1, don't care), such as Figure 5 shown.
[0042] In a specific implementation, in the specific message, a SC ID bit is allocated to each service cluster in the User Data area, and the SC ID is a bit indicating whether different service clusters need to remain awake.
[0043] In the AUTOSAR specification, 8 bytes of data are usually allocated to the network message, including Source Node ID (located in Byte0), CBV (Control Bit Vector, located in Byte1) and User Data (the remaining 6 bytes). UserData is user-defined content. The network message in the present invention includes a pre-set specific message. The specific message will be used to define a group of service clusters when implementing partial network management. Each service cluster is assigned an SC ID (Service Cluster ID) as the service cluster number bit, and each SC ID occupies a bit of User Data, and different bits in User Data are specified to indicate whether different service clusters need to remain awake. For example, bit 0 of Byte 2 is set to wake up the SC ID1 group, that is, bit 0 of Byte 2 is the designated bit for waking up the service cluster corresponding to SC ID1. If a node wants to keep the SC ID1 group awake at this time, it is necessary to set bit 0 of Byte 2 to 1 and send a specific message for network management to the outside; if not needed, set bit 0 of Byte 2 to 0 or stop sending specific messages for network management to the outside. After receiving the specific message of network management, other nodes determine whether the service cluster is associated with the terminal node by identifying the SC ID, and thus decide whether to be awakened. When all terminal nodes in the same service cluster do not need to remain active, the service cluster will follow the sleep logic and enter the sleep state together.
[0044] like Figure 1 , the service cluster includes multiple terminal nodes. The multiple terminal nodes of each service cluster can come from the terminal nodes connected to a sub-gateway node under the same first-level bus, or can span multiple different first-level buses and come from the terminal nodes connected to multiple first-level buses and corresponding multiple sub-gateway nodes. Terminal nodes from different first-level buses (or sub-gateway nodes) need to pass through sub-gateway nodes and central gateways to realize the transmission of requests. The sub-gateway node contains multiple different second-level buses. The first-level bus and the second-level bus correspond to the channels Channel under the communication manager. The Channel is an abstraction of the bus channel in the physical sense. The node connected under the sub-gateway node is called a terminal node, and the terminal node is no longer connected to other nodes.
[0045] During specific implementation, the central gateway, terminal nodes and sub-gateway nodes all include their own network management modules; the central gateway, terminal nodes and sub-gateway nodes all transmit data on the bus via the communication interface module.
[0046] Each node in the present invention, whether a central gateway, a terminal node or a gateway node, has its internal network management module. The communication manager manages the communication status of all channels under the network segment, and the communication manager manages all buses, whether primary or secondary. All nodes, whether terminal nodes or sub-gateway nodes, central gateway nodes must pass through the communication interface module to send and receive data on the bus.
[0047] like Figure 2 The application layer module in the system can store the communication status of the service cluster. The router module in the system realizes the transmission of information from the internal network management module of the node to the application layer. All the message reception and transmission in the system are obtained or sent from the bus through the communication interface module.
[0048] like Figure 2 It is the message processing process of SC ID. The communication manager can coordinate and optimize the state management of different channels according to the vehicle's operating status and network requirements. For the communication status of each network node, the network management module has an independent set of communication state machines (such as Figure 3 The reception and transmission of specific messages are obtained or sent from the channel Channel through the communication interface module. Figure 2 In the SC ID storage and update process, the communication status of the network nodes can be stored in real time, and the sub-gateway nodes can also ensure the connection to the terminal nodes in the same service cluster.
[0049] The communication process of the communication state machine is as follows Figure 3The communication state machine includes two modes: communication mode and non-communication mode; the communication mode is further divided into communication request mode, sleep preparation mode and pre-sleep mode.
[0050] During specific implementation, the external request buffer and the internal request buffer are bit arrays stored in the application layer; each bus corresponds to its own external request buffer and internal request buffer.
[0051] like Figure 1-3 At a certain time t, a terminal node A sends a specific message requesting the network to the second-level bus. After the specific message of the request on the second-level bus is filtered by the transceiver hardware of the terminal node A, the network management module disassembles the request information of the service cluster, that is, disassembles the SC ID information of the User Data part. After disassembly, it is cached to the sub-gateway node corresponding to the second-level bus. The external request buffer is used to record external wake-up requests, which include wake-up signals from external test equipment, other vehicle networks or any non-network internal sources. The internal request buffer is used to record wake-up requests from inside and outside the network. When any bit is set in the internal request buffer, it indicates that at least one node requests network wake-up, which will prevent the network from entering the sleep state or trigger the network to wake up from the sleep state. At this time, the router in the CAN network will route the wake-up requests in the above two buffers (i.e., the above external request buffer and the internal request buffer) upward to the application layer module. This makes it convenient for the communication manager to first obtain the SC ID information corresponding to each Channel from the application layer module before controlling the status of each service cluster. With the SC ID information, it can be determined whether the terminal node on the second-level bus of the sub-gateway node is in the requested service cluster. Each channel on the sub-gateway node will be configured with a link mode.
[0052] In a specific implementation, the Channel mode of the first-level bus or the second-level bus is configured as an Active Mode or a Passive Mode.
[0053] The channel mode of the bus of the sub-gateway node can be configured as Active Mode (wake-up state) or Passive Mode (sleep state). Active Mode means that this Channel will forward the request to the Channel of the same service cluster on the gateway node, and the request will be mirrored back to this Channel and routed to all Channels in the same service cluster. Passive Mode means that the request only needs to be forwarded to the Channel of Active Mode type in the same service cluster. The request will not be mirrored back to the Channel and will not be routed to the Channel of Passive Mode gateway type. The request is only routed to the Channel of Active Mode gateway type.
[0054] Figure 1 The network topology of the central gateway and sub-gateway nodes of the present invention. Among them, the sub-gateway node M is connected to the central gateway through the first-level bus one, and the sub-gateway node N is connected to the central gateway through the first-level bus two. The sub-gateway node M and the sub-gateway node N both include three different types of second-level buses. The sub-gateway node M includes a second-level bus 1, a second-level bus 2, and a second-level bus 3. The terminal node A1 is located on the second-level bus 1, the terminal node B1 is located on the second-level bus 2, and the terminal node C1 is located on the second-level bus 3. The sub-gateway node N includes a second-level bus 4, a second-level bus 5, and a second-level bus 6. The terminal node A2 is located on the second-level bus 4, the terminal node B2 is located on the second-level bus 5, and the terminal node C2 is located on the second-level bus 6.
[0055] In the first embodiment of the present invention, it is assumed that terminal node A1, terminal node B1, and terminal node C1 all belong to the same service cluster. In the first embodiment of the present invention, what needs to be realized is that the terminal node A1 on the second-level bus 1 communicates with the terminal node B1 on the second-level bus 2 and the terminal node C1 on the second-level bus 3 through the sub-gateway node M, so as to illustrate the communication process of a specific message of a gateway node management system of a local network of the present invention.
[0056] Figure 4 A flowchart for waking up terminal nodes on three different second-level buses on the sub-gateway node M is implemented for the sub-gateway node M. The terminal nodes of the service cluster all belong to one sub-gateway node M.
[0057] like Figure 1 and Figure 4 The specific implementation of the sub-gateway node M to realize the transmission of the requested specific message includes the following steps:
[0058] Step 0: After power-on, network management is initialized; the service cluster includes the second-level bus 1, the second-level bus 2, and the second-level bus 3 and the terminal nodes A1, B1, and C1 of these three second-level buses. At this time, the communication state machine of the service cluster is in a non-communication mode.
[0059] Step 1: When a terminal node A1 on the second-level bus 1 meets the wake-up condition and starts to send a specific message for network management to the second-level bus 1; this specific message contains the SC ID of the terminal node A1, the second-level bus 1 and the second-level bus 2 are both configured as Active Mode, and the second-level bus 3 is configured as Passive Mode.
[0060] Step 2, the sub-gateway node M is simultaneously located on the second-level bus 1 where the terminal node A1 is located, the second-level bus 2 where the terminal node B1 is located, and the second-level bus 3 where the terminal node C1 is located (that is, the three terminal nodes A1, B1, and C1 are located on different second-level buses 1, 2, and 3, respectively). The specific message of the broadcast network on the second-level bus 1 is filtered by the transceiver hardware part and reaches the sub-gateway node M.
[0061] Step 3, the sub-gateway node M sets a shielding mask (the SC ID position bit mask of the service cluster to which the sub-gateway node M belongs is 1, and the other bit masks are 0) through the SC ID field length and the offset distance of the SC ID in the specific message. After the bitwise AND operation, the result is not 0, and the sub-gateway node M is awakened by the specific message of the frame network.
[0062] Step 4: The sub-gateway node M maps the SC ID in the received specific message User Data to a PDU (Protocol Data Unit). This PDU (the network message transmitted later can be regarded as the PDU; the PDU includes the SC ID information of the specific message) will be configured with a path from the underlying network management module to the application layer module. Protocol data unit refers to a protocol data unit (PDU) that will be established at each layer of the transmission system in a layered network structure, such as the Open System Interconnection (OSI) model.
[0063] Step 5. After being routed by the transport layer router, the application layer module stores the SC ID information in the form of a signal singal. For the sub-gateway node M, both the external request buffer and the internal request buffer on the second-level bus 1 are set to store the SC ID information as 1. At this time, the communication state machine enters the communication request mode and resets the setting timer of the external request buffer of the service cluster where the second-level bus 1 is located.
[0064] Step 6. Entering the communication request mode, the communication manager needs to obtain the SC ID information in the internal request buffer on the second-level bus 1 through the standard interface provided by the application layer module; at this time, reset the set timer of the internal request buffer of the service cluster where the second-level bus 1 is located (note: different from the set timer of the external request buffer in step 5 of the previous step).
[0065] Step 7. Since the link state of the second-level bus 1 is configured as Active Mode, the SC ID information can be forwarded to all other buses under the sub-gateway node M (i.e., the second-level buses 2 and 3); the communication manager calls the standard interface provided by the application layer module to set the internal request buffers of the second-level bus 2 and the second-level bus 3 under the same service cluster.
[0066] Step 8: After the PDU timer times out, the network management module of the sub-gateway node M obtains the set SC ID information from the application layer module through the router, and combines it with other message header information (source node ID and CBV) into a complete PDU frame (including the above-mentioned specific message).
[0067] Step 9: The complete PDU is sent downward, first reaches the communication interface layer, and then is broadcast to the second-level bus 2 and the second-level bus 3, first filtered by the transceiver hardware, and received by all terminal nodes B2 and C2 that are configured with filtering conditions.
[0068] Step 10. The terminal nodes B2 and C2 that receive the complete PDU set a mask (the SCID position bit mask of the service cluster to which the terminal node belongs is 1, and the other bit masks are 0) according to the SC ID field length and the offset distance of the SC ID in the complete PDU and perform a bitwise AND operation.
[0069] Step 11, if the result of the bitwise AND operation is not 0, it means that the current terminal node belongs to the service cluster, and the complete network message can wake up the current terminal node. Otherwise, the current terminal node is not woken up and the network message is ignored. At this time, the terminal node B1 on the second-level bus 2 and the terminal node C1 on the second-level bus 3 are successfully awakened by the terminal node A1 on the second-level bus 1.
[0070] Step 12: When all the second-level buses under a service cluster are awakened, the communication state machine enters the communication mode.
[0071] Step 13: At a certain moment, if the set timer of the external request buffer under the second-level bus times out, it means that no new external wake-up request is received during this period of time, the communication state machine enters the ready sleep mode, and updates the SC ID information of the external request buffer and the internal request buffer of the application layer module to 0.
[0072] Step 14: If the set timer of the internal request buffer under the second-level bus times out, it means that no new internal wake-up request is received during this period of time, and the communication state machine enters the pre-sleep mode and starts a pre-sleep mode timer.
[0073] Step 115: When the state timer of the pre-sleep mode times out, the communication state machine of the service cluster will enter a no-communication state.
[0074] In the second embodiment of the present invention, it is assumed that the terminal node A2, the terminal node B1, and the terminal node C1 belong to the same service cluster. The service cluster includes terminal nodes on two sub-gateway nodes. What is to be achieved is that the terminal node A2 on the second-level bus 4 on the sub-gateway node N communicates with the terminal node B1 on the second-level bus 2 through the sub-gateway node M, the sub-gateway node N, so as to illustrate the communication process of a specific message of a gateway node management system of a local network of the present invention.
[0075] The specific implementation includes the following steps:
[0076] Step 20, after power-on, network management is initialized; the service cluster includes both the terminal node A2 on the second-level bus 4 and the terminal node B1 on the second-level bus 2, and the communication state machine of the service cluster is in a non-communication mode.
[0077] Step 21, when a terminal node A2 on the second-level bus 4 meets the wake-up condition and starts to send a specific message of network management to the second-level bus 4; this specific message contains the SC ID of the terminal node A2; the first-level bus 1, the first-level bus 2, the second-level bus 4 and the second-level bus 2 are all configured as Active Mode.
[0078] Step 22, the sub-gateway node M is located at the first-level bus 1 and the second-level bus 2 where the terminal node B1 is located, and the sub-gateway node N is located at the first-level bus 2 and the second-level bus 4 where the terminal node A2 is located (that is, the terminal node A2 and the terminal node B1 are respectively located under different sub-gateway nodes); at a certain moment, the broadcast network message sent by the terminal node A2 on the second-level bus 4 is filtered by the transceiver hardware part and reaches the sub-gateway node N.
[0079] Step 23, the sub-gateway node N is awakened by the specific message of the frame network through SC ID field length mask filtering, and maps the SC ID in the received specific message User Data to a PDU (Protocol Data Unit) (the network message transmitted later can be regarded as the transmitted PDU; the PDU includes the SC ID information of the specific message). After being routed by the transport layer router, the application layer module stores the SC ID information, and the change operation of the communication state machine and the internal and external request buffers of the second-level bus 4 is the same as the process of the second-level bus 1 in the first embodiment above (the same as the above steps 15 and 16).
[0080] Step 24, after the PDU periodic sending timer times out, the network management module of the sub-gateway node N obtains the set SC ID information from the application layer module through the router, and combines it with other message header information (source node ID and CBV) into a complete PDU frame (including the above-mentioned specific message) and sends it to the first-level bus 2 configured as Active Mode.
[0081] Step 25: The broadcast network message containing the SC ID information on the first-level bus 2 is filtered by the transceiver hardware part and reaches the central gateway.
[0082] Step 26, similar to the operation of the sub-gateway node N when receiving a message, the central gateway maps the SC ID in the User Data in the received message to a PDU; the PDU will be configured with a path from the network management module at the bottom of the node to the system application layer module. After being routed by the router at the transport layer, the application layer module stores the SC ID information in the form of a signal singal; for the central gateway, the external request buffer and the internal request buffer on the first-level bus two must be set to store the SC ID information as 1; the change operation of the communication state machine and the internal and external request buffers of the first-level bus two are the same as the process of the second-level bus 1 in the first embodiment above (the same as the above steps 15 and 16).
[0083] Step 27. After the PDU periodic sending timer times out, the network management module of the central gateway obtains the set SC ID information from the application layer module through the router, and combines it with other message header information (source node ID and CBV) into a complete PDU frame (including the above-mentioned specific message) and sends it to the first-level bus configured as Active Mode.
[0084] Step 28: The message of the broadcast network containing the SC ID information on the first-level bus 1 is filtered by the transceiver hardware part and reaches the sub-gateway node M.
[0085] Step 29, the sub-gateway node M is filtered through the SC ID field length mask, awakened by the specific message of the frame network, and maps the SC ID in the received specific message User Data to a PDU. After being routed by the transport layer router, the application layer module stores the SC ID information, and the communication state machine and the change operation of the internal and external request buffers of the first-level bus are the same as the process of the second-level bus 1 in the above-mentioned first embodiment (the same as the above-mentioned steps 15 and 16).
[0086] Step 210, after the PDU periodic sending timer times out, the network management module of the sub-gateway node M obtains the set SC ID information from the application layer module through the router, and combines it with other message header information (source node ID and CBV) into a complete PDU frame (including the above-mentioned specific message) and sends it to the second-level bus 2 configured as Active Mode.
[0087] Step 211: The broadcast network message containing the SC ID information on the second-level bus 2 is filtered by the transceiver hardware part and reaches the terminal node B1.
[0088] Step 212: The terminal node B1 is awakened by a specific message of the frame network through filtering by the SC ID field length mask.
[0089] A gateway node management system for a local network of the present invention introduces a central gateway and a sub-gateway node into the vehicle network to realize the local network. Compared with the existing technical solutions for realizing local networks without gateway nodes, the present invention can effectively improve the integration capability of cross-protocol communication. When there are multiple second-level buses of different types on the same local network, the sub-gateway node and the central gateway node serve as bridges between different network protocols (such as CAN, LIN, FlexRay and Ethernet), and can effectively forward and translate cross-protocol data packets. The data transmission rate within the local network and between local networks will be greatly improved, which allows even local networks based on different technical standards to communicate and collaborate efficiently.
[0090] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0091] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A gateway node management system for a local network, characterized in that: The local network includes a plurality of sub-gateway nodes and a central gateway; the central gateway is connected to a plurality of sub-gateway nodes; the central gateway is connected to a sub-gateway node via a first-level bus; each sub-gateway node is connected to a plurality of terminal nodes via a plurality of second-level buses, and each of the plurality of terminal nodes is connected to a sub-gateway node to which the terminal node belongs via a second-level bus; Dividing the local network into a plurality of service clusters according to service types; Each of the service clusters includes a plurality of terminal nodes; the plurality of terminal nodes of the same service cluster belong to the same gateway node or to different gateway nodes; Each of the multiple service clusters adopts an independent sleep and independent wake-up mode, and wakes up each of the multiple terminal nodes of each service cluster through a specific message.
2. A local network gateway node management system according to claim 1, characterized in that: The multiple service clusters include an infotainment service system cluster, a driving assistance system cluster, a vehicle control system cluster, a safety monitoring system cluster and a vehicle diagnostic system cluster.
3. A local network gateway node management system according to claim 1, characterized in that: In the independent wake-up mode, when a service cluster is enabled, only the terminal nodes in the service cluster are woken up.
4. A local network gateway node management system according to claim 1, characterized in that: The transceiver of the terminal node is configured with a hardware filtering mechanism; and the specific message is provided with a service cluster number bit.
5. A local network gateway node management system according to claim 4, characterized in that: A wake-up ID is set in a register of a transceiver of the terminal node.
6. A local network gateway node management system according to claim 4, characterized in that: In the specific message, a SC ID bit is allocated to each service cluster in the User Data area, and the SC ID is a bit indicating whether different service clusters need to remain awake.
7. A local network gateway node management system according to claim 1, characterized in that: The central gateway, terminal nodes and sub-gateway nodes all include their own network management modules; the central gateway, terminal nodes and sub-gateway nodes all transmit data on the bus through the communication interface module.
8. A local network gateway node management system according to claim 1, characterized in that: The external request buffer and the internal request buffer are bit arrays stored in the application layer; each bus corresponds to its own external request buffer and internal request buffer.
9. A local network gateway node management system according to claim 1, characterized in that: The channel mode of the first-level bus or the second-level bus is configured as an Active Mode or a Passive Mode.
Citation Information
Patent Citations
Data processing method and intelligent vehicle gateway
CN107659494A
local network management method based on a CAN bus
CN109756407A
ECU and awakening method thereof
CN117201209A
Vehicle-mounted device, vehicle-mounted system, control method, and computer program
WO2023195328A1
