Fault-tolerant arrangement and cockpit linkage method and system for vehicle-mounted multi-modal reasoning task and related equipment

By introducing task association information management, multi-path result verification, and action constraint mechanisms into in-vehicle multimodal reasoning tasks, problems such as the disconnect between service status and task scheduling and the out-of-order asynchronous results are solved, thereby improving task continuity and security, and ensuring the availability of results and privacy protection.

CN123190841APending Publication Date: 2026-12-01SAIC VOLKSWAGEN AUTOMOTIVE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611403020.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-12-01

AI Technical Summary

Technical Problem

Existing technologies for in-vehicle multimodal reasoning tasks suffer from problems such as disconnect between service status and task scheduling, out-of-order and expired results, failure of single reasoning paths, excessive coupling between model output and vehicle control logic, misuse of test data due to abnormal image sources, expansion of data exposure scope when privacy processing is abnormal, and lack of unified action constraints and condition recovery mechanisms, resulting in insufficient task continuity and security.

Method used

By managing associated information throughout the task lifecycle, scheduling tasks based on service running status, using multi-path result verification and field-level combination, generating intermediate semantic representations, and combining them with vehicle context for action constraints, we ensure the effective association between tasks and service contexts and reduce the impact of abnormal results.

Benefits of technology

It improves the continuity and security of in-vehicle multimodal reasoning tasks, reduces the probability of expired or abnormal results triggering error control, ensures the availability and privacy protection of task results, and reduces the risk of task failure caused by single-path anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123190841A_ABST
    Figure CN123190841A_ABST
Patent Text Reader

Abstract

This invention discloses a fault-tolerant orchestration and cockpit linkage method, system, and related equipment for in-vehicle multimodal inference tasks. The method includes: receiving tasks and configuring task association information; scheduling tasks according to the operational status of the in-vehicle AI service, and re-verifying the tasks to be processed after service status changes; obtaining a first inference result, and invoking a second inference path if a preset validity condition is not met; performing dual verification of task association and service context on the asynchronously returned inference result, filtering out invalid results; retaining valid fields in the first inference result, supplementing missing fields using the second inference result, and converting the combined result into an intermediate semantic representation; generating candidate cockpit actions based on the intermediate semantic representation, vehicle context, and action constraints, and executing them. This invention can improve the continuity and security of in-vehicle multimodal inference tasks and reduce the probability of expired or abnormal results triggering erroneous cockpit control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of intelligent cockpit, in-vehicle artificial intelligence services, computer vision, multimodal reasoning, and vehicle control technology. In particular, it relates to a fault-tolerant orchestration and cockpit linkage method, system, and related equipment for scheduling, result verification, field-level combination, and constrained linkage control of in-vehicle multimodal reasoning tasks in the context of asynchronous operation of in-vehicle artificial intelligence services, dynamic changes in input data, and possible incomplete reasoning results. Background Technology

[0002] Intelligent cockpit systems can use cameras to capture images inside the vehicle and combine them with text tasks, vehicle status, or occupant interaction information to complete object recognition, scene understanding, and cockpit interaction. For example, the system can identify the attributes of items or scenes inside the vehicle and then provide feedback to the user through a display interface, voice, lighting, or other cockpit devices. With the rapid development of in-vehicle artificial intelligence technology, intelligent cockpit systems based on multimodal perception have been able to achieve a closed-loop decision-making process from scene perception to adaptive task execution.

[0003] In real-world vehicle environments, the aforementioned processing is typically not a single synchronous call to a single model, but rather involves multiple stages, including image sourcing, AI service initialization, asynchronous inference callbacks, result parsing, business decision-making, and vehicle control. Existing technical solutions usually treat "service availability assessment," "model invocation," "result parsing," and "vehicle control actions" as relatively independent functions, lacking a coherent mechanism throughout the task lifecycle, resulting in the following specific shortcomings: (i) Disconnect between service status and task scheduling. In-vehicle AI services may be in the process of connection, initialization, or abnormal recovery. If a task is initiated directly when the conditions for execution are not met, it is easy to cause request failure or repeated execution. Existing solutions usually only use the service status to indicate whether initialization is complete, without temporarily storing and managing the tasks to be processed according to the service status, or re-verifying whether the tasks are still valid after the service is restored. This results in tasks being easily lost during service fluctuations or being executed after expiration.

[0004] (ii) Out-of-order and expired contamination of asynchronous results. When services reconnect, tasks are replaced, or multiple requests arrive consecutively, the results of earlier tasks may return later than the current task, overwriting the current result or triggering error linkage. Although existing solutions can filter out-of-order messages based on source identifiers and sequence numbers, or intercept expired requests by version numbers, these are all single-dimensional checks and cannot simultaneously confirm whether the result still belongs to the current valid task and whether it corresponds to the current service context.

[0005] (iii) Failure of a single inference path leads to overall task failure. A single inference path may return empty results, results with incorrect formatting, or results with missing semantics. Existing solutions typically fail as a whole when a single path fails, or the result of the second path completely overwrites the result of the first path, resulting in the loss of valid information obtained in the first path.

[0006] (iv) Excessive coupling between model output and vehicle control logic. Different inference paths have different output formats and semantic granularities. The original model output is directly bound to the cockpit control, and changes in model format or version will affect the business and vehicle control layers. The existing semantic intermediate representation is mainly used for data processing routing or prompt word construction, and does not serve as an isolation layer between model output and cockpit actions, nor does it carry information on the usability of the results and action constraints.

[0007] (v) Misuse of test data when image source is abnormal. When the image source is abnormal, some systems use preset test images unrelated to the real scene as production rollback input, causing incorrect identification and incorrect linkage. The existing test / production mode switching mainly targets interface signal shielding, and does not involve hard isolation to prevent test data from entering the real vehicle control in the visual inference link.

[0008] (vi) Expanding the scope of data exposure when privacy processing fails. Directly uploading, caching, or persisting the original image when privacy processing fails weakens the privacy processing effect and expands the risk of data exposure. Existing solutions do not address conditional degradation paths for the specific scenario of privacy processing failure.

