Satellite-borne computing platform fdir fault-tolerant management system, method and computer storage medium

By decoupling the FDIR arbitration logic and service modules on a heterogeneous multi-core SoC platform, dynamic fault policy updates and fault handling for software-defined satellites are realized, solving the problem of coupling between arbitration logic and service modules in traditional FDIR schemes and improving the scalability and reliability of satellites.

CN123137979APending Publication Date: 2026-11-20YIXING LINGGUANG (SHANGHAI) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611159014.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-25
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Traditional FDIR schemes couple arbitration logic with service modules in software-defined satellites, making it difficult to meet dynamic expansion requirements. The strategies are fixed in the application code and need to be recompiled when changed. Furthermore, the on-orbit parameter adjustment and Handler registration processing mechanisms are inconsistent, resulting in insufficient fault handling capabilities.

Method used

The FDIR arbitration logic and business module fault handling strategy are decoupled using a heterogeneous multi-core SoC platform. Dynamic fault policy updates and fault handling are achieved through FDIR registration before business access, candidate policy snapshots, atomic activation, and fault transaction version binding.

Benefits of technology

It improves the scalability and reliability of software-defined satellites, avoids the cross-use of old and new strategies and Handler registration relationships, and ensures the integrity and consistency of fault handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123137979A_ABST
    Figure CN123137979A_ABST
Patent Text Reader

Abstract

The application discloses a satellite-borne computing platform FDIR fault-tolerant management system, which comprises a heterogeneous SoC, a bus interface, a reset and power controller and a satellite-ground link interface, the heterogeneous SoC comprises an A-core application domain and an R-core safety island, the A-core application domain is arranged with a service module, an A-core FDIR agent and a controlled service recovery module; and the R-core safety island is arranged with a module registration service, a dynamic policy table management module, a dynamic management table activation module, an FDIR arbitration module, a Handler management module, a recovery execution module, a log service and a storage service. The application further provides a method applied to the satellite-borne computing platform FDIR fault-tolerant management system and a computer storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of commercial aerospace, and in particular to a dynamic FDIR (Fault Detection, Isolation and Recovery) fault-tolerant management system, method and computer storage medium for software-defined satellites, on-board intelligent computing platforms and on-orbit reconfiguration systems. Background Technology

[0002] Commercial spaceflight is a crucial sector for cultivating new productive forces. It lowers the barriers to space exploration, drives the iteration of space technology, and spawns new industries such as satellite internet, space computing power, and on-orbit services. It deeply empowers sectors like agriculture, disaster prevention, and communications, becoming a new engine for global economic growth and a core force in building a spacefaring superpower. With a limited total amount of low-Earth orbit frequency resources, following a "first-come, first-served" rule, the world is scrambling to seize the commercial spaceflight market and aggressively acquiring orbital frequency resources. China is also accelerating its satellite network project, making commercial spaceflight a core arena for technological and strategic competition among nations.

[0003] Satellites operate in harsh environments. To address safety issues, many traditional onboard computers configure fault lists, thresholds, recovery actions, and mission scheduling logic before launch, with fault handling programs tightly coupled to specific service modules, payload drivers, or mission state machines. In software-defined satellites, onboard intelligent payloads, and heterogeneous multi-core SoC platforms, service modules may be updated in orbit, dynamically loaded, started, stopped, or migrated according to mission phases. Pre-built FDIR methods struggle to extend corresponding fault handling capabilities in a timely and complete manner. However, traditional FDIR schemes have at least the following shortcomings: arbitration logic is coupled with service modules, making it difficult to meet the dynamic on-orbit expansion requirements of software-defined satellites; policies are fixed in application code or mission scheduling tables, often requiring recompilation, remote reloading, or restarting of related programs when changes are made; existing on-orbit parameter adjustment, handler registration, or table lookup mechanisms are usually implemented separately, which may not guarantee that module registration, handler catalogs, and FDIR policies remain the same complete version during registration, switching, fault handling, and rollback.

[0004] The terms and meanings of this invention are explained as follows: FDIR: Fault Detection, Isolation and Recovery; SoC: System on Chip; A-core: A processor core designed for high-performance computing applications; R-core: A processor core designed for real-time control or security monitoring; EventID: Fault event code; ModuleID: Functional module code; Handler: An authorized recovery processing entry point, service number, or controlled call entry point bound to a fault event; CRC: Cyclic Redundancy Check; FcrID: Fault Isolation Domain Number; Strategy Generation: A version identifier used to associate the module registration table, Handler directory, and dynamic strategy table with the same consistent snapshot; The above content is only used to illustrate the relevant technical background in this field and does not constitute an admission of the prior art, nor does it constitute a limitation on the scope of protection of this invention. Summary of the Invention

[0005] The following description illustrates the contributions made by this invention.

[0006] To address the aforementioned issues, this invention provides a decoupling mechanism between FDIR arbitration logic and service module fault handling strategies for heterogeneous multi-core SoC onboard computing platforms. This mechanism prevents the FDIR arbitration main program from being frequently reconstructed in orbit as service modules change. Furthermore, it improves the scalability and reliability of software-defined satellites through FDIR registration before service access, candidate strategy snapshots, atomic activation, fault transaction version binding, and failure rollback.

[0007] A fault-tolerant management system for an onboard computing platform includes a System-on-a-Chip (SoC), a bus interface, a reset and power controller, and a space-to-ground link interface. The SoC is a heterogeneous SoC, comprising an A-core application domain and an R-core security island. The A-core application domain shall at least deploy a service module, an A-core FDIR agent, and a controlled service recovery module; wherein, the service module is used to add loads and execute bus agents, the A-core FDIR agent is used to receive registration requests, fault event reports, initialization commands, and perform normal task recovery, and the controlled service recovery module is used to restart processes, reload models, and return recovery results according to recovery commands; The R-core security island deploys at least the following modules: module registration service, dynamic policy table management module, dynamic management table activation module, FDIR arbitration module, Handler management module, recovery execution module, log service, and storage service. The module registration service is used to authenticate based on the A-core FDIR initialization registration request and assign ModuleID / EnventId. The system includes: generating candidate policy items; the dynamic policy table management module receiving candidate items, generating a candidate table, performing pre-verification, and atomic switching; the dynamic policy table activation module activating the corresponding candidate table according to the activation command, providing corresponding EventID, Handler, priority, timeout, and recovery actions; the FDIR arbitration module looking up the table in the dynamic policy table activation module based on the received fault event, handling conflicts, and restoring scheduling based on the result feedback; the Handler management module providing authorization entry, execution domain, and timeout constraints; the recovery execution module resetting, isolating, downgrading, or entering safe mode for controlled services according to the received execution command; the log service providing log read / write interfaces for each module of the R core security island to call its log read / write interface; and the storage service providing storage read / write interfaces for the dynamic policy table management module.

