Dynamic configuration updating method and system, electronic equipment and storage medium

Through dynamic function expansion library and configuration file updates, the problem of extended development iteration cycle caused by demand changes or new requirements in intelligent connected car systems is solved, achieving rapid iteration and efficient development.

CN118708205APending Publication Date: 2024-09-27CHINA FAW CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410841419.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In the existing technology, the number of ECUs and lines of code on smart connected cars has increased, resulting in system complexity and shortened iteration cycles. Rapid response and iterative development of demand changes or new requirements cannot be achieved, resulting in a longer development iteration cycle.

Method used

By building a dynamic function extension library, determining the configuration file, and updating the preset configuration file, dynamic configuration updates of the vehicle electronic system are realized, and dynamic service discovery and mapping analysis are used to quickly iterate the vehicle electronic system.

Benefits of technology

It achieves rapid response and iterative development when requirements change or add new requirements, reducing the development iteration cycle and improving the efficiency of work debugging and verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708205A
    Figure CN118708205A
Patent Text Reader

Abstract

The invention discloses a dynamic configuration updating method and system, electronic equipment and a storage medium, and the method comprises the steps: constructing a dynamic function extension library; according to the dynamic service extension library, a configuration file is determined, and the configuration file is used for representing the configuration of the dynamic service; according to the configuration file, updating a preset configuration file to obtain an updated configuration file; and updating the vehicle electronic system according to the update configuration file. According to the method and the device, the technical problem that rapid correspondence and iterative development cannot be realized under the condition of demand change or demand addition in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of vehicle technology, and in particular, relates to a dynamic configuration update method, system, electronic device and storage medium. Background Art

[0002] With the rapid development of electronic control and communication systems, intelligent connected vehicles, especially autonomous driving technology, are becoming more and more complex. The number of ECUs and lines of code on the vehicle are increasing day by day, the complexity of the entire automotive system is also increasing, and the iteration cycle is getting shorter and shorter, which leads to pressure on all automotive development practitioners. On the MPU side, the POSIX operating system is usually deployed, and each application is developed based on the adaptive AUTOSAR specification to realize the SOA of services. The data communication between domains uses the SomeIP or DDS protocol for Ethernet transmission of data. The service communication deployment based on the SomeIP protocol is implemented in a static configuration manner, and cannot be modified after each integrated release. This means that if there are changes in requirements or new requirements, it is necessary to wait for the next integrated release before functional joint debugging, verification and adaptation can be performed, and rapid response and iterative development cannot be achieved. Summary of the invention

[0003] The embodiments of the present invention provide a dynamic configuration update method, system, electronic device and storage medium to at least solve the technical problem in the prior art that rapid response and iterative development cannot be achieved when there are changes in requirements or new requirements.

[0004] According to a first aspect of an embodiment of the present invention, a dynamic configuration update method is provided, the method comprising: constructing a dynamic function extension library; determining a configuration file based on the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service; updating a preset configuration file based on the configuration file to obtain an updated configuration file; and updating a vehicle electronic system based on the updated configuration file.

[0005] Optionally, determining the configuration file according to the dynamic service extension library includes: performing dynamic service discovery according to the dynamic function extension library using an independent service configuration module to obtain a discovery result; and determining the configuration file corresponding to the dynamic service according to the discovery result.

[0006] Optionally, updating the preset configuration file according to the configuration file to obtain the updated configuration file includes: matching the configuration file with the preset configuration file to obtain a matching result; in response to the matching result indicating that the configuration file is not included in the preset configuration file, updating the preset configuration file to obtain an updated configuration file.

[0007] Optionally, updating a preset configuration file according to the configuration file to obtain the updated configuration file includes: in response to a matching result indicating that the configuration file is included in the preset configuration file, terminating a process of updating the preset configuration file.

[0008] Optionally, matching the configuration file with a preset configuration file to obtain a matching result includes: matching the configuration file with the preset configuration file according to a preset matching item to obtain a matching result.