[0009] (vii) Lack of a unified action constraint and condition recovery mechanism. When the reasoning result is uncertain or the vehicle state does not allow it, there is a lack of a unified action constraint and user confirmation mechanism. The existing solution does not form a multi-level action constraint system, nor does it link the action constraints with the uncertainty fields in the reasoning result; after the temporary cockpit action ends, it relies on the user to manually trigger the recovery, without considering the user's active modification of the environment during the linkage.

[0010] In summary, there is an urgent need for a solution that spans the entire task lifecycle, effectively links the task with the service context and asynchronous results, supplements the data at the field level through a second path when the inference results are insufficient, and executes context and risk constraints before generating cockpit actions to reduce the probability of expired or abnormal results triggering error control. Summary of the Invention

[0011] The purpose of this invention is to provide a fault-tolerant orchestration and cockpit linkage method, system, device and medium for in-vehicle multimodal reasoning tasks. It can maintain the effective association between task and service context and asynchronous results throughout the task lifecycle, supplement the inference results through multi-path field-level combination when the inference results are insufficient, and execute context and risk constraints before generating cockpit actions, thereby improving the continuity and security of in-vehicle multimodal reasoning tasks and reducing the probability of expired or abnormal results triggering error control.

[0012] This invention proposes a fault-tolerant orchestration and cockpit linkage method for in-vehicle multimodal reasoning tasks, including: Obtain the in-vehicle multimodal inference task, configure task association information for the task, and use the task association information to confirm the correspondence between input information, inference request, service context, asynchronous inference result and action to be executed; The system acquires the operating status of the in-vehicle AI service and processes the task based on the operating status. When the operating status does not meet the execution conditions of the task, the task is placed in a waiting set. After the operating status changes, the validity of the tasks in the waiting set is re-verified, and only tasks that still meet the timeliness requirements and have not been replaced are executed. Input data that has passed the input validity and privacy condition verification is sent to the first inference path to obtain the first inference result, and it is determined whether the first inference result meets the preset validity conditions. When the first reasoning result does not meet the preset validity condition, the second reasoning path is invoked to obtain the second reasoning result; When the first inference result and / or the second inference result are returned asynchronously, the associated information returned with the inference result is compared with the task associated information of the current task and the current service context to verify whether the asynchronous inference result is still valid; only the asynchronous inference result that passes the verification is used for subsequent processing. The valid fields in the first inference result are retained, and the missing or invalid fields in the first inference result are supplemented by the second inference result. The combined result is converted into an intermediate semantic representation, which at least carries task association information, semantic results, result availability and action constraints. Candidate cockpit actions are generated based on the intermediate semantic representation and vehicle context. The candidate cockpit actions are constrained according to the action allowance conditions and action risks. The target action is executed through the cockpit control interface after the candidate cockpit action meets the execution conditions.

[0013] In one embodiment, processing the task according to the running state further includes: When the running state does not meet the execution conditions of the task and there is a possibility of recovery, the task is placed in the pending set, and the connection, initialization or capability recovery process of the in-vehicle artificial intelligence service is triggered or waited for. When the in-vehicle AI service cannot be restored within the allowed processing conditions or its target capability is unavailable, a downgrade process is performed, a prompt message is output, or the process is terminated; the downgrade process includes switching to an available non-visual capability and outputting a prompt message that vehicle control is not performed.

[0014] In one embodiment, re-validating the tasks in the set to be processed includes: continuing to execute only tasks that still meet the timeliness requirements and have not been replaced by subsequent tasks; and marking tasks that have been replaced by subsequent tasks and are no longer necessary to execute as invalid.

[0015] In one embodiment, before sending the input data, which has undergone input validity and privacy condition verification, to the first inference path, the method further includes: In production operation mode, image data is acquired from input sources that are permitted for use in real vehicle environments; The input validity verification includes: prioritizing the use of the current real-time image; when the current real-time image is unavailable, using the current scene image provided by the vehicle platform; when the current scene image is unavailable, determining whether there is a recently cached image that meets the preset validity conditions; if there is no input data that meets the preset validity conditions, stopping visual reasoning or switching to a degraded task that does not depend on visual input. The validity of the cached image is determined based on at least one of image timeliness and current scene continuity; the scene continuity is determined based on at least one of vehicle operating status, cabin occupancy, input channel, and task type.

[0016] In one embodiment, the privacy condition verification includes: performing anonymization, occlusion, cropping, or feature processing on preset sensitive areas or sensitive information in the input data before the input data enters the inference path; When the privacy processing is successful, subsequent inference is performed using the processed data; When the privacy processing fails: if the vehicle device has local inference capabilities that meet preset security conditions, the original data is only used for the current task in the local volatile storage area, is not uploaded or written to the persistent cache, and is released after the current task ends; if the security local processing conditions are not met, the visual inference path is stopped, and the device switches to a non-visual task or terminates the current task.

[0017] In one embodiment, the preset validity condition includes at least one of the following: Whether the invocation of the first inference result was successfully completed; Whether the first reasoning result can be parsed; Does the semantics required for the task exist? Does the first inference result satisfy a preset format or logical constraints? Does the credibility of the first inference result meet the requirements of the current task? Does the first inference result conflict with the vehicle context in a way that is not allowed?

[0018] In one embodiment, the second reasoning path is implemented by a model with multimodal semantic understanding capabilities; The triggering condition for the second reasoning path is at least one of the following: call anomaly of the first reasoning result, parsing anomaly, missing necessary semantics, insufficient reliability of the result, or inconsistent context. The second inference pathway receives the input data allowed by the current task and the prompt information used to express the task objective, and outputs the second inference result.

[0019] In one embodiment, retaining the valid fields in the first inference result and supplementing the missing or invalid fields in the first inference result with the second inference result includes: Fields in the first reasoning result that have met the validity conditions are retained; Use the second reasoning result to supplement the missing or invalid fields in the first reasoning result; When the first inference result and the second inference result give different results for the same field, the target field value is determined based on at least one of result credibility, input source, vehicle context, mission objective and subsequent action risk. When a conflict cannot be reliably resolved under the current conditions, the corresponding field is marked as uncertain to prevent the field from directly triggering high-risk actions.

