Vehicle function configuration method and system and vehicle

Through the vehicle function configuration management module, the configuration word information of different manufacturers is mapped and processed, which solves the problems of low efficiency and poor portability of vehicle function configuration in the prior art, and realizes efficient and convenient functional configuration and maintenance, which is suitable for different vehicles. , and supports remote management in the cloud.

CN119105779APending Publication Date: 2024-12-10Z-ONE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411099605.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The existing vehicle function configuration method leads to a wide variety of software versions of the upper-layer application of the same vehicle model, long function configuration cycle, low efficiency, poor portability, high maintenance costs, and the configuration word information of different manufacturers is not universal, resulting in the upper-layer application being able to only Suitable for specific vehicles.

Method used

The vehicle function configuration management module checks the configuration word information of different manufacturers according to the configuration word logical relationship mapping table, and converts it into the configuration word information that can be recognized by the upper layer application, so that the upper layer application can recognize different things without software version configuration The manufacturer's configuration word information implements functional configuration, and stores configuration word information locally and in the cloud to ensure the availability and security of configuration words.

Benefits of technology

Improves the efficiency of functional configuration, enhances the portability of upper-level applications, reduces the cost of functional configuration maintenance, enables upper-level applications to be suitable for different vehicles, and supports cloud remote configuration word information management and updates, reducing software version updates need.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119105779A_ABST
    Figure CN119105779A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle function configuration method and system and a vehicle, the system comprises a vehicle function configuration management module and an upper layer application program, and the vehicle function configuration management module determines first configuration word information corresponding to a vehicle type to which a target vehicle belongs, according to the configuration word logic relation mapping table and second configuration word information defined by a manufacturer of the target vehicle, the second configuration word information is checked according to the configuration word logic relation mapping table, and third configuration word information capable of being recognized by an upper-layer application program is obtained; target configuration word information corresponding to the target vehicle is obtained according to the first configuration word information and the third configuration word information, and the upper-layer application program carries out corresponding function configuration according to the target configuration word information. Therefore, the configuration word information defined by the manufacturer can be converted into the configuration word information which can be recognized by the upper-layer application program, the function configuration efficiency is improved, generation of a software version corresponding to the upper-layer application program is not needed, the portability is high, and the maintenance cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle function configuration, and in particular to a vehicle function configuration method, system and vehicle. Background Art

[0002] With the rapid development of automotive electronic technology, the level of automobile intelligence is constantly improving. The realization of functions such as intelligent driving, intelligent cockpit and intelligent car networking has added more personalized features on the basis of traditional car functions. Therefore, compared with traditional cars with relatively few functional configurations, the current intelligent networked cars have hundreds or even thousands of functional configurations.

[0003] At present, most automobile manufacturers use configuration word information to describe and manage various functional configuration information of automobiles. The way to realize vehicle functional configuration is: set the configuration word information, use the diagnostic instrument to write the configuration word information into the vehicle diagnostic module, and then the upper-layer application for vehicle functional configuration in the vehicle obtains the configuration word information from the vehicle diagnostic module, and performs dynamic functional adaptation according to the vehicle's configuration word information. However, the design and organization of configuration word information between different automobile manufacturers may be different, resulting in the lack of universality of configuration word information between manufacturers. Therefore, for the same model with different vehicle functions, it is often necessary to develop upper-layer applications of different software versions to identify the configuration word information set by the corresponding manufacturer and then realize vehicle functional configuration, so that upper-layer applications of different software versions can adapt to different functions of each model. Therefore, the existing vehicle functional configuration method requires the upper-layer application to adapt to the configuration word information of different manufacturers, resulting in the problem of numerous upper-layer application software versions for the same model and a long automobile functional configuration cycle. In addition, if the functional configuration needs to be modified, the new configuration word information needs to be written into the vehicle diagnostic module through the diagnostic instrument, and the software version of the upper-layer application needs to be updated to realize the new functional configuration based on the new configuration word information, and the functional configuration efficiency is low. In addition, since the upper-layer application of the corresponding software version needs to be generated based on the manufacturer's configuration word information, the upper-layer application can only be applied to specific vehicles, the upper-layer application has poor portability, and the functional configuration maintenance cost is high. Summary of the invention

[0004] The present invention provides a vehicle function configuration method, system and vehicle, which are used to solve the problems existing in the prior art of multiple upper-layer application software versions of the same vehicle model, long vehicle function configuration cycle, low function configuration efficiency, poor upper-layer application portability and high function configuration maintenance cost.

[0005] Among them, the vehicle function configuration management module verifies the second configuration word information of the target vehicle provided by the corresponding manufacturer according to the configuration word logical relationship mapping table, and obtains the third configuration word information that can be recognized by the upper-layer application adapted to the target vehicle, so that the upper-layer application directly performs corresponding function configuration based on the first configuration word information and the third configuration word information included in the vehicle function configuration management module. In this way, the vehicle function configuration management module converts the configuration word information defined by different manufacturers into configuration word information that can be recognized by the upper-layer application, and manages the configuration word information. The upper-layer application can recognize the configuration word information defined by the manufacturer without the need to configure the corresponding software version, that is, an upper-layer application can recognize the configuration word information of different manufacturers, which speeds up the function configuration cycle and makes the function configuration efficiency higher. In addition, the upper-layer application can be applied to different vehicles for corresponding function configuration, with high portability and low function configuration maintenance cost.

[0006] To solve the above technical problems, in a first aspect, an embodiment of the present invention discloses a vehicle function configuration method, which is applied to a vehicle function configuration system, the system comprising a vehicle function configuration management module and an upper-layer application, the method comprising: the vehicle function configuration management module determines a first configuration word information, a second configuration word information and a configuration word logical relationship mapping table corresponding to a target vehicle, the first configuration word information is the configuration word information corresponding to the vehicle model to which the target vehicle belongs and can be recognized by the upper-layer application, and the second configuration word information is the configuration word information of the target vehicle defined by the manufacturer of the target vehicle; the vehicle function configuration management module performs configuration word verification processing on the second configuration word information according to the configuration word logical relationship mapping table to obtain third configuration word information that can be recognized by the upper-layer application; the vehicle function configuration management module obtains the target configuration word information corresponding to the target vehicle according to the first configuration word information and the third configuration word information; the upper-layer application performs corresponding function configuration according to the target configuration word information.

[0007] In one implementation of the present application, the first configuration word information is the vehicle model configuration word information generated for the vehicle model to which the target vehicle belongs. Therefore, the upper-layer application programs of all vehicles corresponding to the same vehicle model can recognize the first configuration word information.

[0008] Therefore, the first configuration word information is also the universal configuration word information that can be recognized by the upper-layer applications of all vehicles corresponding to the same vehicle model. The second configuration word information is the special configuration word information defined by the manufacturer of the target vehicle according to the configuration requirements of the target vehicle, which can also be called personalized configuration word information or non-universal configuration word information. Therefore, the upper-layer applications of all vehicles corresponding to the same vehicle model may be able to recognize the second configuration word information, or may not be able to recognize the second configuration word information.

[0009] The vehicle function configuration method provided by the implementation of the present application is that the vehicle function configuration management module verifies the second configuration word information according to the configuration word logical relationship mapping table, and obtains the third configuration word information that can be recognized by the upper-layer application. In this way, the target configuration word information corresponding to the vehicle is obtained, and the upper-layer application can perform the corresponding function configuration according to the target configuration word information. In this way, the vehicle function configuration management module can convert the configuration word information defined by different manufacturers into the configuration word information that can be recognized by the upper-layer application based on the configuration word logical relationship mapping table, and manage the configuration word information. The upper-layer application can directly perform the corresponding function configuration based on the configuration word information, without the need to perform software version adaptation based on the configuration word information provided by the manufacturer, thereby improving the function configuration efficiency. In addition, the upper-layer application can be applied to different vehicles for corresponding function configuration, thereby improving the portability of the upper-layer application and reducing the function configuration maintenance cost. And there is no need to configure the upper-layer application corresponding to the software version of different manufacturers, so that the upper-layer application can be applied to other vehicles without distinction without software version configuration, thereby improving the portability of the upper-layer application.

[0010] According to another specific embodiment of the present invention, an embodiment of the present invention discloses a vehicle function configuration method, wherein the configuration word information includes identification information of the configuration word, a data type, and values ​​corresponding to each data type, and the method further includes: an upper-level application determines the first identification information of the first configuration word to be queried, and calls a vehicle function configuration management module, so that the vehicle function configuration management module determines the first data type corresponding to the first identification information and the first value corresponding to the first data type, and sends the first value corresponding to the first data type to the upper-level application.

