Vehicle Control Method, Device, Medium, and Electronic Device

By using the coordinated work of the active wake-up node and the gateway node in vehicle control, the wake-up message and event execution message are generated and forwarded, the problem of unstable event execution in vehicle sleep mode is solved, and the stability of vehicle control is improved.

CN115257591BActive Publication Date: 2025-07-29DONGFENG MOTOR GRP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210863142.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-20
Publication Date
2025-07-29
Estimated Expiration
2042-07-20

AI Technical Summary

Technical Problem

In a vehicle control scenario, when the vehicle is in sleep mode, the event execution instructions may not be responded by the control node, resulting in a long suspend or failure in execution, affecting the stability of the vehicle control.

Method used

The active wake-up node generates a wake-up message, forwards it to the target passive wake-up node through the gateway node, and generates an event execution message after receiving the status message, triggering the passive wake-up node execution event.

Benefits of technology

Improve the stability of vehicle control, avoid the situation where event execution instructions are suspended or failed for a long time, and ensure the reliability of vehicle control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115257591B_ABST
    Figure CN115257591B_ABST
Patent Text Reader

Abstract

The present application relates to the field of vehicle control technology, and discloses a vehicle control method, device, medium and electronic device. The vehicle includes an active wake-up node, a gateway node, and at least one passive wake-up node. The method is executed on the active wake-up node, and the method includes: generating a wake-up message in response to receiving an event execution signal sent by an event wake-up source; forwarding the wake-up message to a target passive wake-up node through the gateway node to wake up the target passive wake-up node; if a status message fed back by the target passive wake-up node and forwarded by the gateway node is received within a first preset time, generating an event execution message based on the event execution signal; and forwarding the event execution message to the target passive wake-up node through the gateway node to trigger the target passive wake-up node to execute an event corresponding to the event execution signal. The present application can improve the stability of vehicle control.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In a vehicle control scenario, for example, in a scenario where an event execution is controlled by a vehicle control node, an event execution instruction is usually sent to the control node for executing the event. However, when the vehicle is in a sleep mode, after the event execution instruction is sent to the control node, the control node may not respond, resulting in the event execution instruction being suspended for a long time or the event execution failing, which affects the stability of vehicle control. Based on this, how to improve the stability of vehicle control is a technical problem to be solved urgently. Summary of the Invention

[0003] The purpose of the present application is to provide a vehicle control method, device, medium and electronic device. The present application can improve the stability of vehicle control.

[0004] Other features and advantages of the present application will become apparent through the following detailed description, or be learned in part through the practice of the present application.

[0005] According to an aspect of an embodiment of the present application, a vehicle control method is provided. The vehicle includes an active wake-up node, a gateway node, and at least one passive wake-up node. The method is executed on the active wake-up node and includes: in response to receiving an event execution signal sent by an event wake-up source, generating a wake-up message; forwarding the wake-up message to a target passive wake-up node through the gateway node to wake up the target passive wake-up node; if a status message fed back by the target passive wake-up node and forwarded by the gateway node is received within a first preset time, generating an event execution message based on the event execution signal; and forwarding the event execution message to the target passive wake-up node through the gateway node to trigger the target passive wake-up node to execute an event corresponding to the event execution signal.

[0006] In an embodiment of the present application, based on the foregoing solution, when the control mode of the vehicle is the global network management mode, forwarding the wake-up message to the target passive wake-up node through the gateway node includes: sending the wake-up message to the gateway node to wake up the gateway node, and after the gateway node is woken up, forwarding the wake-up message to each passive wake-up node of the vehicle, where the target passive wake-up node is included in each passive wake-up node.

[0007] In one embodiment of the present application, based on the foregoing solution, when the control mode of the vehicle is the local network management mode, forwarding the wake-up message to the target passive wake-up node through the gateway node includes: sending the wake-up message to the gateway node to wake up the gateway node; after the gateway node is woken up, sending event information corresponding to the event execution signal to the gateway node, and the gateway node determines a target passive wake-up node associated with the event information from each passive wake-up node and forwards the wake-up message to the target passive wake-up node.

[0008] In one embodiment of the present application, based on the foregoing solution, when the control mode of the vehicle is the non-network management mode, forwarding the wake-up message to the target passive wake-up node through the gateway node includes: sending the wake-up message to the gateway node to wake up the gateway node, and after the gateway node is woken up, sending an application message to the active wake-up node; after receiving the application message sent by the gateway node, sending event information corresponding to the event execution signal to the gateway node, and the gateway node determines a target passive wake-up node associated with the event information from each passive wake-up node and forwards the wake-up message to the target passive wake-up node.

