Method, apparatus and system for implementing distributed SWC link processing
By adopting distributed SWC link processing methods in automotive controller software and using the link registration and management mechanism of distributed servers and terminals, the problems of low efficiency and poor quality of SWC link processing in the existing technology are solved, efficient and good quality link processing is achieved, system resource consumption is reduced, and the development efficiency of vehicle software is improved.
Patent Information
- Application Number
- PCT/CN2024/126682
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-30
- Filing Date
- 2024-10-23
- Publication Date
- 2025-05-08
AI Technical Summary
The prior art link processing between SWCs in automotive controller software is low efficiency and poor quality, and leads to unnecessary system overhead, affecting the development cycle of the entire vehicle software.
The distributed SWC link processing method is adopted to realize link registration and management between SWC through the distributed SWC server and terminal, use the registry to limit the link relationship, and adopt a lazy link mechanism to reduce system resource consumption.
It improves the link efficiency and quality between SWCs, reduces non-essential system performance losses, and thus improves the development efficiency and flexibility of vehicle software.
Smart Images

Figure CN2024126682_08052025_PF_FP_ABST
Abstract
Description
A method, device and system for implementing distributed SWC link processing
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on October 30, 2023, with application number 202311428932.1, and invention name “A method, device and system for implementing distributed SWC link processing”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present invention relates to the field of vehicle controller software, and in particular to a method, device and system for implementing distributed SWC (Software Component, SWC) link processing in the AUTomotive Open System Architecture (AUTOSAR). Background Art
[0003] As vehicles become increasingly intelligent and connected, the development of automotive controller software is currently based on the AUTOSAR specification. According to the specification, software is divided into software components (SWCs) based on their functionality. SWCs can run on different electronic control units (ECUs). SWCs are defined using AUTOSAR description files (ARXML), and code is generated using AUTOSAR code generation tools. The core functionality of a SWC is to interact with other SWCs or underlying software components (BSWs) through input and output ports. Internal ports can also be used for internal communication.
[0004] Different SWCs can call each other; in this case, a link must be established between them to ensure proper communication. Specifically, in the automotive field, a link typically refers to the signal and interface connections in AUTOSAR, used to transfer data between different SWCs. Establishing this link requires defining signals, ports, and mapping them.
[0005] The AUTOSAR Builder tool, currently available in the market, provides a complete graphical user interface. It imports the ArXiv XML files of each module's SWC, parses the contents within the ArXiv, and ultimately abstracts them into a series of models. The linking process essentially binds the relationships between abstract models, converts the abstract models and their binding relationships into ArXiv data structures, and finally writes them back into the ArXiv, effectively linking the SWCs.
[0006] However, the existing solution of using commercial software tools to link SWCs has some shortcomings:
[0007] Low link efficiency. As automotive controller software becomes increasingly modular, features are iterated more frequently, and changes are made more frequently, every time a SWC is modified, it needs to be reassembled, leading to low link efficiency.
[0008] Poor link quality can easily lead to incorrect links. Because of the centralized "assembly" approach, all SWCs are visible and transparent, lacking link constraints. This can lead to incorrect links between SWCs, impacting overall software functionality and quality.
[0009] This causes unnecessary system overhead. Due to the real-time nature of linking, the parsing, structuring, and packaging of ARXML consume a certain amount of system overhead. Therefore, each link operation will cause an additional increase in system resources (primarily CPU and memory consumption). However, linking operations are often not one-time operations. Sometimes, SWCA and SWCB may link, and then cancel it; then, SWCA and SWCC may link instead. In this case, the system resources consumed by the previous link are wasted, resulting in unnecessary system overhead.
[0010] The above-mentioned deficiencies will seriously affect the development cycle of vehicle software.
[0011] Summary of the Invention
[0012] The technical problem to be solved by the present invention is to provide a method, device and system for implementing distributed SWC link processing, which can effectively improve the link efficiency and link quality between different SWCs, and reduce unnecessary system performance loss, thereby improving the development efficiency and flexibility of the entire vehicle software.
[0013] To solve the above technical problems, as one aspect of the present invention, a method for implementing distributed SWC link processing is provided, which is applied to a vehicle including a distributed SWC server and a distributed SWC terminal, and includes at least the following steps:
[0014] Start the SWC module service and registry service of the distributed SWC server;
[0015] Receive a link registration request from a distributed SWC terminal, wherein the link registration request includes link information of this registration request, and the link information includes: a requesting SWC identifier and a target SWC identifier;
[0016] Searching the service list of the started SWC module service to see whether the target SWC identifier exists, determining whether the registration is successful, and notifying the requesting SWC of the registration result;
[0017] Storing the link information of this link registration request in the vehicle memory;
[0018] According to the link information of each link registration request stored in the vehicle-mounted memory, the link operation corresponding to each link registration request is executed to establish a link relationship between each requesting SWC and the target SWC.
[0019] The step of starting the SWC module service and the registry service of the distributed SWC server further includes:
[0020] Start the SWC module service and registry service of the distributed SWC server, and load the service list of all current SWC module services and the registry data corresponding to the registry service from the vehicle storage.
[0021] The process of searching the service list of the started SWC module service to see whether the target SWC identifier exists, determining whether the registration is successful, and notifying the requesting SWC of the registration result further includes:
[0022] Searching whether the target SWC identifier exists in the service list of the started SWC module service; if the search result shows that the target SWC identifier exists, determining that the registration is successful, and storing the requesting SWC identifier and the target SWC identifier in the registry corresponding to the registry service; if the search result shows that the target SWC identifier does not exist, determining that the registration has failed;
[0023] The determined registration result is notified to the requesting SWC.
[0024] The link information of the link registration request is stored in the vehicle memory, further comprising:
[0025] The requester SWC identifier and the target SWC identifier in this link registration request are stored in the vehicle memory, recorded as a link registration request, and the distributed terminal is notified that this link has been completed.
[0026] The method further includes executing the link operation corresponding to each link registration request according to the link information of each link registration request stored in the vehicle memory, and establishing a link relationship between each requesting SWC and the target SWC.
[0027] Determining whether a predetermined execution condition is met, wherein the predetermined execution condition is: link information of each link registration request stored in the vehicle memory reaches a predetermined quantity threshold, or the last link registration request is received for more than a predetermined time threshold;
[0028] When the predetermined execution condition is reached, the link operations corresponding to all link registration requests are executed according to the link information of each link registration request stored in the vehicle-mounted memory, and the link relationship between each requesting SWC and the target SWC is established.
[0029] Which further includes:
[0030] Receive SWC information addition, modification or deletion requests pushed by distributed terminals, and perform corresponding addition, modification or deletion operations in the registry.
[0031] Accordingly, another aspect of the present invention further provides an apparatus for implementing distributed SWC link processing, which at least includes:
[0032] The service startup unit is used to start the SWC module service and registry service of the distributed SWC server;
[0033] A link registration request receiving unit, configured to receive a link registration request from a distributed SWC terminal, wherein the link registration request includes link information of this registration request, and the link information includes: a requesting SWC identifier and a target SWC identifier;
[0034] a search processing unit configured to search the service list of the started SWC module service to determine whether the target SWC identifier exists, determine whether the registration is successful, and notify the requesting SWC of the registration result;
[0035] A link information storage unit, configured to store the link information of the current link registration request in an onboard memory;
[0036] The link execution unit is used to execute the link operation corresponding to each link registration request according to the link information of each link registration request stored in the vehicle-mounted memory, and establish a link relationship between each requesting SWC and the target SWC.
[0037] Wherein, the service startup unit further includes: a loading unit, which is used to load the service list of all current SWC module services and the registry data corresponding to the registry service from the vehicle memory when starting the SWC module service and the registry service of the distributed SWC server;
[0038] The retrieval processing unit further includes:
[0039] a search and determination unit configured to search the service list of the started SWC module service for the target SWC identifier; if the search result shows that the target SWC identifier exists, the registration is determined to be successful, and the requesting SWC identifier and the target SWC identifier are stored in a registry corresponding to the registry service; if the search result shows that the target SWC identifier does not exist, the registration is determined to be unsuccessful;
[0040] The notification unit is configured to notify the requesting SWC of the determined registration result.
[0041] Wherein, the link execution unit further includes:
[0042] an execution condition judgment unit, configured to judge whether a predetermined execution condition has been met, wherein the predetermined execution condition is: the link information of each link registration request stored in the vehicle-mounted memory reaches a predetermined quantity threshold, or the last link registration request is received for more than a predetermined time threshold;
[0043] The execution processing unit is used to execute the link operations corresponding to all link registration requests according to the link information of each link registration request stored in the vehicle memory when the predetermined execution condition is reached, and establish the link relationship between each requester SWC and the target SWC.
[0044] Which further includes:
[0045] The SWC information receiving unit is used to receive SWC information addition, modification or deletion requests pushed by distributed terminals, and perform corresponding addition, modification or deletion operations in the registration table.
[0046] Accordingly, another aspect of the present invention further provides a system for implementing distributed SWC link processing, which includes a distributed SWC server and a distributed SWC terminal provided in a vehicle, wherein:
[0047] The SWC server is provided with the aforementioned device;
[0048] The distributed SWC terminal is used to push SWC information addition, modification or deletion requests to the SWC server, and to send a link registration request to the SWC server. The link registration request contains the link information of this registration request, and the link information includes: the requesting SWC identifier and the target SWC identifier.
[0049] The implementation of the embodiments of the present invention has the following beneficial effects:
[0050] The present invention provides a method, device, and system for implementing distributed SWC link processing. Distributed SWC terminals and servers are used in the vehicle's ECU. A link registration application mechanism is used between SWCs, and the registration table is used to limit which SWCs can link. Furthermore, the generation of links during each link registration application is "inert," and only when the link is finally confirmed is the actual linking action executed centrally. This effectively improves the link efficiency and link quality between different SWCs, and reduces unnecessary system performance loss. This can improve the development efficiency and flexibility of vehicle software. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For those with ordinary skill in the art, other drawings derived from these drawings without inventive effort still fall within the scope of the present invention.
[0052] FIG1 is a schematic diagram of the main flow of an embodiment of a method for implementing distributed SWC link processing provided by the present invention.
[0053] FIG2 is a more detailed schematic diagram of the process of FIG1 .
[0054] FIG3 is a schematic structural diagram of an embodiment of a device for implementing distributed SWC link processing provided by the present invention.
[0055] FIG4 is a schematic structural diagram of the service startup unit in FIG3 .
[0056] FIG5 is a schematic structural diagram of the retrieval processing unit in FIG3 .
[0057] FIG6 is a schematic structural diagram of the link execution unit in FIG3 . DETAILED DESCRIPTION
[0058] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be described in further detail below with reference to the accompanying drawings.
[0059] As shown in FIG1 , a schematic diagram of the main process of an embodiment of a method for implementing distributed SWC link processing provided by the present invention is shown; together with the more detailed flowchart of FIG2 , in this embodiment, the method is applied to a vehicle including a distributed SWC server and a distributed SWC terminal.
[0060] It will be appreciated that in this embodiment, the distributed SWC server and distributed SWC terminals can typically be located in different ECUs within the vehicle. Modern vehicles contain numerous different ECUs, each responsible for controlling a specific function or subsystem. The distributed SWC server can be deployed on a dedicated ECU to coordinate and manage communications and connections within the vehicle, while the distributed SWC terminals can be deployed on other ECUs to interact with specific vehicle functions or sensors. This distributed architecture facilitates collaborative operation and communication between various components within the vehicle.
[0061] More specifically, the method provided by the present invention comprises at least the following steps:
[0062] Step S10, starting the SWC module service and registry service of the distributed SWC server;
[0063] More specifically, the step S10 further includes:
[0064] The SWC module service and the registry service of the distributed SWC server are started, and a service list of all current SWC module services and registry data corresponding to the registry service are loaded from an onboard memory (such as a non-volatile memory device).
[0065] It's understood that in automotive electronic systems, a SWC module refers to a software unit that controls a specific function or service. Each SWC module is responsible for performing a specific task or providing a function. For example, a car may have multiple SWC modules to control different functions, such as the engine control module, air conditioning control module, and brake control module. For example, the engine control module is responsible for monitoring and controlling engine operation. It receives sensor data (such as engine temperature and oil pressure) and adjusts the engine's operating state based on this data.
[0066] The registry is a data structure used to store configuration and parameter information. In automotive electronic systems, the registry is used to store various settings, parameters, and configuration information that may be loaded at system startup and accessed during runtime.
[0067] In step S10, the distributed server is started to load all SWC modules and corresponding registry data values from a non-volatile memory (such as flash memory). This ensures that all necessary software components and configuration information are correctly loaded when the vehicle is started, so that all functions of the vehicle can operate normally.
[0068] Step S11: receiving a link registration request from a distributed SWC terminal, wherein the link registration request includes link information of the current registration request, including: a requesting SWC identifier (source_swc) and a target SWC identifier (target_swc); wherein the requesting SWC is the SWC requesting a link operation, and the target SWC is the SWC being linked;
[0069] Step S12, searching the service list of the started SWC module service to see if the target SWC identifier exists, determining whether the registration is successful, and notifying the requesting SWC of the registration result;
[0070] More specifically, in a specific example, step S12 further includes:
[0071] Searching whether the target SWC identifier exists in the service list of the started SWC module service; if the search result shows that the target SWC identifier exists, determining that the registration is successful, and storing the requesting SWC identifier and the target SWC identifier in the registry corresponding to the registry service; if the search result shows that the target SWC identifier does not exist, determining that the registration has failed;
[0072] The determined registration result is notified to the requesting SWC.
[0073] Step S13, storing the link information of this link registration request in the vehicle memory; specifically, storing the requester SWC identifier and the target SWC identifier in this link registration request in the vehicle memory, recording it as a link registration request, and notifying the distributed terminal that this link has been completed.
[0074] It is understandable that in the method provided by the present invention, the linking operation between SWCs needs to meet the following control conditions: the target SWC to be linked needs to be in the SWC module service list of the distributed server; at the same time, the target SWC to be linked and the requesting SWC that actively links need to exist in the registry of the distributed server.
[0075] Step S14 : executing the link operation corresponding to each link registration request according to the link information of each link registration request stored in the vehicle-mounted memory, and establishing a link relationship between each requesting SWC and the target SWC.
[0076] More specifically, in a specific example, step S14 further includes:
[0077] Determining whether a predetermined execution condition is met, wherein the predetermined execution condition is: link information of each link registration request stored in the vehicle memory reaches a predetermined quantity threshold, or the last link registration request is received for more than a predetermined time threshold;
[0078] When the predetermined execution condition is met, the link operations corresponding to all link registration requests are executed according to the link information of each link registration request stored in the vehicle memory, and the link relationship between each requesting SWC and the target SWC is established. The specific execution of the link operations corresponding to all link registration requests can be referred to and combined with the above description.
[0079] It is understood that, in the method of the present invention, before step S11, the following steps are further included:
[0080] Receive SWC information addition, modification or deletion requests pushed by distributed terminals, and perform corresponding addition, modification or deletion operations in the registry.
[0081] It is understood that the method provided by the present invention is different from the traditional centralized "assembly" SWC method, which requires obtaining the latest and most complete SWC information every time a link is made. Instead, it adopts a distributed technical solution that effectively integrates different terminal SWCs. Each time a terminal SWC is updated, it can submit it to the distributed SWC server. In this way, other terminals can obtain the current latest SWC, thereby improving the efficiency of the linking process.
[0082] At the same time, if a new SWC is added, modified, or deleted in a distributed terminal, it is submitted to the distributed SWC server through a local push method on the distributed terminal. The SWC module service enabled in the distributed SWC server stores the latest SWC information on a non-volatile storage device. These SWC changes are automatically "aggregated" to the distributed server, effectively avoiding the previous repetitive "assembly" method and greatly improving its efficiency.
[0083] In the method of the present invention, a registry mechanism is adopted so that the SWC can only "display" which specific SWCs to actively link to, thereby avoiding incorrect link objects and improving link quality;
[0084] In the method of the present invention, by adopting the "lazy" linking mode, when the SWC completes all the final links, a real linking operation is finally performed uniformly according to the data stored in the non-volatile storage device, thereby effectively reducing unnecessary system resource overhead.
[0085] FIG3 is a schematic diagram showing a structure of an embodiment of a device for linking distributed SWCs provided by the present invention. Combined with FIG4 to FIG6 , in this embodiment, the device 1 at least includes:
[0086] The service startup unit 10 is used to start the SWC module service and the registry service of the distributed SWC server;
[0087] The link registration request receiving unit 11 is configured to receive a link registration request from a distributed SWC terminal, wherein the link registration request includes link information of the current registration request, and the link information includes: a requesting SWC identifier and a target SWC identifier;
[0088] A search processing unit 12 is configured to search the service list of the started SWC module service to determine whether the target SWC identifier exists, determine whether the registration is successful, and notify the requesting SWC of the registration result;
[0089] The link information storage unit 13 is used to store the link information of this link registration request in the vehicle memory;
[0090] The link execution unit 14 is used to execute the link operation corresponding to each link registration request according to the link information of each link registration request stored in the vehicle memory, and establish a link relationship between each requesting SWC and the target SWC;
[0091] The SWC information receiving unit 15 is used to receive a request for adding, modifying or deleting SWC information pushed by a distributed terminal, and perform corresponding adding, modifying or deleting operations in a registration table.
[0092] As shown in FIG4 , in a specific example, the service starting unit 10 further includes:
[0093] The loading unit 100 is used to load the service list of all current SWC module services and the registry data corresponding to the registry service from the vehicle memory when starting the SWC module service and the registry service of the distributed SWC server;
[0094] As shown in FIG5 , in a specific example, the retrieval processing unit 13 further includes:
[0095] The search and determination unit 130 is configured to search the service list of the started SWC module service to determine whether the target SWC identifier exists. If the search result shows that the target SWC identifier exists, the registration is determined to be successful, and the requesting SWC identifier and the target SWC identifier are stored in the registry corresponding to the registry service; if the search result shows that the target SWC identifier does not exist, the registration is determined to be unsuccessful.
[0096] The notification unit 131 is configured to notify the requesting SWC of the determined registration result.
[0097] As shown in FIG6 , in a specific example, the link execution unit 14 further includes:
[0098] An execution condition determination unit 140 is configured to determine whether a predetermined execution condition has been met, wherein the predetermined execution condition is: the link information of each link registration request stored in the vehicle memory reaches a predetermined quantity threshold, or the last link registration request has been received for more than a predetermined time threshold;
[0099] The execution processing unit 140 is configured to execute link operations corresponding to all link registration requests according to the link information of each link registration request stored in the vehicle memory when a predetermined execution condition is met, and establish link relationships between each requesting SWC and the target SWC.
[0100] For more details, please refer to and combine the above description of Figures 1 to 2, which will not be repeated here.
[0101] As another aspect of the present invention, a system for implementing distributed SWC link processing is provided, comprising a distributed SWC server and a distributed SWC terminal provided in a vehicle, wherein:
[0102] The SWC server is provided with the devices described in FIG. 3 to FIG. 6 ; for more details, please refer to and combine the aforementioned description of FIG. 3 to FIG. 6 , which will not be reviewed here.
[0103] The distributed SWC terminal is used to push SWC information addition, modification or deletion requests to the SWC server, and to send a link registration request to the SWC server. The link registration request contains the link information of this registration request, and the link information includes: the requesting SWC identifier and the target SWC identifier.
[0104] The implementation of the embodiments of the present invention has the following beneficial effects:
[0105] The present invention provides a method, device, and system for implementing distributed SWC link processing. Distributed SWC terminals and servers are used in the vehicle's ECU. A link registration application mechanism is used between SWCs, and the registration table is used to limit which SWCs can link. Furthermore, the generation of links during each link registration application is "inert," and only when the link is finally confirmed is the actual linking action executed centrally. This effectively improves the link efficiency and link quality between different SWCs, and reduces unnecessary system performance loss. This can improve the development efficiency and flexibility of vehicle software.
[0106] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, apparatus, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0107] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0108] The above disclosure is only a preferred embodiment of the present invention and certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A method for implementing distributed SWC link processing, applied to a vehicle including a distributed SWC server and a distributed SWC terminal, characterized in that: At least the following steps are included: Start the SWC module service and registry service of the distributed SWC server; Receiving a link registration request from a distributed SWC terminal, wherein the link registration request includes link information of this registration request, and the link information includes: a requesting SWC identifier and a target SWC identifier; Retrieve whether the target SWC identifier exists in the service list of the started SWC module service, determine whether the registration is successful, and notify the requesting SWC of the registration result; Storing the link information of this link registration request in the vehicle-mounted memory; According to the link information of each link registration request stored in the vehicle-mounted memory, the link operation corresponding to each link registration request is executed to establish a link relationship between each requesting SWC and the target SWC.
2. The method according to claim 1, characterized in that The method of starting the SWC module service and the registry service of the distributed SWC server further includes: The SWC module service and the registry service of the distributed SWC server are started, and the service list of all current SWC module services and the registry data corresponding to the registry service are loaded from the vehicle memory.
3. The method according to claim 2, characterized in that Retrieving whether the target SWC identifier exists in the service list of the started SWC module service, determining whether the registration is successful, and notifying the requesting SWC of the registration result, further comprising: Searching whether the target SWC identifier exists in the service list of the started SWC module service, if the search result is yes, determining that the registration is successful, and storing the requesting party SWC identifier and the target SWC identifier in the registry corresponding to the registry service; if the search result is no, determining that the registration fails; The determined registration result is notified to the requesting SWC.
4. The method according to claim 3, characterized in that Storing the link information of this link registration request in the vehicle-mounted memory further includes: The requester SWC identifier and the target SWC identifier in this link registration request are stored in the vehicle-mounted memory, recorded as a link registration request, and the distributed terminal is notified that this link has been completed.
5. The method according to claim 4, characterized in that According to the link information of each link registration request stored in the vehicle-mounted memory, executing the link operation corresponding to each link registration request, and establishing the link relationship between each requesting SWC and the target SWC, further includes: Determine whether the predetermined execution condition is met, the predetermined execution condition is: each link registration request stored in the vehicle memory The link information reaches a predetermined number threshold, or the last link registration request is received for more than a predetermined time threshold; When the predetermined execution condition is reached, the link operations corresponding to all link registration requests are executed according to the link information of each link registration request stored in the vehicle-mounted memory, and the link relationship between each requesting SWC and the target SWC is established.
6. The method according to any one of claims 1 to 5, characterized in that: Further including: Receive SWC information addition, modification or deletion requests pushed by distributed terminals, and perform corresponding addition, modification or deletion operations in the registration table.
7. A device for implementing distributed SWC link processing, characterized in that: At least: A service startup unit is used to start the SWC module service and registry service of the distributed SWC server; A link registration request receiving unit, configured to receive a link registration request from a distributed SWC terminal, wherein the link registration request includes link information of this registration request, and the link information includes: a requester SWC identifier and a target SWC identifier; A search processing unit, used to search whether the target SWC identifier exists in the service list of the started SWC module service, determine whether the registration is successful, and notify the requesting SWC of the registration result; A link information storage unit, used to store the link information of this link registration request in the vehicle-mounted memory; The link execution unit is used to execute the link operation corresponding to each link registration request according to the link information of each link registration request stored in the vehicle-mounted memory, and establish the link relationship between each requesting SWC and the target SWC.
8. The device according to claim 7, characterized in that in: The service startup unit further includes: a loading unit, which is used to load a service list of all current SWC module services and registry data corresponding to the registry service from the vehicle-mounted memory when starting the SWC module service and the registry service of the distributed SWC server; The retrieval processing unit further comprises: A search and determination unit, used to search whether the target SWC identifier exists in the service list of the started SWC module service, if the search result is yes, determine that the registration is successful, and store the requester SWC identifier and the target SWC identifier in the registration table corresponding to the registration table service; if the search result is no, determine that the registration fails; The notification unit is used to notify the requesting party SWC of the determined registration result.
9. The device according to claim 8, characterized in that The link execution unit further comprises: An execution condition judgment unit, used to judge whether a predetermined execution condition is reached, wherein the predetermined execution condition is: the link information of each link registration request stored in the vehicle-mounted memory reaches a predetermined quantity threshold, or the last link registration request is received for more than a predetermined time threshold; The execution processing unit is used to execute the link operations corresponding to all link registration requests according to the link information of each link registration request stored in the vehicle memory when the predetermined execution condition is reached, and establish the link between each requesting SWC and the target SWC. Connect relationship.
10. The device according to any one of claims 7 to 9, characterized in that Further including: The SWC information receiving unit is used to receive the SWC information addition, modification or deletion request pushed by the distributed terminal, and perform corresponding addition, modification or deletion operations in the registration table.
11. A system for implementing distributed SWC link processing, characterized in that: It includes a distributed SWC server and a distributed SWC terminal arranged in a vehicle, wherein: The SWC server is provided with a device as claimed in any one of claims 7 to 10; The distributed SWC terminal is used to push SWC information addition, modification or deletion requests to the SWC server, and to send a link registration request to the SWC server. The link registration request contains link information of this registration request, and the link information includes: requester SWC identifier and target SWC identifier.
Citation Information
Patent Citations
Method, device and system for realizing distributed SWC link processing
CN119960333A
Service method, device and system, and electronic apparatus
CN109002362A
Service debugging method and system based on distributed service framework and registration center
CN110018962A
Information processing method and device, electronic equipment and storage medium
CN114861106A
Vehicle-mounted service management method, system and device and storage medium
CN116028681A