[0009] Optionally, updating the vehicle electronic system according to the update configuration file includes: mapping and parsing the update configuration file according to a preset strategy to obtain a target application; and sending the update configuration file to the target application to update the vehicle electronic system.

[0010] According to a second aspect of an embodiment of the present invention, a dynamic configuration update system is further provided, including:

[0011] A construction module is used to construct a dynamic function extension library; a determination module is used to determine a configuration file based on the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service; a first update module is used to update a preset configuration file based on the configuration file to obtain an updated configuration file; a second update module is used to update the vehicle electronic system based on the updated configuration file.

[0012] Optionally, the determination module is further used to: perform dynamic service discovery based on the dynamic function extension library and utilize an independent service configuration module to obtain a discovery result; and determine a configuration file corresponding to the dynamic service based on the discovery result.

[0013] Optionally, the first updating module is further used to: match the configuration file with a preset configuration file to obtain a matching result; in response to the matching result indicating that the configuration file is not included in the preset configuration file, update the preset configuration file to obtain an updated configuration file.

[0014] Optionally, the first updating module is further configured to: in response to the matching result indicating that the configuration file is included in the preset configuration file, terminate the process of updating the preset configuration file.

[0015] Optionally, the first updating module is further used to: match the configuration file with a preset configuration file according to a preset matching item to obtain a matching result.

[0016] Optionally, the second update module is further used to: map and parse the update configuration file according to a preset strategy to obtain a target application; and send the update configuration file to the target application to update the vehicle electronic system.

[0017] According to a third aspect of an embodiment of the present invention, a vehicle is also provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the dynamic configuration update method described in any embodiment of the first aspect above.

[0018] According to a fourth aspect of an embodiment of the present invention, a non-volatile storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the dynamic configuration update method described in any embodiment of the first aspect when running on a computer or a processor.

[0019] According to a fifth aspect of an embodiment of the present invention, a computer program product is also provided, including a computer program, which, when executed by a processor, implements the dynamic configuration update method described in any embodiment of the first aspect above.

[0020] In an embodiment of the present invention, a dynamic function extension library is constructed; a configuration file is determined based on the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service; a preset configuration file is updated based on the configuration file to obtain an updated configuration file; and a vehicle electronic system is updated based on the updated configuration file. The present invention can quickly iterate the vehicle electronic system by constructing a dynamic service extension library to achieve dynamic updating of preset configuration files, thereby solving the technical problem in the prior art that rapid correspondence and iterative development cannot be achieved when there are changes in requirements or new requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0022] Figure 1 is a flow chart of a dynamic configuration update method according to one embodiment of the present invention;

[0023] Figure 2 is a schematic diagram of the architecture of a dynamic configuration update method according to one embodiment of the present invention;

[0024] Figure 3 is a structural block diagram of a dynamic configuration update system according to one embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] According to an embodiment of the present invention, an embodiment of a dynamic configuration update method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system containing at least one set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0028] The method embodiment can also be executed in an electronic device including a memory and a processor, a similar control device or a cloud. Taking an electronic device as an example, the electronic device may include one or more processors and a memory for storing data. Optionally, the electronic device may also include a communication device and a display device for communication functions. It can be understood by those of ordinary skill in the art that the above structural description is only illustrative and does not limit the structure of the above electronic device. For example, the electronic device may also include more or fewer components than the above structural description, or have a configuration different from the above structural description.

[0029] The processor may include one or more processing units. For example, the processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a field-programmable gate array (FPGA), a neural network processor (NPU), a tensor processing unit (TPU), an artificial intelligence (AI) type processor, and the like. Among them, different processing units may be independent components or integrated into one or more processors. In some instances, the electronic device may also include one or more processors.