[0009] In one embodiment of the present application, based on the foregoing solution, after forwarding the wake-up message to the target passive wake-up node through the gateway node, the method further includes: starting a first timer, where the first timer is used to record the time of waiting to receive a status message fed back by the target passive wake-up node and forwarded by the gateway node.

[0010] In one embodiment of the present application, based on the foregoing solution, before generating an event execution message based on the event execution signal, the method further includes: determining whether the target passive wake-up node or the vehicle is in a normal state through the status message; if the target passive wake-up node or the vehicle is in an abnormal state, recording first feedback information indicating that the target passive wake-up node or the vehicle is in an abnormal state and sending the first feedback information to the event wake-up source.

[0011] In one embodiment of the present application, based on the foregoing solution, the method further includes: if the status message fed back by the target passive wake-up node and forwarded by the gateway node is not received within a first preset time, recording second feedback information indicating a communication failure with the target passive wake-up node and sending the second feedback information to the event wake-up source.

[0012] In one embodiment of the present application, based on the foregoing solution, after the event execution message is forwarded to the target passive wake-up node by the gateway node, the method further includes: starting a second timer, where the second timer is used to record the time of waiting to receive the response message forwarded by the gateway node and feedback by the target passive wake-up node; if the response message forwarded by the gateway node and feedback by the target passive wake-up node is received within a second preset time, it indicates that the event execution is completed, and each node is triggered to switch to the sleep state.

[0013] In one embodiment of the present application, based on the foregoing solution, the method further includes: if the response message forwarded by the gateway node and feedback by the target passive wake-up node is not received within a second preset time, record the third feedback information indicating the failure of the event execution, and send the third feedback information to the event wake-up source.

[0014] According to one aspect of the embodiments of the present application, a vehicle control device is provided. The vehicle includes an active wake-up node, a gateway node, and at least one passive wake-up node. The device is disposed on the active wake-up node and includes: a first generation unit configured to generate a wake-up message in response to receiving an event execution signal sent by an event wake-up source; a first forwarding unit configured to forward the wake-up message to a target passive wake-up node through the gateway node to wake up the target passive wake-up node; a second generation unit configured to generate an event execution message based on the event execution signal if a status message forwarded by the gateway node and feedback by the target passive wake-up node is received within a first preset time; a second forwarding unit configured to forward the event execution message to the target passive wake-up node through the gateway node to trigger the target passive wake-up node to execute an event corresponding to the event execution signal.

[0015] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the vehicle control method as described in the foregoing embodiments.

[0016] According to one aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. The computer program includes executable instructions, and when the executable instructions are executed by a processor, the vehicle control method as described in the foregoing embodiments is implemented.

[0017] According to one aspect of the embodiments of the present application, an electronic device is provided, including: one or more processors; a memory for storing executable instructions of the processors, and when the executable instructions are executed by the one or more processors, the one or more processors are caused to implement the vehicle control method as described in the above embodiments.

[0018] In the technical solution of the embodiments of the present application, before sending an event execution message to a target passive wake-up node, a wake-up message is first forwarded to the target passive wake-up node through a gateway node to wake up the passive wake-up node. After receiving the status message fed back by the target passive wake-up node and forwarded by the gateway node, it indicates that the passive wake-up node is woken up and has the ability to receive the event execution message and process events. At this time, the event execution message is sent to the target passive wake-up node to trigger the passive wake-up node to execute the corresponding event, which can avoid the situation that the event execution message (i.e., the event execution instruction) is suspended for a long time or the event execution fails, and can greatly improve the stability of vehicle control.

[0019] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts. In the drawings:

[0021] Figure 1 is a schematic structural diagram of a vehicle control network shown according to an embodiment of the present application;

[0022] Figure 2 is a flowchart of a vehicle control method shown according to an embodiment of the present application;

[0023] Figure 3 is a flowchart of a method before generating an event execution message based on the event execution signal shown according to an embodiment of the present application;

[0024] Figure 4 is a flowchart of a method after forwarding the event execution message to the target passive wake-up node through the gateway node shown according to an embodiment of the present application;

[0025] Figure 5 is an overall flowchart of a vehicle control method shown according to an embodiment of the present application;

[0026] Figure 6 Block diagram of a vehicle control device according to an embodiment of the present application;