[0011] By adopting the above technical solution, the upper layer application can call the vehicle function configuration management module based on the identification information (e.g., first identification information) of the configuration word (e.g., first configuration word) to query the first data type corresponding to the first identification information and the first value corresponding to the first data type. In this way, the upper layer application can conveniently and quickly query the configuration word directly based on the configuration word information.

[0012] According to another specific embodiment of the present invention, an embodiment of the present invention discloses a vehicle function configuration method, the vehicle function configuration system also includes a first storage unit and a second storage unit, the first configuration word information is stored in the first storage unit, and the method also includes: the vehicle function configuration management module stores the first configuration word information and the third configuration word information in the second storage unit.

[0013] In one implementation of the present application, the first storage unit is a local memory, and the second storage unit is a local database.

[0014] By adopting the above technical solution, the first configuration word information is stored in the first storage unit, and the first configuration word information is stored in the second storage unit, so that the configuration word information can be directly queried in the second storage unit, and if the second storage unit is damaged or the configuration word information cannot be obtained, the configuration word information can still be obtained from the first storage unit. In this way, the backup mechanism is adopted to prevent the configuration word information from being unable to be found when it is needed, thereby ensuring the normal execution of the function configuration.

[0015] According to another specific embodiment of the present invention, an embodiment of the present invention discloses a vehicle function configuration method, in which a vehicle function configuration management module determines a first data type corresponding to first identification information and a first value corresponding to the first data type, and sends the first value corresponding to the first data type to an upper-level application, including performing the following processing: when it is determined that the first identification information exists in the second storage unit, reading the first data type corresponding to the first identification information and the first value corresponding to the first data type from the second storage unit; if the first data type and the first value are read from the second storage unit, sending the first value corresponding to the first data type to the upper-level application; if the first data type and the first value are not read from the second storage unit, reading the first data type corresponding to the first identification information and the first value corresponding to the first data type from the first storage unit; when the first data type and the first value are read from the first storage unit, sending the first value corresponding to the first data type to the upper-level application.

[0016] According to another specific embodiment of the present invention, an embodiment of the present invention discloses a vehicle function configuration method, which also includes a vehicle function configuration management module returning an error value to an upper-level application in the following situations: when it is determined that the first identification information does not exist in the second storage unit; when the first data type and the first value are not read from the first storage unit.

[0017] By adopting the above technical solution, if the first identification information or the first data type and the corresponding first value cannot be queried from the second storage unit, the configuration word information is obtained from the first storage unit. In this way, a backup mechanism is adopted to prevent the configuration word information from being unable to be queried when it is needed, thereby ensuring the normal execution of the function configuration.

[0018] According to another specific embodiment of the present invention, an embodiment of the present invention discloses a vehicle function configuration method, which also includes: an upper-layer application determines the second identification information, the second data type and the second value corresponding to the second data type of a second configuration word to be modified, and calls the vehicle function configuration management module to enable the vehicle function configuration management module to perform the following processing: modifying the current value corresponding to the second data type corresponding to the second identification information in the second storage unit to the second value; when it is determined that the modification is successful, notifying the upper-layer application so that the upper-layer application performs the corresponding function configuration according to the modified second configuration word.

[0019] By adopting the above technical solution, when the upper-layer application confirms that the configuration word information of the configuration word needs to be modified, it determines the second identification information, the second data type and the second value corresponding to the second data type of the second configuration word to be modified, and calls the vehicle function configuration management module, so that the vehicle function configuration management module modifies the current value corresponding to the second data type corresponding to the second identification information in the second storage unit to the second value, and the vehicle function configuration management module notifies the upper-layer application when it is determined that the modification is successful, so that the upper-layer application performs the corresponding function configuration according to the modified second configuration word. In this way, it is convenient to modify the configuration word information based on the upper-layer application, and only the value of the configuration word needs to be modified to realize the function configuration update of the upper-layer application, without the need for the upper-layer application to generate the corresponding software version, and without the need to update the upper-layer application, making the function configuration more efficient and convenient.

[0020] According to another specific embodiment of the present invention, an embodiment of the present invention discloses a vehicle function configuration method, wherein the configuration word information also includes permission information, and the vehicle function configuration management module modifies the current value corresponding to the second data type corresponding to the second identification information in the second storage unit to the second value, including performing the following processing: when it is determined that the upper-layer application has modification permission, reading the second identification information from the second storage unit; when the second identification information is read, determining the permission information of the current value corresponding to the second data type; when it is determined that the permission information is that the data is readable and writable, modifying the current value to the second value.

[0021] By adopting the above technical solution, the configuration word information can be modified only when it is determined that the upper-layer application has modification permission and the permission information of the configuration word is readable and writable. In this way, the security of configuration word information modification is ensured, and malicious tampering is avoided to prevent the function configuration from being unable to proceed normally.

[0022] According to another specific embodiment of the present invention, an embodiment of the present invention discloses a vehicle function configuration method, the vehicle function configuration system also includes a cloud, the method also includes: the cloud determines the second identification information of the second configuration word to be modified, the second data type and the second value corresponding to the second data type, and sends the second identification information, the second data type and the second value to the vehicle function configuration management module; the vehicle function configuration management module modifies the current value corresponding to the second data type corresponding to the second identification information in the second storage unit to the second value; when determining that the second configuration word is modified successfully, the vehicle function configuration management module notifies the upper-layer application so that the upper-layer application performs the corresponding function configuration according to the modified second configuration word.

[0023] With the above technical solution, when the cloud confirms that the configuration word information of the configuration word needs to be modified, it determines the second identification information, the second data type and the second value corresponding to the second data type of the second configuration word to be modified, and calls the vehicle function configuration management module, so that the vehicle function configuration management module modifies the current value corresponding to the second data type corresponding to the second identification information in the second storage unit to the second value, and the vehicle function configuration management module notifies the upper-layer application when it determines that the modification is successful, so that the upper-layer application performs the corresponding function configuration according to the modified second configuration word. In this way, the cloud can modify the configuration word information remotely, which is convenient for configuration word information management. And the function configuration update of the upper-layer application can be realized by only modifying the value of the configuration word, without the need for the upper-layer application to generate the corresponding software version, and without the need to update the upper-layer application, making the function configuration more efficient and convenient.

[0024] According to another specific embodiment of the present invention, an embodiment of the present invention discloses a vehicle function configuration method, which further includes: the cloud determines an application configuration file corresponding to an upper-level application, the application configuration file includes fourth configuration word information, the fourth configuration word information includes third identification information, and the third identification information is sent to a vehicle function configuration management module; when the vehicle function configuration management module determines that there is third identification information in the second storage unit, the third value corresponding to the third identification information is read from the second storage unit and sent to the cloud, the third value being a file storage path of the application configuration file; the cloud stores the application configuration file to the file storage path corresponding to the third value according to the third value; the vehicle function configuration management module determines the upper-level application corresponding to the third identification information, so that the upper-level application performs corresponding function configuration according to the application configuration file under the file storage path.

[0025] By adopting the above technical solution, when the cloud needs to update the application configuration file corresponding to the upper-layer application, it determines the application configuration file corresponding to the upper-layer application, so that when the vehicle function configuration management module determines that the third identification information of the application configuration file exists in the second storage unit, it reads the third value corresponding to the third identification information from the second storage unit and sends it to the cloud. The cloud stores the application configuration file to the file storage path corresponding to the third value according to the third value; the vehicle function configuration management module determines the upper-layer application corresponding to the third identification information, so that the upper-layer application performs the corresponding function configuration according to the application configuration file under the file storage path. In this way, when the configuration of the upper-layer application is updated, the cloud remotely sends the application configuration file, and the upper-layer application obtains the application configuration file from the vehicle function configuration management module to implement the configuration file update. The new function can be deployed in the upper-layer application without updating the software version of the upper-layer application, so that the upper-layer application can be used in other vehicles without distinction without software version configuration, and has high portability.

[0026] According to another specific embodiment of the present invention, an embodiment of the present invention discloses a vehicle function configuration method, in which a vehicle function configuration management module determines an upper-layer application corresponding to first identification information, so that the upper-layer application performs corresponding function configuration according to an application configuration file under a file storage path, including performing the following processing: obtaining first key information of an application configuration file sent by the cloud; obtaining second key information of the application configuration file under the file storage path; and when the first key information and the second key information are the same, determining an upper-layer application corresponding to a third identification information, so that the upper-layer application performs corresponding function configuration according to the application configuration file under the file storage path.