[0008] An initialization method for the above system includes the following steps: After the system is powered on, the R-core security island initializes the FDIR minimum operating environment before the business modules in the A-core application domain, including clock, watchdog, shared memory permissions, message mailbox, interrupt entry, log buffer, policy storage access and recovery execution interface; The policy storage module reads the main policy area and verifies the table-level CRC, item-level CRC, version number, and signature digest. After the policy table is loaded, the R-core security island initializes the ModuleID registration table, EventID registration table, Handler directory, fault isolation domain table, and ActivePolicyTable pointer; After the operating system of the A-core application domain starts, the A-core FDIR agent sends a basic registration handshake to the R-core security island to register the system basic modules.

[0009] Furthermore, when the primary policy area is invalid, the backup policy area is loaded; when both the primary and backup policies are invalid, the factory minimum policy area is loaded and the system enters a restricted safe operation mode.

[0010] A method for dynamically registering new modules in the above system includes the following steps: After the newly added functional module is started, it enters the INIT state and does not provide business services to the public yet; The module calls the FDIR_Register interface to submit the module descriptor, Handler descriptor, and default policy request. The A-core FDIR agent writes the registration request to the shared memory registration queue and notifies the R-core secure execution domain; The R-core security island module registration service performs identity authentication, signature verification, version compatibility check, resource conflict check, and permission check. Register the service to assign or confirm the ModuleID and EventID range, and write the verified Handlers to the Handler directory; The dynamic strategy table management module generates candidate strategy items based on the default strategy request; After the candidate table passes pre-verification, it is atomically activated, and the module state changes from REGISTERING to MONITOR; The registration service returns a registration confirmation, and the module begins periodically reporting heart rate and health status.

[0011] Furthermore, it also includes the following steps: if registration fails, the module remains in the INIT_FAILED or RESTRICTED state and must not enter business operation.

[0012] Furthermore, it also includes the following steps: when a module is deregistered, the policy item is set to Inactive or Deprecated, and the log retains the historical number mapping.

[0013] Furthermore, it also includes the step of: the logs being downloaded to the ground via telemetry.

[0014] A fault handling method applied to the above system includes the following steps: The health monitoring module detects heartbeat loss, threshold exceeding limits, bus timeout, CRC error, watchdog alarm, or Handler exception; The A-core proxy or R-core security island monitoring thread generates a FaultEvent containing EventID, ModuleID, LevelID, FaultType, Timestamp, and FcrID; FaultEvent enters the shared memory event queue, which is then read by the R core safety island via interrupt or periodic scan. The FDIR arbitration module parses the EventID and queries the current dynamic policy table; If no valid policy item is found, the default security policy is executed and unregistered events are logged; If a policy item is matched, arbitration is performed based on Priority, ConflictMask, FcrID, and system mode. The Handler management module calls the corresponding recovery Handler, and the recovery execution module starts timeout monitoring; Once the recovery is complete, the arbitration module verifies the heartbeat, status variables, or hardware feedback to confirm the recovery result.

[0015] Furthermore, it also includes the following steps: if recovery fails, then escalate to retry, reset, isolation, downgrade, or safe mode according to the RetryPolicy.

[0016] Furthermore, the method also includes the following steps: the log module records events, policy versions, handlers, recovery results, and time consumption, and downloads them to the ground via telemetry.

[0017] A ground-based overload strategy hot update method applied to the above system includes the following steps: The satellite-to-ground management interface receives policy update packets uploaded from the ground, and the A core is only responsible for caching and forwarding. The R-core security island verifies packet integrity, CRC, signature, version monotonicity, and policy packet origin; The dynamic strategy table management module constructs a candidate strategy table in the shadow buffer. Perform pre-validation on the candidate table, including EventID uniqueness, ModuleID validity, Handler entry validity, permission level, Timeout range, RecoveryAction validity, ConflictMask consistency, and rollback path; If the pre-validation fails, the update will be rejected and the currently active table will be retained; If the pre-verification passes, wait for the switchable window and atomically switch the ActivePolicyTable using a double-buffered pointer, version flag, or equivalent mechanism; When a new table enters the observation window, the system continuously monitors the policy CRC, Handler execution results, and abnormal resets. Once the observation window is approved, the new table will be fixed as a stable version.

[0018] Furthermore, it also includes the step of: if the observation window fails, rolling back to the previous stable table and disabling the failed version.

[0019] Furthermore, it also includes the step of downloading the logs to the ground via telemetry.

[0020] The present invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in any of the preceding claims.

[0021] This invention automatically expands the policy snapshot when a module accesses the FDIR system without modifying the main arbitration program; it avoids cross-use of old and new policies, Handlers, and module registration relationships when policy updates and fault handling occur concurrently. This separates the FDIR policy from the business code, handling on-orbit faults through a dynamic fault policy table. The FDIR arbitration module is responsible for event parsing, table lookup, conflict arbitration, and recovery scheduling; specific recovery relationships are represented by verifiable and rollbackable policy snapshots. This invention dynamically updates the fault handling policy for newly loaded services; updates can be triggered by ground uploads or by module initialization registration. The module registration table, Handler directory, and dynamic policy table use the same policy generation number to form a consistent snapshot. After construction and pre-verification in the inactive buffer, they atomically take effect through a single effective root pointer, generation commit flag, or equivalent mechanism.

[0022] Other features and advantages of the invention will become more apparent from the following more detailed description, taken in conjunction with the accompanying drawings, which illustrate the advantages of the invention by way of example. Attached Figure Description

[0023] Figure 1 This is a system architecture diagram of an FDIR fault-tolerant management system for a spaceborne computing platform according to one embodiment of the present invention; Figure 2 This is a flowchart illustrating the initialization method of an FDIR fault-tolerant management system applied to a spaceborne computing platform according to one embodiment of the present invention. Figure 3 This is a flowchart illustrating the dynamic registration process of a new module in an FDIR fault-tolerant management system applied to a spaceborne computing platform, according to one embodiment of the present invention. Figure 4 This is a flowchart illustrating the fault handling method of an FDIR fault-tolerant management system applied to a spaceborne computing platform according to one embodiment of the present invention; and Figure 5 This is a flowchart illustrating a ground-based upload strategy hot update method for an FDIR fault-tolerant management system applied to a spaceborne computing platform, according to one embodiment of the present invention. Detailed Implementation

[0024] The accompanying drawings illustrate the invention. Various embodiments are disclosed herein. Numerous specific details are set forth in the following description to provide a more thorough understanding of the invention. However, those skilled in the art will recognize that the technical content described herein can be practiced without one or more specific details, or other methods, components, materials, etc. In other examples, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring specific content.

[0025] This embodiment is based on a heterogeneous multi-core SoC on-board intelligent computing platform, describing the system's FDIR arbitration and policy decoupling, policy table annotation, dynamic module registration, and fault handling processes. The operating system and security level information mentioned are determined based on actual verification results and are only used to illustrate the engineering deployment method, and do not constitute a necessary limitation on the scope of protection of this invention.

[0026] Please refer to Figure 1 The present invention relates to a spaceborne computing platform FDIR fault-tolerant management system based on a heterogeneous multi-core SoC, comprising a heterogeneous SoC 100, a bus interface 200, a reset / power controller 300, and a space-to-ground link interface 400. The heterogeneous SoC 100 includes an A-core application domain 110 and an R-core security island 120.

