Generating Software Artifacts from Conceptual Data Models

A system automates the generation of software artifacts from a single conceptual data model, addressing the challenge of maintaining software artifacts across diverse platforms and storage mechanisms by using metadata to create platform-specific models and tools, enhancing efficiency and reducing manual updates.

JP7548673B2Active Publication Date: 2024-09-10SALESFORCE INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021505417
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-08-27
Filing Date
2020-08-27
Publication Date
2024-09-10
Estimated Expiration
2040-08-27

AI Technical Summary

Technical Problem

Organizations face significant burdens in creating and maintaining software artifacts across multiple platforms and data stores due to unique requirements and frequent changes in conceptual data models, leading to time and resource-intensive manual updates.

Method used

A system that generates software artifacts from a single conceptual data model, utilizing metadata to automate the creation of platform-specific logical and physical data models, deployment tools, and documentation, enabling seamless operation across diverse storage mechanisms.

Benefits of technology

Facilitates efficient and automated generation of software artifacts, reducing manual effort and ensuring timely updates across all integrated platforms and storage mechanisms, thereby optimizing resource utilization and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007548673000002
    Figure 0007548673000002
  • Figure 0007548673000003
    Figure 0007548673000003
  • Figure 0007548673000004
    Figure 0007548673000004
Patent Text Reader

Abstract

Disclosed herein are embodiments of a system, method, and computer program product for generating software artifacts operable across a wide variety of platforms from a single conceptual data model. The conceptual data model can be enriched with metadata that enables the creation of platform-specific logical data models, which contain additional metadata that is leveraged to create deployable software artifacts. An organization can later modify the conceptual data model, and all associated software artifacts can be updated and redeployed across all integrated platforms. Such conceptual data models further facilitate the creation of documentation describing data entities in an organization's technical infrastructure, the creation of mapping files for use by data exchange systems, and the processing of federated queries that aggregate data from multiple data stores across a data landscape.
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] [CROSS REFERENCE TO OTHER APPLICATIONS] This application claims priority to U.S. patent application Ser. No. 16 / 552,755, filed Aug. 27, 2019, and entitled “GENERATING SOFTWARE ARTIFACTS FROM A CONCEPTUAL DATA MODEL,” which is incorporated herein by reference for all purposes.

[0002] [Background technology] Organizations may adopt data models to represent the information used within their technical systems. Data models serve as abstractions that allow organizations to better manage, control, and organize data, improve and enhance interactions between systems, and create better documentation. Organizations may build and represent these data models using entity-relationship diagrams, XML schemas, or other appropriate constructs that define the architecture while decoupling the representation from a specific physical storage implementation or solution. These data models may serve as valuable references for engineers within the organization and may be deployed, utilized, and leveraged in the context of a variety of programs that address diverse use cases. [Brief description of the drawings]

[0003] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present disclosure and, together with the description, further serve to explain the principles of the present disclosure and to enable those skilled in the art to make and use the embodiments. [Figure 1] FIG. 1 is a block diagram of an environment including a conceptual data model, according to some embodiments. [Diagram 2] FIG. 1 is a block diagram of an architecture including a data modeling tool, according to some embodiments. [Diagram 3]1 is a flowchart illustrating a method for creating software artifacts based on a conceptual data model, according to some embodiments. [Figure 4] 1 is a flowchart illustrating a method for generating developer documentation based on a conceptual data model according to some embodiments. [Diagram 5] 1 is an exemplary computer system useful for implementing various embodiments.

[0004] In the drawings, like reference numbers generally indicate the same or similar elements. Further, the leftmost digit(s) of a reference number generally identifies the drawing in which that reference number first appears. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0005] Provided herein are embodiments of systems, apparatus, devices, methods, and / or computer program products, and / or combinations and subcombinations thereof, that generate software artifacts operable across a wide variety of platforms from a single conceptual data model.

[0006] A conceptual data model can represent data used in an organization's technology landscape. Such a technology landscape may include various software applications, systems, and tools that utilize, incorporate, and depend on various types of data. The software applications may run on different platforms and be hosted in different environments, and the data used by the software applications may be housed in different data stores (e.g., databases, data lakes, text files, etc.). The conceptual data model can catalog data across these data sources and map it to a centralized location. An organization can create such a conceptual data model using any appropriate data modeling technique, interface, or tool, and those skilled in the art will understand that a wide range of techniques generally exist for creating data models.

[0007] An organization may house, store, and access data in, on, and / or across one or more cloud service platforms. These platforms may offer diverse functionalities and different storage mechanisms for housing the organization's data. Such platforms have advantages and disadvantages compared to other platforms, and therefore different platforms may be better suited for the particular data-driven applications used by the organization. Thus, an organization may employ multiple cloud service platforms across its technology landscape. An organization may also house data and run applications on internally managed servers, e.g., in a data center, a hosting facility, at an office, etc., which may be referred to as platforms in the following disclosure.

[0008] A platform may accommodate a variety of storage mechanisms. For example, some platforms may provide / include a relational database, a graph database, a columnar database, an in-memory database, a NoSQL database, a key-value store, a data lake, or other suitable storage mechanisms for storing data. Furthermore, multiple solutions, products, approaches, etc. may be offered to meet or provide these storage mechanisms. For example, an organization may be able to choose between a particular relational database on a particular platform.

