Data model agnostic comparison engine

A centralized change tracker service addresses the limitations of model-specific change tracking by providing flexible, secure, and efficient change data handling, enabling decoupled and reusable change tracking across various applications.

US20260377414A1Pending Publication Date: 2026-11-26SAP SE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/212815
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing change tracking implementations are highly coupled to a particular data model, limiting their reusability across different contexts and requiring significant customization for each data model, and lack support for dynamic scenarios and secure data handling.

Method used

A centralized change tracker service that is agnostic to data models, supporting flexible cache management, secure data processing, and integration with large language models to provide human-readable change data, enabling decoupled and efficient change tracking across various applications.

Benefits of technology

Enables efficient and reusable change tracking across diverse data models, supporting dynamic scenarios and secure data handling, with the ability to generate human-readable change data for diverse applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260377414A1-D00000_ABST
    Figure US20260377414A1-D00000_ABST
Patent Text Reader

Abstract

Systems, software, and computer implemented methods can be used for a data model agnostic comparison engine. One example method includes receiving, at a central change tracker service and from a subscriber that has subscribed to the service for changes in provider data of a data provider, a request to create a cache entry at the service for a set of provider data of the data provider. The provider data is enqueued in a cache for the subscriber at the service. A request is received from the subscriber for change data describing changes in provider data of the data provider. Current provider data of the data provider is retrieved. A retrieved cache entry for the subscriber is retrieved from the cache. Change data is determined that describes changes between the current provider data of the data provider and the retrieved cache entry. The change data is provided to the subscriber.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to computer-implemented methods, software, and systems for a data model agnostic comparison engine.BACKGROUND

[0002] Different types of comparison tools can be used to compare content. For example, a text comparison tool can be used to compare two versions of a text document. In some cases, a comparison result shows an earlier version of the text document along with annotations that indicate which additions and deletions of content would convert the earlier version of the text document to a later version of the text document. As another example, some comparison tools show comparison results in a side-by-side format, such as with the earlier and later versions of the document presented on the left hand or right hand sides of a split view, respectively, with highlighting included in either side of the view to indicate differences between the versions.SUMMARY

[0003] The present disclosure involves systems, software, and computer implemented methods for a data model agnostic comparison engine. An example method includes: receiving, at a central change tracker service and from a first subscriber that has subscribed to the central change tracker service for changes in provider data of a first data provider, a request to create a cache entry at the central change tracker service for a first set of provider data of the first data provider; enqueuing the first set of provider data as the cache entry in a cache for the first subscriber at the central change tracker service; receiving, at the central change tracker service and from the first subscriber, a request for change data describing changes in provider data of the first data provider; retrieving, from the first data provider, current provider data of the first data provider; retrieving, from the cache, a retrieved cache entry for the first subscriber; determining change data that describes changes between the current provider data of the first data provider and the retrieved cache entry; and providing the change data to the first subscriber.

[0004] Implementations may include one or more of the following features. A provider registration request from the first data provider and a subscriber registration request from the first subscriber can be received before the request to create the cache entry. The provider registration request can include descriptions of attributes provided by the first data provider and a reference to a data source from which the provider data of the first data provider can be obtained. The central change tracker service can retrieve the current provider data of the first data provider using the reference to the data source. The subscriber registration request can include a provider identifier of the first data provider and a maximum cache size for the cache of the first subscriber. The cache can be a cyclic cache in which entries are overwritten after more than a maximum cache size number of cache entries have been enqueued in the cache. A first application can both register as the first subscriber and as a second subscriber, for changes in provider data of a second data provider that is different from the first data provider. A second application can register, as a third subscriber, for changes in provider data of the first data provider. The retrieved cache entry can be a most recent cache entry in the cache. A second request for change data can be received, at the central change tracker service, The second request can include first and second ranks identifying first and second cache entries of the cache. The first and second cache entries can be retrieved from the cache. Second change data can be determined that describes changes between the first and second cache entries. The second change data can be provided to the first subscriber in response to the second request. The request to create the cache entry can be validated. The first data provider can be an entity set provider that provides data for a set of multiple entities. The change data can include information regarding new entities, changed entities, removed entities, and unchanged entities of the entity set provider. The change data regarding changed entities can include information regarding new attributes, changed attributes, removed attributes, and unchanged attributes of the changed entities. The first data provider can be an entity provider that provides attribute data for a first entity. The change data can include information regarding new attributes, changed attributes, removed attributes, and unchanged attributes. The change data can be provided to a large language model. A human-readable description of the change data can be received from the large language model. The human-readable description of the change data can be provided to the first subscriber.

[0005] While generally described as computer-implemented software embodied on tangible media that processes and transforms the respective data, some or all of the aspects may be computer-implemented methods or further included in respective systems or other devices for performing this described functionality. The details of these and other aspects and embodiments of the present disclosure are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the disclosure will be apparent from the description and drawings, and from the claims.DESCRIPTION OF DRAWINGS