[0027] In one embodiment, the A-core application domain 110 runs a real-time Linux operating system. Further, the A-core application domain 110 deploys a service module 111, an A-core FDIR agent 112, and a controlled service recovery module 113. The service module 111 is used to add loads and execute bus agents, etc. The A-core FDIR agent 112 is used to receive registration requests, receive fault event reports, initialize commands, and perform normal task recovery, etc. The controlled service recovery module 113 is used to restart processes, reload models, and return recovery results according to recovery commands.

[0028] The R-core security island 120 constitutes a relatively independent FDIR security execution domain. In one embodiment, the R-core security island 120 runs the real-time operating system FreeRTOS. Further, the R-core security island 120 deploys a module registration service 121, a dynamic policy table management module 122, an activated dynamic management table module 123, an FDIR arbitration module 124, a Handler management module 125, a recovery execution module 126, a log service 127, and a storage service 128. The module registration service 121 is used to authenticate based on the initial registration request of the A-core FDIR 112 and assign a ModuleID / EnventId. The system includes: generating candidate policy items; receiving candidate items, generating a candidate table, performing pre-verification and atomic switching; activating the dynamic policy table module 123 to activate the corresponding candidate table according to the activation command, providing corresponding EventID, Handler, priority, timeout, recovery actions, etc.; FDIR arbitration module 124 to look up the table in the dynamic policy table activation module according to the received fault event, perform conflict handling, and restore scheduling based on the result feedback, etc.; Handler management module 125 to provide authorization entry, execution domain, and timeout constraints, etc.; recovery execution module 126 to reset, isolate, downgrade, or enter safe mode for controlled services according to the received execution command, etc.; log service 127 to provide log read / write interface for each module of the R core security island to call its log read / write interface; storage service 128 to provide storage read / write interface for the dynamic policy table management module 122.

[0029] The heterogeneous SoC 100 provides basic capabilities such as application processing cores, real-time / security cores, configurable locksteps, on-chip storage with ECC, secure interrupts, watchdog timers, IPC or message mailboxes, MPU / MMU, and firewalls. This invention implements dynamic registration, versioned policy snapshots, atomic activation, and recovery loops on top of these basic capabilities. The bus interface 200 can be CAN, RS422, or SpaceWaire; the reset / power controller 300 is used for module reset or power domain isolation; and the space-to-ground link interface 400 is used for telemetry or remote control.

[0030] Please continue to refer to this. Figure 1 and Figure 2The initialization process of the FDIR fault-tolerant management system of this invention includes inputs such as reset reason, startup mode, primary policy area, backup policy area, factory minimum policy area, historical ModuleID / EventID allocation records, basic module list, and inter-core communication resources; outputs include the current effective policy generation, ModuleID / EventID registration table, Handler directory, health monitoring parameters, inter-core communication channel, basic module registration results, and business operation license. The status transitions sequentially from RESET, BOOTSTRAP, POLICY_VERIFY, POLICY_ACTIVE, to SERVICE_READY, and enters the LIMITED_SAFE state upon failure. The specific process includes the following steps.

[0031] S201: After the system powers on, the R core security island initializes the FDIR minimum operating environment before the A core service module, including clock, watchdog, shared memory permissions, message mailbox, interrupt entry, log buffer, policy storage access, and resumption execution interface.

[0032] In one implementation, in response to a power-on reset, watchdog reset, or software reset, the FDIR boot task in the R core security island starts before the A core service module obtains service operation permission. It reads the reset reason and boot mode, and sets the FDIR system state to BOOTSTRAP. During this phase, the service output of non-basic service modules remains disabled or isolated, with only policy storage access, boot logs, inter-core communication initialization, and minimal recovery interfaces open to avoid creating a fault-free operating window before policies are ready.

[0033] Furthermore, the R-core security island initializes the monotonic time base, watchdog service interface, exception and security interrupt entry points, log buffer, recovery command interface, and shared memory, IPC, or message mailbox. For shared queues, it initializes the queue header identifier, protocol version, read / write sequence number, capacity, message verification, and access permissions, and clears or isolates unacknowledged messages left over from the previous reset. For hardware channels that support message ECC, bus parity checking, or acknowledgment timeout, it enables and verifies the corresponding protection mechanisms. If the communication area format, permissions, or verification do not meet the preset conditions, the A-core service module is prohibited from entering the running state, and the initialization fault is recorded.

[0034] Furthermore, the R core enables or verifies, according to the platform's security configuration, the necessary mechanisms such as processor lockstep, MPU / MMU, firewall, storage ECC, watchdog, security interrupt convergence, and external error indication. Critical writes to security-related registers are read-back after write, and units capable of performing self-tests complete self-tests and record the results during permitted startup phases; security mechanisms that are not configured, disabled by default, or have inconsistent readbacks must not be considered effective solely due to their hardware presence.

[0035] Step S202: The policy storage module reads the main policy area and verifies the table-level CRC, item-level CRC, version number, and signature digest; if the main policy area is invalid, the backup policy area is loaded; if both the main and backup policies are invalid, the factory minimum policy area is loaded and the restricted security operation mode is entered.

[0036] In one implementation, the policy storage module sequentially reads the primary policy area, the backup policy area, and the factory minimum policy area. For each policy image, it verifies the header identifier, data structure version, policy version, number of entries, table-level CRC, and entry-level CRC. In implementations with trusted verification, it also verifies authorization information or signature digests. If the primary policy image verification fails, a valid backup image is selected; if both the primary and backup images are invalid, the factory minimum policy is selected; if the factory minimum policy also cannot be verified, a restricted security state is entered, and no operating licenses are issued to non-basic business modules.

[0037] Furthermore, a cross-object consistency check is performed on the selected policy, including whether the EventID is unique, whether the ModuleID exists, whether the Handler referenced by each valid policy item is resolvable, whether the Handler execution domain and permissions match, whether the fault isolation domain is valid, whether the recovery action has a valid target, and whether the rollback path exists. Policy images that fail the verification are not allowed to enter the effective state, and the next policy image is tried according to the aforementioned priority order.

[0038] Furthermore, the R-core security island restores the ModuleID and EventID allocation high-water mark based on the effective policy mirror, historical number allocation records, and numbering log, setting the next allocatable number to a successor value no less than the historical maximum value. Historical numbers involved in module deregistration, registration failure, or policy rollback are marked as Deprecated, Abandoned, or equivalent unallocatable states and are not immediately reused; if the numbering log is corrupted and the historical high-water mark cannot be determined, the dynamic numbering allocation function is disabled, and only the basic policy that can be clearly identified is run to avoid numbering ambiguity in historical telemetry and rollback policies.

[0039] Step S203: After the policy table is loaded, the R core security island initializes the ModuleID registration table, EventID registration table, Handler directory, fault isolation domain table, and ActivePolicyTable pointer.

[0040] In one implementation, an initialization candidate generation is established in an inactive buffer. This candidate generation includes at least a ModuleID / EventID registry, a Handler directory, a fault isolation domain table, and a dynamic policy table, with each object written with the same generation number and mutual reference information. The candidate generation is invisible to the FDIR arbitration module during its construction, and the current minimum safe recovery path remains available.