[0027] Figure 7 Schematic diagram of the system structure of an electronic device according to an embodiment of the present application. Detailed implementation manners

[0028] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more complete and comprehensive, and will fully convey the concept of the example embodiments to those skilled in the art.

[0029] In addition, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of the present application. However, those skilled in the art will realize that the technical solutions of the present application can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be used. In other cases, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the present application.

[0030] The block diagrams shown in the drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or micro-control node devices.

[0031] The flowcharts shown in the drawings are only illustrative and do not necessarily include all the content and operations / steps, nor are they necessarily executed in the described order. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to the actual situation.

[0032] It should be noted that: "a plurality" as mentioned herein refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0033] The implementation details of the technical solutions of the embodiments of the present application are elaborated in detail as follows:

[0034] First of all, it should be noted that the vehicle control solution proposed in this application can be applied to the control scenario of the vehicle in the sleep mode. For example, when the vehicle is in the sleep mode, the windows are remotely controlled. During this control process, before the control node A (i.e., the active wake-up node) sends the event execution message for controlling the windows to the control node B (i.e., the target passive wake-up node or the target control node), it first forwards the wake-up message to the control node B through the gateway node. After waking up the control node B, it then forwards the event execution message to the control node B through the gateway node. After receiving the event execution message, the control node B controls the windows by controlling the relevant execution devices. In this way, it can be avoided that when directly sending to the control node B, the control node B cannot receive the event execution message because it is in the sleep mode and has not been woken up.

[0035] To enable those skilled in the art to better understand the vehicle control network involved in the technical solution of this application, the following will be combined with Figure 1 to briefly describe this vehicle control network.

[0036] See Figure 1 , which is a schematic structural diagram of the vehicle control network shown according to the embodiments of this application.

[0037] In this application, there are multiple network segments in the vehicle, and there is one or more control nodes under each network segment. When the entire vehicle is in the sleep mode, it means that each network segment and the control nodes under each network segment are also in the sleep mode. When it is necessary to control the vehicle to execute an event, the instruction for executing this event can be sent to a certain control node, and this control node then sends the instruction for executing this event to other control nodes that control the execution of this event in the form of a message, so that other control nodes control the execution of this event. For example, as Figure 1 , when the control node A101 in the vehicle 100 receives the instruction for executing the event, it forwards the instruction for executing this event to the control node B103 in the form of a message through the gateway node 102, so that the control node B103 controls the execution of this event.

[0038] It should be noted here that in this application, any control node in the vehicle can be used as the control node that directly receives (i.e., receives for the first time) the instruction for executing the event.

[0039] The following will elaborate in detail on the vehicle control solution proposed in this application.

[0040] First of all, this application provides a vehicle control method. The vehicle includes an active wake-up node (i.e., Figure 1 the control node A shown in Figure 1Other control nodes except the control node A, such as control node B). Among them, the method can be executed on the active wake-up node. Figure 2 It is a flowchart of a vehicle control method shown according to an embodiment of the present application. The vehicle control method can be executed by a device with computing and processing functions. The vehicle control method at least includes steps 210 to 270, which are introduced in detail as follows:

[0041] In step 210, in response to receiving an event execution signal sent by an event wake-up source, a wake-up message is generated.

[0042] In the application, the active wake-up node can be any one of the control nodes in each network segment of the vehicle. For example, it can be a T-BOX device in the vehicle. The passive wake-up node can also be any one of the control nodes in each network segment of the vehicle. For example, it can be a BCM device (i.e., body control device) in the vehicle. The gateway node can be a CGW device (i.e., central gateway). The network segment can be CAN (i.e., control node area network).

[0043] In the present application, receiving an event execution signal sent by an event wake-up source, for example, can be in the form of an ECU hard-wired sensor signal, a Bluetooth signal, a text message, a background message, an internal timer, etc.

[0044] In the present application, after the active wake-up node receives an event execution signal sent by an event wake-up source, it is woken up by the event execution signal, completes the initialization of its own control node, stores the event, and generates a wake-up message.

[0045] Continue to refer to Figure 2 In step 230, the wake-up message is forwarded to the target passive wake-up node through the gateway node to wake up the target passive wake-up node.

[0046] After generating the wake-up message, the active wake-up node can send the wake-up message to the gateway node. After receiving the wake-up message, the gateway node is woken up by the wake-up message, completes its own initialization, and then sends the wake-up message to the corresponding network segment to wake up the network segment, and further wakes up the target passive wake-up node in the network segment.

