Vehicle component control methods, devices and systems
By using the vehicle configuration code to copy component calibration data from the read-only storage area to the random access storage area for control, the problem of large workload and poor scalability when compatible with components from different manufacturers is solved, achieving good scalability and reducing testing workload.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2026-03-13
AI Technical Summary
Existing technologies involve a large workload, poor scalability, and long development cycles when trying to be compatible with vehicle parts from different manufacturers. Furthermore, modifying the controller software introduces a significant amount of testing work.
By obtaining the vehicle configuration code, the calibration data of the target component is copied from the read-only storage area to the random access storage area using the vehicle configuration code. The calibration data in the random access storage area is then used for control, avoiding modification of the control model and data dictionary.
It achieves good scalability while being compatible with components from different manufacturers, reduces testing workload and development cycle, and ensures software quality.
Smart Images

Figure CN118795863B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and more specifically, to a method, apparatus, and system for controlling vehicle components. Background Technology
[0002] In the automotive industry, it's common for the same car model to use parts from different manufacturers. For example, lower-end models might use domestically produced shock absorbers, while higher-end models might use imported ones. To avoid management overhead, the industry standard practice is to use the same controller software to adapt to different parts.
[0003] The conventional approach for the same control software to adapt to different components is to read the vehicle configuration code during the controller startup phase and then reference different component control parameters based on the configuration code. However, this method becomes problematic when there are many component parameters (e.g., there are approximately 2000+ different parameter values between domestic and imported shock absorbers). To ensure compatibility with both types of components, the workload of modifying the model and data dictionary is substantial. Furthermore, each additional component type requires modification to both the model and data dictionary. This results in poor scalability in scenarios with numerous component parameters, and each modification introduces a large amount of testing, thus impacting the controller's development cycle and quality.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This invention provides a method, device, and system for controlling vehicle components, which at least solves the technical problems of large workload, poor scalability, and long development cycle in related technologies.
[0006] According to one embodiment of the present invention, a vehicle component control method is provided, comprising: obtaining a vehicle model configuration code, wherein the vehicle model configuration code is used to determine the control parameters of a target component to be used on a target vehicle, and different components on the target vehicle are from different manufacturers; based on the vehicle model configuration code, copying calibration data of the target component from a first storage area to a second storage area, wherein the calibration data is the calibration control parameters of the target component, the first storage area is used for fixed storage of the calibration data, and the second storage area is used for temporary storage of the calibration data; and controlling the target component using the calibration data stored in the second storage area.
[0007] Optionally, the vehicle component control method further includes: configuring a load address for a first storage area and configuring a run address for a second storage area, wherein the load address is used to download calibration data to the first storage area and the run address is used to run the calibration data in the second storage area.
[0008] Optionally, the vehicle component control method further includes: generating calibration data in response to the completion of control parameter calibration for the target component; and downloading the calibration data to a first storage area for solidification storage based on the loading address.
[0009] Optionally, the first storage area is a read-only storage area, and the second storage area is a random access storage area. Copying the calibration data of the target component from the first storage area to the second storage area based on the vehicle configuration code includes: in response to the vehicle controller of the target vehicle being powered on, selecting calibration data from the read-only storage area based on the vehicle configuration code and the loading address; and copying the calibration data to the second storage area according to the operating address.
[0010] Optionally, the vehicle component control method further includes: acquiring control parameters of multiple components to be used on the target vehicle; performing unified data calibration on the control parameters of the multiple components to obtain calibration results of the multiple components; compiling and linking the calibration results of the multiple components to embed the calibration results of the multiple components into a target executable file; and storing the target executable file in a first storage area.
[0011] Optionally, the control parameters of multiple components are uniformly calibrated to obtain the calibration results of multiple components, including: uniformly calibrating the control parameters of multiple components according to the calibration data solidification and image storage method, and obtaining the calibration results of multiple components.
[0012] Optionally, the vehicle component control method further includes: in response to a change in the control parameters of at least some of the components, recalibrating and modifying the changed control parameters to obtain a new calibration result; and embedding the new calibration result into a target executable file by compiling and linking the new calibration result.
[0013] According to one embodiment of the present invention, a vehicle component control device is also provided, comprising: an acquisition module for acquiring a vehicle model configuration code, wherein the vehicle model configuration code is used to determine the control parameters of a target component to be used on a target vehicle, and different components on the target vehicle originate from different manufacturers; a copy module for copying calibration data of the target component from a first storage area to a second storage area based on the vehicle model configuration code, wherein the calibration data are calibration control parameters of the target component, the first storage area is used for fixed storage of the calibration data, and the second storage area is used for temporary storage of the calibration data; and a control module for controlling the target component using the calibration data stored in the second storage area.
[0014] Optionally, the copy module is also used to configure the load address of the first storage area and the run address of the second storage area, wherein the load address is used to download the calibration data to the first storage area and the run address is used to run the calibration data in the second storage area.
[0015] Optionally, the copy module is also used to generate calibration data in response to the completion of the calibration of the control parameters of the target component; and to download the calibration data to the first storage area for solidification storage based on the load address.
[0016] Optionally, the copy module is also used to select calibration data from the read-only storage area based on the vehicle configuration code and the load address in response to the target vehicle's vehicle controller being powered on; and to copy the calibration data to the second storage area according to the running address.
[0017] Optionally, the device further includes: a calibration module for acquiring control parameters of multiple components to be used on the target vehicle; performing unified data calibration on the control parameters of the multiple components to obtain calibration results of the multiple components; compiling and linking the calibration results of the multiple components to embed the calibration results of the multiple components into a target executable file; and storing the target executable file in a first storage area.
[0018] Optionally, the calibration module is also used to perform unified data calibration on the control parameters of multiple components according to the image storage method of calibration data, so as to obtain the calibration results of multiple components.
[0019] Optionally, the device further includes: an update module, used to recalibrate and modify the changed control parameters in response to changes in the control parameters of at least some of the components among the multiple components, to obtain the changed calibration result; and to embed the changed calibration result into the target executable file by compiling and linking the changed calibration result.
[0020] According to one embodiment of the present invention, a computer-readable storage medium is also provided, wherein the storage medium stores a computer program, wherein the computer program is configured to execute the vehicle component control method described above when run on a computer or processor.
[0021] According to one embodiment of the present invention, a vehicle is also provided, which is used to perform the vehicle component control method described in any of the above claims.
[0022] According to one embodiment of the present invention, a computer program product is also provided, including a computer program that, when executed by a processor, implements the vehicle component control method of the present invention.
[0023] According to one embodiment of the present invention, a system is also provided, comprising: a vehicle controller, a first storage area and a second storage area, the system being used to execute the vehicle component control method of any of the above claims.
[0024] In this embodiment of the invention, a vehicle model configuration code is obtained, which is used to determine the control parameters of the target components to be used on the target vehicle. Different components on the target vehicle come from different manufacturers. Based on the vehicle model configuration code, the calibration data of the target components is copied from a first storage area to a second storage area. The calibration data consists of the calibration control parameters of the target components. The first storage area is used for fixed storage of the calibration data, and the second storage area is used for temporary storage of the calibration data. The technical solution utilizes the calibration data stored in the second storage area to control the target components. Therefore, adding components from different manufacturers does not require modification of the control model and data dictionary, resulting in good scalability. Furthermore, it avoids new testing workload and extended development cycles caused by code modifications, making software quality easier to guarantee. This solves the technical problems of large workload, poor scalability, and long development cycles associated with related technologies. Attached Figure Description
[0025] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:
[0026] Figure 1 This is a flowchart of a vehicle component control method according to an embodiment of the present invention;
[0027] Figure 2 This is a schematic diagram illustrating the adaptation of the same version of control software to an existing conventional practice of a component according to an embodiment of the present invention;
[0028] Figure 3 This is a schematic diagram illustrating the existing conventional practice of adaptive compatibility between the same version of control software and two components according to an embodiment of the present invention;
[0029] Figure 4 This is a schematic diagram of the organization of component control-related parameters according to an embodiment of the present invention;
[0030] Figure 5 This is a schematic diagram illustrating the merging of calibration parameters for components from different manufacturers according to an embodiment of the present invention;
[0031] Figure 6 This is a structural block diagram of a vehicle component control device according to an embodiment of the present invention. Detailed Implementation
[0032] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. In the description of these embodiments, unless otherwise stated, "a plurality of" means two or more. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0034] According to one embodiment of the present invention, an embodiment of a vehicle component control method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0035] This method embodiment can be executed in an electronic device, similar control device, or system that includes a memory and a processor. Taking an electronic device as an example, the electronic device may include one or more processors and a memory for storing data. Optionally, the electronic device may also include a communication device for communication functions and a display device. Those skilled in the art will understand that the above structural description is merely illustrative and does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components than described above, or have a different configuration than described above.
[0036] A processor may include one or more processing units. For example, a processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a field-programmable gate array (FPGA), a neural network processing unit (NPU), a tensor processing unit (TPU), or an artificial intelligence (AI) processor. Different processing units may be independent components or integrated into one or more processors. In some instances, electronic devices may also include one or more processors.
[0037] The memory can be used to store computer programs, such as the computer program corresponding to the vehicle component control method in this embodiment of the invention. The processor implements the aforementioned vehicle component control method by running the computer program stored in the memory. The memory may include high-speed random access memory (RAM) and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to electronic devices via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks (LANs), mobile communication networks, and combinations thereof.
[0038] Communication devices are used to receive or send data via a network. Specific examples of such networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the communication device includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the communication device may be a radio frequency (RF) module used for wireless communication with the Internet.
[0039] The display device can be, for example, a touchscreen liquid crystal display (LCD) and a touch display (also referred to as a "touchscreen" or "touch screen"). This LCD allows the user to interact with the user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), which allows the user to interact with the GUI by touching and / or gesturing on a touch-sensitive surface. Optional human-computer interaction functions include: creating web pages, drawing, word processing, creating electronic documents, playing games, video conferencing, instant messaging, sending and receiving emails, a call interface, playing digital video, playing digital music, and / or web browsing, etc. Executable instructions for performing the above human-computer interaction functions are configured / stored in one or more processor-executable computer program products or readable storage media.
[0040] This embodiment provides a method for controlling vehicle components operating in electronic devices. Figure 1 This is a flowchart of a vehicle component control method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:
[0041] Step S12: Obtain the vehicle configuration code, whereby the vehicle configuration code is used to determine the control parameters of the target parts to be used on the target vehicle. Different parts on the target vehicle come from different manufacturers.
[0042] Step S14: Based on the vehicle configuration code, copy the calibration data of the target component from the first storage area to the second storage area. The calibration data is the calibration control parameters of the target component. The first storage area is used to store the calibration data permanently, and the second storage area is used to store the calibration data temporarily.
[0043] Step S16: Control the target component using the calibration data stored in the second storage area.
[0044] During the controller startup phase, the controller in the electronic device starts running or working, and the equipment system is ready to accept instructions and execute corresponding control operations. The same version of controller software is compatible with different parts by obtaining the vehicle configuration code.
[0045] The vehicle configuration code is a unique identifier for vehicle configuration information, typically consisting of a string of numbers or letters. It represents the vehicle's specific configuration and optional features, helping the owner or dealer of the target vehicle accurately identify vehicle information and determine the control parameters of the target components to be used on the target vehicle. Understandably, the target vehicle can be one requiring compatibility with different components (i.e., the target components), and these different components may originate from different manufacturers.
[0046] Based on the obtained vehicle configuration code, the calibration data of the target component is copied from the first storage area to the second storage area. This calibration data consists of component calibration parameters, which are parameters used to adjust and set automotive components to ensure they achieve optimal performance under normal operating conditions. These parameters typically include sensor sensitivity, controller response time, and actuator range of motion. By adjusting the component calibration parameters, the performance, stability, and safety of the vehicle can be improved.
[0047] The first storage area is the Read-Only Memory (ROM) area, and the second storage area is the Random Access Memory (RAM) area. ROM and RAM are two different types of memory areas in a computer system.
[0048] ROM (Read-Only Memory) stores fixed data, typically used to store system startup programs or fixed data that cannot be modified by the user. RAM (Random Access Memory) stores running programs and data. RAM is volatile, meaning that data stored in it is lost when the computer is powered off. RAM can be read from and written to, allowing users to store temporary data and programs.
[0049] After the calibration data of the target component is copied to the second storage area RAM area, the calibration data stored in the second storage area is used to control the target component in order to realize the starting, adjustment, communication and linkage functions of the target vehicle.
[0050] Based on the above steps, a technical solution is developed that obtains a vehicle configuration code, which is used to determine the control parameters of the target components to be used on the target vehicle. Different components on the target vehicle come from different manufacturers. Based on the vehicle configuration code, calibration data of the target components is copied from a first storage area to a second storage area. This calibration data consists of the calibration control parameters of the target components. The first storage area is used for permanent storage of the calibration data, while the second storage area is used for temporary storage. The technical solution utilizes the calibration data stored in the second storage area to control the target components. This approach allows for the addition of components from different manufacturers without modifying the control model and data dictionary, offering good scalability. Furthermore, it avoids new testing workload and extended development cycles caused by code modifications, making software quality easier to guarantee. This solves the technical problems of high workload, poor scalability, and long development cycles associated with related technologies.
[0051] Optionally, the vehicle component control method further includes step S15, which specifically includes performing the following steps:
[0052] Step S151: Configure the load address of the first storage area and the run address of the second storage area. The load address is used to download the calibration data to the first storage area, and the run address is used to run the calibration data in the second storage area.
[0053] For the data to be calibrated, the load address of the first storage area and the execution address of the second storage area need to be manually configured, namely the load address of the ROM area and the execution address of the RAM area. The load address of the ROM area is fixed. It is usually loaded into a fixed memory address from a fixed ROM chip (a memory chip that can only read data and cannot write data, and the data stored in it is fixed and unchanging, usually used to store fixed program code or data) or a Flash (flash memory) chip (an erasable and programmable memory chip that can write and erase data multiple times, often used to store operating system, firmware and other data that needs to be updated frequently. Flash chips are more flexible than ROM chips, but their write and erase speeds are slower) during system startup. The load address is used to download the calibration data to the first storage area. The execution address of the RAM area is usually in the dynamically allocated space of memory and is used to run the calibration data in the second storage area. The specific address depends on the operating system and the system's memory management strategy, which is not restricted here.
[0054] Optionally, in step S15, the vehicle component control method further includes the following steps:
[0055] Step S152: The control parameters for the target component are calibrated and calibration data is generated.
[0056] Step S153: Based on the loading address, download the calibration data to the first storage area for solidification storage.
[0057] Once the control parameters of the target component are calibrated, calibration data is generated. Based on the load address, this calibration data is downloaded to the first storage area (ROM), thus permanently storing the calibration results to ensure the reliability and stability of the data for subsequent application. Permanent storage is a data storage technology that prevents data from being modified or deleted after it is written to the storage medium. This means that once data is permanently stored, it cannot be modified or tampered with, ensuring data integrity and security. Upon the next startup, the calibration data RAM area is initialized based on the contents of the calibration data ROM area.
[0058] Optionally, in step S14, the first storage area is a read-only storage area, and the second storage area is a random storage area. Copying the calibration data of the target component from the first storage area to the second storage area based on the vehicle configuration code includes performing the following steps:
[0059] Step S141: In response to the target vehicle's vehicle controller being powered on, calibration data is selected from the read-only storage area based on the vehicle configuration code and the load address;
[0060] Step S142: Copy the calibration data to the second storage area according to the running address.
[0061] When the target vehicle's vehicle controller is powered on, meaning it is connected to power and can operate normally and control various vehicle systems and functions, calibration data is selected from the read-only memory (ROM) area based on the vehicle configuration code and load address. Then, the calibration data is copied to the second memory area (RAM) according to the operating address.
[0062] Copying involves moving data from one memory address to another. This is the most common data copying method, typically implemented using memory manipulation instructions. This memory copying can be achieved in several ways, such as byte-based copying, which copies data from the source memory to the target memory byte by byte; block-based copying, which copies data in blocks; DMA (Direct Memory Access) copying, which directly copies data using a DMA controller; memory mapping, which maps a source memory region to a target memory region for fast data copying; incremental copying, which copies only the changed parts; and parallel copying, which uses multiple threads or processes to copy data in parallel, accelerating the copying process. Different copying methods are suitable for different scenarios, and the appropriate method can be selected based on specific needs; no restrictions are imposed here.
[0063] Optionally, the vehicle component control method further includes performing step S13, which specifically includes performing the following steps:
[0064] Step S131: Obtain control parameters for multiple components to be used on the target vehicle;
[0065] Step S132: Perform unified data calibration on the control parameters of multiple components to obtain the calibration results of multiple components;
[0066] Step S133: By compiling and linking the calibration results of multiple components, the calibration results of multiple components are embedded into the target executable file;
[0067] Step S134: Store the target executable file in the first storage area.
[0068] For example, control parameters of multiple components to be used on the target vehicle are extracted, organized together, and standardized. These control parameters are then calibrated to obtain calibration results for each component. These calibration results are then compiled and linked to compile the source code files into a target executable file. During compilation, the compiler translates the source code files into machine code and links the functions and variables from each source code file together to generate the final target executable file. Linking integrates the functions and variables from different source code files, ensuring the program runs correctly. The linking process also resolves function and variable references, ensuring the program correctly calls and uses each function and variable. Finally, the calibration results of the multiple components are embedded into the target executable file, which is then stored in the first storage area.
[0069] An executable file can be understood as a form of controller software. It's a file containing computer program code that can be run directly within an operating system. Typically, an executable file contains binary code and data so that the computer processor can understand and execute the program. The format and structure of an executable file depend on the operating system and programming language. For example, Windows systems usually use executable files with the .EXE extension, while Linux systems use executable files without extensions; this is not a limitation here.
[0070] Optionally, in step S132, the control parameters of multiple components are uniformly calibrated to obtain the calibration results of multiple components, which includes performing the following steps:
[0071] Step S1321: According to the calibration data solidification and image storage method, the control parameters of multiple components are uniformly calibrated to obtain the calibration results of multiple components.
[0072] Calibration data solidified storage images can be understood as calibration data ROM images, which are read-only memory (ROM) image files containing calibration data. ROM images can contain various types of calibration data, such as information on the position and orientation of vehicle sensors, to ensure data accuracy and consistency. ROM images are a file format used for storing, copying, and transferring data from optical discs or USB flash drives. They are typically used to back up or archive optical disc contents, and users can load and use these image files through virtual drives or specific software. For example, by using calibration data solidified storage images, control parameters of multiple components from different manufacturers can be uniformly calibrated, thereby obtaining calibration results for multiple components.
[0073] Optionally, in step S13, the vehicle component control method further includes performing the following steps:
[0074] Step S135: In response to changes in the control parameters of at least some of the multiple components, the changed control parameters are recalibrated and modified to obtain the changed calibration results.
[0075] Step S136: By compiling and linking the modified calibration results, the modified calibration results are embedded into the target executable file.
[0076] For example, when the control parameters of at least some of the components change, the changed control parameters are recalibrated and modified according to the characteristics of the components. Relevant data on the changed control parameters are collected, analyzed, and the control parameters are calibrated based on the analysis results. The system is then modified and adjusted according to the calibrated control parameter values to ensure optimal operation. After modification and adjustment, the system operation is monitored in real time to ensure stable operation, and adjustments are made based on actual conditions to obtain the revised calibration results.
[0077] Furthermore, by compiling and linking the modified calibration results, the modified calibration results are re-embedded into the target executable file. This achieves compatibility with components from different manufacturers by separating the control algorithm from the component parameters and replacing the parameters uniformly, while keeping the algorithm unchanged.
[0078] Figure 2 This is a schematic diagram illustrating the adaptation of the same version of control software to an existing conventional practice for a component according to an embodiment of the present invention, such as... Figure 2 As shown, when the input is a component, the control parameters of the component are obtained based on the data model and data dictionary, and the component is controlled.
[0079] Figure 3 This is a schematic diagram illustrating the adaptive compatibility of the same version of control software with two existing conventional practices for components according to an embodiment of the present invention, as shown below. Figure 3 As shown, when two types of components are input, the data model and data dictionary are modified to obtain the control parameters and configuration parameters of the two types of components respectively. By selecting the control parameter of any component, the component can be controlled so that the system can correctly identify and process compatible components of these two different types.
[0080] Figure 4 This is a schematic diagram of the organization of component control-related parameters according to an embodiment of the present invention, as shown below. Figure 4 As illustrated, the Flash area is a type of ROM (Read-Only Memory) area. Flash areas are typically erasable and rewritable, allowing for repeated writing of new program code or data. For example, a Flash area might contain an application program (APP) that can run on a mobile device and calibration data (CAL). Based on the vehicle configuration code, the calibration data (CAL) of the target component can be copied to a second storage area, the RAM area.
[0081] Figure 5 This is a schematic diagram illustrating the merging of calibration parameters for components from different manufacturers according to an embodiment of the present invention, such as... Figure 5 As shown, taking the Flash area as an example, it contains an application (APP) that can run on mobile devices and calibration data for components from different manufacturers. When there are three different manufacturers (Manufacturer A, Manufacturer B, and Manufacturer C), the calibration data in the Flash area is represented as CAL_A, CAL_B, and CAL_C. Based on the vehicle configuration code, the calibration data of the selected target component can be copied to the second storage area, RAM, via a configuration file.
[0082] In this embodiment of the invention, a vehicle model configuration code is obtained, which is used to determine the control parameters of the target components to be used on the target vehicle. Different components on the target vehicle come from different manufacturers. Based on the vehicle model configuration code, the calibration data of the target components is copied from a first storage area to a second storage area. The calibration data consists of the calibration control parameters of the target components. The first storage area is used for fixed storage of the calibration data, and the second storage area is used for temporary storage of the calibration data. The technical solution utilizes the calibration data stored in the second storage area to control the target components. Therefore, adding components from different manufacturers does not require modification of the control model and data dictionary, resulting in good scalability. Furthermore, it avoids new testing workload and extended development cycles caused by code modifications, making software quality easier to guarantee. This solves the technical problems of large workload, poor scalability, and long development cycles associated with related technologies.
[0083] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0084] This embodiment also provides a vehicle component control device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0085] Figure 6 This is a structural block diagram of a vehicle component control device according to an embodiment of the present invention, such as... Figure 6 As shown, taking a vehicle component control device 60 as an example, the device includes: an acquisition module 62 for acquiring a vehicle model configuration code, wherein the vehicle model configuration code is used to determine the control parameters of a target component to be used on a target vehicle, and different components on the target vehicle come from different manufacturers; a copy module 64 for copying calibration data of the target component from a first storage area to a second storage area based on the vehicle model configuration code, wherein the calibration data is the calibration control parameters of the target component, the first storage area is used for fixed storage of the calibration data, and the second storage area is used for temporary storage of the calibration data; and a control module 66 for controlling the target component using the calibration data stored in the second storage area.
[0086] Optionally, the copy module 64 is also used to configure the load address of the first storage area and the run address of the second storage area, wherein the load address is used to download the calibration data to the first storage area and the run address is used to run the calibration data in the second storage area.
[0087] Optionally, the copy module 64 is also used to generate calibration data in response to the completion of the calibration of the control parameters of the target component; and to download the calibration data to the first storage area for solidification storage based on the load address.
[0088] Optionally, the copy module 64 is also configured to, in response to the target vehicle's vehicle controller being powered on, select calibration data from the read-only storage area based on the vehicle configuration code and the load address; and copy the calibration data to the second storage area according to the running address.
[0089] Optionally, the device further includes: a calibration module for acquiring control parameters of multiple components to be used on the target vehicle; performing unified data calibration on the control parameters of the multiple components to obtain calibration results of the multiple components; compiling and linking the calibration results of the multiple components to embed the calibration results of the multiple components into a target executable file; and storing the target executable file in a first storage area.
[0090] Optionally, the calibration module is also used to perform unified data calibration on the control parameters of multiple components according to the image storage method of calibration data, so as to obtain the calibration results of multiple components.
[0091] Optionally, the device further includes: an update module, used to recalibrate and modify the changed control parameters in response to changes in the control parameters of at least some of the components among the multiple components, to obtain the changed calibration result; and to embed the changed calibration result into the target executable file by compiling and linking the changed calibration result.
[0092] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0093] According to an embodiment of the present invention, a non-volatile storage medium is also provided, the non-volatile storage medium including a stored computer program, wherein the device containing the non-volatile storage medium executes a vehicle component control method by running the computer program.
[0094] Optionally, the device containing the non-volatile storage medium executes the following steps by running the computer program:
[0095] Step S12: Obtain the vehicle configuration code, whereby the vehicle configuration code is used to determine the control parameters of the target parts to be used on the target vehicle. Different parts on the target vehicle come from different manufacturers.
[0096] Step S14: Based on the vehicle configuration code, copy the calibration data of the target component from the first storage area to the second storage area. The calibration data is the calibration control parameters of the target component. The first storage area is used to store the calibration data permanently, and the second storage area is used to store the calibration data temporarily.
[0097] Step S16: Control the target component using the calibration data stored in the second storage area.
[0098] Optionally, the device containing the non-volatile storage medium may also execute the computer program to configure the load address of the first storage area and the run address of the second storage area, wherein the load address is used to download calibration data to the first storage area and the run address is used to run the calibration data in the second storage area.
[0099] Optionally, the device containing the non-volatile storage medium can also execute the computer program to perform the calibration of control parameters for the target component in response, generate calibration data, and download the calibration data to the first storage area for solid-state storage based on the load address.
[0100] Optionally, the device containing the non-volatile storage medium may also execute the following by running the computer program: in response to the vehicle controller of the target vehicle being powered on, it selects calibration data from the read-only storage area based on the vehicle configuration code and the load address; and copies the calibration data to the second storage area according to the running address.
[0101] Optionally, the device containing the non-volatile storage medium may also execute the following by running the computer program: acquiring control parameters of multiple components to be used on the target vehicle; performing unified data calibration on the control parameters of the multiple components to obtain calibration results of the multiple components; compiling and linking the calibration results of the multiple components to embed the calibration results of the multiple components into the target executable file; and storing the target executable file in the first storage area.
[0102] Optionally, the device containing the non-volatile storage medium can also execute the computer program to perform unified data calibration of the control parameters of multiple components by implementing a method of solidifying and storing images according to calibration data, thereby obtaining calibration results for multiple components.
[0103] Optionally, the device containing the non-volatile storage medium can also execute the computer program to perform unified data calibration and modification debugging of the changed control parameters in response to changes in the control parameters of at least some of the multiple components, and obtain the changed calibration result by compiling and linking the changed calibration result into the target executable file.
[0104] According to embodiments of the present invention, a computer program product is also provided, including a computer program, which is executed by a processor through the steps of any of the above method embodiments.
[0105] Step S12: Obtain the vehicle configuration code, whereby the vehicle configuration code is used to determine the control parameters of the target parts to be used on the target vehicle. Different parts on the target vehicle come from different manufacturers.
[0106] Step S14: Based on the vehicle configuration code, copy the calibration data of the target component from the first storage area to the second storage area. The calibration data is the calibration control parameters of the target component. The first storage area is used to store the calibration data permanently, and the second storage area is used to store the calibration data temporarily.
[0107] Step S16: Control the target component using the calibration data stored in the second storage area.
[0108] Optionally, the computer program executed by the processor is also used to configure the load address of the first storage area and the run address of the second storage area, wherein the load address is used to download calibration data to the first storage area and the run address is used to run the calibration data in the second storage area.
[0109] Optionally, the computer program executed by the processor is also used to realize the calibration of the control parameters of the target component in response to the completion of calibration, generate calibration data, and download the calibration data to the first storage area for solidification storage based on the load address.
[0110] Optionally, the computer program executed by the processor is also used to select calibration data from the read-only storage area based on the vehicle configuration code and the load address in response to the vehicle controller of the target vehicle being powered on; and to copy the calibration data to the second storage area according to the running address.
[0111] Optionally, the computer program executed by the processor is also used to acquire control parameters of multiple components to be used on the target vehicle; perform unified data calibration on the control parameters of the multiple components to obtain calibration results of the multiple components; compile and link the calibration results of the multiple components to embed the calibration results of the multiple components into the target executable file; and store the target executable file in the first storage area.
[0112] Optionally, the computer program executed by the processor is also used to perform unified data calibration of the control parameters of multiple components according to the image storage method based on calibration data, and to obtain the calibration results of multiple components.
[0113] Optionally, the computer program executed by the processor is also used to respond to changes in the control parameters of at least some of the components among the multiple components, to recalibrate and modify the changed control parameters to obtain the changed calibration results; and to embed the changed calibration results into the target executable file by compiling and linking the changed calibration results.
[0114] Optionally, in this embodiment, the computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0115] Embodiments of the present invention also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0116] Optionally, in this embodiment, the processor in the above-described electronic device may be configured to run a computer program to perform the following steps:
[0117] Step S12: Obtain the vehicle configuration code, whereby the vehicle configuration code is used to determine the control parameters of the target parts to be used on the target vehicle. Different parts on the target vehicle come from different manufacturers.
[0118] Step S14: Based on the vehicle configuration code, copy the calibration data of the target component from the first storage area to the second storage area. The calibration data is the calibration control parameters of the target component. The first storage area is used to store the calibration data permanently, and the second storage area is used to store the calibration data temporarily.
[0119] Step S16: Control the target component using the calibration data stored in the second storage area.
[0120] Optionally, the processor in the electronic device may also be configured to run a computer program to execute a load address for configuring a first storage area and a run address for configuring a second storage area, wherein the load address is used to download calibration data to the first storage area and the run address is used to run the calibration data in the second storage area.
[0121] Optionally, the processor in the electronic device can also be configured to run a computer program to execute a response to complete the calibration of control parameters for the target component, generate calibration data, and download the calibration data to a first storage area for solid-state storage based on the load address.
[0122] Optionally, the processor in the electronic device may also be configured to run a computer program to perform actions that, in response to the vehicle controller of the target vehicle being powered on, select calibration data from a read-only storage area based on the vehicle configuration code and the load address; and copy the calibration data to a second storage area according to the running address.
[0123] Optionally, the processor in the electronic device may also be configured to run a computer program to perform the following: acquire control parameters of multiple components to be used on the target vehicle; perform unified data calibration on the control parameters of the multiple components to obtain calibration results of the multiple components; compile and link the calibration results of the multiple components to embed the calibration results of the multiple components into the target executable file; and store the target executable file in the first storage area.
[0124] Optionally, the processor in the electronic device can also be configured to run a computer program to perform unified data calibration of the control parameters of multiple components by storing images according to calibration data, thereby obtaining the calibration results of multiple components.
[0125] Optionally, the processor in the electronic device can also be configured to run a computer program to implement a unified data calibration and modification of the changed control parameters in response to changes in the control parameters of at least some of the multiple components, thereby obtaining the changed calibration result; and to embed the changed calibration result into the target executable file by compiling and linking the changed calibration result.
[0126] Embodiments of the present invention also provide a vehicle component control system, including: an vehicle controller, a first storage area, and a second storage area.
[0127] The vehicle controller is used to acquire the vehicle model configuration code, copy the calibration data of the target component to be used on the target vehicle from the first storage area to the second storage area based on the vehicle model configuration code, and control the target component using the calibration data stored in the second storage area. The vehicle model configuration code is used to determine the control parameters of the target component. Different components on the target vehicle come from different manufacturers, and the calibration data are the calibration control parameters of the target component.
[0128] The first storage area is used to permanently store the calibration data.
[0129] The second storage area is used for temporary storage of calibration data.
[0130] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0131] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0132] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0133] In the several embodiments provided by this invention, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection can be through some interfaces; the indirect coupling or communication connection of units or modules can be electrical or other forms.
[0134] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0135] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0136] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0137] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for controlling vehicle components, characterized in that, include: Obtain the vehicle configuration code, wherein the vehicle configuration code is used to determine the control parameters of the target parts to be used on the target vehicle, and the different parts on the target vehicle come from different manufacturers; Based on the vehicle configuration code, the calibration data of the target component is copied from the first storage area to the second storage area. The calibration data is the calibration control parameters of the target component. The first storage area is used to store the calibration data permanently, and the second storage area is used to store the calibration data temporarily. The target component is controlled using the calibration data stored in the second storage area; The vehicle component control method further includes: acquiring control parameters of multiple components to be used on the target vehicle; performing unified data calibration on the control parameters of the multiple components to obtain calibration results of the multiple components; compiling and linking the calibration results of the multiple components to embed the calibration results of the multiple components into a target executable file; and storing the target executable file in the first storage area. The vehicle component control method further includes: responding to changes in the control parameters of at least some of the multiple components, recalibrating and modifying the changed control parameters to obtain a revised calibration result; and embedding the revised calibration result into the target executable file by compiling and linking the revised calibration result.
2. The vehicle component control method according to claim 1, characterized in that, The vehicle component control method also includes: Configure the load address of the first storage area and configure the run address of the second storage area, wherein the load address is used to download the calibration data to the first storage area, and the run address is used to run the calibration data in the second storage area.
3. The vehicle component control method according to claim 2, characterized in that, The vehicle component control method also includes: Upon completion of the calibration of the control parameters for the target component, the calibration data is generated. The calibration data is downloaded to the first storage area based on the loading address and then stored permanently.
4. The vehicle component control method according to claim 2, characterized in that, The first storage area is a read-only storage area, and the second storage area is a random access storage area. Copying the calibration data of the target component from the first storage area to the second storage area based on the vehicle configuration code includes: In response to the vehicle controller of the target vehicle being powered on, the calibration data is selected from the read-only storage area based on the vehicle configuration code and the load address; The calibration data is copied to the second storage area according to the running address.
5. The vehicle component control method according to claim 1, characterized in that, The control parameters of the multiple components are uniformly calibrated to obtain the calibration results of the multiple components, including: By using the calibration data to solidify and store images, the control parameters of the multiple components are uniformly calibrated to obtain the calibration results of the multiple components.
6. A vehicle component control device, characterized in that, include: The acquisition module is used to acquire the vehicle configuration code, wherein the vehicle configuration code is used to determine the control parameters of the target parts to be used on the target vehicle, and the different parts on the target vehicle come from different manufacturers; The copy module is used to copy the calibration data of the target component from the first storage area to the second storage area based on the vehicle configuration code. The calibration data is the calibration control parameters of the target component. The first storage area is used to permanently store the calibration data, and the second storage area is used to temporarily store the calibration data. The control module is used to control the target component using the calibration data stored in the second storage area; The device is further configured to acquire control parameters of multiple components to be used on the target vehicle; perform unified data calibration on the control parameters of the multiple components to obtain calibration results of the multiple components; embed the calibration results of the multiple components into a target executable file by compiling and linking the calibration results of the multiple components; and store the target executable file in the first storage area. The device is further configured to, in response to a change in the control parameters of at least some of the multiple components, recalibrate and modify the changed control parameters to obtain a new calibration result; and embed the new calibration result into the target executable file by compiling and linking the new calibration result.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the vehicle component control method according to any one of claims 1 to 5 when run by a processor.
8. A vehicle comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the vehicle component control method according to any one of claims 1 to 5.
9. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the vehicle component control method as described in any one of claims 1 to 5.
10. A vehicle component control system, characterized in that, include: Automotive controller, first storage area, and second storage area; The vehicle controller is used to acquire a vehicle configuration code, copy calibration data of the target component to be used on the target vehicle from the first storage area to the second storage area based on the vehicle configuration code, and control the target component using the calibration data stored in the second storage area. The vehicle configuration code is used to determine the control parameters of the target component. Different components on the target vehicle come from different manufacturers, and the calibration data are the calibration control parameters of the target component. The first storage area is used to permanently store the calibration data; The second storage area is used for temporary storage of the calibration data; The system is further configured to acquire control parameters of multiple components to be used on the target vehicle; perform unified data calibration on the control parameters of the multiple components to obtain calibration results of the multiple components; embed the calibration results of the multiple components into a target executable file by compiling and linking the calibration results of the multiple components; and store the target executable file in the first storage area. The system is further configured to respond to changes in the control parameters of at least some of the multiple components, and to recalibrate and modify the changed control parameters to obtain a new calibration result; and to embed the new calibration result into the target executable file by compiling and linking the new calibration result.
Citation Information
Patent Citations
System and method for controlling motor vehicle functional components
CN101624052A