[0041] Furthermore, after a candidate generation passes verification, the R-core security island, within the critical section, uses a double-buffered root pointer switch, indivisible generation flag update, or equivalent mechanism to make the registration table, Handler directory, and dynamic policy table a consistent snapshot, and writes it to the effective commit record. If a reset occurs before commit, uncommitted candidate generations are discarded upon restart; if the commit has already been completed, the generation is reconfirmed according to the commit record and CRC, so that the initialization result only shows two states: "old generation valid" or "new generation valid".

[0042] Furthermore, after the current strategy generation takes effect, the health monitoring module configures the heartbeat cycle, timeout threshold, status quantity sampling rules, and fault confirmation window according to the strategy table, and starts the FDIR arbitration task and recovery execution task. Before the watchdog enters the controlled monitoring state, a start grace period is set. It only switches to normal monitoring parameters after the FDIR critical task has completed its self-check and can run on schedule, in order to reduce the risk of accidental reset during the startup phase.

[0043] Step S204: After the A-core Linux boots, the A-core FDIR agent sends a basic registration handshake to the R-core security island to register the system's basic modules.

[0044] In one implementation, after the A-core application domain starts, the A-core FDIR agent and the R-core security island perform a basic handshake, exchanging protocol versions, startup generations, and communication queue states. Subsequently, basic modules such as task management, storage agent, bus agent, and telemetry service are registered one by one according to the new module registration process. Only after a basic module has successfully registered and completed at least one valid health status report will the R-core security island issue the corresponding service operation license.

[0045] Furthermore, after initialization, the log telemetry module records the reset reason, the selected policy partition, the current policy version and generation number, the reason for invalid mirroring, the high-water mark number, the registration result of the basic module, and the initialization time. If any step times out or fails, the system maintains the currently effective minimum security policy, prohibits the operation of business modules that have not completed registration, and enters a restricted security state or awaits ground handling.

[0046] Therefore, the atomicity constraints during the initialization phase are as follows: the candidate registration table, candidate Handler directory, and candidate strategy table cannot be used by the arbitration module before submission, and a single generational root pointer or equivalent submission flag is used for switching upon activation. The initialization completion criteria are: the current strategy is generationally valid, the FDIR critical task self-check passes, basic core communication is available, and the necessary basic modules complete registration and initial health confirmation.

[0047] Please refer to Figure 3The inputs to the dynamic registration process for newly added modules in this invention include a registration request identifier (RequestID), module descriptor, handler descriptor, default policy application, authentication information, resource declaration, software version, and fault isolation domain. The outputs include ModuleID, EventID range, policy generation number, registration status, heartbeat parameters, and service operation permission, or a rejection result with a reason code. The status transitions sequentially from INIT, REGISTERING, REGISTERED, to MONITOR, and upon failure, it enters the REGISTER_FAILED or RESTRICTED status. After the satellite receives the newly added payload module in orbit, it executes the following dynamic registration process steps.

[0048] Step S301: After the newly added functional module is started, it enters the INIT (initialization) state and does not provide business services to the outside world.

[0049] In one implementation, the newly added functional module enters the INIT state after being loaded in the A-core application domain or other business execution domain. This module can complete its own code and configuration initialization, but it must not perform irreversible business actions to the outside world or directly access the high-privilege recovery control interface before FDIR registration is completed.

[0050] Step S302: The module calls the FDIR_Register interface to submit the module descriptor, Handler descriptor, and default policy request.

[0051] In one implementation, the module generates a registration request with a unique RequestID and calls the FDIR_Register interface to submit a module descriptor, a Handler descriptor, and a default policy request. The module descriptor declares at least the module category, software version, requested ModuleID or auto-assignment flag, number of events or EventID range, heartbeat cycle, observable state variables, fault isolation domain, resource usage, and permission level; the default policy request declares the fault level, recovery action, timeout, retry, and escalation conditions.

[0052] Step S303: The A core FDIR agent writes the registration request to the shared memory registration queue and notifies the R core secure execution domain.

[0053] In one implementation, the A-core FDIR agent performs length, structure version, descriptor CRC, and source consistency checks on registration messages. Messages that pass the basic checks, along with their reception time and queue sequence number, are written to the registration request queue. The R-core registration service is then activated via interrupt, message mailbox, or equivalent notification. The A-core FDIR agent is only responsible for encapsulation and forwarding and does not have permission to directly modify the effective policy table or Handler directory.

[0054] Step S304: The R-core security island module registration service performs identity authentication, signature verification, version compatibility check, resource conflict check, and permission check.

[0055] In one implementation, the R-core registration service performs idempotency checks based on the RequestID. If the same RequestID arrives repeatedly with identical content, the original registration processing status or historical result is returned, and no new number is assigned; if the same RequestID corresponds to different content, the request is rejected and a protocol exception is recorded to avoid duplicate registration due to link retransmission.

[0056] Furthermore, the R-core registration service performs identity and permission verification, descriptor integrity verification, software and interface version compatibility checks, heartbeat and timeout parameter range checks, and resource declaration and fault isolation domain consistency checks on requests. If any check fails, a corresponding reason code is returned, the module remains INIT or enters the REGISTER_FAILED state, and the currently effective policy remains unchanged across generations.

[0057] Step S305: Register the service allocation or confirm the ModuleID and EventID range, and write the verified Handlers to the Handler directory.

[0058] In one implementation, for requests that pass the aforementioned checks, the numbering management module allocates or confirms the ModuleID and EventID ranges upwards from the persistent high-water mark, and first writes a "reserved, not yet effective" number record. During the allocation process, it checks whether the number conflicts with the currently effective generation, the rollback generation, historical logs, and other in-transit registration transactions; once a number is reserved, even if subsequent registration fails, it is marked as Abandoned or Deprecated and not reassigned to other modules.

[0059] Furthermore, the Handler management module verifies each Handler descriptor, including the Handler service number or entry point identifier, execution domain, calling permissions, maximum execution time, required resources, supported recovery actions, and verification information. For Handlers located in the A-core business domain, the R-core preferentially registers authorized service numbers, IPC endpoints, or controlled call entry points, rather than directly trusting arbitrary addresses submitted by the business module; high-privilege actions involving reset, isolation, power, or safe mode are still executed by the R-core security island or controlled hardware interfaces.

[0060] Step S306: The dynamic strategy table management module generates candidate strategy items based on the default strategy.

[0061] In one implementation, the dynamic policy table management module establishes registration candidate generations in the inactive buffer based on the currently effective generation. It simultaneously writes the new module registration item, the Handler directory item, and the default policy item, assigning them the same generation number. Candidate policy items are in the CANDIDATE state and do not participate in fault event lookup and recovery scheduling until verification is completed and the changes are submitted.

[0062] Step S307: The candidate table is atomically activated after passing the pre-verification.