[0047] Under normal circumstances, after the target passive wake-up node is woken up, it will feedback a status message to the active wake-up node through the gateway node. The status message can be used to inform the active wake-up node of the status data of the woken-up node and the status data of the vehicle. At the same time, the role of the status message is also to notify the active wake-up node that the target passive wake-up node has been woken up and has the ability to normally receive event execution messages.

[0048] Continue to refer to Figure 2, in step 250, if a status message fed back by the target passive wake-up node and forwarded by the gateway node is received within the first preset time, an event execution message is generated based on the event execution signal.

[0049] In this application, if the active wake-up node receives a status message fed back by the target passive wake-up node within the first preset time, it indicates that the target passive wake-up node has been woken up and has the ability to normally receive event execution messages. At this time, the active wake-up node can generate an event execution message based on the event execution signal to send the event execution message to the target passive wake-up node in the follow-up.

[0050] Continue to refer to Figure 2 , in step 270, the event execution message is forwarded to the target passive wake-up node through the gateway node to trigger the target passive wake-up node to execute an event corresponding to the event execution signal.

[0051] In this application, after the active wake-up node generates an event execution message, it sends the event execution message to the gateway node so that the gateway node forwards the event execution message to the target passive wake-up node to trigger the target passive wake-up node to execute an event corresponding to the event execution signal.

[0052] In this application, it should be noted that the active wake-up node in this application is not only applicable to cross-network segment message transmission but also applicable to message transmission within the network segment where the active wake-up node is located, that is, the active wake-up node directly transmits the message to the woken-up node within the network segment where the active wake-up node is located.

[0053] In as Figure 2 shown in step 230, that is, after the wake-up message is forwarded to the target passive wake-up node through the gateway node, the following step 241 can also be executed:

[0054] Step 241, start a first timer, and the first timer is used to record the time of waiting to receive a status message fed back by the target passive wake-up node and forwarded by the gateway node.

[0055] In as Figure 2 shown before step 250, that is, before generating an event execution message based on the event execution signal, the following steps as Figure 3 shown can also be executed:

[0056] Refer to Figure 3 , which is a flowchart of the method before generating an event execution message according to an embodiment of the present application. Specifically, it includes steps 242 to step 243:

[0057] Step 242: Determine whether the target passive wake-up node or the vehicle is in a normal state based on the status message.

[0058] Step 243: If the target passive wake-up node or the vehicle is in an abnormal state, record the first feedback information indicating that the target passive wake-up node or the vehicle is in an abnormal state, and send the first feedback information to the event wake-up source.

[0059] In an embodiment of the present application, if the status message forwarded by the gateway node from the target passive wake-up node is not received within the first preset time, record the second feedback information indicating a communication failure with the target passive wake-up node, and send the second feedback information to the event wake-up source.

[0060] In Figure 2 After step 270 as shown, that is, after forwarding the event execution message to the target passive wake-up node through the gateway node, the steps as shown in Figure 4 can also be executed.

[0061] Refer to Figure 4 , which is a flowchart of a method after forwarding the event execution message to the target passive wake-up node according to an embodiment of the present application. Specifically, it includes steps 281 to 282:

[0062] Step 281: Start a second timer, which is used to record the time of waiting to receive the response message forwarded by the gateway node from the target passive wake-up node.

[0063] Step 282: If the response message forwarded by the gateway node from the target passive wake-up node is received within the second preset time, it indicates that the event execution is completed, and trigger each node to switch to the sleep state.

[0064] In an embodiment of the present application, if the response message forwarded by the gateway node from the target passive wake-up node is not received within the second preset time, record the third feedback information indicating that the event execution fails, and send the third feedback information to the event wake-up source.

[0065] In the present application, it should also be noted that based on different vehicle control modes, the above vehicle control solutions may vary in details. In the present application, the vehicle control mode may specifically include a global network management mode, a local network management mode, and a non-network management mode.

[0066] Based on this, in order to enable those skilled in the art to better understand the present application, the following will be combined according to the scenarios of different vehicle control modesFigure 5 A further description is made for the above vehicle control solution. Refer to Figure 5 , which is the overall flowchart of the vehicle control method shown according to the embodiments of the present application. The overall flowchart includes the overall process 500 of the vehicle control method.

[0067] In the present application, it should be noted that the active wake-up node may correspond to the control node A as shown in Figure 5 , and the target passive wake-up node may correspond to the control node B as shown in Figure 5 .

