Systems and methods for a metadata-centric platform

The multi-tier memory architecture with deterministic editability rules and atomic schema modifications addresses inconsistencies and deadlocks in multi-tier systems, ensuring efficient metadata management and source code execution.

AU2026223181B1Pending Publication Date: 2026-11-26VEEVA SYSTEMS INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
AU2026223181
Authority / Receiving Office
AU · AU
Patent Type
Applications
Current Assignee / Owner
Priority Date
2026-05-26
Filing Date
2026-08-25
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing systems face challenges in ensuring machine-state consistency and preventing deadlocks during schema modifications and concurrent operations in multi-tier memory architectures, particularly in managing metadata and executing source code layers with deterministic editability rules.

Method used

A multi-tier memory architecture with a compilation layer that merges platform, application, and custom source code layers into a strongly-typed binary representation, utilizing deterministic editability rules and reference pointers in a metadata cache, along with atomic schema modifications and sequential locking to prevent deadlocks.

Benefits of technology

Ensures machine-state consistency and prevents deadlocks during schema modifications, enabling efficient and deterministic execution of source code layers and metadata management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000084_0000
    Figure 00000084_0000
  • Figure 00000085_0000
    Figure 00000085_0000
  • Figure 00000086_0000
    Figure 00000086_0000
Patent Text Reader

Abstract

20 26 22 31 81 25 A ug 2 02 6 A B S T R A C T 2 0 2 6 2 2 3 1 8 1 2 5 2 0 2 6 A u g A B S T R A C T 2 5 A u g 2 0 2 6 2 0 2 6 2 2 3 1 8 1
Need to check novelty before this filing date? Find Prior Art

Description