[0020] In one embodiment, constraining the candidate cockpit actions based on action permissibility conditions and action risks includes at least one of the following: Actions that are not permitted under the current vehicle status are prohibited; Reduce the scope of actions that depend on uncertain fields or do not execute them; For actions that require user intervention, first output a confirmation request; Generate restricted control instructions for actions that can be safely and automatically executed; If no candidate action meets the execution conditions, only a prompt message will be output.

[0021] In one embodiment, after the candidate cockpit action satisfies the execution conditions and the target action is executed via the cockpit control interface, the method further includes: Before performing a temporary cockpit maneuver, record the environmental conditions associated with the temporary cockpit maneuver; After the temporary cockpit operation ends, the recorded environmental state is restored when the recovery conditions are met; If, during the execution of the temporary cockpit action, it is detected that the user has actively modified the relevant environmental state or that the current vehicle state has changed, then automatic recovery will be stopped.

[0022] This invention also proposes a fault-tolerant orchestration and cockpit linkage system for in-vehicle multimodal reasoning tasks, comprising: The task management module is used to acquire in-vehicle multimodal reasoning tasks, configure task association information for the tasks, and perform temporary storage, merging, replacement, cancellation or invalidation processing on consecutively arriving tasks according to the task relationship. The service scheduling module, connected to the task management module, is used to receive the task from the task management module, obtain the running status of the in-vehicle artificial intelligence service, determine whether the running status meets the execution conditions of the task, and control the execution, waiting, downgrading or termination of the task according to the running status. The input management module, connected to the service scheduling module, is used to obtain input data from the allowed production data source in production operation mode when the task is allowed to be executed, and to verify the availability, timeliness and scenario continuity of the input data. A privacy processing module, connected to the input management module, is used to reduce sensitive information in the input data before inference, and to select local volatile processing, non-visual degradation, or termination of the visual task based on whether the security local processing conditions are met when privacy processing fails. The inference invocation module is connected to the privacy processing module and the service scheduling module, and is used to send the privacy-processed input data to the first inference path, and invoke the second inference path when the first inference result does not meet the preset validity conditions. The association verification module, connected to the inference call module, is used to receive the asynchronously returned inference results, compare the association information of the asynchronous inference results with the task association information of the current task and the current service context, and filter out asynchronous inference results that do not match the current task or the current service context. The semantic normalization and combination module, connected to the association verification module, is used to convert the inference result that has passed the association verification into an intermediate semantic representation, retain the valid fields in the first inference result, use the second inference result to supplement the missing fields, and perform constrained processing on conflicting fields. The action decision module, connected to the semantic normalization and combination module, is used to generate candidate cockpit actions based on the intermediate semantic representation, vehicle context and action constraints, and determine whether to execute automatically, request confirmation, reduce the action range or only output prompt information. The action execution module, connected to the action decision module, is used to send control commands to the cockpit equipment when the candidate cockpit action meets the execution conditions, and to restore the execution conditions according to the current environmental state after the temporary action ends.

[0023] The present invention also proposes an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the electronic device performs the method described above.

[0024] The present invention also proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described above.

[0025] The present invention has the following beneficial effects: 1. By integrating task-related information throughout the service scheduling, inference invocation, and result processing processes, it is possible to identify and filter out invalid results caused by service reconstruction, task replacement, or out-of-order callbacks, thereby reducing the contamination of current tasks by old results.

[0026] 2. By controlling task execution based on service running status and re-verifying pending tasks after service status changes, task continuity during asynchronous initialization or exception recovery can be improved, while avoiding the resumption of expired tasks.

[0027] 3. By “retaining valid fields in the first path, supplementing insufficient fields in the second path, and handling conflicting fields with constraints”, the availability of results can be improved without discarding existing valid information, and the failure of the entire task due to local anomalies in a single path can be avoided.

[0028] 4. By isolating the original output of the model from the cockpit actions through intermediate semantic representation, the impact of changes in inference paths and output formats on subsequent business and control modules can be reduced.

[0029] 5. By isolating production data sources from test data sources, we can prevent test inputs unrelated to the real environment from triggering real vehicle actions.

[0030] 6. By using local volatile processing or non-visual degradation paths after privacy processing failures, the risk of uncontrolled uploading or persistence of original sensitive images can be reduced.

[0031] 7. By using vehicle context and action risk constraints, uncertain inference results can be guided to prompt, confirm, or conservative handling paths, rather than directly triggering inappropriate cockpit controls.

[0032] 8. The conditional recovery mechanism can restore the relevant environment after the temporary linkage ends, while avoiding overwriting the active modifications made by the user during the linkage. Attached Figure Description

[0033] Figure 1 This is a flowchart illustrating a method for fault-tolerant orchestration and cockpit linkage of an in-vehicle multimodal reasoning task according to an embodiment of the present invention. Detailed Implementation

[0034] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the invention.

[0035] This invention addresses the technical problems existing in in-vehicle multimodal inference tasks, such as the disconnect between service status and task scheduling, out-of-order asynchronous results polluting the current task, loss of effective information due to abnormal single inference paths, excessive coupling between model output and vehicle control logic, test data being mistakenly entered into the production chain, data exposure after privacy processing failure, and the lack of a unified action constraint and condition recovery mechanism. It proposes a fault-tolerant orchestration scheme that runs through the entire life cycle of the task. The core inventive concept lies in: establishing task association information across the entire chain of multimodal inference tasks, including scheduling, inference invocation, asynchronous result verification, and cockpit action generation; performing gating scheduling on tasks based on the operational status of the in-vehicle AI service, and re-verifying tasks after service status changes; simultaneously performing dual verification of task association and service context on asynchronously returned inference results to filter out invalid results; triggering a second inference path when the first inference result does not meet the validity conditions, retaining valid information from the first inference result on a field-by-field basis and supplementing it with the second inference result, marking uncertainties when conflicts cannot be resolved; converting the combined results into an intermediate semantic representation carrying the availability of results and action constraints, isolating the model output from the vehicle control logic; performing hierarchical constraints on candidate cockpit actions based on vehicle context and action risks; and performing condition restoration after the temporary action ends. The following detailed description of the above mechanism is provided in conjunction with embodiments.