[0068] In an embodiment of step 230 as shown in Figure 2 , when the control mode of the vehicle is the global network management mode, the forwarding of the wake-up message to the target passive wake-up node through the gateway node may include the following steps 231:

[0069] Step 231: Send the wake-up message to the gateway node to wake up the gateway node. After the gateway node is woken up, it forwards the wake-up message to each passive wake-up node of the vehicle, where each passive wake-up node includes the target passive wake-up node.

[0070] For example, referring to Figure 5 , when the control mode of the vehicle is the global network management mode, the control node A sends a wake-up message to wake up the nodes in its own network segment, and the control node A starts to start the first timer.

[0071] In the present application, the purpose of the first timer is that when the gateway node or the control node B fails and cannot wake up the target network segment (that is, cannot wake up the control node B), or cannot return the status message, after the first timer times out after the first preset time, it automatically exits the event request mode to avoid long-term waiting, resulting in excessive power consumption and software problems caused by long-term suspension of the application program process.

[0072] The gateway node is woken up by the wake-up message sent by the control node A. The gateway node completes its own initialization, opens the remaining network segments, and sends a wake-up message. The control nodes in other network segments (such as the control node B) are woken up by the wake-up message, complete their own initialization, and have the ability to receive and send messages.

[0073] After the control node B completes initialization, it sends the status message of the vehicle or itself, which is forwarded by the gateway node to the network segment where the control node A is located. In this step, it should be noted that if the vehicle status message required by the control node A is sent by the control node B, such as the door is closed, the vehicle is OFF, and the battery power is sufficient, etc., then the control node B can send the vehicle status message, which means that the control node B can send the vehicle status, proving that the control node B has completed initialization and has the ability to send and receive messages.

[0074] If the vehicle status message required for the control node A to judge is not sent by the control node B, then the control node B adds a signal to define its own entry into the normal working state, which is used for the control node A to identify that the control node B has the ability to receive and respond to events.

[0075] In this application, if the control node A determines through the status message that the control node B or the vehicle is in an abnormal state, it records the first feedback information that the control node B or the vehicle is in an abnormal state, and sends the first feedback information to the event wake-up source.

[0076] It should be noted that if the control node A does not receive the status message sent by the control node B and the first timer times out after the first preset time, it exits the event request state and the process ends (and records the second feedback information of the communication failure of the control node B and sends the second feedback information to the event wake-up source). If the control node A does not receive the status message sent by the control node B and the first timer does not time out, it continues to wait for the control node B to send a status message until the condition is met or the first timer times out after the first preset time.

[0077] In Figure 2 In an embodiment of step 230 as shown, when the control mode of the vehicle is the local network management mode, the forwarding of the wake-up message to the target passive wake-up node through the gateway node may include the following steps 232 to 233:

[0078] Step 232, send the wake-up message to the gateway node to wake up the gateway node.

[0079] Step 233, after the gateway node is woken up, send the event information corresponding to the event execution signal (such as the information of the target control node or the event group number) to the gateway node. The gateway node determines the target passive wake-up node associated with the event information from each passive wake-up node, and forwards the wake-up message to the target passive wake-up node.

[0080] For example, referring to Figure 5, when the control mode of the vehicle is the local network management mode, control node A sends a wake-up message, the gateway node is woken up by the wake-up message sent by control node A, the gateway node completes its own initialization, and sends a wake-up message.

[0081] After control node A receives the feedback information indicating that the wake-up is completed sent by the gateway node, it sends the name and event group number of control node B, and control node A starts to start the first timer. Among them, in this application, sending the feedback information indicating that the wake-up is completed after the gateway node initializes can ensure that the gateway node can receive messages, and avoid the problem that the gateway node cannot receive messages and loses them due to sending the name and event group number of control node B before the gateway node initializes.

[0082] The gateway node makes a judgment based on the received name and event group number of control node B and the corresponding storage list. On the one hand, the gateway node judges the network segment where control node B is located according to the network segment and control node corresponding list stored inside the gateway node. On the other hand, the gateway node judges the event group number sent by control node A, queries the event group storage list, judges all control nodes involved in completing the event, and again judges the network segment where the event group control node is located according to the network segment and control node mapping table. Finally, based on the above judgments, the gateway node takes the union to judge the target network segment to be woken up, such as Figure 1 the network segment 1 and network segment 2 shown in

