A method and system for retrieving an overlay contract candidate verification and atomic promotion

CN122985759APending Publication Date: 2026-10-27武汉百智诚远科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611254639.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-18
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

补产循环若只按通过数量推进标识,会在候选被拒绝后复用已消费标识并产生碰撞;固定检查少数存储又会遗漏新增消费者

Benefits of technology

[0010]本发明可减少生成资产伪完成、标识静默覆盖、运行时旧缓存和多存储不一致。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122985759A_ABST
    Figure CN122985759A_ABST
Patent Text Reader

Abstract

The application discloses a retrieval strategy asset generation and promotion method. A processor constructs a source coordinate list allowing reference from a current published knowledge unit, generates a cover contract candidate containing a trigger condition, a mandatory slot, positioning information and slot downgrade authority; when the coordinates cannot be accurately returned to the library, only the downgradable slots are downgraded, and the non-downgradable mandatory slots directly make the candidate refuse. Each request reserves a non-reusable identification segment, and the rejected candidate still consumes the corresponding position. The candidate snapshot is loaded in an isolated namespace and backtested; only when the set declared by the consumer list is consistent, the coordinates are valid and the backtest passes, the active reference is atomically switched. The application can prevent the generated asset from being silent and weakened, identification collision and old cache pollution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of generative strategy asset production, retrieval configuration verification, runtime module refresh, and release access control technology, and in particular to a method for advancing candidates of overlay contracts generated by generative models after passing source coordinates, identifier namespaces, cache consistency, and multi-storage set access control. Background Technology

[0002] After a new knowledge domain is launched, if the search coverage strategy still relies on manual writing, and the data has been published but the mandatory inspection criteria and reverse information rules are missing, the system will form hidden coverage gaps.

[0003] Directly accepting the output of the generated model introduces non-existent source coordinates, forced slots without true localization, and overly wide trigger words. If the replenishment loop only advances the identifiers based on the number of passed items, it will reuse consumed identifiers and cause collisions after candidates are rejected; fixed checks on a small number of stores will miss new consumers.

[0004] After the generated files are overwritten during the runtime process, the language runtime may continue to read old module constants or old bytecode; thus, source files, the registry, backtesting, and the database may result in different sets of assets. Summary of the Invention

[0005] The present invention aims to ensure that generative retrieval strategy assets can only be activated when the true source is resolvable, the identifier does not conflict, the asset is loaded at runtime, and the multiple storage sets are consistent.

[0006] The generative model only generates candidates. Source coordinates are retrieved from the database item by item, and mandatory slots must have actual locations. The slot pattern also declares degradation permissions; security, exception, time-limited, or pre-processed slots can be fixed as non-degradable by a deterministic strategy. If a non-degradable slot fails to locate, the entire candidate list is rejected. Only slots that allow degradation can be converted to non-mandatory slots, and the contract must still have at least a preset number of mandatory slots.

[0007] Identifier allocation is based on non-reusable namespace segments. Segments can be consecutive numeric ranges, UUID prefixes, content-addressable reserved areas, or combined identifier areas. Requesting six candidates consumes six locations; even if four are rejected, the next request will not reuse consumed locations.

[0008] After a candidate snapshot is written, it does not rely on the reloading of ordinary modules, but directly reads the new snapshot and compiles it into the isolated candidate namespace; only after the advancement gate passes will the online running object be replaced and the online registration cache be cleared.

[0009] The upgrade gate reads the list of consumers with versions, calls the identifier reading interface of each consumer to compare the entire declaration set, and re-executes coordinate parsing and backtesting; new consumers must first register the reading interface, and old activated assets remain unchanged when the access control fails. In the preferred embodiment, consumers include a source snapshot, a runtime registry, a backtesting set, and a temporary database.

[0010] This invention can reduce the generation of false asset completions, silent overwriting of identifiers, runtime old caches, and inconsistencies in multiple storage. Attached Figure Description

[0011] Figure 1 A flowchart outlining the overall process of candidate generation, machine verification, and advancement.

[0012] Figure 2 A diagram illustrating the reservation of requested identifier fragments and the rejection of candidate non-reusable identifiers.

[0013] Figure 3 Flowchart for direct compilation and registration cache refresh of candidate snapshots.

[0014] Figure 4 A multi-set access control graph driven by a consumer list. Detailed Implementation

[0015] In one embodiment, the processor selects twelve sources with the most entries in a certain domain, and each source provides five real entry identifiers as a unique list of coordinates that can be referenced by the generated model.

[0016] The generated model outputs five contracts, each containing three to six slots. If an entry referenced by a mandatory slot that allows downgrade does not exist in the current valid data, the processor removes that coordinate and downgrades the slot; if a contract ultimately has only one mandatory slot, which is below the threshold of two, the entire contract is rejected. If the failed slot is an exception that cannot be downgraded or a time-limited slot, the entire candidate is rejected directly without going through the quantity gate, avoiding the silent weakening of the verification obligation by generated assets.