[0006] FIG. 1 is a block diagram illustrating an example system for a data model agnostic comparison engine.

[0007] FIG. 2 illustrates an example system for centralized change tracking.

[0008] FIG. 3 illustrates an example class model.

[0009] FIG. 4 illustrates an example data structure for communicating entity changes.

[0010] FIG. 5 illustrates an example process for provider registration.

[0011] FIG. 6 illustrates an example process for subscriber registration.

[0012] FIG. 7 illustrates an example process for cache entry creation.

[0013] FIG. 8 illustrates an example process for requesting provider data changes.

[0014] FIG. 9 is a diagram that illustrates example cache entries.

[0015] FIG. 10 is a state diagram showing different cache states.

[0016] FIG. 11 illustrates example utility code.

[0017] FIGS. 12-15 illustrate example code for an entity set provider.

[0018] FIG. 16 illustrates example code for an entity provider.

[0019] FIG. 17 is a flowchart of an example method for a data model agnostic comparison engine.DETAILED DESCRIPTION

[0020] Software products may have a feature that informs users of certain data values that have changed since a last event, such as since a last login, since a previous time point (e.g., yesterday), or since some other event or milestone. For example, an application may show latest updates for important collaborations of a user, price or availability changes of products a user may have been interested in, changes to documents or objects associated with the user, etc. Existing implementations of these change communication features may be highly coupled to a particular data model. For example, an application that detects changes to products in a user's shopping cart may be tightly coupled to a data model related to shopping cart items. Such change tracking implementations are generally not reusable in other contexts.

[0021] To provide improved efficiency and reuse for developing change tracking across different contexts, generic change tracker functionality can be provided by a change tracker service which can track changes for any data model provided by any provider in a centralized manner. The change tracker service can provide numerous advantages. The change tracker service is agnostic with respect to data model that are tracked, whereas other solutions are tightly coupled with a certain data model and can only track changes for that data model which those other solutions are designed.

[0022] Furthermore, the change tracker service can also support custom providers and custom attributes for complex or dynamic scenarios. The change tracker service provides change data in a format which can be fed to any large Language model (LLM) without any enrichment or additional effort. Additionally, the change tracker service can use secure approaches by performing authorization checks and data model validation before providing data to any external parties. The change tracker service can automatically process and manage configurable data caches will flexibly supporting any type of cache storage. Other details and benefits are described below.

[0023] FIG. 1 is a block diagram illustrating an example system 100 for a data model agnostic comparison engine. Specifically, the illustrated system 100 includes or is communicably coupled with a server 102, a client device 104, a subscriber 105, a provider 106, and a network 108. Although shown separately, in some implementations, functionality of two or more systems or servers may be provided by a single system or server. In some implementations, the functionality of one illustrated system, server, or component may be provided by multiple systems, servers, or components, respectively.

[0024] The system 100 enables subscribers to subscribe to data changes for providers. A central change tracker service 110 (which can run or be hosted on the server 102, for example) can manage and provide change tracking services for providers and subscribers. The central change tracker service 110 can flexibly handle providers that have any type of data model.

[0025] Providers and subscribers may be of a form of or included in different applications or services and may run on different machines or in different environments. For instance, in some cases, a provider service 112 may run, e.g., in a cloud environment, also on the server 102 (or on another server or as another service of a cloud implementation, providing data managed by a central server or cloud service, for example). Similarly, a subscriber application 114 may be a server-based application or service interested in data changes from a provider, such as the provider service 112 or another provider. However, although, the change tracker service 110, the provider service 112, and the subscriber application 114 may all be server-based from a same server or server system, implementations may anticipate that the change tracker service 110 manages change tracking for provider and subscribers that are external to the server 102 and the change tracker service 110.

[0026] For example, a subscriber application 116 running on the subscriber 105 (e.g., where the subscriber 105 is separate from the server 102) may be interested in changes in provider data 118 of the provider 106 (e.g., where the provider 106 may also be separate from the server 102). The change tracker service 110 can interact with the subscriber application 116 and a provider service 120 of the provider 106. As another example, an application 122 running on the client device 104 may be or include a subscriber component that interacts with the change tracker service (e.g., for receiving change data regarding changes in the provider data 118 or data of some other provider).

[0027] Providers and subscribers can each register with the change tracker service 110 and the server 102 may, accordingly, store and manage certain sets of provider information 124, subscriber information 126, and caches 128 of provider data. The change tracker service 110 can enables subscribers to receive information regarding changes in provider data. In some implementations, the change tracker service 110 may use an LLM (Large Language Model) 130 to describe changes, in human-readable form, to provider data.

