System and method for controlled generation of immutable records from non-deterministic ai systems

TWI934835BActive Publication Date: 2026-08-01黃致維
View PDF 6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
TW · TW
Patent Type
Patents
Current Assignee / Owner
黃致維
Filing Date
2025-11-17
Publication Date
2026-08-01

Smart Images

  • Figure TWG2TB001904180_001
    Figure TWG2TB001904180_001
  • Figure TWG2TB001904180_002
    Figure TWG2TB001904180_002
  • Figure TWG2TB001904180_003
    Figure TWG2TB001904180_003
Patent Text Reader

Abstract

This invention relates to a verifiable interactive caching system and method that can operate in a nondeterministic processing environment. The system initiates a caching session via a startup prompt, generates a tracking key with an embedded startup hash value, and encapsulates user input and AI output into traceable caching units (snapshots). Cryptographic links ensure data immutability and auditability. The system includes anomaly detection logic, batch caching logic, group coordination logic, multimedia caching, and interruption management mechanisms, maintaining data consistency during replay. It can be applied in fields such as law, finance, healthcare, and creative industries, possessing high industrial applicability and practical value.
Need to check novelty before this filing date? Find Prior Art

Claims

1. A portable digital evidence generation and independent verification system with an initialization anchoring mechanism for a nondeterministic processing system, comprising: (a) a non-intrusive evidence extraction module that initiates an immediate interception mechanism upon receiving an initiation prompt instruction and intercepts user input, converting it into standardized structural segments; wherein the initiation prompt instruction is a governance instruction independent of semantic-level prompt content, rather than semantic input provided to the nondeterministic processing system; (b) a self-contained evidence chain anchoring module configured to calculate an initiation hash value from the initiation prompt instruction before the nondeterministic processing system performs any inference, and embed the initiation hash value entity into a tracking identification key, making the tracking identification key an immutable reference anchor point existing prior to the result; and the module further... (c) A separate replay packet generation module is configured to cryptographically seal each subsequently generated archive unit with the same tracking identification key; (d) The output from the nondeterministic processing system and the structure segment are cryptographically bound and encapsulated with the tracking identification key to form an independently executable replay archive; This allows a third-party verification unit to extract the tracking identification key from any archive unit in an offline environment without touching the original processing system and to recalculate and verify the embedded startup hash value, thereby determining whether the behavior of the nondeterministic processing system maintains consistency with the governance context defined in the initialization phase, so as to provide subsequent auditing, replay or governance context consistency verification (including but not limited to behavior consistency analysis and role alignment verification), and complete faithful reproduction and integrity verification.

2. The system of request item 1 further includes: an on-chain sealing and tracing verification module, including a submission routing logic configured to calculate a cryptographic sealing hash value from the sealing unit and generate a verifiable credential, and to dispatch the credential to an immutable verification ledger.

3. The system of claim 1, wherein the self-contained chain of evidence anchoring module includes: (a) a startup prompt instruction configuration logic configured to inject a predefined startup prompt instruction through one or more delivery paths based on an explicit user instruction or an automated triggering event; and (b) one or more encapsulation triggering logics configured to dynamically evaluate and determine the actual startup timing of the encapsulation unit after the startup prompt instruction is injected.

4. The system of claim 1, wherein the independent replay packet generation module further comprises: (a) a storage encapsulation logic configured to encapsulate a storage unit of a user-model interaction into a verifiable credential format, the credential embedding a structure index, a storage hash value, and an inference process fingerprint; (b) a storage unit compression logic coupled to the storage encapsulation logic, configured to apply a lossless compression algorithm to the storage unit to produce a compressed storage unit; and (c) a secure storage submission interface configured to support one or more credential encapsulation formats and, through a submission routing logic, submit the credential in a selected encapsulation format to a subsequent verification or storage environment.

5. The system of request 1, wherein the tracking identification key of request 1(b) is further configured to embed an interrupt flag field; and wherein, The system further includes an interrupt control logic configured to detect a subsequently injected control prompt carrying an interruptible structure tag during the encapsulation session initiated by the start prompt instruction of request item 1(a), and in response to: (a) set the interrupt flag; and (b) prevent the encapsulation unit generation logic of request item 1(c) from generating any further encapsulation units.

6. The system of Request 1 further includes an enterprise integration architecture, including an embeddable software development kit or an application interface logic, configured to integrate the encapsulated functions of the system into an existing application.

