Vehicle body part control method and control module

By detecting vehicle body component enabling events and sending control commands, monitoring the enabling status application messages, the problem of out-of-synchronization of communication between the central controller and the domain controller is solved, effective control of vehicle body components is achieved, and the communication between the application layer and the underlying layer is reduced. Coupling simplifies maintenance and porting.

CN118560410APending Publication Date: 2024-08-30CONTINENTAL AUTOMOTIVE R & D (CHONGQING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410545372.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the domain centralized central gateway architecture, the communication between the central controller and the domain controller is not synchronized, resulting in the failure of the body parts function to be turned on normally, and the existing technology needs to manage the message interface through the underlying network status, which increases the application layer and The underlying coupling affects maintenance and platform reuse.

Method used

By detecting the enabling event of the body parts, sending the control command of the enabling indication and enabling time, and starting the timing based on the monitoring enable status application message, synchronizing the enabling timing and monitoring timing to ensure the enablement of the target control module Status feedback to avoid relying on underlying network status.

Benefits of technology

It achieves effective control of body components, avoids functional abnormalities caused by asynchronous communication status, reduces the coupling between the application layer and the bottom layer, and simplifies maintenance and transplantation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560410A
    Figure CN118560410A
Patent Text Reader

Abstract

The embodiment of the invention discloses a control method and a control module for a vehicle body part. Wherein the vehicle body part is controlled by the target control module, and after the target control module is started, the target control module periodically feeds back an enabling state application message used for indicating whether the vehicle body part is enabled or not. The control method comprises the steps that whether an event for triggering enabling of a vehicle body part exists or not is detected; when the event is detected, a first control command is sent to a target control module, and the first control command comprises an enabling indication and enabling time; after the first control command is sent, an enabling state application message is monitored; when the enabling state application message is monitored, enabling timing is started; when the enabling state application message indicating that the enabling state application message is not enabled is monitored, a second control command is sent to the target control module, and the second control command comprises the enabling indication and the remaining enabling time. According to the embodiment, the effective control of the vehicle body parts can be realized without a bottom network state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to control technology, and in particular to a control method and a control module for a vehicle body component. Background Art

[0002] In the traditional solution, various body parts in the vehicle, such as lights, doors, windows, etc., are controlled based on BCM (Body Control Module). In the BCM-based solution, the control logic is designed in the BCM, and the BCM has various input / output peripherals to directly control the body parts, so there is no problem of effective communication between the control logic and the execution parts.

[0003] However, with the evolution of vehicle architecture, more and more vehicles are using domain-centralized central gateway and centralized server architecture. In this type of architecture, the control logic and execution logic are located in different ECUs (Electronic Control Units). For example, the control logic is located in the central controller, while the execution logic is located in the ZCU (Zone Control Unit). The central controller and the domain controller communicate via a bus. In this type of architecture, attention should be paid to the effective communication between the central controller and the ZCU, otherwise the relevant functions may not be enabled normally, thus affecting the user experience.

[0004] In AUTOSAR (Automotive Open System Architecture), the communication status can be understood through NM (Network Management) messages. However, in the AUTOSAR design specification, there is no dedicated interface for NM management messages in the RTE (Runtime Environment) layer to provide logical judgment to each application. If you want to add a new NM interface in the RTE layer, it needs to be processed separately, and the application layer function will be bound to the channel status, which will increase the coupling between the application layer and the bottom layer, and bring about problems with the maintenance of later functions and platform reuse, which is inconsistent with the design concept of AUTOSAR. Summary of the invention

[0005] A control method and a control module for a vehicle body component according to an embodiment of the present invention can realize effective control of the vehicle body component without requiring underlying network status.

[0006] A control method for a body component according to an embodiment of the present invention, wherein the body component is controlled by a target control module, and after being started, the target control module periodically feeds back an enable status application message indicating whether the body component is enabled, wherein the control method comprises: detecting whether there is an event that triggers the enabling of the body component; when the event is detected, sending a first control command to the target control module, the first control command comprising: an enable indication and an enable time; after sending the first control command, monitoring the enable status application message; and when the enable status application message begins to be monitored, starting the enable timing; and when an enable status application message indicating that the body component is not enabled is monitored, sending a second control command to the target control module, the second control command comprising: the enable indication and the remaining enable time.

[0007] Among them, after sending the first control command to the target control module, the monitoring timing is started; during the monitoring timing, the step of monitoring the enable status application message is executed; and when executing the step of starting the enable timing, the monitoring timing is updated based on the enable time to synchronize the enable timing with the monitoring timing.

[0008] Among them, after sending the first control command to the target control module, the monitoring timing is started; during the monitoring timing, the step of monitoring the enable status application message is executed; and the step of starting the enablement specifically includes: updating the monitoring timing based on the enable time so that the monitoring timing is also used as the enable timing.

[0009] The step of starting the monitoring timing specifically includes: starting the monitoring timing based on the enabling time.

[0010] The control method further includes: during the monitoring timing, when an event that triggers the vehicle body component to stop enabling is detected, sending a third control command to the target control module, wherein the third control command includes a stop enabling indication.

[0011] A control module according to an embodiment of the present invention is communicatively connected to another control module, and the control module controls a target component through the other control module, and after being started, the other control module periodically feeds back to the control module an enable status application message indicating whether the target component is enabled; wherein the control module comprises: a detection unit, for detecting whether there is an event that triggers the enabling of the target component; a sending unit, for sending a first control command to the other control module when the event is detected, the first control command comprising: an enable indication and an enable time; and a processing unit, specifically for: after sending the first control command, monitoring the enable status application message; starting the enable timing based on the monitoring of the enable status application message, and, during the enabling period, when it is determined based on the enable status application message that the target component stops being enabled, sending a second control command to the other control module, the second control command comprising: the enable indication and the remaining enable time.

[0012] Wherein, after sending the first control command, when the enable state application message is received for the first time, the enable timing is started.

[0013] Wherein, the control module is a central controller, the other control module is a domain controller, and the target component is a vehicle light.

[0014] A computer device according to an embodiment of the present invention includes: a memory, a processor, and a computer program / instruction stored in the memory, wherein the processor executes the computer program / instruction to implement the steps of the method according to the embodiment of the present invention.

[0015] A computer-readable storage medium according to an embodiment of the present invention stores a computer program / instruction thereon, and when the computer program / instruction is executed by the processor, the steps of the method according to the embodiment of the present invention are implemented.

[0016] A computer program product according to an embodiment of the present invention includes a computer program / instruction, and when the computer program / instruction is executed by the processor, the steps of the method according to the embodiment of the present invention are implemented.

[0017] Beneficial effects of the embodiments of the present invention:

[0018] When an event that triggers the enabling of a body component is detected, a control command is sent to the target control module without caring about the communication status with the target control module, so there is no need to understand the underlying network status. On this basis, based on the reception of the enabling status application message and the content of the enabling status application message, the enabling timing is started, and a control command carrying the remaining enabling time is resent to the target module, so that even if the target control module does not receive the previous control command, or the previous enabling status is lost due to reset or other reasons, it can be effectively controlled again. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Other details and advantages of the present invention will become apparent from the detailed description provided below. It should be understood that the following drawings are merely illustrative and thus cannot be considered as limiting the present invention, and the following will be described in detail with reference to the drawings, wherein:

[0020] Figure 1 is a schematic structural diagram of an embodiment of a control system of the present invention;

[0021] Figure 2 is a flow chart of an embodiment of a method for controlling a vehicle body component of the present invention;

[0022] Figure 3 is a flow chart of another embodiment of a method for controlling a vehicle body component of the present invention;

[0023] Figure 4 is a schematic structural diagram of an embodiment of a control module that can be used to control a vehicle body component of the present invention;

[0024] Figure 5 Schematic diagram of the structure of an embodiment of a computer device that can be used to control vehicle body components of the present invention. DETAILED DESCRIPTION

[0025] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and more understandable, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only for explaining the present invention and are not intended to limit the present invention.

[0026] In the description of the present invention, it is to be understood that the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. Moreover, the terms "first", "second", etc. are applicable to distinguishing similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.

[0027] like Figure 1 , which is a schematic diagram of the structure of an embodiment of the control system of the present invention. The control system can be used to control vehicle lights, but this is only an example and not a limitation. In addition to being used to control vehicle lights, the control scheme involved in this article can also be used to control other vehicle body parts or non-vehicle body parts, which is not limited here.

[0028] exist Figure 1 In the control system, the central controller 10, the domain controller 20 and the headlights 30. The central controller 10 may be, for example, an HPC (High performance computer). In a vehicle, it may also be called a central control unit, a central computing unit, etc. The domain controller 20 may be, for example, a body domain controller. The headlights 30 may, for example, refer to the interior lights of the vehicle, i.e., the headlights located inside the vehicle. The control of the interior lights is generally based on events, and the scheme involved in this article is mainly effective for event-based control schemes, and is therefore more suitable for the control of the interior lights.

[0029] exist Figure 1 In the embodiment, the central controller 10 controls the headlight 30 through the domain controller 20. Specifically, the central controller 10 is responsible for the control logic, such as when to turn on the headlight, how long to turn on the headlight, how much the headlight brightness is set, etc., while the domain controller 20 is responsible for implementing specific control operations based on the instructions of the central controller 10, wherein the headlight 30 can be considered as an auxiliary device of the domain controller 20.

[0030] exist Figure 1In the embodiment, the central controller 10 and the domain controller 20 can be arranged at different positions of the vehicle, for example, the central controller 10 may be located in the middle area of ​​the vehicle, and the domain controller 20 may be located in the front cockpit area of ​​the vehicle, that is, the central controller 10 and the domain controller 20 have a certain physical distance interval. Therefore, the central controller 10 and the domain controller 20 can be connected by a bus for communication, for example, via a CAN bus network in the vehicle to realize data interaction. Of course, the bus communication network is not limited to the CAN bus network, for example, it can be an Ethernet network, a LIN bus network, or even a wireless network, etc., which is not limited here.

[0031] exist Figure 1 In the example, when the vehicle is powered on, there may be a problem that the central controller 10 and the domain controller 20 are awakened differently, for example, the central controller 10 is awakened several cycles earlier than the domain controller 20. Before the domain controller 20 is successfully awakened, if the central controller 10 sends a command to the domain controller 20 to turn on the headlight 30, the domain controller 20 will not receive the command, so the headlight 30 will not be turned on as expected, that is, the expected function is not executed correctly.

[0032] However, for periodic control scenarios, such as when the vehicle lights are exterior lights, a periodic control method is generally used, and the above situation will not be a problem. Because in the periodic control method, the central controller 10 sends the above command periodically. Therefore, even if the domain controller 20 misses the commands of the first few cycles, as long as the domain controller 20 wakes up normally, it will still receive the commands of the next cycle and the function will still be executed.

[0033] Problematic scenarios: Event-based control method. In the event-based control method, when a specific event (such as powering on the entire vehicle) occurs, the central controller 10 sends a related command to the domain controller 20. Since the domain controller 20 wakes up later than the central controller 10, the domain controller 20 may miss this command, resulting in the function not being executed as expected. One solution is that before sending a command, the central controller 10 calls the RTE layer interface to determine whether the communication connection with the domain controller 20 is normal. The control command is only sent when it is confirmed that a normal communication connection has been established between the central controller 10 and the domain controller 20. However, this requires setting up a special interface at the bottom layer to provide the communication status, which will increase the coupling between the application layer and the bottom layer, which is equivalent to binding the application layer and the bottom layer together. This type of solution is not conducive to the maintenance and migration of the solution.

[0034] Another problem is that when the headlight 30 is successfully lit at the beginning, if the domain controller 20 is reset for some reason during the lighting of the headlight, the domain controller 20 will lose the previous control command and the timing of the lighting time of the headlight, resulting in malfunction. For example, the central controller 10 instructs to light the headlight for 5 minutes, and at the 3rd minute, the domain controller 20 is reset due to an abnormality. At this time, the user will feel that the headlight is only lit for 3 minutes. Although the control command can be reissued by monitoring the underlying network communication status, the coupling between the application layer and the underlying layer will also be increased.

[0035] Based on this, the embodiment of the present invention proposes Figures 2 to 5 The solution is intended to at least partially solve the above problems. Specifically, the present embodiment controls the vehicle body components only based on the application layer messages. In the entire control process, there is no need to query the network status from the bottom layer, so the coupling between the application layer and the bottom layer is not increased, which facilitates the modification, maintenance and transplantation of the solution. In addition, the solution of the present embodiment can still effectively control the vehicle body components in the case that the central controller 10 is awakened earlier than the domain controller 20, and the domain controller 20 is abnormally reset.

[0036] Specifically, Figure 2 The figure is a flow chart of an embodiment of the control method of the vehicle body parts of the present invention. This method flow is mainly used for Figure 1 The central controller 10 in this embodiment, the target control module can be, for example, Figure 1 The domain controller 20 in this embodiment may be, for example, Figure 1 The headlights in 30.

[0037] In this embodiment, a control scheme is targeted at events rather than periods. In addition, after startup, the target control module periodically feeds back an enablement status application message indicating whether the vehicle body component is enabled. In other words, the control of vehicle components is based on events; however, the feedback of the enablement status is periodic, which has nothing to do with whether the control command is received. In addition, messages generally include: application messages, diagnostic messages, and network management (NM) messages. The control scheme of this embodiment only involves application messages, so it can be implemented only based on the application layer, which is convenient for the maintenance and transplantation of the scheme.

[0038] like Figure 2 As shown, the control method of the vehicle body component includes:

[0039] Step S20: Detect whether there is an event that triggers the enabling of the vehicle body component.

[0040] The event mentioned in step S10 may be, for example, a vehicle power-on event, a vehicle unlocking event, a preset button being triggered event, etc. In some vehicles, there is a welcome function, when a user is detected approaching the vehicle, the vehicle will be automatically unlocked and the welcome light will be turned on.

[0041] Step S21: When the event of step S20 is detected, a first control command is sent to a target control module, where the first control command includes an enable indication and an enable time.

[0042] In this step, the control command is sent when the event is met, regardless of the current network communication status. Therefore, there is no need to query the current network status at the bottom layer. Although this may cause the target control module to not receive the control command, this embodiment can repair this problem with the help of subsequent steps.

[0043] The enable indication can be used to instruct the target control module to start the vehicle body component, such as turning on the headlights. In addition, the enable indication can also set the working mode of the vehicle body component, such as brightness. The enable time can be the duration of the enable state. Taking the headlights as an example, it can be always on or on for 5 minutes.

[0044] Step S22: After sending the first control command, monitor the enable status application message.

[0045] After the target control module is started, it will accurately feedback the enable state application message. The enable state application message is used to indicate the state of the vehicle body parts, such as the open or closed state. Taking the headlights as an example, the enable state application message can indicate whether the headlights are currently on or off.

[0046] In step S22, the enablement status application message may be monitored within a certain monitoring period, for example, the enablement status application message may be monitored within the enabling time.

[0047] Step S23: When the enable state application message is monitored, the enable timing is started.

[0048] Among them, starting to monitor the enable state application message means receiving the enable state application message for the first time after sending the control command, which can be manifested as the enable state application message from nothing to something. In some cases, after sending the first control command, it may take several cycles before the enable state application message starts to be received. Therefore, when the enable state application message is not received, the enable timing will not be started, and the enable timing will be started only when the enable state application message is received for the first time.

[0049] In addition, in this step, the enabling timer is started or not started only based on whether the enabling state application message is received, and the specific content of the enabling state application message is not concerned.

[0050] Step S24: When an enable state application message indicating that the device is not enabled is monitored, a second control command is sent to the target control module, where the second control command includes an enable indication and a remaining enable time.

[0051] In this step, if the monitored enable status application message indicates that the body part is not enabled, it means that the function is not performed as expected. At this time, it may be because the target control module has not been awakened when the first control command is sent in step S21, so the first control command is missed. In this case, after the first control command is sent, the enable status application message received for the first time will show that the body part is not enabled. In other cases, the enable status application message received at the beginning will show that the body part is enabled, but starting at a certain moment, the enable status application message received may show that the body part is not enabled, which may be caused by the reset of the target control module.

[0052] In this step, when the enabled state application message indicates that the vehicle body component is not enabled, the second control command carrying the remaining enabling time is sent to the target control module. Thus, no matter which of the above situations causes the problem, it can be solved.

[0053] The solution of this embodiment does not require the help of network management messages, but can achieve effective control of vehicle body components directly based on application messages, thereby solving the problem of inability to effectively control vehicle lights due to asynchronous wake-up or health status between the central controller and the domain controller for event-based control solutions.

[0054] like Figure 3 FIG. 2 is a flow chart of another embodiment of the control method of the vehicle body component of the present invention. Figure 3 In this paper, we take car lights as an example and combine Figure 1 It is for explanation, but it can be understood that the solution of this embodiment is not limited to body parts such as car lights, and the solution of this embodiment may not even be limited to body parts.

[0055] like Figure 3 As shown, the control method includes:

[0056] Step S301: the central controller 10 detects that the vehicle light function activation condition is met.

[0057] Step S302: the central controller 10 sends a control command to the domain controller 20 and carries the enabling time.

[0058] In addition, step S302 may also set an enable flag bit to be valid to indicate that the current state is in the enable control state.

[0059] Step S303: the central controller 10 starts a monitoring timer (which may also be a countdown timer).

[0060] The value of the monitoring timer may be equal to the enabling time. In addition, since the value of the monitoring timer will be updated later, the initial value of the monitoring timer may be a preset value, such as 1 minute.

[0061] Step S304: Determine whether the monitoring has timed out. If so, execute step S312; if not, execute step S305.

[0062] Step S305: Determine whether an enable status application message fed back by the domain controller 20 is received. If the step determination result is yes, execute step S306, and if the determination result is no, execute step S310.

[0063] Step S306: Determine whether it is the first time to receive. If the determination result is yes, execute step S307, if the determination result is no, execute step S308.

[0064] The first reception is a transition from non-existence to existence of an enable state application message.

[0065] Step S307: start the enable timer and use the enable time to update the monitoring timer.

[0066] In this step, the synchronization of the enabling timing and the monitoring timing is achieved by updating the monitoring timer. In addition, when the monitoring timer is updated, the enabling timing and the monitoring timing are synchronized. Therefore, in step S307, the monitoring timer can be used as the enabling timer, that is, only one timer is set to serve the purpose of both enabling timing and monitoring timing, without setting two timers.

[0067] Step S308: Based on the enablement status application message, determine whether the vehicle body component is enabled. If the determination result is yes, execute step S310. If the determination result is no, execute step S309.

[0068] Step S309: send the control command again and carry the remaining enabling time, and then execute step S304. The remaining enabling time comes from the enabling timer.

[0069] Step S310: Determine whether the condition for stopping enabling is met. If the determination result is yes, execute step S311, otherwise execute step S304.

[0070] In this step, the condition for stopping enabling may be, for example, a vehicle door being opened, a user triggering a predetermined button, and the like.

[0071] Step S311: Send a stop command to the domain controller 20, reset the monitoring timer and the enabling timer, and then end the process.

[0072] Step S312: When monitoring times out, stop monitoring and end the process.

[0073] The following is an example to illustrate the above solution in combination with a specific scenario.

[0074] Normal scenario: The function to be implemented is: when the vehicle is powered on, turn on the No. 1 interior light for 5 minutes. Assume that when the vehicle is powered on, the central controller 10 wakes up later than the domain controller 20 or both wake up synchronously.

[0075] In this scenario, when the vehicle is powered on, the central controller 10 is awakened and directly sends a control command to the domain controller 20 to instruct the No. 1 interior light to be turned on for 5 minutes and to start a 5-minute monitoring timer. Since the domain controller 20 has woken up at this time, the domain controller 20 can normally receive the control command, and based on the control command, turn on the No. 1 interior light and set a 5-minute timer. At the same time, the domain controller 20 feeds back an enablement status application message to the central controller 10, the content of which is: No. 1 interior light is turned on. The central controller 10 receives this enablement status application message, and since it is the first time it is received, it will start a 5-minute enablement timer and update the monitoring timer to 5 minutes. Since the enablement status application message shows that the No. 1 headlight is turned on, the central controller 10 will continue to monitor until the monitoring times out.

[0076] Abnormal scenario 1: The function to be implemented is: when the vehicle is powered on, turn on the No. 1 interior light for 5 minutes. Assume that when the vehicle is powered on, the central controller 10 is awakened earlier than the domain controller 20.

[0077] In this scenario, when the vehicle is powered on, the central controller 10 is first awakened. After being awakened, the central controller 10 directly sends a control command to the domain controller 20 to instruct the No. 1 interior light to be turned on for 5 minutes and to start a 5-minute monitoring timer. Since the domain controller 20 has not woken up at this time, the No. 1 interior light will not be turned on. Assuming that the domain controller 20 is successfully awakened half a minute later, after the domain controller 20 wakes up, it sends an enablement status application message to the central controller 10, and its content is that the No. 1 interior light is turned off. When the central controller 10 receives this enablement status application message, since it is the first time it is received, it will start a 5-minute enablement timer and update the monitoring timer to 5 minutes. Since the enablement status application message shows that the No. 1 interior light is not turned on, the central controller 10 will send a control command to the domain controller 20 again, and carry the remaining enablement time, which is approximately equal to 5 minutes, because the instruction execution time from step S307 to step S309 is almost instantaneous. In this scenario, although the domain controller 20 wakes up later than the central controller 10, the central controller 10 can still effectively control the No. 1 interior light to light up for 5 minutes.

[0078] Abnormal scenario 2: The function to be implemented is: when the user presses the A key, turn on the No. 1 interior light for 10 minutes. However, at the 5th minute, the domain controller 20 is reset due to an abnormality.

[0079] In this scenario, it is assumed that the vehicle is in normal use, and both the central controller 10 and the domain controller are working normally. At a certain moment, when the user presses the A key, the central controller 10 sends a control command to the domain controller 20 to instruct the No. 1 interior light to be turned on for 10 minutes and to start a 10-minute monitoring timer. At this time, the domain controller 20 is working normally, so it can normally receive the control command, and turn on the No. 1 interior light based on the control command, and set a 10-minute timer. At the same time, the domain controller 20 feeds back an enablement status application message to the central controller 10, the content of which is: No. 1 interior light is turned on. The central controller 10 receives this enablement status application message, and since it is the first time it is received, it will start a 10-minute enablement timer and update the monitoring timer to 10 minutes. For a period of time thereafter, the central controller 10 receives the enablement status application message indicating that the No. 1 interior light is turned on. At the 5th minute, since the domain controller 20 is reset due to an abnormality, the central controller 10 will not receive the enablement status application message from this time onwards. At this time, the central controller 10 does not perform any special operations, but continues to monitor. Assume that at 5 minutes and 30 seconds, the domain controller 20 successfully completes the reset. Due to the reset, the previous control state and enable timing are lost. The content of the enable state application message fed back by the domain controller 20 is: No. 1 interior light is turned off. At this time, the central controller 10 receives the enable state application message again, and determines that this is not the first time it is received. Based on the content of the enable state application message, the central controller 10 sends a control command to the domain controller 20 again. The control command is: Turn on No. 1 interior light for 4 minutes and 30 seconds, thereby achieving effective control of No. 1 interior light.

[0080] like Figure 4 FIG. 4 is a schematic diagram of the structure of an embodiment of the control module 4 of the present invention. The control module 4 can be Figure 1 The central controller 10 in the embodiment. The control module 4 is connected to another control module (such as Figure 1The domain controller 20 in the control module 4 is communicatively connected, and the control module 4 controls the target component (such as the headlight) through the other control module, and the other control module periodically feeds back to the control module 4 an enablement status application message indicating whether the target component is enabled after being started. Specifically, the control module 4 includes: a detection unit 40, which is used to detect whether there is an event that triggers the enablement of the target component; a sending unit 41, which is used to send a first control command to the target control module when such an event is detected, and the first control command includes: an enable indication and an enable time; and a processing unit 42, which is specifically used to: monitor the enablement status application message after sending the first control command; start the enablement timing based on the monitoring of the enablement status application message, and, during the enablement period, send a second control command to the other control module when it is determined based on the enablement status application message that the target component stops being enabled, and the second control command includes: an enable indication and the remaining enable time.

[0081] The processing unit 42 may start the enabling timer when receiving the enabling state application message for the first time.

[0082] like Figure 5 FIG. 1 is a schematic diagram of the structure of an embodiment of a computer device 5 of the present invention. The computer device 5 may be, for example, Figure 1 The central controller in the embodiment may be other types of controllers or devices, etc., which are not limited here. The computer device 5 includes: a memory 50, a processor 52, and a computer program / instruction stored in the memory 50. The processor 52 executes the computer program / instruction to implement the steps of the method described in the embodiment of the present invention.

[0083] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program / instruction is stored. When the computer program / instruction is executed by the processor, the steps of the method described in the embodiment of the present invention are implemented.

[0084] In addition, an embodiment of the present invention further provides a computer program product, including a computer program / instruction, and when the computer program / instruction is executed by the processor, the steps of the method described in the embodiment of the present invention are implemented.

[0085] The description of the above device, storage medium and program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device, storage medium and program product embodiments of this application, please refer to the description of the method embodiment of this application for understanding.

[0086] The processor may be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, a microprocessor, etc. It is understandable that the electronic device that implements the function of the processor may also be other, and the embodiments of the present application are not specifically limited.

[0087] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0088] It should be noted that the above description is only for example and not for limitation of the present invention. In other embodiments of the present invention, the method may have more, fewer or different steps, and the order, inclusion and function of each step may be different from that described and illustrated. For example, generally multiple steps can be combined into a single step, and a single step can also be divided into multiple steps. For those of ordinary skill in the art, without paying creative work, the sequential changes of each step are also within the scope of protection of the present invention.

[0089] The technical solution of the present invention, in essence or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor or a microcontroller to perform all or part of the steps of the method described in each embodiment of the present invention.

[0090] Those skilled in the art will appreciate that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware associated with program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed.

[0091] Although the present invention has been disclosed as above with preferred embodiments, the present invention is not limited thereto. Any changes and modifications made by any person skilled in the art without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention, and therefore the protection scope of the present invention should be subject to the scope defined by the claims.

Claims

1. A method for controlling a vehicle body component, characterized in that: The body component is controlled by a target control module, and after being started, the target control module periodically feeds back an enablement status application message indicating whether the body component is enabled. Wherein, the control method comprises: Detecting whether there is an event that triggers the enabling of body components; When the event is detected, a first control command is sent to the target control module, wherein the first control command includes: an enable indication and an enable time; After sending the first control command, monitoring the enable state application message; and When the enabling state application message begins to be monitored, starting the enabling timer; and When an enablement status application message indicating that the device is not enabled is monitored, a second control command is sent to the target control module, where the second control command includes: the enablement indication and the remaining enablement time.

2. The control method of the vehicle body component according to claim 1, characterized in that: After sending the first control command to the target control module, starting monitoring timing; During the monitoring timing, executing the step of monitoring the enabled state application message; as well as When the step of starting the enable timing is performed, the monitoring timing is updated based on the enable time, so that the enable timing and the monitoring timing are synchronized.

3. The control method of the vehicle body component according to claim 1, characterized in that: After sending the first control command to the target control module, starting monitoring timing; During the monitoring timing, executing the step of monitoring the enabled state application message; as well as The step of starting the enabling specifically includes: updating the monitoring timing based on the enabling time, so as to use the monitoring timing as the enabling timing at the same time.

4. The control method of a vehicle body component according to claim 2 or 3, characterized in that: The step of starting the monitoring timing specifically includes: starting the monitoring timing based on the enabling time.

5. The control method of a vehicle body component according to claim 2 or 3, characterized in that: The control method further comprises: During the monitoring timing, when an event that triggers the vehicle body component to stop enabling is detected, a third control command is sent to the target control module, and the third control command includes: a stop enabling instruction.

6. A control module, characterized in that: The control module is in communication connection with another control module, and the control module controls the target component through the another control module, and after being started, the another control module periodically feeds back to the control module an enable status application message indicating whether the target component is enabled; Wherein, the control module comprises: A detection unit, used to detect whether there is an event that triggers the enabling of the target component; a sending unit, configured to send a first control command to the other control module when the event is detected, wherein the first control command includes: an enable indication and an enable time; and The processing unit is specifically used for: After sending the first control command, monitoring the enable state application message; Based on monitoring the enable status application message, the enable timing is started, and during the enable period, when it is determined based on the enable status application message that the target component stops being enabled, a second control command is sent to the other control module, wherein the second control command includes: the enable indication and the remaining enable time.

7. The control module according to claim 6, characterized in that: After sending the first control command, when the enable state application message is received for the first time, the enable timing is started.

8. A computer device comprising: A memory, a processor, and a computer program / instruction stored on the memory, wherein the processor executes the computer program / instruction to implement the steps of the method according to any one of claims 1 to 5.

9. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by the processor, the steps of the method according to any one of claims 1 to 5 are implemented.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by the processor, the steps of the method according to any one of claims 1 to 5 are implemented.