[0063] In one implementation, the R-core security island performs cross-table pre-verification on candidate generations, confirming at least that each EventID corresponds to only one valid policy item, each policy item references a ModuleID and a Handler that both exist, the Handler's execution privileges are not lower than the recovery action requirements, the FcrID is consistent with the resource declaration, the timeout and retry parameters are within the allowed range, there are no obvious contradictions in ConflictMask, and the upgrade or default path after recovery failure is reachable. If pre-verification fails, the candidate generation is discarded, but the historical state of the assigned number and the reason for failure are retained.

[0064] Furthermore, after the pre-verification passes, the registration service waits for a switch window where there are no uninterruptible high-priority recovery actions and no other commit transaction. It then employs a single generational root pointer, double-buffered pointers, or an equivalent commit mechanism, while simultaneously activating the module registration table, Handler directory, and dynamic policy table. No component can be committed until it has been completely written, thus preventing half-registration of modules, Handlers, and policies.

[0065] Step S308: The module status changes from REGISTERING to MONITOR, the registration service returns registration confirmation, and the module begins periodically reporting heartbeat and health status.

[0066] In one implementation, after a successful atomic submission, the R core module's status changes from REGISTERING to REGISTERED, and a registration confirmation is returned to the module. The confirmation information includes at least the assigned ModuleID, EventID range, effective policy generation, heartbeat cycle, first heartbeat deadline, and business operation conditions. Upon receiving the confirmation, the module begins reporting its heartbeat and health status; after the R core verifies that the first heartbeat matches the registration information, the module transitions to the MONITOR state and obtains business operation permission.

[0067] Step S309: If registration fails, the module remains in the INIT_FAILED or RESTRICTED state and must not enter business operation.

[0068] In one implementation, if a module fails to report its first valid heartbeat within the specified startup window, or if the reported software version, ModuleID, and registration confirmation are inconsistent, a startup failure event after registration is generated, the module is kept in the RESTRICTED or INACTIVE state, and the corresponding policy item is disabled through the same candidate generation and atomic commit method; the assigned ModuleID and EventID retain their historical mapping.

[0069] Step S310: When a module is deregistered, the policy item is set to Inactive or Deprecated, and the log retains the historical number mapping.

[0070] In one implementation, when a module is actively deregistered, unloaded, or permanently isolated, the registration service first stops dispatching new recovery calls to it, waits for the ongoing completeable transaction to finish or be safely aborted, and then marks the module, Handler, and policy item as Inactive or Deprecated in the new candidate generation and commits them atomically. Historical IDs, versions, and log mappings are retained to support telemetry diagnostics and policy rollback.

[0071] Step S311: The log is downloaded to the ground via telemetry.

[0072] In one implementation, the log telemetry module records the RequestID, descriptor digest, authentication and pre-verification results, number assignment, policy generation, first heartbeat, and reasons for service access or rejection, forming a downloadable registration audit record. The completion criteria for the registration process are that the same generation module has registered, the Handler directory and policy items have taken effect, and the module has received confirmation and completed the first health report.

[0073] Therefore, the atomicity constraint during the registration phase is: registration does not modify the three activity tables sequentially, but rather commits once after generating a snapshot of the same generation in the inactive area; in case of failure, the currently effective generation remains unchanged. Idempotent handling of RequestIDs and the non-reuse of numbering ensure consistency even in scenarios involving link retransmission, registration failure, and historical rollback.

[0074] Please refer to Figure 1 System overall architecture diagram and Figure 4The fault handling process of the FDIR fault-tolerant management system of this invention includes the following inputs: FaultEvent, current effective policy generation, system operating mode, fault isolation domain status, in-transit recovery transactions, and health status quantities; the outputs include RecoveryCommand, recovery result, module or platform status, upgrade event, logs, and telemetry summary. The status transitions sequentially through MONITOR, EVENT_PENDING, LOOKUP, ARBITRATE, DISPATCH, WAIT_RESULT, and VERIFY_RECOVERY, ultimately returning to MONITOR, or entering ESCALATE or SAFE_MODE. The specific fault handling process executes the following steps.

[0075] Step S401: The health monitoring module detects heartbeat loss, threshold exceeding the limit, bus timeout, CRC error, watchdog alarm, or Handler exception.

[0076] In one implementation, the health monitoring module responds to heartbeat loss, threshold exceeding limits, bus timeout, data verification errors, watchdog alarms, abnormal task exits, or Handler exceptions, collecting fault sources, detection times, relevant status variables, and hardware or software error information. Hardware security mechanism faults in heterogeneous SoCs can be aggregated via subsystem interrupts and sent to the security interrupt controller, where the R core reads the corresponding status registers and classifies them; if necessary, external power management or redundancy units can also be connected via external error indicators.

[0077] Furthermore, for faults requiring continuous confirmation, the health monitoring module performs debouncing according to the number of confirmations or time windows set by the strategy; for high-level hardware faults requiring immediate response, the waiting process is skipped and events are generated directly. The confirmation process retains original evidence and does not use debouncing as a pretext to shield security events that should be handled immediately.

[0078] Step S402: The A-core agent or the R-core security island monitoring thread generates a FaultEvent containing EventID, ModuleID, LevelID, FaultType, Timestamp, and FcrID.

[0079] In one implementation, the A-core FDIR agent or the R-core monitoring task normalizes the detection results into FaultEvents. A FaultEvent includes at least EventID, ModuleID, LevelID, FaultType, Timestamp, and FcrID, and may include an event sequence number, evidence digest, and event CRC. The generator writes the event to the event queue and updates the write sequence number; the R-core security island reads the event via interrupt or periodic scan.

[0080] Step S403: The FaultEvent enters the shared memory event queue, and the R core security island reads it through interrupts or periodic scans.

[0081] In one implementation, R checks the event execution format, length, event CRC, source permissions, number range, and queue sequence number. For duplicate events with identical content, they can be merged and their occurrence counts accumulated according to a strategy; for expired, corrupted, or illegitimate events, the business Handler is not directly invoked, but a communication integrity or unregistered event is generated and handled by the minimum security policy.

[0082] Step S404: The FDIR arbitration module parses the EventID and queries the current dynamic policy table.

[0083] In one implementation, when the FDIR arbitration module retrieves a legitimate event from the queue, it reads and fixes the currently effective policy generation number and the corresponding root pointer, forming a read-only policy snapshot of the failed transaction. Even if a module registration or policy hot update occurs subsequently, the transaction will still use the policy items and Handler directory in the same generation before it ends, and will not mix different versions during processing.

[0084] Step 405: If no valid policy item is found, execute the default security policy and record the unregistered event.

[0085] In one implementation, the arbitration module locates the policy item in the fixed policy snapshot based on the EventID and verifies the ValidFlag, item-level CRC, ModuleID, FcrID, and Handler reference. If no valid policy item is found, the default safety action specified by the factory minimum policy or the current stable policy is invoked and an unregistered event is recorded; if the policy item CRC or cross-table reference is abnormal, the execution of that item is stopped, a policy integrity fault is generated, and policy rollback or restricted security processing is triggered.

[0086] Step S406: If a policy item is hit, arbitration is performed based on Priority, ConflictMask, FcrID, and system mode.