[0036] This invention proposes a fault-tolerant orchestration and cockpit linkage method for in-vehicle multimodal reasoning tasks, see [link to relevant documentation]. Figure 1 The following provides a detailed explanation of the specific implementation methods for each step of the method.

[0037] Step S1: Receive the task and configure task association information

[0038] The system receives an in-vehicle multimodal inference task, which includes at least a task objective and a description of the input to be processed. In response to this task, the system configures task association information for it. This task association information is used to confirm the correspondence between input, inference request, service context, asynchronous result, and action to be executed in subsequent processing.

[0039] Furthermore, the task association information can be implemented using one or more identifiers, including but not limited to task identifiers, initiation timestamps, task sequence numbers, or service context version numbers. This invention does not limit the identifier name, field structure, generation algorithm, or storage location.

[0040] Preferably, when multiple tasks are received consecutively, the system determines the relationship between the tasks based on at least one of the following: task type, target object, source, timeliness requirement, or priority. Tasks that meet the merging conditions (such as consecutive identification requests for the same target object or the same scene) can be merged to reduce redundant reasoning overhead. Tasks that are replaced by subsequent tasks and no longer have the necessity to be executed (such as identification requests for old positions after occupant positions have changed) are marked as invalid. Specific merging windows, priority values, and replacement rules can be pre-configured according to vehicle model and task type; this invention does not impose limitations on these.

[0041] Step S2: Schedule tasks based on service running status

[0042] The system acquires the operational status of the in-vehicle AI service and determines whether the operational status meets the execution conditions of the target task. The operational status is determined by at least one of the following: service connection status, initialization status, capability availability status, or anomaly recovery status.

[0043] When the service meets the execution conditions, the task is allowed to enter the input acquisition or inference phase.

[0044] When a service does not meet the execution conditions but has the potential to be restored, the task is placed in the pending set and the service connection, initialization, capability restoration or other processes that make the service executable are triggered or waited for.

[0045] Furthermore, when the service status changes, the system re-evaluates the validity of tasks to be processed, and only continues to execute tasks that still meet the timeliness requirements and have not been replaced. Specifically, the system checks whether the task to be processed has been replaced by a subsequent task, whether the allowed waiting time has been exceeded, and whether the input on which the task depends is still valid.

[0046] Preferably, when the service cannot be restored within the allowed processing conditions, or the target capability is unavailable, the system performs degradation, prompting, or termination processing based on the task attributes. Degradation processing may include switching to available non-visual capabilities (such as plain text understanding or voice interaction), outputting a prompt result indicating that vehicle control is not performed, or adopting other processing methods that do not increase control risks.

[0047] Preferably, this step does not require the disclosure of the complete state names, all state transition conditions, number of retries, waiting times, or queue parameters used by the production system. These parameters can be pre-configured or dynamically determined based on vehicle model, hardware resources, and service type.

[0048] Step S3: Obtain and validate input data

[0049] In production operation mode, the system acquires images or other multimodal data from input sources that are permitted for use in a real vehicle environment. Production operation mode refers to an operation mode that allows processing of real vehicle environment data and may output control commands to real cockpit equipment.

[0050] Furthermore, for image input, the system prioritizes using currently acquired real-time images. If real-time images are unavailable, it uses current scene images provided by the vehicle platform. If none of the above images are available, it determines whether a recently cached image that meets preset validity conditions exists.

[0051] Preferably, the validity of cached images is determined at least based on image timeliness and current scene continuity. Scene continuity is determined based on at least one of the following: vehicle operating status, cabin occupancy, input channel, task type, or other information that can characterize whether a substantial change has occurred in the scene. For example, if the vehicle switches from a driving state to a parked state, or if the cabin occupancy changes significantly, then even if a recently cached image exists, it is determined that the scene continuity requirement is not met.

[0052] Preferably, if no production input meets the validity criteria, the current visual inference is stopped, or the system switches to a degraded task that does not depend on the visual input. The system does not use preset test images that are irrelevant to the current real-world scenario to continue generating realistic vehicle control actions.

[0053] Preferably, in test run mode, the system can read preset test images or simulation data, but the test task should be isolated from the production task and should not output execution commands to the real vehicle control interface. Test run mode refers to an isolated run mode used for development, simulation, self-testing, or demonstration, in which test data should not trigger real vehicle control.

[0054] Step S4: Privacy Processing

[0055] Before an image enters the target inference path, the system performs anonymization, occlusion, cropping, featureization, or other processing to reduce the exposure of sensitive information in preset sensitive areas or information in the image, according to task requirements.

[0056] Once privacy processing is successful, the processed data is used to perform subsequent inference.

[0057] Furthermore, when privacy processing fails, the system degrades according to the following security boundaries: (1) If the vehicle-mounted device has local inference capability that meets the preset safety conditions, the original image can only be used for the current task in the local volatile storage area, and will not be uploaded or written to the persistent cache, and will be released after the current task ends; (2) If the conditions for safe local processing are not met, stop the visual pathway and switch to a non-visual task, output a prompt, or terminate the current task; (3) For data processing paths that require additional authorization, they can only be enabled after obtaining the corresponding authorization and meeting the established security conditions.

[0058] Preferably, this security degradation relationship is used to replace the processing method of "unconditionally using the original image after privacy processing failure". The original image must not enter an unauthorized transmission or persistence path after privacy processing fails.

[0059] Step S5: Execute the first inference path and verify the result.

[0060] The system sends the data, after verification of input validity and privacy conditions, to the first inference path to obtain the first inference result. The first inference result can be a structured object, a set of tags, state information, or other results that can be converted into structured fields.

[0061] Further, a validity check is performed on the first reasoning result. The validity check includes at least one of the following: (1) Determine whether the inference call was successfully completed; (2) Determine whether the result can be parsed; (3) Determine if the semantics required for the task exist; (4) Determine whether the result meets the preset format or logical constraints; (5) Determine whether the reliability of the result meets the requirements of the current task; (6) Determine whether the result conflicts with the vehicle context in a way that is not allowed.

[0062] Preferably, the preset validity conditions can be configured according to different tasks, and specific thresholds, field weights, calculation formulas or production rules are not limited in this specification.

[0063] Preferably, when the first inference result is returned asynchronously, the following association verification (step S7) should be performed before using the result. The first inference result that fails the association verification is not used to update the intermediate semantic representation, nor is it used to generate or execute cockpit actions.