a multi-tier memory architecture (118a-118d); wherein the compilation layer (220) is configured to merge platform (_p), application (_a), and custom (_c) source code layers into a strongly-typed binary representation by applying deterministic editability rules defined in a meta-component schema; wherein the multi-tier memory architecture is configured to provide a point-in-time view of the strongly-typed binary representation by storing reference pointers in a snapshot 2026223181   25 Aug 2026 metadata cache (118c), the reference pointers pointing to metadata stored in a unique memory location within an immutable metadata cache (118d); and wherein the content management server (112) is further configured to perform atomic schema modifications to the database (117a) by identifying specific process identifiers (PIDs) of queries blocking an exclusive lock on affected tables and terminating said PIDs after a predetermined waiting period. Clause 12. The system of clause 11, wherein the compilation layer (220) is configured to match array attributes by name and merge items individually, and wherein the deterministic editability rules prevent a custom layer from modifying an attribute designated as locked by the platform layer. Clause 13. The system of clause 11 or 12, wherein the multi-tier memory architecture includes a snapshot cache (118a) configured to store a previous request number, and wherein the content management server (112) is configured to query the snapshot metadata cache (118c) only if a current request snapshot number differs from said previous request number. Clause 14. The system of any one of clauses 11 to 13, wherein the content management server (112) is configured to determine a change set for the schema modification comprising blocking statements for table-altering operations and nonblocking statements for concurrent index creation, wherein the blocking statements are executed atomically while the exclusive lock is held. Clause 15. The system of clause 14, wherein the content management server (112) is configured to process the change set in a deterministic order based on an alphabetical sequence of metadata component types to prevent circular-wait deadlocks. 2026223181   25 Aug 2026 Clause 16. The system of any of clauses 11-15, further comprising an AI layer configured to inject a version-synchronized subset of the metadata into a large language model (LLM) prompt, wherein the subset is retrieved from the immutable metadata cache (118d) using a snapshot number to ensure the AI output is constrained by the specific point-in-time state of the database (117a). GROUP I: V0291-X Caching and Population Variations Clause 17: A method for retrieving metadata via multi-level caching to ensure machine-state consistency, the method comprising: • receiving, by a computing device, a request for metadata identifying a component identifier; • determining, by the computing device, a snapshot number for the request; • querying, by the computing device, a first cache (118a) to retrieve a previous request number; • querying, by the computing device and based on the snapshot number equaling the previous request number, a second cache (118b) using the component identifier; • querying, by the computing device and based on the second cache (118b) not including a match to the component identifier, a database (117a) to retrieve current metadata using the component identifier and a max sequence number statement; •  adding, by the computing device, the current metadata to a fourth cache (118d); •  adding, by the computing device, a first link to a third cache (118c), wherein the first link is a reference pointer to the current metadata of the fourth cache (118d); 2026223181   25 Aug 2026 • adding, by the computing device, a second link to the second cache (118b), wherein the second link is a reference pointer to the current metadata of the fourth cache (118d); and • executing, by the computing device and based on the snapshot number equaling the sequence number of the current metadata, a computing operation using the current metadata. Clause 18: The method of clause 17, wherein the computing operation is at least one of a commit operation, an update operation, or a delete operation. Clause 19: The method of clause 18, wherein the computing operation is an update operation, and wherein the method further comprises querying the database (117a) to retrieve an overall max sequence number and a component max sequence number associated with the component identifier; and generating a second sequence number by monotonically increasing the component max sequence number. Clause 20: The method of clause 17, wherein the request further identifies a component type, and wherein the first link stored in the third cache (118c) is keyed to the component identifier, the component type, and the sequence number of the current metadata. Clause 21: The method of clause 17, further comprising requesting a lock on the database (117a), wherein the database (117a) is queried based on the second cache (118b) not including a match and the lock on the database (117a) being granted. Clause 22: The method of clause 17, wherein the third cache (118c) and the fourth cache (118d) are each immutable. 2026223181   25 Aug 2026 Clause 23: A method for determining a key for a cache comprising: • querying, by a computing device, a database (117a) to retrieve a first number; • determining a snapshot number based on the first number; • querying a first cache (118a) to retrieve a first previous request number; • determining the snapshot number is greater than the first previous request number; • querying the first cache (118a) to retrieve a second previous request number; • querying, based on the snapshot number being greater than the second previous request number, the database (117a) to select each component with a sequence number greater than the second previous request number; • removing, by the computing device, each selected component from a second cache (118b); • modifying, by the computing device, the first cache (118a) to include the snapshot number; • determining, by the computing device, the key as a tuple of the component identifier, a component type, and the snapshot number; and • querying, by the computing device, a third cache (118c) using the key. Clause 24: The method of clause 23, wherein the method further includes requesting a lock on the database (117a), and wherein the first cache (118a) is queried to retrieve the second previous request number based on the lock on the database (117a) being granted. GROUP II: V0292-X Metadata Merging and Customization Paths 2026223181   25 Aug 2026 Clause 25: A method for processing and executing source code in a multi-layered component system, the method comprising: • receiving, by a computing device, platform source code (_p) defining a base component and an editability rule that is set to editable; • receiving application source code (_a) extending the base component; • receiving custom source code (_c) twice-extending the extended base component; • merging the source code layers to generate merged source code including the twice-extended base component based on the editability rule being set to editable; • compiling the merged source code to generate compiled source code; and • storing the compiled source code. Clause 26: The method of clause 25, wherein the platform source code includes a platform namespace suffix, the application source code includes an application namespace suffix, and the custom source code includes a custom namespace suffix. Clause 27: The method of clause 25, wherein the base component is a field that is a scalar attribute, and wherein the merged source code includes the first field including a third scalar attribute defined in the custom source code based on the editability rule being set to editable. Clause 28: The method of clause 25, wherein a name of the base component is structured according to a naming rule defining the name as an alphanumeric plus underscore, between 2 and 24 characters in length not including a namespace suffix. 2026223181   25 Aug 2026 Clause 29: The method of clause 25, wherein the computing device further receives a locking rule set to locked, and wherein the application source code and the custom source code are prevented from modifying the editability rule. Clause 30: A method for processing and executing source code in a multi-layered component system, the method comprising: • receiving, by a computing device, platform source code (_p) defining a base component and an editability rule that is set to un-editable; • receiving application source code (_a) extending the base component; • receiving custom source code (_c) twice-extending the extended base component; • merging the source code layers to generate merged source code including the base component based on the editability rule being set to un-editable; • compiling the merged source code to generate compiled source code; and • storing the compiled source code. Clause 31: A method for processing and executing source code in a multi-layered component system, the method comprising: • receiving, by a computing device, platform source code (_p) defining a base component, an editability rule that is set to editable, and a locking rule that is set to unlocked; • receiving application source code (_a) unlocking and extending the base component; • receiving custom source code (_c) twice-extending the extended base component; 2026223181   25 Aug 2026 • merging the source code layers to generate merged source code including the twice-extended base component; • compiling the merged source code to generate compiled source code; and • storing the compiled source code. GROUP III: V0293-X Schema Modification and Sequential Locking Clause 32: A method for committing modified components of a development set to a production database (117a) while preventing circular wait deadlocks, the method comprising: • determining a change set including blocking statements, a plurality of affected tables including a first affected table and a second affected table, and nonblocking statements; • locking the first affected table; • waiting for a predetermined period of time; • terminating at least one first query blocking the lock on the first affected table; • modifying the first affected table based on the blocking statements; • modifying the second affected table based on the nonblocking statements; • locking the second affected table; • waiting for the predetermined period of time; • terminating at least one query blocking the lock on the second affected table; 2026223181   25 Aug 2026 •  modifying the second affected table based on the blocking statements; and •  modifying the second affected table based on the nonblocking statements. Clause 33: The method of clause 32, wherein determining the change set comprises invoking a component type handler to generate the change set. Clause 34: The method of clause 32, wherein the predetermined period of time is inclusively between one and ten seconds. Clause 35: The method of clause 32, wherein the predetermined period of time is determined based on the number of the one or more affected tables. Clause 36: The method of clause 32, wherein the modified components each include a component type name and a component record name, and wherein the change set is processed in a deterministic order based on alphabetical order by component type name and then by component record name.