[0017] The existing automatic identifier has a maximum suffix of thirteen. This request has three copies, reserving 14 to 16. Even if only 14 is approved, the next request will still start from 17. Another embodiment reserves the UUID prefix and three non-reusable sequence bits for this request, and does not reallocate the original sequence bits after rejection.

[0018] Rejected items are added to the next round of exclusions to prevent the deterministic generative model from repeatedly returning the same bad candidate. Supplementary production is executed a maximum of three rounds or another limited number of times.

[0019] The merger first collects the old identifier set, then checks for candidate empty identifiers, old conflicts, and duplicates in the same batch; any conflict throws a failure and does not write to the activation file.

[0020] In a runtime environment with module caching, the system reads the newly written candidate source snapshot, compiles it into a new code object using a function, and executes it in an isolated candidate namespace. Simultaneously, it verifies the content digest of the candidate source snapshot, thus preventing consumers from reading old assets due to file timestamps or bytecode caching. Candidate registration, backtesting, and database temporary storage all read the aforementioned candidate namespace; only after access control is passed is the new asset object replace the online activated object, and the online registration cache is cleared.

[0021] Other languages ​​can achieve equivalent snapshot loading using class loader isolation, dynamic library version objects, immutable configuration snapshots, or content-addressed modules.

[0022] The access control system requires that all sets declared in the consumer list be completely equal. Backtesting can include mandatory clause matching, trigger word positive examples, adjacent negative examples, and duplicate item checks. If a consumer is unreadable, times out, or the returned set is missing, the access control is treated as a failure.

[0023] Manual asset freezing is prioritized, while automatic candidate updates only cover uncovered items. Each candidate contains three to six slots within a set of executable parameters, with a mandatory lower limit of two slots, and the update cycle does not exceed three rounds. The prompt template, domain thesaurus, upper and lower limits for the number of slots, and backtesting thresholds are all bound to the configuration version and written to the candidate snapshot and audit certificate for repeated execution and verification.

[0024] One implementation includes a candidate generator, a contract registrar, a backtester, and a candidate database register. All four read assets from the same candidate snapshot identifier and return the actual set of candidate identifiers loaded via a consumer list; if any consumer fails to read or the set is inconsistent, the activator retains the old reference.

[0025] The audit certificate stores a fragment of the request identifier for each round, pass / reject candidates, coordinate resolution results, consumer list version, set differences, and activation decisions, and supports replay. Candidate factories, isolation loaders, backtesters, and activators can be deployed centrally or coordinated using messages carrying snapshot fingerprints.

[0026] This invention uses a linkage control system formed by real-time coordinate verification, non-reusable identifier fragments, isolated operation snapshots, and consumer list set consistency gates to ensure that candidates that fail to pass any of these gates cannot change the online activated asset references.

[0027] Computer program products can take the form of asset factory packages, release plugins, container images, or configuration generation service components.

[0028] Figure 1 In the middle, the source list 101, the generated candidate 102, the coordinate gate 103, the identification gate 104, the snapshot loading 105, and the consumer list collection gate 106 are connected in sequence.

[0029] Figure 2Mark the positions still occupied by rejected candidates to prevent rollback in the next round.

[0030] Figure 4 The four set comparators are imported into the "All equal and backtest passed" decision box; otherwise, it returns to the old active snapshot.

Claims

1. A machine verification and atomic promotion method for generating candidate contracts covering retrieval, characterized in that, include: Obtain the currently published data units and activated coverage contracts in the target knowledge domain; generate a list of allowed source names, entry identifiers and data unit identifiers based on the currently published data units; and generate a set of covered items based on the activated coverage contracts. The target knowledge domain, the allowed reference list, and the set of covered items are input into the generation model, and a set of covering contract candidates that conform to a preset structure pattern are received. Each covering contract candidate includes at least candidate items, a set of trigger words, and multiple slots. Each slot includes slot type, whether it is mandatory, whether it is allowed to be downgraded, and includes at least one of word face probe and candidate source coordinates. For each candidate source coordinate, perform precise parsing in the current published data unit, and eliminate candidate source coordinates that cannot be parsed to the current published data unit; when there are no resolvable source coordinates for a mandatory slot, if the slot is marked as allowed to be downgraded, downgrade it to a non-mandatory slot and record the reason for the downgrade; if the slot is marked as not allowed to be downgraded, reject the corresponding coverage contract candidate; and reject the coverage contract candidate if the number of downgraded mandatory slots is lower than the preset minimum number. In the candidate identifier namespace, a non-reusable identifier fragment corresponding to the number of request candidates is reserved for a single generation request. After the request ends, the identifier allocation status is advanced according to the number of request candidates rather than the number of candidates verified by the machine, so that the identifier position corresponding to the rejected candidate remains in the consumed state. In a replenishment cycle that does not exceed the preset number of attempts, covered items, approved candidate items, and rejected candidate items are added to the exclusion set of the next generation request, and new candidate identifier fragments are reserved according to the number of missing covered contracts. Merge the machine-verified cover contract candidates with existing automatic assets. Before merging, verify that the candidate identifier is not empty, does not conflict with existing identifiers, and does not duplicate candidate identifiers in the same batch; if any verification fails, reject the asset generated for cover. The merged result is written to the candidate asset snapshot, and the candidate asset snapshot is directly parsed or compiled to form a candidate runtime namespace isolated from the online activation registry. The candidate assets are loaded in the candidate runtime namespace and the candidate contract registration cache is invalidated, so that candidate registration and backtesting read the candidate asset snapshot without changing the online activation asset reference. The system reads a pre-set consumer list, which declares asset consumers that must complete consistency verification before candidate assets are promoted, and the identifier reading interface for each consumer. Through the identifier reading interface, it obtains the candidate asset snapshot, the candidate runtime registry, the backtesting object set, and the candidate identifier set actually read by other consumers declared in the consumer list. Only when all declared consumer candidate identifier sets are equal, all forced slot positioning can still be resolved, and the backtesting passes, does it atomically update the online activated asset reference to the candidate asset snapshot and invalidate the online registration cache; otherwise, it keeps the original online activated asset reference unchanged. Record the coordinate analysis, slot degradation, rejection reason, identification fragment, set difference, and promotion result for each candidate.