[0009] Organizations can create conceptual data models that describe applications and data across these platforms and data storage mechanisms. The abstraction provided by conceptual data models provides several practical advantages. For example, conceptual data models may serve as a reference for engineers within an organization. Organizations may further employ conceptual data models, once developed, in various programmatic contexts and use cases. For example, organizations can use conceptual data models to create, deploy, and maintain physical entities (e.g., actual tables, files, etc.), logical data models, and physical data models. Organizations can create software artifacts, such as data definition language (DDL) scripts and data manipulation language (DML) scripts, to instantiate, create, and maintain these entities across the data landscape.

[0010] However, when an organization leverages multiple platforms, each platform may have unique requirements and protocols that software artifacts must adhere to. The organization may need to develop a large number of software artifacts to cover every integrated platform and every storage mechanism used by those platforms. Furthermore, when the conceptual data model changes in any way (e.g., during a software update that adds a new field), which may occur frequently, the organization may need to manually modify and update existing software artifacts and redeploy all of the software artifacts across every platform. For organizations that use many platforms and storage mechanisms, creating and maintaining software artifacts can be extremely burdensome. Legacy data modeling techniques and systems do not provide a solution to alleviate this burden.

[0011] Thus, a need exists to utilize a single conceptual data model that facilitates the generation of multiple logical data models across disparate platforms to facilitate the creation of software artifacts that are operational across all integrated platforms and data stores. By generating the full range of software artifacts required to instantiate and maintain a data landscape across all integrated platforms from a single conceptual data model, an organization may better manage its data landscape from a centralized location and automate the release of software updates to integrated software applications, ultimately saving time, money, and resources.

[0012] 1 is a block diagram of an environment 100 including a conceptual data model, according to some embodiments. Any operation herein may be performed by any type of structure in the diagram, such as a module or dedicated device, in hardware, software, or any combination thereof. The environment 100 may include a conceptual data model 110, a data model dictionary 112, a data model diagram 114, first metadata 116, a platform 120, a logical data model 130, second metadata 132, a physical data model 140, a deployment tool 150, an installation script 152, a population script 154, and documentation 156.

[0013] The conceptual data model 110 may be a data model that describes a data landscape. The conceptual data model 110 may represent data used by software applications employed by an organization or otherwise stored across multiple platforms. The conceptual data model 110 may represent an organization's data without reference to physical devices, architectural details, implementation details, storage characteristics, etc., and is therefore a logical representation of data entities. An organization may create the conceptual data model 110 using any suitable data modeling technique or tool, such as an XML document, a modeling language, or a suitable design tool. The conceptual data model 110 may facilitate the creation of software artifacts, such as installation scripts 152, population scripts 154, and documentation 156, across multiple platforms 120 and the different storage mechanisms provided therein. By maintaining only the conceptual data model 110, an organization may avoid maintaining logical data models specific to each platform, physical data models specific to each storage mechanism integrated within the organization's technical landscape, and software artifacts for managing the data landscape, which are described in more detail below. The conceptual data model 110 can include a data model dictionary 112, a data model diagram 114, and first metadata 116.

[0014] The data model dictionary 112 may be a textual or other suitable syntactic description of data entities present in an organization's technology systems. Such entities may include database tables, documents, files, data lakes, etc. The data model dictionary 112 may include entity names, data types, field widths or sizes, ordering, relationships between entities, and other suitable information describing physical attributes of data entities or elements. In some embodiments, the data model dictionary 112 may be an ASCII text file, an XML file, or other suitable textual definition file. The data model dictionary 112 may be created and maintained using a suitable data modeling tool, composer, toolkit, etc. In one embodiment, the data model dictionary 112 may be derived from information in an entity-relationship diagram (ERD) or other visual representation, or via other suitable advanced data modeling techniques.

[0015] The data model diagram 114 may be an ERD or other graphical representation of data used in the organization's technology systems. The data model diagram 114 may complement or supplement the data model dictionary 112, or provide redundant information in a graphical format. Thus, the data model diagram 114 may provide an alternative mechanism for specifying entities and relationships between entities across a data landscape. The data model diagram 114 may specify relationships between entities using arrows, lines, or other suitable indicators. For example, in a relational database system, a relationship between entities may be a referential constraint between a field in one database table and a field in a second database table, and the data model diagram 114 may display these tables as boxes and the fields in the tables as boxes within boxes, connecting the boxes with lines or arrows to indicate the relationships. In one embodiment, the data model diagram 114 may be derived from information in the data model dictionary 112. However, in other embodiments, the reverse may be true and the data model dictionary 112 may be derived from the data model diagram 114.

[0016] The first metadata 116 may be information embedded, included, or added to the conceptual data model 110. The first metadata 116 may describe how to deploy entities across the platforms 120. The first metadata 116 may include information about storage mechanisms and data stores available on the platforms 120. For example, the first metadata 116 may include information about the specific access requirements and protocols of various platforms. For example, authentication protocols may differ between a first platform and a second platform, and the first metadata 116 may reflect these differences and include information about how to comply with each of the protocols. Further details about the specific storage mechanisms available on each platform may be included in the first metadata 116. For example, different relational database systems may have different indexing requirements and capabilities, e.g., a particular relational database system may provide different indexing capabilities than a second relational database system, and syntax requirements for instantiating, modifying, deleting, or refreshing an index may differ between products. Thus, to execute a particular behavior, syntax requirements across storage mechanisms may differ, and appropriate protocol instructions may be included in first metadata 116. For example, first metadata 116 may describe partitioning requirements specific to a platform within platforms 120 or the data storage mechanism employed therein. Thus, first metadata 116 enables the automated creation of logical data models representing conceptual model 110 across each platform within platforms 120 (as described below). These logical data models then facilitate the creation of software artifacts operable across any integrated platforms.