[0027] With the above technical solution, the vehicle function configuration management module will notify the upper-layer application to perform corresponding function configuration based on the application configuration file only when it determines that the key information in the cloud is the same as the key information in the application configuration file. This ensures the correctness of the application configuration file and avoids the problem that the upper-layer application is damaged due to the function configuration performed by the upper-layer application based on an incorrect application configuration file when the application configuration file is incorrect.

[0028] According to another specific embodiment of the present invention, an embodiment of the present invention discloses a vehicle function configuration method, in which a vehicle function configuration management module performs configuration word verification processing on second configuration word information according to a configuration word logical relationship mapping table to obtain third configuration word information that can be recognized by an upper-level application, including: the vehicle function configuration management module converts configuration word information in the second configuration word information that has the same identification information as that in the first configuration word information, has the same data type but different values ​​corresponding to the data type, or has different identification information into configuration word information recognizable by an upper-level application according to the configuration word logical relationship mapping table to obtain third configuration word information.

[0029] By adopting the above technical solution, the vehicle function configuration management module converts the configuration word information in the second configuration word information that is different from the first configuration word information into configuration word information that can be recognized by the upper-layer application according to the configuration word logical relationship mapping table. In this way, based on the configuration word logical relationship mapping table, the configuration word information defined by different manufacturers can be converted into configuration word information that can be recognized by the upper-layer application, and the upper-layer application does not need to generate the application of the corresponding software version based on the second configuration word information defined by the manufacturer, thereby improving the function configuration efficiency.

[0030] In a second aspect, an embodiment of the present invention further discloses a vehicle function configuration system, the system comprising a vehicle function configuration management module and an upper-layer application, wherein the vehicle function configuration management module is used to determine a first configuration word information, a second configuration word information and a configuration word logical relationship mapping table corresponding to a target vehicle, and performs configuration word verification processing on the second configuration word information according to the configuration word logical relationship mapping table to obtain third configuration word information that can be recognized by the upper-layer application, and obtains target configuration word information corresponding to the target vehicle according to the first configuration word information and the third configuration word information, the first configuration word information is the configuration word information corresponding to the vehicle model to which the target vehicle belongs and can be recognized by the upper-layer application, and the second configuration word information is the configuration word information of the target vehicle defined by the manufacturer of the target vehicle; the upper-layer application is used to perform corresponding function configuration according to the target configuration word information.

[0031] In a third aspect, an embodiment of the present application provides a vehicle, including the vehicle function configuration system provided in the second aspect.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement a vehicle function configuration method provided in any one of the implementation methods of the first aspect above.

[0033] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements a vehicle function configuration method as provided in any one of the implementations of the first aspect above.

[0034] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can also be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a structural schematic diagram of a vehicle function configuration system provided by an embodiment of the present invention;

[0036] Figure 2 is a structural schematic diagram of another vehicle function configuration system provided by an embodiment of the present invention;

[0037] Figure 3 is a flow chart of a vehicle function configuration method provided by an embodiment of the present invention;

[0038] Figure 4 is a schematic diagram of first configuration word information provided by an embodiment of the present invention;

[0039] Figure 5 is a schematic diagram of a configuration word logical relationship mapping table provided in an embodiment of the present invention;

[0040] Figure 6 is a schematic diagram of a process for generating target configuration word information provided by an embodiment of the present invention;

[0041] Figure 7 is a schematic diagram of the structure of configuration word information provided by an embodiment of the present invention;

[0042] Figure 8 is a schematic diagram of a process for obtaining configuration word information provided by an embodiment of the present invention;

[0043] Fig. 9 It is a schematic diagram of a flow chart of an upper layer application modifying configuration word information provided by an embodiment of the present invention;

[0044] Fig.10 It is a schematic diagram of a process of modifying configuration word information on the cloud provided by an embodiment of the present invention;

[0045] Fig.11 It is a schematic diagram of a process of updating an application configuration file in the cloud provided by an embodiment of the present invention;

[0046] Fig.12 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0047] As mentioned above, with the rapid development of automotive electronic technology, for example, the intelligence level of new energy vehicles is constantly improving. The realization of functions such as intelligent driving, intelligent cockpit and intelligent car networking has added more personalized features on the basis of traditional car functions. In contrast, the functional configuration of traditional cars is relatively small, only dozens of items, while the functional configuration of modern intelligent networked cars has reached hundreds or even thousands of items. Therefore, the functions of intelligent networked cars are becoming more and more abundant, and the differences between different manufacturers and different models are becoming increasingly significant.

[0048] At present, most automobile manufacturers use configuration word information to describe and manage various functional configuration information of automobiles. Through the configuration word information, these configuration word information can be passed to the upper-layer application, which processes and implements the functions. For example, in the prior art, the method of implementing vehicle function configuration is: setting the configuration word information, in the process of vehicle offline, using a diagnostic instrument to write the configuration word information into the microcontroller unit (Micro Controller Unit, referred to as MCU) of the domain controller, during the vehicle power-on process, the MCU sends the configuration word information to the vehicle diagnostic module of the microprocessor unit (Micro Processor Unit, referred to as MPU), and then the upper-layer application that performs vehicle function configuration in the vehicle obtains the configuration word information from the vehicle diagnostic module, and performs dynamic function adaptation according to the configuration word information of the vehicle.

[0049] However, the design and organization of configuration word information between different automobile manufacturers may be different, resulting in the lack of universality of configuration word information between manufacturers. Traditional automobile software systems are often difficult to flexibly adapt to the needs of different manufacturers and different models. Therefore, for the same model with different in-vehicle functions, it is often necessary to develop upper-level applications of different software versions to adapt to the models of various manufacturers, so that the upper-level application of the software version can realize the vehicle function configuration according to the configuration word information set by the corresponding manufacturer. Therefore, the existing vehicle function configuration method requires the upper-level application to adapt to the configuration word information of different manufacturers, resulting in the problem of numerous software versions of the same upper-level application and a long vehicle function configuration cycle.

[0050] In addition, in order to increase the function of the configuration word, if the function configuration needs to be modified, the new configuration word information needs to be written into the vehicle diagnostic module through the diagnostic instrument, and the software version of the upper-level application needs to be updated so that the upper-level application can recognize the new configuration word information to achieve the new upper limit configuration of the function. This will result in a large number of software versions of the upper-level application, a long software development cycle, and low function configuration efficiency. Moreover, since the upper-level application corresponding to the software version needs to be generated based on the manufacturer's configuration word information, the upper-level application can only be applied to the vehicle, with poor portability and high function configuration maintenance costs.

[0051] Based on this, the implementation of the present application provides a vehicle function configuration method and system, wherein the vehicle function configuration management module verifies the second configuration word information of the target vehicle provided by the corresponding manufacturer according to the configuration word logical relationship mapping table, and obtains the third configuration word information that can be recognized by the upper-layer application adapted to the target vehicle, so that the upper-layer application directly performs the corresponding function configuration based on the first configuration word information and the third configuration word information included in the vehicle function configuration management module. In this way, the vehicle function configuration management module converts the configuration word information defined by different manufacturers into the configuration word information that can be recognized by the upper-layer application, and performs configuration word information management. The upper-layer application can recognize the configuration word information defined by the manufacturer without the need to perform the corresponding software version configuration, that is, an upper-layer application can recognize the configuration word information of different manufacturers, which speeds up the function configuration cycle and makes the function configuration efficiency higher. In addition, the upper-layer application can be applied to different vehicles for corresponding function configuration, with high portability and low function configuration maintenance cost.

[0052] Next, the vehicle function configuration method and system provided by the implementation of the present application are described in detail.

[0053] like Figure 1 As shown, the vehicle function configuration system provided by the implementation of the present application is used to configure vehicle functions for a domain controller of a vehicle with a specified vehicle identification number (VIN code). The system includes a vehicle function configuration management module and an upper layer application.

[0054] Among them, the vehicle function configuration management module is used to determine the first configuration word information, the second configuration word information and the configuration word logical relationship mapping table corresponding to the target vehicle, perform configuration word verification processing on the second configuration word information according to the configuration word logical relationship mapping table, and obtain the third configuration word information that can be recognized by the upper-level application, and obtain the target configuration word information corresponding to the target vehicle according to the first configuration word information and the third configuration word information. The first configuration word information is the configuration word information corresponding to the model of the target vehicle and can be recognized by the upper-level application, and the second configuration word information is the configuration word information of the target vehicle defined by the manufacturer of the target vehicle.

[0055] The upper layer application is used to configure the corresponding functions according to the target configuration word information.

[0056] Furthermore, if Figure 2 As shown, the vehicle function configuration system provided by the implementation method of the present application also includes a first storage unit (such as a local memory), a second storage unit (such as a local database) and a cloud.