[0087] In one implementation, for the matched policy item, the arbitration module performs deterministic arbitration by combining LevelID, Priority, FcrID, ConflictMask, current system mode, and in-transit recovery transactions. Mutually exclusive recovery actions within the same fault isolation domain are executed serially; actions in different fault isolation domains without resource conflicts can be executed in parallel. When multiple events have the same priority, they can be deterministically ordered according to fault level, timestamp, event sequence number, and EventID.

[0088] Furthermore, after arbitration is successful, the R core establishes a RecoveryTransaction, recording the transaction number, FaultEvent, policy generation, Handler identifier, timeout, retry budget, expected recovery postconditions, and fault isolation domain, and updates the module status from FAULT_PENDING to RECOVERING. At most one recovery transaction changing the running state of the same fault isolation domain can exist at any given time; the transaction status and recovery command sequence number are recorded before issuance.

[0089] Step S407: The Handler management module calls the corresponding recovery Handler, and the recovery execution module starts timeout monitoring.

[0090] In one implementation, the Handler management module executes domain-distributed recovery commands based on the Handler. The R core's local security service or hardware recovery interface is directly invoked by the R core; actions such as restarting business tasks and reloading configurations on the A core are invoked via the A core FDIR proxy using messages with transaction numbers and command sequence numbers. The recovery execution module simultaneously initiates monotonic time-base timeout monitoring; if the same command sequence number is received repeatedly, it returns to the existing processing state to avoid repeated execution of non-idempotent recovery actions due to link retransmission.

[0091] Furthermore, the Handler return only serves as evidence that the recovery action has been completed. The arbitration module also independently verifies the recovery result based on the post-conditions specified in the policy item. These post-conditions may include heartbeat recovery, state variables returning to the allowable range, error interruption clearing, valid hardware feedback, successful data verification, and no recurrence of the same fault within the verification window. Recovery is considered successful only when both the action return result and the post-conditions are met.

[0092] Step S408: After recovery is complete, the arbitration module verifies the heartbeat, status variables, or hardware feedback to confirm the recovery result.

[0093] In one implementation, upon successful recovery, the R core commits the transaction results, releases the execution lock of the fault isolation domain, updates the module health baseline and fault count, and returns the module to the MONITOR or the DEGRADED state specified by the policy. The log records the EventID used, the policy generation, the Handler, the recovery duration, and the verification results.

[0094] Step S409: If recovery fails, escalate to retry, reset, isolate, downgrade, or safe mode using RetryPolicy.

[0095] In one implementation, when the Handler rejects, times out, returns failure, or the postcondition is not met, the arbitration module deducts the retry budget according to the RetryPolicy in the same policy generation, and sequentially executes the recovery chain, including retry, task restart, module reset, primary / standby switchover, isolation, degradation, or safe mode. Each level of recovery action generates a new sub-transaction and an independent timeout record; when the escalation condition is met, a failure event with a higher LevelID is generated to prevent infinite retry loops at a single module level.

[0096] Furthermore, when a higher priority event arrives during recovery execution, the arbitration module decides whether to preempt or queue based on ConflictMask and whether the current action allows safe aborting; actions that cannot be safely aborted continue to complete, and newly added events remain EVENT_PENDING and can trigger fault level escalation. If the Handler itself is abnormal, further calls to that Handler are prohibited, and the process switches to a backup Handler, the default safety policy, or a higher-level recovery path.

[0097] Furthermore, when the event queue overflows, the arbitration task times out, or the policy table cannot be read, the R-core security island generates an FDIR infrastructure failure and prioritizes the lowest security recovery path that does not rely on dynamic policies of the business domain. Finally, the original event information, arbitration basis, policy generation, recovery command, each retry, verification result, and final status are written to the audit log and a telemetry summary is formed.

[0098] Step S410: The log module records events, policy versions, handlers, recovery results, and time consumption, and downloads them to the ground via telemetry.

[0099] Therefore, the atomicity constraints of the fault handling phase are: each fault transaction has a fixed policy generation; state changes within the same fault isolation domain are committed serially by recovery transactions; and recovery commands have transaction numbers and idempotent sequence numbers. The criterion for fault handling completion is not merely receiving a successful return from the Handler, but rather that the corresponding recovery postconditions are met within a specified verification window.

[0100] Please refer to Figure 5The inputs to the ground-based on-the-ground strategy hot update process of the FDIR fault-tolerant management system of this invention include the sub-packaged strategy update package, BaseVersion, TargetVersion, strategy item or incremental content, authorization information, checksum, applicable operating mode, rollback target, and observation criteria; the outputs include the newly effective strategy generation and confirmation information, or rejection, postponement, rollback results, and failure reasons. The status changes sequentially from ACTIVE, CANDIDATE, PRECHECKED, SWITCHING, OBSERVING, to STABLE, and upon failure, it enters the ROLLBACK or DISABLED status. The specific steps of the ground-based on-the-ground strategy hot update process are as follows.

[0101] Step S501: The satellite-to-ground management interface receives policy update packets uploaded from the ground. Core A is only responsible for caching and forwarding.

[0102] In one implementation, the ground generates a policy update package based on the target mission phase. The update package includes at least a package identifier, structure version, BaseVersion, TargetVersion, full or incremental update flag, total number of sub-packages, policy data, overall CRC, applicable system mode, activation conditions, rollback targets, and observation window criteria; in implementations configuring trusted updates, source authentication information or digital signatures are also included.

[0103] Furthermore, after receiving packets, the satellite-to-ground management interface writes them into a temporary update area according to the packet identifier, packet sequence number, and packet CRC, and maintains the receive bitmap. Duplicate packets are not written again after verification; if a packet is missing, a retransmission is requested or the process remains inactive; if the packet is still incomplete after the reception time limit, the update is marked as a reception failure. During the reception process, the currently effective policy table remains read-only and continues to process fault events.

[0104] Step S502: The R-core security island verifies the packet integrity, CRC, signature, version monotonicity, and policy packet origin.

[0105] In one implementation, after all packets are received, the R-core security island reassembles the packets and verifies the total length, overall CRC, data structure version, packet source, authentication information, TargetVersion monotonicity, and anti-replay information. For incremental updates, it is also confirmed that the BaseVersion is consistent with the current stable version being fitted; if any verification fails, the update is rejected, temporary data is isolated or deleted, and the currently effective policy remains unchanged across generations.

[0106] Step S3: The dynamic policy table management module constructs a candidate policy table in the shadow buffer.

[0107] In one implementation, the dynamic policy table management module takes a confirmed base version as input and constructs a candidate policy table in an inactive buffer protected by R core access control and storage checksum. A full update directly forms the complete candidate table; an incremental update first copies the base version and then merges newly added, modified, or invalid entries by EventID. After construction, the table-level CRC and item-level CRC are recalculated, and the candidate table is marked as CANDIDATE, preventing the arbitration module from reading it at this stage.

[0108] Step S504: Perform pre-validation on the candidate table, including EventID uniqueness, ModuleID validity, Handler entry validity, permission level, Timeout range, RecoveryAction validity, ConflictMask consistency, and rollback path.