[0028] As a particular example, suppose an online retailer desires to develop a feature that enables users to track price trends for products users have added to a wish list. Such a feature may be useful in different types of applications, such as different mobile applications of different mobile devices, desktop applications, website applications, etc. In this example, the application 122 may be a particular type of mobile application and the client device 104 may be a particular type of mobile device. The application 122 can be a subscriber in this example. Other types of subscribers can be other applications or services that are interested in or may use price trends for user wish list items. In this example, the provider 106 may be a retailer server that stores and manages prices of items sold online by the retailer. The retailer server and the application 122 can each register with the change tracker service 110, as a provider and a subscriber, respectively.

[0029] A given user may open the application 122 (e.g., a given instance of the mobile application) and open a user wish list. The application 122 can request and receive portions of the provider data 118 that includes prices of the items in the user wish list. The application 122 can, to enable subsequent calculation and presentation of price trends, send a cache entry creation request to the change tracker service 110 to store, as a new cache entry, price data for the wish list items. The change tracker service 110 can store the price data for the wish list items as a new cache entry in a subscriber cache in the caches 128. The application 122 can perform other price data retrievals and cache create requests in response to other user viewings of wish list items.

[0030] The user may select, for example, a price trends button in the application 122 to request price trend data for wish list items. The application 122 can send a get-changes request to the change tracker service 110 to compare current and historical prices of wish list items. The change tracker service 110 can retrieve a previously-created cache entry for the application 122 and latest data from the provider 106, generate change data by comparing the previously-created cache entry with the latest data, and return the change data to the application 122, for presentation in the application 122 as price trend data, for example. The application 122 in this example is decoupled from a responsibility to calculate change data for retailer price data for wish list items. Rather, the application 122 and other subscribers can leverage the change tracker service 110 for such change data calculation.

[0031] As used in the present disclosure, the term “computer” is intended to encompass any suitable processing device. For example, although FIG. 1 illustrates a single server 102, and a single client device 104, the system 100 can be implemented using a single, stand-alone computing device, two or more servers 102, or two or more client devices 104. Indeed, the server 102 and the client device 104 may be any computer or processing device such as, for example, a blade server, general-purpose personal computer (PC), Mac®, workstation, UNIX-based workstation, or any other suitable device. In other words, the present disclosure contemplates computers other than general purpose computers, as well as computers without conventional operating systems. Further, the server 102 and the client device 104 may be adapted to execute any operating system, including Linux, UNIX, Windows, Mac OS®, Java™, Android™, iOS or any other suitable operating system. According to one implementation, the server 102 may also include or be communicably coupled with an e-mail server, a Web server, a caching server, a streaming data server, and / or other suitable server. Although the system 100 illustrates a single subscriber 105 and a single provider 106, the system 100 can include multiple instances of providers and subscribers.

[0032] Interfaces 150, 152, 154, and 156 are used by the client device 104, the subscriber, the provider 106, and the server 102, respectively, for communicating with other systems in a distributed environment—including within the system 100—connected to the network 108. Generally, the interfaces 150, 152, 154, and 156 each comprise logic encoded in software and / or hardware in a suitable combination and operable to communicate with the network 108. More specifically, the interfaces 150, 152, 154, and 156 may each comprise software supporting one or more communication protocols associated with communications such that the network 108 or interface's hardware is operable to communicate physical signals within and outside of the illustrated system 100.

[0033] The server 102 includes one or more processors 158. Each processor 158 may be a central processing unit (CPU), a blade, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or another suitable component. Generally, each processor 158 executes instructions and manipulates data to perform the operations of the server 102. Specifically, each processor 158 executes the functionality required to receive and respond to requests from the client device 104, the subscriber 105, and / or the provider 106, for example.

[0034] Regardless of the particular implementation, “software” may include computer-readable instructions, firmware, wired and / or programmed hardware, or any combination thereof on a tangible medium (transitory or non-transitory, as appropriate) operable when executed to perform at least the processes and operations described herein. Indeed, each software component may be fully or partially written or described in any appropriate computer language including C, C++, Java™, JavaScript®, Visual Basic, assembler, Python, Perl®, any suitable version of 4GL, as well as others. While portions of the software illustrated in FIG. 1 are shown as individual modules that implement the various features and functionality through various objects, methods, or other processes, the software may instead include a number of sub-modules, third-party services, components, libraries, and such, as appropriate. Conversely, the features and functionality of various components can be combined into single components as appropriate.

[0035] The server 102 includes memory 160. In some implementations, the server 102 includes multiple memories. The memory 160 may include any type of memory or database module and may take the form of volatile and / or non-volatile memory including, without limitation, magnetic media, optical media, random access memory (RAM), read-only memory (ROM), removable media, or any other suitable local or remote memory component. The memory 160 may store various objects or data, including caches, classes, frameworks, applications, backup data, business objects, jobs, web pages, web page templates, database tables, database queries, repositories storing business and / or dynamic information, and any other appropriate information including any parameters, variables, algorithms, instructions, rules, constraints, or references thereto associated with the purposes of the server 102.