2. The method according to claim 1, characterized in that, The reference list is allowed to obtain a preset number of sources from the target knowledge domain, sorted by the number of data units, and provides several real entry identification samples for each source; source coordinates outside the list output by the generated model are rejected during the machine verification stage.

3. The method according to claim 1, characterized in that, The non-reusable identifier segment is a continuous identifier interval determined based on the maximum value of the numerical suffix of the activated overlay contract identifier; the number of slots, the number of trigger words, and the length of a single probe for each overlay contract candidate are all constrained by a preset upper limit. When any preset upper limit is exceeded, the corresponding candidate is rejected and the over-limit field is recorded to avoid truncating and changing the semantics of the forced slot or trigger condition.

4. The method according to claim 1, characterized in that, Candidate source coordinates must include at least a source name substring and an entry identifier. Precise parsing requires a hit on a data unit of the currently valid version. Hitting a historically invalid version or a fuzzy semantic hit will not allow the forced slot to pass. Preset slot types involving security, exceptions, deadlines, or procedural preconditions are fixed to not allow downgrading.

5. The method according to claim 1, characterized in that, When both manual freeze coverage contracts and automatic freeze coverage contracts exist, the manual freeze coverage contract has a conflict priority, and the automatic freeze coverage contract cannot cover manually frozen assets.

6. The method according to claim 1, characterized in that, The consumer list declares at least four consumers: candidate asset snapshot, candidate runtime registry, backtesting set, and candidate database registration. Directly parsing or compiling candidate asset snapshots includes reading newly written source text, compiling and executing it to the candidate runtime namespace without reusing existing bytecode cache, and atomically replacing the activated asset object in the online runtime module and clearing the online registration function cache after the advancement gate passes.

7. The method according to claim 1, characterized in that, The replenishment cycle is terminated early when all candidates in a batch fail and the generation model does not return any identifiable rejections; if the number of attempts or the minimum number of assets is not met, the status of insufficient covered assets is output.

8. The method according to claim 1, characterized in that, It also includes generating an asset upgrade audit certificate, which at least includes the published data fingerprint, allowed reference list summary, number of candidates, number of resolvable coordinates, number of forced slots, rejection items, reserved identifier fragments, identifier conflicts, consumer list version, set differences for each declared consumer, backtesting results, and final activation status.

9. A machine verification and atomic promotion system for retrieving contract generation candidates, characterized in that, include: The Source List module is used to generate a list of allowed references from the currently published data unit; The candidate generation module is used to generate structured coverage contract candidates; The coordinate verification module is used to retrieve coordinates from the database. It only degrades slots that are declared as allowed to be downgraded and rejects candidates that have no positioning and cannot be downgraded or have an insufficient number of slots. The identifier allocation module is used to reserve non-reusable identifier namespace fragments according to the number of requests and advance the allocation status; The conflict guard module is used to block empty identifiers, old identifier conflicts, and duplicates in the same batch; The snapshot loading module is used to directly compile candidate snapshots and refresh the candidate registration cache in the isolated candidate run namespace; The upgraded access control module is used to verify the consistency of the candidate identifier set actually read by all declared consumers and the backtesting results based on the consumer list, and then atomically updates the online activation of asset references after passing the verification. as well as The advancement audit module is used to record candidate verification, identified fragments, set differences, and activation status.

10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program that, when executed by the processor, implements the method according to any one of claims 1 to 8.

11. 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 described in any one of claims 1 to 8.

12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 8.