[0083] After that, the gateway node opens the target network segment and sends a wake-up message to wake up the target network segment and the corresponding control node B, and control node B returns a status message of the vehicle status or the control node status, which is forwarded to the network segment where control node A is located through the gateway node.

[0084] In this application, if control node A determines that control node B or the vehicle is in an abnormal state through the status message, it records the first feedback information that control node B or the vehicle is in an abnormal state, and sends the first feedback information to the event wake-up source.

[0085] It should be noted that if control node A does not receive the status message sent by control node B and the first timer times out after the first preset time, it exits the event request state and the process ends (and records the second feedback information of the communication failure of control node B, and sends the second feedback information to the event wake-up source). If control node A does not receive the status message sent by control node B and the first timer does not time out after the first preset time, it continues to wait for whether control node B sends a status message again until the status is satisfied or the first timer times out after the first preset time.

[0086] In such as Figure 2In an embodiment of step 230, when the control mode of the vehicle is a non-network management mode, forwarding the wake-up message to the target passive wake-up node through the gateway node may include the following steps 234 to 235:

[0087] Step 234: Send the wake-up message to the gateway node to wake up the gateway node. After being woken up, the gateway node sends an application message to the active wake-up node.

[0088] Step 235: After receiving the application message sent by the gateway node, send event information corresponding to the event execution signal to the gateway node. The gateway node determines a target passive wake-up node associated with the event information from each passive wake-up node and forwards the wake-up message to the target passive wake-up node.

[0089] For example, referring to Figure 5 , when the control mode of the vehicle is a non-network management mode, control node A sends a custom wake-up message to wake up the gateway node. The gateway node completes initialization and sends feedback information (i.e., an application message) indicating that the wake-up is complete to control node A. After receiving the feedback information indicating that the wake-up is complete sent by the gateway node, control node A sends an event group number, and control node A starts to activate the first timer.

[0090] After receiving the event group number, the gateway node queries the event group storage list, determines all control nodes involved in completing the event, and again determines the target network segment where the event group control node is located according to the network segment and control node mapping table. For example, Figure 1 the network segments 1 and 2 shown in

[0091] The gateway node opens the target network segment and sends a wake-up message for specifically waking up control node B (i.e., the target control node). Control node B returns a status message of the vehicle status or the control node status, which is forwarded to the network segment where control node A is located through the gateway node.

[0092] In this application, if control node A determines that control node B or the vehicle is in an abnormal state through the status message, it records the first feedback information indicating that control node B or the vehicle is in an abnormal state and sends the first feedback information to the event wake-up source.

[0093] It should be noted that if the control node A does not receive the status message sent by the control node B and the first timer times out after the first preset time, the event request status is exited and the process ends (and the second feedback information indicating the communication failure of the control node B is recorded and sent to the event wake-up source). If the control node A does not receive the status message sent by the control node B and the first timer does not time out after the first preset time, it continues to wait for whether the control node B sends a status message again until the condition is met or the first timer times out after the first preset time.

[0094] Continuing, in Figure 5 if the control node A determines that the initialization of the control node B is completed, it indicates that the network channel is already in condition and can reliably receive the event execution message. At this time, the control node A sends the event execution message, which is forwarded to the control node B through the gateway node, and the second timer is started. The target control node (such as the control node B) and the control nodes related to the event execute the subsequent interaction process, complete the event content, and return the response message.

[0095] If the control node A receives the response message forwarded by the gateway node and sent by the target passive wake-up node, and the second timer does not time out after the second preset time, the event execution is completed, and each control node in the control network re-enters the sleep state. If the control node A does not receive the response message forwarded by the gateway node and sent by the target passive wake-up node, and the second timer times out after the second preset time, the reason for the failure of the event execution (i.e., the third feedback information) is recorded and fed back to the event wake-up source.

[0096] In this application, the role of the second timer is to avoid the software risk caused by the control node B being unable to send the response message, resulting in the relevant process of the control node A being suspended for a long time and unable to exit, and the problem of excessive current consumption.

[0097] In summary, before sending the event execution message to the target passive wake-up node, the wake-up message is first forwarded to the target passive wake-up node through the gateway node to wake up the passive wake-up node. After receiving the status message forwarded by the gateway node and sent by the target passive wake-up node, it indicates that the passive wake-up node is awakened and has the ability to receive the event execution message and process the event. At this time, the event execution message is sent to the target passive wake-up node to trigger the passive wake-up node to execute the corresponding event, which can avoid the situation that the event execution message (i.e., the event execution instruction) is suspended for a long time or the event execution fails, and can greatly improve the stability of vehicle control.

