CN117950754A - Vehicle function selecting and installing method, device, equipment and storage medium - Google Patents

Vehicle function selecting and installing method, device, equipment and storage medium Download PDF

Info

Publication number
CN117950754A
CN117950754A CN202410151467.XA CN202410151467A CN117950754A CN 117950754 A CN117950754 A CN 117950754A CN 202410151467 A CN202410151467 A CN 202410151467A CN 117950754 A CN117950754 A CN 117950754A
Authority
CN
China
Prior art keywords
function
configuration
vehicle
file
functions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410151467.XA
Other languages
Chinese (zh)
Inventor
王向辉
潘利辉
康鹏
袁华明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Yizhen Automobile Research and Development Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Yizhen Automobile Research and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Geely Holding Group Co Ltd, Zhejiang Yizhen Automobile Research and Development Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202410151467.XA priority Critical patent/CN117950754A/en
Publication of CN117950754A publication Critical patent/CN117950754A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application discloses a vehicle function selecting and installing method, device, equipment and storage medium, and belongs to the technical field of automobiles. The method comprises the steps of reading a configuration file set when leaving a factory and a function requirement sent by a vehicle host, wherein the function requirement is determined by the vehicle host based on configuration required by a user; setting corresponding adjustment files based on the function requirements and the configuration files, wherein the configuration files contain information required for setting variants of all configuration functions; the adjustment file is broadcast and sent to a preset whole bus for various ECU devices on the whole bus to adjust functions based on the adjustment file.

Description