Claims

1. A method for processing and executing source code in a multi-layered componentsystem, the method comprising:receiving, by a computing device, platform source code defining a base component and an editability rule that is set to editable, wherein the platform source code includes a platform namespace suffix;receiving, by the computing device, application source code extending the base component, wherein the application source code includes an application namespace suffix;receiving, by the computing device, custom source code twice-extending the extended base component, wherein the custom source code includes a custom namespace suffix;merging, by the computing device, the platform source code, the application source code, and the custom source code to generate merged source code including the twice-extended base component based on the editability rule being set to editable;compiling, by the computing device, the merged source code to generate compiled source code; andstoring, by the computing device, the compiled source code.

2. The method of claim 1, wherein the platform namespace suffix is “_p”, wherein theapplication namespace suffix is “_a”, and wherein the custom namespace suffix is “_c”.

3. The method of claim 1, wherein the base component comprises one or more of anobject, a picklist, a layout, or a field.

4. The method of claim 3, wherein the base component is a field that is a scalar attribute,and wherein the platform layer defines a base component that is first field including a first2026223181   25 Aug 2026scalar attribute, wherein the application layer defines an extended base component that is the first field including a second scalar attribute, and wherein the custom layer defines a twice-extended base component that is the first field including a third scalar attribute, and wherein the merged source code includes the first field including the third scalar attribute based on the editability rule being set to editable.

5. The method of claim 1, wherein a name of the base component is structured accordingto a naming rule, and wherein the naming rule defines that the name is an alphanumeric plus underscore, between 2 and 24 characters in length not including the namespace suffix, case sensitive with lowercase only, and starting with a letter.

6. The method of claim 1, wherein the computing device further receives a locking rule,and wherein the locking rule is set to at least one of: unlocked or locked.

7. The method of claim 1, wherein the locking rule is set to locked, and wherein theapplication source code and the custom source code are prevented from modifying the editability rule based on the locking rule being set to locked.