[0098] The following introduces the device embodiments of the present application, which can be used to execute the vehicle control method in the above embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the embodiments of the vehicle control method above of the present application.

[0099] Figure 6 It is a block diagram of a vehicle control device shown according to an embodiment of the present application.

[0100] Referring to Figure 6 As shown, a vehicle control device 600 according to an embodiment of the present application, the device 600 includes: a first generation unit 601, a first forwarding unit 602, a second generation unit 603, and a second forwarding unit 604.

[0101] Among them, the first generation unit 601 is configured to generate a wake-up message in response to receiving an event execution signal sent by an event wake-up source; the first forwarding unit 602 is configured to forward the wake-up message to a target passive wake-up node through the gateway node to wake up the target passive wake-up node; the second generation unit 603 is configured to generate an event execution message based on the event execution signal if a status message fed back by the target passive wake-up node and forwarded by the gateway node is received within a first preset time; the second forwarding unit 604 is configured to forward the event execution message to the target passive wake-up node through the gateway node to trigger the target passive wake-up node to execute an event corresponding to the event execution signal.

[0102] As another aspect, the present application also provides a computer-readable storage medium, on which a program product capable of implementing the above vehicle control method of this specification is stored. In some possible implementation manners, various aspects of the present application can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present application described in the "Embodiment Method" part above of this specification.

[0103] The program product for implementing the above method according to the embodiment of the present application can be a portable compact disc read-only memory (CD-ROM) and includes program code, and can run on a terminal device, such as a personal computer. However, the program product of the present application is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device.

[0104] The program product may employ any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0105] The computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which the readable program code is carried. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.

[0106] The program code contained on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0107] The program code for performing the operations of this application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0108] As another aspect, this application also provides an electronic device capable of implementing the above method.

[0109] Those skilled in the art can understand that various aspects of the present application can be implemented as a system, a method, or a program product. Therefore, various aspects of the present application can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which can be collectively referred to as "circuitry", "module", or "system" here.

[0110] Reference will now be made to Figure 7 to describe the electronic device 700 according to this embodiment of the present application. Figure 7 The electronic device 700 shown is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present application.

[0111] As Figure 7 shown, the electronic device 700 is presented in the form of a general-purpose computing device. The components of the electronic device 700 may include, but are not limited to: at least one of the above-mentioned processing units 710, at least one of the above-mentioned storage units 720, and a bus 730 connecting different system components (including the storage unit 720 and the processing unit 710).

[0112] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 710, so that the processing unit 710 executes the steps according to various exemplary embodiments of the present application described in the "Embodiment Method" section of the present specification above.

[0113] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 721 and / or a cache storage unit 722, and may further include a read-only storage unit (ROM) 723.

[0114] The storage unit 720 may further include a program / utility 724 having a set (at least one) of program modules 725. Such program modules 725 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.

[0115] The bus 730 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit control node, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any bus structure in a variety of bus structures.

[0116] The electronic device 700 can also communicate with one or more external devices 1200 (such as a keyboard, a pointing device, a Bluetooth device, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 700, and / or communicate with any device that enables the electronic device 700 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication can be carried out through the input / output (I / O) interface 750. Moreover, the electronic device 700 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 760. As shown in the figure, the network adapter 760 communicates with other modules of the electronic device 700 through the bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in combination with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0117] Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein can be implemented by software, or can be implemented by the way of software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on the network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present application.

[0118] In addition, the above drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present application, rather than for limiting purposes. It is easy to understand that the processes shown in the above drawings do not indicate or limit the time sequence of these processes. Additionally, it is also easy to understand that these processes can be executed synchronously or asynchronously in, for example, multiple modules.

[0119] It should be understood that the present application is not limited to the exact structures that have been described and shown in the drawings above, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.

Claims