[0064] Step S6: Activate the second inference path as needed

[0065] When the first reasoning result meets the validity requirements of the current task, the system directly converts the valid semantics into an intermediate semantic representation.

[0066] The second inference path is invoked when the first inference result does not meet the validity requirements of the current task, but still contains available fields, or when the task allows for further semantic supplementation.

[0067] Furthermore, the second inference pathway receives the input data allowed by the current task and the prompts used to express the task objective, and outputs the second inference result. The second inference pathway can be implemented by a model with multimodal semantic understanding capabilities, but is not limited to a specific model structure, parameter adaptation method, training method, or prompt content.

[0068] Preferably, the triggering of the second inference path can be based on at least one of the following: call exception, parsing exception, missing necessary semantics, insufficient reliability of the result, or inconsistent context.

[0069] Preferably, the first and second inference paths can be implemented by different output modes of the same model, or by different models or services. The second inference path can be triggered sequentially or executed in parallel with the first inference path in a specific task. Regardless of the method used, the result must pass association and validity checks before entering the intermediate semantic representation.

[0070] Step S7: Verify the correlation between asynchronous results

[0071] When the first or second inference result is returned asynchronously, the system obtains the associated information that is returned with the result or that corresponds to the result, and compares it with the associated information of the current task and the current service context.

[0072] When an asynchronous result matches a currently valid task and the current service context, the result is allowed to proceed to subsequent normalization and composition processing.

[0073] Furthermore, the asynchronous result is deemed invalid when at least one of the following conditions is met: (1) The task corresponding to the result has been cancelled, replaced, or completed; (2) The service context corresponding to the result has changed due to service reconstruction, recovery or capability switching; (3) The result no longer meets the timeliness requirements of the current task; (4) The results are inconsistent with the current processing sequence and may overwrite the updated valid results.

[0074] Preferably, for failure results, the system does not use them to update intermediate semantic representations, nor does it generate or execute cockpit actions based on them. Task-related information and service context-related information can be implemented using one or more identifiers, but this invention does not limit the identifier name, field structure, generation algorithm, or storage location.

[0075] Step S8: Form intermediate semantic representation and perform field-level composition

[0076] The first and second inference results, which pass the association verification, are respectively converted into intermediate semantic representations. Each intermediate semantic representation can carry at least a portion of the following information categories: (1) Information relating the task to the result; (2) Input source and validity information; (3) Semantic results related to the task objective; (4) Information characterizing the usability of the results; (5) Constraint information for subsequent action decisions.

[0077] Furthermore, when both the first and second inference paths produce usable results, a combination is performed based on the fields: (1) Fields that have already met the validity conditions in the first inference result shall be retained; (2) Use the second reasoning result to supplement the missing or invalid fields in the first reasoning result; (3) When two pathways give different results for the same field, the target field value shall be determined based on at least one of the following: result reliability, input source, vehicle context, task objective, and risk of subsequent actions; (4) When a conflict cannot be reliably resolved under the current conditions, the corresponding field is marked as uncertain to avoid the field directly triggering high-risk actions.

[0078] Preferably, the second reasoning path does not completely cover the result of the first reasoning, but rather retains valid information and supplements or constrains insufficient information at the field level. The intermediate semantic representation does not require the disclosure of the actual field names, complete field list, data types, encoding methods, or storage structures in the production system.

[0079] Step S9: Generate candidate actions based on vehicle context

[0080] The system generates one or more candidate cockpit actions based on intermediate semantic representations and vehicle context. Vehicle context may include at least one of vehicle operating state, driving-related state, cockpit equipment state, occupant interaction state, or mission environment.

[0081] Furthermore, when generating candidate actions, the candidate actions are restricted based on the action allowance conditions and action risks, including at least one of the following processes: (1) Prohibit actions that are not permitted to be performed under the current vehicle status; (2) Reduce the scope of execution or do not execute actions that depend on uncertain fields; (3) For actions that require user participation, output a confirmation request first; (4) Generate restricted control instructions for actions that can be safely and automatically executed; (5) When no candidate action meets the execution conditions, only a prompt message is output.

[0082] Preferably, cockpit actions may include the linkage of displays, voice, lights, audio, air conditioning, or other non-driving-critical equipment. For controls that may affect vehicle driving safety, stricter vehicle safety strategies should be applied, and the multimodal reasoning results of this invention should not be used as a basis for bypassing vehicle safety controls.

[0083] Step S10: Perform the action and restore the conditions

[0084] Once the candidate action meets the execution conditions and user confirmation is obtained when necessary, the system executes the target action through the permitted cockpit control interface.

[0085] Furthermore, before performing any temporary cockpit maneuvers, the system records the environmental state related to the target maneuver. After the maneuver is completed, the recorded environmental state is restored when the recovery conditions are met.

[0086] Preferably, if the system detects that the user has actively modified the relevant environmental state or that the current vehicle state has changed during the execution of the action, the automatic recovery will be stopped to prevent the system recovery operation from overwriting the user's subsequent active settings. The specific fields, storage format, recovery duration, and conflict judgment parameters for the environmental state are not limited.

[0087] The present invention also provides a fault-tolerant orchestration and cockpit linkage system for in-vehicle multimodal reasoning tasks, including: a task management module, a service scheduling module, an input management module, a privacy processing module, a reasoning invocation module, an association verification module, a semantic normalization and combination module, an action decision module, and an action execution module.

[0088] The task management module receives multimodal inference tasks, configures task association information, and performs temporary storage, merging, substitution, cancellation, or invalidation processing on consecutively arriving tasks based on task relationships. This module maintains a task queue or task set, recording each task's task identifier, association information, status (waiting, executing, completed, invalidated), and timestamp. For newly arriving tasks, the module determines their relationship with existing tasks based on task type, target object, and timeliness requirements, and performs the corresponding merging or substitution operation.

[0089] The service scheduling module is used to obtain the operational status of in-vehicle AI services, determine whether the services meet the execution conditions of the target tasks, and control task execution, waiting, degradation, or termination based on the service operational status. This module can obtain operational status by actively querying service interfaces, listening to service events, receiving heartbeat signals, or capability declarations. When the service status changes, the module notifies the task management module to re-validate the validity of waiting tasks.