[0017] Platforms 120, such as platform 120A and platform 120B, may be one or more cloud service platforms or other suitable hosting architectures, infrastructures, or systems. Platform 120A may differ from platform 120B in various ways and may provide different services, functionality, data stores, and the like. For example, some platforms 120 may provide storage mechanisms, such as relational databases, graph databases, columnar databases, in-memory databases, NoSQL databases, key-value stores, data lakes, or other suitable storage mechanisms. Among these individual storage mechanisms, multiple approaches (i.e., specific products or services) may be offered, e.g., a platform may provide multiple data lake solutions. In one embodiment, platform 120 may also be internally managed web servers, databases, and other web components, or other internally managed resources, outside the context of a vendor-managed cloud service platform.

[0018] Logical data models 130, such as logical data model 130A and logical data model 130B, may be data models that depict platform-specific data landscapes. Logical data models 130 may represent entities, relationships between entities, entity types, identifiers, and other suitable entity characteristics. Logical data models 130 may be specific to a particular platform within an organization's technology landscape while being decoupled from a particular physical storage mechanism, product, approach, or architecture, and associated operational and deployment details. Thus, logical data models may represent an organization's data architecture using storage- and implementation-independent means. Logical data models 130 may be derived from conceptual data models 110 for each of platforms 120. Logical data models 130 may provide the ability to derive platform-specific and storage-specific software artifacts via second metadata 132, described in more detail below.

[0019] The second metadata 132 may be information embedded, included, or added to the logical data model 130 that describes how to deploy entities to platforms in the platform 120 and to a particular data storage mechanism. The second metadata 132 may describe the data stores employed by an organization with a platform in the platform 120. The second metadata 132 may enumerate a range of data stores employed on that platform that are used to determine the number of software artifacts to be generated, as described in more detail below. The second metadata 132 may also indicate particularized requirements or protocols mandated by data storage mechanisms in platforms in the platform 120. For example, a first platform housing a relational database may require a particularized syntax for the creation of tables in the relational database, which may differ from the particularized syntax for the creation of tables in a second type of relational database on the platform. The second metadata 132 stores information necessary to create software artifacts that are easily deployable to a particular platform and storage mechanism, as described in more detail below.

[0020] The physical data model 140 may be a storage mechanism specific model that represents objects in a particular data storage system on a particular platform. For example, the physical data model 140 may represent tables, columns, primary keys, and foreign keys in a relational database. However, the physical data model 140 may reflect other data storage systems such as graph databases, column-oriented databases, in-memory databases, NoSQL databases, key-value stores, data lakes, etc. Additionally, multiple solutions may be provided among these various storage mechanisms. Additionally, the physical data model 140 may be tailored to a particular product among these various storage mechanisms. For example, a physical data model 140 that represents relational data objects in a first type of relational database may look different than a physical data model 140 that represents relational data objects in a second type of relational database. The physical data model 140 may be utilized to generate various software artifacts such as installation scripts 152A and population scripts 154A.

[0021] Deployment tool 150 may be software artifacts that instantiate, deploy, and maintain entities (e.g., tables, files, documents, structures, etc.) across data stores on platform 120. Deployment tool 150 may be DDL scripts, DML scripts, developer documentation, mapping files, and other suitable programmatic structures that can create and update physical entities across platform 120. Deployment tool 150 may include installation scripts 152A, population scripts 154A, documentation 156, and other suitable structures. Deployment tool 150 may be utilized by deployment agent 210 to initialize entities across platform 120, modify software artifacts as conceptual data model 110 changes, and update entities, as described in more detail below.

[0022] The installation script 152 may be a database initialization script provided in DDL or other suitable syntax capable of defining data structures. The initialization script 152 may be used to deploy, initialize, roll out, or otherwise implement physical elements associated with the conceptual data model 110. The installation script 152 may vary based on the target storage mechanism, i.e., a graph database script may be substantially different from a key-value store script. For example, the initialization script 232 may be automatically constructed to implement Sales Order, Account, and Locale tables on a customer-relationship-management (CRM) platform through the creation of DDL syntax, e.g., "CREATE TABLE", "ALTER TABLE", etc. The platform 120 may require specific protocols and syntax as captured in the first metadata 116 and the second metadata 132, and the created installation script 152 may adhere to these requirements. Installation scripts 152 may further include scripts of DML or other suitable syntax that can access, modify, and retrieve data from existing data structures. For example, installation scripts 152 may be automatically constructed to make changes to previously deployed sales order, account, and locale tables through the creation and execution of DML syntax, e.g., "UPDATE," "INSERT INTO TABLE," and the like.

[0023] Population scripts 154 may be text files, documents, scripts, and other suitable tools created to add nominal, dummy, contrived, test, etc. data to entities created using installation scripts 152. In one example, population scripts 154 may include rows of information to be processed by a script in installation scripts 152 to auto-populate a relational database table with information. For example, an entity may exist in conceptual data model 110 that describes a "Customer" table that includes multiple columns / fields describing a customer, e.g., "Name," "Address," "Phone Number," etc. In one such example, population scripts 154 may include rows such as "XXXXX," "55 Maple Ave," "555-555-5555," etc. that may be used to add rows to the table via an "INSERT" table. Such a need may be enhanced when the storage mechanism is not a relational database table, for example, when the storage mechanism is a graph database and actual entities are not created in any sense until data is populated. The population scripts 154 may be created by employing heuristic methods using knowledge about the entities described in the conceptual data model 110, e.g., the entity names. In the above example of a “Customers” table, the first metadata 116 may include further descriptors of characteristics of the entities known to the data modeling tool 202.