[0109] In one implementation, R checks the candidate table to perform structure and field validation, including ensuring that the EventID is unique and not illegally reused, that the ModuleID is registered, that the field length and number are within limits, that Priority and Timeout are within the allowed range, that RecoveryAction and RetryPolicy are valid, that the ConflictMask relationship is consistent, that the ValidFlag status is identifiable, and that the policy version and time information are valid.

[0110] Furthermore, cross-object validation is then performed to confirm that the Handler referenced by each valid policy item exists in the corresponding Handler directory generation, that the execution domain, permissions, and resource declarations match the recovery action, that the FcrID matches the module registration, that the recovery chain has a termination or upgrade path, and that the default security items and rollback targets are available. If the update package contains both Handler or module registration changes, a corresponding Handler directory and registration table are created in the same candidate generation; submitting only a part of it is prohibited.

[0111] Step S505: If the pre-verification passes, wait for the switchable window and atomically switch the ActivePolicyTable using a double-buffered pointer, version flag, or equivalent mechanism. If the pre-verification fails, reject the update and retain the currently active table.

[0112] In one implementation, after pre-verification passes, the candidate generation enters the PRECHECKED state. The R core can use preset test event vectors to perform static drills on the EventID index, Handler resolution, conflict arbitration, and upgrade path without triggering actual resets or power actions. If a table lookup hole, loop upgrade, unauthorized recovery, or unresolvable Handler occurs, the candidate version becomes DISABLED, and the currently effective version continues to run.

[0113] Furthermore, the R core waits for a policy switching window. This switching window must satisfy at least the following conditions: there are no uninterruptible high-priority recovery transactions, there is no other registration or update commit transaction, and all candidate tables have been written and passed verification. If no switching window appears within the maximum waiting time, the update will remain in a pending state or the activation will be rejected without forcibly interrupting critical recovery actions.

[0114] Furthermore, after the switching conditions are met, the R core writes the preparation flag of the candidate generation within the critical section. Through double-buffered root pointers, indivisible generation number updates, or equivalent mechanisms, it switches the strategy table, its associated Handler directory, and module registration table to the new effective generation in one go, and writes the commit flag. The switching action does not overwrite the current table item by item, so the external observation result is only that the old generation is effective or the new generation is effective; there is no state where some table entries have been updated.

[0115] Furthermore, for FaultEvents that have already begun processing during the switchover, their previously fixed old strategy generation will continue to be used until the recovery transaction ends; newly retrieved FaultEvents after the switchover will use the new strategy generation. The old generation remains read-only as long as there are still in-transit transactions referencing it, and continues to be retained as the previous stable rollback version after the reference is released.

[0116] Step S506: The new table enters the observation window, and the system continuously monitors the policy CRC, Handler execution results, and exception resets.

[0117] In one implementation, the newly effective generation enters the OBSERVING state. Within a preset observation window, the system continuously checks indicators such as the policy table CRC, the number of table lookup misses, Handler parsing errors, recovery timeouts, recovery postcondition failures, abnormal resets, and event queue backlog. Observation criteria and thresholds are defined by the update package or existing stable policies; the previous stable version must not be overwritten during the observation period.

[0118] Step S507: After the observation window passes, the new table is solidified as a stable version; if the observation window fails, roll back to the previous stable table and disable the failed version.

[0119] In one implementation, after observation is successful, the new generation is marked as STABLE, and the policy data, CRC, version, and commit record are written to the target inactive storage partition before readback verification is performed; the previous stable version is retained until the new stable version is fully confirmed. Subsequently, TargetVersion, effective generation, activation time, and verification results are transmitted to the ground.

[0120] Furthermore, when an observation fails or the new generation itself exhibits a CRC anomaly, the R core restores the previous stable generation through the same atom switching mechanism, marking the failed version as DISABLED and preventing its automatic reactivation. Recovery transactions initiated by the failed version are either completed or terminated depending on whether the action allows for safe abort; subsequent new events always use the rolled-back stable generation. If the previous stable generation is also unverifiable, the factory's minimum policy is loaded and the system enters a restricted safety state.

[0121] Furthermore, in the event of a power outage or reset during packet reception, candidate construction, switching, or persistence, the initialization process only selects stable generations with complete CRC and a valid commit flag; versions in CANDIDATE, PRECHECKED, or with only a prepare flag must not be automatically started as stable generations. The log records the update interruption phase, failure reason, rollback version, and reset reason, and reports this information via telemetry.

[0122] Step S508: The log is downloaded to the ground via telemetry.

[0123] Therefore, the atomicity constraints of the hot update phase are: "Temporary area reception — Inactive area construction — Single commit point switching — Post-observation stabilization". The activity table is not overwritten in place, and in-transit failed transactions are fixed to the original generation. As a result, policy updates typically do not require modification or restart of the FDIR arbitration master program; updates involving underlying drivers, operating systems, or hardware images can use other controlled update processes.

[0124] The above four stages are connected by a policy generation mechanism. System initialization forms an initial stable generation G0; new module registration builds and atomically commits the registration generation G1 based on G0; ground policy hot updates build and commit the update generation G2 based on the current stable generation; the FDIR arbitration module fixes the generation Gx it reads at the beginning when processing each FaultEvent and releases it after the recovery transaction is completed. Module registration, Handler resolution, policy table lookup, fault recovery, policy update, and rollback are all performed around the same generation identifier. Failure in any stage before commit does not change the previous stable generation, thus forming a rollback-capable, traceable, and intermediate state-free FDIR fault-tolerant management closed loop.

[0125] The design points of this invention are not simply independent parallel entities, but rather interdependent and mutually reinforcing. The dynamic policy table provides a "policy carrier that can be written to and activated by the registration process," enabling changes to FDIR behavior. FDIR arbitration and policy decoupling provide a "stable, general execution framework." Policy generations link module registration, Handler resolution, fault lookup, hot updates, and rollback into a consistent closed loop.

[0126] This invention achieves the following technical effects: Reduced coupling and improved reliability: Adding new modules or modifying fault policies typically does not require modifying or restarting the FDIR arbitration main program. Support for on-orbit dynamic updates and improved scalability: Both ground policy injection and automatic module initialization registration can generate candidate dynamic policy snapshots. The R-core security island reduces the risk of semi-updated policies entering the running state through pre-verification, atomic switching, observation, and rollback. Improved fault response determinism: The R-core security island handles faults generationally according to fixed policies, reducing the probability of A-core business domain anomalies or concurrent updates affecting the security recovery path. Reduced monitoring gaps: New modules only obtain business operation permission after identity, events, Handlers, isolation domains, and default recovery policies are all in effect and the first health confirmation is completed.

[0127] Throughout this specification, references to "an embodiment," "an example," or "an example" mean that a particular feature, structure, or characteristic described in connection with that embodiment or example is included in at least one embodiment. Or, an example of the invention. Therefore, phrases such as "in one embodiment" or "in one example" appearing throughout this specification do not necessarily refer to the same embodiment or example. Furthermore, specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments or examples. Additionally, unless otherwise specifically stated, the terms "having," "comprising," "containing," and similar terms are defined as meaning "including." Furthermore, it should be understood that the accompanying drawings provided herein are for illustrative purposes only and are not necessarily drawn to scale.

