CN-122009046-A - Vehicle control method, system, electronic device, vehicle and storage medium
Abstract
The application discloses a vehicle control method, a system, electronic equipment, a vehicle and a storage medium, wherein the method is applied to the vehicle control system, the system comprises a first controller, a second controller and a third controller, the first controller sends an acquisition request to the second controller when detecting that a target function of the vehicle enters an activated state, the request carries a target configuration parameter identifier, the second controller acquires target configuration items corresponding to the target configuration parameter identifier from a plurality of pre-acquired configuration items according to the acquisition request and sends the target configuration items to the first controller, the first controller generates corresponding vehicle control instructions according to the target configuration items and sends the corresponding vehicle control instructions to the third controller, and the third controller dynamically acquires the target configuration items according to the instructions.
Inventors
- ZHANG CHEN
- WANG HAO
- LI ZHONGMING
- WAN HAO
- ZHU ZHENGLONG
- HAN YONG
- FU CHAOHUI
- WANG CUI
Assignees
- 浙江吉利控股集团有限公司
- 吉利汽车研究院(宁波)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260313
Claims (10)
- 1. A vehicle control method is characterized in that the method is applied to a vehicle control system, the vehicle control system comprises a first controller, a second controller and a third controller, the first controller is respectively in communication connection with the second controller and the third controller, and the method comprises the following steps: The method comprises the steps that under the condition that the first controller detects that a target function of a vehicle enters an activated state, an acquisition request is sent to the second controller, the acquisition request carries a target configuration parameter identifier, and the target configuration parameter identifier is determined according to the target function; The second controller acquires target configuration items corresponding to the target configuration parameter identifiers from a plurality of pre-acquired configuration items according to the acquisition request, and sends the target configuration items to the first controller; the first controller generates a corresponding vehicle control instruction according to the target configuration item and sends the vehicle control instruction to the third controller; The third controller controls the vehicle according to the vehicle control instruction.
- 2. The method according to claim 1, wherein the second controller acquires a target configuration item corresponding to the target configuration parameter identification from the plurality of configuration items acquired in advance according to the acquisition request, comprising: The second controller obtains a target configuration item corresponding to the target configuration parameter identifier from the first mapping relation based on the obtaining request, wherein the first mapping relation comprises a plurality of functions, a plurality of configuration parameter identifiers and configuration items commonly corresponding to each configuration parameter identifier and each function; The second controller sends the target configuration item to the first controller.
- 3. The vehicle control method according to claim 1, characterized in that the first controller, in the case where it detects that the target function of the vehicle enters an activated state, sends an acquisition request to the second controller, comprising: the first controller determines a target configuration parameter identifier corresponding to the target function from a second pre-configured mapping relation, wherein the second mapping relation comprises a plurality of functions and configuration parameter identifiers corresponding to each function; the first controller generates the acquisition request based on the target configuration parameter identification and sends the acquisition request to the second controller.
- 4. The vehicle control method according to claim 2, characterized in that, in the case where the first controller detects that the target function of the vehicle enters an activated state, before sending an acquisition request to the second controller, the method further comprises: The second controller receives an original file of the whole vehicle configuration; The second controller analyzes the whole vehicle configuration original file to obtain a plurality of functions corresponding to the identification codes of the vehicles, a plurality of configuration parameter identifiers and configuration items commonly corresponding to each configuration parameter identifier and each function; The second controller takes a plurality of functions corresponding to the identification codes, a plurality of configuration parameter identifiers, and configuration items commonly corresponding to each configuration parameter identifier and each function as the first mapping relation; the second controller generates a second mapping relation according to the first mapping relation, wherein the second mapping relation comprises a plurality of functions and configuration parameter identifiers corresponding to each function; The second controller sends the second mapping relation to the first controller.
- 5. The vehicle control method according to claim 4, wherein the second controller parses the entire vehicle configuration original file to obtain a plurality of functions corresponding to the identification code of the vehicle, a plurality of configuration parameter identifiers, and configuration items corresponding to each configuration parameter identifier and each function together, including: the second controller generates a first check code according to the whole vehicle configuration original file; And the second controller analyzes the whole vehicle configuration original file under the condition that the first check code is consistent with the original first check code corresponding to the whole vehicle configuration original file, so as to obtain a plurality of functions corresponding to the identification code of the vehicle, a plurality of configuration parameter identifiers, and configuration items commonly corresponding to each configuration parameter identifier and each function.
- 6. The vehicle control method according to any one of claims 1 to 5, characterized in that, before the first controller sends the acquisition request to the second controller upon detecting that the target function of the vehicle enters the activated state, the method further comprises: The first controller monitors trigger events corresponding to a plurality of preconfigured functions; and under the condition that any trigger event is monitored, the first controller determines the function corresponding to the trigger event as the target function, and determines that the target function enters an activated state.
- 7. The vehicle control system is characterized by comprising a first controller, a second controller and a third controller, wherein the first controller is respectively in communication connection with the second controller and the third controller; The first controller is used for sending an acquisition request to the second controller under the condition that the target function of the vehicle is detected to enter an activated state, wherein the acquisition request carries a target configuration parameter identifier; the second controller is used for acquiring target configuration items corresponding to the target configuration parameter identifiers from a plurality of pre-acquired configuration items according to the acquisition request, and sending the target configuration items to the first controller; the first controller is used for generating corresponding vehicle control instructions according to the target configuration items and sending the vehicle control instructions to the third controller; The third controller is used for controlling the vehicle according to the vehicle control instruction.
- 8. An electronic device comprising a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the vehicle control method as defined in any one of claims 1-6.
- 9. A vehicle comprising the electronic device of claim 8.
- 10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon computer program instructions, which when executed by a processor, implement the vehicle control method according to any one of claims 1-6.
Description
Vehicle control method, system, electronic device, vehicle and storage medium Technical Field The application belongs to the field of vehicle control, and particularly relates to a vehicle control method, a system, electronic equipment, a vehicle and a storage medium. Background In the field of vehicle-mounted configuration information transmission, the conventional vehicle configuration management mode generally adopts a Unified Diagnosis Service (UDS) instruction to transmit the actual configuration information of the whole vehicle to one or more domain controllers, the domain controllers broadcast configuration signals through vehicle buses such as CAN, LIN and the like, each node on the buses carries out configuration learning after completely receiving the configuration signals so as to execute corresponding functions, and the core logic of the mode is that the domain controllers send all configuration parameters of the whole vehicle to all relevant controllers through the buses, and each controller screens required configuration parameters from the complete information according to own requirements. However, with the rise of software-defined automobile trends, the whole automobile configuration functions are becoming more and more abundant, the number of functional configuration and hardware configuration parameters is rapidly increased from the first tens to thousands, the transmission time of bus broadcasting is obviously prolonged due to the change, and in the scene of more configuration parameters, tens of seconds are likely to be required for completing one complete whole automobile configuration information transmission, and for a controller only needing specific configuration parameters, the required parameters can be acquired after waiting for the completion of a large number of irrelevant configuration information transmissions. The controller can screen and acquire the required parameters after the transmission of the full configuration information is completed, so that the configuration effective time is greatly prolonged, the execution end controller cannot quickly acquire the required configuration parameters, and further, the situation of lagging function response occurs, namely the response speed of the controller function is influenced, and the vehicle experience of a user is reduced. Disclosure of Invention The embodiment of the application provides a vehicle control method, a system, electronic equipment, a vehicle and a storage medium, wherein a request-on-demand mechanism is adopted to dynamically acquire a target configuration item, so that transmission of redundant data can be avoided, the transmission efficiency of vehicle-mounted configuration information can be obviously improved, and the quick response of an executing end controller can be ensured. In a first aspect, an embodiment of the present application provides a vehicle control method, where the method is applied to a vehicle control system, and the vehicle control system includes a first controller, a second controller, and a third controller, where the first controller is communicatively connected to the second controller and the third controller, respectively, and the method includes: The method comprises the steps that under the condition that the first controller detects that a target function of a vehicle enters an activated state, an acquisition request is sent to the second controller, the acquisition request carries a target configuration parameter identifier, and the target configuration parameter identifier is determined according to the target function; The second controller acquires target configuration items corresponding to the target configuration parameter identifiers from a plurality of pre-acquired configuration items according to the acquisition request, and sends the target configuration items to the first controller; the first controller generates a corresponding vehicle control instruction according to the target configuration item and sends the vehicle control instruction to the third controller; The third controller controls the vehicle according to the vehicle control instruction. In an embodiment of the present application, the plurality of configuration items are stored in a preconfigured first mapping relationship, and the second controller acquires, according to the acquisition request, a target configuration item corresponding to the target configuration parameter identifier from the plurality of configuration items acquired in advance, including: The second controller obtains a target configuration item corresponding to the target configuration parameter identifier from the first mapping relation based on the obtaining request, wherein the first mapping relation comprises a plurality of functions, a plurality of configuration parameter identifiers and configuration items commonly corresponding to each configuration parameter identifier and each function; The second controller sends the ta