[0024] Documentation 156 may provide descriptions of entities defined in conceptual data model 110. Documentation 156 may be in any suitable human readable format, such as HTML, text, a word document, or other suitable human readable. In one embodiment, documentation 156 may include images, tables, graphs, ERDs, and other non-textual information to enhance the readability of the information. Documentation 156 may be automatically generated for each platform in platforms 120 based on conceptual data model 110, i.e., documentation may vary between platforms 120. Documentation 156 may be provided to documentation interface 206, which may serve information to developers and other users within or outside the organization, for example, using HTTP or other web infrastructure.

[0025] 2 is a block diagram of an architecture 200 including a data modeling tool, according to some embodiments. Any operation herein may be performed by any type of structure in the figure, such as a module or dedicated device, in hardware, software, or any combination thereof. Architecture 200 may include a data modeling tool 202, a query agent 204, a documentation interface 206, a data exchange system 208, and a deployment agent 210.

[0026] The data modeling tool 202 may be used by an organization representative to create the conceptual data model 110 and / or to include the first metadata 116 in the conceptual data model 110 and / or the second metadata 132 in the logical data model 130. The data modeling tool 202 may enable an administrator to identify the platforms 120 used throughout the organization's data landscape and the data storage mechanisms employed by those platforms. After pre-selecting the platforms 120 and the data storage mechanisms, the data modeling tool 202 may enable a user to align the conceptual data model 110 to those platforms and storage mechanisms. The data modeling tool 202 may interact with the platform 120 via an appropriate application programming interface (API) to obtain appropriate information regarding the storage mechanisms employed by the platform 120 when compiling the first metadata 116 and / or the second metadata 132. The data modeling tool 202 can further interact with a query agent 204, a documentation interface 206, a data exchange system 208, and a deployment agent 210 to derive further functionality using the conceptual data model 110, as described in further detail below.

[0027] Query agent 204 can interact with data modeling tool 202 to process federated queries that are executed against multiple data sources in the organization's data architecture. A federated query may be, for example, a query that uses SQL or another query language to gather data from multiple platforms 120 in the data landscape. Query agent 204 can process federated queries received from administrators, developers, or other users of the organization using conceptual data model 110. In one embodiment, query agent 204 can provide an interface to a user to enter queries and / or view the data landscape depicted in conceptual data model 110. In one embodiment, data modeling tool 202 can expose conceptual data model 110 in an appropriate manner to query agent 204, which can process federated queries based on the information contained therein. In another embodiment, data modeling tool 202 can provide a query interface to receive queries from users of data modeling tool 202. In this embodiment, data modeling tool 202 can then engage query agent 204 to process the received query, access the various storage mechanisms through the appropriate protocols, and return the appropriate data records. In this embodiment, data modeling tool 202 can display the results of the federated query to the user.

[0028] The documentation interface 206 can provide developer documentation, such as documentation 156, to members of the organization and other users in the form of HTML pages, help manuals, text, documents, etc. The documentation interface 206 can receive documentation 156 created automatically by the data modeling tool 202 based on the created logical data model 130 and the second metadata 132 contained therein. The documentation interface 206 can provide the documentation 156 to stakeholders using a web server, HTTP, or other suitable web technology. In one embodiment, the documentation interface 206 can impose access restrictions in the form of security requirements, for example, by requiring a login and password to restrict access to the documentation 156 to authorized individuals and groups. In one embodiment, the documentation interface 206 can receive the conceptual data model 110 from the data modeling tool 202, store the documentation 156, and provide the documentation 156 via a suitable web interface. In another embodiment, data modeling tool 202 may engage documentation interface 206 to provide documentation 156 to a user at data modeling tool 202 .

[0029] The data exchange system 208 can process mapping files created by the data modeling tool 202. Such mapping files can facilitate data transformation and loading between and within data stores across the platforms 120. The data exchange system 208 can effect the transfer of data from a platform, i.e., a source schema, within the platforms 120 to a second platform, i.e., a target schema, within the platforms 120. Thus, the data exchange system 208 can enable organizations to streamline extract, transform, and load (ETL) functions based on information in the conceptual data model 110. In one embodiment, a user can perform ETL transactions within the data modeling tool 202, i.e., the data modeling tool 202 can involve the data exchange system 208 to perform ETL transactions from within an interface provided by the data modeling tool 202.

[0030] The deployment agent 210 can deploy entities to a physical environment using software artifacts, such as the deployment tool 150, created by the data modeling tool 202. In one embodiment, the deployment agent 210 may operate within or at the bequest of the data modeling tool 202. In one such embodiment, a user can design the conceptual data model 110 within the data modeling tool 202 and imbue the conceptual data model 110 with the first metadata 116 and the second metadata 132. The deployment agent 210 can receive updated software artifacts based on changes made to the conceptual data model 110 within the data modeling tool 202, and the deployment agent 210 can use the updated software artifacts to update entities in the physical environment.

[0031] 3 is a flow chart illustrating a method 300 for creating a software artifact based on a conceptual data model. The method 300 may be performed by processing logic that may include hardware (e.g., circuitry, dedicated logic, programmable logic, microcode, etc.), software (e.g., instructions executing on a processing device), or a combination thereof. It should be understood that not all steps may be required to practice the disclosure provided herein. Furthermore, as will be appreciated by one of ordinary skill in the art, some of the steps may be performed simultaneously or in a different order than shown in FIG. 3.