[0036] The client device 104 may generally be any computing device operable to connect to or communicate with the server 102 via the network 108 using a wireline or wireless connection. In general, the client device 104 comprises an electronic computer device operable to receive, transmit, process, and store any appropriate data associated with the system 100 of FIG. 1. The client device 104 can include one or more client applications, including the application 122. A client application is any type of application that allows the client device 104 to request and view content on the client device 104. In some implementations, a client application can use parameters, metadata, and other information received at launch to access a particular set of data from the server 102. In some instances, a client application may be an agent or client-side version of the one or more enterprise applications running on an enterprise server (not shown).

[0037] The client device 104 further includes one or more processors 162. Each processor 162 included in the client device 104 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or another suitable component. Generally, each processor 162 included in the client device 104 executes instructions and manipulates data to perform the operations of the client device 104. Specifically, each processor 162 included in the client device 104 executes the functionality required to send requests to the server 102 and to receive and process responses from the server 102.

[0038] The client device 104 is generally intended to encompass any client computing device such as a laptop / notebook computer, wireless data port, smart phone, personal data assistant (PDA), tablet computing device, one or more processors within these devices, or any other suitable processing device. For example, the client device 104 may comprise a computer that includes an input device, such as a keypad, touch screen, or other device that can accept user information, and an output device that conveys information associated with the operation of the server 102, or the client device 104 itself, including digital data, visual information, or a GUI (Graphical User Interface) 164.

[0039] The GUI 164 of the client device 104 interfaces with at least a portion of the system 100 for any suitable purpose, including generating a visual representation of the application 122. In particular, the GUI 164 may be used to view and navigate various Web pages, or other user interfaces. Generally, the GUI 164 provides the user with an efficient and user-friendly presentation of business data provided by or communicated within the system. The GUI 164 may comprise a plurality of customizable frames or views having interactive fields, pull-down lists, and buttons operated by the user. The GUI 164 contemplates any suitable graphical user interface, such as a combination of a generic web browser, intelligent engine, and command line interface (CLI) that processes information and efficiently presents the results to the user visually.

[0040] Memory 166 included in the client device 104 may include any memory or database module and may take the form of volatile or non-volatile memory including, without limitation, magnetic media, optical media, random access memory (RAM), read-only memory (ROM), removable media, or any other suitable local or remote memory component. The memory 166 may store various objects or data, including user selections, caches, classes, frameworks, applications, backup data, business objects, jobs, web pages, web page templates, database tables, repositories storing business and / or dynamic information, and any other appropriate information including any parameters, variables, algorithms, instructions, rules, constraints, or references thereto associated with the purposes of the client device 104.

[0041] There may be any number of client devices 104 associated with, or external to, the system 100. For example, while the illustrated system 100 includes one client device 104, alternative implementations of the system 100 may include multiple client devices 104 communicably coupled to the server 102 and / or the network 108, or any other number suitable to the purposes of the system 100. Additionally, there may also be one or more additional client devices 104 external to the illustrated portion of system 100 that are capable of interacting with the system 100 via the network 108. Further, the term “client”, “client device” and “user” may be used interchangeably as appropriate without departing from the scope of this disclosure. Moreover, while the client device 104 is described in terms of being used by a single user, this disclosure contemplates that many users may use one computer, or that one user may use multiple computers.

[0042] FIG. 2 illustrates an example system 200 for centralized change tracking. A change tracker service 202 can provide centralized change tracking for providers 204 and subscribers 206.

[0043] Providers 204, such as a provider 204a, can be any data source provider for which change tracking is desired. The provider 204a can register with the change tracker service 202, as described below.

[0044] Subscribers 206, such as a subscriber 206a, can be an application or component interested in changes in data of a provider such as the provider 204a. The subscriber 206a may wish to present information about changed data from the provider 204a, for example. The subscriber 206a can register with the change tracker service 202, as described below.

[0045] The change tracker service 202 can store subscriber information 208 (e.g., from subscriber registrations), provider information 210 (e.g., from provider registrations), and caches 212 of provider data, as described below. In some implementations, the system 200 may include a LLM (Large Language Model) 214, which can be used, for example, to generate human-readable descriptions of changes to provider data.

