Extensible meta-data

Information

  • Patent Application
  • 20070088716
  • Publication Number
    20070088716
  • Date Filed
    October 13, 2005
    18 years ago
  • Date Published
    April 19, 2007
    17 years ago
Abstract
Meta-data of compiled code may have a corresponding description of the schema for meta-data, to allow for deviations from a schema standard.
Description
BACKGROUND

A runtime execution environment may serve as at least one of an application programming and application execution platform. As an application programming platform, a runtime execution environment may compile targeted applications, which may be written in one of multiple computing languages, into an intermediate language or byte-code, for example.


SUMMARY

The meta-data stream may include one or more data constructs to provide a description of the schema for meta-data corresponding to an application compiled in a managed execution environment.




DESCRIPTION OF THE DRAWINGS

The present description references the following figures.



FIG. 1 shows devices communicating over a network, with the devices implementing example technologies related to extensible meta-data.



FIG. 2 shows an example of an execution environment for implementing example technologies related to extensible meta-data.



FIG. 3 shows an example of extensible meta-data corresponding to managed code.



FIG. 4 shows an example dataflow for at least one implementation of extensible meta-data.




DETAILED DESCRIPTION

Extensible meta-data and associated technologies are presently described.


Extensible meta-data, as described herein, may pertain to meta-data corresponding to applications compiled in either of a managed execution environment or an unmanaged execution environment. More particularly, according to the example implementations described herein, meta-data corresponding to at least portions of the applications may be rendered extensible without adversely affecting execution within the execution environment. Such applications may be compiled for execution on an execution platform implemented in one or more devices, or nodes, in a network environment.


“Assembly” as used herein, may refer to a unit of deployment or, more particularly, a versionable unit of deployment for code.


“Meta-data,” as described herein, may refer to data that describes other data, particularly compiled code. Meta-data may, for example, provide detailed amounts of information about one or more data elements or a descriptive item about data.


“Schema,” as described herein, may refer to data that defines data structures as well as types of content that each data element within the structure may contain.



FIG. 1 shows example network environment 100 in which example technologies related to extensible meta-data may be implemented, although such example technologies are in no way limited to network environments. Such technologies may include, but are not limited to, tools, methodologies, and systems, associated with extensible meta-data 120, as described herein. More particularly, the tools, methodologies, and systems may be implemented for formatting, reading, or analyzing meta-data, regardless of whether or not the meta-data is extensible.


In FIG. 1, client device 105, server device 110, and “other” device 115 may be communicatively coupled to one another via network 125; and, further, at least one client device 105, server device 110, and “other” device 115 may be capable of the aforementioned technologies.


Client device 105 may represent at least one of a variety of known computing devices, including a desktop personal computer (PC), workstation, mainframe computer, Internet appliance, or set-top box capable of formatting, reading, or analyzing meta-data associated with an application, program, function, or other assemblage of programmable and executable code. Client device 105 may further represent at least one of any device that is capable of being associated with network 125 by a wired and/or wireless link, including a mobile (i.e., cellular) telephone, personal digital assistant (PDA), laptop computer, etc. Further still, client device 105 may represent the client devices described above in various quantities and/or combinations thereof. “Other” device 115 may also be embodied by any of the above examples of client device 105.


Server device 110 may represent any device that is capable of providing any of a variety of data and/or functionality to client device 105 or “other” device 115 in accordance with at least one implementation of extensible meta-data 120. The data may be publicly available or alternatively restricted, e.g., restricted to only certain users or only if an appropriate subscription or licensing fee is paid. Server device 110 may be at least one of a network server, an application server, a blade server, or any combination thereof. Typically, server device 110 may represent any device that may be a content source, and client device 105 may represent any device that may receive such content either via network 125 or in an off-line manner. However, according to the example implementations described herein, client device 105 and server device 110 may interchangeably be a sending node or a receiving node in network environment 100. “Other” device 115 may also be embodied by any of the above examples of server device 110.


“Other” device 115 may represent any further device that is capable of implementing extensible meta-data 120 according to one or more of the example technologies described herein. That is, “other” device 115 may represent any software-enabled computing or processing device that is capable of at least formatting, reading, or analyzing meta-data associated with an application, program, function, or other assemblage of programmable and executable code. Thus, “other” device 115 may be a computing or processing device having at least one of an operating system, an interpreter, converter, compiler, or runtime execution environment implemented thereon. These examples are not intended to be limiting in anyway, and therefore should not be construed in that manner.


Network 125 may represent any of a variety of conventional network topologies and types, which may include wired and/or wireless networks. Network 125 may further utilize any of a variety of conventional network protocols, including public and/or proprietary protocols. Network 125 may include, for example, the Internet as well at least portions of one or more local area networks (also referred to, individually, as a “LAN”), such as an 802.11 system or, on a larger scale, a wide area network (i.e., WAN”); or a personal area network (i.e., PAN), such as Bluetooth.


Computer architecture in at least one of devices 105, 110, and 115 has typically defined computing platforms in terms of hardware and software. Software for computing devices may be categorized into groups, based on function, which may include: a hardware abstraction layer (alternatively referred to as a “HAL”), an operating system (alternatively referred to as “OS”), and applications.


A runtime execution environment may reside between an OS and an application, and serve as a space in which the application may execute specific tasks on any one or more of processing devices 105, 110, and 115. More particularly, a runtime execution environment may enhance the reliability of the execution of applications on a growing range of processing devices 105, 110, and 105, including servers, desktop computers, laptop computers, and mobile processing/communication devices by providing a layer of abstraction and services for an application running on such devices, and further providing the application with capabilities including memory management and configuration thereof.


A runtime execution environment may serve as at least one of an application programming and application execution platform.


As an application programming platform, a runtime execution environment may compile targeted applications, which may be written in one of multiple computing languages, into an intermediate language (hereafter “IL”) or bytecode. IL is typically independent of the platform, and the central processing unit (hereafter “CPU”) executes IL, which is a higher level language than many CPU machine languages.


As an application execution platform, a runtime execution environment may interpret compiled IL into native machine instructions. A runtime execution environment may utilize either an interpreter or a compiler (e.g., “just-in-time,” alternatively “JIT,” compiler) to execute such instructions. Regardless, the native machine instructions may then be directly executed by the CPU. Since IL is CPU-independent, IL may execute on any CPU platform as long as the OS running on that CPU platform hosts an appropriate runtime execution environment.


Examples of runtime environments, in which technologies associated with extensible meta-data 120 may be implemented, include: Visual Basic runtime environment; Java® Virtual Machine runtime environment that is used to run, e.g., java® routines; or Common Language Runtime (CLR) to compile, e.g., Microsoft .NET™ applications into machine language before executing a calling routine. However, this listing of runtime environments provides examples only. Further, the example technologies described herein are not necessarily limited to just these managed execution environments. Even more particularly, the example implementations are not just limited to managed execution environments, for one or more examples may be implemented within testing environments and/or unmanaged execution environments.


An application compiled into IL may be referred to as “managed code,” and therefore a runtime execution environment may be alternatively referred to as a “managed execution environment.” It is noted that code that does not utilize a runtime execution environment for execution thereof may be referred to as native code applications.



FIG. 2 shows example runtime execution environment 200 in which technologies associated with extensible meta-data 120 (see FIG. 1) may be implemented.


According to at least one example implementation, runtime execution environment 200 may facilitate execution of managed code for a computing device platform. Managed code may be considered to be part of a core set of application-development technologies, and may further be regarded as an application, program, function, or other assemblage of programmable and executable code that is compiled for execution in runtime execution environment 200 to provide a corresponding service to the computing device platform. In addition, runtime execution environment 200 may translate managed code at an interpretive level into instructions that may be proxied and then executed by a processor. Alternatively, managed code may be executed via an interpreter or a compiler, or a form of a compiler designed to run at install time as a native image. A framework for runtime execution environment 200 also provides class libraries, which may be regarded as software building blocks for managed applications.


Further, meta-data corresponding to at least a portion of managed code may be included as part of the compiled assembly resulting in the managed code or, alternatively, may be received in runtime execution environment 200 separate from the managed code. For example, the meta-data may be compiled as part of a separate assembly or the meta-data may be received in runtime execution environment 200 in an off-line manner. Regardless, the meta-data may be received to provide detailed amounts of information about one or more elements of the managed code.


Runtime execution environment 200 may provide at least partial functionality that may otherwise be expected from a kernel, which may or may not be lacking from a computing device platform depending upon resource constraints for a particular one of devices 105, 110, and 115 (see FIG. 1). At least one example of runtime execution environment 200 may implement the following: input/output (hereafter “I/O”) routine management, compiling, memory management, and service routine management. Thus, runtime execution environment 200 may include I/O component 205, compiler 210, memory management component 215, service routine manager 220, and execution component 225. These components, which are to be described in further detail below, are provided as examples, which are not intended to be limiting to any particular implementation of runtime execution environment 200, and no such inference should be made. Thus, the components may be implemented in examples of runtime execution environment 200 in various combinations and configurations thereof.


I/O component 205 of runtime execution environment 200 may provide at least one of synchronous or asynchronous access to physical (e.g., processor and peripherals) and logical resources (e.g., drivers, or physical resources partitioned in a particular manner) associated with the computing device platform. More particularly, I/O component 205 may provide runtime execution environment 200 with robust system throughput and further streamline performance of code from which an I/O request originates.


Compiler 210 may refer to a module within runtime execution environment 200 that may interpret compiled IL into native machine instructions for execution in runtime execution environment 200. Further, in accordance with at least one alternative implementation of technologies associated with extensible meta-data 120, compiler 210 may dynamically analyze, for various purposes, the behavior of code modules associated with an application, program, function, or other assemblage of programmable and executable code. The code modules may or may not be loaded into runtime execution environment 200. If the code modules are loaded into runtime execution environment 200, compiler 210 may read, interpret, and/or otherwise analyze data entities associated with the code modules that render meta-data extensible, as described herein. The aforementioned reading, interpretation, and analysis may be performed without touching or affecting an executable portion of the code modules, and may be performed at compile time, initial runtime, or at any time thereafter during execution of an executable portion of the execution paths.


However, at least one example implementation of extensible meta-data 120 may not require reading, interpreting, or otherwise analyzing code compiled by compiler 210. Rather, extensible meta-data may be read, interpreted, or otherwise analyzed as pertaining to intermediate language code (i.e., “IL”) that is distributed to runtime execution environment 200 in IL format rather than in a native platform execution format, and that is already compiled into any one of assemblies, methods, or types. A source of such IL 305 may be disposed in either of a non-managed execution environment or a separate implementation of a runtime execution environment on a same or separate one of devices 105, 110, and 115. The source may deploy the IL at, or prior to, install time for the application, program, method, function, or other assemblage of programmable and executable code to which the IL corresponds.


Memory management component 215 may be referred to as a “garbage collector,” which implements garbage collection. Garbage collection may be regarded as a robust feature of managed code execution environments by which an object is automatically freed (i.e., de-allocated) if, upon a sweep or scan of a memory heap, an object is determined to no longer be used by an application, program, function, or other assemblage of programmable and executable code. Further functions implemented by memory management component 215 may include: managing one or more contiguous blocks of finite volatile RAM (i.e., memory heap) storage or a set of contiguous blocks of memory amongst the tasks running on the computing device platform; allocating memory to at least one application, program, function, or other assemblage of programmable and executable code running on the computing device platform; freeing at least portions of memory on request by at least one of the applications, programs, functions, or other assemblages of programmable and executable code; and preventing any of the applications, programs, functions, or other assemblages of programmable and executable code from intrusively accessing memory space that has been allocated to any of the other applications, programs, functions, or other assemblages of programmable and executable code.


Service routine manager 220 may be included as at least a portion of an application support layer to provide service functionality for physical and logical resources associated with the computing device platform. Example technologies (e.g., tools, methodologies, and systems) associated with extensible meta-data 120 may be managed by service routine manager 220. That is, technologies associated with extensible meta-data 120 may be implemented either singularly or in combination together by compiler 210 (as referenced above), service routine manager 220, or some other component of runtime execution environment 200, in accordance with various alternative implementations of such technologies. For example, service routine manager 220 may at least determine the existence of a variation or deviance of a meta-data schema, in relation to a known standard for the meta-data schema, associated with the one or more code modules to thereby enable the extensible meta-data to be read, analyzed, or otherwise interpreted. Such contribution by service routine manager 220 may be made without touching or affecting an executable portion of the code modules, at compile time, initial runtime, or at any time thereafter during execution of an executable portion of the one or more code modules.


Execution component 225 may enable execution of the one or more code modules included in the managed code for the computing device platform. More particularly, with regard to implementation of technologies associated with extensible meta-data 120, execution component 225 may serve as an exemplary component within runtime execution environment 200 that may implement one or more of the tools, systems, and processes for accessing extensible meta-data 120 to determine the existence of a variation or deviance of a meta-data schema for the one or more code modules to thereby enable the meta-data to be read, analyzed, or otherwise interpreted.



FIG. 3 shows example code block 300 to illustrate an example implementation of extensible meta-data 120 (see FIG. 1) by leveraging data that is termed, for at least the purposes of this description, “meta-meta-data.” The description of code block 300 may refer to devices described above in relation to network environment 100 in FIG. 1 and components described above in relation to runtime execution environment 200 in FIG. 2. However, these references to FIGS. 1 and 2 are intended to merely provide an enabling environment for extensible meta-data 120, and are not to be construed as limiting in any manner.


Code block 300 may be regarded as at least a portion of an application, program, function, or other assemblage of programmable and executable code that is compiled for execution in runtime execution environment 200. For instance, in an object data model, block 300 may referred to as object 300.


Block 305 may be regarded as an executable portion of an application, program, function, or other assemblage of programmable and executable code that is compiled for execution in runtime execution environment 200. As examples, block 305, including code modules 307, 308, and 309, may refer to program files or methods corresponding to object 300. Of course, the illustrated configuration of block 305 is provided only as an example, and alternative embodiments are not intended to be limited in any such manner.


Data construct 310 may include meta-data that, according to the present example, describes the data structures and functional structures of at least one of code modules 307, 308, and 309. That is, to execute the one or more code modules 307, 308, and 309 to which meta-data 310 corresponds in the context of runtime execution environment 200, data construct 310 may be accessed for a description of associated data structures. The data structures, which may alternatively be referred to as types, may include names of methods, arguments used in the methods, and return arguments. These data structures (i.e., types) are provided as examples only, and are not intended to be limiting in any manner.


The schema of meta-data 310 may be known as part of a published standard, or the schema may be standardized and built-in to runtime execution environment 200. According to the present implementations, schema may be referred to as a set of rules for constraining the structure of the meta-data in construct 310 and may include, for example, a standardized number of tables, a standardized number of columns per table, and standardized column descriptors for one or more of the tables.


Data construct 315 may be provided in object 300, among other reasons, to account for when the meta-data included in data construct 310 is not compiled in accordance with either the published standard or the standard that is built-in to runtime execution environment 200. That is, to read, analyze, or otherwise interpret data structures (i.e., types) that may have evolved to add new features, delete old features, or fix bugs in existing features, data construct 315 may be provided to render the meta-data included in data construct 310 extensible without requiring adjustments to any components of runtime execution environment 200.


Data construct 315, therefore, may include data that may be referred to as “meta-meta-data.” That is, the meta-meta-data included in data construct 315 may refer to the schema of the meta-data included in data construct 310. Further, data construct 315 may be compiled as part of code block 300 as part of the meta-data stream. However, at least one alternative implementation of extensible meta-data 120 may contemplate data construct 315, and therefore the meta-meta-data included therein, being provided to runtime execution environment 200 in an off-line manner, by some alternative transport medium or in a separate schema stream. In addition, according to the examples described thus far, data construct 310 and data construct 315 are separate data entities; however, at least one alternative implementation may contemplate data construct 315 being integrated within data construct 310.


For example, the meta-meta-data included within data construct 315 may include one or more of the following: a comprehensive description of the schema of the meta-data included within data construct 310; a comparison of the schema of the meta-data included within data construct 310 with a standardized schema model that may be required for execution of code corresponding to block 305; or some other description of how the schema of the meta-data included within data construct 310 deviates from the standardized schema model that may be required for execution of code corresponding to block 305. A description of such deviations may pertain to, relative to the meta-data included within data construct 310, the number of tables, the number of columns per table, or the size of columns in one or more of the respective tables.


More particularly, with reference to the schema of the meta-data included in data construct 310, the meta-meta-data included within data construct 315 may include one or more of the following, in various combinations: at least one re-defined size of variable-size columns on a per-column basis; at least one definition of a new table; at least one definition of a new coded token type; a table count that exceeds a standardized amount; a column-count that exceeds a standardized amount; and a token type count that exceeds a standardized amount. At least one example of the separate schema stream may include a stream header, new coded token type descriptors, table descriptors for standardized tables, table descriptors for new tables, column descriptors for standardized table, and column descriptors for new tables.



FIG. 4 shows example data flow 400 to illustrate an example implementation of extensible meta-data 120 (see FIG. 1).


Block 405 may refer to an execution environment in which one or more technologies related to extensible meta-data 120 may be implemented. The present description has thus far referred to runtime execution environment 200 as the environment in which extensible meta-data 120 may be implemented. However, the example implementations are not just limited to managed execution environments. Rather, alternative examples of extensible meta-data 120 may be implemented within testing environments and/or unmanaged execution environments. Regardless, the description of dataflow 400 may refer to various operations being performed by one or more modules associated with devices corresponding to network environment 100 (see FIG. 1), components corresponding to runtime execution environment 200 (see FIG. 2), and code module 305 and data constructs 310 and 315 (see FIG. 3). In addition, the operations may be implemented as hardware, firmware, or software, either singularly or in various combinations together.


Block 410 may refer to a module of execution environment 405 examining, analyzing, or otherwise reading the meta-meta-data included in data construct 315 to determine that deviations exist between the meta-data schema of input code 305, as indicated by the meta-data included in data construct 310, and the published standard or otherwise standardized schema expected by execution environment 405. An example of such module may include service routine manager 220 of runtime execution environment 200.


More particularly, for compiled code 305 (i.e., IL) to be read or executed within execution environment 405, the schema for the meta-data is expected to be predictable. For example, referring to the examples of FIGS. 2 and 3, runtime execution environment 200 may anticipate the schema for meta-data included in data construct 310 to include 42 tables with 64 columns each. Thus, at block 410, deviations from standardized type descriptors, table descriptors, and column descriptors may be detected.


Deviations from a standardized meta-data schema model may be detected by reading, interpreting, or otherwise analyzing the meta-meta-data included in data construct 315 (see FIG. 3). Thus, the meta-meta-data may include a comprehensive description of the schema of the meta-data. Alternatively, the data included in data construct 315 may list differences between the schema of the meta-data included in data construct 310 with the standardized schema model, thereby circumventing a need for a thorough review of the meta-data included within data construct 310.


Furthermore, meta-meta-data of data construct 315 may be compiled as part of code 305 or provided to execution environment 405 in a separate schema stream (e.g., in an off-line manner or by some alternative transport medium).


Block 415 may refer to a module within execution environment 405 (e.g., service routine manager 220) examining, analyzing, or otherwise reading the meta-data of input code 305. That is, having been informed of how the meta-data included in data construct 310 may deviate from a standardized meta-data schema model, the aforementioned module within execution environment 405 may be enabled to read, interpret, or otherwise analyze the extensible meta-data included in data construct 310.


By the description above, pertaining to FIGS. 1-4, meta-data of code input to a particular execution environment may be rendered extensible. For instance, meta-data schema corresponding to compiled intermediate language code (i.e., IL) may deviate from a standardized structure without requiring re-configuring the runtime execution environment into which a corresponding application, program, function, or other assemblage of programmable and executable code. However, the example implementations described herein are not limited to just the environment of FIG. 1, the components of FIGS. 2 and 3, or data processing flow of FIG. 4. Technologies (e.g., tools, methodologies, and systems) associated with extensible meta-data 120 (see FIG. 1) may be implemented by various combinations of the components described with reference to FIGS. 2 and 3, as well as in various orders of the blocks described with reference to FIG. 4.


Further, the computer environment for any of the examples and implementations described above may include a computing device having, for example, one or more processors or processing units, a system memory, and a system bus to couple various system components.


The computing device may include a variety of computer readable media, including both volatile and non-volatile media, removable and non-removable media. The system memory may include computer readable media in the form of volatile memory, such as random access memory (RAM); and/or non-volatile memory, such as read only memory (ROM) or flash RAM. It is appreciated that other types of computer readable media which can store data that is accessible by a computer, such as magnetic cassettes or other magnetic storage devices, flash memory cards, CD-ROM, digital versatile disks (DVD) or other optical storage, random access memories (RAM), read only memories (ROM), electric erasable programmable read-only memory (EEPROM), and the like, can also be utilized to implement the example computing system and environment.


Reference has been made throughout this specification to “an example,” “alternative examples,” “at least one example,” “an implementation,” or “an example implementation” meaning that a particular described feature, structure, or characteristic is included in at least one implementation of the present invention. Thus, usage of such phrases may refer to more than just one implementation. Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more implementations.


One skilled in the relevant art may recognize, however, that code module initialization may be implemented without one or more of the specific details, or with other methods, resources, materials, etc. In other instances, well known structures, resources, or operations have not been shown or described in detail merely to avoid obscuring aspects of the invention.


While example implementations and applications of the code module initialization have been illustrated and described, it is to be understood that the invention is not limited to the precise configuration and resources described above. Various modifications, changes, and variations apparent to those skilled in the art may be made in the arrangement, operation, and details of the methods and systems of the present invention disclosed herein without departing from the scope of the invention, as both described above and claimed below.

Claims
  • 1. At least one computer-readable medium having one or more data structures, at least one of the data structures comprising: modules to execute one or more programmable instructions; a data construct to describe types corresponding to one or more of the modules; and a further data construct to describe a structure of the data construct.
  • 2. At least one computer-readable medium according to claim 1, wherein the modules include managed code.
  • 3. At least one computer-readable medium according to claim 1, wherein the modules include compiled intermediate language code.
  • 4. At least one computer-readable medium according to claim 1, wherein the modules are to execute the one or more programmable instructions in a managed execution environment, and wherein the data construct includes meta-data having a structure that deviates from a published standard for meta-data structure in the managed execution environment.
  • 5. At least one computer-readable medium according to claim 1, wherein the further data construct includes a schema for the data construct, and wherein the schema for the data construct deviates from a standardized schema for the data construct in a managed execution environment.
  • 6. At least one computer-readable medium according to claim 1, wherein the further data construct is to describe a deviation of a structure of the data construct from a published standard format for a structure of the data construct in a managed execution environment.
  • 7. At least one computer-readable medium according to claim 1, wherein the further data construct is to describe a deviation in a number of tables in a structure of the data construct in comparison to a number of tables in a published standard structure for the data construct.
  • 8. A computer-readable medium according to claim 1, wherein the further data construct is to describe a deviation in a number of columns per table in a structure of the data construct in comparison to a number of columns per table in a published standard structure for the data construct.
  • 9. At least one computer-readable medium according to claim 1, wherein the further data construct is to describe a deviation in a size of columns in a structure of the data construct in comparison to a size of columns in a published standard structure for the data construct.
  • 10. A method, comprising: receiving meta-data associated with executable code in a managed execution environment; and determining structural differences between the received meta-data and a standard meta-data format in the managed execution environment.
  • 11. A method according to claim 10, wherein the meta-data is compiled in an intermediate language.
  • 12. A method according to claim 10, wherein the determining includes: reading a separate data entity describing a schema of the meta-data; and comparing the schema with a published standard of the schema.
  • 13. A method according to claim 10, wherein the determining includes reading a separate data entity describing the structural differences.
  • 14. A method according to claim 10, wherein the structural differences pertain to a number of columns in the meta-data.
  • 15. A method according to claim 10, wherein the structural differences pertain to column types in the meta-data.
  • 16. A method according to claim 10, wherein the structural differences pertain to sizes of columns in the meta-data.
  • 17. A method according to claim 10, wherein the structural differences pertain to a number of tables in the meta-data.
  • 18. A system, comprising: means for receiving meta-data associated with managed code; means for determining schematic differences between a structure of the received meta-data and a standard structure of meta-data for managed code; and means for reading the meta-data in accordance with the determined schematic differences.
  • 19. A system according to claim 18, wherein the schematic differences pertain to tables in the received meta-data.
  • 20. A system according to claim 18, wherein the schematic differences pertain to columns in tables in the received meta-data.