[0032] At 302, data modeling tool 202 may create or otherwise facilitate the creation of conceptual data model 110 by an administrator, data architect, or other user. In one embodiment, data modeling tool 202 may allow a user to import an externally created data model and derive conceptual data model 110 from the received data model, for example, may receive data model dictionary 112, data model diagram 114, and / or other suitable descriptors of conceptual data model 110 that are created in an external tool and uploaded to data modeling tool 202. When storing conceptual data model 110, data modeling tool 202 may include or incorporate first metadata 116 within conceptual data model 110 based on stored logic regarding platform 120 and storage mechanisms therein. In one embodiment, data modeling tool 202 may allow a user to select one or more platforms from platform 120 and update conceptual data model 110 based on the selected platforms. The data modeling tool 202 can add first metadata 116 that includes deployment information specific to each platform among the platforms 120. The first metadata 116 may include authentication protocol information specific to the platform 120 and / or other information that defines the nature of the interaction that occurs between the data modeling tool 202 and the platform 120, such as parameters required to execute software artifacts on or within the platform. The first metadata 116 may also include storage solution specific information based on internally derived logic. For example, the relational databases used across platforms may differ (e.g., SQL SERVER, ORACLE, MYSQL), and the first metadata 116 may include information specific to a particular storage solution on a particular platform among the platforms 120.

[0033] At 304, the data modeling tool 202 can create a logical data model 130 based on the conceptual data model 110 and the first metadata 116 contained therein. The data modeling tool 202 can create a logical data model 130 for each platform among the platforms 120 employed in the organization's data landscape. The data modeling tool 202 may further add second metadata 132 to the created logical data model 130. The second metadata 132 can include implementation details specific to the platform to which the logical data model corresponds. The second metadata 132 can then enable the data modeling tool 202 to create the deployment tool 150 by incorporating known information regarding protocols followed by each platform among the platforms 120, as well as protocols, rules, etc. for the physical storage models and mechanisms provided by the platforms. For example, one exemplary data landscape can include database instances running on two different platforms. In this embodiment, the data modeling tool 202 can create two logical data models 130, one for each of the platforms. The created logical data model 130 may remain storage solution independent, i.e., the logical data model 130 may not indicate the exact storage mechanism (e.g., SQL SERVER, ORACLE, etc.) and may logically define entities and their relationships. However, the created logical data model 130 may include specific information in the second metadata 132 that is required by that particular platform among the platforms 120 and specific to the storage mechanisms provided within those platforms 120.

[0034] At 306, the data modeling tool 202 may create software artifacts operable across platforms 120 based on the logical data model 130, the first metadata 116, and the second metadata 132. The software artifacts may include installation scripts 152, population scripts 154, documentation 156, and other suitable deployment tools 150, as would be understood by one of ordinary skill in the art. The data modeling tool 202 may store the created software artifacts in an appropriate structure, file system, disk, memory, etc. In one embodiment, the data modeling tool 202 may allow a user to view the created software artifacts and edit or manipulate the created software artifacts in further ways before deploying entities via the software artifacts. To continue with the above example of application deployment across multiple platforms and composed of relational database technology, the data modeling tool 202 may inspect the logical data models 130 created for each platform defined in the conceptual data model 110. For each logical data model in logical data model 130, data modeling tool 202 can generate appropriate DDL scripts to create tables, rows, columns, indexes, disk partitions, and other components as specified in conceptual data model 110. The DDL scripts may differ because a first platform in the example may have different requirements to execute the DDL scripts, or different syntax requirements to create the actual DDL scripts, than a second platform. Data modeling tool 202 can use against first metadata 116 to accommodate these differences. Additionally, conceptual data model 110 can specify different storage mechanisms in multiple platforms. Thus, the first DDL script and the second DDL script may further differ based on the underlying storage mechanism.The data modeling tool 202 can accommodate these differences using information provided by the second metadata 132. In addition to the DDL scripts for instantiating the relational database tables, the data modeling tool 202 can create DML scripts that specify appropriate "UPDATE" or "INSERT" statements to populate the created tables. To properly utilize these DML scripts, the data modeling tool 202 can further create population scripts 154 to feed the DML scripts to populate the tables with nominal data. In particular in the context of graph databases, the inclusion of dummy data via population scripts 154 is necessary to create entities. However, the above examples are merely illustrative, and one skilled in the art will appreciate that more than two platforms may be incorporated into the data landscape, as well as a wide range of storage mechanisms beyond relational databases.

[0035] At 308, data modeling tool 202, using deployment agent 210, can instantiate physical entities across platforms 120 and across various storage systems therein using the software artifacts generated at 306. In one embodiment, data modeling tool 202 can receive commands from a user of data modeling tool 202 to initialize entities across multiple platforms 120 or on a particular platform among platforms 120. In one embodiment, deployment agent 210 can instantiate entities by interacting with appropriate APIs or other interfaces provided by platforms 120. For example, a service provided by a particular platform in the above example may enable an organization to execute queries or other SQL commands against a back-end database. The requirements and nature of this service may differ between platforms as captured by first metadata 116 and second metadata 132. Deployment agent 120 can engage the service using the stored parameters to execute software artifacts, in this example DDL scripts and DML scripts, against the back-end database and return appropriate results or confirmations in response to the commands to create the entities. In another embodiment, data modeling tool 202 may provide a downloadable version of the software artifact to an administrator or user in an exportable manner. In this embodiment, the user can then execute the software artifact using tools available on and native to platform 120 and the storage facilities therein. For example, the user may receive a DDL script and copy / paste the script into a query tool provided by one of platforms 120.