[0128] The above description of the illustrated examples of the invention (including those described in the abstract) is not intended to be exhaustive or limited to the precise forms disclosed. While specific embodiments and examples of the invention have been described herein for illustrative purposes, various equivalent modifications may be made without departing from the broader spirit and scope of the invention. Indeed, it should be understood that specific example structures and steps are provided for illustrative purposes, and other structures and steps may be used in other embodiments and examples based on the teachings of the invention. These modifications can be made to embodiments of the invention based on the above detailed description. The terminology used in the following claims should not be construed as limiting the invention to the specific embodiments disclosed in the specification and claims. Rather, the scope is determined entirely by the following claims, which should be interpreted according to the established principles of their interpretation.

Claims

1. A fault-tolerant management system for an onboard computing platform, comprising a SoC, a bus interface, a reset and power controller, and a space-to-ground link interface, characterized in that, The SoC is a heterogeneous SoC, which includes an A-core application domain and an R-core security island. The A-core application domain shall at least deploy a service module, an A-core FDIR agent, and a controlled service recovery module; wherein, the service module is used to add loads and execute bus agents, the A-core FDIR agent is used to receive registration requests, fault event reports, initialization commands, and perform normal task recovery, and the controlled service recovery module is used to restart processes, reload models, and return recovery results according to recovery commands; The R-core security island deploys at least the following modules: module registration service, dynamic policy table management module, dynamic management table activation module, FDIR arbitration module, Handler management module, recovery execution module, log service, and storage service. The module registration service is used to authenticate based on the A-core FDIR initialization registration request and assign ModuleID / EnventId. The system includes: generating candidate policy items; the dynamic policy table management module receiving candidate items, generating a candidate table, performing pre-verification, and atomic switching; the dynamic policy table activation module activating the corresponding candidate table according to the activation command, providing corresponding EventID, Handler, priority, timeout, and recovery actions; the FDIR arbitration module looking up the table in the dynamic policy table activation module based on the received fault event, handling conflicts, and restoring scheduling based on the result feedback; the Handler management module providing authorization entry, execution domain, and timeout constraints; the recovery execution module resetting, isolating, downgrading, or entering safe mode for controlled services according to the received execution command; the log service providing log read / write interfaces for each module of the R core security island to call its log read / write interface; and the storage service providing storage read / write interfaces for the dynamic policy table management module.

2. An initialization method applied to the system as described in claim 1, characterized in that, Includes the following steps: After the system is powered on, the R-core security island initializes the FDIR minimum operating environment before the business modules in the A-core application domain, including clock, watchdog, shared memory permissions, message mailbox, interrupt entry, log buffer, policy storage access and recovery execution interface; The policy storage module reads the main policy area and verifies the table-level CRC, item-level CRC, version number, and signature digest. After the policy table is loaded, the R-core security island initializes the ModuleID registration table, EventID registration table, Handler directory, fault isolation domain table, and ActivePolicyTable pointer; After the operating system of the A-core application domain starts, the A-core FDIR agent sends a basic registration handshake to the R-core security island to register the system basic modules.

3. The method as described in claim 2, characterized in that, When the primary policy area is invalid, the backup policy area is loaded. When both the primary and backup policies are invalid, the factory minimum policy area is loaded and the system enters a restricted safe operation mode.

4. A method for dynamically registering new modules in the system as described in claim 1, characterized in that, Includes the following steps: After the newly added functional module is started, it enters the INIT state and does not provide business services to the public yet; The module calls the FDIR_Register interface to submit the module descriptor, Handler descriptor, and default policy request. The A-core FDIR agent writes the registration request to the shared memory registration queue and notifies the R-core secure execution domain; The R-core security island module registration service performs identity authentication, signature verification, version compatibility check, resource conflict check, and permission check. Register the service to assign or confirm the ModuleID and EventID range, and write the verified Handlers to the Handler directory; The dynamic strategy table management module generates candidate strategy items based on the default strategy request; After the candidate table passes pre-verification, it is atomically activated, and the module state changes from REGISTERING to MONITOR; The registration service returns a registration confirmation, and the module begins periodically reporting heart rate and health status.

5. The method as described in claim 4, characterized in that, It also includes the following steps: If registration fails, the module remains in the INIT_FAILED or RESTRICTED state and must not be allowed to run business applications.

6. The method as described in claim 4, characterized in that, It also includes the following steps: when a module is deregistered, the policy item is set to Inactive or Deprecated, and the log retains the historical number mapping.

7. The method as described in claim 4, characterized in that, It also includes the step of: downloading the logs to the ground via telemetry.

8. A fault handling method applied to the system as described in claim 1, characterized in that, Includes the following steps: The health monitoring module detects heartbeat loss, threshold exceeding limits, bus timeout, CRC error, watchdog alarm, or Handler exception; The A-core proxy or R-core security island monitoring thread generates a FaultEvent containing EventID, ModuleID, LevelID, FaultType, Timestamp, and FcrID; FaultEvent enters the shared memory event queue, which is then read by the R core safety island via interrupt or periodic scan. The FDIR arbitration module parses the EventID and queries the current dynamic policy table; If no valid policy item is found, the default security policy is executed and unregistered events are logged; If a policy item is matched, arbitration is performed based on Priority, ConflictMask, FcrID, and system mode. The Handler management module calls the corresponding recovery Handler, and the recovery execution module starts timeout monitoring; Once the recovery is complete, the arbitration module verifies the heartbeat, status variables, or hardware feedback to confirm the recovery result.

9. The method as described in claim 8, characterized in that, It also includes the following steps: If recovery fails, proceed with RetryPolicy to retry, reset, isolate, downgrade, or safe mode.

10. The method as described in claim 8, characterized in that, It also includes the following steps: the log module records events, policy versions, handlers, recovery results, and time consumption, and downloads them to the ground via telemetry.

11. A ground-based on-premises strategy hot update method applied to the system as described in claim 1, characterized in that, Includes the following steps: The satellite-to-ground management interface receives policy update packets uploaded from the ground, and the A core is only responsible for caching and forwarding. The R-core security island verifies packet integrity, CRC, signature, version monotonicity, and policy packet origin; The dynamic strategy table management module constructs a candidate strategy table in the shadow buffer. Perform pre-validation on the candidate table, including EventID uniqueness, ModuleID validity, Handler entry validity, permission level, Timeout range, RecoveryAction validity, ConflictMask consistency, and rollback path; If the pre-validation fails, the update will be rejected and the currently active table will be retained; If the pre-verification passes, wait for the switchable window and atomically switch the ActivePolicyTable using a double-buffered pointer, version flag, or equivalent mechanism; When a new table enters the observation window, the system continuously monitors the policy CRC, Handler execution results, and abnormal resets. Once the observation window is approved, the new table will be fixed as a stable version.

12. The method as described in claim 11, characterized in that, It also includes the following steps: if the observation window fails, roll back to the previous stability table and disable the failed version.

13. The method as described in claim 11, characterized in that, Also includes: The logs are downloaded to the ground via telemetry.

14. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 2 to 13.