Vehicle function selecting and installing method, device, equipment and storage medium
Technical Field
The present application relates to the field of automobiles, and in particular, to a method, apparatus, device, and storage medium for selecting and installing functions of a vehicle.
Background
Along with the development of economy and science, the demands of people on the personalized functions of vehicles are continuously improved, and in order to meet the demands of people on the personalized functions of vehicles, vehicle enterprises are provided with more and more optional functions, so that the number of varieties of the same function in the vehicles is exponentially increased.
In order to adapt to the variation of the same function in the vehicle, host manufacturers at home and abroad need to re-develop the software of the vehicle controller, and when setting the variation of different functions, the software of different versions needs to be used for realizing, so that the development cost of the vehicle controller is high.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present application and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The application mainly aims to provide a vehicle function selecting and installing method, device, equipment and storage medium, and aims to solve the technical problem of high development and management cost of a vehicle controller in the prior art.
In order to achieve the above object, the present application provides a vehicle function selecting and installing method, comprising the steps of:
Reading a configuration file set when leaving a factory and a function requirement sent by a vehicle host, wherein the function requirement is determined by the vehicle host based on configuration required by a user;
Setting corresponding adjustment files based on the function requirements and the configuration files, wherein the configuration files contain information required for setting variants of all configuration functions;
And broadcasting and sending the adjustment file to a preset whole bus so that various ECU equipment on the whole bus can adjust the function based on the adjustment file.
Optionally, before the step of reading the configuration file set at the factory and the function requirement sent by the host computer of the vehicle, the method includes:
acquiring all the configuration functions which can be changed, and numbering the configuration functions one by one to obtain function parameter values;
packaging and outputting ECU equipment information and function parameter values related to the variation of the configuration function into a configuration file;
And writing the configuration file into the whole vehicle controller so that the whole vehicle controller can adjust the corresponding adjustment file based on the content in the configuration file to realize the selection of the vehicle functions.
Optionally, the step of obtaining all the configuration functions that can be changed, and numbering the changes of the configuration functions one by one to obtain the function parameter value includes:
reading all configuration functions with variant demands, numbering all configuration functions with variant demands, and obtaining function parameters;
all the variant configurations of the functional parameters are arranged, combined and numbered to obtain the functional parameter values.
Optionally, the step of packaging and outputting the ECU device information and the function parameter values related to the variation of the configuration function as a configuration file includes:
Reading whether the ECU equipment parameters needing to be changed exist in all the prior configuration functions one by one, and if so, acquiring the ECU equipment parameters needing to be changed and corresponding function parameter values;
and correlating the ECU equipment parameters which need to be changed with the corresponding functional parameters, and combining and outputting all correlated data into a configuration file.
Optionally, the step of setting a corresponding adjustment file based on the function requirement and the configuration file includes:
Reading a configuration file;
Determining a function parameter value based on the function requirement and the configuration file;
And setting a corresponding adjustment file based on the function parameter value and the configuration file.
Optionally, the step of determining a function parameter value based on the function requirement and the configuration file includes:
determining a variant of the configuration function based on the function requirement;
based on the variation of the configuration function, the function parameter value corresponding to the variation of the configuration function is searched in the configuration file.
Optionally, the step of setting a corresponding adjustment file based on the function parameter value and the configuration file includes:
Searching configuration data corresponding to the parameter values in the configuration file based on the function parameter values;
Setting equipment information of ECU equipment to be adjusted and a parameter adjustment target of the ECU equipment based on the ECU equipment information and the parameter in the configuration data;
And packaging the equipment information and the parameter adjustment target and outputting the packaged equipment information and the parameter adjustment target as an adjustment file.
In addition, to achieve the above object, the present application also provides a vehicle function selecting device, the device comprising:
The reading module is used for reading a configuration file set when leaving a factory and a function requirement sent by the vehicle host, wherein the function requirement is determined by the vehicle host based on the configuration required by a user;
the setting module is used for setting corresponding adjustment files based on the function requirements and the configuration files, wherein the configuration files contain information required by setting all varieties of configuration functions;
And the sending module is used for broadcasting and sending the adjustment file to a preset whole bus so that various ECU equipment on the whole bus can adjust the function based on the adjustment file.
In addition, to achieve the above object, the present application also provides a vehicle function selecting apparatus, the apparatus comprising: a memory, a processor, and a vehicle function selection program stored on the memory and executable on the processor, the vehicle function selection program configured to implement the steps of the vehicle function selection method as described above.
In addition, in order to achieve the above object, the present application also provides a storage medium having stored thereon a vehicle function selecting program which, when executed by a processor, implements the steps of the vehicle function selecting method as described above.
Compared with the problem that development and management costs of a vehicle controller are high because different versions of software are needed to be used for realizing when different functional varieties are set in the related technology, the method and the device for selecting and installing the functions of the vehicle are provided by the application, and the method and the device for selecting and installing the functions of the vehicle are characterized in that the function requirements are determined by the vehicle host based on the configuration required by a user by reading configuration files set when leaving a factory and the function requirements sent by the vehicle host; setting corresponding adjustment files based on the function requirements and the configuration files, wherein the configuration files contain information required for setting variants of all configuration functions; the method comprises the steps of broadcasting and sending the adjustment file to a preset whole bus for various ECU devices on the whole bus to adjust functions based on the adjustment file, and can be understood that the method packages information required by the variety setting all the configuration functions into the configuration file and stores the configuration file in the local storage of the whole bus controller when the software is developed, so that the software with the same version can be used for realizing the variety setting of different functions, and the problem of high development cost of the vehicle controller in the prior art is solved.
Drawings
FIG. 1 is a schematic diagram of a vehicle function selection device in a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a flow chart of a first embodiment of a vehicle function selection method according to the present application;
FIG. 3 is a schematic view of a vehicle function selection method according to the present application;
FIG. 4 is a flow chart of a second embodiment of a vehicle function selection method according to the present application;
FIG. 5 is a schematic diagram of a scenario of pairing functions and functional parameters of a vehicle function selection method of the present application;
Fig. 6 is a block diagram showing the structure of the vehicle function selecting device of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the element defined by the phrase "comprising one … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element, and furthermore, elements having the same name in different embodiments of the application may have the same meaning or may have different meanings, the particular meaning of which is to be determined by its interpretation in this particular embodiment or by further combining the context of this particular embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" depending on the context. Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, steps, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, steps, operations, elements, components, items, categories, and/or groups. The terms "or", "and/or", "including at least one of", and the like, as used herein, may be construed as inclusive, or mean any one or any combination. For example, "including at least one of: A. b, C "means" any one of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C ", again as examples," A, B or C "or" A, B and/or C "means" any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C). An exception to this definition will occur only when a combination of elements, functions, steps or operations are in some way inherently mutually exclusive.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should be noted that, in this document, step numbers such as S10 and S20 are adopted, and the purpose of the present application is to more clearly and briefly describe the corresponding content, and not to constitute a substantial limitation on the sequence, and those skilled in the art may execute S20 first and then execute S10 when implementing the present application, which is within the scope of protection of the present application.
In the following description, suffixes such as "module", "part" or "unit" for representing elements are used only for facilitating the description of the present application, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a vehicle function selecting device in a hardware running environment according to an embodiment of the present application.
As shown in fig. 1, the vehicle function selecting apparatus may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a wireless FIdelity (WI-FI) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the vehicle function selection device, and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a data storage module, a network communication module, a user interface module, and a vehicle function selection program may be included in the memory 1005 as one type of storage medium.
In the vehicle function selecting device shown in fig. 1, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the vehicle function selecting apparatus of the present application may be provided in the vehicle function selecting apparatus, which invokes the vehicle function selecting program stored in the memory 1005 through the processor 1001 and executes the vehicle function selecting method provided by the embodiment of the present application.
An embodiment of the present application provides a vehicle function selecting and installing method, referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the vehicle function selecting and installing method of the present application.
The method execution main body of the embodiment is vehicle function selecting equipment, which may be equipment with data processing capability such as a vehicle controller or a terminal, and the application is not limited in particular.
The following specifically describes a vehicle controller as a vehicle function selecting device.
It can be understood that in the prior art, in order to adapt to the variation of the same function in the vehicle, host manufacturers at home and abroad need to redevelop software of the vehicle controller, and software of different versions need to be used for realizing when setting variation of different functions, so that development cost of the vehicle controller is high; setting corresponding adjustment files based on the function requirements and the configuration files, wherein the configuration files contain information required for setting variants of all configuration functions, and the configuration files are obtained by setting during software development; the method comprises the steps of broadcasting and sending the adjustment file to a preset whole bus for various ECU devices on the whole bus to adjust functions based on the adjustment file, and can be understood that the method packages information required by the variety setting all the configuration functions into the configuration file and stores the configuration file in the local storage of the whole bus controller when the software is developed, so that the software with the same version can be used for realizing the variety setting of different functions, and the problem of high development cost of the vehicle controller in the prior art is solved.
The English of the ECU equipment is called Electronic Control Unit, and is translated into an electronic control unit, namely a driving computer or a vehicle-mounted computer, and the ECU equipment is composed of a Microprocessor (MCU), a memory (ROM/RAM), an input/output interface (I/O), a data converter (A/D), and large-scale integrated circuits such as shaping, driving and the like, like a common computer.
It should be understood that the working voltage range of the ECU device is generally between 6.5 and 16V (a voltage stabilizing device is arranged at an internal key position), the working current is between 0.015 and 0.1A, and the working temperature is between minus 40 and minus 80 ℃, so that the ECU device can bear vibration below 1000Hz, and the probability of damage of the ECU device is very small, wherein the CPU is a core part in the ECU device and has the functions of budget and control, and when an engine is running, signals of all sensors are collected and calculated, and then the result of calculation is converted into a control signal to control various devices in the vehicle.
It can be understood that in the prior art, the RAM can record data in the running process of the automobile continuously, the data are used as learning data of the ECU, and the data such as the opening and closing degree of an accelerator and the braking stroke in the ECU equipment are adjusted to adapt to the driving habit of an automobile owner and provide an optimal control state, but because the learning data are stored in the RAM, like error codes, the learning data are lost when the power supply of an engine is turned off or the ECU is turned off, the learning data can be stored in a configuration file at the same time, and when the engine is started or the ECU equipment is started, the whole automobile controller can broadcast the learning data and the configuration information carried by the configuration file to the whole automobile bus, the ECU equipment can grasp the configuration information in the whole automobile bus to change the configuration, and also grasp the learning data to adapt to the driving habit of the automobile owner and give the optimal driving experience to the automobile owner.
In this embodiment, the vehicle function selecting method includes:
Step S10: and reading configuration files set when leaving the factory and function requirements sent by a host machine of the vehicle.
In a specific implementation, the vehicle function selecting device reads a configuration file set at the factory and a function requirement sent by a vehicle host, wherein the function requirement is determined by the vehicle host based on the configuration required by a user.
It should be noted that the function requirement includes a function, a function variant, or an OTA upgrade package related to the option.
It can be understood that the overall name of the OTA upgrade is Overtheair, and the automobile OTA upgrade is just like a smart phone, and the performance of the vehicle is improved or the bug is repaired by on-line upgrade of the vehicle-mounted computer, so that the performance of the vehicle is improved or the bug is filled.
It should be noted that the english translation of the bug is a bug, the bug is a term of art in the computer field, is a defect in hardware, software, protocol and system security policy of a computer, and enables an attacker to access the bug without authorization, the bug is a fault caused by that a programmer in the united states finds out that only the moth is clamped in a contact after debugging a device, so the designer refers to the program fault as bug in harmony, and is also referred to as professional jargon in the computer field, and is used for referring to a bug and a defect in software or a program.
Step S20: and setting corresponding adjustment files based on the function requirements and the configuration files.
In a specific implementation, the vehicle function selecting device sets a corresponding adjustment file based on the function requirement and the configuration file, wherein the configuration file contains information required for setting variants of all configuration functions.
The step of setting a corresponding adjustment file based on the function requirement and the configuration file specifically includes:
step S21: and reading the configuration file.
In a specific implementation, the vehicle function selection device reads the configuration file.
Step S22: based on the functional requirements and the configuration file, a functional parameter value is determined.
In a specific implementation, the vehicle function selecting device reads the association relation between the function variation and the function parameter value in the configuration file based on the function requirement, and determines the function parameter value.
Wherein, the step of determining the function parameter value based on the function requirement and the configuration file specifically includes:
step S221: based on the functional requirements, a variant of the configuration function is determined.
In a specific implementation, the vehicle function selection device determines a variation of the configuration function based on the function requirement.
Step S222: based on the variation of the configuration function, the function parameter value corresponding to the variation of the configuration function is searched in the configuration file.
In a specific implementation, the vehicle function selecting device searches a function parameter value corresponding to the variation of the configuration function in a configuration file based on the association relation between the variation of the configuration function and the function parameter value.
Step S23: and setting a corresponding adjustment file based on the function parameter value and the configuration file.
In a specific implementation, the vehicle function selecting and installing device sets a corresponding adjustment file based on the configuration file corresponding to the function parameter value.
The step of setting a corresponding adjustment file based on the function parameter value and the configuration file specifically includes:
Step S231: and searching configuration data corresponding to the parameter values in the configuration file based on the function parameter values.
In a specific implementation, the vehicle function selecting device searches configuration data corresponding to the parameter value in the configuration file based on the function parameter value.
Step S232: setting equipment information of the ECU equipment to be adjusted and a parameter adjustment target of the ECU equipment based on the ECU equipment information and the parameter in the configuration data.
In a specific implementation, the vehicle function selecting device sets device information of the ECU device to be adjusted and a parameter adjustment target of the ECU device based on the ECU device information and the parameter in the configuration data.
Step S233: and packaging the equipment information and the parameter adjustment target and outputting the packaged equipment information and the parameter adjustment target as an adjustment file.
In a specific implementation, the vehicle function selecting device packages and outputs the device information and the parameter adjustment target as an adjustment file.
Step S30: and broadcasting and sending the adjustment file to a preset whole bus so that various ECU equipment on the whole bus can adjust the function based on the adjustment file.
In a specific implementation, the vehicle function selecting device sends the adjustment file broadcast to a preset whole vehicle bus so that various ECU devices on the whole vehicle bus can adjust the functions based on the adjustment file.
It should be noted that, the whole bus is only used for transmitting data, the ECU device determines whether the ECU device needs to be adjusted based on the adjustment file after capturing the data on the whole bus, and if so, adjusts the parameters corresponding to the ECU device to the target parameters in the adjustment file.
It should be noted that, as shown in fig. 3, after a user selects or purchases a corresponding function or a corresponding function variant, the corresponding function variant is set through the vehicle host, the vehicle host sends the function requirement to the vehicle controller through a bus message, the vehicle controller reads a configuration file and searches a function parameter value based on the function requirement sent by the vehicle host, sets a corresponding adjustment file based on equipment information and a parameter adjustment target corresponding to the function parameter value, finally broadcasts the adjustment file to the vehicle bus, the ECU equipment (ECU 1, ECU2 and ECU n) acquires the adjustment file in the vehicle bus, and then judges whether the adjustment file affects the parameters of the ECU equipment, if not, no operation is performed, if not, the parameter in the ECU equipment is adjusted by using the parameter adjustment target, so as to realize the selection of the vehicle function.
Compared with the problem that development and management costs of a vehicle controller are high because different versions of software are needed to be used for realizing when different functional varieties are set in the related technology, in the embodiment, the method and the device for selecting the functions of the vehicle are characterized in that the configuration files set when leaving the factory and the function requirements sent by a vehicle host are read, wherein the function requirements are determined by the vehicle host based on the configuration required by a user; setting corresponding adjustment files based on the function requirements and the configuration files, wherein the configuration files contain information required for setting variants of all configuration functions, and the configuration files are obtained by setting during software development; the method comprises the steps of broadcasting and sending the adjustment file to a preset whole bus for various ECU devices on the whole bus to adjust functions based on the adjustment file, and can be understood that the method packages information required by the variety setting all the configuration functions into the configuration file and stores the configuration file in the local storage of the whole bus controller when the software is developed, so that the software with the same version can be used for realizing the variety setting of different functions, and the problem of high development cost of the vehicle controller in the prior art is solved.
The second embodiment of the present application provides a vehicle function selecting and installing method, referring to fig. 4, before the step S10, the vehicle function selecting and installing method specifically includes steps a10-a30:
Step A10: and acquiring all the configuration functions which can be changed, and numbering the varieties of the configuration functions one by one to obtain the function parameter value.
In a specific implementation, the vehicle function selecting device acquires all the configuration functions which can be changed, and obtains function parameter values by numbering the changes of the configuration functions one by one.
The step of obtaining all the configuration functions capable of being changed, and numbering the configuration functions one by one to obtain function parameter values specifically comprises the following steps:
Step A11: reading all configuration functions with variant demands, numbering all configuration functions with variant demands, and obtaining function parameters.
In a specific implementation, the vehicle function selecting device reads all the configuration functions with the variant demands, and numbers the configuration functions with the variant demands to obtain the function parameters.
Step A12: all the variant configurations of the functional parameters are arranged, combined and numbered to obtain the functional parameter values.
In a specific implementation, the vehicle function selecting device arranges and numbers all the variants of the function parameters to obtain the function parameter values.
For example, as shown in fig. 5, the functions with the variant demands are listed separately according to the demands, for example, function 1, function 2, function 3 …, function n are all functions with the variant demands; numbering corresponding functions, such as function parameter 1, function parameter 2, function parameter 3 … and function parameter n, wherein the function parameters correspond to function 1, function 2 and function 3 … respectively; then, designing functional varieties according to the variety number of each function, for example, variety 1, variety 2 and variety 3 … varieties n of the function 1, which are all functional varieties of the function 1; the corresponding functional variants are then assigned to the functional parameter values, for example 1V1, 1V2, 1V3 … V1 vn, which are the functional parameter values of variant 1, variant 2, variant 3 … variant n of function 1, according to the functional variant requirements.
Step A20: and packaging and outputting the ECU equipment information and the function parameter values related to the variation of the configuration function into a configuration file.
In a specific implementation, the vehicle function selecting device packages and outputs the ECU device information and the function parameter values related to the variation of the configuration function as a configuration file.
The step of packaging and outputting the ECU equipment information and the function parameter values related to the variation of the configuration function into a configuration file specifically comprises the following steps:
step A21: and reading whether the ECU equipment parameters needing to be changed exist in all the prior configuration functions one by one, and if so, acquiring the ECU equipment parameters needing to be changed and corresponding function parameter values.
In a specific implementation, the vehicle function selecting device reads whether the ECU equipment parameters needing to be changed exist in all the prior configuration functions one by one, and if so, acquires the ECU equipment parameters needing to be changed and corresponding function parameter values.
Step A22: and correlating the ECU equipment parameters which need to be changed with the corresponding functional parameters, and combining and outputting all correlated data into a configuration file.
In a specific implementation, the vehicle function selecting and installing device associates the ECU equipment parameters needing to be changed with the corresponding function parameters, and outputs all the data combinations with the associated functions as configuration files.
Step A30: and writing the configuration file into the whole vehicle controller so that the whole vehicle controller can adjust the corresponding adjustment file based on the content in the configuration file to realize the selection of the vehicle functions.
In a specific implementation, the vehicle function selecting and installing device writes the configuration file into the whole vehicle controller so that the whole vehicle controller can adjust the corresponding adjustment file based on the content in the configuration file to realize the selecting and installing of the vehicle function.
In this embodiment, the present application obtains the function parameter value by obtaining all the configuration functions that can be changed, and numbering the changes of the configuration functions one by one; packaging and outputting ECU equipment information and function parameter values related to the variation of the configuration function into a configuration file; the configuration file is written into the whole vehicle controller so that the whole vehicle controller can adjust the corresponding adjustment file based on the content in the configuration file to realize the optional loading of the vehicle function.
In addition, an embodiment of the present application further provides a vehicle function selecting device, referring to fig. 6, the vehicle function selecting device includes:
The reading module 10 is used for reading a configuration file set at the factory and a function requirement sent by the vehicle host, wherein the function requirement is determined by the vehicle host based on the configuration required by a user;
A setting module 20, configured to set a corresponding adjustment file based on the function requirement and the configuration file, where the configuration file contains information required for setting all variants of the configuration function;
and the sending module 30 is used for broadcasting and sending the adjustment file to a preset whole bus so that various ECU devices on the whole bus can adjust functions based on the adjustment file.
Optionally, the setting module 20 includes:
The first reading unit is used for reading the configuration file;
a determining unit, configured to determine a function parameter value based on the function requirement and the configuration file;
And the setting unit is used for setting corresponding adjustment files based on the function parameter values and the configuration files.
Optionally, the determining unit includes:
a determining subunit for determining a variant of the configuration function based on the function requirement;
And the first searching subunit is used for searching the function parameter value corresponding to the variation of the configuration function in the configuration file based on the variation of the configuration function.
Optionally, the setting unit includes:
The second searching subunit is used for searching configuration data corresponding to the parameter values in the configuration file based on the functional parameter values;
A setting subunit, configured to set, based on the ECU device information and the parameters in the configuration data, device information of the ECU device to be adjusted and a parameter adjustment target of the ECU device;
and the output subunit is used for packaging the equipment information and the parameter adjustment target and outputting the packaged equipment information and the parameter adjustment target as an adjustment file.
Optionally, the vehicle function selecting device further includes:
The numbering module is used for acquiring all the configuration functions which can be changed, and numbering the changes of the configuration functions one by one to obtain function parameter values;
The output module is used for packaging and outputting the ECU equipment information and the function parameter values related to the variation of the configuration function into a configuration file;
and the writing module is used for writing the configuration file into the whole vehicle controller so that the whole vehicle controller can adjust the corresponding adjustment file based on the content in the configuration file to realize the optional installation of the vehicle function.
Optionally, the numbering module includes:
The numbering unit is used for reading all configuration functions with variant requirements and numbering all the configuration functions with variant requirements to obtain functional parameters;
and the combination unit is used for arranging, combining and numbering all the variant configurations of the functional parameters to obtain the functional parameter values.
Optionally, the output module includes:
The second reading unit is used for reading whether the ECU equipment parameters needing to be changed exist in all the prior configuration functions one by one, and if so, acquiring the ECU equipment parameters needing to be changed and corresponding function parameter values;
and the association unit is used for associating the ECU equipment parameters which need to be changed with the corresponding functional parameters and outputting all the data combinations which are associated as configuration files.
The specific implementation manner of the vehicle function selecting device of the present application is basically the same as the above embodiments of the vehicle function selecting method, and will not be described herein again.
Embodiments of the present application provide a storage medium, and the storage medium stores one or more programs, which are further executable by one or more processors for implementing the steps of the vehicle function selecting method described in any one of the above.
The specific implementation manner of the storage medium of the present application is basically the same as that of each embodiment of the above-mentioned vehicle function selecting and installing method, and will not be repeated here.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A vehicle function selecting and installing method, characterized in that the vehicle function selecting and installing method comprises the following steps:
Reading a configuration file set when leaving a factory and a function requirement sent by a vehicle host, wherein the function requirement is determined by the vehicle host based on configuration required by a user;
Setting corresponding adjustment files based on the function requirements and the configuration files, wherein the configuration files contain information required for setting variants of all configuration functions;
And broadcasting and sending the adjustment file to a preset whole bus so that various ECU equipment on the whole bus can adjust the function based on the adjustment file.
2. The vehicle function selecting and installing method according to claim 1, wherein before the step of reading a profile set at the time of shipment and a function requirement transmitted from a host computer of the vehicle, the method comprises:
acquiring all the configuration functions which can be changed, and numbering the configuration functions one by one to obtain function parameter values;
packaging and outputting ECU equipment information and function parameter values related to the variation of the configuration function into a configuration file;
And writing the configuration file into the whole vehicle controller so that the whole vehicle controller can adjust the corresponding adjustment file based on the content in the configuration file to realize the selection of the vehicle functions.
3. The vehicle function selecting and installing method according to claim 2, wherein said step of acquiring all the configuration functions that can be changed, and numbering the changes of the configuration functions one by one to obtain the function parameter values, comprises:
reading all configuration functions with variant demands, numbering all configuration functions with variant demands, and obtaining function parameters;
all the variant configurations of the functional parameters are arranged, combined and numbered to obtain the functional parameter values.
4. The vehicle function selecting and installing method according to claim 2, wherein said step of packaging and outputting ECU device information and function parameter values related to a variation of the configuration function as a configuration file includes:
Reading whether the ECU equipment parameters needing to be changed exist in all the prior configuration functions one by one, and if so, acquiring the ECU equipment parameters needing to be changed and corresponding function parameter values;
and correlating the ECU equipment parameters which need to be changed with the corresponding functional parameters, and combining and outputting all correlated data into a configuration file.
5. The vehicle function selecting and installing method according to claim 1, wherein the step of setting the corresponding adjustment file based on the function requirement and the configuration file includes:
Reading a configuration file;
Determining a function parameter value based on the function requirement and the configuration file;
And setting a corresponding adjustment file based on the function parameter value and the configuration file.
6. The vehicle function selecting method according to claim 5, wherein the step of determining a function parameter value based on the function requirement and the profile includes:
determining a variant of the configuration function based on the function requirement;
based on the variation of the configuration function, the function parameter value corresponding to the variation of the configuration function is searched in the configuration file.
7. The vehicle function selecting method according to claim 5, wherein the step of setting the corresponding adjustment file based on the function parameter value and the configuration file includes:
Searching configuration data corresponding to the parameter values in the configuration file based on the function parameter values;
Setting equipment information of ECU equipment to be adjusted and a parameter adjustment target of the ECU equipment based on the ECU equipment information and the parameter in the configuration data;
And packaging the equipment information and the parameter adjustment target and outputting the packaged equipment information and the parameter adjustment target as an adjustment file.
8. A vehicle function selecting apparatus, characterized by comprising:
The reading module is used for reading a configuration file set when leaving a factory and a function requirement sent by the vehicle host, wherein the function requirement is determined by the vehicle host based on the configuration required by a user;
the setting module is used for setting corresponding adjustment files based on the function requirements and the configuration files, wherein the configuration files contain information required by setting all varieties of configuration functions;
And the sending module is used for broadcasting and sending the adjustment file to a preset whole bus so that various ECU equipment on the whole bus can adjust the function based on the adjustment file.
9. A vehicle function selecting apparatus, characterized by comprising: a memory, a processor and a vehicle function selection program stored on the memory and operable on the processor, the vehicle function selection program being configured to implement the steps of the vehicle function selection method of any one of claims 1 to 7.
10. A storage medium having stored thereon a vehicle function selection program which, when executed by a processor, implements the steps of the vehicle function selection method according to any one of claims 1 to 7.
CN202410151467.XA 2024-02-02 2024-02-02 Vehicle function selecting and installing method, device, equipment and storage medium Pending CN117950754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410151467.XA CN117950754A (en) 2024-02-02 2024-02-02 Vehicle function selecting and installing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410151467.XA CN117950754A (en) 2024-02-02 2024-02-02 Vehicle function selecting and installing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117950754A true CN117950754A (en) 2024-04-30