[0036] 4 is a flow chart illustrating a method 400 of generating developer documentation based on a conceptual data model, according to some embodiments. The method 400 may be performed by processing logic, which may include hardware (e.g., circuitry, dedicated logic, programmable logic, microcode, etc.), software (e.g., instructions executing on a processing device), or a combination thereof. It should be understood that not all steps may be required to practice the disclosure provided herein. Furthermore, as will be appreciated by one of ordinary skill in the art, some of the steps may be performed simultaneously or in a different order than shown in FIG. 4.

[0037] At 402, data modeling tool 202 can update or facilitate an update of conceptual data model 110 by an administrator, data architect, or other user. In one embodiment, data modeling tool 202 can enable such a user to import an externally created data model and determine changes from the imported data model to a previously created version of conceptual data model 110. Data modeling tool 202 can complete necessary updates to first metadata 116 within conceptual data model 110 based on the changes. For example, a user may include an additional application that runs on a new one of platforms 120 in the updated version of conceptual data model 110. In this example, data modeling tool 202 can update first metadata 116 to accommodate the new software application, the entities used therein, and the new platform not previously included in the data landscape.

[0038] At 404, the data modeling tool 202 can recreate the logical data model 130 based on the modified conceptual data model 110 and the first metadata 116 included therein, updated at 402. The data modeling tool 202 can complete the necessary updates to the logical data model 130 across each platform in the platforms 120. The data modeling tool 202 can further update the second metadata 132 based on any changes made to the conceptual data model 110. To continue with the above example, the second metadata 132 may be updated to include storage location specific information to accommodate the new application and the data stored and used by the application.

[0039] At 406, the data modeling tool 202 can recreate the software artifacts affected by the changes to the conceptual data model 110. The data modeling tool 202 can update the installation scripts 152, the population scripts 154, the documentation 156, and other suitable deployment tools 150, as would be understood by one of ordinary skill in the art. To continue with the above example, the new application, platform, and data entities may mandate the creation of new DDL and DML scripts to instantiate the entities that handle the new application. In another example, a change may have been received at 402 to add a column to a table in a relational database system. In this example, the previously created software artifacts may be modified to include the changes, or a new set of scripts may be created to instantiate the delta between the original conceptual data model and the updated conceptual data model.

[0040] At 408, data modeling tool 202 can use deployment agent 210 to update physical entities across platform 120 and across various storage systems therein using the software artifacts updated at 406. For example, deployment agent 120 can engage services provided by a particular platform to execute the software artifacts against data storage mechanisms within the platform. Deployment agent 120 can receive appropriate results or confirmations in response to the updates. In another embodiment, data modeling tool 202 can provide a downloadable and exportable version of the updated software artifacts. In this embodiment, the user can then execute usage tools available on and native to platform 120 and the storage facilities therein.

[0041] In this manner, changes to conceptual data model 110 can be propagated downward to all software artifacts that are derived from conceptual data model 110. Thus, an organization can document or record changes to its technology landscape in a single centralized location, namely, conceptual data model 110. In this example, an organization does not need to update or maintain all software artifacts across all platforms, storage mechanisms, and applications to accommodate changes in all locations.

[0042] Various embodiments may be practiced using one or more well-known computer systems, such as, for example, computer system 500 shown in Figure 5. One or more computer systems 500 may be used to implement, for example, any of the embodiments discussed herein, as well as combinations and subcombinations thereof.

[0043] Computer system 500 may include one or more processors (also referred to as central processing units, or CPUs), such as processor 504. Processor 504 may be connected to a communications infrastructure or bus 506.

[0044] The computer system 500 may further include user input / output devices 508 , such as a monitor, keyboard, pointing device, etc., which may communicate with the communications infrastructure 506 via the user input / output interface 502 .

[0045] One or more of the processors 504 may be a graphics processing unit (GPU). In one embodiment, a GPU may be a processor that is a dedicated electronic circuit designed to process mathematically intensive applications. GPUs may have a parallel structure that is efficient for parallel processing of large blocks of data, such as mathematically intensive data common in computer graphics applications, images, videos, etc.

[0046] The computer system 500 may further include a main or primary memory 508, such as a random access memory (RAM). The main memory 508 may include one or more levels of cache. The main memory 508 may store control logic (i.e., computer software) and / or data therein.

[0047] Computer system 500 may further include one or more secondary storage devices or memories 510. Secondary memory 510 may include, for example, a hard disk drive 512 and / or a removable storage device or drive 514. Removable storage drive 514 may be a floppy disk drive, a magnetic tape drive, a compact disk drive, an optical storage device, a tape backup device, and / or any other storage device / drive.

[0048] The removable storage drive 514 may interact with a removable storage unit 518. The removable storage unit 518 may include computer usable or readable storage devices that store computer software (control logic) and / or data. The removable storage unit 518 may be a floppy disk, magnetic tape, compact disk, DVD, optical storage disk, and / or any other computer data storage device. The removable storage drive 514 can read from and / or write to the removable storage unit 518.

[0049] The secondary memory 510 may also include other means, devices, components, intermediaries, or other approaches that allow computer programs and / or other instructions and / or data to be accessed by the computer system 500. Such means, devices, components, intermediaries, or other approaches may include, for example, a removable storage unit 522 and an interface 520. Examples of removable storage units 522 and interfaces 520 may include program cartridges and cartridge interfaces (such as those found in video game devices), removable memory chips (such as EPROMs or PROMs) and associated sockets, memory sticks and USB ports, memory cards and associated memory card slots, and / or other removable storage units and associated interfaces.