[0030] The memory can be used to store computer programs, such as storing the computer program corresponding to the dynamic configuration update method in the embodiment of the present invention, and the processor implements the above-mentioned dynamic configuration update method by running the computer program stored in the memory. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0031] The communication device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the communication device includes a network adapter (network interface controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the communication device can be a radio frequency (radio frequency, RF) module, which is used to communicate with the Internet wirelessly. In some embodiments of the present solution, the communication device is used to connect to mobile devices such as mobile phones and tablets, and instructions can be sent to electronic devices through the mobile device.

[0032] The display device may be a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the electronic device. In some embodiments, the electronic device has a graphical user interface (GUI), and a user may interact with the GUI by touching a finger release and / or gestures on a touch-sensitive surface, and executable instructions for executing the above-mentioned human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.

[0033] Figure 1 is a flow chart of a dynamic configuration update method according to one embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0034] Step S101, building a dynamic function extension library.

[0035] Step S102: determining a configuration file according to the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service.

[0036] Step S103: updating the preset configuration file according to the configuration file to obtain an updated configuration file.

[0037] Step S104: updating the vehicle electronic system according to the update configuration file.

[0038] In an embodiment of the present invention, a dynamic function extension library is constructed; a configuration file is determined based on the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service; a preset configuration file is updated based on the configuration file to obtain an updated configuration file; and a vehicle electronic system is updated based on the updated configuration file. The present invention can quickly iterate the vehicle electronic system by constructing a dynamic service extension library to achieve dynamic updating of preset configuration files, thereby solving the technical problem in the prior art that rapid correspondence and iterative development cannot be achieved when there are changes in requirements or new requirements.

[0039] Optionally, determining the configuration file according to the dynamic service extension library includes: performing dynamic service discovery according to the dynamic function extension library using an independent service configuration module to obtain a discovery result; and determining the configuration file corresponding to the dynamic service according to the discovery result.

[0040] Optionally, updating the preset configuration file according to the configuration file to obtain the updated configuration file includes: matching the configuration file with the preset configuration file to obtain a matching result; in response to the matching result indicating that the configuration file is not included in the preset configuration file, updating the preset configuration file to obtain an updated configuration file.

[0041] Optionally, updating a preset configuration file according to the configuration file to obtain the updated configuration file includes: in response to a matching result indicating that the configuration file is included in the preset configuration file, terminating a process of updating the preset configuration file.

[0042] Optionally, matching the configuration file with a preset configuration file to obtain a matching result includes: matching the configuration file with the preset configuration file according to a preset matching item to obtain a matching result.

[0043] Optionally, updating the vehicle electronic system according to the update configuration file includes: mapping and parsing the update configuration file according to a preset strategy to obtain a target application; and sending the update configuration file to the target application to update the vehicle electronic system.

[0044] Based on the above embodiments, refer to Figure 2 The method provided by the present invention specifically includes the following contents:

[0045] 1. Add a new SOA service management application in the Autosar AP system on the MPU side. This application provides a service middleware function extension library (hereinafter referred to as the "extension library") in the form of so. The extension library provides an API for the vehicle-side application to use. The extension library communicates with the SOA service management process through IPC inter-process communication;

[0046] 2. The vehicle-side application references the corresponding dynamic so library, and performs dynamic service discovery and invocation through its internal SOA service configuration module, so as to transfer the application's vsomeip.json configuration file to the SOA service management process;

[0047] 3. The SOA service configuration module in the SOA service management process will locally parse and cache the read vsomeip.json configuration file information and add a map for mapping management;

[0048] 4. When smart mobile / cloud terminal and other platforms send SOA service call requests to TBox via MQTT;

[0049] 5. TBox parses MQTT messages, converts them into SOEMIP protocol messages, and forwards service call requests from smart mobile / cloud terminal platforms to the SOA service management application on the vehicle side;

[0050] 6. Applications installed in CSC (cockpit central control) call open source libraries such as vsomeip to send someip message requests to the SOA service management application on the vehicle side;