7. The system of request item 1 further includes a sealed cell generation logic configured to capture each prompt and corresponding response as a sealed cell, calculate a sealed cell hash value, and associate the unique tracking identification key with the sealed cell.

8. The system of request item 1 further includes an anomaly detection and logging logic configured to monitor structural anomalies or other abnormal events during the generation or submission of the archive unit, and to record each detected anomaly as an independent trace entry.

9. The system of request item 1, wherein the independent replay packet generation module further includes a delayed encapsulation logic configured to aggregate one or more of the encapsulated units and, in response to a batch trigger or a scheduling instruction, format the aggregated encapsulated units into a credential and send the credential to an authentication or storage environment via a submission routing logic.

10. The system of claim 2, wherein the on-chain sealing and tracking verification module further includes a blockchain-adaptive storage architecture configured to interface with the immutable verification ledger.

11. The system of request item 2 further includes a privacy configuration logic configured to: (a) assign a privacy mode field to the tracking identification key described in request item 1 (b); and (b) apply a corresponding privacy transition to the sealed unit before submission to the immutable verification ledger based on the privacy mode field.

12. The system of claim 2, wherein the on-chain sealing and trace verification module is further configured to: (a) decisively generate a reasoning process fingerprint by applying a cryptographic hash function to a standardized data structure containing the model output or associated relay data; and (b) embed the reasoning process fingerprint into the relay data of the sealing unit to link with the trace identification key described in claim 1(b).

13. The system of request item 1 further includes an anomaly recovery and replay logic configured to identify incomplete or damaged structural segments and invoke a replay engine to reconstruct such segments and generate a repaired archive unit.

14. The system of Request 1, wherein a pre-injection pre-capture prompt instruction specifies one or more external resource unified identifiers, the resource unified identifiers trigger the generation of one or more corresponding pre-capture units, and wherein each of the corresponding pre-capture units includes a resource unified identifier field, the field recording the external resource unified identifier as a structural element.

15. The system of Request 1 further includes a batch caching logic configured to: (a) cache user-submitted archived data in a structured queue before structured segmentation and credential encapsulation, wherein each archived record is associated with the tracking identification key described in Request 1 (b), and the sealing of such cached records is triggered by a user instruction or a scheduled event; and (b) assign a common batch submission identifier to group multiple archived units submitted in the same archived operation from different structured segments.

16. The system of request item 1 further includes a group coordination logic configured to assign a group identifier to a plurality of archive units, which are archived as part of a coordination session or workflow.

17. The system of Request 1 further includes a session-level dialog encapsulation logic configured to encapsulate a multi-turn user-model interaction session into a unified and indivisible dialog encapsulation.

18. The system of request item 1 further includes a platform-neutral interface logic configured to exchange data with the artificial intelligence model through external input and output channels.

19. The system of claim 1, wherein each archive unit is configured to directly embed a multimedia file selected from a group comprising images, audio, video, or documents; and wherein, A stored hash value is calculated from the content of the embedded file and cryptographically linked to the corresponding tracking key described in request item 1(b).

20. The system of request item 1 further includes a storage unit naming logic configured to assign the tracking identification key described in request item 1(b) to each storage unit as a default name for a corresponding storage file.

21. A method for generating verifiable interactive records for a nondeterministic processing system, characterized in that it comprises: (a) Receive a startup prompt instruction to initialize a saved session, wherein the startup prompt instruction is a governance instruction independent of the semantic level prompt content; (b) Before the nondeterministic processing system performs any inference, based on the startup prompt instruction, calculate a startup hash value and embed its entity into a trace identification key, such that the trace identification key is an immutable reference anchor that exists prior to the result; (c) Establish at least one segment identification code from user input and form a structured input segment accordingly; (d) Provide the input segment to a nondeterministic processing system and receive its corresponding output; (e) Process the input segment, (f) The output and relay data are cryptographically sealed into a single storage unit using the same tracking identification key; and the storage units are assembled into an independently executable replay storage unit. A storage hash value is calculated based on the storage unit so that any storage unit can extract the tracking identification key and recalculate and verify the start hash value in an offline environment, thereby determining whether the behavior of the nondeterministic processing system remains consistent with the governance context defined in the initialization phase, so as to provide the verifiable immutability of the storage unit for subsequent audits, replays, or governance context consistency verification (including but not limited to behavior consistency analysis and role alignment verification).

22. A non-transitory storage medium storing computer-readable instructions, wherein when the instructions are executed by a processor, the processor performs the method as described in claim 21.