[0046] FIG. 3 illustrates an example class model 300. The class model 300 includes classes that represent items described above for the system 200. A Provider class 302 represents providers 204, for example. Provider instances may be of a concrete class of an EntitySetProvider 304 (e.g., representing data sources that return lists of entity instances), an EntityProvider 306 (e.g., representing data sources that return single entity instances), or a CustomProvider 308 (e.g., representing a custom data source for which a user of the system has provided a custom implementation (e.g., implementing required interfaces of the Provider class 302). Provider class 302 instances can implement a fetchData method 310, a getChanges method 312, and a validate method 314.

[0047] Provider class 302 instances can provide attributes, represented by an Attribute class 316. An instance of the CustomProvider class 308 can provide instances of a CustomAttribute class 318. Provider class 302 instances can define key attributes, required attributes, and additional attributes, as described in more detail below.

[0048] A Subscriber class 320 represents subscribers 206. A Subscriber class 320 instance can register with the central change tracker service for a certain Provider class 302 instance (e.g., by providing a provider identifier) and request a cache of a certain size. Accordingly, a Subscriber class instance 320 may be associated with a cache-size number of instances of a Cache class 322. Users of a Subscriber class 320 instance can invoke a getChanges method 324 to receives changes between two instances of provider data (e.g., between live data and most recent cache entry, live data and some other cache entry, two cache entries).

[0049] When the provider corresponds to an instance of the EntitySetProvider class 304, changes can include added entities (e.g., a list of entities that have been added or created), deleted entities (e.g., a list of entities that have been deleted or removed), changed entities (e.g., a list of entities that have been modified or updated along with respective changes), and unchanged entities (e.g., a list of entities that have not been changed). When the provider corresponds to an instance of the EntityProvider class 306, changes can include a list of attributes whose values have been modified or updated.

[0050] FIG. 4 illustrates an example data structure 400 for communicating entity changes. The data structure 400 can be used when reporting changes for an entity set provider (e.g., to communicate, for entities that have been changed, which attribute values have changed (e.g., as indicated by attribute keys 402), with corresponding old and new values 404). The data structure 400 can also be used when reporting changes for an entity provider, to communicate which attribute values have changed between versions of an entity, with respective old and new attribute values for those versions.

[0051] FIG. 5 illustrates an example process 500 for provider registration. At 502, a provider 504 registers with a change tracker service 506. When registering, the provider 502 can provide a URL (Uniform Resource Locator) of a data source of the provider 502 that can be used by the change tracker service 506 to fetch live data from the data source.

[0052] The provider 502 can also provide attribute information for attributes of the data source, including key attribute information of one or more key attributes that can uniquely identify an entity instance, required attribute information that specifies an array of required attributes that should not include a null value, and additional attribute information for additional attributes that may be provided by the provider 502.

[0053] At 508, the change tracker service 506 can use the provided URL to perform an authorization check and a sample data fetch from a provider server 509 that hosts the data source of the provider. For example, the change tracker service 506 can perform an authorization check using credentials provided by the provider 502 when the provider registered with the change tracker service 506. At 510, the provider server 509 sends requested sample data to the change tracker service 506.

[0054] At 512, the change tracker service 506 validates the sample data fetch and the authorization check (e.g., to determine if sample data was able to be successfully requested and received, if the data has previously-described key attributes and mandatory attributes, etc.). If a result of the validation is a true / pass result 514 (e.g., if the sample data fetch and authorization check are successful), the change tracker service 506 can generate a provider identifier for the provider 504. At 516, the change tracker service 506 sends the provider identifier to the provider 504.

[0055] FIG. 6 illustrates an example process 600 for subscriber registration. At 602, a subscriber 604 registers with a change tracker service 606. The subscriber 604 can register for a particular provider 607 (e.g., by providing a provider identifier of the provider 607). The subscriber 604 may know the provider identifier based on the provider 607 publicizing the provider identifier after the provider 607 has registered with the change tracker service 606.

[0056] When registering, the subscriber 602 can provide a cache size value to the change tracker service 606. The cache size value can inform the change tracker service 606 how many cache instances of provider data can concurrently be stored for the subscriber 604 by the change tracker service 606. In some cases, the subscriber 604 can specify which provider properties the subscriber 604 wishes to track.

[0057] At 608, the change tracker service 606 requests metadata from the provider 607. The metadata can include technical details of properties offered by the provider. In some implementations, the metadata can be OData metadata.

[0058] At 612, the provider 607 sends requested metadata to the change tracker service 606.

[0059] At 614, the change tracker service 506 performs a validation process. The validation process can include, for example, determining whether properties that the subscriber 604 asked to track are actually properties offered by the provider.

[0060] If a result of the validation is a true / pass result 616, the change tracker service 606 can generate a subscriber identifier for the subscriber 604. At 618, the change tracker service 606 sends the subscriber identifier to the subscriber 604.

[0061] FIG. 7 illustrates an example process 700 for cache entry creation. A subscriber 702 can create cache entries of data the subscriber 702 has received relative to a provider 704 (e.g., the subscriber 702 may have previously received provider data from a provider server).

[0062] At 706, the subscriber 702 can send a create cache entry request to a change tracker service 708, where the request includes provider data previously obtained by the subscriber 702.

[0063] At 710, the change tracker service 708 sends a validation request to the provider 704. As above, the validation process can include, for example, determining whether properties that the subscriber 702 asked to track are actually properties offered by the provider 704.

[0064] At 712, the provider 704 provides an indication (e.g., a “True” value) to the change tracker service 708 indicating that the validation was successful.

[0065] At 714, the change tracker service 708 performs an enqueue operation to add the provider data received from the subscriber 702 to a cache of the subscriber 702. The enqueue operation in this example returns a result of Success 716.

[0066] At 718, the change tracker service 708 sends an indication of success to the subscriber 702 regarding success of creating a cache entry for the subscriber 702. The subscriber 702 may, at different times, send other create requests for creating additional cache entries. At a later point in time, the subscriber 702 may send a request to the change tracker service 708 for the change tracker service 708 to determine changes between different cache entries or between a cache entry and live / current data of the provider 704, as described below for FIG. 8.

[0067] FIG. 8 illustrates an example process 800 for requesting provider data changes. At 802, a subscriber 804 sends a get-changes request to a change tracker service 806 for changes between versions of provider data. The get-changes request can be for changes between two specified cache entries. As another example, and as shown in FIG. 8, the get-changes request can be for changes between a most-recent cache entry and current live provider data.

[0068] At 808, the change tracker service 806 sends a request to fetch live data from a provider server 810 of the provider.

[0069] At 812, the provider server 810 provides the requested live data to the change tracker service 806.

[0070] At 814, the change tracker service 806 executes a fetch-cache operation to retrieve a cache entry from the subscriber cache. For instance, in this example, a most-recent cache entry can be retrieved, as cache data 816.

[0071] At 818, the change tracker service 806 performs a get-changes operation to determine changes 820 between the cache data 816 and the live data received from the provider server 810. At 822, the change tracker service 806 sends a copy of the changes 820 to the subscriber 804.

[0072] FIG. 9 is a diagram 900 that illustrates example cache entries. The cache entries can be stored in or as a cyclic queue. Arrows of a dashed style, such as that of an arrow 902, illustrate the front of the queue (e.g., a most-recent entry). Arrows of a solid style, such as that of an arrow 904, illustrate the back of the queue (e.g., an oldest entry). In this example, a cache size of three has been configured (e.g., for a subscriber).

[0073] In a stage 906, a first enqueue operation results in a Cache 1 entry 908a being added to the queue. The Cache1 entry 908a is both the front and rear of the queue. In a stage 910, a second enqueue operation results in a Cache2 entry 912a being added to the queue. The Cache2 entry 912a is the front of the queue and a Cache1 entry 908b (corresponding to the Cache1 entry 908a) is the rear of the queue.

[0074] In a stage 914, a third enqueue operation results in a Cache3 entry 916a being added to the queue. The Cache3 entry 916a is the front of the queue and a Cache1 entry 908c (corresponding to the Cache1 entries 908a and 908b) is the rear of the queue. The queue is now full with three entries.

[0075] In a stage 918, a fourth enqueue operation results in a Cache4 entry 920a being added to the queue by overwriting the Cache1 entry 908c. The Cache4 entry 920a is now the front of the queue and a Cache2 entry 912c (corresponding to the Cache2 entry 912a and a Cache2 entry 912b) is the rear of the queue. By overwriting a cache entry, the queue size remains at the maximum size of three.

[0076] In a stage 922, a fifth enqueue operation results in a Cache5 entry 924a being added to the queue by overwriting the Cache2 entry 912c. The Cache5 entry 924a is now the front of the queue and a Cache3 entry 916c (corresponding to the Cache3 entry 916a and a Cache3 entry 916b) is the rear of the queue. As before, by overwriting a cache entry, the queue size remains at the maximum size of three.

[0077] FIG. 10 is a state diagram 1000 showing different cache states. A cache may have an initial state of empty 1002. The cache may transition to a valid state 1004 in response to a cache create action 1006. Various scenarios may cause the cache to enter a deleted state 1008. For example, the cache may transition to the deleted state 1008 in response to a provider re-registration action 1010, a user having lost access to a provider system 1012 (e.g. and the system detecting this after a period of time), a user offboarding from the system 1013, a subscriber de-registers a provider 1014, or a user has lost access to a subscriber application 1016 (e.g. and the system detecting this after a period of time).

[0078] FIGS. 11-17 illustrate example code for both entity set providers and entity providers.

[0079] FIG. 11 illustrates example utility code 1100. The utility code 1100 includes code for a getKeyString utility function 1102 that can be used in other code for entity set and entity providers. The getKeyString utility function 1102 returns a string that is a concatenation of key values of an input parameter.

[0080] FIG. 12 illustrates example code 1200 for an entity set provider. The code 1200 includes a first portion of a definition of a getChanges function 1202. The first portion includes code for determining added entities in an addedEntities variable 1204.

[0081] FIG. 13 illustrates example code 1300 for an entity set provider. The code 1300 is a continuation of code for the getChanges function 1202. The code 1300 includes code for determining deleted entities in a deletedEntities variable 1302 and common entities in a commonEntities variable 1304.

[0082] FIG. 14 illustrates example code 1400 for an entity set provider. The code 1400 is a continuation of code for the getChanges function 1202. The code 1400 includes code for determining changed entities in a changedEntities variable 1402.

[0083] FIG. 15 illustrates example code 1500 for an entity set provider. The code 1500 is a conclusion of code for the getChanges function 1202. The code 1500 includes code for determining unchanged entities in an unchangedEntities variable 1502. The code 1500 also includes code 1504 for returning added entities, deleted entities, changed entities, and unchanged entities using variables populated with data in other portions of the getChanges function 1202, as described above.

[0084] FIG. 16 illustrates example code 1600 for an entity provider. The code 1600 includes code for a getChanges function 1602 that determines changes between different instances of an entity.

[0085] FIG. 17 is a flowchart of an example method for a data model agnostic comparison engine. It will be understood that method 1700 and related methods may be performed, for example, by any suitable system, environment, software, and hardware, or a combination of systems, environments, software, and hardware, as appropriate. For example, one or more of a client, a server, or other computing device can be used to execute method 1700 and related methods and obtain any data from the memory of a client, the server, or the other computing device. In some implementations, the method 1700 and related methods are executed by one or more components of the system 100 described above with respect to FIG. 1. For example, the method 1700 and related methods can be executed by the change tracker service 110 of FIG. 1.

[0086] At 1702, a central change tracker service receives, from a first subscriber that has subscribed to the central change tracker service for changes in provider data of a first data provider, a request to create a cache entry at the central change tracker service for a first set of provider data of the first data provider. The central change tracker service can validate the request to create the cache entry. The first data provider can be an entity set provider that provides data for a set of multiple entities or an entity provider that provides attribute data for a first entity.

[0087] Before the request to create the cache entry is received, the central change tracker service can receive a provider registration request from the first data provider and a subscriber registration request from the first subscriber. The provider registration request can include descriptions of attributes provided by the first data provider and a reference to a data source from which the provider data of the first data provider can be obtained. The subscriber registration request can include a provider identifier of the first data provider and a maximum cache size for the cache of the first subscriber.

[0088] A first application can register, as the first subscriber, and the first application can also register with the central change tracker service, as a second subscriber, for changes in provider data of a second data provider that is different from the first data provider. A second application can register, as a third subscriber, for changes in provider data of the first data provider, where the second application is different from the first application.

[0089] At 1704, the first set of provider data is enqueued as the cache entry in a cache for the first subscriber at the central change tracker service. The cache can be a cyclic cache in which entries are overwritten after more than a maximum cache size number of cache entries have been enqueued in the cache.

[0090] At 1706, the central change tracker service receives, from the first subscriber, a request for change data describing changes in provider data of the first data provider.

[0091] At 1708, current provider data of the first data provider is retrieved from the first data provider. The central change tracker service can retrieve the current provider data of the first data provider using the reference to the data source.

[0092] At 1710, a retrieved cache entry for the first subscriber is retrieved from the cache. The retrieved cache entry can be a most recent cache entry in the cache or a cache entry specified by the first subscriber.

[0093] At 1712, change data is determined that describes changes between the current provider data of the first data provider and the retrieved cache entry. When the first data provider is an entity set provider, the change data can include information regarding new entities, changed entities, removed entities, and unchanged entities of the entity set provider. The change data regarding changed entities can include information regarding new attributes, changed attributes, removed attributes, and unchanged attributes of the changed entities.

[0094] When the first data provider is an entity set provider, the change data can include information regarding new attributes, changed attributes, removed attributes, and unchanged attributes. The central change tracker service can provide the change data to a large language model, receive a human-readable description of the change data from the large language model, and provide the human-readable description of the change data to the first subscriber.

[0095] At 1714, the change data is provided to the first subscriber.

[0096] The central change tracker service can receive a second request for change data that includes first and second ranks identifying first and second cache entries of the cache. The central change tracker service can retrieve the first and second cache entries from the cache, determine second change data that describes changes between the first and second cache entries, and provide the second change data to the first subscriber in response to the second request.

[0097] The preceding figures and accompanying description illustrate example processes and computer-implementable techniques. But system 100 (or its software or other components) contemplates using, implementing, or executing any suitable technique for performing these and other tasks. It will be understood that these processes are for illustration purposes only and that the described or similar techniques may be performed at any appropriate time, including concurrently, individually, or in combination. In addition, many of the operations in these processes may take place simultaneously, concurrently, and / or in different orders than as shown. Moreover, system 100 may use processes with additional operations, fewer operations, and / or different operations, so long as the methods remain appropriate.

[0098] In other words, although this disclosure has been described in terms of certain embodiments and generally associated methods, alterations and permutations of these embodiments and methods will be apparent to those skilled in the art. Accordingly, the above description of example embodiments does not define or constrain this disclosure. Other changes, substitutions, and alterations are also possible without departing from the spirit and scope of this disclosure.

Claims

1. A computer-implemented method comprising:receiving, at a central change tracker service and from a first subscriber application that has subscribed to the central change tracker service for changes in provider data of a first data provider, a request to create a cache entry at the central change tracker service for a first set of provider data of the first data provider;enqueuing the first set of provider data as the cache entry in a cache for the first subscriber application at the central change tracker service;receiving, at the central change tracker service and from the first subscriber application, a request for change data describing changes in provider data of the first data provider between current provider data of the first data provider and the cache entry;retrieving, from the first data provider, current provider data of the first data provider;retrieving, from the cache, a retrieved cache entry for the first subscriber application;determining requested change data that describes changes between the current provider data of the first data provider and the retrieved cache entry; andproviding the requested change data to the first subscriber application.

2. The computer-implemented method of claim 1, further comprising receiving, before the request to create the cache entry, a provider registration request from the first data provider and a subscriber registration request from the first subscriber application.

3. The computer-implemented method of claim 2, wherein the provider registration request includes descriptions of attributes provided by the first data provider and a reference to a data source from which the provider data of the first data provider can be obtained.

4. The computer-implemented method of claim 3, wherein the central change tracker service retrieves the current provider data of the first data provider using the reference to the data source.

5. The computer-implemented method of claim 2, wherein the subscriber registration request includes a provider identifier of the first data provider and a maximum cache size for the cache of the first subscriber application.

6. The computer-implemented method of claim 5, wherein the cache is a cyclic cache in which entries are overwritten after more than a maximum cache size number of cache entries have been enqueued in the cache.

7. The computer-implemented method of claim 2, wherein the first subscriber application registers with the central change tracker service for changes in provider data of a second data provider that is different from the first data provider.

8. The computer-implemented method of claim 7, wherein a second subscriber application registers for changes in provider data of the first data provider, wherein the second subscriber application is different from the first subscriber application.

9. The computer-implemented method of claim 1, wherein the retrieved cache entry is a most recent cache entry in the cache.

10. The computer-implemented method of claim 9, further comprising:receiving, at the central change tracker service and from the first subscriber application, a second request for change data, wherein the second request includes first and second ranks identifying first and second cache entries of the cache;retrieving the first and second cache entries from the cache;determining second change data that describes changes between the first and second cache entries; andproviding the second change data to the first subscriber application in response to the second request.

11. The computer-implemented method of claim 1, further comprising validating the request to create the cache entry.

12. The computer-implemented method of claim 1, wherein the first data provider is an entity set provider that provides data for a set of multiple entities.

13. The computer-implemented method of claim 12, wherein the change data comprises information regarding new entities, changed entities, removed entities, and unchanged entities of the entity set provider.

14. The computer-implemented method of claim 13, wherein the change data regarding changed entities comprises information regarding new attributes, changed attributes, removed attributes, and unchanged attributes of the changed entities.

15. The computer-implemented method of claim 1, wherein the first data provider is an entity provider that provides attribute data for a first entity.

16. The computer-implemented method of claim 15, wherein the change data comprises information regarding new attributes, changed attributes, removed attributes, and unchanged attributes.

17. The computer-implemented method of claim 16, further comprising:providing the change data to a large language model;receiving a human-readable description of the change data from the large language model; andproviding the human-readable description of the change data to the first subscriber application.

18. A system comprising:one or more computers; anda computer-readable medium coupled to the one or more computers having instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:receiving, at a central change tracker service and from a first subscriber application that has subscribed to the central change tracker service for changes in provider data of a first data provider, a request to create a cache entry at the central change tracker service for a first set of provider data of the first data provider;enqueuing the first set of provider data as the cache entry in a cache for the first subscriber application at the central change tracker service;receiving, at the central change tracker service and from the first subscriber application, a request for change data describing changes in provider data of the first data provider between current provider data of the first data provider and the cache entry;retrieving, from the first data provider, current provider data of the first data provider;retrieving, from the cache, a retrieved cache entry for the first subscriber application;determining requested change data that describes changes between the current provider data of the first data provider and the retrieved cache entry; andproviding the requested change data to the first subscriber application.

19. The system of claim 18, wherein the operations further comprise receiving, before the request to create the cache entry, a provider registration request from the first data provider and a subscriber registration request from the first subscriber application.

20. A computer program product encoded on a non-transitory storage medium, the product comprising non-transitory, computer readable instructions for causing one or more processors to perform operations comprising:receiving, at a central change tracker service and from a first subscriber application that has subscribed to the central change tracker service for changes in provider data of a first data provider, a request to create a cache entry at the central change tracker service for a first set of provider data of the first data provider;enqueuing the first set of provider data as the cache entry in a cache for the first subscriber application at the central change tracker service;receiving, at the central change tracker service and from the first subscriber application, a request for change data describing changes in provider data of the first data provider between current provider data of the first data provider and the cache entry;retrieving, from the first data provider, current provider data of the first data provider;retrieving, from the cache, a retrieved cache entry for the first subscriber application;determining requested change data that describes changes between the current provider data of the first data provider and the retrieved cache entry; andproviding the requested change data to the first subscriber application.