8. A method for processing and executing source code in a multi-layered componentsystem, the method comprising:receiving, by a computing device, platform source code defining a base component and an editability rule that is set to un-editable, wherein the platform source code includes a platform namespace suffix;receiving, by the computing device, application source code extending the base component, wherein the application source code includes an application namespace suffix;receiving, by the computing device, custom source code twice-extending the extended2026223181   25 Aug 2026base component, wherein the custom source code includes a custom namespace suffix;merging, by the computing device, the platform source code, the application source code, and the custom source code to generate merged source code including the base component based on the editability rule being set to un-editable;compiling, by the computing device, the merged source code to generate compiled source code; andstoring, by the computing device, the compiled source code.

9. The method of claim 8, wherein the platform namespace suffix is “_p”, wherein theapplication namespace suffix is “_a”, and wherein the custom namespace suffix is “_c”.

10. The method of claim 8, wherein the base component comprises one or more of an object, a picklist, a layout, or a field.

11. The method of claim 10, wherein the base component is a field that is a scalar attribute, and wherein the platform layer defines a base component that is first field including a first scalar attribute, wherein the application layer defines an extended base component that is the first field including a second scalar attribute, and wherein the custom layer defines a twice-extended base component that is the first field including a third scalar attribute, and wherein the merged source code includes the first field including the first scalar attribute based on the editability rule being set to un-editable.

12. The method of claim 8, wherein a name of the base component is structured according to a naming rule, and wherein the naming rule defines that the name is an alphanumeric plus underscore, between 2 and 24 characters in length not including the namespace suffix, case sensitive with lowercase only, and starting with a letter.2026223181   25 Aug 202613. The method of claim 8, wherein the computing device further receives a locking rule, and wherein the locking rule is set to at least one of: unlocked or locked.

14. The method of claim 8, wherein the locking rule is set to locked, and wherein the application source code and the custom source code are prevented from modifying the editability rule based on the locking rule being set to locked.

15. A method for processing and executing source code in a multi-layered component system, the method comprising:receiving, by a computing device, platform source code defining a base component, an editability rule that is set to editable, and a locking rule that is set to unlocked, wherein the platform source code includes a platform namespace suffix;receiving, by the computing device, application source code unlocking and extending the base component, wherein the application source code includes an application namespace suffix;receiving, by the computing device, custom source code twice-extending the extended base component, wherein the custom source code includes a custom namespace suffix;merging, by the computing device, the platform source code, the application source code, and the custom source code to generate merged source code including the twice-extended base component;compiling, by the computing device, the merged source code to generate compiled source code; andstoring, by the computing device, the compiled source code.

16. The method of claim 15, wherein the platform namespace suffix is “_p”, wherein the2026223181   25 Aug 2026application namespace suffix is “_a”, and wherein the custom namespace suffix is “_c”.

17. The method of claim 15, wherein the base component comprises one or more of an object, a picklist, a layout, or a field.

18. The method of claim 17, wherein the base component is a field that is a scalar attribute, and wherein the platform layer defines a base component that is first field including a first scalar attribute, wherein the application layer defines an extended base component that is the first field including a second scalar attribute, and wherein the custom layer defines a twice-extended base component that is the first field including a third scalar attribute, and wherein the merged source code includes the first field including the third scalar attribute.

19. The method of claim 15, wherein a name of the base component is structured according to a naming rule, and wherein the naming rule defines that the name is an alphanumeric plus underscore, between 2 and 24 characters in length not including the namespace suffix, case sensitive with lowercase only, and starting with a letter.

20. The method of claim 15, wherein the application source code and the custom source code are prevented from modifying the editability rule based on the locking rule being set to locked.

Citation Information

Patent Citations

  • Service variants for enterprise services

    US20110078654A1

  • Repository-level augmentation of prompts for code completion

    US20240361996A1

  • Computer software implemented framework for configuration and release management of group systems software, and method for same

    US7937685B2