[0057] The first storage unit is used to store first configuration word information.

[0058] The second storage unit is used to store the first configuration word information and the third configuration word information of the vehicle function configuration management module.

[0059] The cloud is used to send the configuration word information of the configuration word to be modified to the vehicle function configuration management module when modifying the configuration word information, so as to modify the value of the configuration word stored in the database, so that the upper-level application can perform the corresponding function configuration according to the modified configuration word.

[0060] Furthermore, the implementation of the present application also provides a vehicle function configuration method, which is applied to a vehicle function configuration system, such as Figure 3 As shown, the vehicle function configuration method includes the following steps:

[0061] S100, the vehicle function configuration management module determines the first configuration word information, the second configuration word information and the configuration word logical relationship mapping table corresponding to the target vehicle.

[0062] The first configuration word information is configuration word information corresponding to the model of the target vehicle and can be recognized by the upper layer application, and the second configuration word information is configuration word information of the target vehicle defined by the manufacturer of the target vehicle.

[0063] S200, the vehicle function configuration management module performs configuration word verification processing on the second configuration word information according to the configuration word logical relationship mapping table to obtain third configuration word information that can be recognized by the upper layer application.

[0064] S300, the vehicle function configuration management module obtains target configuration word information corresponding to the vehicle according to the first configuration word information and the third configuration word information.

[0065] S400, the upper layer application performs corresponding function configuration according to the target configuration word information.

[0066] In one implementation of the present application, the first configuration word information is the vehicle model configuration word information generated for the vehicle model to which the target vehicle belongs, so that the upper-layer applications of all vehicles corresponding to the same vehicle model can recognize the first configuration word information. Therefore, the first configuration word information is also the universal configuration word information that can be recognized by the upper-layer applications of all vehicles corresponding to the same vehicle model. The second configuration word information is the special configuration word information defined by the manufacturer of the target vehicle according to the configuration requirements of the target vehicle, which can also be called personalized configuration word information or non-universal configuration word information, etc. Therefore, the upper-layer applications of all vehicles corresponding to the same vehicle model may be able to recognize the second configuration word information, or may not be able to recognize the second configuration word information.

[0067] The vehicle function configuration method provided by the implementation of the present application is that the vehicle function configuration management module verifies the second configuration word information according to the configuration word logical relationship mapping table, and obtains the third configuration word information that can be recognized by the upper-layer application. In this way, the target configuration word information corresponding to the vehicle is obtained, and the upper-layer application can perform the corresponding function configuration according to the target configuration word information. In this way, the vehicle function configuration management module can convert the configuration word information defined by different manufacturers into the configuration word information that can be recognized by the upper-layer application based on the configuration word logical relationship mapping table, and manage the configuration word information. The upper-layer application can directly perform the corresponding function configuration based on the configuration word information, without the need to perform software version adaptation based on the configuration word information provided by the manufacturer, thereby improving the function configuration efficiency. In addition, the upper-layer application can be applied to different vehicles for corresponding function configuration, thereby improving the portability of the upper-layer application and reducing the function configuration maintenance cost. And there is no need to configure the upper-layer application corresponding to the software version of different manufacturers, so that the upper-layer application can be applied to other vehicles without distinction without software version configuration, thereby improving the portability of the upper-layer application.

[0068] In one implementation of the present application, for step S100, the vehicle function configuration management module first needs to obtain the first configuration word information of the model to which the target vehicle belongs and which can be recognized by the model to which the target vehicle belongs.

[0069] Exemplarily, all vehicle configuration word information (as an example of the first configuration word information) related to the vehicle model, such as diagnostic configuration words, hardware configuration, software function configuration, user-defined configuration, etc., are summarized and written into an SRS (Software Requirement Specification) requirement document.

[0070] That is, in the implementation method of the present application, the first configuration word information is the vehicle model configuration word information of the vehicle model, that is, the configuration word information that can be recognized by the upper-level applications of all vehicles corresponding to the vehicle model. The first configuration word information includes configuration word information that can be recognized by the upper-level applications of the vehicle and can be configured with corresponding functions to execute corresponding functions, and also includes configuration word information that can be recognized by the upper-level applications of the vehicle but cannot be configured with corresponding functions and cannot execute corresponding functions because they do not have the corresponding functions.

[0071] It should be noted that the upper-layer application can be identified as pre-configured for the upper-layer application, and the upper-layer application can automatically perform the corresponding function configuration when it reads the key-value value of the configuration word through code, configuration files, etc.

[0072] The configuration word information includes the configuration word's identification information, data type, value corresponding to the data type, permission information, etc.

[0073] For example, all vehicle configuration word information is divided into several categories according to vehicle functions, such as seats, air conditioning, doors and windows, maps, software configuration, hardware configuration, etc. In each category, try to list specific sub-functions according to atomic capabilities, such as driver's seat massage configuration, air conditioning type, Internet phone identification number, etc. And define the configuration word key value of each sub-function according to the rule of category name plus sub-function name (as an example of configuration word identification information), such as VehCfg_Seat_A, VehCfg_Seat_B, to ensure that there will be no duplication, and list the value values ​​corresponding to the key values ​​required by the upper-level application (as an example of configuration word values), and define the data type of each value value (as an example of the data type of the configuration word), such as bool, int, long, string, float, double and other data types, define the default value, error value, read and write permissions (as an example of permission information) and other information of the configuration word of each vehicle model, and obtain the following information: Figure 4 An example table of first configuration word information is shown.

[0074] Furthermore, for step S100, the vehicle function configuration management module also needs to determine the configuration word logical relationship mapping table and the second configuration word information of the target vehicle.

[0075] Exemplarily, since the diagnostic configuration word information (as an example of the second configuration word information) defined by each manufacturer is different, in order to facilitate the subsequent upper-layer application development and transplantation, the diagnostic configuration word needs to be logically mapped. For example, it is necessary to map the value definition of the sub-function listed in the first configuration word information with the diagnostic configuration word definition of each manufacturer, list a mapping relationship table, and convert the value of the configuration word in the configuration word information provided by the manufacturer into a value corresponding to the data type recognizable by the corresponding upper-layer application, so that the value definition of the sub-function can completely cover the value definition of the diagnostic configuration word, so that the upper-layer application can recognize the value definition of the diagnostic configuration word.

[0076] For example Figure 5 As shown in the figure, for the configuration of the driver's seat massage, in the diagnostic configuration word of a certain manufacturer, 0x00 is defined as no front seat massage, 0x01 is equal to front seat massage, and 0x02 is equal to driver's seat massage. The value definition required by the upper layer application is that 0 means no driver's seat massage, and 1 means driver's seat massage. Therefore, the logical mapping relationship is that 0x01 or 0x02 of the diagnostic configuration word is mapped to 1, and 0x00 is mapped to 0, so as to obtain the following Figure 5The diagnostic configuration word logic relationship mapping table shown includes Value definitions recognizable by upper-layer applications, value judgment logic, and associated diagnostic configuration word definitions (ie, second configuration word information).

[0077] It should be noted that the diagnosis configuration word is the function configuration word information for the vehicle defined by the manufacturer, and may also be the diagnosis-related configuration word information for the vehicle defined by the manufacturer.

[0078] Furthermore, in an implementation of the present application, the first configuration word information is stored in a first storage unit.

[0079] Exemplarily, for different vehicle models, a tool developed in Python can automatically read the content of each cell from the SRS document according to the Excel requirement document, and automatically generate default configuration files for different vehicle models in json format, which includes the first configuration word information of all vehicles, and store the first configuration word information in the local storage of the domain controller (as an example of the first storage unit) in the form of a json format document for backup.

[0080] Furthermore, in one implementation of the present application, for step S200, the vehicle function configuration management module performs configuration word verification processing on the second configuration word information according to the configuration word logical relationship mapping table to obtain third configuration word information that can be recognized by the upper-layer application.

[0081] For example, Figure 6 As shown, a vehicle function configuration management module is built in the domain controller of the vehicle. When the domain controller is started for the first time, the built-in vehicle function configuration management module first parses the default configuration file in json format and stores the first configuration word information in the local database (as an example of the second storage unit). Then the identification information and data type of the second configuration word information defined by the manufacturer are compared with the identification information and data type of the sub-function in the diagnostic configuration word logical relationship mapping table, and the values ​​with the same identification information and data type are verified with the corresponding associated diagnostic configuration word definition in the diagnostic configuration word logical relationship mapping table. If the value is the same as the associated diagnostic configuration word definition, the value is converted to the corresponding value value definition in the diagnostic configuration word logical relationship mapping table, and the third configuration word information recognizable by the upper-level application can be obtained, and the converted third configuration word information is stored in the local database.