[0051] 7. The SOA service discovery management module in the SOA service management process receives the someip message request information sent in steps 4 and 5, performs internal cache verification after parsing the message through internal calls, and verifies the service or method through key information such as serviceid, instance id, method id, etc. If it is found that the service or method is not configured in the corresponding cached vsomeip.json configuration file, the service discovery management module encapsulates the data through the json parsing function provided by the jsoncpp third-party library;

[0052] 8. The SOA service discovery management module forwards the encapsulated data to the internal SOA service scheduling management module. The scheduling module performs map mapping analysis and sends the final updated vsomeip.json file to the corresponding application.

[0053] 9. After the vehicle-side application process is restarted, the latest vsomeip.json configuration file will take effect. At this time, you can use the added or changed services to perform related someip communication services.

[0054] It should be noted that the characteristics of the Someip communication protocol integrated in the current adaptive AUOTSAR default to static configuration processing for Someip communication, which cannot be modified after each integrated release. This means that when there are changes in requirements or new requirements, it is necessary to wait for the next integrated release before functional joint debugging and verification adaptation can be performed, which makes it impossible to achieve rapid response and iterative development. In response to the above problems, this patent proposes the following solution to achieve dynamic Someip configuration deployment: encapsulate the SOA service management middleware function extension library so, and the vehicle-side application references the corresponding dynamic library, and uses its internal SOA service configuration module to perform dynamic service discovery and calling, so as to realize the transfer of the application's vsomeip.json configuration file to the SOA service management process; the SOA service configuration module in the SOA service management process will locally parse and cache the read vsomeip.json configuration file information, and add a map for mapping management; the SOA service discovery management module in the SOA service management process is used to receive someip messages forwarded from other domains, perform internal cache verification after message parsing, and use service id, instance The service or method is verified by using key information such as id and methodid. If it is found that the service or method is not configured in the corresponding cached vsomeip.json configuration file, the service discovery management module encapsulates the data through the json parsing function provided by the jsoncpp third-party library; the SOA service discovery management module forwards the encapsulated data to the internal SOA service scheduling management module, and the scheduling module performs map mapping and parsing, and sends the final updated vsomeip.json file to the corresponding application; after the vehicle-side application process is restarted, the latest vsomeip.json configuration file takes effect, and the added or changed services can be used for related someip communication services. Through the above business process, the dynamic update of someip service configuration can be realized, ensuring that the current platform application can be quickly debugged and verified without going through a set of complicated iterative processes again, thereby reducing the development iteration cycle for application process development on the MPU side and improving the efficiency of work debugging and verification.

[0055] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0056] In the present embodiment, a dynamic configuration update system is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" is a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0057] Figure 3 is a structural block diagram of a dynamic configuration update system 200 according to one embodiment of the present invention. Figure 3 As shown, a dynamic configuration update system 200 is used as an example, including: a construction module 201, used to construct a dynamic function extension library; a determination module 202, used to determine a configuration file based on the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service; a first update module 203, used to update a preset configuration file based on the configuration file to obtain an updated configuration file; a second update module 204, used to update the vehicle electronic system based on the updated configuration file.

[0058] Optionally, the determination module 202 is further used to: perform dynamic service discovery according to the dynamic function extension library and utilize an independent service configuration module to obtain a discovery result; and determine a configuration file corresponding to the dynamic service according to the discovery result.

[0059] Optionally, the first updating module 203 is further used to: match the configuration file with a preset configuration file to obtain a matching result; in response to the matching result indicating that the configuration file is not included in the preset configuration file, update the preset configuration file to obtain an updated configuration file.

[0060] Optionally, the first updating module 203 is further configured to: in response to the matching result indicating that the configuration file is included in the preset configuration file, terminate the process of updating the preset configuration file.

[0061] Optionally, the first updating module 203 is further used to: match the configuration file with a preset configuration file according to a preset matching item to obtain a matching result.