[0050] Computer system 500 may further include a communication or network interface 524. Communication interface 524 may enable computer system 500 to communicate and interact with any combination of external devices, external networks, external entities, etc. (individually and collectively referred to by reference number 528). For example, communication interface 524 may enable computer system 500 to communicate with external or remote devices 528 via communication paths 526, which may be wired and / or wireless (or a combination thereof) and may include any combination of a LAN, a WAN, the Internet, etc. Control logic and / or data may be transmitted to and from computer system 500 via communication paths 526.

[0051] Computer system 500 may also be a personal digital assistant (PDA), a desktop workstation, a laptop or notebook computer, a netbook, a tablet, a smartphone, a smartwatch or other wearable, an appliance, part of the Internet-of-Things, and / or an embedded system, or any combination thereof, to name a few non-limiting examples.

[0052] Computer system 500 may be used in a variety of cloud-based solutions, including, but not limited to, remote or distributed cloud computing solutions, local or on-premise software ("on-premise" cloud-based solutions), "as a service" models (e.g., content as a service (CaaS), digital content as a service (DCaaS), software as a service (SaaS), managed software as a service (MSaaS), platform as a service (PaaS), desktop as a service (DaaS), framework as a service (FaaS), backend as a service (BaaS), mobile backend as a service (MBaaS), infrastructure as a service (FaaS), and cloud-based services (CFS). The application and / or data may be a client or server that accesses or hosts any application and / or data through any delivery paradigm, including distributed services, infrastructure as a service, infrastructure as a service (IaaS), etc.), and / or hybrid models that include any combination of the foregoing examples or other service or delivery paradigms.

[0053] Any applicable data structures, file formats, and schemas in computer system 500 may be derived from standards, including but not limited to JavaScript® Object Notification (JSON), Extensible Markup Language (XML), Yet Another Markup Language (YAML), Extensible Hypertext Markup Language (XHTML), Wireless Markup Language (WML), MessagePack, XML User Interface Language (XUL), or any other functionally similar representations, alone or in combination. Alternatively, proprietary data structures, formats, or schemas may be used exclusively or in combination with known or open standards.

[0054] In some embodiments, a tangible, non-transitory apparatus or article of manufacture comprising a tangible, non-transitory computer usable or readable medium having stored thereon control logic (software) may also be referred to herein as a computer program product or program storage device, including, but not limited to, computer system 500, main memory 508, secondary memory 510, and removable storage units 518 and 522, as well as tangible articles of manufacture embodying any combination of the foregoing. Such control logic, when executed by one or more data processing devices (such as computer system 500), can cause such data processing devices to operate as described herein.

[0055] Based on the teachings contained herein, it will be apparent to one of ordinary skill in the art how to make and use embodiments of the present disclosure with data processing devices, computer systems, and / or computer architectures other than those shown in Figure 5. In particular, embodiments may operate with software, hardware, and / or operating system implementations other than those described herein.

[0056] It should be understood that the Detailed Description section, and not any other section, is intended to be used to interpret the claims, which may describe one or more example embodiments, but not all, contemplated by the inventors, and are therefore not intended to limit the scope of the disclosure or the appended claims in any way.

[0057] Although the present disclosure describes exemplary embodiments for exemplary fields and applications, it should be understood that the present disclosure is not limited thereto. Other embodiments and modifications thereto are possible and are within the scope and spirit of the present disclosure. For example, without limiting the generality of this paragraph, the embodiments are not limited to the software, hardware, firmware, and / or entities shown in the drawings and / or described herein. Moreover, the embodiments (whether or not explicitly described herein) have significant utility for fields and applications beyond the examples described herein.

[0058] The embodiments have been described herein with functional building blocks that illustrate implementations of specified functions and relationships thereof. The boundaries of these functional building blocks have been arbitrarily defined herein for ease of description. Alternate boundaries may be defined so long as the specified functions and relationships (or their equivalents) are appropriately performed. Furthermore, alternative embodiments may perform functional blocks, steps, operations, methods, etc. using an order different from that described herein.

[0059] References herein to "one embodiment," "one embodiment," "one exemplary embodiment," or similar phrases indicate that the described embodiment may include a particular feature, structure, or characteristic, but that not all embodiments may necessarily include the particular feature, structure, or characteristic. Moreover, such phrases do not necessarily refer to the same embodiment. Moreover, when a particular feature, structure, or characteristic is described in connection with one embodiment, it would be within the knowledge of one of ordinary skill in the art to incorporate such feature, structure, or characteristic in other embodiments, whether or not it is explicitly mentioned or described herein. Furthermore, some embodiments may be described using the expressions "coupled" and "connected," along with their derivatives. These terms are not necessarily intended to be synonymous with each other. For example, some embodiments may use the terms "connected" and / or "coupled" to indicate that two or more elements are in direct physical or electrical contact with each other. However, the term "coupled" may further mean that two or more elements are not in direct contact with each other, but still cooperate or interact with each other.

[0060] The breadth and scope of the present disclosure should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.

Claims

1. 1. A computer-implemented method comprising: defining, by one or more processors, a conceptual data model including entities, a plurality of platforms, and first metadata describing deployment requirements for each platform in the plurality of platforms, the first metadata further including information regarding storage mechanisms and data stores available on each platform in the plurality of platforms; creating, by the one or more processors, for each platform in the plurality of platforms, a logical data model based on the conceptual data model and the first metadata included in the conceptual data model, the logical data model including second metadata describing deployment requirements for storage mechanisms and storage-specific entity definitions; generating, by the one or more processors, for each platform in the plurality of platforms, installation scripts and data population scripts based on the second metadata and the storage-specific entity definitions included in the logical data model; deploying, by the one or more processors, the entities to each platform in the plurality of platforms using the installation script and the data population script; The method includes:

2. receiving, by the one or more processors, changes to the conceptual data model; generating, by the one or more processors, an update installation script and an update data population script for each platform in the plurality of platforms based on the modifications and the conceptual data model; redeploying, by the one or more processors, the entity on each platform in the plurality of platforms using the update installation script and the update data population script; The method of claim 1 further comprising:

3. The step of generating a data entry script comprises: determining, by the one or more processors, an entity type corresponding to the entity; deriving, by the one or more processors, dummy data based on the first metadata and the entity type; generating, by the one or more processors, for each platform in the plurality of platforms, a data population script for populating the entities with the dummy data; The method of claim 1 further comprising:

4. determining, by the one or more processors, an entity type corresponding to the entity; generating, by the one or more processors, documentation based on the first metadata and the entity type, the documentation describing the entities and the entity type; The method of claim 1 further comprising:

5. creating, by the one or more processors, a mapping file based on the conceptual data model; The method of claim 1 further comprising:

6. exposing, by the one or more processors, the conceptual data model to a query agent for processing federated queries; The method of claim 1 further comprising:

7. The method of claim 1 , wherein the conceptual data model further comprises a second entity and a relationship between the entity and the second entity.

8. 1. A system comprising: Memory, At least one processor; the at least one processor is coupled to the memory; defining a conceptual data model including an entity, a plurality of platforms, and first metadata describing deployment requirements for each platform among the plurality of platforms, the first metadata further including information regarding storage mechanisms and data stores available on each platform among the plurality of platforms; creating, for each platform in the plurality of platforms, a logical data model based on the conceptual data model and the first metadata included in the conceptual data model, the logical data model including second metadata describing deployment requirements for storage mechanisms and storage-specific entity definitions; generating, for each platform in the plurality of platforms, installation scripts and data population scripts based on the second metadata and the storage-specific entity definitions included in the logical data model; Deploying the entity to each platform in the plurality of platforms using the installation script and the data population script. The system is configured as follows.

9. The at least one processor further comprises: receiving changes to the conceptual data model; creating an update installation script and an update data population script for each platform among the plurality of platforms based on the modifications and the conceptual data model; Redeploying the entity to each platform in the plurality of platforms using the update installation script and the update data population script. The system of claim 8 , configured to:

10. To generate the data population script, the at least one processor comprises: determining an entity type corresponding to said entity; Deriving dummy data based on the first metadata and the entity type; For each platform among the plurality of platforms, create a data population script to populate the entities with the dummy data. The system of claim 8 , configured to:

11. The at least one processor further comprises: determining an entity type corresponding to said entity; Creating documentation based on the first metadata and the entity type, the documentation describing the entity and the entity type. The system of claim 8 , configured to:

12. The at least one processor further comprises: Create a mapping file based on the conceptual data model The system of claim 8 , configured to:

13. The at least one processor further comprises: Exposing the conceptual data model to a query agent for processing federated queries. The system of claim 8 , configured to:

14. The system of claim 8 , wherein the conceptual data model further comprises a second entity and a relationship between the entity and the second entity.

15. A non-transitory computer readable device having stored thereon instructions that, when executed by at least one computing device, cause the at least one computing device to perform operations, the operations including: defining a conceptual data model including entities, a plurality of platforms, and first metadata describing deployment requirements for each platform among the plurality of platforms, the first metadata further including information regarding storage mechanisms and data stores available on each platform among the plurality of platforms; creating, for each platform in the plurality of platforms, a logical data model based on the conceptual data model and the first metadata included in the conceptual data model, the logical data model including second metadata describing deployment requirements for storage mechanisms and storage-specific entity definitions; generating, for each platform in the plurality of platforms, installation scripts and data population scripts based on the second metadata and the storage-specific entity definitions included in the logical data model; deploying the entity to each platform in the plurality of platforms using the installation script and the data population script; A non-transitory computer readable device comprising:

16. The operation includes: receiving changes to the conceptual data model; generating an update installation script and an update data population script for each platform among the plurality of platforms based on the modifications and the conceptual data model; redeploying the entity on each platform in the plurality of platforms using the update installation script and the update data population script; 20. The non-transitory computer readable device of claim 15, further comprising:

17. generating the data population script, determining an entity type corresponding to the entity; deriving dummy data based on the first metadata and the entity type; creating, for each platform in the plurality of platforms, a data population script for populating the entities with the dummy data; 20. The non-transitory computer readable device of claim 15, further comprising:

18. The operation includes: determining an entity type corresponding to the entity; creating documentation based on the first metadata and the entity type, the documentation describing the entity and the entity type; and 20. The non-transitory computer readable device of claim 15, further comprising:

19. The operation includes: Creating a mapping file based on the conceptual data model.

20. The non-transitory computer readable device of claim 15, further comprising:

20. The operation includes: Exposing the conceptual data model to a query agent for processing federated queries.

20. The non-transitory computer readable device of claim 15, further comprising:

Citation Information

Patent Citations

  • Script file generating device and method for structuring data base

    JP2003345594A

  • LDAP-based Multi-Customer Cloud Identity Management System

    JP2016500854A

  • End-to-end provisioning of storage clouds

    US20120042055A1

  • Executor for software configuration automation

    US20130086130A1

  • Information landscape modeling, analysis & validation

    US20180089292A1