Family

ID=90798177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410151467.XA Pending CN117950754A (en) 2024-02-02 2024-02-02 Vehicle function selecting and installing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117950754A (en)

Similar Documents

Publication Publication Date Title
US8719810B2 (en) Program upgrade system and method for over the air-capable mobile terminal
CN103064403B (en) A kind of ECU hardware-in-loop simulation automated testing method and system
US11314755B2 (en) System and method for accessing vehicle communication applications requiring vehicle identification without re-entering vehicle identification
CN106126397A (en) The processing method of program crashing message and system
US10261773B2 (en) Information processing device, information processing method, and computer readable medium
WO2019052482A1 (en) Data sharing method, data sharing device, and mobile terminal
CN115167831A (en) Software integration method and device based on AUTOSAR and use method
US11327739B2 (en) Method and apparatus for improving runtime performance after application update in electronic device
CN111694572A (en) Code format conversion method, device, computer equipment and storage medium
CN111527389A (en) Vehicle diagnosis method, vehicle diagnosis device and storage medium
CN111611022A (en) Data processing method, device, equipment and system for applet application
CN103221666B (en) Enable between the starting period of micro controller unit calibration method and for its intergrated circuit
CN107798256B (en) Smart card based on cryptographic algorithm separation storage and design method
JP2000242672A (en) Device and method for formal logic verification
CN111277476A (en) Gateway controller function verification method, gateway controller function verification device, computer equipment and storage medium
CN117950754A (en) Vehicle function selecting and installing method, device, equipment and storage medium
CN108573153B (en) Vehicle-mounted operating system and using method thereof
CN115630510A (en) Method, device, equipment, medium and program product for analyzing brake noise of automobile
CN113934198A (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
JP2003034200A5 (en)
CN112306032A (en) Consistency testing method, device and system for automobile open system
JP2003280902A (en) Microcomputer logic development system and its program
CN110134458B (en) QNX operating system universal passive code software parameter adjusting method and system implementation method
CN113408845B (en) Processing method and device of production flow, computer equipment and storage medium
US20230051369A1 (en) Apparatus for operating over-the-air ota update for vehicle, and method thereof

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination