Creating shortcut paths between related data types
The data model with a lineage engine automates the generation of shortcut paths between data types, addressing the challenge of managing diverse data types, enhancing data utilization and visualization efficiency.
Patent Information
- Application Number
- JP2024512102
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-08-23
- Filing Date
- 2022-07-26
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2042-07-26
AI Technical Summary
Managing vast collections of diverse data types in organizations is challenging, leading to difficulties in effectively utilizing data for business improvements due to the manual error-prone process of determining relationships between different data types.
A data model is employed to represent data types as nodes and relationships as edges, with a lineage engine generating shortcut paths between related data types using closure hints and data flow boundaries to automate the identification of directed paths, reducing the need for manual intervention.
This approach enhances data utilization by providing accurate and efficient shortcut paths, improving data management and visualization, and reducing computational complexity in querying and data manipulation.
Smart Images

Figure 2024536692000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates generally to data visualization, and more particularly, but not exclusively, to managing data associated with objects included in the visualization. [Background technology]
[0002] The amount of data that organizations generate and collect continues to increase. This data may be associated with different parts of the organization, such as consumer activity, manufacturing activity, customer service, server logs, and the like. For various reasons, it may be inconvenient for such organizations to effectively utilize vast collections of data. In some cases, the volume of data may make it difficult to effectively utilize the collected data to improve business practices. Thus, in some cases, organizations may employ various applications or tools to generate visualizations based on some or all of their data. Employing visualizations to represent the data may enable organizations to improve understanding of business operations, sales, customer information, employee information, key performance indicators, and the like. In some cases, advanced visualizations may incorporate or otherwise rely on data from various sources within the organization, including different databases. In some cases, many different visualizations may rely on these diverse or different data sources. Often, it may be important to enable a user to identify relationships between different dependent objects that may be used to interact with an object. In some cases, manually determining relationships between several different data types may be error prone due to the many diverse or different data types that may be represented. Thus, the present invention has been made with respect to these and other considerations. [Brief description of the drawings]
[0003] Non-limiting and non-exhaustive embodiments of the present innovations are described with reference to the following drawings, in which like reference numerals refer to like parts throughout the various views unless otherwise specified. For a better understanding of the described innovations, reference may be made to the following detailed description of various embodiments, which should be read in connection with the accompanying drawings.
[0004] [Figure 1] 1 illustrates a system environment in which various embodiments may be implemented. [Diagram 2] 1 illustrates a schematic embodiment of a client computer. [Diagram 3] 1 illustrates a schematic embodiment of a network computer. [Figure 4] 1 illustrates a logical architecture of a system for generating shortcut paths between related data types in accordance with one or more of various embodiments. [Diagram 5] 5 illustrates a logical schematic of a data type 500 for generating shortcut paths between related data types in accordance with one or more of the various embodiments. [Figure 6] 6 illustrates a logical schematic diagram of a schema model 600 for generating shortcut paths between related data types in accordance with one or more of the various embodiments. [Figure 7] 1 illustrates a logical schematic of a closure that may be part of a data model in accordance with one or more of the various embodiments. [Figure 8] 1 illustrates a representation of a data structure for representing a data flow boundary for a data model in accordance with one or more of various embodiments. [Figure 9] 1 illustrates a representation of a data structure for representing closure hints for creating shortcut paths between related data types in accordance with one or more of various embodiments. [Figure 10] 1 depicts a general flowchart of a process for generating shortcut paths between related data types in accordance with one or more of various embodiments. [Figure 11]1 illustrates a flowchart of a process for generating shortcut paths between related data types in accordance with one or more of various embodiments. [Figure 12] 1 illustrates a flowchart of a process for generating a closure for creating shortcut paths between related data types in accordance with one or more of various embodiments. [Figure 13] 1 illustrates a flowchart of a process for generating shortcut paths between related data types in accordance with one or more of various embodiments. [Figure 14] 1 illustrates a flowchart of a process for generating a closure for creating shortcut paths between related data types in accordance with one or more of various embodiments. [Figure 15] 1 illustrates a flowchart of a process for substituting a persistent shortcut for a generated shortcut path at run time in accordance with one or more of various embodiments. [Figure 16] 1 illustrates a flowchart of a process for processing a query based on shortcut paths between related data types in accordance with one or more of various embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0005] Various embodiments will now be described more fully with reference to the accompanying drawings. These accompanying drawings form a part of this specification and show, by way of illustration, specific exemplary embodiments in which the present invention may be practiced. However, the embodiments may be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the embodiments to those skilled in the art. Among other things, the various embodiments may be methods, systems, media, or devices. Thus, the various embodiments may take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Thus, the following detailed description should not be construed in a limiting sense.
[0006] Throughout this specification and the claims, the following terms shall take the meanings expressly associated therewith, unless the context clearly dictates otherwise. As used herein, the phrase "in one embodiment" does not necessarily refer to the same embodiment, but may. Additionally, as used herein, the phrase "in another embodiment" does not necessarily refer to the same embodiment, but may. Thus, as described below, various embodiments may be readily combined without departing from the scope or spirit of the present invention.
[0007] Additionally, as used herein, the term "or" is an inclusive "or" operator and is equivalent to the term "and / or" unless the context clearly dictates otherwise. The term "based on" is not exclusive and allows for based on additional unexplained factors unless the context clearly dictates otherwise. Additionally, throughout this specification, the meanings of "a," "an," and "the" include plural references. The meaning of "in" includes "in" and "on."
[0008] For example, in embodiments, the following terms are used herein in accordance with the corresponding meanings unless the context clearly dictates otherwise:
[0009] As used herein, the term "engine" refers to logic embodied in hardware or software instructions that may be written in a programming language such as C, C++, Objective-C, COBOL, Java, Kotlin, PHP, Perl, JavaScript, Ruby, VBScript, C#, or other Microsoft.NET languages. An engine may be compiled into an executable program or written in an interpreted programming language. A software engine may be callable from other engines or from itself. An engine as described herein refers to one or more logical modules that may be merged with other engines or applications or split into sub-engines. An engine may be stored on a non-transitory computer-readable medium or computer and may be stored and executed on one or more general-purpose computers, thus creating a special-purpose computer configured to provide an engine. Also, in some embodiments, one or more portions of an engine may be hardware devices, ASICs, FPGAs, etc. that perform one or more operations in support of or as part of the engine.
[0010] As used herein, the term "data model" refers to one or more data structures that represent one or more entities associated with data collected or maintained by an organization. Data models are typically arranged to model various behaviors or activities associated with an organization. In some cases, data models are arranged to provide or facilitate various data-focused actions, such as efficient storage, querying, indexing, retrieval, updating, etc. In general, data models may be configured to provide features related to data manipulation or data management rather than providing an easy-to-understand presentation or visualization of the data.
[0011] As used herein, the term "data object" refers to one or more entities or data structures that comprise a data model. In some cases, a data object may be considered a part of a data model. A data object may represent a class or type of item, such as a database, a data source, a table, a workbook, a visualization, a workflow, etc.
[0012] As used herein, the term "data object class" or "object class" refers to one or more entities or data structures that represent a class, kind, or type of data object.
[0013] As used herein, the term "data type" refers to a data object that represents a class or kind of data object. For example, Table and Column may each be data types, but Table A and Column B of Table A may be considered instances of data type Table and data type Column, respectively.
[0014] As used herein, the term "schema model" refers to a data structure that represents various data types and the relationships between those data types. A schema model may be thought of as a data model that defines data types, relationships between data types, etc.
[0015] As used herein, the term "closure" refers to portions of the nodes and edges of a schema model that may be separated by a dataflow boundary. In some cases, closures may be informally thought of as partitions of a schema model. A schema model may declare multiple closures.
[0016] As used herein, the terms "data flow boundary," "flow boundary," or "flow" refer to an edge in a schema model that may be defined to separate portions of the schema model into closures. A schema model may declare multiple boundaries.
[0017] As used herein, the term "shortcut" refers to a declared directed path in a schema model that extends from a source data type node to a target data type node. A shortcut definition may include at least a source data type, a target data type, and a path direction. Thus, a fully realized shortcut is a path in a schema model from a source data type to a target data type that is composed of edges and nodes in the schema model.
[0018] As used herein, the term "display model" refers to one or more data structures that represent one or more representations of a data model that may be suitable for use in visualizations displayed on one or more hardware displays. A display model may define styling or user interface features that may be available to non-authoring users.
[0019] As used herein, the term "display object" refers to one or more data structures that comprise a display model. In some cases, a display object may be considered a portion of a display model. A display object may represent an individual instance of an item, or an entire class or type of item that may be displayed in a visualization. In some embodiments, a display object may be considered or referred to as a view because it provides a view of some portion of a data model.
[0020] As used herein, the term "panel" refers to an area in a graphical user interface (GUI) that has a defined geometry (e.g., x, y, z ordering) within the GUI. Panels may be arranged to display information to a user or to host one or more interactive controls. The geometry or style associated with a panel may be defined using configuration information, including dynamic rules. Also, in some cases, a user may be able to perform actions on one or more panels, such as moving, showing, hiding, resizing, reordering, etc.
[0021] As used herein, the term "configuration information" refers to information that may include rule-based policies, pattern matching, scripts (e.g., computer-readable instructions), and the like, which may be provided from a variety of sources including configuration files, databases, user input, built-in defaults, and the like, or combinations thereof.
[0022] The following provides a simplified description of embodiments of the invention in order to provide a basic understanding of some aspects of the invention. This brief description is not intended to be an extensive overview. It is not intended to identify key or critical elements or to delineate or otherwise narrow the scope. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
[0023] Briefly, various embodiments are directed to managing data using a network computer. In one or more of the various embodiments, a data model including one or more data types, one or more data type relationships, one or more shortcuts, etc. may be provided such that each data type is represented by a node in the data model and each data type relationship is represented by a pair of opposing edges in the data model.
[0024] In one or more of the various embodiments, further actions may be performed in response to a query to determine a directed path in the data model for a shortcut, including: determining a current source data type and a current target data type based on the shortcut; determining one or more candidate nodes and one or more traversal edges based on the data model, the current target data type, and the current source data type, such that each traversal edge may correspond to a data type relationship between two data types included in the data model, the one or more candidate nodes, and the one or more traversal edges; generating a tree based on the one or more candidate nodes and the one or more traversal edges; removing one or more leaf nodes of the tree, such that one or more remaining leaf nodes correspond to the current target data type; removing one or more branches of the tree, such that one or more removed branches may correspond to one or more duplicate traversal edges in the tree; determining a directed path in the data model connecting the current source data type to the current target data type based on the remainder of the one or more candidate nodes in the tree and the remainder of the one or more traversal edges in the tree; and generating a response to the query based on taking the directed path to traverse the data model from the current source data type to the current target data type.
[0025] In one or more of the various embodiments, determining the one or more candidate nodes and the one or more traversal edges may include providing one or more closure source data types, one or more closure target data types, and one or more directed closure edges that may be associated with the data model; generating one or more closures based on the one or more closure source data types, the one or more closure target data types, and the one or more directed closure edges; determining one or more candidate nodes based on portions of the one or more closures associated with the target data types and source data types; determining one or more traversal edges based on portions of the one or more closures;
[0026] In one or more of various embodiments, determining the one or more traversal edges may include providing one or more flow source data types, one or more flow target data types, and one or more directed flow edges associated with the data model; generating one or more flow boundaries based on the one or more flow source data types, the one or more flow target data types, and the one or more directed flow edges, such that each flow boundary indicates a transition boundary between one or more data types in the data model; adding one or more directed flow edges to the one or more traversal edges; and the like.
[0027] In one or more of various embodiments, the data store may be employed to provide one or more persistence shortcuts associated with the data model, such that each persistence shortcut may provide a different directed path between a different source data type and a different target data type, and in response to determining one or more portions of the directed path that correspond to the one or more persistence shortcuts, substitute the corresponding one or more persistence shortcuts for the one or more portions of the directed path.
[0028] In one or more of various embodiments, the data model may be modified based on the inclusion of one or more other data types or the inclusion of one or more other data type relationships. In some embodiments, an alternative directed path may be generated based on the modified data model and the one or more shortcuts. In some embodiments, the alternative directed path may be provided in place of the directed path.
[0029] In one or more of the various embodiments, providing the data model may include automatically generating one or more directed paths for each shortcut in the absence of a query.
[0030] In one or more of various embodiments, providing the data model may include providing one or more composite data types that may be composed of one or more other data types, and providing multiple nodes within the data model that may represent the same data type.
[0031] Example operating environment
[0032] 1 illustrates components of one embodiment of an environment in which an embodiment of the present invention may be implemented. Not all of the components are required to implement the present invention, and changes in the arrangement and type of components may be made without departing from the spirit or scope of the present invention. As illustrated, the system 100 of FIG. 1 includes a local area network (LAN) / wide area network (WAN) (network) 110, a wireless network 108, client computers 102-105, a visualization server computer 116, and the like.
[0033] An embodiment of at least one of the client computers 102-105 is described in more detail below in conjunction with FIG. 2. In one embodiment, at least some of the client computers 102-105 may operate on one or more wired or wireless networks, such as networks 108, 110. In general, the client computers 102-105 may include virtually any computer capable of communicating over a network to send and receive information and perform various online activities, offline actions, and the like. In one embodiment, one or more of the client computers 102-105 may be configured to operate within a business or other entity to perform various services for the business or other entity. For example, the client computers 102-105 may be configured to operate as a web server, a firewall, a client application, a media player, a mobile phone, a game console, a desktop computer, and the like. However, the client computers 102-105 are not constrained to these services and may be employed, for example, for end-user computing in other embodiments. It should be appreciated that more or fewer client computers may be included in a system as described herein (as shown in FIG. 1), and thus embodiments are not constrained by the number or type of client computers employed.
[0034] Computers that may operate as client computers 102 may include computers that typically connect using wired or wireless communication media, such as personal computers, multiprocessor systems, microprocessor-based or programmable electronic devices, network PCs, and the like. In some embodiments, client computers 102-105 may include virtually any portable computer, such as laptop computer 103, mobile computer 104, tablet computer 105, and the like, that can connect to and receive information from another computer. However, portable computers may also include other portable computers, such as, but not limited to, mobile phones, display pagers, radio frequency (RF) devices, infrared (IR) devices, personal digital assistants (PDAs), handheld computers, wearable computers, integrated devices that combine one or more of the preceding computers, and the like. As such, client computers 102-105 typically range widely in terms of capabilities and features. Additionally, client computers 102-105 may access a variety of computing applications, including browsers and other web-based applications.
[0035] A web-enabled client computer may include a browser application configured to send requests and receive responses over the web. The browser application may be configured to employ virtually any web-based language to receive and display graphics, text, multimedia, and the like. In one embodiment, the browser application may employ JavaScript, HyperText Markup Language (HTML), eXtensible Markup Language (XML), JavaScript Object Notation (JSON), Cascading Style Sheets (CSS), and the like, or combinations thereof, to display and send messages. In one embodiment, a user of a client computer may employ the browser application to perform various activities over a network (online). However, other applications may also be used to perform various online activities.
[0036] The client computers 102-105 may also include at least one other client application configured to send and receive content between other computers. The client application may include functionality to send and receive content, etc. The client application may further provide information to identify itself, including type, capabilities, name, etc. In one embodiment, the client computers 102-105 may uniquely identify themselves through any of a variety of mechanisms, including an Internet Protocol (IP) address, a phone number, a Mobile Identification Number (MIN), an electronic serial number (ESN), a client certificate, or other device identifier. Such information may be provided in one or more network packets transmitted between the other client computers, the visualization server computer 116, or other computers, etc.
[0037] The client computers 102-105 may further be configured to include a client application that allows an end user to log into an end user account that may be managed by another computer, such as the visualization server computer 116. Such an end user account may be configured to allow the end user to manage one or more online activities including, in one non-limiting example, project management, software development, systems administration, configuration management, search activity, social networking activity, browsing various websites, communicating with other users, etc. The client computers may also be arranged to allow the user to view reports, interactive user interfaces, or results provided by the visualization server computer 116.
[0038] Wireless network 108 is configured to couple client computers 103-105 and their components to network 110. Wireless network 108 may include any of a variety of wireless sub-networks that may further overlay standalone ad-hoc networks, etc., to provide infrastructure-oriented connectivity to client computers 103-105. Such sub-networks may include mesh networks, wireless LAN (WLAN) networks, cellular networks, etc. In one embodiment, the system may include multiple wireless networks.
[0039] The wireless network 108 may further include autonomous systems of terminals, gateways, routers, etc., connected by wireless links, etc. These connectors may be configured to move freely and randomly and organize themselves arbitrarily, so that the topology of the wireless network 108 may change rapidly.
[0040] The wireless network 108 may further employ multiple access technologies including second (2G), third (3G), fourth (4G), fifth (5G) generation wireless access for cellular systems, WLANs, wireless router (WR) mesh, etc. Access technologies such as 2G, 3G, 4G, 5G, and future access networks may enable wide area coverage for mobile computers such as the client computers 103-105 with various degrees of mobility. In one non-limiting example, the wireless network 108 may enable wireless connectivity via wireless network access such as Global System for Mobile communications (GSM), General Packet Radio Services (GPRS), Enhanced Data GSM Environment (EDGE), code division multiple access (CDMA), time division multiple access (TDMA), Wideband Code Division Multiple Access (WCDMA), High Speed Downlink Packet Access (HSDPA), Long Term Evolution (LTE), etc. In essence, wireless network 108 may include virtually any wireless communication mechanism capable of communicating between client computers 103-105 and another computer, network, cloud-based network, cloud instance, and the like.
[0041] Network 110 is configured to couple the network computers with other computers, including visualization server computer 116, client computer 102, and client computers 103-105, such as via wireless network 108. Network 110 may employ any form of computer-readable medium to communicate information from one electronic device to another. Network 110 may also include the Internet in addition to direct connections, such as via a local area network (LAN), a wide area network (WAN), a universal serial bus (USB) port, an Ethernet port, other forms of computer-readable media, or any combination thereof. In a set of interconnected LANs, including those based on different architectures and protocols, a router serves as a link between the LANs, enabling the transmission of messages from one to another. Additionally, communication links within a LAN typically include twisted wire pairs or coaxial cables, while communication links between networks may utilize other carrier mechanisms including analog telephone lines, fully or partially dedicated digital lines including T1, T2, T3, and T4, or wireless links including, for example, E-carrier, Integrated Services Digital Network (ISDN), Digital Subscriber Line (DSL), satellite links, or other communication links known to those skilled in the art. Furthermore, communication links may further employ any of a variety of digital signaling technologies including, for example, but not limited to, DS-0, DS-1, DS-2, DS-3, DS-4, OC-3, OC-12, OC-48, and the like. Furthermore, remote computers and other associated electronic devices may be remotely connected to either the LAN or WAN via modems and temporary telephone links. In one embodiment, network 110 may be configured to transfer information in the Internet Protocol (IP).
[0042] Additionally, communication media typically embodies computer readable instructions, data structures, program modules, or other transport mechanism and includes any information non-transitory or transitory distribution media. By way of example, communication media includes wired media such as twisted pair, coaxial cable, fiber optics, wave guide, and other wired media, and wireless media such as acoustic, RF, infrared and other wireless media.
[0043] Also, one embodiment of the visualization server computer 116 is described in more detail below in conjunction with FIG. 3. Although FIG. 1 illustrates the visualization server computer 116 as a single computer, the innovations or embodiments are not so limited. For example, one or more functions of the visualization server computer 116 or the like may be distributed across one or more separate networked computers. Furthermore, in one or more embodiments, the visualization server computer 116 or the like may be implemented using multiple networked computers. Furthermore, in one or more of the various embodiments, the visualization server computer 116 or the like may be implemented using one or more cloud instances in one or more cloud networks. Thus, these innovations and embodiments should not be construed as limited to a single environment, and other configurations and other architectures are contemplated.
[0044] Exemplary Client Computer
[0045] 2 illustrates an embodiment of a client computer 200, which may include more or fewer components than those illustrated. Client computer 200 may represent, for example, one or more embodiments of the mobile computer or client computer illustrated in FIG.
[0046] The client computer 200 may include a processor 202 in communication with a memory 204 via a bus 228. The client computer 200 may also include a power supply 230, a network interface 232, an audio interface 256, a display 250, a keypad 252, an illuminator 254, a video interface 242, an input / output interface 238, a haptic interface 264, a global positioning systems (GPS) receiver 258, an open air gesture interface 260, a temperature interface 262, a camera 240, a projector 246, a pointing device interface 266, a processor-readable fixed storage device 234, and a processor-readable removable storage device 236. The client computer 200 may optionally communicate with a base station (not shown) or directly with another computer. Also, in one embodiment, although not shown, a gyroscope may be employed within the client computer 200 to measure or maintain the orientation of the client computer 200.
[0047] The power supply 230 may provide power to the client computer 200. A rechargeable or non-rechargeable battery may be used to provide the power. Power may be provided by an external power source, such as an AC adapter or a powered docking cradle that replenishes or recharges the battery.
[0048] The network interface 232 includes circuitry for coupling the client computer 200 to one or more networks and is configured for use with one or more communications protocols and technologies, including, but not limited to, protocols and technologies implementing any portion of the OSI model, GSM, CDMA, time division multiple access (TDMA), UDP, TCP / IP, SMS, MMS, GPRS, WAP, UWB, WiMax, SIP / RTP, GPRS, EDGE, WCDMA, LTE, UMTS, OFDM, CDMA2000, EV-DO, HSDPA, or any of a variety of other wireless communication protocols. The network interface 232 may also be known as a transceiver, a transceiver device, or a network interface card (NIC).
[0049] Audio interface 256 may be arranged to generate and receive audio signals, such as the sound of a human voice. For example, audio interface 256 may be coupled to a speaker and microphone (not shown) to enable communication with others or to generate audio acknowledgments for some actions. The microphone in audio interface 256 may also be used for input to or control of client computer 200, such as using voice recognition, detecting touch based on sound, etc.
[0050] Display 250 may be a liquid crystal display (LCD), gas plasma, electronic ink, light emitting diode (LED), organic LED (OLED), or any other type of light reflective or light transmissive display that can be used with a computer. Display 250 may include a touch interface 244 arranged to receive input from an object such as a stylus or a finger from a human hand, and may sense touch or gestures using resistive, capacitive, surface acoustic wave (SAW), infrared, radar, or other technologies.
[0051] Projector 246 may be a remote handheld projector or an integrated projector capable of projecting an image onto any other reflective object, such as a remote wall or screen.
[0052] Video interface 242 may be arranged to capture video images, such as still images, video segments, infrared video, etc. For example, video interface 242 may be coupled to a digital video camera, a webcam, etc. Video interface 242 may include a lens, an image sensor, and other electronics. The image sensor may include a complementary metal-oxide semiconductor (CMOS) integrated circuit, a charge-coupled device (CCD), or any other integrated circuit for sensing light.
[0053] The keypad 252 may include any input device arranged to receive input from a user. For example, the keypad 252 may include a push button numeric dial, or a keyboard. The keypad 252 may also include command buttons associated with selecting and sending images.
[0054] The illuminator 254 may provide a status indication or provide light. The illuminator 254 may remain active for a particular period of time or in response to an event message. For example, when the illuminator 254 is active, the illuminator may backlight the buttons on the keypad 252 and remain on while the client computer is powered. The illuminator 254 may also backlight these buttons in various patterns when particular actions are performed, such as dialing another client computer. The illuminator 254 may also cause light sources positioned within a transparent or translucent case of the client computer to illuminate in response to the action.
[0055] Additionally, client computer 200 may also include a hardware security module (HSM) 268 to provide additional tamper-resistant safeguards for generating, storing, or using security / cryptographic information, such as keys, digital certificates, passwords, passphrases, two-factor authentication information, etc. In some embodiments, a hardware security module may be employed to support one or more standard public key infrastructure (PKI) pairs, generate, manage, or store them, etc. In some embodiments, HSM 268 may be a standalone computer, while in other cases HSM 268 may be arranged as a hardware card that can be added to a client computer.
[0056] Client computer 200 may also include input / output interface 238 for communicating with external peripheral devices or other computers, such as other client computers and network computers. Peripheral devices may include audio headsets, virtual reality headsets, display screen glasses, remote speaker systems, remote speaker and microphone systems, etc. Input / output interface 238 may utilize one or more technologies, such as Universal Serial Bus (USB), infrared, WiFi, WiMax, Bluetooth, etc.
[0057] The input / output interface 238 may also include one or more sensors for determining geographic location information (e.g., GPS), monitoring power conditions (e.g., voltage sensors, current sensors, frequency sensors, etc.), monitoring weather (e.g., thermostat, barometer, anemometer, humidity detector, precipitation scale, etc.), etc. The sensors may be one or more hardware sensors that collect or measure data external to the client computer 200.
[0058] The haptic interface 264 may be arranged to provide haptic feedback to the user of the client computer. For example, the haptic interface 264 may be employed to vibrate the client computer 200 in a particular manner when another user of the computer is making a phone call. The temperature interface 262 may be used to provide a temperature measurement input or a temperature change output to the user of the client computer 200. The open air gesture interface 260 may sense the physical gestures of the user of the client computer 200, for example, by using a single or stereo video camera, radar, a gyro sensor inside a computer held or worn by the user, or the like. The camera 240 may be used to track the physical eye movements of the user of the client computer 200.
[0059] The GPS transceiver 258 can determine the physical coordinates of the client computer 200 on the surface of the Earth, which typically outputs a location as latitude and longitude values. The GPS transceiver 258 can employ other geographic positioning mechanisms, including, but not limited to, triangulation, assisted GPS (AGPS), Enhanced Observed Time Difference (E-OTD), Cell Identifier (CI), Service Area Identifier (SAI), Enhanced Timing Advance (ETA), Base Station Subsystem (BSS), and the like, to further determine the physical location of the client computer 200 on the surface of the Earth. It is understood that under different conditions, the GPS transceiver 258 can determine the physical location of the client computer 200. However, in one or more embodiments, the client computer 200, through other components, can provide other information that can be used to determine the physical location of the client computer, including, for example, a Media Access Control (MAC) address, an IP address, and the like.
[0060] In at least one of various embodiments, applications such as operating system 206, client display engine 222, other client apps 224, web browser 226, etc. may be arranged to employ geographic location information to select one or more localization features, such as a time zone, language, currency, calendar format, etc. The localization features may be used in documents, visualizations, display objects, display models, action objects, user interfaces, reports, and internal processes or databases. In at least one of various embodiments, the geographic location information used to select the localization information may be provided by GPS 258. Also, in some embodiments, the geographic location information may include information provided using one or more geographic location information protocols over a network, such as wireless network 108 or network 111.
[0061] The human interface components may be peripheral devices physically separate from the client computer 200, allowing remote input or output to the client computer 200. For example, information routed as described herein through a human interface component such as the display 250 or keyboard 252 may instead be routed through the network interface 232 to an appropriate remotely located human interface component. Examples of human interface peripheral components that may be remote include, but are not limited to, audio devices, pointing devices, keypads, displays, cameras, projectors, and the like. These peripheral components may communicate through pico-networks such as Bluetooth, Zigbee, and the like. One non-limiting example of a client computer having such peripheral human interface components is a wearable computer, which may include a remote pico-projector along with one or more cameras that communicate remotely with the separately located client computer to sense user gestures relative to portions of an image projected by the pico-projector onto a reflective surface such as a wall or the user's hand.
[0062] The client computer may include a web browser application 226 configured to send and receive web pages, web-based messages, graphics, text, multimedia, and the like. The browser application of the client computer may employ virtually any programming language, including wireless application protocol messages (WAP), and the like. In one or more embodiments, the browser application may use Handheld Device Markup Language (HDML), Wireless Markup Language (WML), WML Script, JavaScript, Standard Generalized Markup Language (SGML), HyperText Markup Language (HTML), eXtensible Markup Language (XML), HTML5, and the like.
[0063] The memory 204 may include RAM, ROM, or other types of memory. The memory 204 illustrates an example of a computer-readable storage medium (device) for storing information such as computer-readable instructions, data structures, program modules, or other data. The memory 204 may store a BIOS 208 for controlling the low-level operation of the client computer 200. The memory may also store an operating system 206 for controlling the operation of the client computer 200. It is understood that this component may include a general-purpose operating system such as a version of UNIX, or Linux, Microsoft Windows, or a dedicated client computer communications operating system such as Android, or Apple Corporation's iOS. The operating system may include or interface with a Java Virtual Machine module that allows control of hardware components or operating system operations via Java application programs.
[0064] The memory 204 may further include one or more data storages 210 that the client computer 200 may utilize to store, among other things, applications 220 or other data. For example, the data storage 210 may also be employed to store information describing various capabilities of the client computer 200. The information may then be provided to another device or computer based on any of a variety of methods, including being sent as part of a header during a communication, being sent on request, and the like. The data storage 210 may also be employed to store social networking information, including address books, buddy lists, aliases, user profile information, and the like. The data storage 210 may further include program code, data, algorithms, and the like, used by a processor, such as the processor 202, to perform actions. In one embodiment, at least a portion of the data storage 210 may also be stored on another component of the client computer 200, including, but not limited to, a non-transitory processor-readable removable storage device 236, a processor-readable non-removable storage device 234, or even external to the client computer.
[0065] The applications 220 may include computer-executable instructions that, when executed by the client computer 200, send, receive, or otherwise process instructions and data. The applications 220 may include, for example, a client display engine 222, other client applications 224, a web browser 226, etc. The client computers may be arranged to exchange communications such as queries, searches, messages, notification messages, event messages, alerts, performance metrics, log data, API calls, and combinations thereof with the visualization server computer.
[0066] Other examples of application programs include calendars, search programs, email client applications, IM applications, SMS applications, Voice Over Internet Protocol (VOIP) applications, contact managers, task managers, transcoders, database programs, word processing programs, security applications, spreadsheet programs, games, search programs, and the like.
[0067] Additionally, in one or more embodiments (not shown), instead of a CPU, the client computer 200 may include an embedded logic hardware device, such as an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a Programmable Array Logic (PAL), or the like, or a combination thereof. The embedded logic hardware device may directly execute its embedded logic to perform actions. Also, in one or more embodiments (not shown), instead of a CPU, the client computer 200 may include one or more hardware microcontrollers. In one or more embodiments, instead of a CPU, the one or more microcontrollers, such as a System On a Chip (SOC), may directly execute its embedded logic to perform actions and access its internal memory and its external input / output interface (e.g., hardware pins or wireless transceiver) to perform actions.
[0068] Exemplary Network Computer
[0069] 3 illustrates one embodiment of a network computer 300 that may be included in a system implementing one or more of the various embodiments. The network computer 300 may include more or fewer components than those shown in FIG. 3. However, the illustrated components are sufficient to disclose an exemplary embodiment for implementing these innovations. The network computer 300 may represent, for example, one or more of the visualization server computers 116 of FIG. 1.
[0070] A network computer such as network computer 300 may include a processor 302 that may communicate with memory 304 via a bus 328. In some embodiments, processor 302 may include one or more hardware processors, or one or more processor cores. In some cases, one or more of the one or more processors may be specialized processors designed to perform one or more specialized actions, such as those described herein. Network computer 300 also includes a power supply 330, a network interface 332, an audio interface 356, a display 350, a keyboard 352, an input / output interface 338, a processor-readable fixed storage device 334, and a processor-readable removable storage device 336. Power supply 330 provides power to client computer 300.
[0071] The network interface 332 includes circuitry for coupling the network computer 300 to one or more networks and is configured for use with one or more communications protocols and technologies, including, but not limited to, protocols and technologies implementing any portion of the Open Systems Interconnection model (OSI model), global system for mobile communication (GSM), code division multiple access (CDMA), time division multiple access (TDMA), user datagram protocol (UDP), transmission control protocol / Internet protocol (TCP / IP), Short Message Service (SMS), Multimedia Messaging Service (MMS), general packet radio service (GPRS), WAP, ultra-wide band (UWB), IEEE 802.16 Worldwide Interoperability for Microwave Access (WiMax), Session Initiation Protocol / Real-time Transport Protocol (SIP / RTP), or various other wired and wireless communication protocols. The network interface 332 may also be known as a transceiver, a transceiver device, or a network interface card (NIC). Network computer 300 may optionally communicate with a base station (not shown) or directly with another computer.
[0072] Audio interface 356 is arranged to generate and receive audio signals, such as the sound of a human voice. For example, audio interface 356 may be coupled to a speaker and microphone (not shown) to enable communication with others or to generate audio acknowledgments for some actions. The microphone in audio interface 356 may also be used for input to or control of network computer 300, for example, using voice recognition.
[0073] Display 350 may be a liquid crystal display (LCD), gas plasma, electronic ink, light emitting diode (LED), organic LED (OLED), or any other type of light reflective or transmissive display that can be used with a computer. In some embodiments, display 350 may be a handheld projector or picoprojector that can project an image onto a wall or other object.
[0074] Network computer 300 may also include an input / output interface 338 for communicating with external devices or computers not shown in Figure 3. Input / output interface 338 may utilize one or more wired or wireless communication technologies, such as USB, Firewire, WiFi, WiMax, Thunderbolt, infrared, Bluetooth, Zigbee, serial ports, parallel ports, etc.
[0075] Input / output interface 338 may also include one or more sensors for determining geographic location information (e.g., GPS), monitoring power conditions (e.g., voltage sensors, current sensors, frequency sensors, etc.), monitoring weather (e.g., thermostat, barometer, anemometer, humidity detector, precipitation scale, etc.), and the like. The sensors may be one or more hardware sensors that collect or measure data external to network computer 300. Human interface components may be physically separate from network computer 300, allowing for remote input or output to network computer 300. For example, information that would be routed as described herein through a human interface component such as display 350 or keyboard 352 may instead be routed through network interface 332 to an appropriate human interface component located elsewhere on the network. Human interface components include any component that allows a computer to take input from or send output to a human user of the computer. Thus, a pointing device such as a mouse, stylus, trackball, etc. may communicate and receive user input through pointing device interface 358.
[0076] The GPS transceiver 340 can determine the physical coordinates of the network computer 300 on the surface of the Earth, which typically outputs a location as latitude and longitude values. The GPS transceiver 340 can employ other geographic positioning mechanisms, including, but not limited to, triangulation, assisted GPS (AGPS), Enhanced Observed Time Difference (E-OTD), Cell Identifier (CI), Service Area Identifier (SAI), Enhanced Timing Advance (ETA), Base Station Subsystem (BSS), and the like, to further determine the physical location of the network computer 300 on the surface of the Earth. It is understood that under different conditions, the GPS transceiver 340 can determine the physical location of the network computer 300. However, in one or more embodiments, the network computer 300, through other components, can provide other information that can be used to determine the physical location of the client computer, including, for example, a Media Access Control (MAC) address, an IP address, and the like.
[0077] In at least one of various embodiments, applications such as operating system 306, data management engine 322, display engine 324, lineage engine 326, web services 329, etc. may be arranged to employ geographic location information to select one or more localization features, such as a time zone, language, currency, calendar format, etc. The localization features may be used in documents, file systems, user interfaces, reports, display objects, display models, visualizations, and internal processes or databases. In at least one of various embodiments, the geographic location information used to select the localization information may be provided by GPS 340. Also, in some embodiments, the geographic location information may include information provided using one or more geographic location information protocols over a network, such as wireless network 108 or network 111.
[0078] The memory 304 may include random access memory (RAM), read-only memory (ROM), or other types of memory. The memory 304 illustrates an example of a computer-readable storage medium (device) for storing information such as computer-readable instructions, data structures, program modules, or other data. The memory 304 stores a basic input / output system (BIOS) 308 for controlling low-level operation of the network computer 300. The memory also stores an operating system 306 for controlling the operation of the network computer 300. It is understood that this component may include a general-purpose operating system, such as a version of UNIX®, or Linux®, or a dedicated operating system, such as Microsoft Corporation's Windows® operating system, or Apple Corporation's OSX® operating system. The operating system may include or interface with one or more virtual machine modules, such as a Java virtual machine module that allows control of hardware components or operating system operations via Java application programs. Other runtime environments may be included as well.
[0079] The memory 304 may further include one or more data storages 310 that the network computer 300 may utilize to store, among other things, applications 320 or other data. For example, the data storage 310 may also be employed to store information describing various capabilities of the network computer 300. The information may then be provided to another device or computer based on any of a variety of methods, including being sent as part of a header during a communication, being sent on request, and the like. The data storage 310 may also be employed to store social networking information, including address books, buddy lists, aliases, user profile information, and the like. The data storage 310 may further include program code, data, algorithms, and the like that a processor, such as the processor 302, uses to perform actions, such as the actions described below. In one embodiment, at least a portion of the data storage 310 may also be stored on another component of the network computer 300, including, but not limited to, the processor-readable removable storage device 336, the processor-readable non-removable storage device 334, or any other computer-readable storage device within the network computer 300, or even external to the network computer 300. Data storage 310 may include, for example, data models 314, display models 316, source data 318, etc. Data models 314 may store files, documents, versions, properties, metadata, data structures, etc. that represent one or more portions of one or more data models. Display models 316 may store display models. Source data 318 may represent memory used to store databases or other data sources that provide data underlying data models, display models, etc.
[0080] The applications 320 may include computer-executable instructions that, when executed by the network computer 300, transmit, receive, or otherwise process messages (e.g., SMS, Multimedia Messaging Service (MMS), Instant Message (IM), email, or other messages), audio, video, and enable communication with another user of another mobile computer. Other examples of application programs include calendars, search programs, email client applications, IM applications, SMS applications, Voice Over Internet Protocol (VOIP) applications, contact managers, task managers, transcoders, database programs, word processing programs, security applications, spreadsheet programs, games, search programs, and the like. The applications 320 may include a data management engine 322, a display engine 324, a lineage engine 326, web services 329, and the like, which may be arranged to perform actions for the embodiments described below. In one or more of the various embodiments, one or more of the applications may be implemented as a module or component of another application. Additionally, in one or more of the various embodiments, the applications may be implemented as an operating system extension, module, plug-in, and the like.
[0081] Further, in one or more of various embodiments, the data management engine 322, the display engine 324, the lineage engine 326, the web services 329, etc. may operate in a cloud-based computing environment. In one or more of various embodiments, these and other applications, including the management platform, may be executed within virtual machines or virtual servers that may be managed in the cloud-based computing environment. In one or more of various embodiments, in this context, applications may flow from one physical network computer to another in the cloud-based environment depending on performance and scaling considerations that are automatically managed by the cloud computing environment. Similarly, in one or more of various embodiments, dedicated virtual machines or virtual servers, such as the data management engine 322, the display engine 324, the web services 329, etc., may be automatically provisioned and decommissioned.
[0082] Also, in one or more of various embodiments, the data management engine 322, display engine 324, lineage engine 326, web services 329, etc. may be located within virtual servers running in a cloud-based computing environment, rather than being tied to one or more particular physical network computers.
[0083] Additionally, network computer 300 may also include a hardware security module (HSM) 360 to provide additional tamper-resistant safeguards for generating, storing, or using security / cryptographic information, such as keys, digital certificates, passwords, passphrases, two-factor authentication information, etc. In some embodiments, a hardware security module may be employed to support one or more standard public key infrastructure (PKI) pairs, generate, manage, or store them, etc. In some embodiments, HSM 360 may be a standalone computer, while in other cases, HSM 360 may be arranged as a hardware card that may be installed in the network computer.
[0084] Additionally, in one or more embodiments (not shown), instead of a CPU, network computer 300 may include an embedded logic hardware device, such as an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a Programmable Array Logic (PAL), or the like, or a combination thereof. The embedded logic hardware device may directly execute its embedded logic to perform actions. Also, in one or more embodiments (not shown), instead of a CPU, network computer 200 may include one or more hardware microcontrollers. In one or more embodiments, instead of a CPU, one or more microcontrollers, such as a System On a Chip (SOC), may directly execute its embedded logic to perform actions and access its internal memory and its external input / output interface (e.g., hardware pins or a wireless transceiver) to perform actions.
[0085] Exemplary Logical System Architecture
[0086] 4 illustrates a logical architecture of a system 400 for generating shortcut paths between related data types, according to one or more of the various embodiments. In one or more of the various embodiments, the system 400 may include various components, such as a data model 402, which may be composed of various data objects ranging from one or more database objects to one or more visualizations. In this example, the data model 402 includes a database object 404, a database object 406, a table object 408, a table object 410, a table object 412, a workflow object 414, a data source object 416, a data source object 418, a workbook object 420, a sheet object 422, and a sheet object 424.
[0087] In one or more of various embodiments, a visualization server computer, such as visualization server computer 116, may be arranged to employ a data model, such as data model 402, to represent information that may be used to generate a visualization. In some embodiments, the data model may also be used to manage other actors in the visualization system, including users, authors, and the like.
[0088] In this example, data model 402 may have one or more root level data objects, such as data object 404 and data object 406. Data object 404 and data object 406 represent databases that may be sources of information that drive the data model. For example, data object 404 may represent a SQL RDBMS associated with a portion of an organization, while data object 406 may represent an API gateway to another information provider or other database.
[0089] In one or more of various embodiments, data objects 408, data objects 410, data objects 412, etc. represent tables or table-like objects that may be provided by one or more databases. At this level of the data model, data objects may be thought of as wrapping or otherwise closely modeling entities provided from a database. Thus, in some embodiments, the properties or attributes of table or database objects may closely reflect their native representation, including attribute names, data types, table names, column names, etc. For example, a data manager may be enabled to "import" a database or table into the data model, such that the imported object retains some or all of the features or attributes available in its native form. In some cases, in some embodiments, one or more imported data objects may include metadata information that may also be imported.
[0090] In one or more of the various embodiments, before the imported table objects can be used for a visualization, a data curator may need to perform one or more actions to prepare the information for consumption by the visualization or visualization author. In this example, extract-transform-load (ETL) object 414 represents an ETL process that performs some processing on the information in table objects 410 and 412 before it is made available for visualization.
[0091] In one or more of various embodiments, a data source object, such as data source 416 or data source 418, represents data objects available to a visualization author for incorporation into a visualization or other display model. In some embodiments, a data source object may provide a data administrator control to manage or otherwise shape the information from a database (e.g., database 404 or database 406) that may be made available to a visualization or visualization author. For example, one or more tables in database 404 may contain sensitive information that an organization wants to exclude from a visualization. Thus, in some embodiments, by selecting mapping attributes from a table object to a data source object, a data administrator may control how data is exposed from the underlying database. In some embodiments, a data administrator may be enabled to select specific columns or attributes from a table object for inclusion in the data source. Also, in some embodiments, an attribute name (e.g., column name) in a table object may be mapped to a different name in a data source. For example, a table column named customer_identifier in a table object may be mapped to an attribute named "Account Number" in a data source. Additionally, in some embodiments, other transformations of the mapping may be performed, such as data type conversions, aggregations, filtering, joins, etc. In some embodiments, extensive or complex transformations may be encapsulated in ETL objects, while simpler or more general transformations may be possible without the use of separate ETL objects.
[0092] In one or more of various embodiments, the edges 448 represent a mapping from a table object to a data source. In this example, the edges 448 may represent one or more data structures that map one or more attributes (e.g., columns) of the table object 408 to the data source 416. Thus, in some embodiments, the edges 448 provide or are associated with one or more mapping rules or instructions that define what information from the table object 408 is available in the data source 416 and how the information from the table object 408 appears to a visualization author.
[0093] In one or more of various embodiments, workbook object 420 represents a data object that may be associated with one or more user-level data objects, such as sheet object 422 or sheet object 424. In some embodiments, a visualization author may be enabled to design a workbook, such as workbook object 420, based on information provided by one or more data sources, such as data source 416 or data source 418. In some embodiments, a visualization author may design a workbook that includes one or more sheets (e.g., sheet object 422 or sheet object 424). In some embodiments, a sheet object may include one or more visualizations, etc.
[0094] In one or more of various embodiments, the sheet object 422 or the sheet object 424 may represent some or all of the information that may be provided to a visualization engine or the like that provides one or more interactive visualization applications or reports that may be employed by a user. In this example, the sheet object 422 or the sheet object 424 may be considered to include or reference one or more of data, metadata, data structures, etc. that may be used to render one or more visualizations of information that may be provided by one or more databases. In some embodiments, the sheets may be arranged to include one or more display models, styling information, textual descriptions, explanatory information, stylized graphics, links to other sheets, etc.
[0095] FIG. 5 illustrates a logical schematic of a data type 500 for generating shortcut paths between related data types, according to one or more of various embodiments. In some embodiments, a data model may be composed of various data objects of various data types. In some embodiments, one or more data types may be composed of one or more other data types. In this example, in some embodiments, the data types may include a database data type 502, a table data type 504, a column data type 506, a data source data type 508, a user data type 510, a field data type 512, a column field data type 514, a calculation field data type 516, a workbook data type 518, a sheet data type 520, etc. In one or more of various embodiments, each data type may include one or more attributes that are one or more other data types or one or more references to other data types.
[0096] In some cases, one or more attributes may include so-called built-in data types, such as strings, integers, floating point numbers, etc. For brevity and clarity, built-in data types are omitted in this description.
[0097] In one or more of the various embodiments, various data types may be associated with a set of known behaviors or data constraints based on their definition. Thus, in some embodiments, the lineage engine may be arranged to programmatically query data types to determine their configurations and associated rules or behaviors.
[0098] Additionally, in some embodiments, employing the defined data types to compose a data model allows other applications or services within the visualization platform to properly interact with each other. As described below, the schema model may further declare how some data types are composed of other data types.
[0099] 6 illustrates a logical schematic of a schema model 600 for generating shortcut paths between related data types, according to one or more of various embodiments. In one or more of various embodiments, a schema model such as schema model 600 may declare how various data types within a visualization platform may relate to one another. Thus, in some embodiments, a schema model may declare how data types may be composed from other data types.
[0100] In one or more of the various embodiments, one or more data types may be used to compose one or more other data types, as described herein, such that the same data type may appear multiple times within the same schema model. Additionally, in one or more of the various embodiments, the schema model may represent relationships between data types using directed edges. However, in some cases, in some embodiments, the schema model may represent relationships between data types using two directed edges, where a first directed edge may be considered to represent a relationship in one direction and a second directed edge may be considered to represent a relationship in the opposite direction. Thus, in one or more of the various embodiments, determining shortcuts between data type nodes in a data model or schema model may require information that disambiguates the two relationships represented by each pair of directed edges.
[0101] In this example, in some embodiments, table data type 604 may be composed of one or more columns represented by column data types 606 and references to database data types 602 .
[0102] In this example, in some embodiments, column data type 606 may be composed of one or more column field data types represented by column field data type 608 .
[0103] In this example, in some embodiments, the data source data type 612 may be composed of one or more fields represented by references to the field data type 614 and the user data type 610 .
[0104] In this example, in some embodiments, the calculated field data type 626 may be composed of one or more references to the field data type 628 .
[0105] In this example, in some embodiments, the workbook data type 620 may be composed of one or more sheet data types 622 and a reference to the user data type 616 .
[0106] In this example, in some embodiments, the sheet data type 622 may be comprised of a reference to one or more fields, which are indicated by the field data type 624 .
[0107] In one or more of various embodiments, a schema model may declare one or more shortcuts between one or more data types. In some embodiments, shortcuts may be considered relationships between data types that may enable more efficient queries. In this example, shortcut 630 defines a shortcut from a data source data type to a database data type. Similarly, in this example, shortcut 632 defines a shortcut from a workbook data type to a database data type. Shortcut 634 defines a shortcut from a table data type to a data source data type. Shortcut 636 defines a shortcut from a table data type to a workbook data type. Shortcut 638 defines a shortcut from a column field data type to a column data type. In this example, shortcut 638 makes the direction of the shortcut path clear among a pair of interrelationships between column data type 606 and column field data type 608.
[0108] In one or more of various embodiments, shortcuts may be considered part of the data types defined in the schema model, just like other data types (attributes or references). Thus, in some embodiments, a data designer defining a schema model may include definitions of shortcuts to other data types. In some embodiments, shortcuts may be arranged to be data structures that include specific directed paths between two data types that clarify a direct or inverse relationship between the two data types. In contrast, some conventional systems require a data designer to manually declare fully qualified path definitions from two data types in a schema model to clarify the direct / inverse relationships included in the schema model.
[0109] Absent the innovations disclosed herein, in some conventional systems, shortcuts may be defined with explicit (fully qualified) paths. However, in complex production schema models with many data types, the explicit paths may become long and complex. Also, as the schema model evolves over time, the explicit shortcut paths may need to be updated as well. However, in some cases, organizations / individuals modifying one part of the schema model may not be aware of the explicit shortcut paths that may break in other parts of the schema model.
[0110] In contrast, in some embodiments, the lineage engine may be arranged to allow data designers to define shortcuts by providing hints / definitions that are easier to express precisely than a fully qualified shortcut path. In some embodiments, the hints may include naming each endpoint of the shortcut, rather than requiring the user / data model administrator to provide a fully qualified path between two data types. Thus, in some embodiments, the lineage engine may be arranged to automatically generate unambiguous directed paths through a schema model for shortcuts.
[0111] Note that in this example, data types having the same label may be considered to be the same data type. For example, field data type 614, field data type 628, field data type 624, etc. may be considered to represent the same data type.
[0112] Those skilled in the art will appreciate that a production schema model may include more or fewer data types than are shown here.
[0113] FIG. 7 illustrates a logical schematic diagram of a closure 700 that may be part of a data model, according to one or more of the various embodiments. In one or more of the various embodiments, a lineage engine may be arranged to determine one or more portions of a data model that may be considered a closure, as described below. In some embodiments, the lineage engine may be arranged to perform one or more actions to determine one or more data types that may be categorized together as a closure. In some embodiments, a closure may be one or more data structures that represent portions of nodes and edges of a schema model that may be separated by a data flow boundary. In some cases, a closure may be informally considered a partition of a schema model. As described above, a schema model may declare multiple closures.
[0114] In this example, closure 700 may be composed of a database data type 702 , a table data type 704 , and a column data type 706 .
[0115] In one or more of the various embodiments, the lineage engine may be arranged to employ the schema model, dataflow boundaries, closure hints, etc. to determine a closure for the schema model or data model.
[0116] FIG. 8 illustrates a representation of a data structure 800 for representing data flow boundaries for a data model in accordance with one or more of the various embodiments.
[0117] In one or more of the various embodiments, the data flow boundaries may be declared by a user (e.g., a data modeler, a data architect, etc.) based on a corresponding data model or schema model. In one or more of the various embodiments, the lineage engine may be arranged to employ the data flow boundaries to determine boundaries between closures in the schema model.
[0118] As described in more detail below, in some embodiments, the lineage engine may be arranged to traverse the schema model to identify data types that can be grouped into closures. Thus, in some embodiments, the lineage engine may be arranged to employ data flow boundaries that help determine conditions for stopping the traversal to determine closures.
[0119] In one or more of the various embodiments, the data flow boundary may be a data structure having various fields such as a source data type, a target data type, an edge identification, a flow direction, and the like.
[0120] In this example, in some embodiments, one or more dataflow boundaries may be grouped into a list or array, such as dataflow boundary array 802. Thus, in this example, in some embodiments, dataflow boundary 804 represents a data structure for declaring dataflow boundaries.
[0121] Also, in this example, dataflow boundary 804 may include one or more fields, such as a source data type 806, an edge identification 808, a target data type 810, and a flow direction 812. In this example, dataflow boundary 804 declares a dataflow boundary between a column data type and a column field data type along an edge identified as referencedByFields. In some embodiments, a lineage engine may be arranged to employ dataflow boundary 804 to determine that a column field should not be included in the same closure as a column. Similarly, other dataflow boundaries in dataflow boundary array 802 may define other dataflow boundaries in the data model that may contribute to the determination of the closure.
[0122] In one or more of the various embodiments, the edges declared for the dataflow boundaries may depict separations or boundaries in the schema model between closures, in this example, edge identification 808 declares edges that represent boundaries.
[0123] Those skilled in the art will appreciate that data structures such as data structure 800 may be represented using a variety of implementations, such as JSON (as shown), XML, structures, objects, database tables, etc., without departing from the scope of these innovations.
[0124] Also, in some embodiments, dataflow boundaries may be defined as part of data type definitions in other parts of the data model, rather than as separate data structures as shown here.
[0125] FIG. 9 illustrates a representation of a data structure 900 for representing closure hints for creating shortcut paths between related data types in accordance with one or more of the various embodiments.
[0126] In one or more of the various embodiments, the closure hints may be declared by a user (e.g., a data modeler, a data architect, etc.) based on a corresponding data model. In one or more of the various embodiments, the lineage engine may be arranged to employ the closure hints to determine closures for the data model.
[0127] As described in more detail below, in some embodiments, the lineage engine may be arranged to traverse the data model to identify data types that can be grouped into closures. Thus, in some embodiments, the lineage engine may be arranged to employ closure hints that help determine conditions for including a data type in a closure.
[0128] In one or more of the various embodiments, the closure hint may be a data structure having various fields such as a source data type, a target data type, an edge identification, a flow direction, and the like.
[0129] In this example, in some embodiments, one or more closure hints may be grouped into a list or array, such as closure hints array 902. Thus, in this example, in some embodiments, closure hints 904 represents a data structure for declaring closure hints.
[0130] Also, in this example, the closure hint 904 may include one or more fields, such as a source data type 906, an edge identification 908, a target data type 910, and a flow direction 912. In this example, the closure hint 904 declares a closure hint between a column data type and a table data type along an edge identified as "table." In some embodiments, a lineage engine may be arranged to employ the closure hint 904 to determine closures that can be employed to generate shortcut paths between related data types.
[0131] Those skilled in the art will appreciate that data structures such as data structure 900 may be implemented using a variety of representations, such as JSON (as shown), XML, structures, objects, database tables, etc., without departing from the scope of these innovations.
[0132] Also, in some embodiments, closure hints may be defined as part of data type definitions in other parts of the data model, rather than as separate data structures as shown here.
[0133] Generalized behavior
[0134] 10-16 depict generalized operations for generating shortcut paths between related data types, according to one or more of various embodiments. In one or more of various embodiments, the processes 1000, 1100, 1200, 1300, 1400, 1500, and 1600 described in conjunction with FIGS. 10-16 may be implemented or performed by one or more processors on a single network computer, such as network computer 300 of FIG. 3. In other embodiments, these processes or portions thereof may be implemented by or performed on multiple network computers, such as network computer 300 of FIG. 3. In still other embodiments, these processes or portions thereof may be implemented by or performed on one or more virtualized computers, such as computers in a cloud-based environment. However, embodiments are not limited thereto, and various combinations of network computers, client computers, and the like may be utilized. Additionally, in one or more of various embodiments, the processes described in conjunction with FIGS. 10-15 may be used to generate shortcut paths between related data types, according to at least one of various embodiments or architectures, such as those described in conjunction with FIGS. 4-9. Further, in one or more of the various embodiments, some or all of the actions performed by processes 1000, 1100, 1200, 1300, 1400, 1500, and 1600 may be performed in part by a data management engine 322, a display engine 324, or a lineage engine 326 executing on one or more processors of one or more networked computers.
[0135] 10 illustrates a high-level flowchart of a process 1000 for generating shortcut paths between related data types according to one or more of the various embodiments. After a start block, in one or more of the various embodiments, a data model may be provided to a lineage engine at start block 1002. As discussed above, the data management engine, display engine, etc. may be arranged to generate a data model that can be used by a visualization author. A data creator or data manager who creates data objects that can be associated with various data model layers or data types in the data model.
[0136] In one or more of various embodiments, one or more shortcut definitions may be provided to the lineage engine at block 1004. As mentioned above, in some embodiments, the shortcut definitions may be declared by a user, a data creator, a data curator, or the like. Often, shortcut definitions may be included in a data model when a new data type is introduced to the data model. In some embodiments, shortcut definitions may be provided to declare a directed path between one or more pairs of data types in the data model. Thus, in some embodiments, a shortcut definition may include at least a source data type, a target data type, and a flow direction (e.g., up or down). In some cases, several flow directions may be required because a data model may be an undirected or partially undirected graph such that a simple traversal of the data model may provide ambiguous or inaccurate results in the absence of application of the innovations disclosed herein. In some embodiments, a data model may declare pairs of relationships (one for each direction) between one or more data types. In some embodiments, these paired directed edges may represent different "directions," so determining a shortcut path by observation may provide inaccurate or ambiguous path results because it is not clear from the observation which direction the shortcut path should take through the data model.
[0137] Similarly, in some embodiments, shortcut definitions may be provided where relationships of existing data types in the data model may be modified.
[0138] In one or more of various embodiments, the shortcut definition may be arranged to allow a user to provide a minimal amount of information. However, in some embodiments, an important feature of the shortcut definition is that it allows a user to explicitly define the relationship between the source data type and the target data type without considering the intervening data types in the data model. For example, a declared shortcut from data type A to data type F may generate a directed path A->B->C->D->E->F that may be provided to traverse between the data types in the data model. Thus, in this example, the shortcut definition may remain valid even when a change in the data model causes the shortcut directed path to become A->B->E->C->D->F. In contrast, without the innovations disclosed herein, changes to the data model may break or invalidate an explicitly declared shortcut directed path.
[0139] At block 1006, in one or more of the various embodiments, the lineage engine may be arranged to determine one or more closures in the data model. In one or more of the various embodiments, the lineage engine may be arranged to evaluate the data model to determine / identify one or more closures that may be present in the data model in preparation for generating a shortcut path from the shortcut definition. In some embodiments, a closure may be defined as a portion / partition of a data model that meets various specific conditions. In some embodiments, a closure may be considered to be a group of related data types that fit within a declared data flow boundary.
[0140] In some embodiments, determining which data types may be grouped into a closure depends on the data flow boundaries that may be declared for the data model. As described above, a data flow boundary may be defined by declaring a flow source data type, a flow target data type, and a flow direction. Thus, in some embodiments, the "boundary" is between the source data type and the target data type in a defined traversal (flow direction). In some embodiments, the choice of where to define the data flow boundary depends on the local requirements of a user, data modeler, etc., who may be authoring or using the data model. Thus, in one or more of the various embodiments, closure hints may be declared by a user, data modeler, data manager, etc. (see FIG. 8 above).
[0141] Thus, in some embodiments, the lineage engine may be arranged to perform one or more actions to group data types into closures, noting that in some embodiments a given data type may be included in multiple closures.
[0142] In one or more of various embodiments, the lineage engine may be arranged to generate the closure upon initialization (e.g., upon startup of the lineage engine or the visualization platform, etc.), or in some cases, closure generation may be deferred until a first query associated with a shortcut may be provided. Thus, in some embodiments, the lineage engine may be arranged to employ rules, instructions, etc. provided via configuration information to determine whether to generate a closure.
[0143] In one or more of various embodiments, the lineage engine may be arranged to retain the closure data structures in memory or cache for a specified period of time, such as the length of a current session, while the lineage engine is running, during a timeout, etc. In some embodiments, the lineage engine may be arranged to employ rules, instructions, etc., provided via configuration information, to determine the lifetime of one or more closure data structures.
[0144] At block 1008, in one or more of the various embodiments, the genealogy engine may be arranged to generate one or more shortcut directed paths based on the one or more closures and the one or more shortcut definitions.
[0145] In one or more of various embodiments, the lineage engine may be arranged to generate a fully qualified shortcut directed path for each declared shortcut, which enables the lineage engine or the like to correctly traverse data type relationships in the data model, as necessary.
[0146] At block 1010, in one or more of various embodiments, the lineage engine may be arranged to employ the generated shortcut directed paths to provide responses to one or more queries associated with the data model. In one or more of various embodiments, the lineage engine may be arranged to enable other applications, services, clients, etc. to provide queries associated with relationships in the data model. Thus, in some embodiments, the generated shortcut directed paths for the shortcuts may be employed to provide the correct response. In some embodiments, the absence of shortcut directed paths, some traversal paths, or other relationships may be ambiguous or undeterminable.
[0147] Control may then be returned to the calling process in one or more of the various embodiments.
[0148] 11 illustrates a flow chart of a process 1100 for generating shortcut paths between related data types according to one or more of various embodiments. After a start block, in one or more of various embodiments, at start block 1102, a data model may be provided to a lineage engine. As discussed above, the data model definition may be authored by a user, such as a data modeler, data architect, administrator, application developer, etc. In some embodiments, the data model definition may include one or more data types that may be composed of one or more other data types.
[0149] At block 1104, in one or more of the various embodiments, one or more closure hints may be established to the lineage engine. In one or more of the various embodiments, the data model definition may include one or more closure hints or closure definitions. As described above, a closure may be a group of data types grouped to meet local requirements or a local environment. In one or more of the various embodiments, specific closure hints for a data model may be declared by a user.
[0150] In one or more of various embodiments, the closure hints may be provided by configuration information that defines the data model. Alternatively, in some embodiments, the closure hints may be provided in a file or data structure that may be separate from the information used to define the data model. In some embodiments, the closure hints reference data types (source and target data types), relationships (edges), and flow directions (up / down) that can be interpreted by the lineage engine to generate the closure.
[0151] At block 1106, in one or more of various embodiments, one or more data flow boundaries may be provided to a lineage engine.
[0152] In one or more of the various embodiments, the data model definition may include one or more data flow boundary definitions. As described above, a data flow boundary may be a boundary between data types declared to meet local requirements or the local environment. In one or more of the various embodiments, the specific data flow boundaries for a data model may be declared by a user.
[0153] In one or more of various embodiments, the dataflow boundaries may be provided by configuration information that defines the data model. Alternatively, in some embodiments, the dataflow boundaries may be provided in files or data structures that may be separate from the information used to define the data model. In some embodiments, the dataflow boundaries reference data types (source and target data types), relationships (edges), and flow directions (up / down) that may be interpreted by the lineage engine to generate the dataflow boundaries.
[0154] At block 1108, in one or more of the various embodiments, a lineage engine may be arranged to determine one or more closures to generate to generate shortcut paths between the related data types. In one or more of the various embodiments, the lineage engine may be arranged to generate the one or more closures based on the closure hint. In one or more of the various embodiments, the lineage engine may be arranged to generate a number of closures provided by the closure hint.
[0155] At decision block 1110, in one or more of the various embodiments, if the closure being generated is an up closure, control may flow to block 1112, otherwise control may flow to block 1114. In one or more of the various embodiments, the closure may be an up closure or a down closure. In some embodiments, an up closure may be a closure generated from a perspective or starting point of a data type that is considered to be below or downstream in the data model from other members of the same closure. In some embodiments, the lineage engine may be arranged to determine whether the closure is an up closure or a down closure from a closure hint associated with the closure being generated. Similarly, in some embodiments, a down closure may be a closure generated from a perspective or starting point of a data type that is considered to be above or upstream in the data model from other members of the same closure. In some embodiments, an up closure or a down closure may be distinguished because they may require different operations to generate.
[0156] At block 1112, in one or more of the various embodiments, the genealogy engine may be arranged to generate the upclosure. In one or more of the various embodiments, the genealogy engine may be arranged to perform one or more actions to generate the upclosure, as described in more detail below.
[0157] At block 1114, in one or more of the various embodiments, the lineage engine may be arranged to generate the down closure. In one or more of the various embodiments, the lineage engine may be arranged to perform one or more actions to generate the down closure, as described in more detail below.
[0158] At decision block 1116, in some embodiments, if more closures may be needed, control may loop back to block 1108, otherwise control may flow to block 1118. In one or more of various embodiments, the lineage engine may be arranged to continue generating closures until at least one closure is generated for each closure hint. In some cases, a closure hint may declare that both an up closure and a down closure should be generated for the same data type.
[0159] At block 1118, in one or more of the various embodiments, the genealogy engine may be arranged to generate a shortcut directed path using one or more closures. Then, in one or more of the various embodiments, control may be returned to the calling process.
[0160] FIG. 12 illustrates a flow chart of a process 1200 for generating a closure for generating a shortcut path between related data types, according to one or more of the various embodiments. After a start block, in one or more of the various embodiments, at start block 1202, a source data type and a target data type for the shortcut path may be provided to a lineage engine. As described above, the lineage engine may be provided with one or more shortcut declarations or shortcut definitions as part of (or with) the data model definition. Thus, in some embodiments, each shortcut definition may identify a source data type and a target data type. In some embodiments, the shortcut declarations may be provided using JSON, XML, text, etc. In one or more of the various embodiments, the lineage engine may be arranged to parse the shortcut declaration to determine the source data type and the target data type. In some embodiments, the source data type and the target data type may be considered the endpoints of the shortcut, while the lineage engine may be arranged to determine the intervening data types that comprise the shortcut directed path from the source data type to the target data type.
[0161] At block 1204, in one or more of the various embodiments, the lineage engine may be arranged to determine one or more candidate nodes based on an "up" closure to the source data type.
[0162] In some embodiments, nodes in the data model may be considered to correspond to data types, and in some embodiments relationships between data types may be represented by edges connecting nodes that represent data types in the data model.
[0163] In one or more of the various embodiments, the nodes included in the upclosure may be added to a pool of candidate nodes, which may be further evaluated to determine a shortcut path between the source data type and the target data type.
[0164] In one or more of the various embodiments, the lineage engine may be arranged to determine one or more traversal edges based on the one or more candidate nodes at block 1206. Similar to collecting candidate nodes based on upclosures associated with the source data type, edges associated with the upclosures may be collected into a pool of traversal edges that may be evaluated to determine shortcut paths.
[0165] At block 1208, in one or more of the various embodiments, the genealogy engine may be arranged to generate a tree based on the initial candidate nodes and one or more traversed edges. In one or more of the various embodiments, the genealogy engine may be arranged to traverse the candidate edges to generate a tree based on the candidate nodes and the traversed edges.
[0166] In one or more of the various embodiments, the tree may include one or more duplicate nodes, which may represent the same data type, and one or more edges, which represent the same relationship.
[0167] At block 1210, in one or more of the various embodiments, the lineage engine may be arranged to remove one or more branches of the tree that lead to a leaf that is not the target data type. In one or more of the various embodiments, the generated tree may include one or more leaf nodes. Thus, in some embodiments, leaf nodes that may represent a data type different from the target data type may be determined. In some embodiments, the lineage engine may be arranged to identify and discard branches in the tree associated with leaf nodes that correspond to a data type different from the target data type.
[0168] At block 1212, in one or more of the various embodiments, the genealogy engine may be arranged to remove one or more duplicate edges that may be present in the tree. In one or more of the various embodiments, the genealogy engine may be arranged to identify duplicate edges and remove them from the tree.
[0169] At block 1214, in one or more of the various embodiments, the lineage engine may be arranged to generate a shortcut directed path based on the resulting tree. In some embodiments, the modified tree may include a root node that corresponds to the source data type, and the remaining leaf nodes may correspond to the target data type. Thus, in some embodiments, the remaining nodes and edges comprise a shortcut directed path from the source data type to the target data type.
[0170] Control may then be returned to the calling process in one or more of the various embodiments.
[0171] 13 illustrates a flow chart of a process 1300 for generating shortcut paths between related data types according to one or more of various embodiments. After a start block, at start block 1302, in one or more of various embodiments, one or more nodes corresponding to data types in a data model may be provided to a lineage engine.
[0172] In one or more of the various embodiments, the lineage engine may be arranged to provide one or more candidate nodes based on closures associated with the source data type and the target data type (see block 1204 of process 1200 of FIG. 12).
[0173] At block 1304, in one or more of the various embodiments, the lineage engine may be arranged to add the dataflow boundary "down" edge to the traversal set. In one or more of the various embodiments, the lineage engine may be arranged to employ information included in the dataflow boundary to determine one or more edges to include in the edge traversal pool. As described above, the dataflow boundary declaration includes an edge definition associated with the dataflow boundary.
[0174] Thus, in one or more of various embodiments, the lineage engine may be arranged to evaluate the candidate nodes and their associated edges to determine whether one or more flow boundaries may exist. In some embodiments, one or more edges that delimit the flow boundary may be declared in a data flow boundary definition included in the data model. In some embodiments, edges included in the determined flow boundary may be added to a set edges that may require traversal. For example, if shortcuts may be defined that may cross the flow boundary, these determined edges that constitute the flow boundary may be traversed when searching for shortcut paths.
[0175] At block 1306, in one or more of the various embodiments, a lineage engine may be arranged to traverse the data model. In one or more of the various embodiments, the lineage engine may be arranged to visit nodes in the candidate node pool and traverse edges in the traversal edge pool.
[0176] In one or more of the various embodiments, the candidate nodes and traversal edges may be assembled into a tree-like graph, where the nodes correspond to data types and the edges correspond to relationships between the candidate nodes.
[0177] Thus, in one or more of the various embodiments, the genealogy engine may be arranged to traverse each edge, and in some circumstances, one or more edges may be added to the traversal set, as described below.
[0178] At decision block 1308, in one or more of various embodiments, if the node currently visited by the traversal is more than one "hop" from the start node, control may flow to block 1310, otherwise control may flow to decision block 1312. In some embodiments, the lineage engine may be arranged to begin the traversal at a source data type determined from a shortcut declaration included in the data model. Thus, in some embodiments, the lineage engine may be arranged to track the distance of the currently visited node from the start node.
[0179] At block 1310, in one or more of various embodiments, the lineage engine may be arranged to add the "down" closure edge to the edge traversal set. In one or more of various embodiments, the closure information included in or with the data model includes a flow direction indicator for the defined closure to identify which of the two edges (e.g., edges of opposite directions) should be considered. Thus, in one or more of various embodiments, the edges included in the "down" closure associated with the visited node may be added to the traversal set.
[0180] At decision block 1312, in one or more of various embodiments, if all edges in the traversal set have been traversed, control may jump to block 1314; otherwise, control may loop back to block 1306. In some embodiments, a genealogy engine may be arranged to track whether an edge in the traversal set has been traversed. In one or more of various embodiments, the genealogy engine may be arranged to add a node associated with the traversed edge to an intermediate tree-like graph. Also, in some embodiments, the genealogy engine may be arranged to add the traversed edge to the intermediate tree.
[0181] At block 1314, in one or more of the various embodiments, the genealogy engine may be arranged to provide an intermediate tree.
[0182] In some embodiments, depending on the data model, the lineage engine may be arranged to include overlapping data types or overlapping relationships in the intermediate trees, which may not fit the formal definition of a tree graph and may therefore be considered tree-like graphs rather than formal trees.
[0183] In one or more of the various embodiments, the lineage engine may be arranged to perform additional operations as described above to prune / clean the intermediate trees to determine the required shortcut directed path.
[0184] Control may then be returned to the calling process in one or more of the various embodiments.
[0185] FIG. 14 illustrates a flow chart of a process 1400 for generating closures for generating shortcut paths between related data types, according to one or more of the various embodiments. After a start block, at block 1402, in one or more of the various embodiments, the lineage engine may be arranged to provide a closure hint from the data model. As described above, one or more closure hints may be included in or associated with the data model. In one or more of the various embodiments, the closure hint declares that the lineage engine should generate a closure that includes the source data type and the target data type. Depending on the topography of the data model, additional data types may be included.
[0186] At block 1404, in one or more of various embodiments, the lineage engine may be arranged to determine a closure direction from the closure hint. In some embodiments, the closure hint includes an indicator if the closure is an up closure or a down closure. In some cases, the closure hint may indicate that both an up closure and a down closure should be generated for a given source / target data type pair. In some embodiments, in a down closure, an edge directed away from the source data type on a path toward the target data type may be considered an edge in the down direction. In contrast, an edge directed away from the target data type toward the source data type may be considered an edge in the up direction.
[0187] At block 1406, in one or more of the various embodiments, the lineage engine may be arranged to determine the source data type from closure hints that may be provided with the data model. In one or more of the various embodiments, a particular data type may be a source data type for multiple closures.
[0188] At block 1408, in one or more of the various embodiments, the lineage engine may be arranged to determine the target data type from closure hints that may be provided with the data model. In one or more of the various embodiments, a particular data type may be a target data type for multiple closures.
[0189] At block 1410, in one or more of the various embodiments, the lineage engine may be arranged to traverse the data model from the closure source data type to the closure target data type. In one or more of the various embodiments, the closure hint may include at least one named relationship that indicates an edge in the data model that may link the source data type and the target data type.
[0190] At block 1412, in one or more of various embodiments, the lineage engine may be arranged to generate a closure corresponding to the closure hint. In one or more of various embodiments, the closure may include at least two data types, a source data type and a target data type. However, in some embodiments, if the source data type or the target data type can be composed of additional data types, those data types may also be included in the closure. For example, if the table data type 704 in the closure 700 included additional data types that represent attributes or characteristics of the table data type, those data types may be included in the closure.
[0191] In decision block 1414, in one or more of the various embodiments, if there may be more closure hints to be processed, control may loop back to block 1402, otherwise control may return to the calling process.
[0192] In one or more of various embodiments, the data model may be configured to include one or more closure hints, and thus in some embodiments, the lineage engine may be arranged to process each closure hint to generate a closure for the data model.
[0193] 15 illustrates a flowchart of a process 1500 for processing a query based on shortcut paths between related data types in accordance with one or more of the various embodiments. After a start block, at start block 1502, as described above, in one or more of the various embodiments, the lineage engine may be arranged to generate one or more runtime shortcut paths. Thus, in some embodiments, the lineage engine may be arranged to generate one or more shortcut directed paths from shortcut declarations associated with the data model.
[0194] In some embodiments, the lineage engine may be arranged to cache the generated shortcut paths to enable their reuse during an active session. In some embodiments, the lineage engine may be arranged to provide an API that allows a query provider to request whether a shortcut directed path should be cached or discarded after use. In some embodiments, the lineage engine may be arranged to determine whether a shortcut directed path should be cached based on a timeout value, priority level, etc. that may be associated with the shortcut or query.
[0195] At block 1504, in one or more of the various embodiments, the lineage engine may be arranged to determine one or more persistent shortcuts. In one or more of the various embodiments, the data model may declare that one or more shortcuts may be persistent shortcuts. In some embodiments, persistent shortcuts may be generated and stored for later use, as described above, during the initialization phase.
[0196] In some embodiments, one or more persistent shortcuts may be manually created or otherwise manually adjusted by a data designer. Thus, in some embodiments, persistent shortcuts may represent optimal or preferred paths. In some embodiments, persistent shortcuts may be included in a data model as edges that may be traversed in the same way as other edges in the data model. In some embodiments, persistent shortcuts may provide a direct (one-hop) relationship that may replace paths that include multiple hops.
[0197] At decision block 1506, in one or more of the various embodiments, if there may be one or more associated persistence shortcuts, control may proceed to block 1508, otherwise control may proceed to block 1510. In one or more of the various embodiments, the associated persistence shortcuts may include persistence shortcuts that may be associated with portions of a data model that may be associated with data objects or data types that may match data types included in one or more runtime shortcut paths.
[0198] In some embodiments, the lineage engine may replace a shortcut path with a persistent shortcut if the persistent shortcut reduces the number of hops in the shortcut path. In one or more of the various embodiments, the lineage engine may be arranged to replace the longest eligible runtime shortcut or runtime shortcut path portion with a persistent shortcut. Thus, in some cases, a multi-hop path that includes multiple nodes or edges may be replaced by a single edge represented by a persistent shortcut. Thus, in some embodiments, computational performance or memory consumption for query resolution may be reduced by reducing the number of nodes or edges that may be traversed to resolve a query.
[0199] At block 1508, in one or more of the various embodiments, the lineage engine may be arranged to substitute one or more persistent shortcuts into the shortcut directed path.
[0200] In some embodiments, the lineage engine may be arranged to replace portions of shortcut paths with persistent shortcut paths. For example, in some embodiments, if a generated shortcut directed path is A->B->C->D->E (where AE are data types) and a persistent shortcut Q has a source data type of B and a target data type of D, then the persistent shortcut Q may be substituted for a shortcut such as A->[Q]->E.
[0201] At block 1510, in one or more of the various embodiments, the genealogy engine may be arranged to take a shortcut directed path to resolve the subsequent query. Then, in one or more of the various embodiments, control may be returned to the calling process.
[0202] FIG. 16 illustrates a flow chart of a process 1600 for processing queries based on shortcut paths between related data types, according to one or more of the various embodiments. After a start block, in one or more of the various embodiments, at start block 1602, query information may be provided to a lineage engine. In one or more of the various embodiments, the data model provided or managed by the lineage engine may be employed by one or more other applications, such as a visualization platform. The data objects and data types included in the data model may be employed in user interfaces, visualizations, and the like. Thus, in some embodiments, such applications or services may provide one or more queries to retrieve other information about the data objects or data models. For example, an application may request information about the data sources that provide one or more fields that are displayed in a user interface or visualization. Also, in some embodiments, the lineage engine may be arranged to provide a user interface that enables similar queries to support data management or data management of the data models.
[0203] In one or more of the various embodiments, the lineage engine may be arranged to parse various query types in various languages or expressions. In some embodiments, the lineage engine may be arranged to support queries expressed using various query languages, such as a SQL-like query language, a graph-based query language, or an object-based query language. In some embodiments, the lineage engine may be arranged to employ parsing, rules, grammars, etc., provided via configuration information to include / extend the supported query languages.
[0204] Thus, in some embodiments, the lineage engine may be arranged to provide one or more APIs that allow an authorized user, application, or service to provide query information requesting information about particular data objects or data types. In one or more of various embodiments, the query information may be provided in JSON, XML, text, API parameters, the like, or a combination thereof.
[0205] At block 1604, in one or more of the various embodiments, the genealogy engine may be arranged to determine one or more shortcut directed paths that were previously generated based on the data model.
[0206] At block 1606, in one or more of the various embodiments, the lineage engine may be arranged to employ one or more shortcut directed paths to resolve the query. In some embodiments, the lineage engine may be arranged to analyze the query information to identify whether it references a data object or data type that may be associated with one or more of the directed shortcut paths.
[0207] In some embodiments, the lineage engine may be arranged to employ shortcut directed paths to correctly determine query answers relevant to data types in the data model.
[0208] Control may then be returned to the calling process in one or more of the various embodiments.
[0209] It will be understood that each block of each flowchart diagram, and combinations of blocks in each flowchart diagram, may be implemented by computer program instructions. These program instructions may be provided to a processor to manufacture a machine such that the instructions executed on the processor create means for implementing the action specified in each flowchart block(s). The computer program instructions may be executed by the processor to generate a computer-implemented process such that a series of operational steps are performed by the processor such that the instructions executed on the processor provide steps for implementing the action specified in each flowchart block(s). The computer program instructions may also cause at least some of the operational steps illustrated in each flowchart block to be executed in parallel. Furthermore, some of the steps may also be executed across multiple processors, such as occurs in a multi-processor computer system. Additionally, one or more blocks or combinations of blocks in each flowchart diagram may be executed simultaneously with other blocks or combinations of blocks, or in a different order than that illustrated, without departing from the scope or spirit of the present invention.
[0210] Thus, each block in each flowchart diagram supports a combination of means for performing the specified actions, a combination of steps for performing the specified actions, and a program instruction means for performing the specified actions. It will also be understood that each block of each flowchart diagram, and combinations of blocks in each flowchart diagram, can be implemented by a dedicated hardware-based system that performs the particular actions or steps, or a combination of special purpose hardware and computer instructions. The foregoing examples should not be construed as limiting or exhaustive, but rather are exemplary use cases to illustrate at least one implementation of various embodiments of the present invention.
[0211] Additionally, in one or more embodiments (not shown), the logic in the exemplary flow charts may be implemented using an embedded logic hardware device, such as an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a Programmable Array Logic (PAL), or the like, or a combination thereof, instead of a CPU. The embedded logic hardware device may directly execute its embedded logic to perform the actions. In one or more embodiments, a microcontroller, such as a System On a Chip (SOC), may be arranged to directly execute its own embedded logic to perform the actions and access its own internal memory and its external input / output interface (e.g., hardware pins or a wireless transceiver) to perform the actions.
Claims
1. 1. A method for managing data using a computer including one or more processors, the method being performed by the one or more processors performing actions, the actions including: providing a data model including one or more data types, one or more data type relationships, and one or more shortcuts, each data type represented by a node in the data model and each data type relationship represented by a pair of directed edges in the data model; in response to a query to determine a directed path within the data model for a shortcut; determining a current source data type and a current target data type based on the shortcut; determining one or more candidate nodes and one or more traversal edges based on the data model, the current target data type, and the current source data type, each traversal edge corresponding to a data type relationship between two data types included in the data model, the one or more candidate nodes, and the one or more traversal edges; generating a tree based on the one or more candidate nodes and the one or more traversal edges; removing one or more leaf nodes of the tree, where one or more remaining leaf nodes correspond to the current target data type; removing one or more branches of the tree, the one or more removed branches corresponding to one or more overlapping traversal edges in the tree; determining the directed path in the data model that connects the current source data type to the current target data type based on a remainder of the one or more candidate nodes in the tree and a remainder of the one or more traversal edges in the tree; generating a response to the query based on taking the directed path that traverses the data model from the current source data type to the current target data type.
2. Determining the one or more candidate nodes and the one or more traversing edges includes: providing one or more closure source data types, one or more closure target data types, and one or more directed closure edges associated with the data model; generating one or more closures based on the one or more closure source data types, the one or more closure target data types, and the one or more directed closure edges; determining the one or more candidate nodes based on portions of the one or more closures associated with the target data type and the source data type; and determining the one or more traversing edges based on the portion of the one or more closures.
3. Determining the one or more traversing edges comprises: providing one or more flow source data types, one or more flow target data types, and one or more directed flow edges associated with the data model; generating one or more flow boundaries based on the one or more flow source data types, the one or more flow target data types, and the one or more directed flow edges, each flow boundary indicating a transition boundary between the one or more data types in the data model; The method of claim 1 , further comprising: adding the one or more directed flow edges to the one or more traversal edges.
4. employing a data store to provide one or more persistence shortcuts associated with the data model, each persistence shortcut providing a different directed path between a different source data type and a different target data type; 2. The method of claim 1, further comprising: in response to determining one or more portions of the directed path that correspond to the one or more persistent shortcuts, substituting the corresponding one or more persistent shortcuts for the one or more portions of the directed path.
5. modifying the data model based on including one or more other data types or including one or more other data type relationships; generating another directed path based on the modified data model and the one or more shortcuts; The method of claim 1 , further comprising: providing the alternative directed path as an alternative to the directed path.
6. The method of claim 1 , wherein providing the data model further comprises automatically generating one or more directed paths for each shortcut in the absence of the query.
7. Providing the data model includes: providing one or more composite data types that are composed of one or more other data types; The method of claim 1 , further comprising providing a plurality of nodes in the data model that represent a same data type.
8. A system for managing data, comprising:
1. A network computer, comprising: a memory for storing at least instructions; and one or more processors executing instructions to perform actions, the actions including: providing a data model including one or more data types, one or more data type relationships, and one or more shortcuts, each data type represented by a node in the data model and each data type relationship represented by a pair of directed edges in the data model; in response to a query to determine a directed path within the data model for a shortcut; determining a current source data type and a current target data type based on the shortcut; determining one or more candidate nodes and one or more traversal edges based on the data model, the current target data type, and the current source data type, each traversal edge corresponding to a data type relationship between two data types included in the data model, the one or more candidate nodes, and the one or more traversal edges; generating a tree based on the one or more candidate nodes and the one or more traversal edges; removing one or more leaf nodes of the tree, where one or more remaining leaf nodes correspond to the current target data type; removing one or more branches of the tree, the one or more removed branches corresponding to one or more overlapping traversal edges in the tree; determining the directed path in the data model that connects the current source data type to the current target data type based on a remainder of the one or more candidate nodes in the tree and a remainder of the one or more traversal edges in the tree; generating a response to the query based on taking the directed path that traverses the data model from the current source data type to the current target data type; A client computer, the client computer comprising: a memory for storing at least instructions; and one or more processors executing instructions to perform actions, the actions including: and a client computer that provides the query.
9. Determining the one or more candidate nodes and the one or more traversing edges includes: providing one or more closure source data types, one or more closure target data types, and one or more directed closure edges associated with the data model; generating one or more closures based on the one or more closure source data types, the one or more closure target data types, and the one or more directed closure edges; determining the one or more candidate nodes based on portions of the one or more closures associated with the target data type and the source data type; and determining the one or more traversing edges based on the portion of the one or more closures.
10. Determining the one or more traversing edges comprises: providing one or more flow source data types, one or more flow target data types, and one or more directed flow edges associated with the data model; generating one or more flow boundaries based on the one or more flow source data types, the one or more flow target data types, and the one or more directed flow edges, each flow boundary indicating a transition boundary between the one or more data types in the data model; The system of claim 8 , further comprising: adding the one or more directed flow edges to the one or more traversal edges.
11. The one or more networked computer processors execute instructions to perform actions, the actions including: employing a data store to provide one or more persistence shortcuts associated with the data model, each persistence shortcut providing a different directed path between a different source data type and a different target data type; 10. The system of claim 8, further comprising: in response to determining one or more portions of the directed path that correspond to the one or more persistent shortcuts, substituting the corresponding one or more persistent shortcuts for the one or more portions of the directed path.
12. The one or more networked computer processors execute instructions to perform actions, the actions including: modifying the data model based on including one or more other data types or including one or more other data type relationships; generating another directed path based on the modified data model and the one or more shortcuts; The system of claim 8 , further comprising: providing the alternative directed path as an alternative to the directed path.
13. The system of claim 8 , wherein providing the data model further comprises automatically generating one or more directed paths for each shortcut in the absence of the query.
14. Providing the data model comprises: providing one or more composite data types that are composed of one or more other data types; The system of claim 8 , further comprising providing multiple nodes in the data model that represent the same data type.
15. A processor-readable non-transitory storage medium containing instructions for managing data, execution of the instructions by one or more processors to perform actions, the actions including: providing a data model including one or more data types, one or more data type relationships, and one or more shortcuts, where each data type is represented by a node in the data model and each data type relationship is represented by a pair of directed edges in the data model; In response to a query to determine a directed path in the data model for a shortcut, determining a current source data type and a current target data type based on the shortcut; determining one or more candidate nodes and one or more traversal edges based on the data model, the current target data type, and the current source data type, each traversal edge corresponding to a data type relationship between two data types included in the data model, the one or more candidate nodes, and the one or more traversal edges; generating a tree based on the one or more candidate nodes and the one or more traversal edges; removing one or more leaf nodes of the tree, where one or more remaining leaf nodes correspond to the current target data type; removing one or more branches of the tree, the one or more removed branches corresponding to one or more overlapping traversal edges in the tree; determining the directed path in the data model that connects the current source data type to the current target data type based on a remainder of the one or more candidate nodes in the tree and a remainder of the one or more traversal edges in the tree; generating a response to the query based on taking the directed path that traverses the data model from the current source data type to the current target data type.
16. Determining the one or more candidate nodes and the one or more traversing edges includes: providing one or more closure source data types, one or more closure target data types, and one or more directed closure edges associated with the data model; generating one or more closures based on the one or more closure source data types, the one or more closure target data types, and the one or more directed closure edges; determining the one or more candidate nodes based on portions of the one or more closures associated with the target data type and the source data type; and determining the one or more traversing edges based on the portion of the one or more closures.
17. Determining the one or more traversing edges comprises: providing one or more flow source data types, one or more flow target data types, and one or more directed flow edges associated with the data model; generating one or more flow boundaries based on the one or more flow source data types, the one or more flow target data types, and the one or more directed flow edges, each flow boundary indicating a transition boundary between the one or more data types in the data model; The medium of claim 15 , further comprising: adding the one or more directed flow edges to the one or more traversal edges.
18. employing a data store to provide one or more persistence shortcuts associated with the data model, each persistence shortcut providing a different directed path between a different source data type and a different target data type; 16. The medium of claim 15, further comprising: in response to determining one or more portions of the directed path that correspond to the one or more persistent shortcuts, substituting the corresponding one or more persistent shortcuts for the one or more portions of the directed path.
19. modifying the data model based on including one or more other data types or including one or more other data type relationships; generating another directed path based on the modified data model and the one or more shortcuts; The medium of claim 15 , further comprising: providing the alternative directed path as an alternative to the directed path.
20. Providing the data model comprises: providing one or more composite data types that are composed of one or more other data types; The medium of claim 15 , further comprising: providing multiple nodes in the data model that represent a same data type.
Citation Information
Patent Citations
Methods and systems for dynamic adaptive hierarchy and routing of road networks
JP2011526678A
System for storing and analyzing data graph, method, and program
JP2016194908A
A Method for Adaptive Conversational State Management with Filtering Operators Applied Dynamically as Part of a Conversational Interface
JP2016502696A
Information processor, information processing method and program
JP2019160064A
Double-HUB indexing in location services
US20130144524A1
