Network communication method, device and vehicle
By sending network management messages with duplicate message status in the CAN network, the problem that the target controller cannot receive application messages in sleep mode is solved, ensuring the normal transmission of application messages and improving the security of the vehicle.
Patent Information
- Application Number
- CN202110961252.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-20
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-08-20
AI Technical Summary
The target controller cannot receive application messages sent by the source controller in sleep mode, resulting in packet loss and affecting the safe driving of the vehicle.
By sending a first network management message in the CAN network and generating a second network management message after the target controller is in a wake-up state, the source controller can ensure that the wake-up state of the target controller is received, thereby safely sending the application report arts.
It effectively avoids the loss of application messages, ensures the normal working state of the vehicle controller, and improves the safe driving conditions of the vehicle.
Smart Images

Figure CN114967522B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile communication technology, and more specifically, to a network communication method, device and vehicle. Background Art
[0002] With the application of CAN (Controller Area Network) networks in automobiles and the increasing number of vehicle-mounted functions, a management scheme for the working status of vehicle controllers based on CAN networks has been proposed, that is, the vehicle controller is directly connected to the positive electrode of the battery, and the vehicle controller enters sleep mode when it is in normal power state and has no working demand to reduce power consumption; when the vehicle controller has working demand, the vehicle controller enters wake-up state.
[0003] At present, when a vehicle controller in sleep mode (hereinafter referred to as the source controller) is awakened locally and there is a communication demand, the source controller wakes up the target controller by sending a network management message to the target vehicle controller (hereinafter referred to as the target controller), and realizes data communication between the source controller and the target controller by sending an application message to the target controller.
[0004] Usually, the target controller can only wake up and start working after a preset time period (such as 100ms) after detecting the network management message sent by the source controller. The source controller generally sends an application message immediately after sending the network management message to the target controller. It is easy for the target controller to be still in sleep mode after the application message is transmitted to the target controller. As a result, the target controller cannot receive the application message sent by the source controller, resulting in the loss of application message. The application message contains many functional signals, which may cause certain functions to be unable to be implemented. For example, the loss of door lock unlocking signal will cause the door to be unable to open; the loss of safety-related signals (such as brake signals) will affect driving safety, etc. Summary of the invention
[0005] In view of this, the present invention discloses a network communication method, device and vehicle to solve the problem that the target controller is in sleep mode and cannot receive the application message sent by the source controller, resulting in the loss of application message and affecting the safe driving of the vehicle.
[0006] A network communication method is applied to a vehicle controller, wherein the vehicle controller is a target controller, and the network communication method comprises:
[0007] Acquire a first network management message sent to the CAN network when the source controller is in an awake state;
[0008] Entering a duplicate message state based on the first network management message;
[0009] Generate a second network management message, and send the second network management message to the CAN network;
[0010] An application message sent by the source controller is received, wherein the application message is sent after the source controller obtains the second network management message from the CAN network.
[0011] Optionally, the entering into a duplicate message state based on the first network management message includes:
[0012] When the target controller is in the duplicate message state, the duplicate message state is maintained unchanged based on the first network management message.
[0013] Optionally, the entering into a duplicate message state based on the first network management message includes:
[0014] When the target controller is in a preset state, obtaining a repeated message state request instruction in the first network management message;
[0015] Based on the repeat message state request instruction, entering the repeat message state from the preset state;
[0016] The preset state is a normal working state or a sleep preparation state.
[0017] Optionally, the entering into a duplicate message state based on the first network management message includes:
[0018] When the target controller is in a preset mode, receiving the first network management message is used as a trigger condition to enter the repeated message state from the preset mode;
[0019] Wherein, the preset mode is a sleep mode or a pre-sleep mode.
[0020] A network communication method is applied to a vehicle controller, wherein the vehicle controller is a source controller, and the network communication method comprises:
[0021] When the source controller is in the awake state, sending a first network management message to the CAN network;
[0022] When a second network management message sent by the target controller is monitored from the CAN network, the second network management message is acquired, wherein the second network management message is generated after the target controller enters a repeated message state based on the first network management message;
[0023] An application message is sent to the target controller.
[0024] A network communication device is applied to a vehicle controller, wherein the vehicle controller is a target controller, and the network communication device comprises:
[0025] A first message acquisition unit, used for acquiring a first network management message sent to the CAN network when the source controller is in an awake state;
[0026] A duplicate message state entering unit, used to enter a duplicate message state based on the first network management message;
[0027] A message generating unit, configured to generate a second network management message, and send the second network management message to the CAN network;
[0028] A receiving unit is used to receive an application message sent by the source controller, wherein the application message is sent after the source controller obtains the second network management message from the CAN network.
[0029] Optionally, the duplicate message state entering unit includes:
[0030] an instruction acquisition subunit, configured to acquire a repeat message state request instruction in the first network management message when the target controller is in a preset state;
[0031] a first repeated message state entering subunit, configured to enter the repeated message state from the preset state based on the repeated message state request instruction;
[0032] The preset state is a normal working state or a sleep preparation state.
[0033] Optionally, the duplicate message state entering unit includes:
[0034] a second repeated message state entering subunit, configured to, when the target controller is in a preset mode, enter the repeated message state from the preset mode with the receipt of the first network management message as a trigger condition;
[0035] Wherein, the preset mode is a sleep mode or a pre-sleep mode.
[0036] A network communication device is applied to a vehicle controller, wherein the vehicle controller is a source controller, and the network communication device comprises:
[0037] A first message sending unit, configured to send a first network management message to the CAN network when the source controller is in an awake state;
[0038] A second message acquisition unit, configured to acquire a second network management message sent by a target controller when a second network management message is monitored from the CAN network, wherein the second network management message is generated after the target controller enters a repeated message state based on the first network management message;
[0039] The second message sending unit is used to send an application message to the target controller.
[0040] A vehicle includes a vehicle controller, wherein the vehicle controller includes the network communication device described above.
[0041] From the above technical solution, it can be known that the present invention discloses a network communication method, device and vehicle, the target controller obtains the first network management message sent to the CAN network when the source controller is in the awake state, and enters the repeated message state based on the first network management message, the target controller generates a second network management message, and sends the second network management message to the CAN network, when the source controller obtains the second network management message sent by the target controller from the CAN network, the source controller determines that the target controller is in the awake state, at this time, the source controller sends an application message to the target controller, so as to ensure that the target controller can receive the application message normally. Therefore, the present invention effectively avoids the impact of the vehicle such as safe driving caused by the loss of the application message. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the disclosed drawings without paying creative work.
[0043] Figure 1 A flow chart of a network communication method disclosed in an embodiment of the present invention;
[0044] Figure 2 A flow chart of another network communication method disclosed in an embodiment of the present invention;
[0045] Figure 3 A network communication timing diagram disclosed in an embodiment of the present invention;
[0046] Figure 4 A schematic diagram of the structure of a network communication device disclosed in an embodiment of the present invention;
[0047] Figure 5 A schematic diagram of the structure of another network communication device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] The embodiment of the present invention discloses a network communication method, device and vehicle, wherein the target controller obtains the first network management message sent to the CAN network when the source controller is in the awake state, and enters the repeated message state based on the first network management message, the target controller generates the second network management message, and sends the second network management message to the CAN network, when the source controller obtains the second network management message sent by the target controller from the CAN network, the source controller determines that the target controller is in the awake state, at this time, the source controller sends the application message to the target controller, so as to ensure that the target controller can normally receive the application message. Therefore, the present invention effectively avoids the impact of the vehicle such as safe driving caused by the loss of the application message.
[0050] See also Figure 1 , a flow chart of a network communication method disclosed in an embodiment of the present invention, the method is applied to a vehicle controller, the vehicle controller is a target controller, and the network communication method includes the following steps S101 to S104.
[0051] In step S101, a first network management message sent to a CAN network when the source controller is in an awake state is acquired.
[0052] In practical applications, the first network management message includes the source controller identifier that sends the first network management message, so that the target controller receiving the first network management message determines the source controller that sends the first network management message according to the source controller identifier.
[0053] It should be noted that the source controller in this embodiment is also a vehicle controller.
[0054] In step S102, a repeated message state is entered based on the first network management message.
[0055] After acquiring the first network management message sent by the source controller to the CAN network, the target controller will enter the repeated message state. In the repeated message state, the target controller can send and receive network management messages.
[0056] In step S103, a second network management message is generated and sent to the CAN network.
[0057] When the target controller enters the repeated message state, the target controller generates a second network management message. The second network management message has an identifier different from that of the first network management message, and the second network management message includes a target controller identifier.
[0058] In step S104, an application message sent by the source controller is received.
[0059] The application message is sent after the source controller obtains the second network management message from the CAN network.
[0060] When the source controller receives the second network management message sent by the target controller, the source controller determines that the target controller is in the awake state. At this time, the source controller sends an application message to the target controller again, thereby ensuring that the target controller can receive the application message normally, effectively avoiding the impact of the loss of application messages on the vehicle, such as safe driving.
[0061] It should be noted that the vehicle network in the present invention mainly adopts AUTOSAR (AUTomotive OpenSystem Architecture) network management. The vehicle controller will send a network management message under a preset state, and the network management message can realize the function of waking up the CAN network and declaring the status of the vehicle controller. The network management message contains the vehicle controller status information and the information used to control the status of other vehicle controllers.
[0062] AUTOSAR includes sleep mode, pre-sleep mode, repeated message state, normal working state and ready-to-sleep state. Sleep mode is a dormant state. In sleep mode, the vehicle controller does not work, cannot receive and send application messages, cannot send network management messages, can receive network management messages, and is awakened to enter other states. Repeated message state, normal working state and ready-to-sleep state are collectively referred to as network mode. In network mode, the vehicle controller can normally receive, process and send application messages. In the repeated message state and normal working state, the vehicle controller can send and receive network management messages, but there are differences in the data contained in the sent network management messages. In the ready-to-sleep state, the vehicle controller does not send network management messages, and can stay in this state when receiving network management messages. In the pre-sleep mode, the vehicle controller stops sending application messages, but can receive network management messages and is awakened to the repeated message state.
[0063] To further optimize the above embodiment, step S102 may specifically include:
[0064] When the target controller is in a duplicate message state, the duplicate message state is maintained unchanged based on the first network management message.
[0065] In this embodiment, when the target controller is in a repeated message state, the target controller will send a second network management message to the CAN network. After the source controller receives the second network management message from the CAN network, it determines that the target controller is in an awake state. At this time, the source controller will send an application message to the target controller.
[0066] To further optimize the above embodiment, step S102 may specifically include:
[0067] When the target controller is in a preset state, obtaining a repeated message state request instruction in the first network management message;
[0068] Based on the repeat message state request instruction, entering the repeat message state from the preset state;
[0069] The preset state is a normal working state or a sleep preparation state.
[0070] In the present invention, the first network management message includes a repeat message state request instruction. The repeat message state request instruction is RepeatMessageRequest=1, and RepeatMessageRequest is one of the command information for controlling the state of other vehicle controllers, and is used to control the vehicle controller to enter the repeat message state from the sleep preparation state and the normal working state.
[0071] To further optimize the above embodiment, step S102 may specifically include:
[0072] When the target controller is in the preset mode, receiving the first network management message is used as a trigger condition to enter the repeated message state from the preset mode;
[0073] The preset mode is a sleep mode or a pre-sleep mode.
[0074] In this embodiment, the process of the target controller entering the repeated message state from the sleep mode is, that is, the process of the target controller being remotely awakened by the network management message.
[0075] It should be noted that when the target controller is in the preset mode, as long as the target controller receives the first network management message, it can enter the repeated message state from the preset mode, regardless of the content contained in the first network management message.
[0076] The reason for adding a repeat message status request instruction in the first network management message in the present invention is that when the source controller sends the first network management message to the target controller, it does not know the state or mode of the target controller. When the target controller is in a normal working state or preparing to sleep, the target controller can only enter the repeat message state according to the repeat message status request instruction. Therefore, in order to ensure that no matter what state or mode the target controller is in, it can enter the repeat message state when receiving the first network management message, the present invention adds a repeat message status request instruction in the first network management message.
[0077] Corresponding to the above embodiment, see Figure 2 The present invention also discloses another flow chart of a network communication method, which is applied to a vehicle controller, where the vehicle controller is a source controller, and the network communication method includes the following steps S201 to S203.
[0078] In step S201, when the source controller is in the awake state, a first network management message is sent to the CAN network.
[0079] The source controller in this embodiment is also a vehicle controller. The source controller has three wake-up modes in sleep mode, including: power wake-up, local wake-up and network management message remote wake-up. The three wake-up modes are specifically referred to the corresponding parts of the above embodiments and will not be repeated here.
[0080] The first network management message includes a duplicate message status request instruction.
[0081] In practical applications, the first network management message includes the source controller identifier that sends the first network management message, so that the target controller receiving the first network management message determines the source controller that sends the first network management message according to the source controller identifier.
[0082] In step S202, when a second network management message sent by the target controller is monitored from the CAN network, the second network management message is acquired.
[0083] Among them, the second network management message is generated after the target controller enters the duplicate message state based on the first network management message. The identifiers of the second network management message and the first network management message are different. In addition to the duplicate message status request instruction, the first network management message also includes the source controller identifier that sends the first network management message. The second network management message includes the target controller identifier.
[0084] In step S203, an application message is sent to the target controller.
[0085] In summary, the present invention discloses a network communication method. When the source controller is in the awake state, the source controller sends the first network management message to the CAN network. After the target controller obtains the first network management message from the CAN, it enters the repeated message state based on the first network management message and generates the second network management message. The target controller sends the second network management message to the CAN network. When the source controller obtains the second network management message sent by the target controller from the CAN network, the source controller determines that the target controller is in the awake state. At this time, the source controller sends the application message to the target controller again, thereby ensuring that the target controller can normally receive the application message. Therefore, the present invention effectively avoids the impact of the vehicle such as safe driving caused by the loss of the application message.
[0086] To facilitate understanding of the communication process between the source controller and the target controller in the present invention, the present invention also provides Figure 3 The network communication timing diagram shown in the figure, the entire communication process is as follows:
[0087] The source controller is awakened, and the source controller sends a first network management message to the CAN network;
[0088] The target controller obtains a first network management message from the CAN network, and enters a repeated message state based on the first network management message;
[0089] The target controller generates a second network management message, and sends the second network management message to the CAN network;
[0090] When the source controller detects the second network management message sent by the target controller from the CAN network, the source controller obtains the second network management message;
[0091] The source controller sends an application message to the target controller, and the target controller receives the application message normally.
[0092] Corresponding to the above method embodiment, the present invention also discloses a network communication device.
[0093] See also Figure 4 , a schematic diagram of the structure of a network communication device disclosed in an embodiment of the present invention, the device is applied to a vehicle controller, the vehicle controller is a target controller, and the network communication device includes: a first message acquisition unit 301, a repeated message state entry unit 302, a message generation unit 303 and a receiving unit 304.
[0094] The first message acquisition unit 301 is used to acquire a first network management message sent to the CAN network when the source controller is in the awake state.
[0095] In practical applications, the first network management message includes the source controller identifier that sends the first network management message, so that the target controller receiving the first network management message determines the source controller that sends the first network management message according to the source controller identifier.
[0096] It should be noted that the source controller in this embodiment is also a vehicle controller.
[0097] The duplicate message state entering unit 302 is configured to enter a duplicate message state based on the first network management message.
[0098] After acquiring the first network management message sent by the source controller to the CAN network, the target controller will enter the repeated message state. In the repeated message state, the target controller can send and receive network management messages.
[0099] The message generation unit 303 is used to generate a second network management message and send the second network management message to the CAN network, wherein the identifiers of the second network management message and the first network management message are different.
[0100] When the target controller enters the repeated message state, the target controller generates a second network management message. The second network management message has an identifier different from that of the first network management message, and the second network management message includes a target controller identifier.
[0101] The receiving unit 304 is used to receive an application message sent by the source controller. The application message is sent after the source controller obtains the second network management message from the CAN network.
[0102] After the source controller receives the second network management message sent by the target controller, the source controller determines that the target controller is in the awake state. At this time, the source controller sends an application message to the target controller to ensure that the target controller can normally receive the application message.
[0103] In summary, the present invention discloses a network communication device, in which a target controller obtains a first network management message sent to a CAN network when a source controller is in an awake state, and enters a repeated message state based on the first network management message, and the target controller generates a second network management message and sends the second network management message to the CAN network. When the source controller obtains the second network management message sent by the target controller from the CAN network, the source controller determines that the target controller is in an awake state. At this time, the source controller sends an application message to the target controller again, thereby ensuring that the target controller can normally receive the application message. Therefore, the present invention effectively avoids the impact on vehicle safety caused by the loss of application messages.
[0104] To further optimize the above embodiment, the duplicate message state entering unit 302 includes:
[0105] The duplicate message state maintaining subunit is used to maintain the duplicate message state unchanged based on the first network management message when the target controller is in the duplicate message state.
[0106] In this embodiment, when the target controller is in a repeated message state, the target controller will send a second network management message to the CAN network. After the source controller receives the second network management message from the CAN network, it determines that the target controller is in an awake state. At this time, the source controller will send an application message to the target controller.
[0107] To further optimize the above embodiment, the repeated message state entering unit 302 includes: an instruction obtaining subunit and a first repeated message state entering subunit.
[0108] The instruction acquisition subunit is used to acquire the repeat message state request instruction in the first network management message when the target controller is in a preset state.
[0109] The first repeat message state entering subunit is used to enter the repeat message state from a preset state based on the repeat message state request instruction.
[0110] The preset state is a normal working state or a sleep preparation state.
[0111] In the present invention, the first network management message includes a repeat message state request instruction. The repeat message state request instruction is RepeatMessageRequest=1, and RepeatMessageRequest is one of the command information for controlling the state of other vehicle controllers, and is used to control the vehicle controller to enter the repeat message state from the sleep preparation state and the normal working state.
[0112] To further optimize the above embodiment, the duplicate message state entering unit 302 includes:
[0113] The second repeated message state entering subunit is used to enter the repeated message state from the preset mode when the target controller is in the preset mode and take the reception of the first network management message as a trigger condition.
[0114] The preset mode is a sleep mode or a pre-sleep mode.
[0115] In this embodiment, the process of the target controller entering the repeated message state from the sleep mode is, that is, the process of the target controller being remotely awakened by the network management message.
[0116] It should be noted that when the target controller is in the preset mode, as long as the target controller receives the first network management message, it can enter the repeated message state from the preset mode, regardless of the content contained in the first network management message.
[0117] The reason for adding a repeat message status request instruction in the first network management message in the present invention is that when the source controller sends the first network management message to the target controller, it does not know the state or mode of the target controller. When the target controller is in a normal working state or preparing to sleep, the target controller can only enter the repeat message state according to the repeat message status request instruction. Therefore, in order to ensure that no matter what state or mode the target controller is in, it can enter the repeat message state when receiving the first network management message, the present invention adds a repeat message status request instruction in the first network management message.
[0118] Corresponding to the above embodiment, see Figure 5 , a schematic diagram of the structure of a network communication device disclosed in an embodiment of the present invention, the device is applied to a vehicle controller, the vehicle controller is a source controller, and the network communication device includes: a first message sending unit 401, a second message acquiring unit 402 and a second message sending unit 403.
[0119] The first message sending unit 401 is used to send a first network management message to the CAN network when the source controller is in the awake state.
[0120] The target controller in this embodiment is also a vehicle controller.
[0121] The source controller has three wake-up modes in sleep mode, including: power wake-up, local wake-up and remote wake-up via network management message. The three wake-up modes are detailed in the corresponding parts of the above embodiments and will not be described again here.
[0122] The first network management message includes a duplicate message status request instruction.
[0123] In practical applications, the first network management message includes the source controller identifier that sends the first network management message, so that the target controller receiving the first network management message determines the source controller that sends the first network management message according to the source controller identifier.
[0124] The second message acquisition unit 402 is used to acquire the second network management message when a second network management message sent by the target controller is monitored from the CAN network.
[0125] The second network management message is generated after the target controller enters the duplicate message state based on the first network management message, and the identifiers of the second network management message and the first network management message are different. In addition to the duplicate message state request instruction, the first network management message also includes the source controller identifier that sent the first network management message, and the second network management message includes the target controller identifier.
[0126] The second message sending unit 403 is used to send an application message to a target controller.
[0127] In summary, the present invention discloses a network communication device. When the source controller is in the awake state, the source controller sends the first network management message to the CAN network. After the target controller obtains the first network management message from the CAN, it enters the repeated message state based on the first network management message and generates the second network management message. The target controller sends the second network management message to the CAN network. When the source controller obtains the second network management message sent by the target controller from the CAN network, the source controller determines that the target controller is in the awake state. At this time, the source controller sends the application message to the target controller again, thereby ensuring that the target controller can normally receive the application message. Therefore, the present invention effectively avoids the impact of the vehicle such as safe driving caused by the loss of the application message.
[0128] It should be noted that the specific working principles of each component in the device embodiment can be found in the corresponding part of the method embodiment, which will not be repeated here.
[0129] The present invention also discloses a vehicle, which includes a vehicle controller, and the vehicle controller includes the network communication device in the above embodiment. The process of the vehicle performing network communication can refer to the corresponding part of the above embodiment, which will not be repeated here.
[0130] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0131] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A network communication method, characterized in that: Applied to a vehicle controller, the vehicle controller being a target controller, the network communication method comprises: Acquire a first network management message sent to the CAN network when the source controller is in an awake state, wherein the first network management message includes an identifier of the source controller that sends the first network management message; Entering a duplicate message state based on the first network management message; Generate a second network management message, and send the second network management message to the CAN network, wherein the second network management message includes a target controller identifier for identifying the target controller; An application message sent by the source controller is received, wherein the application message is sent after the source controller obtains the second network management message from the CAN network.
2. The network communication method according to claim 1, characterized in that: The entering into a duplicate message state based on the first network management message includes: When the target controller is in the duplicate message state, the duplicate message state is maintained unchanged based on the first network management message.
3. The network communication method according to claim 1, characterized in that: The entering into a duplicate message state based on the first network management message includes: When the target controller is in a preset state, obtaining a repeated message state request instruction in the first network management message; Based on the repeat message state request instruction, entering the repeat message state from the preset state; The preset state is a normal working state or a sleep preparation state.
4. The network communication method according to claim 1, characterized in that: The entering into a duplicate message state based on the first network management message includes: When the target controller is in a preset mode, receiving the first network management message is used as a trigger condition to enter the repeated message state from the preset mode; Wherein, the preset mode is a sleep mode or a pre-sleep mode.
5. A network communication method, characterized in that: Applied to a vehicle controller, the vehicle controller being a source controller, the network communication method comprises: When the source controller is in the awake state, sending a first network management message to the CAN network, wherein the first network management message includes an identifier of the source controller that sends the first network management message; When a second network management message sent by the target controller is monitored from the CAN network, the second network management message is acquired, wherein the second network management message is generated after the target controller enters a repeated message state based on the first network management message, and the second network management message contains a target controller identifier for identifying the target controller; An application message is sent to the target controller.
6. A network communication device, characterized in that: Applied to a vehicle controller, the vehicle controller is a target controller, and the network communication device includes: A first message acquisition unit, used to acquire a first network management message sent to the CAN network when the source controller is in an awake state, wherein the first network management message includes an identifier of the source controller that sends the first network management message; A duplicate message state entering unit, used to enter a duplicate message state based on the first network management message; A message generating unit, used for generating a second network management message, and sending the second network management message to the CAN network, wherein the second network management message includes a target controller identifier for identifying the target controller; A receiving unit is used to receive an application message sent by the source controller, wherein the application message is sent after the source controller obtains the second network management message from the CAN network.
7. The network communication device according to claim 6, characterized in that: The repeated message state entering unit comprises: an instruction acquisition subunit, configured to acquire a repeat message state request instruction in the first network management message when the target controller is in a preset state; a first repeated message state entering subunit, configured to enter the repeated message state from the preset state based on the repeated message state request instruction; The preset state is a normal working state or a sleep preparation state.
8. The network communication device according to claim 6, characterized in that: The repeated message state entering unit comprises: a second repeated message state entry subunit, configured to, when the target controller is in a preset mode, enter the repeated message state from the preset mode with the receipt of the first network management message as a trigger condition; Wherein, the preset mode is a sleep mode or a pre-sleep mode.
9. A network communication device, characterized in that: Applied to a vehicle controller, the vehicle controller is a source controller, and the network communication device includes: A first message sending unit, configured to send a first network management message to the CAN network when the source controller is in an awake state, wherein the first network management message includes an identifier of the source controller that sends the first network management message; A second message acquisition unit is used to acquire a second network management message sent by a target controller when a second network management message is monitored from the CAN network, wherein the second network management message is generated after the target controller enters a repeated message state based on the first network management message, and the second network management message contains a target controller identifier for identifying the target controller; The second message sending unit is used to send an application message to the target controller.
10. A vehicle, characterized in that: It includes a vehicle controller, and the vehicle controller includes the network communication device described in any one of claims 6 to 9.
Citation Information
Patent Citations
Power controller area network (CAN) control method
CN102231705A
State control method and device for multipath bus network, and network management system
CN107465588A
Local dormancy / wake-up method and system of CAN bus
CN109144029A
Local dormancy awakening method for CAN bus star network management architecture scheme
CN109327372A
Electric vehicle controller CAN network management method and system
CN111532227A