[0082] In another implementation of the present application, the vehicle function configuration management module performs configuration word verification processing on the second configuration word information according to the configuration word logical relationship mapping table to obtain third configuration word information that can be recognized by the upper-level application, including: the vehicle function configuration management module converts the configuration word information in the second configuration word information that has the same identification information as the first configuration word information, the same data type but different values ​​corresponding to the data type, or configuration word information with different identification information into configuration word information recognizable by the upper-level application according to the configuration word logical relationship mapping table to obtain the third configuration word information.

[0083] The first configuration word information includes configuration word information that is identical to all identification information of the second configuration word information or configuration word information that is identical to part of the identification information of the second configuration word information, and the difference is that the value corresponding to the same sub-function, the same key value (that is, the same identification information), and the same data type (that is, the same data type) of the first configuration word information and the second configuration word information may be different (that is, the values ​​corresponding to the data type are different). Or the first configuration word information and the second configuration word information have different keys (that is, there is a configuration word corresponding to the identification information that is not included in the first configuration word information) in the second configuration word information. Because the second configuration word information is the configuration word information defined by the manufacturer for vehicles with different configurations of the vehicle (such as high configuration, medium configuration, low configuration, etc.), the key-value definition method is different, so it is necessary to convert the configuration word information in the second configuration word information that has a different key-value from the key-value in the first configuration word information into a value that has been pre-defined in the upper-layer application and can be recognized by the upper-layer application. In this way, after the diagnostic configuration word information defined by different manufacturers is converted into configuration word information recognizable by the upper-level application, the upper-level application can perform corresponding function configuration based on the corresponding configuration word information. There is no need to configure the upper-level application software version that can recognize the manufacturer-defined configuration word information, thereby making the vehicle function configuration more efficient.

[0084] Furthermore, in the present application, the third configuration word information can also be verified based on the first configuration word information to confirm whether the third configuration word information has been successfully converted (that is, whether it has been converted into the corresponding configuration word information in the first configuration word information recognizable by the upper-layer application).

[0085] Furthermore, in one implementation of the present application, for step S300, the vehicle function configuration management module can obtain the target configuration word information for the vehicle according to the first configuration word information and the second configuration word information, and the vehicle function configuration management module also stores the first configuration word information and the third configuration word information in the second storage unit.

[0086] As mentioned above, the vehicle function configuration management module stores the first configuration word information obtained by parsing and the second configuration word information obtained by conversion into a local database. The format of the configuration word information is as follows: Figure 7 As shown, it includes the key of the configuration word, the value of different data types (such as valueBool, valueFloat, valueInt, valueDouble, valueLong, valueString), and the configuration word permission information. Of course, the local database also stores the result information of the upper-layer application obtaining, modifying, and configuring the configuration word, or the result information (i.e., result) of the cloud obtaining and modifying the configuration word, such as error values ​​and other information.

[0087] Further, for step S400, the upper-layer application performs corresponding function configuration according to the target configuration word information, including the upper-layer application calling the vehicle function configuration management module to obtain the vehicle configuration word interface, and obtain the identification information, data type and value corresponding to each configuration word, so that the upper-layer application reads the value field corresponding to the corresponding key value corresponding to the data type, and then performs corresponding function configuration based on the key-value value. For example, if it is determined that there is a main driver's seat massage based on the key-value value, the main driver's seat massage function configuration is performed.

[0088] In one implementation of the present application, the upper-layer application may also obtain identification information, data types, and values ​​corresponding to each data type of multiple configuration words in batches to perform batch function configuration.

[0089] Furthermore, in another implementation of the present application, the upper-level application can also perform configuration word information query operations based on user needs, specifically including the following steps: the upper-level application determines the first identification information of the first configuration word to be queried, and calls the vehicle function configuration management module to enable the vehicle function configuration management module to determine the first data type corresponding to the first identification information and the first value corresponding to the first data type, and send the first value corresponding to the first data type to the upper-level application.

[0090] For example, Figure 8 As shown, step S400 includes the following steps.

[0091] S410, the upper layer application calls the vehicle function configuration management module to obtain the vehicle configuration word interface.

[0092] For example, the vehicle function configuration management module provides a common interface for obtaining configuration word information, updating configuration word information, and notifying vehicle configuration word information. For different manufacturers and different models, upper-level applications can directly obtain the vehicle configuration word information of the current model from the common interface of the vehicle function configuration management module to quickly develop corresponding functional adaptation.

[0093] S420: The upper layer application inputs a key value of a first configuration word to be configured (as an example of first identification information).

[0094] Exemplarily, when the upper-layer application needs to obtain a certain vehicle configuration word, it directly calls the interface for obtaining configuration word information of the vehicle function configuration management module and inputs the key value.

[0095] It should be noted that the key value input by the upper-layer application can be the key value of the configuration word input by the user based on the upper-layer application, or the key value of the configuration word read by the upper-layer application in the local database by calling the vehicle function configuration management module. Of course, the key value of the configuration word corresponding to the vehicle model can also be pre-stored in the upper-layer application.

[0096] That is, the upper layer application determines the first identification information of the first configuration word to be queried, and calls the interface for obtaining configuration word information of the vehicle function configuration management module, and sends the first identification information to the vehicle function configuration management module.

[0097] Furthermore, the vehicle function configuration management module determines a first data type corresponding to the first identification information and a first value corresponding to the first data type, and sends the first value to an upper-layer application.

[0098] Exemplarily, after receiving the first identification information, the vehicle function configuration management module determines each data type corresponding to the first identification information and a value corresponding to each data type, and feeds back the value corresponding to the data type to an upper-layer application.

[0099] In one implementation of the present application, the vehicle function configuration management module determines the first data type corresponding to the first identification information and the first value corresponding to the first data type, and sends the first value to the upper layer application, including performing the following processing:

[0100] S430, the vehicle function configuration management module determines from the database whether the key exists, if so, execute step S440, if not, execute step S490.

[0101] Exemplarily, the vehicle function configuration management module searches the second storage unit for the key value of the first configuration word, and if it is determined that the key value exists, executes step S440; if it is determined that the key value does not exist, executes step S480.

[0102] S440, the vehicle function configuration management module reads the data type corresponding to the key value and the value corresponding to the data type from the database.

[0103] Exemplarily, the vehicle function configuration management module obtains the data types of each value corresponding to the key value according to the key value (as an example of the first data type), and obtains the corresponding data type and the value of the corresponding data type from the local database according to the value data type (as an example of the first value). For example, if the value data type of the vehicle configuration word to be obtained is bool (as an example of the first data type), then the interface for obtaining data of the bool data type can be called to obtain the value corresponding to the bool data type (as an example of the first value).

[0104] That is, when it is determined that the first identification information (key value) exists in the second storage unit (such as a database), the first data type (value data type) corresponding to the first identification information and the first value (value value) corresponding to the first data type are read from the second storage unit.

[0105] S450, determine whether the reading is successful, if the reading is successful, execute step S480, if the reading is not successful, execute step S460.

[0106] Exemplarily, if the reading is successful, step S480 is executed; if the reading fails due to factors such as database damage, step S460 is executed.

[0107] S460, read the configuration word value from the default configuration file.

[0108] Exemplarily, if the acquisition from the database fails, the default value corresponding to the first identification information of the first configuration word is acquired from a backup default configuration file stored in the domain controller.

[0109] That is, if the first data type and the first value are not read from the second storage unit, the first data type corresponding to the first identification information and the first value corresponding to the first data type are read from the first storage unit (eg, local memory).

[0110] S470, determine whether the reading is successful, if the reading is successful, execute step S480, if the reading is not successful, execute step S490.

[0111] S480, the upper layer application obtains the value field of the corresponding data type according to the configuration word data type.

[0112] That is, if the first data type and the first value are read from the second storage unit, the first value corresponding to the first data type is sent to the upper layer application.

[0113] Alternatively, when the first data type and the first value are read from the first storage unit, the first value corresponding to the first data type is sent to the upper layer application.

[0114] S490, result returns an error value.

[0115] For example, if an error value is obtained, it means that the acquisition has failed, and the upper-layer application will receive the corresponding error value.

[0116] That is, when it is determined that the first identification information does not exist in the second storage unit, an error value is returned to the upper layer application.

[0117] Or, when the first data type and the first value are not read from the first storage unit, an error value is returned to the upper layer application.

[0118] The error values ​​may be the same, or different error values ​​may be returned based on different acquired contents. For example, if the first identification information does not exist, an error value 1 is returned to the upper layer application, and if the first data type and the first value are not read from the first storage unit, an error value 2 is returned to the upper layer application.

