Adaptive platform updating method and device and computer storage medium
By restoring the adaptive platform to multiple platform units and modifying it, the problem of large workload of modification methods in the secondary development of the adaptive platform is solved, and a more efficient update process is achieved.
Patent Information
- Application Number
- CN202411541013.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-28
AI Technical Summary
During the secondary development of the adaptive platform, the modification methods of the existing technology are large in work and low in development efficiency.
By extracting the project folder of the target adaptive platform, restoring it to multiple platform units, and modifying the units based on actual needs, finally regenerating the target adaptive platform.
Reduces the update complexity of the adaptive platform and improves update efficiency.
Smart Images

Figure CN119536767A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to an updating method, device and computer storage medium of an adaptive platform. Background Art
[0002] With the development of automotive electronic technology, especially the rise of intelligent networking technology in the automotive field, the classic automotive open system architecture platform (AUTomotive Open System ARchitecture, AUTOSAR) can no longer meet the increasingly complex automotive electronic control function requirements; the automotive open system architecture adaptive platform (AUTomotive Open System ARchitecture Adaptive Platform, AUTOSAR AP) has replaced the classic platform and gradually become the mainstream development platform; but in actual application scenarios, in the process of secondary development of the adaptive platform, there are two modification methods: one is to directly modify the adaptive platform as a whole, and the other is to regenerate the adaptive platform from scratch for overall replacement; the above two modification methods have a large workload and low development efficiency. Summary of the invention
[0003] In view of the above-mentioned problems in the prior art, the purpose of the present application is to improve the secondary development efficiency of the adaptive platform by restoring the adaptive platform into various units and modifying the units based on actual needs.
[0004] In order to solve the above problems, the present application provides an updating method of an adaptive platform, comprising:
[0005] Extracting the directory of the project folder of the target adaptive platform to obtain the code directory and the configuration file directory of the adaptive platform; the target adaptive platform is used to configure the vehicle control system; the project folder includes source code files and configuration files; the code directory refers to a directory file storing the source code files; the configuration file directory refers to a directory file storing the configuration files;
[0006] Based on the code directory, the configuration file directory and multiple target character segments, the target adaptive platform is restored into multiple platform units; the multiple target character segments correspond to the multiple platform units one by one; each target character segment represents a file storage path of a unit file corresponding to a corresponding platform unit; the unit file is the source code file or the configuration file;
[0007] Modify the unit file corresponding to the at least one platform unit based on the update modification instruction to obtain the at least one updated platform unit;
[0008] A project folder of the target adaptive platform is generated based on the updated at least one platform unit.
[0009] In an embodiment of the present application, the multiple target character segments include a first character segment, at least one platform unit among the multiple platform units is an application environment unit; the first character segment represents a file storage path of a unit file corresponding to the application environment unit; the application environment unit is used to configure the software operating environment of the vehicle control system; based on the code directory, the configuration file directory and the multiple target character segments, restoring the target adaptive platform into multiple platform units includes:
[0010] Determine, from the code directory, a unit file corresponding to the application environment unit based on the first character segment;
[0011] Based on the first information query instruction, information query is performed from the unit file corresponding to the application environment unit to obtain application information; the application information represents information configured by the target adaptive platform for the software operating environment of the vehicle control system;
[0012] Creating the application environment unit based on the application information;
[0013] The plurality of platform units are obtained based on the application environment unit.
[0014] In an embodiment of the present application, the multiple target character segments include a second character segment, at least one platform unit among the multiple platform units is a software and hardware matching unit; the second character segment represents a file storage path of a unit file corresponding to the software and hardware matching unit; the software and hardware matching unit is used to match the software corresponding to the vehicle control system and the hardware corresponding to the vehicle control system; based on the code directory, the configuration file directory and the multiple target character segments, restoring the target adaptive platform into multiple platform units includes:
[0015] Determine the unit file corresponding to the software and hardware matching unit from the configuration file directory based on the second character segment;
[0016] Based on the second information query instruction, information query is performed from the unit file corresponding to the software and hardware matching unit to obtain system information; the system information represents the matching information of the target adaptive platform to the target software and the target hardware; the target software is the software corresponding to the vehicle control system; the target hardware is the hardware corresponding to the vehicle control system;
[0017] Creating the software and hardware matching unit based on the system information;
[0018] The multiple platform units are obtained based on the software and hardware matching unit.
[0019] In an embodiment of the present application, the multiple target character segments include a third character segment, at least one platform unit among the multiple platform units is a service interface unit; the third character segment represents a file storage path of a unit file corresponding to the service interface unit; the service interface unit is used to configure parameters of a communication interface in the vehicle control system; based on the code directory, the configuration file directory and the multiple target character segments, restoring the target adaptive platform into multiple platform units includes:
[0020] Determine the unit file corresponding to the service interface unit from the configuration file directory based on the third character segment;
[0021] Based on the third information query instruction, information query is performed from the unit file corresponding to the service interface unit to obtain service information; the service information represents information on parameter configuration of the communication interface of the vehicle control system by the target adaptive platform;
[0022] Creating the service interface unit based on the service information;
[0023] The plurality of platform units are obtained based on the service interface unit.
[0024] In an embodiment of the present application, at least one of the plurality of platform units is a service discovery unit; the service discovery unit is used to configure the communication status of each control module in the vehicle control system; based on the code directory, the configuration file directory and the plurality of target character segments, restoring the target adaptive platform into the plurality of platform units also includes:
[0025] Based on the fourth information query instruction, information query is performed from the unit file corresponding to the service interface unit to obtain service communication information; the service communication information represents information configured by the target adaptive platform for the communication status of each control module in the vehicle control system;
[0026] Creating the service discovery unit based on the service communication information;
[0027] The plurality of platform units are obtained based on the service discovery unit.
[0028] In an embodiment of the present application, the multiple target character segments include a fourth character segment, at least one platform unit among the multiple platform units is a diagnostic unit; the fourth character segment represents a file storage path of a unit file corresponding to the diagnostic unit; the diagnostic unit is used to configure the detection and diagnostic parameters of the vehicle control system; based on the code directory, the configuration file directory and the multiple target character segments, restoring the target adaptive platform into multiple platform units includes:
[0029] Determine, from the configuration file directory, a unit file corresponding to the diagnostic unit based on the fourth character segment;
[0030] Based on the fifth information query instruction, information query is performed from the unit file corresponding to the diagnostic unit to obtain diagnostic information; the diagnostic information is used to represent the information that the target adaptive platform configures the detection and diagnostic parameters of the vehicle control system;
[0031] creating the diagnosis unit based on the diagnosis information;
[0032] The plurality of platform units are obtained based on the diagnosis unit.
[0033] In an embodiment of the present application, the fifth information query instruction includes diagnostic category information; the information query is performed from the unit file corresponding to the diagnostic unit based on the fifth information query instruction to obtain diagnostic information including:
[0034] In the case where the diagnostic category information is of the first category, information query is performed from the unit file corresponding to the diagnostic unit based on the first category to obtain first diagnostic information; the first diagnostic information is used to represent information on the target adaptive platform configuring the hardware detection diagnostic parameters of the vehicle control system;
[0035] When the diagnostic type information is of the second category, information is queried from the unit file corresponding to the diagnostic unit based on the second category to obtain second diagnostic information; the second diagnostic information is used to characterize information on the target adaptive platform configuring the software detection diagnostic parameters of the vehicle control system.
[0036] On the other hand, the present application also provides an update system for an adaptive platform, the system comprising:
[0037] A directory extraction module is used to extract the directory of the project folder of the target adaptive platform to obtain the code directory and the configuration file directory of the adaptive platform; the target adaptive platform is used to configure the vehicle control system; the project folder includes source code files and configuration files; the code directory refers to the directory file storing the source code file; the configuration file refers to the directory file storing the configuration file;
[0038] A unit restoration module, for restoring the target adaptive platform into a plurality of platform units based on the code directory, the configuration file directory and a plurality of target character segments; the plurality of target character segments correspond to the plurality of platform units one by one; each target character segment represents a file storage path of a unit file corresponding to a corresponding platform unit; the unit file is the source code file or the configuration file;
[0039] A modification and update module, used to modify the unit file corresponding to at least one platform unit based on the update modification instruction to obtain at least one updated platform unit;
[0040] A platform generation module is used to generate a project folder of the target adaptive platform based on the updated at least one platform unit.
[0041] On the other hand, the present application also provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the update method of the adaptive platform as mentioned above.
[0042] On the other hand, the present application also provides a computer storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the update method of the adaptive platform as described above.
[0043] Due to the above technical solution, the updating method of an adaptive platform described in this application has the following beneficial effects:
[0044] By extracting the directory of the project folder of the target adaptive platform, the target adaptive platform is restored into multiple platform units. During the secondary development or update of the target adaptive platform, only at least one of the multiple platform units needs to be modified, and then the updated platform units and the non-updated platform units are regenerated into the target adaptive platform, thereby reducing the update complexity of the target adaptive platform and improving the update efficiency of the target adaptive platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments or prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0046] Figure 1 It is a flowchart of a method for updating an adaptive platform provided in an embodiment of the present application;
[0047] Figure 2 It is a schematic diagram of the restoration process of the application environment unit in the updating method of the adaptive platform provided in the embodiment of the present application;
[0048] Figure 3It is a schematic diagram of the restoration process of the software and hardware matching unit in the updating method of the adaptive platform provided in the embodiment of the present application;
[0049] Figure 4 It is a schematic diagram of the restoration process of the service interface unit in the updating method of the adaptive platform provided in the embodiment of the present application;
[0050] Figure 5 It is a schematic diagram of the restoration process of the service discovery unit in the updating method of the adaptive platform provided in the embodiment of the present application;
[0051] Figure 6 It is a schematic diagram of the restoration process of the diagnostic unit in the updating method of the adaptive platform provided in the embodiment of the present application;
[0052] Figure 7 It is a schematic diagram of a process for determining diagnostic information in a method for updating an adaptive platform provided in an embodiment of the present application;
[0053] Figure 8 It is a schematic diagram of the structure of an updating device of an adaptive platform provided in an embodiment of the present application;
[0054] Fig. 9 It is a hardware structure block diagram of the updating method of the adaptive platform provided in the embodiment of the present application. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0056] The term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present application. In the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "upper", "lower", "left", "right", "top", "bottom", etc. is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present application. In addition, the terms "first" and "second" are used only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may include one or more of the features explicitly or implicitly. Moreover, the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here.
[0057] Combination Figure 1 , introduces an updating method of an adaptive platform provided in an embodiment of the present application, the method comprising:
[0058] S1001. Extract the directory of the project folder of the target adaptive platform to obtain the code directory and configuration file directory of the adaptive platform; the target adaptive platform is used to configure the vehicle control system; the project folder includes source code files and configuration files; the code directory refers to the directory file storing the source code files; the configuration file directory refers to the directory file storing the configuration files.
[0059] In a specific embodiment of the present application, S1001 includes:
[0060] Based on the code directory identifier and the configuration directory identifier, the project folder of the target adaptive platform is extracted to obtain a code directory corresponding to the code directory identifier and a configuration file directory corresponding to the configuration directory; specifically, the code directory identifier can be an identifier representing a file storage path, for example, " / code"; the configuration directory identifier can be an identifier representing a file storage path, for example, " / manifest".
[0061] S1002. Based on the code directory, the configuration file directory and multiple target character segments, the target adaptive platform is restored into multiple platform units; the multiple target character segments correspond one-to-one to the multiple platform units; each target character segment represents the file storage path of the unit file corresponding to the corresponding platform unit; the unit file is a source code file or a configuration file; the multiple platform units can be used to configure the software operating environment of the vehicle control system, the software of the vehicle control system and the software matching of the vehicle control system, the communication interface parameters of the vehicle control system, the communication status of each control module in the vehicle control system and the detection and diagnosis parameters of the vehicle control system.
[0062] In a specific embodiment of the present application, the multiple platform units include an application environment unit, a software and hardware matching unit, a service interface unit, a service discovery unit, and a diagnosis unit.
[0063] S1003. Modify the unit file corresponding to at least one platform unit based on the update and modification instruction to obtain at least one updated platform unit; the update and modification instruction represents the instruction to update and modify the target adaptive platform. Specifically, the update and modification instruction may include the unit identifier corresponding to the platform unit and the modification content corresponding to the unit identifier.
[0064] S1004: Generate a project folder of the target adaptive platform based on the updated at least one platform unit.
[0065] In a specific embodiment of the present application, S1004 includes: generating an engineering file of a target adaptive platform based on at least one updated platform unit and other platform units; wherein other platform units refer to platform units other than at least one platform unit in multiple platforms.
[0066] In an embodiment of the present application, by performing directory extraction on the project folder of the target adaptive platform, the target adaptive platform is restored into multiple platform units. During the secondary development or update of the target adaptive platform, only at least one of the multiple platform units needs to be modified, and then the updated platform units and the non-updated platform units are regenerated into the target adaptive platform, thereby reducing the update complexity of the target adaptive platform and improving the update efficiency of the target adaptive platform.
[0067] In an embodiment of the present application, multiple target character segments include a first character segment, and at least one platform unit among the multiple platform units is an application environment unit; the first character segment represents the file storage path of the unit file corresponding to the application environment unit; the application environment unit is used to configure the software operating environment of the vehicle control system.
[0068] In a specific embodiment of the present application, the first character segment can specifically be a file storage path identifier corresponding to the top-level file "CMakeLists.txt" in the code directory. At this time, the unit file corresponding to the application environment unit is "CMakeLists.txt"; specifically, CMake Lists.txt represents the installation and build configuration of the target adaptive platform, and configures the software operating environment of the vehicle control system based on the target adaptive platform; wherein, the unit file corresponding to the application environment unit includes version information, platform configuration information, and software operating environment information, etc.; wherein, the version information refers to the version of the target adaptive platform, and the platform configuration information refers to the project name and executable file of the target adaptive platform, etc.; the software operating environment information represents the information that the target adaptive platform can support the operation of the target function; the target function is the function of the vehicle control system, for example, automatic driving function and automatic parking function, etc.
[0069] refer to Figure 2 In the embodiment of the present application, S1002 includes:
[0070] S2001. Determine a unit file corresponding to an application environment unit from a code directory based on a first character segment.
[0071] S2002. Based on the first information query instruction, perform information query from the unit file corresponding to the application environment unit to obtain application information; the application information represents information configured by the target adaptive platform for the software operating environment of the vehicle control system.
[0072] In a specific embodiment of the present application, the first information query instruction may be instruction information carrying a first query identifier. Specifically, the first query identifier may be "add_subdirectory".
[0073] S2003. Create an application environment unit based on the application information.
[0074] In a specific embodiment of the present application, application information includes: controller reset information, software update information, application communication management information, status management information, management interaction information, status management client information, update configuration service management information, update configuration service client information and time synchronization mixed test information, etc.
[0075] In a specific embodiment of the present application, controller reset information (ECU Reset) is used to manage the reset information of the electronic control unit (ECU); specifically, the controller reset information includes reset type information, reset trigger information, reset strategy information and monitoring report information; the reset type information represents the reset mode, such as hardware reset, software reset or reset reset; the reset trigger information represents the conditions for triggering the reset, such as a vehicle control system error or a vehicle control system startup failure; the reset strategy information represents the specific method strategy adopted during the reset process, specifically, the reset object, the reset status and the reset recovery process; the monitoring report information represents the status of the monitoring reset operation and the recording of the reset event, so as to facilitate the subsequent analysis and debugging of the reset event.
[0076] In a specific embodiment of the present application, software update information includes (Over-The-Air, ota_client) information used to manage and execute software updates of a remote vehicle control system; software update information includes update download information, version control information, installation management information, security information, and status monitoring information; update download information represents information for downloading software images or firmware from a remote server; version control information represents information for verifying the software version to ensure the compatibility of the software version with the vehicle control system; installation management information represents the software installation and upgrade process for the vehicle control system, including information for backing up the current version and restoring the old version; security information represents information for ensuring the data security of the software, such as data encryption and identity authentication; status monitoring information is used to monitor the software status of the software update process, provide update feedback and update reports.
[0077] In a specific embodiment of the present application, application communication management information (Unified Communication Server, ucm_server) is used to manage and coordinate the communication between various control modules in the vehicle control system; specifically, each module is an application module; the application communication management information includes message transmission information, service management information, connection management information and data routing information; the message transmission information represents the information of message transmission and data exchange between application modules; the service management information represents the information that ensures that the application modules can be discovered and accessed during the network communication process; the connection management information represents the information for managing network connections to ensure the reliability and stability of communication; the data routing information represents the information that supports the routing and forwarding of data to optimize communication efficiency.
[0078] In a specific embodiment of the present application, state management information (state_manager) is used to process state management and life cycle information of a vehicle control system to ensure the stability and consistency of the vehicle control system; specifically, the state management information includes state information, state machine information, life cycle management information, state configuration parameter information, and state integration interface information; the state information represents information for monitoring and managing the life cycle of each control module of the vehicle control system, and the life cycle includes but is not limited to start, run, pause, and stop, etc.; the state machine information represents information for defining and converting the life state of each control module; the life cycle management information represents information for state conversion of each control module based on a preset process; the state configuration parameter information represents the state of each module and related parameters such as state conversion rules; the state integration interface information represents the collaborative interface parameter information between other platform units of the target adaptive platform to realize more complex content of the target adaptive platform.
[0079] In a specific embodiment of the present application, management interaction information (state_manager Client, sm_client) refers to client information that interacts with the vehicle control system based on state management information.
[0080] In a specific embodiment of the present application, the updated configuration service management information (Unified Communication Manager, ucm_master) is used to manage and coordinate the information of the communication management function (Unified Messaging Service, UCM) in the vehicle control system.
[0081] In a specific embodiment of the present application, the updated configuration service client information (Unified Communication Manager Client, ucm_client) refers to the client information that interacts with the vehicle control system based on the updated configuration service management information.
[0082] In a specific embodiment of the present application, time synchronization mixed test information (Time Synchronization MixTes, ts_mix_test) is a component used to test and verify a vehicle control system; specifically, the time synchronization mixed test information includes test script information, function verification information, result analysis information and environment simulation information; test script information refers to script information that defines and executes tests to verify the functions and compatibility of different control modules of the vehicle control system; function verification information refers to information on whether different control modules can operate as expected to ensure the integrity and stability of the vehicle control system; result analysis information refers to information collected and analyzed on test results to identify and improve potential problems; environment simulation information refers to information on simulating different operating conditions during the actual operation of the vehicle control system to test the performance of the vehicle control system in various situations.
[0083] In a specific embodiment of the present application, the application environment unit includes a process (Process), a process configuration (ProcessDesign) and a process code (Executable), wherein a process represents an independently run and manageable application instance on a target adaptive platform; specifically, a process is obtained based on the above application information; a process configuration represents the process of designing and configuring a process; and a process code represents a binary file or application code that can be executed by a process.
[0084] In a specific embodiment of the present application, S2003 includes:
[0085] Based on controller reset information, software update information, application communication management information, status management information, status management client information, update configuration service management information, update configuration service client information and time synchronization mixed test information, corresponding application processes are created respectively; the application process includes process, process configuration and process code.
[0086] An application environment unit is generated based on the application process corresponding to the controller reset information, the application process corresponding to the software update information, the application process corresponding to the application communication management information, the application process corresponding to the status management information, the application process corresponding to the status management client information, the application process corresponding to the update configuration service management information, the application process corresponding to the update configuration service client information, and the application process corresponding to the time synchronization mixed test information.
[0087] In the specific embodiment of the present application, different processes are independent of each other and do not interfere with each other.
[0088] S2004. Obtain multiple platform units based on the application environment unit.
[0089] In an embodiment of the present application, the application environment unit is restored, and the application environment unit is used to configure the software operating environment of the vehicle control system, thereby facilitating modification of the operating environment of each software in the vehicle control system, reducing the complexity of modifying the software operating environment of the vehicle control system, and thereby improving the update efficiency of the target adaptive platform.
[0090] In an embodiment of the present application, multiple target character segments include a second character segment, and at least one platform unit among the multiple platform units is a software and hardware matching unit; the second character segment represents the file storage path of the unit file corresponding to the software and hardware matching unit; the software and hardware matching unit is used to match the software corresponding to the vehicle control system and the hardware corresponding to the vehicle control system.
[0091] In a specific embodiment of the present application, the second character segment can specifically be " / manifest / etc / system / machine_manifest.json"; at this time, the unit file corresponding to the hardware and software matching unit is "machine_manifest.json"; specifically, machine_manifest.json is used to characterize the hardware configuration of the software of the vehicle control system during operation; the unit file corresponding to the hardware and software matching unit includes hardware information (Machine), matching information (Execution Environments, EEs), software information (Application) and configuration process information (Deployment); specifically, hardware information refers to the hardware object information configured by the vehicle control system, such as the controller type; matching information refers to the information on the matching between the software of the vehicle control system and the hardware of the vehicle control system; software information refers to the software information of the vehicle control system, specifically, each control module in the vehicle control system; configuration process information refers to the process information of configuring the software of the vehicle control system to the hardware of the vehicle control system.
[0092] refer to Figure 3 In the embodiment of the present application, S1002 includes:
[0093] S3001. Determine a unit file corresponding to a software and hardware matching unit from a configuration file directory based on a second character segment.
[0094] S3002. Based on the second information query instruction, perform information query from the unit file corresponding to the software and hardware matching unit to obtain system information; the system information represents the matching information of the target adaptive platform to the target software and target hardware; the target software is the software corresponding to the vehicle control system; the target hardware is the hardware corresponding to the vehicle control system.
[0095] In a specific embodiment of the present application, the second information query instruction may be instruction information carrying a second query identifier. Specifically, the second query identifier may be "Machine FG".
[0096] S3003. Create a software and hardware matching unit based on system information.
[0097] In a specific embodiment of the present application, the system information includes hardware information, matching information, software information and configuration process information.
[0098] In a specific embodiment of the present application, the hardware and software matching unit includes hardware information (Machine) and software scheduling information (Function Group), wherein the software scheduling information is used to uniformly manage and configure multiple control modules in the vehicle control system to define the operating state of the vehicle control system; wherein the software scheduling information is obtained based on the matching information, software information and configuration process information; specifically, the operating state of the vehicle control system includes a restart state (Restart), a shutdown state (Shutdown), a startup state (Startup), an update state (Update) and a verification state (Verify).
[0099] S3004. Obtain multiple platform units based on the software and hardware matching unit.
[0100] In an embodiment of the present application, the software and hardware matching unit is restored, and the software and hardware matching unit matches and configures the software of the vehicle control system and the hardware of the vehicle control system, thereby facilitating the matching modification of the software and hardware in the vehicle control system, reducing the complexity of modifying the software and hardware configuration of the vehicle control system, and thereby improving the update efficiency of the target adaptive platform.
[0101] In an embodiment of the present application, multiple target character segments include a third character segment, and at least one platform unit among the multiple platform units is a service interface unit; the third character segment represents the file storage path of the unit file corresponding to the service interface unit; the service interface unit is used to perform parameter configuration on the communication interface in the vehicle control system.
[0102] In a specific embodiment of the present application, the third character segment can specifically be " / manifest / etc / vsomeip.json"; at this time, the unit file of the service interface unit is "vsomeip.json"; specifically, vsomeip.json is used to characterize the network communication information in the vehicle control system; the unit file corresponding to the service interface unit includes service configuration information, interface definition information, message configuration information and network configuration information; wherein, the service configuration information refers to the information defining the communication identifier and the communication version; the interface definition information refers to the information defining the communication interface identifier and the communication interface process, which includes communication requests and communication responses; the message configuration information refers to the information defining the communication data type to ensure correct information communication; the network configuration information refers to the relevant setting information of the communication network, such as the IP address and port configuration information, to facilitate the accuracy of communication.
[0103] refer to Figure 4 In the embodiment of the present application, S1002 includes:
[0104] S4001. Determine a unit file corresponding to a service interface unit from a configuration file directory based on a third character segment.
[0105] S4002. Based on the third information query instruction, information query is performed from the unit file corresponding to the service interface unit to obtain service information; the service information represents information on parameter configuration of the communication interface of the vehicle control system by the target adaptive platform.
[0106] In a specific embodiment of the present application, the third information query instruction may be instruction information carrying a third query identifier. Specifically, the third query identifier may be "services".
[0107] S4003. Create a service interface unit based on the service information.
[0108] In a specific embodiment of the present application, the service information includes service configuration information, interface definition information, message configuration information and network configuration information.
[0109] In a specific embodiment of the present application, the service interface unit (Service Interface) includes service interface information, specifically, the service interface information includes service description information, interface contract information, data type information and service compatibility information; wherein, the service description information refers to information that defines the functions, data types and operations of the communication service, such as the message format of requesting communication and responding to communication; wherein, the service description information is obtained based on the service configuration information; the interface contract information refers to the specifications for providing communication services, such as communication methods, communicable content and other information; wherein, the interface contract information is obtained based on the interface definition information; the data type information refers to the data structure and data type used in the communication interface to ensure the consistency and correctness of the communication data; wherein, the data type information is obtained based on the message configuration information; the communication compatibility information is used to ensure that the various modules in the vehicle control system can effectively interact and communicate; wherein, the communication compatibility information is obtained based on the network configuration information.
[0110] S4004. Obtain multiple platform units based on the service interface unit.
[0111] In an embodiment of the present application, the service interface unit is restored, and the service interface unit configures the parameters of the communication interface in the vehicle control system, thereby facilitating modification of the configuration parameters of the communication interface in the vehicle control system, thereby reducing the complexity of modifying the configuration of the communication interface of the vehicle control system, and thereby improving the update efficiency of the target adaptive platform.
[0112] In an embodiment of the present application, at least one platform unit among the multiple platform units is a service discovery unit; the service discovery unit is used to configure the communication status of each control module in the vehicle control system.
[0113] In a specific embodiment of the present application, the communication state includes an on state and a off state; control modules of the same type are in an on state with respect to each other, that is, the control module can be discovered and communicated with by control modules of the same type; control modules of different types are in a off state with respect to each other, that is, the control module cannot be discovered and communicated with by control modules of different types; wherein the type of control module is determined based on the communication protocol configuration, that is, control modules with the same communication protocols are control modules of the same type, and control modules with different communication protocols are control modules of different types.
[0114] refer to Figure 5 In the embodiment of the present application, S1002 includes:
[0115] S5001. Based on a fourth information query instruction, perform information query from a unit file corresponding to a service interface unit to obtain service communication information; the service communication information represents information on the communication status of each control module in a vehicle control system configured by a target adaptive platform.
[0116] In a specific embodiment of the present application, the fourth information query instruction may be instruction information carrying a fourth query identifier. Specifically, the fourth query identifier may be "service-discovery".
[0117] S5002. Create a service discovery unit based on service communication information.
[0118] In a specific embodiment of the present application, the service communication information includes service configuration information, interface definition information, message configuration information and network configuration information.
[0119] In a specific embodiment of the present application, the service discovery unit (SomeIp-SD Config) includes parameter configuration information; the parameter configuration information is used to configure the protocol parameters in the communication service so that the control module can be discovered and communicated by the same type of control modules; wherein the parameter configuration information is obtained based on the service configuration information, interface definition information, message configuration information and network configuration information.
[0120] S5003. Obtain multiple platform units based on the service discovery unit.
[0121] In an embodiment of the present application, by restoring the service discovery unit, the service discovery unit configures the communication status of each control module in the vehicle control system, thereby facilitating modification of the communication status of each control module in the vehicle control system, reducing the complexity of modifying the vehicle control system communication interface configuration, and thereby improving the update efficiency of the target adaptive platform.
[0122] In an embodiment of the present application, multiple target character segments include a fourth character segment, and at least one platform unit among the multiple platform units is a diagnostic unit; the fourth character segment represents the file storage path of the unit file corresponding to the diagnostic unit; the diagnostic unit is used to configure the detection diagnostic parameters of the vehicle control system.
[0123] In a specific embodiment of the present application, the fourth character segment can specifically be " / manifest / DiagnosticManger / etc / dm_config.json"; then, the unit file of the diagnostic unit is "dm_config.json"; specifically, dm_config.json is used to define the configuration information of diagnostic management; the unit file corresponding to the diagnostic unit includes detection diagnostic parameters, specifically, the diagnostic detection parameters include diagnostic object information, diagnostic process information and diagnostic monitoring information, etc.; the diagnostic object information refers to the control module information that defines the diagnosis; the diagnostic process information refers to the process information for diagnosing the control module; the diagnostic detection information refers to the information for monitoring the diagnostic process and storing the data, for example, the monitoring frequency.
[0124] refer to Figure 6 In the embodiment of the present application, S1002 includes:
[0125] S6001. Determine a unit file corresponding to a diagnostic unit from a configuration file directory based on a fourth character segment.
[0126] S6002. Based on the fifth information query instruction, perform information query from the unit file corresponding to the diagnostic unit to obtain diagnostic information; the diagnostic information is used to represent the information of the target adaptive platform configuring the detection and diagnostic parameters of the vehicle control system.
[0127] In a specific embodiment of the present application, the fifth query instruction may be instruction information carrying a fifth query identifier. Specifically, the fourth query identifier may be "SID", where SID may be a specific value such as 34, 30, and 49.
[0128] S6003. Create a diagnosis unit based on the diagnosis information.
[0129] In a specific embodiment of the present application, the diagnostic information includes detection diagnostic parameters: diagnostic object information, diagnostic process information and diagnostic monitoring information.
[0130] In a specific embodiment of the present application, the diagnostic unit includes diagnostic management information, diagnostic service information, and diagnostic configuration information; the diagnostic management information refers to information for managing monitoring and diagnosis in a vehicle control system; wherein the diagnostic management information is obtained based on detection and diagnosis parameters; the diagnostic service information refers to information such as the timing for starting diagnostic detection in a vehicle control system; wherein the diagnostic service information is obtained based on detection and diagnosis parameters; the diagnostic configuration information refers to information for configuring detection and diagnosis of a vehicle control system; wherein the diagnostic configuration information is obtained based on detection and diagnosis parameters.
[0131] S6004. Obtain multiple platform units based on the diagnosis unit.
[0132] In an embodiment of the present application, the diagnostic unit is restored and the diagnostic unit configures the detection diagnostic parameters of the vehicle control system, thereby facilitating modification of the detection diagnostic parameters in the vehicle control system, reducing the complexity of modifying the diagnostic detection of the vehicle control system, and thereby improving the update efficiency of the target adaptive platform.
[0133] In an embodiment of the present application, the fifth information query instruction includes diagnostic category information; wherein the diagnostic category information may be digital identification information of “SID”.
[0134] refer to Figure 7 In the embodiment of the present application, S6002 includes:
[0135] S7001. When the diagnostic category information is the first category, perform information query from the unit file corresponding to the diagnostic unit based on the first category to obtain first diagnostic information; the first diagnostic information is used to characterize information on the target adaptive platform configuring the hardware detection diagnostic parameters of the vehicle control system.
[0136] In a specific embodiment of the present application, the diagnostic category information is the first category, which means that the identification information of "SID" is a hardware detection identifier. Specifically, the hardware detection identifier can be the number "34". At this time, the hardware of the vehicle control system is detected and diagnosed, where the hardware of the vehicle control system is the vehicle controller.
[0137] In a specific embodiment of the present application, S6003 includes:
[0138] A diagnostic read data identification unit (Diagnostic Read DataByIdentifier) is obtained based on the first diagnostic information.
[0139] S7002. When the diagnostic type information is of the second category, information query is performed from the unit file corresponding to the diagnostic unit based on the second category to obtain second diagnostic information; the second diagnostic information is used to characterize information on the target adaptive platform configuring software detection diagnostic parameters of the vehicle control system.
[0140] In a specific embodiment of the present application, the diagnostic category information of the first category refers to the identification information of "SID", which can be an identity authentication identifier, an information write identifier, a diagnostic start-stop identifier or a controller reset identifier; specifically, the identity authentication identifier can be the number "39", the information write identifier can be the number "46", the diagnostic start-stop identifier can be the number "49", and the controller reset identifier can be the number "17". At this time, the software of the vehicle control system is detected and diagnosed. The software of the vehicle control system refers to the functions of the vehicle control system, such as the identity authentication function, the information write function, the diagnostic start-stop function and the controller reset function; the second diagnostic information includes identity authentication information, information write information, diagnostic start-stop information and controller reset information. The identity authentication information refers to the information for configuring the identity authentication function; the information write information refers to the information for configuring the information write function; the diagnostic start-stop information refers to the information for configuring the diagnostic start-stop function; the controller reset information refers to the information for configuring the controller reset function.
[0141] In a specific embodiment of the present application, S7002 includes:
[0142] In the case where the digital identification information is an identity verification identification, information query is performed from a unit file corresponding to the diagnostic unit based on the second category to obtain identity verification information;
[0143] In the case where the digital identification information is an information writing identification, information query is performed from the unit file corresponding to the diagnostic unit based on the second category to obtain information writing information;
[0144] In the case where the digital identification information is a diagnostic start-stop identification, information query is performed from a unit file corresponding to the diagnostic unit based on the second category to obtain diagnostic start-stop information;
[0145] In the case where the digital identification information is a controller reset identification, information query is performed from a unit file corresponding to the diagnostic unit based on the second category to obtain controller reset information.
[0146] In a specific embodiment of the present application, S6003 includes:
[0147] A diagnostic security access unit (Diagnostic Security Access) is obtained based on the identity authentication information;
[0148] Based on the information writing information, a diagnostic read-write unit is obtained (Diagnostic Write Data ByIdentifier);
[0149] A diagnostic control unit (Diagnostic Routine Control) is obtained based on the diagnostic start-stop information;
[0150] A diagnostic reset unit (Diagnostic ECU Reset) is obtained based on the controller reset information.
[0151] In an embodiment of the present application, by distinguishing the diagnostic models of software and hardware based on the diagnostic type information, the diagnosis is made more accurate, the accuracy of the target adaptive platform's diagnostic configuration of the vehicle control system is improved, and the reliability of the target adaptive platform is improved.
[0152] The updating method of the adaptive platform in the embodiment of the present application has the following beneficial effects:
[0153] By extracting the directory of the project folder of the target adaptive platform, the target adaptive platform is restored into multiple platform units. During the secondary development or update of the target adaptive platform, only at least one of the multiple platform units needs to be modified, and then the updated platform units and the non-updated platform units are regenerated into the target adaptive platform, thereby reducing the update complexity of the target adaptive platform and improving the update efficiency of the target adaptive platform.
[0154] refer to Figure 8 The embodiment of the present application also provides an updating system of an adaptive platform, the system comprising:
[0155] The directory extraction module 101 is used to extract the directory of the project folder of the target adaptive platform to obtain the code directory and configuration file directory of the adaptive platform; the target adaptive platform is used to configure the vehicle control system; the project folder includes source code files and configuration files; the code directory refers to the directory file storing the source code file; the configuration file refers to the directory file storing the configuration file.
[0156] The unit restoration module 102 is used to restore the target adaptive platform into multiple platform units based on the code directory, the configuration file directory and multiple target character segments; the multiple target character segments correspond one-to-one to the multiple platform units; each target character segment represents the file storage path of the unit file corresponding to the corresponding platform unit; the unit file is a source code file or a configuration file.
[0157] The modification and update module 103 is used to modify the unit file corresponding to the at least one platform unit based on the update modification instruction to obtain the at least one updated platform unit.
[0158] The platform generation module 104 is used to generate a project folder of a target adaptive platform based on the updated at least one platform unit.
[0159] The unit restoration module includes:
[0160] The first file determination unit is used to determine a unit file corresponding to the application environment unit from a code directory based on the first character segment.
[0161] The first information query unit is used to query information from the unit file corresponding to the application environment unit based on the first information query instruction to obtain application information; the application information represents information configured by the target adaptive platform for the software operating environment of the vehicle control system.
[0162] The first creating unit is used to create an application environment unit based on the application information.
[0163] The first platform determination unit is used to obtain multiple platform units based on the application environment unit.
[0164] The second file determination unit is used to determine the unit file corresponding to the software and hardware matching unit from the configuration file directory based on the second character segment.
[0165] The second information query unit is used to perform information query from the unit file corresponding to the software and hardware matching unit based on the second information query instruction to obtain system information; the system information represents the matching information of the target adaptive platform to the target software and target hardware; the target software is the software corresponding to the vehicle control system; the target hardware is the hardware corresponding to the vehicle control system.
[0166] The second creating unit is used to create a software and hardware matching unit based on the system information.
[0167] The second platform determination unit is used to obtain multiple platform units based on the software and hardware matching unit.
[0168] The third file determination unit is used to determine the unit file corresponding to the service interface unit from the configuration file directory based on the third character segment.
[0169] The third information query unit is used to query information from the unit file corresponding to the service interface unit based on the third information query instruction to obtain service information; the service information represents the information of parameter configuration of the communication interface of the vehicle control system by the target adaptive platform.
[0170] The third creating unit is used to create a service interface unit based on the service information.
[0171] The third platform determining unit is used to obtain multiple platform units based on the service interface unit.
[0172] The fourth information query unit is used to query information from the unit file corresponding to the service interface unit based on the fourth information query instruction to obtain service communication information; the service communication information represents the information configured by the target adaptive platform for the communication status of each control module in the vehicle control system.
[0173] The fourth creating unit is used to create a service discovery unit based on the service communication information.
[0174] The fourth platform determination unit is used to obtain multiple platform units based on the service discovery unit.
[0175] The fourth file determination unit is used to determine the unit file corresponding to the diagnosis unit from the configuration file directory based on the fourth character segment.
[0176] The fifth information query unit is used to query information from the unit file corresponding to the diagnostic unit based on the fifth information query instruction to obtain diagnostic information; the diagnostic information is used to characterize the information on the target adaptive platform configuring the detection and diagnostic parameters of the vehicle control system.
[0177] The fifth platform determination unit is configured to create a diagnosis unit based on the diagnosis information.
[0178] The fifth file determination unit is used to obtain a plurality of platform units based on the diagnosis unit.
[0179] The fifth information query unit includes:
[0180] The hardware configuration information query unit is used to query information from the unit file corresponding to the diagnostic unit based on the first category to obtain first diagnostic information when the diagnostic category information is the first category; the first diagnostic information is used to characterize the information on the target adaptive platform configuring the hardware detection diagnostic parameters of the vehicle control system.
[0181] The software configuration information query unit is used to query information from the unit file corresponding to the diagnostic unit based on the second category to obtain second diagnostic information when the diagnostic type information is of the second category; the second diagnostic information is used to characterize the information on the target adaptive platform configuring the software detection diagnostic parameters of the vehicle control system.
[0182] An embodiment of the present application also provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the updating method of the adaptive platform as described above.
[0183] The memory can be used to store software programs and units. The processor executes various functional applications and data processing by running the software programs and units stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store the operating system, application programs required for the function, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as at least one hard disk storage device, a flash memory device or other volatile solid-state storage device. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.
[0184] The method embodiments provided in the embodiments of the present application can be executed in electronic devices such as mobile terminals, computer terminals, servers or similar computing devices. Fig. 9 is an electronic device provided in an embodiment of the present application. Fig. 9As shown, the electronic device 900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 910 (the processor 910 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 930 for storing data, and one or more storage media 920 (such as one or more mass storage devices) for storing application programs 923 or data 922. Among them, the memory 930 and the storage medium 920 can be short-term storage or permanent storage. The program stored in the storage medium 920 may include one or more units, each of which may include a series of instruction operations in the electronic device. Furthermore, the central processing unit 910 can be configured to communicate with the storage medium 920 to execute a series of instruction operations in the storage medium 920 on the electronic device 900. The electronic device 900 may also include one or more power supplies 960, one or more wired or wireless network interfaces 950, one or more input and output interfaces 940, and / or one or more operating systems 921, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0185] The input / output interface 940 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the electronic device 900. In one example, the input / output interface 940 includes a network adapter (Network Interface Controller, NIC), which may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 940 may be a radio frequency (RF) unit, which is used to communicate with the Internet wirelessly.
[0186] It can be understood by those skilled in the art that Fig. 9 The structure shown is for illustration only and does not limit the structure of the above electronic device. Fig. 9 More or fewer components as shown, or with Fig. 9 Different configurations shown.
[0187] An embodiment of the present application also provides a storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement the updating method of the adaptive platform as described above.
[0188] The above description has fully disclosed the specific implementation methods of the present application. It should be pointed out that any changes made by technicians familiar with the field to the specific implementation methods of the present application do not deviate from the scope of the claims of the present application. Accordingly, the scope of the claims of the present application is not limited to the above specific implementation methods.
Claims
1. A method for updating an adaptive platform, characterized in that: include: Extract the directory of the project folder of the target adaptive platform to obtain the code directory and configuration file directory of the adaptive platform; The target adaptive platform is used to configure the vehicle control system; the project folder includes source code files and configuration files; The code directory refers to a directory file storing the source code files; The configuration file directory refers to a directory file storing the configuration file; Based on the code directory, the configuration file directory and a plurality of target character segments, restoring the target adaptive platform into a plurality of platform units; The multiple target character segments correspond to the multiple platform units one by one; each target character segment represents a file storage path of a unit file corresponding to a corresponding platform unit; The unit file is the source code file or the configuration file; Modify the unit file corresponding to the at least one platform unit based on the update modification instruction to obtain the at least one updated platform unit; A project folder of the target adaptive platform is generated based on the updated at least one platform unit.
2. The updating method of the adaptive platform according to claim 1, characterized in that: The multiple target character segments include a first character segment, at least one platform unit among the multiple platform units is an application environment unit; the first character segment represents a file storage path of a unit file corresponding to the application environment unit; The application environment unit is used to configure the software operating environment of the vehicle control system; based on the code directory, the configuration file directory and the plurality of target character segments, restoring the target adaptive platform into a plurality of platform units includes: Determine, from the code directory, a unit file corresponding to the application environment unit based on the first character segment; Based on the first information query instruction, information query is performed from the unit file corresponding to the application environment unit to obtain application information; the application information represents information configured by the target adaptive platform for the software operating environment of the vehicle control system; Creating the application environment unit based on the application information; The plurality of platform units are obtained based on the application environment unit.
3. The updating method of the adaptive platform according to claim 1, characterized in that: The multiple target character segments include a second character segment, at least one platform unit among the multiple platform units is a software and hardware matching unit; the second character segment represents a file storage path of a unit file corresponding to the software and hardware matching unit; the software and hardware matching unit is used to match the software corresponding to the vehicle control system and the hardware corresponding to the vehicle control system; The restoring the target adaptive platform into multiple platform units based on the code directory, the configuration file directory and the multiple target character segments includes: Determine the unit file corresponding to the software and hardware matching unit from the configuration file directory based on the second character segment; Based on the second information query instruction, information query is performed from the unit file corresponding to the software and hardware matching unit to obtain system information; the system information represents the matching information of the target adaptive platform to the target software and the target hardware; the target software is the software corresponding to the vehicle control system; the target hardware is the hardware corresponding to the vehicle control system; Creating the software and hardware matching unit based on the system information; The multiple platform units are obtained based on the software and hardware matching unit.
4. The updating method of the adaptive platform according to claim 1, characterized in that: The multiple target character segments include a third character segment, at least one platform unit among the multiple platform units is a service interface unit; the third character segment represents a file storage path of a unit file corresponding to the service interface unit; The service interface unit is used to configure parameters of the communication interface in the vehicle control system; The restoring the target adaptive platform into multiple platform units based on the code directory, the configuration file directory and the multiple target character segments includes: Determine the unit file corresponding to the service interface unit from the configuration file directory based on the third character segment; Based on the third information query instruction, information query is performed from the unit file corresponding to the service interface unit to obtain service information; the service information represents information on parameter configuration of the communication interface of the vehicle control system by the target adaptive platform; Creating the service interface unit based on the service information; The plurality of platform units are obtained based on the service interface unit.
5. The updating method of the adaptive platform according to claim 4, characterized in that: At least one of the plurality of platform units is a service discovery unit; the service discovery unit is used to configure the communication status of each control module in the vehicle control system; The restoring the target adaptive platform into multiple platform units based on the code directory, the configuration file directory and the multiple target character segments also includes: Based on the fourth information query instruction, information query is performed from the unit file corresponding to the service interface unit to obtain service communication information; the service communication information represents information configured by the target adaptive platform for the communication status of each control module in the vehicle control system; Creating the service discovery unit based on the service communication information; The plurality of platform units are obtained based on the service discovery unit.
6. The updating method of the adaptive platform according to claim 1, characterized in that: The plurality of target character segments include a fourth character segment, at least one platform unit among the plurality of platform units is a diagnostic unit; the fourth character segment represents a file storage path of a unit file corresponding to the diagnostic unit; the diagnostic unit is used to configure detection diagnostic parameters of the vehicle control system; The restoring the target adaptive platform into multiple platform units based on the code directory, the configuration file directory and the multiple target character segments includes: Determine, from the configuration file directory, a unit file corresponding to the diagnostic unit based on the fourth character segment; Based on the fifth information query instruction, information query is performed from the unit file corresponding to the diagnostic unit to obtain diagnostic information; the diagnostic information is used to represent the information that the target adaptive platform configures the detection and diagnostic parameters of the vehicle control system; creating the diagnosis unit based on the diagnosis information; The plurality of platform units are obtained based on the diagnosis unit.
7. The updating method of the adaptive platform according to claim 6, characterized in that: The fifth information query instruction includes diagnostic category information; the information query is performed from the unit file corresponding to the diagnostic unit based on the fifth information query instruction, and the diagnostic information obtained includes: In the case where the diagnostic category information is of the first category, information query is performed from the unit file corresponding to the diagnostic unit based on the first category to obtain first diagnostic information; the first diagnostic information is used to represent information on the target adaptive platform configuring the hardware detection diagnostic parameters of the vehicle control system; When the diagnostic type information is of the second category, information is queried from the unit file corresponding to the diagnostic unit based on the second category to obtain second diagnostic information; the second diagnostic information is used to characterize information on the target adaptive platform configuring the software detection diagnostic parameters of the vehicle control system.
8. An updating system for an adaptive platform, characterized in that: include: A directory extraction module is used to extract the directory of the project folder of the target adaptive platform to obtain the code directory and configuration file directory of the adaptive platform; The target adaptive platform is used to configure the vehicle control system; the project folder includes source code files and configuration files; the code directory refers to the directory file storing the source code files; The configuration file refers to a directory file storing the configuration file; A unit restoration module, used for restoring the target adaptive platform into a plurality of platform units based on the code directory, the configuration file directory and a plurality of target character segments; The multiple target character segments correspond to the multiple platform units one by one; each target character segment represents a file storage path of a unit file corresponding to a corresponding platform unit; the unit file is the source code file or the configuration file; A modification and update module, used to modify the unit file corresponding to at least one platform unit based on the update modification instruction to obtain at least one updated platform unit; A platform generation module is used to generate a project folder of the target adaptive platform based on the updated at least one platform unit.
9. A computer storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the updating method of the adaptive platform as described in any one of claims 1-7.
10. An electronic device, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the updating method of the adaptive platform as described in any one of claims 1-7.