[0090] The input management module is used to obtain input from permitted production data sources in production operation mode, verify the availability, timeliness, and scenario continuity of the input, and isolate preset data in test operation mode. This module implements a three-level rollback strategy for production images—real-time images, current platform images, and cached images that meet validity conditions—and ensures that visual inference stops when there is no valid production input, and that preset test images are not used to generate real vehicle control actions.

[0091] The privacy processing module reduces sensitive information in the input before inference and, if privacy processing fails, selects local volatile processing, non-visual degradation, or termination of the visual task based on whether the security local processing conditions are met. This module performs anonymization, occlusion, cropping, or feature enhancement on preset sensitive regions in the image (such as faces, license plates, etc.). When privacy processing fails, the module uses the original image in the volatile storage area only if the security local processing conditions are met; otherwise, it stops the visual pathway.

[0092] The inference invocation module invokes the first inference path and, if the first inference result does not meet the preset validity conditions, invokes the second inference path. This module is responsible for constructing inference requests (including input data and task target information), managing inference sessions, receiving asynchronous callback results, and sending the asynchronous results along with associated information to the association verification module. The first inference path prioritizes outputting structured results, while the second inference path supplements the input content with semantic understanding.

[0093] The association verification module compares the association information of asynchronous results, the association information of the current task, and the current service context, filtering out asynchronous results that are invalid or do not match the current task. This module maintains the task association information and current service context identifier of the currently valid task. For each asynchronously returned inference result, the module extracts its carried association information and performs a double comparison with the association information of the currently valid task and the current service context. Incompatible results are discarded and not passed to subsequent modules.

[0094] The semantic normalization and combination module converts the results of different inference paths into intermediate semantic representations, retains valid fields from the first inference result, supplements insufficient fields using the second inference result, and performs constraint processing on conflicting fields. This module parses the original outputs of each inference path into a unified field structure and fuses them according to field-level combination rules. For conflicting fields that cannot be reliably resolved, the module marks them as uncertain. The final output intermediate semantic representation carries at least task-related information, semantic results, result usability, and action constraint information.

[0095] The action decision module generates candidate cockpit actions based on intermediate semantic representations, vehicle context, and action constraints, and determines whether to execute them automatically, request confirmation, reduce the scope of the action, or only prompt the user. This module maintains an action permission condition table (which actions are allowed to be executed in the current vehicle state) and action risk classification rules. For actions that rely on uncertain fields, the module prioritizes a conservative processing path—only prompting the user or requesting confirmation.

[0096] The action execution module sends control commands to authorized cockpit devices when candidate actions meet execution conditions, and can restore execution conditions based on the current environmental state after a temporary action ends. This module saves a snapshot of the relevant environmental state before executing an action and determines whether the restoration conditions are met after execution. If the module detects that the user actively modified the relevant environmental state during action execution, it stops automatic restoration.

[0097] The above modules can be implemented by software, hardware, firmware, or a combination thereof, and can be deployed in a combined or distributed manner. This invention does not limit the module name, the number of modules, or the specific deployment boundaries.

[0098] Without departing from the core inventive concept, the following substitution methods can be adopted: The first and second inference paths can be implemented by different output modes of the same model, or by different models or different services.

[0099] The second inference path can be triggered sequentially or executed in parallel with the first inference path in a specific task; regardless of the method used, the result must pass association and validity checks before entering the intermediate semantic representation.

[0100] Task association information can be passed with the request, or it can be stored in the task management module and mapped to callbacks.

[0101] The service's operational status can be actively queried by the in-vehicle application, or updated by service events, heartbeats, capability declarations, or anomaly notifications.

[0102] Intermediate semantic representations can be memory objects, message objects, table structures, or other data formats that can carry normalized semantics and constraint information.

[0103] Vehicle context can come from the vehicle bus, cockpit equipment, operating system services, sensors, or other authorized data sources.

[0104] Action execution can be performed by the system directly calling the cockpit control interface, or the constrained actions can be sent to the vehicle control module with final safety verification capability.

[0105] Privacy processing can be performed at the input acquisition end, the in-vehicle application end, or the local inference server end, but raw images that do not meet security conditions must not enter unauthorized transmission or persistence paths.

[0106] The above replacement does not change the core technical relationship of "task association - state scheduling - asynchronous result filtering - multi-path field-level combination - action constraints".

[0107] This embodiment uses a scenario in a vehicle cabin where image recognition of items left behind by occupants triggers lights and interface prompts as an example to fully illustrate the method of the present invention.

[0108] The in-vehicle application receives a multimodal inference task: to identify whether there are any items left behind by occupants in the rear seat area of ​​the cabin, and to display a prompt message on the instrument panel or central control screen based on the identification result, while simultaneously coordinating with the ambient lighting inside the vehicle to provide a reminder. The system configures task association information for this task, including task identifier, initiation time, task type, and current service context identifier.

[0109] The system then queries the operational status of the in-vehicle AI service. If the service is in the process of initialization and does not currently possess target inference capabilities, the system does not immediately invoke the inference interface but instead adds the task to the pending set. During the waiting period, if another task with the same target but updated input is received (e.g., a recognition request triggered again after a change in occupant location), the system determines, based on the task type, target object, and timeliness requirements, that the latter task can replace the former. Therefore, only tasks that are still necessary to execute are retained, and the replaced old tasks are marked as invalid.

[0110] Once the AI ​​service enters the executable state, the system re-verifies the timeliness, input validity, and cancellation status of the retained task. If the verification passes, the system continues executing the task—acquiring real-time images of the rear passenger area from the vehicle's onboard camera.