[0119] Furthermore, in one implementation of the present application, the first configuration word is at least one, that is, the vehicle function configuration management module provides an interface to support upper-layer applications to batch acquire vehicle configuration word information, thereby improving data transmission efficiency.

[0120] Exemplarily, the upper-layer application determines the keys of multiple first configuration words, calls the vehicle function management module's interface for obtaining vehicle configuration words, so that the vehicle function management module batch queries the corresponding data types and values ​​corresponding to the data types based on multiple keys, and feeds back the configuration word information of key-data type-value to the upper-layer application.

[0121] Among them, the upper-level application can directly import the table file of the identification information of the configuration word to be queried, or the upper-level application provides an interface for inputting the identification information of the configuration word, and supports inputting the identification information of multiple configuration words so that the vehicle function management module can obtain it in batches.

[0122] Furthermore, in another implementation of the present application, the cloud can also query the configuration word information. For example, based on the key value of the configuration word input by the user, the cloud calls the vehicle function configuration management module to query the data type and value of the configuration word.

[0123] That is, the cloud determines the first identification information of the first configuration word to be queried, and calls the interface of the vehicle function configuration management module for obtaining the configuration word information, and sends the first identification information to the vehicle function configuration management module.

[0124] Furthermore, in another implementation of the present application, the upper layer application can also modify and update the configuration word information based on user needs, such as Fig. 9 As shown, the method also includes:

[0125] S510, the upper layer application calls the vehicle function configuration management module's update vehicle configuration word interface.

[0126] Exemplarily, the upper layer application calls an interface for updating the vehicle configuration word information and changes the function in real time.

[0127] S520, the upper layer application inputs the key value and the value of the corresponding data type.

[0128] Exemplarily, the upper layer application determines the key value (as an example of the second identification information) of the second configuration word to be modified input by the user and the value value (as an example of the second value) of the corresponding data type (as an example of the second data type).

[0129] That is, the upper layer application determines the second identification information of the second configuration word to be modified, the second data type and the second value corresponding to the second data type, and calls the vehicle function configuration management module so that the vehicle function configuration management module performs the following processing.

[0130] Furthermore, the vehicle function configuration management module modifies a current value corresponding to the second data type of the second identification information in the second storage unit (eg, a database) to a second value.

[0131] Exemplarily, the vehicle function configuration management module modifies the current value corresponding to the second data type of the second identification information in the second storage unit to the second value, including performing the following processing:

[0132] S530, the vehicle function configuration management module executes the authentication mechanism.

[0133] Exemplarily, the vehicle function configuration management module determines whether the upper-layer application has modification authority based on preset authority information of the upper-layer application, and if so, reads the second identification information from the database.

[0134] That is, when it is determined that the upper layer application has the modification permission, the second identification information is read from the second storage unit.

[0135] S540, determine whether the key exists, if it exists, execute step S550, if not, execute step S590.

[0136] Exemplarily, it is determined whether the key value of the second configuration word exists in the database.

[0137] S550, the vehicle function configuration management module reads the configuration word value from the database and compares it with the input value.

[0138] Exemplarily, the vehicle function configuration management module reads the value corresponding to the data type corresponding to the key value from the database, and determines whether the read value is the same as the input value. If they are the same, no modification is required; if they are different, modification is required.

[0139] S560, whether the data types of value are the same, if they are the same, execute step S570, if they are not the same, execute step S590.

[0140] Exemplarily, after the second identification information and the value of the same data type are read, the permission information of the second configuration word is determined.

[0141] That is, when the second identification information is read, the authority information of the current value corresponding to the second data type is determined.

[0142] S570, whether the value is writable, if it is writable, execute step S580, if it is not writable, execute step S590.

[0143] Exemplarily, when it is determined that the permission information indicates that data is readable and writable (ie, writable), the current value is modified to the second value.

[0144] S580, whether the value is changed, if the change is successful, execute step S610, if the change is unsuccessful, execute step S590.

[0145] Exemplarily, the vehicle function configuration management module determines whether the modification is successful, and if successful, executes step S610, and if unsuccessful, executes step S590.

[0146] S590, result returns an error value.

[0147] For example, if an error value is obtained, it means that the acquisition fails, and the upper layer application will receive a corresponding error value. The error value can be the same, or different error values ​​can be returned based on different acquired contents.

[0148] S610, the configuration word is updated successfully, and the upper layer application that has registered the key is notified that the configuration word has been changed.

[0149] S620, the upper layer application program changes functions accordingly according to the changed configuration word information.

[0150] Exemplarily, when determining that the modification is successful, the vehicle function configuration management module notifies the corresponding upper-layer application that the second configuration word has changed, so that the upper-layer application performs the corresponding function configuration according to the modified second configuration word.

[0151] Furthermore, in one implementation of the present application, the second configuration word is at least one, that is, the vehicle function configuration management module provides an interface to support upper-layer applications to batch update vehicle configuration word information, thereby improving data update efficiency.

[0152] Exemplarily, the upper-layer application determines the key-data type-value information of multiple first configuration words, and calls the vehicle function management module's update vehicle configuration word interface, so that the vehicle function management module batch queries the corresponding data types and values ​​corresponding to the data types based on multiple keys, and modifies the current value corresponding to the data type corresponding to the key to a second value.

[0153] Among them, the upper-level application can directly import the correspondence table file of the identification information-data type-value of the configuration word to be modified, or the upper-level application provides an interface for inputting the identification information-data type-value of the configuration word, and supports inputting the identification information-data type-value of multiple configuration words, so that the vehicle function management module can perform batch modification of the configuration word information.

[0154] Furthermore, in one implementation of the present application, the cloud also supports updating and modifying configuration word information, and the cloud communicates with the vehicle domain controller of the pre-specified VIN code, and by calling the update vehicle configuration word interface of the vehicle function configuration management module, the vehicle configuration word information (that is, the configuration word information of the second configuration word) is stored in the local database, and the upper-layer application is notified of the configuration word update, and the corresponding function configuration is performed based on the updated configuration word. Fig.10 As shown, the method also includes:

[0155] S710, the cloud calls the vehicle function configuration management module's update vehicle configuration word interface.

[0156] For example, the VIN code is the unique identifier of the vehicle. The cloud can communicate with the domain controller of the vehicle with the specified VIN code. In the same way as the upper-level application updates the vehicle configuration word, the cloud calls the interface of the vehicle function configuration management module to update the vehicle configuration word information, thereby realizing real-time updating of the configuration word information and enabling the vehicle function configuration management module to notify the upper-level application of the configuration word change, so that the upper-level application can change the function accordingly after receiving the configuration word change notification.

[0157] S720, the upper layer application inputs the key value and the value of the corresponding data type.

[0158] Exemplarily, the cloud determines the key value (as an example of the second identification information) of the second configuration word to be modified input by the user and the value value (as an example of the second value) of the corresponding data type (as an example of the second data type).

[0159] That is, the cloud determines the second identification information, the second data type and the second value corresponding to the second data type of the second configuration word to be modified, and sends the second identification information, the second data type and the second value to the vehicle function configuration management module.

[0160] Furthermore, the vehicle function configuration management module modifies the current value corresponding to the second data type of the second identification information in the second storage unit to a second value.

[0161] Exemplarily, the vehicle function configuration management module modifies the current value corresponding to the second data type of the second identification information in the second storage unit to the second value, including performing the following processing:

[0162] S730, the vehicle function configuration management module executes the authentication mechanism.

[0163] Exemplarily, the vehicle function configuration management module determines whether the cloud has modification authority based on preset cloud authority information, and if so, reads the second identification information from the database.

[0164] That is, when it is determined that the cloud has the modification authority, the second identification information is read from the second storage unit.

[0165] S740, determine whether the key exists, if it exists, execute step S750, if not, execute step S790.

[0166] Exemplarily, it is determined whether the key value of the second configuration word exists in the database.

[0167] S750, the vehicle function configuration management module reads the configuration word value from the database and compares it with the input value.

[0168] Exemplarily, the vehicle function configuration management module reads the value corresponding to the data type corresponding to the key value from the database, and determines whether the read value is the same as the input value. If they are the same, no modification is required; if they are different, modification is required.

[0169] S760, whether the data types of value are the same, if they are the same, execute step S770, if they are not the same, execute step S790.

[0170] Exemplarily, after the second identification information and the value of the same data type are read, the permission information of the second configuration word is determined.

[0171] S770, whether the value is writable, if it is writable, execute step S780, if it is not writable, execute step S790.