[0062] Optionally, the second updating module 204 is further used to: map and parse the update configuration file according to a preset strategy to obtain a target application; and send the update configuration file to the target application to update the vehicle electronic system.

[0063] An embodiment of the present invention further provides a vehicle, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the dynamic configuration update method described in any of the above embodiments.

[0064] Optionally, in this embodiment, the processor in the vehicle may be configured to run a computer program to perform the following steps:

[0065] Step S101, building a dynamic function extension library.

[0066] Step S102: determining a configuration file according to the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service.

[0067] Step S103: updating the preset configuration file according to the configuration file to obtain an updated configuration file.

[0068] Step S104: updating the vehicle electronic system according to the update configuration file.

[0069] Optionally, determining the configuration file according to the dynamic service extension library includes: performing dynamic service discovery according to the dynamic function extension library using an independent service configuration module to obtain a discovery result; and determining the configuration file corresponding to the dynamic service according to the discovery result.

[0070] Optionally, updating the preset configuration file according to the configuration file to obtain the updated configuration file includes: matching the configuration file with the preset configuration file to obtain a matching result; in response to the matching result indicating that the configuration file is not included in the preset configuration file, updating the preset configuration file to obtain an updated configuration file.

[0071] Optionally, updating a preset configuration file according to the configuration file to obtain the updated configuration file includes: in response to a matching result indicating that the configuration file is included in the preset configuration file, terminating a process of updating the preset configuration file.

[0072] Optionally, matching the configuration file with a preset configuration file to obtain a matching result includes: matching the configuration file with the preset configuration file according to a preset matching item to obtain a matching result.

[0073] Optionally, updating the vehicle electronic system according to the update configuration file includes: mapping and parsing the update configuration file according to a preset strategy to obtain a target application; and sending the update configuration file to the target application to update the vehicle electronic system.

[0074] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0075] An embodiment of the present invention further provides a non-volatile storage medium, in which a computer program is stored, wherein the computer program is configured to execute the dynamic configuration update method described in any of the above embodiments when running on a computer or a processor.

[0076] Optionally, in this embodiment, the above-mentioned computer program may be configured to store a computer program for performing the following steps:

[0077] Step S101, building a dynamic function extension library.

[0078] Step S102: determining a configuration file according to the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service.

[0079] Step S103: updating the preset configuration file according to the configuration file to obtain an updated configuration file.

[0080] Step S104: updating the vehicle electronic system according to the update configuration file.

[0081] Optionally, determining the configuration file according to the dynamic service extension library includes: performing dynamic service discovery according to the dynamic function extension library using an independent service configuration module to obtain a discovery result; and determining the configuration file corresponding to the dynamic service according to the discovery result.

[0082] Optionally, updating the preset configuration file according to the configuration file to obtain the updated configuration file includes: matching the configuration file with the preset configuration file to obtain a matching result; in response to the matching result indicating that the configuration file is not included in the preset configuration file, updating the preset configuration file to obtain an updated configuration file.

[0083] Optionally, updating a preset configuration file according to the configuration file to obtain the updated configuration file includes: in response to a matching result indicating that the configuration file is included in the preset configuration file, terminating a process of updating the preset configuration file.

[0084] Optionally, matching the configuration file with a preset configuration file to obtain a matching result includes: matching the configuration file with the preset configuration file according to a preset matching item to obtain a matching result.

[0085] Optionally, updating the vehicle electronic system according to the update configuration file includes: mapping and parsing the update configuration file according to a preset strategy to obtain a target application; and sending the update configuration file to the target application to update the vehicle electronic system.

[0086] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0087] An embodiment of the present invention further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the dynamic configuration update method described in any of the above embodiments is implemented.

[0088] Optionally, in this embodiment, the above computer program implements the following steps when executed by a processor:

[0089] Step S101, building a dynamic function extension library.

[0090] Step S102: determining a configuration file according to the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service.