1. A vehicle control method, characterized in that, The vehicle includes an active wake-up node, a gateway node, and at least one passive wake-up node. The method is executed on the active wake-up node and includes: Generating a wake-up message in response to receiving an event execution signal sent by an event wake-up source; Forwarding the wake-up message to a target passive wake-up node through the gateway node to wake up the target passive wake-up node; If a status message fed back by the target passive wake-up node and forwarded by the gateway node is not received within a first preset time, recording second feedback information indicating a communication failure with the target passive wake-up node and sending the second feedback information to the event wake-up source; If a status message fed back by the target passive wake-up node and forwarded by the gateway node is received within a first preset time, generating an event execution message based on the event execution signal; wherein, if it is determined from the status message that the target passive wake-up node or the vehicle is in an abnormal state, recording first feedback information indicating that the target passive wake-up node or the vehicle is in an abnormal state and sending the first feedback information to the event wake-up source; Forwarding the event execution message to the target passive wake-up node through the gateway node to trigger the target passive wake-up node to execute an event corresponding to the event execution signal; If a response message fed back by the target passive wake-up node and forwarded by the gateway node is received within a second preset time, indicating that the event execution is completed and triggering each node to switch to a sleep state; If a response message fed back by the target passive wake-up node and forwarded by the gateway node is not received within a second preset time, recording third feedback information indicating a failure in event execution and sending the third feedback information to the event wake-up source.

2. The method according to claim 1, wherein When the control mode of the vehicle is the global network management mode, the step of forwarding the wake-up message to a target passive wake-up node through the gateway node includes: Sending the wake-up message to the gateway node to wake up the gateway node, and after the gateway node is woken up, forwarding the wake-up message to each passive wake-up node of the vehicle, where the target passive wake-up node is included in each passive wake-up node.

3. The method according to claim 1, wherein When the control mode of the vehicle is the local network management mode, the step of forwarding the wake-up message to a target passive wake-up node through the gateway node includes: Sending the wake-up message to the gateway node to wake up the gateway node; After the gateway node is woken up, sending event information corresponding to the event execution signal to the gateway node, and the gateway node determines a target passive wake-up node associated with the event information from each passive wake-up node and forwards the wake-up message to the target passive wake-up node.

4. The method according to claim 1, characterized in that, When the control mode of the vehicle is the non-network management mode, the step of forwarding the wake-up message to a target passive wake-up node through the gateway node includes: Send the wake-up message to the gateway node to wake up the gateway node. After the gateway node is woken up, it sends an application message to the active wake-up node; After receiving the application message sent by the gateway node, send event information corresponding to the event execution signal to the gateway node. The gateway node determines a target passive wake-up node associated with the event information from each passive wake-up node, and forwards the wake-up message to the target passive wake-up node.

5. The method according to claim 1, characterized in that, After the wake-up message is forwarded to the target passive wake-up node through the gateway node, the method further includes: Start a first timer, which is used to record the time of waiting to receive a status message fed back by the target passive wake-up node and forwarded by the gateway node.

6. The method according to claim 1, wherein After the event execution message is forwarded to the target passive wake-up node through the gateway node, the method further includes: Start a second timer, which is used to record the time of waiting to receive a response message fed back by the target passive wake-up node and forwarded by the gateway node.

7. A vehicle control device, characterized in that, The vehicle includes an active wake-up node, a gateway node, and at least one passive wake-up node. The device is disposed on the active wake-up node, and the device includes: A first generation unit, configured to generate a wake-up message in response to receiving an event execution signal sent by an event wake-up source; A first forwarding unit, configured to forward the wake-up message to a target passive wake-up node through the gateway node to wake up the target passive wake-up node; if a status message fed back by the target passive wake-up node and forwarded by the gateway node is not received within a first preset time, record second feedback information indicating communication failure with the target passive wake-up node, and send the second feedback information to the event wake-up source; A second generation unit, configured to generate an event execution message based on the event execution signal if a status message fed back by the target passive wake-up node and forwarded by the gateway node is received within a first preset time; wherein, if it is determined from the status message that the target passive wake-up node or the vehicle is in an abnormal state, record first feedback information indicating that the target passive wake-up node or the vehicle is in an abnormal state, and send the first feedback information to the event wake-up source; A second forwarding unit, configured to forward the event execution message to the target passive wake-up node through the gateway node to trigger the target passive wake-up node to execute an event corresponding to the event execution signal; if a response message fed back by the target passive wake-up node and forwarded by the gateway node is received within a second preset time, it indicates that the event execution is completed, and trigger each node to switch to the sleep state; if a response message fed back by the target passive wake-up node and forwarded by the gateway node is not received within a second preset time, record third feedback information indicating that the event execution fails, and send the third feedback information to the event wake-up source.

Citation Information

Patent Citations

  • Network node state control method and device and gateway

    CN110830267A

  • Control method and device of vehicle controller and automobile

    CN113448302A