[0172] Exemplarily, when it is determined that the permission information is readable and writable (ie, writable), the current value is modified to the second value.

[0173] S780, whether the value is changed, if the change is successful, execute step S810, if the change is unsuccessful, execute step S790.

[0174] Exemplarily, the vehicle function configuration management module determines whether the modification is successful, and if successful, executes step S810, and if unsuccessful, executes step S790.

[0175] S790, result returns an error value.

[0176] For example, if an error value is obtained, it means that the acquisition fails, and the upper layer application will receive a corresponding error value. The error value can be the same, or different error values ​​can be returned based on different acquired contents.

[0177] S810, the configuration word is updated successfully, and the upper layer application that has registered the key is notified that the configuration word has changed.

[0178] S820, the upper layer application program changes functions accordingly according to the changed configuration word information.

[0179] When determining that the second configuration word is modified successfully, the vehicle function configuration management module notifies the upper layer application so that the upper layer application performs corresponding function configuration according to the modified second configuration word.

[0180] Exemplarily, when determining that the modification is successful, the vehicle function configuration management module notifies the corresponding upper-layer application that the second configuration word has changed, so that the upper-layer application performs the corresponding function configuration according to the modified second configuration word.

[0181] It should be noted that the upper-layer application and the vehicle function configuration management module can be a one-to-one relationship, and of course can also be a one-to-many relationship, that is, multiple upper-layer applications can determine the configuration word information required by the upper-layer application from the configuration word information configured by the vehicle function configuration management module, and perform corresponding function configuration according to the configuration word information. Of course, if the configuration word information is modified, the corresponding upper-layer application that has registered the configuration word information will be notified to make the corresponding function change.

[0182] Furthermore, in one implementation of the present application, the vehicle function configuration management module provides an interface to support batch updating of vehicle configuration word information in the cloud, thereby improving data update efficiency.

[0183] Exemplarily, there is at least one second configuration word, and the cloud determines the key-data type-value information of multiple second configuration words, and calls the vehicle function management module's update vehicle configuration word interface, so that the vehicle function management module batch queries the corresponding data types and values ​​corresponding to the data types according to multiple keys, and modifies the current value corresponding to the data type corresponding to the key to the second value.

[0184] Among them, the cloud can directly import the correspondence table file of the identification information-data type-value of the configuration word to be modified, or the cloud provides an interface for inputting the identification information-data type-value of the configuration word, and supports inputting the identification information-data type-value of multiple configuration words, so that the vehicle function management module can perform batch modification of the configuration word information.

[0185] Furthermore, in one implementation of the present application, some upper-level applications may use some configuration files (i.e., application configuration files) that store their own configuration information to store their own configuration items. Similar to the configuration word information, each configuration file needs to define a fixed key value (as an example of the third identification information) and a file storage path value (as an example of the third value) in the vehicle function configuration management module. The cloud communicates with the domain controller and obtains the storage path value of the configuration file from the vehicle function configuration management module based on the key value of the configuration file. The configuration file is then sent to the specified storage path, and the vehicle management module is notified that the configuration file has been updated. Ultimately, the vehicle function configuration management module notifies the upper-level application to obtain the updated configuration file so as to configure its own functions based on the updated configuration file. Fig.11 As shown, the specific methods include:

[0186] S900, the cloud calls the vehicle function configuration management module to obtain the vehicle configuration file interface.

[0187] S910, input key value in the cloud.

[0188] Exemplarily, the cloud determines an application configuration file corresponding to the upper-layer application, the application configuration file includes corresponding fourth configuration word information (that is, the application configuration file has corresponding fourth configuration word information), the fourth configuration word information includes third identification information, and based on the vehicle function configuration management module's vehicle configuration file acquisition interface, the third identification information (that is, the key value) is input and sent to the vehicle function configuration management module.

[0189] The third identification information of the fourth configuration word information is file identification information such as the file name of the application configuration file, and the third value is the file storage path of the application configuration file in the local database.

[0190] S920, the vehicle function configuration management module determines whether the key value exists, if so, executes step S930, if not, executes step S990.

[0191] S930, the vehicle function configuration management module reads the configuration file storage path value from the database.

[0192] Exemplarily, when the vehicle function configuration management module determines that there is third identification information in the second storage unit (such as a database), it reads a third value (such as the configuration file storage path value) corresponding to the third identification information from the second storage unit and sends it to the cloud. The third value is the file storage path of the application configuration file.

[0193] Furthermore, the cloud stores the application configuration file to the file storage path corresponding to the third value according to the third value, and the vehicle function configuration management module determines the upper-layer application corresponding to the third identification information, so that the upper-layer application performs corresponding function configuration according to the application configuration file under the file storage path.

[0194] Exemplarily, the cloud sends the application configuration file to the designated file storage path according to the third value, and notifies the vehicle function configuration management module, which then notifies the upper-layer application corresponding to the application configuration file so that the upper-layer application performs corresponding function configuration according to the application configuration file under the file storage path.

[0195] Specifically, the cloud stores the application configuration file to the file storage path corresponding to the third value according to the third value, and the vehicle function configuration management module determines the upper-layer application corresponding to the third identification information, so that the upper-layer application performs the corresponding function configuration according to the application configuration file under the file storage path, including the following steps:

[0196] S940, the cloud sends the configuration file to the specified file storage path, and notifies the vehicle function configuration management module of the md5 value of the configuration file (as an example of the first key information).

[0197] That is, the vehicle function configuration management module obtains the first key information of the application configuration file sent from the cloud.

[0198] S950, the vehicle function configuration management module obtains the md5 value carried by the application configuration file in the file storage path (as an example of the second key information), and verifies it with the md5 value sent from the cloud.

[0199] That is, the vehicle function configuration management module obtains the second key information of the application configuration file under the file storage path, and performs verification between the first key information and the second key information.

[0200] It should be noted that the first key information and the second key information may also be other key information used for key authentication.

[0201] S960, determine whether the verification is successful, if successful, execute step S970, if unsuccessful, execute step S990.

[0202] S970, the vehicle function configuration management module notifies the upper-layer application program that has registered the key that the configuration file has been updated.

[0203] S980, the upper layer application changes its function according to the configuration file.

[0204] Exemplarily, when the vehicle function configuration management module determines that the first key information and the second key information are the same, it determines the upper-layer application corresponding to the third identification information, so that the upper-layer application performs corresponding function configuration according to the application configuration file under the file storage path.

[0205] S990, result returns an error value.

[0206] Exemplarily, if it is determined that the key value in the second storage unit does not exist or the verification fails (that is, the first key information and the second key information are different), a corresponding error value is returned, such as error value 1 if the key value does not exist, and error value 2 if the verification fails.

[0207] The vehicle function configuration method provided by the implementation of this application is essentially a functional configuration scheme that supports the upper-layer application to quickly adapt to the configuration word information of multiple vehicle models and realize the functional differentiation of multiple vehicle models. It can be deployed on the vehicle's Android, QNX and other systems to configure the vehicle function. In view of the problem of functional differentiation of multiple vehicle models, the existing technology lacks unified standards and effective management. The vehicle function configuration method provided by the implementation of this application can centrally manage the first configuration word information such as the vehicle's diagnostic configuration word, hardware configuration, software configuration, software function configuration, and user-defined configuration, and can easily connect and absorb vehicle configuration information (i.e., second configuration word information) of different platforms, different models, and different manufacturers, reducing the risk of omissions in function development. Provide a software platform (i.e., vehicle function configuration management module) for standardized management of vehicle configuration word information, so that the upper-layer application can be compatible with different configuration requirements, has strong scalability, improves the high reusability of the product, and makes the upper-layer application highly portable. And support the upper-layer application to quickly adapt to realize the differentiated functional configuration of multiple models, and improve the efficiency of functional configuration development. At the same time, support remote batch acquisition and update of configuration word information in the cloud to improve data transmission efficiency. In addition, it supports remote updating of configuration files in the cloud, so that new functions can be added without updating the software version. In this way, the coupling between configuration word information and software and hardware of other manufacturers is reduced, making the vehicle function configuration system easier to manage and transplant.

[0208] Furthermore, in the implementation of the present application, the first configuration word information, the second configuration word information and the configuration word logical relationship mapping table may be generated based on an electronic device such as a computer.

[0209] See also Fig.12 , Fig.12 The figure shows a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.12 As shown, the electronic device may include: a transceiver 121 , a processor 122 , and a memory 123 .

