Distributed SWC Link Registration for Efficient Vehicle Software Assembly
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing methods for establishing links between Software Components (SWCs) in automobile controllers are inefficient, prone to errors, and cause unnecessary system overhead due to centralized assembly, impacting development cycles and software quality.
Innovation Solution
A distributed SWC link processing method and system using a distributed SWC server and terminal, employing a link registration mechanism that restricts links via a registry, allowing 'inert' link generation until final confirmation, and executing linking actions collectively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If centralized assembly approach is used to establish SWC links, then link establishment can be achieved through graphical interface tools, but link efficiency is low and development cycle is extended
Solution Approach 1:
The patent segments the link establishment process into two distinct phases: a configuration phase where link relationships are defined and stored in arxml files, and an execution phase where links are activated through simple API calls. This separation allows the complex parsing and validation work to be done once during configuration, while runtime link activation becomes a lightweight operation that doesn't require repeated parsing of arxml files.
Solution Approach 2:
The patent performs preliminary actions by pre-parsing arxml files and pre-establishing the link relationship database during the configuration phase. All the complex work of parsing, validating, and structuring link information is completed in advance, so that during runtime, the system only needs to retrieve pre-processed data and activate links through simple function calls, dramatically improving link establishment efficiency.
2Ease of operation
If centralized assembly approach is used to establish SWC links, then links can be created through tool processing, but link quality is poor and erroneous links容易发生
Solution Approach 1:
The patent implements feedback mechanisms through the registry system that automatically validates link relationships. When SWCs attempt to establish links, the system queries the pre-established link relationship database to verify whether the link is valid according to the configuration. This feedback loop prevents erroneous links from being established and ensures link quality without requiring complex real-time validation logic.
Solution Approach 2:
The patent introduces an intermediary layer (the link relationship database and registry system) between the SWC components and the link establishment process. This intermediary stores pre-validated link configurations and mediates all link requests, ensuring that only valid links established through the configured relationships can be created. This prevents direct SWC-to-SWC linking that could lead to errors while maintaining ease of operation.
3Adaptability or versatility
If real-time link operations are performed with repeated arxml processing, then links can be dynamically established, but system overhead (CPU and memory) increases unnecessarily
Solution Approach 1:
The patent extracts the heavy arxml parsing and processing operations out of the real-time link execution path. Instead of parsing arxml files repeatedly during each link operation, the system extracts and stores the essential link relationship data in a pre-processed database during configuration. During runtime, only lightweight database queries and API calls are needed, eliminating the repeated CPU-intensive parsing overhead while maintaining full link dynamicity.
4Adaptability or versatility
If previous link resources are not released when links change, then link switching can be performed, but unnecessary system overhead accumulates
Solution Approach 1:
The patent implements a resource management mechanism that automatically discards (releases) link resources when links are deactivated or changed. The registry system tracks active link relationships and ensures that when a link is removed or modified, the associated system resources (memory allocations, file handles, etc.) are properly released and recovered. This prevents resource accumulation and ensures efficient link switching without unnecessary overhead.
Data Source
Figure 1
Figure 2
Figure 3~4
AI summary
The present application provides a method for implementing distributed SWC link processing, including the steps of: receiving a link registration request from a distributed SWC terminal, characterized in that the link registration request includes link information of this registration request; searching whether a target SWC identifier exists in a service list of an initiated SWC module service, and determining whether registration is successful; storing the link information of this link registration request in a vehicle-mounted memory; and according to the link information of each link registration request stored in the vehicle-mounted memory, executing a link operation corresponding to each link registration request and establishing a link relationship between each source SWC and target SWC. A corresponding device and system are further disclosed. Implementing the present application can effectively improve link efficiency between different SWCs, enhance link quality, and reduce system performance loss, thereby improving development efficiency and flexibility of complete vehicle software.