[0111] Before the image enters the inference path, the system anonymizes preset sensitive areas in the image (such as the occupant's face). If anonymization is successful, the processed image is sent to the first inference path. The first inference path is the inference path that prioritizes outputting structured results, returning parsable structured results where the object category field ("suspected abandoned item") is valid, but the specific location of the item or the confidence field required to complete the current task is missing or unreliable.

[0112] The system performs a validation check on the first inference result based on preset validity conditions and finds that its semantics are incomplete. Since the first inference result contains a usable object category field, and the task allows for further semantic supplementation, the system invokes the second inference path. The second inference path is a model with multimodal semantic understanding capabilities, which receives the current image and prompts expressing the task objective, and returns supplementary semantic results related to scene attributes.

[0113] When the second inference result is returned asynchronously, the system first performs an association check—comparing the association information returned with the result with the task association information of the current task and the current service context. If the check passes, the system retains the "object category" field from the first inference result that meets the validity conditions, and uses the second inference result to supplement the missing "item location" and "confidence level" fields from the first inference result. If the two pathways give different results for the same field, the system determines the target field value based on the reliability of the result, the vehicle context, and the risk of subsequent actions. If the conflict cannot be reliably resolved, the system marks the field as uncertain.

[0114] The system converts the combined results into an intermediate semantic representation, which carries task-related information, semantic results, result availability, and action constraint information. Based on the intermediate semantic representation and the current vehicle context (vehicle is parked, no occupants in the cabin), the system generates candidate cabin actions: displaying a prompt on the instrument panel and illuminating the rear ambient lighting. The action decision module restricts the candidate actions based on action constraints—confirming that the above actions are permissible under the current vehicle state and do not depend on uncertain fields, thus generating restricted control commands.

[0115] Before executing a temporary cockpit action, the system records the environmental state related to the target action (current color and brightness of the ambient lighting, current content displayed on the instrument panel). The target action is then executed via the cockpit control interface—displaying a prompt and illuminating the ambient lighting. After the action is completed, the system determines whether the relevant environmental state is still suitable for restoration. If the user did not actively modify the ambient lighting or instrument panel state during the interaction, the recorded state before execution is restored; if the system detects that the user actively adjusted the ambient lighting, automatic restoration is stopped, and the user's settings are retained.

[0116] Thus far, this embodiment fully demonstrates the entire process from task reception to action execution and condition recovery, reflecting the core mechanisms of task-related information permeating the entire link, service status gating scheduling, asynchronous result double verification, dual-path field-level combination, intermediate semantic representation isolation, and constrained cockpit linkage.

[0117] The present invention also provides an electronic device, including a processor and a memory. The memory stores a computer program, which, when executed by the processor, causes the electronic device to perform the method described in this application.

[0118] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in this application.

[0119] The present invention has the following beneficial effects: 1. By integrating task-related information throughout the service scheduling, inference invocation, and result processing processes, it is possible to identify and filter out invalid results caused by service reconstruction, task replacement, or out-of-order callbacks, thereby reducing the contamination of current tasks by old results.

[0120] 2. By controlling task execution based on service running status and re-verifying pending tasks after service status changes, task continuity during asynchronous initialization or exception recovery can be improved, while avoiding the resumption of expired tasks.

[0121] 3. By “retaining valid fields in the first path, supplementing insufficient fields in the second path, and handling conflicting fields with constraints”, the availability of results can be improved without discarding existing valid information, and the failure of the entire task due to local anomalies in a single path can be avoided.

[0122] 4. By isolating the original output of the model from the cockpit actions through intermediate semantic representation, the impact of changes in inference paths and output formats on subsequent business and control modules can be reduced.

[0123] 5. By isolating production data sources from test data sources, we can prevent test inputs unrelated to the real environment from triggering real vehicle actions.

[0124] 6. By using local volatile processing or non-visual degradation paths after privacy processing failures, the risk of uncontrolled uploading or persistence of original sensitive images can be reduced.

[0125] 7. By using vehicle context and action risk constraints, uncertain inference results can be guided to prompt, confirm, or conservative handling paths, rather than directly triggering inappropriate cockpit controls.

[0126] 8. The conditional recovery mechanism can restore the relevant environment after the temporary linkage ends, while avoiding overwriting the active modifications made by the user during the linkage.

[0127] The above effects do not depend on any specific model, any particular vehicle platform, or a fixed set of thresholds.

[0128] The embodiments described above are merely further illustrations of the present invention and are not intended to limit the present invention in any other way. The present invention may have many other embodiments. Without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding modifications and changes based on the present invention, but all such modifications and changes should fall within the protection scope of the present invention.

Claims

1. A fault-tolerant orchestration and cockpit linkage method for in-vehicle multimodal reasoning tasks, characterized in that, include: Obtain the in-vehicle multimodal inference task, configure task association information for the task, and use the task association information to confirm the correspondence between input information, inference request, service context, asynchronous inference result and action to be executed; The system acquires the operating status of the in-vehicle AI service and processes the task based on the operating status. When the operating status does not meet the execution conditions of the task, the task is placed in a waiting set. After the operating status changes, the validity of the tasks in the waiting set is re-verified, and only tasks that still meet the timeliness requirements and have not been replaced are executed. Input data that has passed the input validity and privacy condition verification is sent to the first inference path to obtain the first inference result, and it is determined whether the first inference result meets the preset validity conditions. When the first reasoning result does not meet the preset validity condition, the second reasoning path is invoked to obtain the second reasoning result; When the first inference result and / or the second inference result are returned asynchronously, the associated information returned with the inference result is compared with the task associated information of the current task and the current service context to verify whether the asynchronous inference result is still valid; only the asynchronous inference result that passes the verification is used for subsequent processing. The valid fields in the first inference result are retained, and the missing or invalid fields in the first inference result are supplemented by the second inference result. The combined result is converted into an intermediate semantic representation, which at least carries task association information, semantic results, result availability and action constraints. Candidate cockpit actions are generated based on the intermediate semantic representation and vehicle context. The candidate cockpit actions are constrained according to the action allowance conditions and action risks. The target action is executed through the cockpit control interface after the candidate cockpit action meets the execution conditions.

2. The method according to claim 1, characterized in that, The step of processing the task according to the running state further includes: When the running state does not meet the execution conditions of the task and there is a possibility of recovery, the task is placed in the pending set, and the connection, initialization or capability recovery process of the in-vehicle artificial intelligence service is triggered or waited for. When the in-vehicle AI service cannot be restored within the allowed processing conditions or its target capability is unavailable, a downgrade process is performed, a prompt message is output, or the process is terminated; the downgrade process includes switching to an available non-visual capability and outputting a prompt message that vehicle control is not performed.

3. The method according to claim 1, characterized in that, The process of re-validating the tasks in the set to be processed includes: continuing to execute only tasks that still meet the timeliness requirements and have not been replaced by subsequent tasks; and marking tasks that have been replaced by subsequent tasks and are no longer necessary to execute as invalid.

4. The method according to claim 1, characterized in that, Before sending the input data, which has undergone input validity and privacy condition verification, to the first inference path, the process also includes: In production operation mode, image data is acquired from input sources that are permitted for use in real vehicle environments; The input validity verification includes: prioritizing the use of the current real-time image; when the current real-time image is unavailable, using the current scene image provided by the vehicle platform; when the current scene image is unavailable, determining whether there is a recently cached image that meets the preset validity conditions; if there is no input data that meets the preset validity conditions, stopping visual reasoning or switching to a degraded task that does not depend on visual input. The validity of the cached image is determined based on at least one of image timeliness and current scene continuity; the scene continuity is determined based on at least one of vehicle operating status, cabin occupancy, input channel, and task type.

5. The method according to claim 1, characterized in that, The privacy condition verification includes: before the input data enters the inference path, performing anonymization, occlusion, cropping or feature processing on preset sensitive areas or sensitive information in the input data; When the privacy processing is successful, subsequent inference is performed using the processed data; When the privacy processing fails: if the vehicle device has local inference capabilities that meet preset security conditions, the original data is only used for the current task in the local volatile storage area, is not uploaded or written to the persistent cache, and is released after the current task ends; if the security local processing conditions are not met, the visual inference path is stopped, and the device switches to a non-visual task or terminates the current task.

6. The method according to claim 1, characterized in that, The preset validity conditions include at least one of the following: Whether the inference result was successfully invoked; Whether the first reasoning result can be parsed; Does the semantics required for the task exist? Does the first inference result satisfy a preset format or logical constraints? Does the credibility of the first inference result meet the requirements of the current task? Does the first inference result conflict with the vehicle context in a way that is not allowed? 7. The method according to claim 1, characterized in that, The second reasoning path is implemented by a model with multimodal semantic understanding capabilities; The triggering condition for the second reasoning path is at least one of the following: call anomaly of the first reasoning result, parsing anomaly, missing necessary semantics, insufficient reliability of the result, or inconsistent context. The second inference pathway receives the input data allowed by the current task and the prompt information used to express the task objective, and outputs the second inference result.

8. The method according to claim 1, characterized in that, The step of retaining valid fields from the first inference result and supplementing the missing or invalid fields in the first inference result with the second inference result includes: Fields in the first reasoning result that have met the validity conditions are retained; Use the second reasoning result to supplement the missing or invalid fields in the first reasoning result; When the first inference result and the second inference result give different results for the same field, the target field value is determined based on at least one of result credibility, input source, vehicle context, mission objective and subsequent action risk. When a conflict cannot be reliably resolved under the current conditions, the corresponding field is marked as uncertain to prevent the field from directly triggering high-risk actions.

9. The method according to claim 1, characterized in that, The constraint on the candidate cockpit actions based on the action permission conditions and action risks includes at least one of the following: Actions that are not permitted under the current vehicle status are prohibited; Reduce the scope of actions that depend on uncertain fields or do not execute them; For actions that require user intervention, first output a confirmation request; Generate restricted control instructions for actions that can be safely and automatically executed; If no candidate action meets the execution conditions, only a prompt message will be output.

10. The method according to claim 1, characterized in that, After the candidate cockpit action meets the execution conditions and the target action is executed through the cockpit control interface, the following steps are also included: Before performing a temporary cockpit maneuver, record the environmental conditions associated with the temporary cockpit maneuver; After the temporary cockpit operation ends, the recorded environmental state is restored when the recovery conditions are met; If, during the execution of the temporary cockpit action, it is detected that the user has actively modified the relevant environmental state or that the current vehicle state has changed, then automatic recovery will be stopped.

11. A fault-tolerant orchestration and cockpit linkage system for vehicle-mounted multimodal reasoning tasks, characterized in that, include: The task management module is used to acquire in-vehicle multimodal reasoning tasks, configure task association information for the tasks, and perform temporary storage, merging, replacement, cancellation or invalidation processing on consecutively arriving tasks according to the task relationship. The service scheduling module, connected to the task management module, is used to receive the task from the task management module, obtain the running status of the in-vehicle artificial intelligence service, determine whether the running status meets the execution conditions of the task, and control the execution, waiting, downgrading or termination of the task according to the running status. The input management module, connected to the service scheduling module, is used to obtain input data from the allowed production data source in production operation mode when the task is allowed to be executed, and to verify the availability, timeliness and scenario continuity of the input data. A privacy processing module, connected to the input management module, is used to reduce sensitive information in the input data before inference, and to select local volatile processing, non-visual degradation, or termination of the visual task based on whether the security local processing conditions are met when privacy processing fails. The inference invocation module is connected to the privacy processing module and the service scheduling module, and is used to send the privacy-processed input data to the first inference path, and invoke the second inference path when the first inference result does not meet the preset validity conditions. The association verification module, connected to the inference call module, is used to receive the asynchronously returned inference results, compare the association information of the asynchronous inference results with the task association information of the current task and the current service context, and filter out asynchronous inference results that do not match the current task or the current service context. The semantic normalization and combination module, connected to the association verification module, is used to convert the inference result that has passed the association verification into an intermediate semantic representation, retain the valid fields in the first inference result, use the second inference result to supplement the missing fields, and perform constrained processing on conflicting fields. The action decision module, connected to the semantic normalization and combination module, is used to generate candidate cockpit actions based on the intermediate semantic representation, vehicle context and action constraints, and determine whether to execute automatically, request confirmation, reduce the action range or only output prompt information. The action execution module, connected to the action decision module, is used to send control commands to the cockpit equipment when the candidate cockpit action meets the execution conditions, and to restore the execution conditions according to the current environmental state after the temporary action ends.

12. An electronic device comprising a processor and a memory, wherein the memory stores a computer program, characterized in that, When the computer program is executed by the processor, it causes the electronic device to perform the method as described in any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 10.