[0210] The processor 122 executes the computer-executable instructions stored in the memory, so that the processor 122 executes part of the technical solution of the vehicle function configuration method in the above embodiment. The processor 122 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital data processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0211] The memory 123 is connected to the processor 122 via a system bus and completes communication between them. The memory 123 is used to store computer program instructions.

[0212] By way of example and not limitation, the memory 123 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 123 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 123 may be inside or outside the integrated gateway device. In a particular embodiment, the memory 123 is a non-volatile solid-state memory. In a particular embodiment, the memory 123 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0213] The transceiver 121 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.

[0214] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.

[0215] An embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the vehicle function configuration method provided in the above embodiment.

[0216] An embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a processor of an electronic device, the processor of the electronic device executes the technical solution of the vehicle function configuration method provided in the above embodiment.

[0217] In some possible implementations, various aspects of the method provided in the present application may also be implemented in the form of a program product, which includes a program code. When the program product runs on a processor of an electronic device, the program code is used to enable the processor of the electronic device to execute the steps of the method according to various exemplary embodiments of the present application described above in this specification. For example, the electronic device may execute the vehicle function configuration method recorded in the embodiments of the present application.

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

[0219] The implementation method of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the technical solution of the vehicle function configuration method in the above-mentioned embodiment.

[0220] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable information processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable information processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0221] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable information processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0222] These computer program instructions can also be loaded onto a computer or other programmable information processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0223] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application.

[0224] It should be noted that, in addition to the implementation methods of the present invention described in the above-mentioned specific embodiments, those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Although the description of the present invention is introduced in conjunction with the preferred embodiment, this does not mean that the features of this invention are limited to this implementation method. On the contrary, the purpose of introducing the invention in conjunction with the implementation method is to cover other options or modifications that may be extended based on the claims of the present invention. In order to provide a deep understanding of the present invention, the above description contains many specific details, and the present invention can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the present invention, some specific details will be omitted in the description. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0225] It should be noted that in this specification, similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0226] The terms “first”, “second”, etc. are only used for distinguishing descriptions and should not be understood as indicating or implying relative importance.

[0227] Although the present invention has been illustrated and described with reference to certain preferred embodiments of the present invention, it should be understood by those skilled in the art that the above is a further detailed description of the present invention in conjunction with specific embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. Those skilled in the art may make various changes in form and details, including making several simple deductions or substitutions, without departing from the spirit and scope of the present invention.

Claims

1. A vehicle function configuration method, characterized in that: Applied to a vehicle function configuration system, the vehicle function configuration system includes a vehicle function configuration management module and an upper layer application program, the method includes: The vehicle function configuration management module determines the first configuration word information, the second configuration word information and the configuration word logical relationship mapping table corresponding to the target vehicle, wherein the first configuration word information is the configuration word information corresponding to the vehicle model to which the target vehicle belongs and can be recognized by the upper layer application, and the second configuration word information is the configuration word information of the target vehicle defined by the manufacturer of the target vehicle; The vehicle function configuration management module performs configuration word verification processing on the second configuration word information according to the configuration word logical relationship mapping table to obtain third configuration word information that can be recognized by the upper layer application; The vehicle function configuration management module obtains the target configuration word information corresponding to the target vehicle according to the first configuration word information and the third configuration word information; The upper layer application performs corresponding function configuration according to the target configuration word information.

2. The vehicle function configuration method according to claim 1, characterized in that: The configuration word information includes identification information of the configuration word, a data type, and a value corresponding to each data type. The method further includes: The upper-layer application determines the first identification information of the first configuration word to be queried, and calls the vehicle function configuration management module so that the vehicle function configuration management module determines the first data type corresponding to the first identification information and the first value corresponding to the first data type, and sends the first value corresponding to the first data type to the upper-layer application.

3. The vehicle function configuration method according to claim 2, characterized in that: The vehicle function configuration system further includes a first storage unit and a second storage unit, the first configuration word information is stored in the first storage unit, and the method further includes: The vehicle function configuration management module stores the first configuration word information and the third configuration word information in the second storage unit.

4. The vehicle function configuration method according to claim 3, characterized in that: The vehicle function configuration management module determines a first data type corresponding to the first identification information and a first value corresponding to the first data type, and sends the first value corresponding to the first data type to the upper layer application, including performing the following processing: When it is determined that the first identification information exists in the second storage unit, reading a first data type corresponding to the first identification information and the first value corresponding to the first data type from the second storage unit; If the first data type and the first value are read from the second storage unit, the first value corresponding to the first data type is sent to the upper layer application; If the first data type and the first value are not read from the second storage unit, reading the first data type corresponding to the first identification information and the first value corresponding to the first data type from the first storage unit; When the first data type and the first value are read from the first storage unit, the first value corresponding to the first data type is sent to the upper layer application.

5. The vehicle function configuration method according to claim 4, characterized in that: The method further includes, the vehicle function configuration management module returning an error value to the upper layer application in the following circumstances: In the case where it is determined that the first identification information does not exist in the second storage unit; In a case where the first data type and the first value are not read from the first storage unit.

6. The vehicle function configuration method according to any one of claims 3 to 5, characterized in that: The method further comprises: The upper layer application determines the second identification information of the second configuration word to be modified, the second data type, and the second value corresponding to the second data type, and calls the vehicle function configuration management module so that the vehicle function configuration management module performs the following processing: Modify a current value corresponding to the second data type and the second identification information in the second storage unit to the second value; When it is determined that the modification is successful, the upper layer application is notified so that the upper layer application performs corresponding function configuration according to the modified second configuration word.

7. The vehicle function configuration method according to claim 6, characterized in that: The configuration word information also includes permission information, and the vehicle function configuration management module modifies the current value corresponding to the second data type of the second identification information in the second storage unit to the second value, including performing the following processing: If it is determined that the upper layer application has modification authority, reading the second identification information from the second storage unit; In case the second identification information is read, determining the authority information of the current value corresponding to the second data type; When it is determined that the permission information is data readable and writable, the current value is modified to the second value.

8. The vehicle function configuration method according to any one of claims 3 to 5, characterized in that: The vehicle function configuration system further includes a cloud, and the method further includes: The cloud determines second identification information of a second configuration word to be modified, a second data type, and a second value corresponding to the second data type, and sends the second identification information, the second data type, and the second value to the vehicle function configuration management module; The vehicle function configuration management module modifies the current value corresponding to the second data type of the second identification information in the second storage unit to the second value; When determining that the second configuration word is modified successfully, the vehicle function configuration management module notifies the upper layer application so that the upper layer application performs corresponding function configuration according to the modified second configuration word.

9. The vehicle function configuration method according to claim 8, characterized in that: The method further comprises: The cloud determines an application configuration file corresponding to the upper-layer application, the application configuration file includes fourth configuration word information, the fourth configuration word information includes third identification information, and sends the third identification information to the vehicle function configuration management module; When determining that the third identification information exists in the second storage unit, the vehicle function configuration management module reads a third value corresponding to the third identification information from the second storage unit and sends the third value to the cloud, wherein the third value is a file storage path of the application configuration file; The cloud stores the application configuration file in the file storage path corresponding to the third value according to the third value; The vehicle function configuration management module determines the upper-layer application corresponding to the third identification information, so that the upper-layer application performs corresponding function configuration according to the application configuration file under the file storage path.

10. The vehicle function configuration method according to claim 9, characterized in that: The vehicle function configuration management module determines the upper-layer application corresponding to the third identification information, so that the upper-layer application performs corresponding function configuration according to the application configuration file under the file storage path, including performing the following processing: Obtaining first key information of the application configuration file sent by the cloud; Obtain the second key information of the application configuration file under the file storage path; In the case where the first key information and the second key information are the same, the upper layer application corresponding to the third identification information is determined, so that the upper layer application performs corresponding function configuration according to the application configuration file under the file storage path.

11. A vehicle function configuration system, characterized in that: The system includes a vehicle function configuration management module and an upper layer application program, wherein The vehicle function configuration management module is used to determine the first configuration word information, the second configuration word information and the configuration word logic relationship mapping table corresponding to the target vehicle, perform configuration word verification processing on the second configuration word information according to the configuration word logic relationship mapping table to obtain the third configuration word information that can be recognized by the upper-layer application, and obtain the target configuration word information corresponding to the target vehicle according to the first configuration word information and the third configuration word information, the first configuration word information is the configuration word information corresponding to the vehicle model to which the target vehicle belongs and can be recognized by the upper-layer application, and the second configuration word information is the configuration word information of the target vehicle defined by the manufacturer of the target vehicle; The upper layer application is used to perform corresponding function configuration according to the target configuration word information.

12. A vehicle, characterized in that: The vehicle includes the vehicle function configuration system according to claim 11.