[0091] Step S103: updating the preset configuration file according to the configuration file to obtain an updated configuration file.

[0092] Step S104: updating the vehicle electronic system according to the update configuration file.

[0093] Optionally, determining the configuration file according to the dynamic service extension library includes: performing dynamic service discovery according to the dynamic function extension library using an independent service configuration module to obtain a discovery result; and determining the configuration file corresponding to the dynamic service according to the discovery result.

[0094] Optionally, updating the preset configuration file according to the configuration file to obtain the updated configuration file includes: matching the configuration file with the preset configuration file to obtain a matching result; in response to the matching result indicating that the configuration file is not included in the preset configuration file, updating the preset configuration file to obtain an updated configuration file.

[0095] Optionally, updating a preset configuration file according to the configuration file to obtain the updated configuration file includes: in response to a matching result indicating that the configuration file is included in the preset configuration file, terminating a process of updating the preset configuration file.

[0096] Optionally, matching the configuration file with a preset configuration file to obtain a matching result includes: matching the configuration file with the preset configuration file according to a preset matching item to obtain a matching result.

[0097] Optionally, updating the vehicle electronic system according to the update configuration file includes: mapping and parsing the update configuration file according to a preset strategy to obtain a target application; and sending the update configuration file to the target application to update the vehicle electronic system.

[0098] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0099] In some embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the modules can be a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, modules or indirect coupling or communication connection of modules, which can be electrical or other forms.

[0100] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0101] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.

[0102] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0103] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A dynamic configuration update method, characterized in that: include: Build a dynamic function extension library; Determine a configuration file according to the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service; According to the configuration file, the preset configuration file is updated to obtain an updated configuration file; The vehicle electronic system is updated according to the update configuration file.

2. The dynamic configuration update method according to claim 1, characterized in that: Determining the configuration file according to the dynamic service extension library includes: According to the dynamic function extension library, using an independent service configuration module, dynamic service discovery is performed to obtain a discovery result; According to the discovery result, a configuration file corresponding to the dynamic service is determined.

3. The dynamic configuration update method according to claim 1, characterized in that: The updating of the preset configuration file according to the configuration file to obtain the updated configuration file comprises: Matching the configuration file with a preset configuration file to obtain a matching result; In response to the matching result indicating that the configuration file is not included in the preset configuration file, the preset configuration file is updated to obtain an updated configuration file.

4. The dynamic configuration update method according to claim 3, characterized in that: The updating of the preset configuration file according to the configuration file to obtain the updated configuration file comprises: In response to the matching result indicating that the configuration file is included in the preset configuration file, the process of updating the preset configuration file is terminated.

5. The dynamic configuration update method according to claim 3, characterized in that: The matching of the configuration file with the preset configuration file to obtain a matching result includes: According to the preset matching items, the configuration file is matched with the preset configuration file to obtain a matching result.

6. The dynamic configuration update method according to claim 1, characterized in that: The updating of the vehicle electronic system according to the update configuration file comprises: Mapping and parsing the update configuration file according to a preset strategy to obtain a target application; The update configuration file is sent to the target application to update the vehicle electronic system.

7. A dynamic configuration update system, characterized in that: include: Building modules for building dynamic function extension libraries; A determination module, used to determine a configuration file according to the dynamic service extension library, wherein the configuration file is used to characterize the configuration of the dynamic service; A first updating module, used to update a preset configuration file according to the configuration file to obtain an updated configuration file; The second updating module is used to update the vehicle electronic system according to the update configuration file.

8. A vehicle comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the dynamic configuration update method described in any one of claims 1 to 6.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a computer program, wherein the computer program is configured to execute the dynamic configuration update method described in any one of claims 1 to 6 when running on a computer or a processor.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the dynamic configuration updating method according to any one of claims 1 to 6 when being executed by a processor.

Citation Information

Cited By

  • Method and device for dynamically loading service channel and instance based on AutosraAP platform

    CN119496815A