US20090037459A1 - Annotation data handlers for data stream processing - Google Patents

Annotation data handlers for data stream processing Download PDF

Info

Publication number
US20090037459A1
US20090037459A1 US12/184,924 US18492408A US2009037459A1 US 20090037459 A1 US20090037459 A1 US 20090037459A1 US 18492408 A US18492408 A US 18492408A US 2009037459 A1 US2009037459 A1 US 2009037459A1
Authority
US
United States
Prior art keywords
data
data stream
handler
annotation
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12/184,924
Inventor
Dietmar C. Theobald
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SAP SE
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to US12/184,924 priority Critical patent/US20090037459A1/en
Assigned to SAP AG reassignment SAP AG ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: THEOBALD, DIETMAR
Publication of US20090037459A1 publication Critical patent/US20090037459A1/en
Assigned to SAP SE reassignment SAP SE CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: SAP AG
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers

Definitions

  • This application is further related to:
  • Embodiments of the invention generally relate to the field of computer systems and, more particularly, to a method and apparatus for annotation data handlers for data stream processing.
  • Computer files such as Java class files, may have specific standard formats.
  • the standard formats of computer may limit the data that can be provided in relation to the files. For this reason, annotations may be provided to add additional information regarding computer files. Annotations may potentially be found anywhere within a set of computer files.
  • Java allows annotations to Java class files, with the practice now being specifically described in annotations under Java release 5.0 (Java under the JDK (Java Development Kit) 5.0) as provided in JSR-175 recommendation regarding code annotations.
  • the annotations may add guidance regarding certain class files.
  • a Java class file may include one or more annotations associated with program elements.
  • a method and apparatus are provided for annotation data handlers for data stream processing.
  • an embodiment of a method for processing annotations in computer files includes receiving a data stream input at a scanner component, where the data stream input represents program elements of one or more computer files.
  • the data stream input is scanned for annotations, and a data stream is generated comprising annotated program elements and associated annotation values.
  • the annotated program elements and annotation values are provided as an input to a handler component.
  • the handler component performs filtering of the annotated program elements and annotation values data, or echoing the annotated program elements and annotation values, and the handler component generates an output.
  • FIG. 1 is an illustration of embodiments of data handlers for annotation processing
  • FIG. 2 is an illustration of an embodiment of a combination of handler modules for annotation data stream processing
  • FIG. 3 is an illustration of an embodiment of processing of computer file data
  • FIG. 4 is an illustration of a computer file processing system
  • FIG. 5 is an illustration of an embodiment of a system to process annotated program elements
  • FIG. 6 is a flowchart to illustrate an embodiment of the scanning of a serial data stream for annotations to class file elements
  • FIG. 7 is an illustration of an embodiment of a class file program element as a data stream
  • FIG. 8 is an illustration of an embodiment of an annotation to a class file program element presented as a data stream
  • FIG. 9 is an embodiment of library utilities
  • FIG. 10 is an illustration of a computer system in an embodiment of the invention.
  • FIG. 11 illustrates an embodiment of a client-server network system.
  • Embodiments of the invention are generally directed to annotation data handlers for data stream processing.
  • annotation means additional information or metadata that is associated with or attached to a particular point in a computer program.
  • annotation includes formal and informal annotation methods, including, but not limited to, annotations under Java release 5.0 (Java under the JDK (Java Development Kit) 5.0) as provided in JSR (Java Specification Request) 175 recommendation regarding code annotations (“A Metadata Facility for the Java Programming Language”).
  • Data type means a classification of software artifacts stored in a computer file. Data type includes, but is not limited to, a type of a Java class file.
  • Computer file means any file structure used in a computer system.
  • Computer files include files with specific required structures, including Java class files.
  • Class file means a Java class file.
  • a Java class file is a defined format for compiled Java code, which may then be loaded and executed by any Java virtual machine.
  • the format and structure for a Java class file is provided in JSR 000202, Java Class File Specification Update (Oct. 2, 2006) and subsequent specifications.
  • Traversal means a process for progressing through the elements of a computer system, including a process for progressing through the elements of a computer archives
  • “Archive” means a single file that may contain one or more separate files.
  • An archive may also be empty.
  • the files within an archive are extracted, or separated, from the archive for use by a computer program.
  • the files contained within an archive are commonly compressed, and the compressed files are decompressed prior to use.
  • An archive may further include data required to extract the files from the archives “Archive” may also refer to act of transferring one or more files into an archives
  • processing of computer files to identify annotations is provided.
  • the computer files are in the form of a serial data stream, with the data stream being scanned for annotation occurrences.
  • a set of computer files includes a set of Java class files, where the Java class files include one or more annotations.
  • the processing of the data stream includes the use of one or more handler modules to process annotation data.
  • Java release 5.0 Java under the JDK (Java Development Kit) 5.0
  • Java release 5.0 includes a formal general purpose annotation (or metadata) facility, as provided in the JSR-175 recommendation regarding code annotations.
  • the annotation facility permits a user to define and use the user's own annotation types.
  • the facility includes a syntax for declaring annotation types, a syntax for annotating declarations, APIs for reading annotations, a class file representation for annotations, and an annotation processing tool.
  • Annotations generally allow programmers to add attributes to computer code, including Java code. These attributes may be used for multiple purposes, including code documentation, code generation, and, during runtime, for providing special services such as enhanced business-level security or special business logic.
  • annotation data is extracted into a neutral format to allow efficient filtering of annotations of interest.
  • the annotations in a data stream are provided in a form to allow a scanner to address the elements in a data stream.
  • a type definition appears prior to any annotations on the elements of the particular type.
  • a process is provided to receive a data stream input representing a computer program or other computer files, scan the data stream for instances of annotations, and to generate a data stream output.
  • the data stream output includes selected annotated elements and annotation values.
  • a processing system includes a scanning module to scan the data stream input and output a data stream that includes selected annotated elements and annotation values.
  • the processing system further includes a handler module to handle the data stream output.
  • the handler module further provides feedback to the scanning module to direct the selection of annotations by the scanning module.
  • the file processor may include additional handlers to provide other functions.
  • a dedicated, independent processing module is provided for annotation processing, but embodiments of the invention are not limited to a dedicated module implementation.
  • a processing system includes one or more handler modules for the processing of a data stream, with the handler modules including one or more of the following:
  • a stream processing handler or
  • a stream processing handler is a module that includes one or more filter parameters that establish a filter condition.
  • the filter condition is imposed on a filter element.
  • the stream processing handler receives a data stream of annotated program elements and annotation values, and outputs a filtered data stream of annotated program elements and annotation values.
  • the stream processing handler generates a serial data filter in the same format as the serial data input. The stream processing handler further generates a callback control flow to control the operation of a data scanner that provides the data stream to the handler.
  • an echo utility handler is a module that echoes, or prints, the data elements of a data stream input so that the annotation data may be read or processed.
  • an annotation echo module produces a text stream output from a data stream input including annotated program elements and annotation values, thereby providing a user with a readable output of annotation information.
  • the annotation echo module produces annotation data in a form that may be provided to external processing, including, but not limited, comma-separated type definition and usage values or another common format.
  • the stream processing handler receives data stream input of type definition and type usage data, and produces a data stream output of type definition and type usage data.
  • the input format and the output format are the same for stream processing handler.
  • multiple annotation data handler modules may be placed in series.
  • a data stream input may be received by a stream processing handler, which filters out unwanted annotation data and produces a filtered data stream output of annotated program elements and annotation values.
  • the filtered data stream output then may be utilized as a data stream input for an echo utility, which converts the data stream into a text stream output for user analysis or into a form for external processing.
  • a scanner operates by sending data to the handler as it is identified in the data stream.
  • a type definition is thus received before receiving any of the program elements within the type, and thus also prior to any annotation value for the program elements within the type.
  • the handler may receive a type definition and may provide a callback to the scanner if the handler is not interested in annotations for the type definition. If the handler indicates that it is not interested in any annotations for the type definition, the scanner may then skip any annotation values for the type definition.
  • a set of computer files are processed in a single pass as a serial data stream without requiring multiple readings of the file data.
  • the same serial data stream format is maintained both on input and output, thereby allowing further processing of class files without further file conversion.
  • the same data format is used for the data input and the data output.
  • the data stream conversion allows processing without any dependency on random access files, and broadens the applicable scope of the process for the input.
  • the processing of class files as a data stream allows processing without requiring use of, for example, Java library utilities that may normally be required to conduct the file processing.
  • the conversion of computer files to a data stream allows for the use of a protocol for both the data producer (the computer file processor) and the data consumer without creating a complete file representation, thereby simplifying the data structure.
  • the processing system operates with a class file data model, without requiring the addition of any major abstraction for data processing.
  • the conversion of computer files to a serial data format may include, but is not limited to, the operation of a traversal of a hierarchical data structure or of a data archive as provided respectively in patent application Ser. No. 11/648,065, entitled “Computer File System Traversal”, filed Dec. 30, 2006.
  • Other processes for conversion of a set of files to a serial data stream may also be utilized in embodiments of the invention.
  • processing is designed to provide sufficient performance for overall computer file processing.
  • a system includes stream buffering to buffer data as it is obtained and processed.
  • an embodiment of the invention provides a compact internal file state in the data stream, thereby minimizing the amount of data that will be required in the process of transferring and processing the computer files.
  • a data scanner may be provided in multiple implementations, depending on the system requirements.
  • a data scanner may be a portion of a file processor.
  • native processing implementations may be provided for a computer file scanner, with the native implementations being based upon relevant Java standards.
  • a non-native implementation may be provided, as required.
  • a particular non-native implementation may include a BCEL (Byte Code Engineering Library) implementation, with the BCEL API being a toolkit for the static analysis and dynamic creation or transformation of Java class files.
  • BCEL Binaryte Code Engineering Library
  • a data consumer that receives generated annotation output data is a main framework extension point for which neutral utility implementations might be required.
  • a file processor (the data producer) operates using the same data protocol as the data consumer protocol.
  • the data consumer may have control over the data to be provided to the data consumer.
  • the data producer and the data consumer may cooperate to agree on the data to be provided from the serial data stream.
  • a system may include complexity control, including configuring the file processor to deliver the data of interest.
  • the data of interest includes data meeting a certain degree of detail, or certain types of data.
  • the structure of the data processing may allow for a system to be utilized with loose semantics and implementation constraints.
  • the technical framework and protocol data types may be defined.
  • implementation characteristics such as the result order sequence and analysis capabilities.
  • file processing may be included within a set of tools that are provided to search files.
  • the tools may, for example, provide for the conversion of files into serial form by a traversal process, the scanning of data for desired elements, and other related processes.
  • FIG. 1 is an illustration of embodiments of data handlers for annotation processing.
  • a data handler receives a serial data stream input of annotated elements and annotation values 105 .
  • the serial data stream may be received from a data scanner, which has scanned a data stream to identify annotated elements and annotation values.
  • the data handler may be an echo utility handler module 110 to produce data for examination by a user or for external processing.
  • an echo utility includes an annotation echo element 115 to receive the contents of the data stream input 105 and to print such data to put the data in a form for examination or external processing.
  • the annotation echo element 115 may print the input data stream 105 into a text stream 120 .
  • the data of the text stream can then be provided to a user 130 , who may analyze the data to reach conclusions regarding the original computer files.
  • the annotation echo element 115 may print the data stream input 105 into, for example, comma separated values 125 that may be used in external processing 135 .
  • the data handler may be a stream processing handler module 140 .
  • the stream processing handler module 140 includes an annotation filter 145 to filter out unwanted annotation data.
  • the annotation filter 145 may operate based on a filter condition 160 .
  • the filter condition 160 may utilize certain parameters 165 that may be set to establish filter operations.
  • the parameters may be derived from a configuration for the annotation handler module.
  • the annotation filter may further include a temporary storage 150 for use in holding annotation data temporarily while the data is filtered.
  • the annotation filter 140 produces a data stream output 175 , which in this embodiment is a filtered data stream of annotated elements and annotation values in which unwanted annotation data has been filtered out.
  • the stream processing handler module 140 may produce a callback control flow to control the annotation elements chosen for the data stream input 105 .
  • FIG. 2 is an illustration of an embodiment of a combination of handler modules for annotation data stream processing.
  • multiple data handlers may be utilized in series to process a received data stream.
  • a data stream of annotated data elements and annotation values 205 may be received, such as from a scanning module that is scanning a data stream for annotation data.
  • the data is received by a first handler module, data handler 1 210 , which may, for example be a stream processing handler, such as the stream processing handler module 140 illustrated in FIG. 1 .
  • the data handler 1 210 produces a data stream output of annotated data elements and annotation values 215 , which may represent a filtered data stream in which unwanted data type definitions and type usages have been filtered out.
  • the data stream output 215 becomes a data stream input for a second handler module, data handler 2 220 .
  • Data handler 2 220 may be, for example, an echo handler utility, such as the echo handler utility module 110 shown in FIG. 1 .
  • the echo handler utility converts the data stream input 215 by printing such data, such as in the form of a text stream for a user or a stream of formatted (comma-separated) data for external processing.
  • FIG. 3 is an illustration of an embodiment of processing of computer file data.
  • a computer file conversion module 305 is provided to convert computer file data into a serial data stream 310 .
  • the computer file data may be, but is not limited to, Java class file program elements.
  • the conversion of the computer file data may include, but is not limited to, the traversal of a hierarchical file or archives
  • the output of the processing of computer file data is a serial data stream 310 representing the computer file data.
  • the serial data stream includes one or more annotations.
  • the data stream 310 is illustrated as a series of program elements arriving as a data stream 330 .
  • this data stream there is a type definition prior to any elements within the type, and an annotation announcement occurs prior to any annotations.
  • Type 1 335 is a first type definition, which is followed by program element Element 1 340 within Type 1 .
  • Element 1 340 is associated with an annotation, with ANNO 1 345 being a first annotation descriptor for annotation value AnnoValue 1 350 .
  • the data stream further includes a second type definition Type 2 355 , which includes program elements Element 2 360 and Element 3 365 .
  • Element 3 365 is associated with a second annotation, as shown by second annotation descriptor ANNO 2 370 and annotation value AnnoValue 2 375 .
  • the serial data stream 310 then is provided to a data scanner 315 , which processes the data, including scanning the data stream for program elements of interest, including annotations to the program elements within the data stream.
  • the scanner 315 may contain multiple modules or sub-modules, depending on the particular embodiment.
  • the scanner 315 outputs an extracted data stream 320 , which represents elements of the data stream that have been selected by the scanner 315 .
  • the extracted data stream would contain the annotated program elements and associated annotation values.
  • the extracted data stream 320 then is eventually provided to a data consumer 325 .
  • the consumer 325 may receive additional reports or data processing as required for the needs of the consumer 325 .
  • FIG. 4 is an illustration of a computer file processing system 400 . While this illustration shows the processes occurring within a single system for simplicity in description, the processes may occur in multiple systems, including multiple systems within a network.
  • a computer file data stream input 405 is provided to a file processor 410 , which may include a scanner to scan the data for desired program elements.
  • the data stream 405 may, for example, represent Java class file data that has been converted into a serial data stream.
  • the file processor 410 may include multiple components, depending on the particular embodiment of the invention.
  • the file processor 410 generates an extracted computer file data stream 415 , which may be presented to a data consumer 420 .
  • the operation of the computer file processing system 400 is directed by certain inputs and settings.
  • the operation of the file processor 410 may be directed by a scanner configuration 425 .
  • a data mode configuration 430 affects both the file processor 410 and the data consumer 420 .
  • the file processor 410 also may include one of multiple implementations.
  • the implementation may be a native implementation 435 or a BCEL (Byte Code Engineering Library) implementation 440 .
  • the BCEL implementation 440 may include the Apache BCEL process 445 , as developed by the Apache Software Foundation.
  • the consumer 420 may utilize a framework utility 450 and a framework extension 455 in the operation of the computer file processing.
  • FIG. 5 is an illustration of an embodiment of a system to process annotated program elements.
  • the system 500 may include a data scanner 510 and a data handler 520 .
  • the data scanner 510 may, for example, represent the file processor 410 illustrated in FIG. 4 or a subpart of the file processor 410 .
  • the data handler 520 may represent the data consumer 420 illustrated in FIG. 4 or a subpart of the data consumer 420 .
  • the data scanner 510 is to scan a received data stream input 505 for annotations, and to produce a data stream containing selected annotated program elements and annotation values 515 .
  • the data handler 520 is to receive and handle the output of the scanner 510 .
  • the operation of the data handler includes the provision of feedback to the data scanner.
  • the data handler 520 provides a callback control flow 525 to inform the scanner whether particular program elements are desired.
  • the data scanner 510 may encounter a particular data type (such as a type description for a Java class file), and the data handler 520 may inform the data scanner 510 via the callback control flow 525 that annotations for the particular data type are not of interest.
  • the data scanner 510 may then skip the elements in the data type.
  • the data scanner 510 may include a native implementation 540 and a BCEL implementation 545 , illustrated with Apache BCEL 550 .
  • the implementations may be associated with a parsing module 555 to parse type descriptors and identify the appropriate data types. Also illustrated are the scanner configuration 530 and the data mode configuration 535 .
  • FIG. 6 is a flowchart to illustrate an embodiment of the scanning of a serial data stream for annotations to class file elements.
  • a set of class files is converted into a serial class file data stream 600 .
  • the class file data stream may include, but is not limited to, a data stream generated through the traversal of a hierarchical file system or an archive.
  • the serial class file data stream 600 is received by a scanning module 605 , which operates in conjunction with a handling module 610 to identify and output annotations of interest in the data stream.
  • a particular type description is received in the data stream 615 , and the handling module 610 is informed regarding the class type that was encountered.
  • a data stream is provided to the handling module 610 including the annotated element and the annotation value 660 .
  • the process ends 640 .
  • the processing of program elements may include other processes not illustrated here, depending on the embodiment of the invention.
  • FIG. 7 is an illustration of an embodiment of a class file program element as a data stream.
  • a class file program element 706 is shown within a code walk module 702 (used in the traversal of class files).
  • the class file program element 706 is represented by an element type 708 (including an element kind, type name, and type flags), an element field 710 (also including an element name and element flags), and one or more element methods 712 (also including a method signature), and an element parameter 714 (paramldx).
  • the element further includes a class file element record 716 in the code walk implementation 704 , including one or more operations (defining field accessors, shallow or deep equality, ordering relation, binary serialization, and XML serialization).
  • FIG. 8 is an illustration of an embodiment of an annotation to a class file program element presented as a data stream.
  • an annotation is represented in the code walk 802 as a class file annotation value 806 , including whether the value is visible at runtime, a type name, and the annotation elements.
  • the class file annotation value 806 is related to a particular named program element 808 , which includes the element name.
  • the annotated program element 810 includes the element tag and element value, as well as tag-specific accessors.
  • the program element 810 is shown in relation to the annotation 814 , as well as either Boolean 816 , char (character) 818 , double, float 820 , byte, short, int (integer), or long 822 .
  • the program element further may include a string 824 or class 826 , an enum (enumeration constant) 828 , and an array 830 .
  • the enumeration constant 828 is illustrated 812 as including an enumeration type and enumeration literal.
  • the annotation is further illustrated as a class file annotation record 832 in a code walk implementation 804 .
  • the class file annotation record 832 includes operations, including shallow or deep equality, the ordering relation, binary serialization, and XML serialization 832 .
  • the class file annotation record 832 is shown in relation with the named element 834 . Also illustrated are the annotated element 836 and the enumeration constant 838 .
  • FIG. 9 is an embodiment of library utilities.
  • FIG. 9 may illustrate software modules, hardware modules, or modules including a combination of software and hardware.
  • the utilities relate to an interface layer comprising code walk interfaces (code.walk 980 ); for class file processing and file walk interfaces (file.walk 910 ) for locating files; and further to an implementation toolbox comprising code processing 950 and a code walk implementation (code.walk.impl 960 ) for class file processing, and file processing 955 and a file walk implementation (file.walk.impl 930 ) for locating files.
  • the code walk interfaces 980 may include a class file annotation value interface module 982 , a class file program element interface module 984 , a class file annotation handler interface module 986 , a class file annotation scanner interface module 988 , a class file dependency scanner interface module 990 , and a class file dependency listener interface module 992 .
  • the file walk interfaces then may include a file condition interface module 912 , a file name classifier interface module 914 , a directory walker handler interface module 916 , a directory walker interface module 918 , a zip walker handler interface module (“zip” indicating use for archives) 920 , a zip walker interface module 922 , and a file notification interface module 924 .
  • the code processing 950 may provide for parsing types from class file descriptors.
  • Code processing 950 may include a class file format helper module 952 and a class file descriptor parser module.
  • the code walk implementation 960 for class file processing may include a class file annotation record module 962 , a class file element record module 964 , a class file annotation filter 966 , a class file annotation for native elements 968 , a class file dependencies module for native elements 970 , a class file dependencies module for BCEL (Byte Code Engineering Library) elements 972 , a class file dependency concentrator module 974 , and a class file dependency filter 976 .
  • BCEL Binaryte Code Engineering Library
  • the file processing 955 may include a comma separated value (CSV) formatter and a CSV scanner.
  • the file walk implementation 930 for locating files may include a simple file condition module 932 , a basic file name classifier module 934 , a directory finder module 936 , a directory walker implementation module 938 , a walk recorder module 940 , a zip (archive) condenser module 942 , and a zip walker implementation module 944 .
  • FIG. 10 is an illustration of a computer system in an embodiment of the invention.
  • the computer system may be utilized as a system for processing of computer files in the form of a data stream, or may represent one of multiple systems used in such processing.
  • the computing system illustrated in FIG. 10 is only one of various possible computing system architectures, and is a simplified illustration that does include many well-known elements.
  • a computing system 1000 can execute program code stored by an article of manufacture.
  • Computer system 1000 may be a J2EE system, ABAP system, or administration system.
  • a computer system 1000 includes one or more processors 1005 and memory 1010 coupled to a bus system 1020 .
  • the bus system 1020 is an abstraction that represents any one or more separate physical buses, point-to-point connections, or both connected by appropriate bridges, adapters, or controllers.
  • the bus system 1020 may include, for example, a system bus, a Peripheral Component Interconnect (PCI) bus, a HyperTransport or industry standard architecture (ISA) bus, a small computer system interface (SCSI) bus, a universal serial bus (USB), or an Institute of Electrical and Electronics Engineers (IEEE) standard 1394 bus, sometimes referred to as “Firewire”. (“Standard for a High Performance Serial Bus” 1394-1995, IEEE, published Aug. 30, 1996, and supplements thereto)
  • the processors 1005 are central processing units (CPUs) of the computer system 1000 and control the overall operation of the computer system 1000 .
  • the processors 1005 execute software stored in memory 1010 .
  • a processor 1005 may be, or may include, one or more programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), programmable logic devices (PLDs), or the like, or a combination of such devices.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • PLDs programmable logic devices
  • Memory 1010 is or includes the main memory of the computer system 1000 .
  • Memory 1010 represents any form of random access memory (RAM), read-only memory (ROM), flash memory, or the like, or a combination of such devices.
  • RAM random access memory
  • ROM read-only memory
  • flash memory or the like, or a combination of such devices.
  • Memory 1010 stores, among other things, the operating system 1015 of the computer system 1000 .
  • Mass storage devices 1025 may be or may include any conventional medium for storing large volumes of instructions and data 1030 in a non-volatile manner, such as one or more magnetic or optical based disks.
  • the mass storage devices may include storage of file or an archive 1032 that requires processing.
  • the processors 1005 may operate to traverse the files or archive 1032 , the traversal of the files or archive 1032 resulting in output of a serial data stream representing selected elements of the archives The processor 1005 may scan the serial stream for desired program elements within the computer files.
  • the computer system 1000 may provide for the conversion of the computer files into a serial data stream, while another system or systems is responsible for scanning the data stream for desired program elements.
  • the network adapter 1035 provides the computer system 1000 with the ability to communicate with remote devices, over a network 1040 and may be, for example, an Ethernet adapter.
  • the network adapter may be utilized to output data including, for example, an extracted serial data stream representing selected elements of the files or archive 1032 .
  • FIG. 11 illustrates an embodiment of a client-server network system.
  • a network 1125 links a server 1130 with client systems 1105 , 1110 , and 1115 .
  • Client 1115 may include certain data storage 1120 , including computer files in the form of, for example, a computer file hierarchy or computer archive 1122 .
  • Server 1130 includes programming data processing system suitable for implementing apparatus, programs, and/or methods in accordance with one or more embodiments of the present invention.
  • Server 1130 includes processor 1135 and memory 1140 .
  • Server 1130 provides a core operating environment for one or more runtime systems, including, for example, virtual machine 1145 , at memory 1140 to process user requests.
  • Memory 1140 may include a shared memory area that is accessible by multiple operating system processes executing in server 1130 .
  • virtual machine 1145 may include an enterprise server (e.g., a J2EE-compatible server or node, Web Application Server developed by SAP AG, WebSphere Application Server developed by IBM Corp. of Armonk, N.Y., and the like).
  • Memory 1140 can be used to store an operating system, a Transmission Control Protocol/Internet Protocol (TCP/IP) stack for communicating over network 1125 , and machine executable instructions executed by processor 1135 .
  • the memory 1145 may also include data 1150 for processing, including the processing of data that includes data of one or more computer file hierarchies or computer archives 1152 . In an embodiment, the data has been converted into a serial data stream for processing.
  • server 1135 may include multiple processors, each of which can be used to execute machine executable instructions.
  • Client systems 1105 - 1115 may execute multiple application or application interfaces. Each instance or application or application interface may constitute a user session. Each user session may generate one or more requests to be processed by server 1130 . The requests may include instructions or code to be executed on a runtime system, such as virtual machine 1145 on server 1130 .
  • the present invention may include various processes.
  • the processes of the present invention may be performed by hardware components or may be embodied in machine-executable instructions, which may be used to cause a general-purpose or special-purpose processor or logic circuits programmed with the instructions to perform the processes.
  • the processes may be performed by a combination of hardware and software.
  • Portions of the present invention may be provided as a computer program product, which may include a computer-readable medium having stored thereon computer program instructions, which may be used to program a computer (or other electronic devices) to perform a process according to the present invention.
  • the machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs (compact disk read-only memory), and magneto-optical disks, ROMs (read-only memory), RAMs (random access memory), EPROMs (erasable programmable read-only memory), EEPROMs (electrically-erasable programmable read-only memory), magnet or optical cards, flash memory, or other type of media/machine-readable medium suitable for storing electronic instructions.
  • the present invention may also be downloaded as a computer program product, wherein the program may be transferred from a remote computer to a requesting computer.

Abstract

A method and apparatus for annotation data handlers for data stream processing. An embodiment of a method for processing annotations in computer files includes receiving a data stream input at a scanner component, where the data stream input represents program elements of one or more computer files. The data stream input is scanned for annotations, and a data stream is generated comprising annotated program elements and associated annotation values. The annotated program elements and annotation values are provided as an input to a handler component. The handler component performs one of filtering the annotated program elements and annotation values data, or echoing the annotated program elements and annotation values, and the handler component generates an output.

Description

    RELATED APPLICATIONS
  • This application is related to and claims priority to U.S. provisional patent application 60/953,938, filed Aug. 3, 2007.
  • This application is further related to:
      • U.S. patent application Ser. No. 11/648,065, entitled “Computer File System Traversal”, filed Dec. 30, 2006;
      • U.S. patent application Ser. No. ______, entitled “Computer Computer Archive Traversal”, attorney docket 6570P472, filed Aug. 1, 2008, claiming priority to U.S. provisional application 60/953,932, filed Aug. 3, 2007;
      • U.S. patent application Ser. No. ______, entitled “Computer File Processing”, attorney docket 6570P473, filed Aug. 1, 2008, claiming priority to U.S. provisional application 60/953,933, filed Aug. 3, 2007;
      • U.S. patent application Ser. No. ______, entitled “Annotation Processing of Computer Files”, attorney docket 6570P474, filed Aug. 1, 2008, claiming priority to U.S. provisional application 60/953,935, filed Aug. 3, 2007;
      • U.S. patent application Ser. No. ______, entitled “Annotation Data Filtering of Computer Files”, attorney docket 6570P475, filed Aug. 1, 2008, claiming priority to U.S. provisional application 60/953,937, filed Aug. 3, 2007;
      • U.S. patent application Ser. No. ______, entitled “Dependency Processing of Computer Files”, attorney docket 6570P492, filed Aug. 1, 2008, claiming priority to U.S. provisional application 60/953,963, filed Aug. 3, 2007; and
      • U.S. patent application Ser. No. ______, entitled “Data Listeners for Type Dependency Processing”, attorney docket 6570P493, filed Aug. 1, 2008, claiming priority to U.S. provisional application 60/953,964, filed Aug. 3, 2007.
    TECHNICAL FIELD
  • Embodiments of the invention generally relate to the field of computer systems and, more particularly, to a method and apparatus for annotation data handlers for data stream processing.
  • BACKGROUND
  • Computer files, such as Java class files, may have specific standard formats. The standard formats of computer may limit the data that can be provided in relation to the files. For this reason, annotations may be provided to add additional information regarding computer files. Annotations may potentially be found anywhere within a set of computer files.
  • In a particular example, Java allows annotations to Java class files, with the practice now being specifically described in annotations under Java release 5.0 (Java under the JDK (Java Development Kit) 5.0) as provided in JSR-175 recommendation regarding code annotations. The annotations may add guidance regarding certain class files. Thus, a Java class file may include one or more annotations associated with program elements.
  • It may become necessary or useful to filter program files to obtain annotations that are present in the files. However, the filtering of the program files may require a significant amount of processing time, and the process may not be easily adaptable to dynamic changes in filtering requirements.
  • SUMMARY OF THE INVENTION
  • A method and apparatus are provided for annotation data handlers for data stream processing.
  • In a first aspect of the invention, an embodiment of a method for processing annotations in computer files includes receiving a data stream input at a scanner component, where the data stream input represents program elements of one or more computer files. The data stream input is scanned for annotations, and a data stream is generated comprising annotated program elements and associated annotation values. The annotated program elements and annotation values are provided as an input to a handler component. The handler component performs filtering of the annotated program elements and annotation values data, or echoing the annotated program elements and annotation values, and the handler component generates an output.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which like reference numerals refer to similar elements.
  • FIG. 1 is an illustration of embodiments of data handlers for annotation processing;
  • FIG. 2 is an illustration of an embodiment of a combination of handler modules for annotation data stream processing;
  • FIG. 3 is an illustration of an embodiment of processing of computer file data;
  • FIG. 4 is an illustration of a computer file processing system;
  • FIG. 5 is an illustration of an embodiment of a system to process annotated program elements;
  • FIG. 6 is a flowchart to illustrate an embodiment of the scanning of a serial data stream for annotations to class file elements;
  • FIG. 7 is an illustration of an embodiment of a class file program element as a data stream;
  • FIG. 8 is an illustration of an embodiment of an annotation to a class file program element presented as a data stream;
  • FIG. 9 is an embodiment of library utilities;
  • FIG. 10 is an illustration of a computer system in an embodiment of the invention; and
  • FIG. 11 illustrates an embodiment of a client-server network system.
  • DETAILED DESCRIPTION
  • Embodiments of the invention are generally directed to annotation data handlers for data stream processing.
  • As used herein:
  • “Annotation” means additional information or metadata that is associated with or attached to a particular point in a computer program. The term annotation includes formal and informal annotation methods, including, but not limited to, annotations under Java release 5.0 (Java under the JDK (Java Development Kit) 5.0) as provided in JSR (Java Specification Request) 175 recommendation regarding code annotations (“A Metadata Facility for the Java Programming Language”).
  • “Data type” means a classification of software artifacts stored in a computer file. Data type includes, but is not limited to, a type of a Java class file.
  • “Computer file” means any file structure used in a computer system. Computer files include files with specific required structures, including Java class files.
  • “Class file” means a Java class file. A Java class file is a defined format for compiled Java code, which may then be loaded and executed by any Java virtual machine. The format and structure for a Java class file is provided in JSR 000202, Java Class File Specification Update (Oct. 2, 2006) and subsequent specifications.
  • “Traversal” means a process for progressing through the elements of a computer system, including a process for progressing through the elements of a computer archives
  • “Archive” means a single file that may contain one or more separate files. An archive may also be empty. The files within an archive are extracted, or separated, from the archive for use by a computer program. The files contained within an archive are commonly compressed, and the compressed files are decompressed prior to use. An archive may further include data required to extract the files from the archives “Archive” may also refer to act of transferring one or more files into an archives
  • In an embodiment of the invention, processing of computer files to identify annotations is provided. In an embodiment, the computer files are in the form of a serial data stream, with the data stream being scanned for annotation occurrences. In one embodiment, a set of computer files includes a set of Java class files, where the Java class files include one or more annotations. In an embodiment of the invention, the processing of the data stream includes the use of one or more handler modules to process annotation data.
  • The Java platform has included various ad hoc mechanisms to provide annotations. Java release 5.0 (Java under the JDK (Java Development Kit) 5.0) includes a formal general purpose annotation (or metadata) facility, as provided in the JSR-175 recommendation regarding code annotations. The annotation facility permits a user to define and use the user's own annotation types. The facility includes a syntax for declaring annotation types, a syntax for annotating declarations, APIs for reading annotations, a class file representation for annotations, and an annotation processing tool. Annotations generally allow programmers to add attributes to computer code, including Java code. These attributes may be used for multiple purposes, including code documentation, code generation, and, during runtime, for providing special services such as enhanced business-level security or special business logic.
  • In an embodiment of the invention, annotation data is extracted into a neutral format to allow efficient filtering of annotations of interest. The annotations in a data stream are provided in a form to allow a scanner to address the elements in a data stream. In an embodiment, a type definition appears prior to any annotations on the elements of the particular type. In an embodiment, there is further an annotation announcement made directly before reporting the annotation value, thus informing a scanner to be forewarned that an annotation will follow.
  • In an embodiment of the invention, a process is provided to receive a data stream input representing a computer program or other computer files, scan the data stream for instances of annotations, and to generate a data stream output. The data stream output includes selected annotated elements and annotation values.
  • In an embodiment of the invention, a processing system includes a scanning module to scan the data stream input and output a data stream that includes selected annotated elements and annotation values. In an embodiment, the processing system further includes a handler module to handle the data stream output. In an embodiment, the handler module further provides feedback to the scanning module to direct the selection of annotations by the scanning module. In an embodiment, the file processor may include additional handlers to provide other functions. In one embodiment of the invention, a dedicated, independent processing module is provided for annotation processing, but embodiments of the invention are not limited to a dedicated module implementation.
  • In an embodiment of the invention, a processing system includes one or more handler modules for the processing of a data stream, with the handler modules including one or more of the following:
  • (1) A stream processing handler; or
  • (2) An echo utility handler.
  • In an embodiment of the invention, a stream processing handler is a module that includes one or more filter parameters that establish a filter condition. The filter condition is imposed on a filter element. In an embodiment, the stream processing handler receives a data stream of annotated program elements and annotation values, and outputs a filtered data stream of annotated program elements and annotation values. In an embodiment, the stream processing handler generates a serial data filter in the same format as the serial data input. The stream processing handler further generates a callback control flow to control the operation of a data scanner that provides the data stream to the handler.
  • In an embodiment of the invention, an echo utility handler is a module that echoes, or prints, the data elements of a data stream input so that the annotation data may be read or processed. In one embodiment, an annotation echo module produces a text stream output from a data stream input including annotated program elements and annotation values, thereby providing a user with a readable output of annotation information. In a second embodiment, the annotation echo module produces annotation data in a form that may be provided to external processing, including, but not limited, comma-separated type definition and usage values or another common format.
  • In an embodiment of the invention, the stream processing handler receives data stream input of type definition and type usage data, and produces a data stream output of type definition and type usage data. In an embodiment, the input format and the output format are the same for stream processing handler. In this manner, multiple annotation data handler modules may be placed in series. In one example, a data stream input may be received by a stream processing handler, which filters out unwanted annotation data and produces a filtered data stream output of annotated program elements and annotation values. The filtered data stream output then may be utilized as a data stream input for an echo utility, which converts the data stream into a text stream output for user analysis or into a form for external processing.
  • In an embodiment of the invention, a scanner operates by sending data to the handler as it is identified in the data stream. In an embodiment, a type definition is thus received before receiving any of the program elements within the type, and thus also prior to any annotation value for the program elements within the type. In this manner, the handler may receive a type definition and may provide a callback to the scanner if the handler is not interested in annotations for the type definition. If the handler indicates that it is not interested in any annotations for the type definition, the scanner may then skip any annotation values for the type definition.
  • In an embodiment of the invention, a set of computer files are processed in a single pass as a serial data stream without requiring multiple readings of the file data. In an embodiment, the same serial data stream format is maintained both on input and output, thereby allowing further processing of class files without further file conversion. In an embodiment, the same data format is used for the data input and the data output. In an embodiment, the data stream conversion allows processing without any dependency on random access files, and broadens the applicable scope of the process for the input. In an embodiment, the processing of class files as a data stream allows processing without requiring use of, for example, Java library utilities that may normally be required to conduct the file processing.
  • In an embodiment of the invention, the conversion of computer files to a data stream allows for the use of a protocol for both the data producer (the computer file processor) and the data consumer without creating a complete file representation, thereby simplifying the data structure. In an implementation for Java class files, the processing system operates with a class file data model, without requiring the addition of any major abstraction for data processing.
  • In an embodiment, the conversion of computer files to a serial data format may include, but is not limited to, the operation of a traversal of a hierarchical data structure or of a data archive as provided respectively in patent application Ser. No. 11/648,065, entitled “Computer File System Traversal”, filed Dec. 30, 2006. Other processes for conversion of a set of files to a serial data stream may also be utilized in embodiments of the invention.
  • In an embodiment of the invention, for the processing of computer files it is assumed that processing occurs on an inner loop for critical processing stages. In an embodiment, a system requires high performance for inner loop of class file processing itself.
  • In an embodiment of the invention, processing is designed to provide sufficient performance for overall computer file processing. For example, in an embodiment a system includes stream buffering to buffer data as it is obtained and processed. In addition, an embodiment of the invention provides a compact internal file state in the data stream, thereby minimizing the amount of data that will be required in the process of transferring and processing the computer files.
  • In an embodiment of the invention, a data scanner may be provided in multiple implementations, depending on the system requirements. A data scanner may be a portion of a file processor. In one example, native processing implementations may be provided for a computer file scanner, with the native implementations being based upon relevant Java standards. In another example, a non-native implementation may be provided, as required. A particular non-native implementation may include a BCEL (Byte Code Engineering Library) implementation, with the BCEL API being a toolkit for the static analysis and dynamic creation or transformation of Java class files.
  • In an embodiment of the invention, a data consumer that receives generated annotation output data is a main framework extension point for which neutral utility implementations might be required. In an embodiment of the invention, a file processor (the data producer) operates using the same data protocol as the data consumer protocol. In an embodiment of the invention, the data consumer may have control over the data to be provided to the data consumer. In an embodiment, the data producer and the data consumer may cooperate to agree on the data to be provided from the serial data stream. In an embodiment of the invention, a system may include complexity control, including configuring the file processor to deliver the data of interest. In an embodiment, the data of interest includes data meeting a certain degree of detail, or certain types of data. In an embodiment of the invention, the structure of the data processing may allow for a system to be utilized with loose semantics and implementation constraints. For example, the technical framework and protocol data types may be defined. However, there may be leeway for implementation characteristics, such as the result order sequence and analysis capabilities.
  • In an embodiment of the invention, file processing may be included within a set of tools that are provided to search files. The tools may, for example, provide for the conversion of files into serial form by a traversal process, the scanning of data for desired elements, and other related processes.
  • FIG. 1 is an illustration of embodiments of data handlers for annotation processing. In an embodiment, a data handler receives a serial data stream input of annotated elements and annotation values 105. The serial data stream may be received from a data scanner, which has scanned a data stream to identify annotated elements and annotation values.
  • In first embodiment of the invention, the data handler may be an echo utility handler module 110 to produce data for examination by a user or for external processing. In this illustration, an echo utility includes an annotation echo element 115 to receive the contents of the data stream input 105 and to print such data to put the data in a form for examination or external processing. For example, the annotation echo element 115 may print the input data stream 105 into a text stream 120. The data of the text stream can then be provided to a user 130, who may analyze the data to reach conclusions regarding the original computer files. In a second example the annotation echo element 115 may print the data stream input 105 into, for example, comma separated values 125 that may be used in external processing 135.
  • In a second embodiment of the invention the data handler may be a stream processing handler module 140. In this illustration, the stream processing handler module 140 includes an annotation filter 145 to filter out unwanted annotation data. The annotation filter 145 may operate based on a filter condition 160. The filter condition 160 may utilize certain parameters 165 that may be set to establish filter operations. For example, the parameters may be derived from a configuration for the annotation handler module. The annotation filter may further include a temporary storage 150 for use in holding annotation data temporarily while the data is filtered. The annotation filter 140 produces a data stream output 175, which in this embodiment is a filtered data stream of annotated elements and annotation values in which unwanted annotation data has been filtered out. In addition, the stream processing handler module 140 may produce a callback control flow to control the annotation elements chosen for the data stream input 105.
  • FIG. 2 is an illustration of an embodiment of a combination of handler modules for annotation data stream processing. In this illustration, multiple data handlers may be utilized in series to process a received data stream. For example, a data stream of annotated data elements and annotation values 205 may be received, such as from a scanning module that is scanning a data stream for annotation data. The data is received by a first handler module, data handler 1 210, which may, for example be a stream processing handler, such as the stream processing handler module 140 illustrated in FIG. 1. The data handler 1 210 produces a data stream output of annotated data elements and annotation values 215, which may represent a filtered data stream in which unwanted data type definitions and type usages have been filtered out. The data stream output 215 becomes a data stream input for a second handler module, data handler 2 220. Data handler 2 220 may be, for example, an echo handler utility, such as the echo handler utility module 110 shown in FIG. 1. The echo handler utility converts the data stream input 215 by printing such data, such as in the form of a text stream for a user or a stream of formatted (comma-separated) data for external processing.
  • FIG. 3 is an illustration of an embodiment of processing of computer file data. In this illustration, a computer file conversion module 305 is provided to convert computer file data into a serial data stream 310. The computer file data may be, but is not limited to, Java class file program elements. The conversion of the computer file data may include, but is not limited to, the traversal of a hierarchical file or archives The output of the processing of computer file data is a serial data stream 310 representing the computer file data.
  • In an embodiment, the serial data stream includes one or more annotations. For example, the data stream 310 is illustrated as a series of program elements arriving as a data stream 330. In this data stream, there is a type definition prior to any elements within the type, and an annotation announcement occurs prior to any annotations. For example, Type1 335 is a first type definition, which is followed by program element Element1 340 within Type1. Element1 340 is associated with an annotation, with ANNO1 345 being a first annotation descriptor for annotation value AnnoValue1 350. The data stream further includes a second type definition Type2 355, which includes program elements Element2 360 and Element3 365. Element3 365 is associated with a second annotation, as shown by second annotation descriptor ANNO2 370 and annotation value AnnoValue2 375.
  • In an embodiment of the invention, the serial data stream 310 then is provided to a data scanner 315, which processes the data, including scanning the data stream for program elements of interest, including annotations to the program elements within the data stream. The scanner 315 may contain multiple modules or sub-modules, depending on the particular embodiment. The scanner 315 outputs an extracted data stream 320, which represents elements of the data stream that have been selected by the scanner 315. In this implementation, the extracted data stream would contain the annotated program elements and associated annotation values. The extracted data stream 320 then is eventually provided to a data consumer 325. The consumer 325 may receive additional reports or data processing as required for the needs of the consumer 325.
  • FIG. 4 is an illustration of a computer file processing system 400. While this illustration shows the processes occurring within a single system for simplicity in description, the processes may occur in multiple systems, including multiple systems within a network. In this illustration, a computer file data stream input 405 is provided to a file processor 410, which may include a scanner to scan the data for desired program elements. The data stream 405 may, for example, represent Java class file data that has been converted into a serial data stream. The file processor 410 may include multiple components, depending on the particular embodiment of the invention. The file processor 410 generates an extracted computer file data stream 415, which may be presented to a data consumer 420.
  • In an embodiment of the invention, the operation of the computer file processing system 400 is directed by certain inputs and settings. The operation of the file processor 410 may be directed by a scanner configuration 425. In addition, a data mode configuration 430 affects both the file processor 410 and the data consumer 420. The file processor 410 also may include one of multiple implementations. In particular embodiments, the implementation may be a native implementation 435 or a BCEL (Byte Code Engineering Library) implementation 440. The BCEL implementation 440 may include the Apache BCEL process 445, as developed by the Apache Software Foundation. In addition, the consumer 420 may utilize a framework utility 450 and a framework extension 455 in the operation of the computer file processing.
  • FIG. 5 is an illustration of an embodiment of a system to process annotated program elements. The system 500 may include a data scanner 510 and a data handler 520. The data scanner 510 may, for example, represent the file processor 410 illustrated in FIG. 4 or a subpart of the file processor 410. The data handler 520 may represent the data consumer 420 illustrated in FIG. 4 or a subpart of the data consumer 420. In this illustration, the data scanner 510 is to scan a received data stream input 505 for annotations, and to produce a data stream containing selected annotated program elements and annotation values 515. The data handler 520 is to receive and handle the output of the scanner 510. The operation of the data handler includes the provision of feedback to the data scanner. As illustrated, in addition to any other functions, the data handler 520 provides a callback control flow 525 to inform the scanner whether particular program elements are desired. For example, the data scanner 510 may encounter a particular data type (such as a type description for a Java class file), and the data handler 520 may inform the data scanner 510 via the callback control flow 525 that annotations for the particular data type are not of interest. Upon being informed via the callback control flow 525 that annotations for the particular data type are not of interest, the data scanner 510 may then skip the elements in the data type.
  • The data scanner 510 may include a native implementation 540 and a BCEL implementation 545, illustrated with Apache BCEL 550. The implementations may be associated with a parsing module 555 to parse type descriptors and identify the appropriate data types. Also illustrated are the scanner configuration 530 and the data mode configuration 535.
  • FIG. 6 is a flowchart to illustrate an embodiment of the scanning of a serial data stream for annotations to class file elements. In this illustration, a set of class files is converted into a serial class file data stream 600. The class file data stream may include, but is not limited to, a data stream generated through the traversal of a hierarchical file system or an archive.
  • The serial class file data stream 600 is received by a scanning module 605, which operates in conjunction with a handling module 610 to identify and output annotations of interest in the data stream. In this process, a particular type description is received in the data stream 615, and the handling module 610 is informed regarding the class type that was encountered. There is then a determination whether the elements of the class type should be processed 620. This determination may be based at least in part on any feedback received from the handling module 610 indicating that the class type is not of interest 655. If the program elements in the class type should not be processed, then the elements in the class type are skipped and the process continues to a determination whether there are more program elements remaining 635. If the class is of interest, then the scanning module 605 scans the program elements for annotations 625.
  • If any annotations are found 630, then a data stream is provided to the handling module 610 including the annotated element and the annotation value 660. When no more program elements remain in the received data stream, then the process ends 640. The processing of program elements may include other processes not illustrated here, depending on the embodiment of the invention.
  • FIG. 7 is an illustration of an embodiment of a class file program element as a data stream. In this illustration, a class file program element 706 is shown within a code walk module 702 (used in the traversal of class files). The class file program element 706 is represented by an element type 708 (including an element kind, type name, and type flags), an element field 710 (also including an element name and element flags), and one or more element methods 712 (also including a method signature), and an element parameter 714 (paramldx). The element further includes a class file element record 716 in the code walk implementation 704, including one or more operations (defining field accessors, shallow or deep equality, ordering relation, binary serialization, and XML serialization).
  • FIG. 8 is an illustration of an embodiment of an annotation to a class file program element presented as a data stream. In this illustration, an annotation is represented in the code walk 802 as a class file annotation value 806, including whether the value is visible at runtime, a type name, and the annotation elements. The class file annotation value 806 is related to a particular named program element 808, which includes the element name. The annotated program element 810 includes the element tag and element value, as well as tag-specific accessors. The program element 810 is shown in relation to the annotation 814, as well as either Boolean 816, char (character) 818, double, float 820, byte, short, int (integer), or long 822. The program element further may include a string 824 or class 826, an enum (enumeration constant) 828, and an array 830. The enumeration constant 828 is illustrated 812 as including an enumeration type and enumeration literal.
  • The annotation is further illustrated as a class file annotation record 832 in a code walk implementation 804. The class file annotation record 832 includes operations, including shallow or deep equality, the ordering relation, binary serialization, and XML serialization 832. The class file annotation record 832 is shown in relation with the named element 834. Also illustrated are the annotated element 836 and the enumeration constant 838.
  • FIG. 9 is an embodiment of library utilities. FIG. 9 may illustrate software modules, hardware modules, or modules including a combination of software and hardware. In this illustration, the utilities relate to an interface layer comprising code walk interfaces (code.walk 980); for class file processing and file walk interfaces (file.walk 910) for locating files; and further to an implementation toolbox comprising code processing 950 and a code walk implementation (code.walk.impl 960) for class file processing, and file processing 955 and a file walk implementation (file.walk.impl 930) for locating files.
  • In the interface layer, the code walk interfaces 980 may include a class file annotation value interface module 982, a class file program element interface module 984, a class file annotation handler interface module 986, a class file annotation scanner interface module 988, a class file dependency scanner interface module 990, and a class file dependency listener interface module 992. The file walk interfaces then may include a file condition interface module 912, a file name classifier interface module 914, a directory walker handler interface module 916, a directory walker interface module 918, a zip walker handler interface module (“zip” indicating use for archives) 920, a zip walker interface module 922, and a file notification interface module 924.
  • In an embodiment of the invention, the code processing 950 may provide for parsing types from class file descriptors. Code processing 950 may include a class file format helper module 952 and a class file descriptor parser module. The code walk implementation 960 for class file processing may include a class file annotation record module 962, a class file element record module 964, a class file annotation filter 966, a class file annotation for native elements 968, a class file dependencies module for native elements 970, a class file dependencies module for BCEL (Byte Code Engineering Library) elements 972, a class file dependency concentrator module 974, and a class file dependency filter 976.
  • In an embodiment of the invention, the file processing 955 may include a comma separated value (CSV) formatter and a CSV scanner. The file walk implementation 930 for locating files may include a simple file condition module 932, a basic file name classifier module 934, a directory finder module 936, a directory walker implementation module 938, a walk recorder module 940, a zip (archive) condenser module 942, and a zip walker implementation module 944.
  • FIG. 10 is an illustration of a computer system in an embodiment of the invention. The computer system may be utilized as a system for processing of computer files in the form of a data stream, or may represent one of multiple systems used in such processing. The computing system illustrated in FIG. 10 is only one of various possible computing system architectures, and is a simplified illustration that does include many well-known elements. As illustrated, a computing system 1000 can execute program code stored by an article of manufacture. Computer system 1000 may be a J2EE system, ABAP system, or administration system. A computer system 1000 includes one or more processors 1005 and memory 1010 coupled to a bus system 1020. The bus system 1020 is an abstraction that represents any one or more separate physical buses, point-to-point connections, or both connected by appropriate bridges, adapters, or controllers. The bus system 1020 may include, for example, a system bus, a Peripheral Component Interconnect (PCI) bus, a HyperTransport or industry standard architecture (ISA) bus, a small computer system interface (SCSI) bus, a universal serial bus (USB), or an Institute of Electrical and Electronics Engineers (IEEE) standard 1394 bus, sometimes referred to as “Firewire”. (“Standard for a High Performance Serial Bus” 1394-1995, IEEE, published Aug. 30, 1996, and supplements thereto)
  • As illustrated in FIG. 10, the processors 1005 are central processing units (CPUs) of the computer system 1000 and control the overall operation of the computer system 1000. The processors 1005 execute software stored in memory 1010. A processor 1005 may be, or may include, one or more programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), programmable logic devices (PLDs), or the like, or a combination of such devices.
  • Memory 1010 is or includes the main memory of the computer system 1000. Memory 1010 represents any form of random access memory (RAM), read-only memory (ROM), flash memory, or the like, or a combination of such devices. Memory 1010 stores, among other things, the operating system 1015 of the computer system 1000.
  • Also connected to the processors 1005 through the bus system 1020 are one or more mass storage devices 1025 and a network adapter 1035. Mass storage devices 1025 may be or may include any conventional medium for storing large volumes of instructions and data 1030 in a non-volatile manner, such as one or more magnetic or optical based disks. In an embodiment of the invention, the mass storage devices may include storage of file or an archive 1032 that requires processing. In an embodiment of the invention, the processors 1005 may operate to traverse the files or archive 1032, the traversal of the files or archive 1032 resulting in output of a serial data stream representing selected elements of the archives The processor 1005 may scan the serial stream for desired program elements within the computer files. In another embodiment the computer system 1000 may provide for the conversion of the computer files into a serial data stream, while another system or systems is responsible for scanning the data stream for desired program elements.
  • The network adapter 1035 provides the computer system 1000 with the ability to communicate with remote devices, over a network 1040 and may be, for example, an Ethernet adapter. In one embodiment, the network adapter may be utilized to output data including, for example, an extracted serial data stream representing selected elements of the files or archive 1032.
  • FIG. 11 illustrates an embodiment of a client-server network system. As illustrated, a network 1125 links a server 1130 with client systems 1105, 1110, and 1115. Client 1115 may include certain data storage 1120, including computer files in the form of, for example, a computer file hierarchy or computer archive 1122. Server 1130 includes programming data processing system suitable for implementing apparatus, programs, and/or methods in accordance with one or more embodiments of the present invention. Server 1130 includes processor 1135 and memory 1140. Server 1130 provides a core operating environment for one or more runtime systems, including, for example, virtual machine 1145, at memory 1140 to process user requests. Memory 1140 may include a shared memory area that is accessible by multiple operating system processes executing in server 1130. For example, virtual machine 1145 may include an enterprise server (e.g., a J2EE-compatible server or node, Web Application Server developed by SAP AG, WebSphere Application Server developed by IBM Corp. of Armonk, N.Y., and the like). Memory 1140 can be used to store an operating system, a Transmission Control Protocol/Internet Protocol (TCP/IP) stack for communicating over network 1125, and machine executable instructions executed by processor 1135. The memory 1145 may also include data 1150 for processing, including the processing of data that includes data of one or more computer file hierarchies or computer archives 1152. In an embodiment, the data has been converted into a serial data stream for processing. In some embodiments, server 1135 may include multiple processors, each of which can be used to execute machine executable instructions.
  • Client systems 1105-1115 may execute multiple application or application interfaces. Each instance or application or application interface may constitute a user session. Each user session may generate one or more requests to be processed by server 1130. The requests may include instructions or code to be executed on a runtime system, such as virtual machine 1145 on server 1130.
  • In the description above, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. In other instances, well-known structures and devices are shown in block diagram form.
  • The present invention may include various processes. The processes of the present invention may be performed by hardware components or may be embodied in machine-executable instructions, which may be used to cause a general-purpose or special-purpose processor or logic circuits programmed with the instructions to perform the processes. Alternatively, the processes may be performed by a combination of hardware and software.
  • Portions of the present invention may be provided as a computer program product, which may include a computer-readable medium having stored thereon computer program instructions, which may be used to program a computer (or other electronic devices) to perform a process according to the present invention. The machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs (compact disk read-only memory), and magneto-optical disks, ROMs (read-only memory), RAMs (random access memory), EPROMs (erasable programmable read-only memory), EEPROMs (electrically-erasable programmable read-only memory), magnet or optical cards, flash memory, or other type of media/machine-readable medium suitable for storing electronic instructions. Moreover, the present invention may also be downloaded as a computer program product, wherein the program may be transferred from a remote computer to a requesting computer.
  • Many of the methods are described in their most basic form, but processes can be added to or deleted from any of the methods and information can be added or subtracted from any of the described messages without departing from the basic scope of the present invention. It will be apparent to those skilled in the art that many further modifications and adaptations can be made. The particular embodiments are not provided to limit the invention but to illustrate it. The scope of the present invention is not to be determined by the specific examples provided above but only by the claims below.
  • It should also be appreciated that reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature may be included in the practice of the invention. Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims are hereby expressly incorporated into this description, with each claim standing on its own as a separate embodiment of this invention.

Claims (19)

1. A method for processing annotations in computer files comprising:
receiving a data stream input at a scanner component, the data stream input representing a plurality of program elements of one or more computer files;
scanning the data stream input for annotations;
generating a data stream comprising a plurality of annotated program elements and associated annotation values;
providing the annotated program elements and annotation values as input to a handler component, wherein the handler component performs one of the handling functions comprising:
filtering the annotated program elements and annotation values data, or
echoing the annotated program elements and annotation values; and
generating an output from the handler component.
2. The method of claim 1, wherein the output from the handler component is a data stream having the same format as the input to the handler component.
3. The method of claim 2, further comprising providing the output from the handler component as input to a second handler component.
4. The method of claim 1, wherein filtering the annotated program elements and annotation values further includes providing feedback regarding which annotations are desired.
5. The method of claim 1, wherein scanning the data stream input for annotations is based at least in part on the feedback regarding which annotations are desired.
6. The method of claim 1, wherein the output of the listening component is an echo of the input data to the listening component.
7. The method of claim 1, wherein the one or more computer files comprise Java class files.
8. An annotation processing system comprising:
a data scanning module, the data scanning module to receive a data stream input containing a plurality of program elements and to scan the data stream input to identify annotated data elements and annotation values; and
a data handler module, the data handler module to receive the identified annotated data elements and annotation values, the data handler module being one of the following:
a stream processing handler to filter annotations and to generate feedback to the data scanning module regarding annotations that are needed; or
an echo mechanism to echo the annotated data elements and annotation values.
9. The system of claim 8, further comprising a second data handler module, wherein an output of the data handler module is an input to the second data handler module.
10. The system of claim 9, wherein a format of the output of the data handler module is the same as the format of the input to the data handler module.
11. The system of claim 8, wherein the stream processing handler comprises one or more configurable parameters for a filter condition.
12. The system of claim 8, wherein the echo mechanism produces a text stream for a user.
13. The system of claim 7, wherein the echo mechanism produces text for external processing.
14. An article of manufacture comprising:
a computer-readable medium including instructions that, when accessed by a processor, cause the computer to perform operations comprising:
receiving a data stream input at a scanner component, the data stream input representing a plurality of program elements of one or more computer files;
scanning the data stream input for annotations;
generating a data stream comprising a plurality of annotated program elements and associated annotation values;
providing the annotated program elements and annotation values as input to a handler component, wherein the handler component performs one of the handling functions comprising:
filtering the annotated program elements and annotation values data, or
echoing the annotated program elements and annotation values; and
generating an output from the handler component.
15. The article of manufacture of claim 14, wherein the output from the listening component is a data stream having the same format as the input to the listening component.
16. The article of manufacture of claim 15, where the listening function of the listening component is either filtering the type definition and type usage data or aggregating the type usage data.
17. The article of manufacture of claim 15, wherein the medium further includes instructions that, when accessed by a processor, cause the computer to perform operations comprising:
providing the output from the listening component as input to a second listening component.
18. The article of manufacture of claim 14, wherein the output of the listening component is an echo of the input data to the listening component.
19. The article of manufacture of claim 14, wherein the one or more computer files comprise Java class files.
US12/184,924 2007-08-03 2008-08-01 Annotation data handlers for data stream processing Abandoned US20090037459A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/184,924 US20090037459A1 (en) 2007-08-03 2008-08-01 Annotation data handlers for data stream processing

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
US95396307P 2007-08-03 2007-08-03
US95396407P 2007-08-03 2007-08-03
US95393807P 2007-08-03 2007-08-03
US95393307P 2007-08-03 2007-08-03
US95393207P 2007-08-03 2007-08-03
US95393707P 2007-08-03 2007-08-03
US95393507P 2007-08-03 2007-08-03
US12/184,924 US20090037459A1 (en) 2007-08-03 2008-08-01 Annotation data handlers for data stream processing

Publications (1)

Publication Number Publication Date
US20090037459A1 true US20090037459A1 (en) 2009-02-05

Family

ID=40339046

Family Applications (8)

Application Number Title Priority Date Filing Date
US12/184,932 Active 2030-01-11 US8112388B2 (en) 2007-08-03 2008-08-01 Dependency processing of computer files
US12/184,911 Active 2031-04-08 US8954840B2 (en) 2007-08-03 2008-08-01 Annotation processing of computer files
US12/184,904 Abandoned US20090037386A1 (en) 2007-08-03 2008-08-01 Computer file processing
US12/184,938 Active 2031-03-03 US9092408B2 (en) 2007-08-03 2008-08-01 Data listeners for type dependency processing
US12/184,896 Active 2031-05-24 US8463724B2 (en) 2007-08-03 2008-08-01 Computer archive traversal
US12/184,915 Active 2031-05-20 US8806324B2 (en) 2007-08-03 2008-08-01 Annotation data filtering of computer files
US12/184,924 Abandoned US20090037459A1 (en) 2007-08-03 2008-08-01 Annotation data handlers for data stream processing
US14/617,570 Active 2031-04-06 US10509854B2 (en) 2007-08-03 2015-02-09 Annotation processing of computer files

Family Applications Before (6)

Application Number Title Priority Date Filing Date
US12/184,932 Active 2030-01-11 US8112388B2 (en) 2007-08-03 2008-08-01 Dependency processing of computer files
US12/184,911 Active 2031-04-08 US8954840B2 (en) 2007-08-03 2008-08-01 Annotation processing of computer files
US12/184,904 Abandoned US20090037386A1 (en) 2007-08-03 2008-08-01 Computer file processing
US12/184,938 Active 2031-03-03 US9092408B2 (en) 2007-08-03 2008-08-01 Data listeners for type dependency processing
US12/184,896 Active 2031-05-24 US8463724B2 (en) 2007-08-03 2008-08-01 Computer archive traversal
US12/184,915 Active 2031-05-20 US8806324B2 (en) 2007-08-03 2008-08-01 Annotation data filtering of computer files

Family Applications After (1)

Application Number Title Priority Date Filing Date
US14/617,570 Active 2031-04-06 US10509854B2 (en) 2007-08-03 2015-02-09 Annotation processing of computer files

Country Status (1)

Country Link
US (8) US8112388B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037804A1 (en) * 2007-08-03 2009-02-05 Dietmar Theobald Annotation processing of computer files
US20110138264A1 (en) * 2009-12-07 2011-06-09 Graham Robert Cormode Verification Of Data Stream Computations Using Third-Party-Supplied Annotations
US20140325474A1 (en) * 2013-04-30 2014-10-30 Wal-Mart Stores, Inc. Annotation-Based Item Description
US20150301812A1 (en) * 2014-04-22 2015-10-22 Oracle International Corporation Metadata-driven Dynamic Specialization

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7779347B2 (en) * 2005-09-02 2010-08-17 Fourteen40, Inc. Systems and methods for collaboratively annotating electronic documents
US8214794B2 (en) * 2008-03-06 2012-07-03 International Business Machines Corporation Populating information contained in java annotations into existing EMF models
US8271942B2 (en) * 2008-05-06 2012-09-18 International Business Machines Corporation Defining a single annotation model
US8972355B1 (en) * 2009-08-31 2015-03-03 Symantec Corporation Systems and methods for archiving related items
US9959326B2 (en) 2011-03-23 2018-05-01 International Business Machines Corporation Annotating schema elements based on associating data instances with knowledge base entities
US9746844B2 (en) 2011-04-01 2017-08-29 Siemens Aktiengesellschaft Methods and apparatus for a file system on a programmable logic controller
US9223769B2 (en) 2011-09-21 2015-12-29 Roman Tsibulevskiy Data processing systems, devices, and methods for content analysis
US9569441B2 (en) 2013-10-09 2017-02-14 Sap Se Archival of objects and dynamic search
CN106716372B (en) * 2014-09-16 2018-08-24 三菱电机株式会社 Programmable logic controller (PLC)
US11055672B2 (en) * 2014-10-31 2021-07-06 Kimberly-Clark Worldwide, Inc. Disposable product quantification and management
WO2016126729A1 (en) 2015-02-03 2016-08-11 Visa International Service Association Validation identity tokens for transactions
US20190102841A1 (en) * 2017-10-04 2019-04-04 Servicenow, Inc. Mapping engine configurations with task managed workflows and grid user interfaces
US10970301B2 (en) 2017-12-27 2021-04-06 Sap Se Keyfigure comments bound to database level persistence
CN112965748B (en) * 2021-04-08 2022-04-15 武汉众邦银行股份有限公司 Configurable method for automatically adding code annotation

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275223B1 (en) * 1998-07-08 2001-08-14 Nortel Networks Limited Interactive on line code inspection process and tool
US6356946B1 (en) * 1998-09-02 2002-03-12 Sybase Inc. System and method for serializing Java objects in a tubular data stream
US6567815B1 (en) * 2000-08-01 2003-05-20 International Business Machines Corporation Technique of clustering and compaction of binary trees
US6694323B2 (en) * 2002-04-25 2004-02-17 Sybase, Inc. System and methodology for providing compact B-Tree
US20040093329A1 (en) * 2001-02-01 2004-05-13 Axel Von Bergen Database system and query optimiser
US20040249805A1 (en) * 2003-06-04 2004-12-09 Alexey Chuvilskiy Method of sorting and indexing of complex data
US20040267732A1 (en) * 2003-05-01 2004-12-30 Luk Robert Wing Pong Data structure and system for IP address lookup and IP address lookup system
US20050033740A1 (en) * 2000-05-22 2005-02-10 Broadcom Corporation Method and apparatus for performing a binary search on an expanded tree
US6856993B1 (en) * 2000-03-30 2005-02-15 Microsoft Corporation Transactional file system
US20050131867A1 (en) * 2003-12-10 2005-06-16 Alcatel Parallel asymmetric binary search on lengths
US20050216445A1 (en) * 2004-03-26 2005-09-29 Sumita Rao Binary search tree system and method

Family Cites Families (161)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4760523A (en) * 1984-06-29 1988-07-26 Trw Inc. Fast search processor
US4689675A (en) * 1985-05-23 1987-08-25 Advanced Systems Development, Inc. Digital scan converter and method therefor
US4945475A (en) * 1986-10-30 1990-07-31 Apple Computer, Inc. Hierarchical file system to provide cataloging and retrieval of data
US5045853A (en) * 1987-06-17 1991-09-03 Intel Corporation Method and apparatus for statistically encoding digital data
JPH04186447A (en) * 1990-11-21 1992-07-03 Canon Inc Directory management system
US5487147A (en) * 1991-09-05 1996-01-23 International Business Machines Corporation Generation of error messages and error recovery for an LL(1) parser
US5483624A (en) * 1992-03-27 1996-01-09 Monarch Marking Systems, Inc. Programmable hand held labeler
JPH0630263A (en) * 1992-07-13 1994-02-04 Mita Ind Co Ltd Color image processing circuit
US5675708A (en) * 1993-12-22 1997-10-07 International Business Machines Corporation Audio media boundary traversal method and apparatus
US7387253B1 (en) * 1996-09-03 2008-06-17 Hand Held Products, Inc. Optical reader system comprising local host processor and optical reader
US6888998B1 (en) * 1994-11-28 2005-05-03 Sony Corporation Data recording and reproducing apparatus having a data transferring device for selectively transferring data between multiple data recording and reproducing devices
US5721545A (en) * 1995-10-23 1998-02-24 Poplevine; Pavel B. Methods and apparatus for serial-to-parallel and parallel-to-serial conversion
US5815717A (en) * 1995-10-27 1998-09-29 Authorgenics, Inc. Application program and documentation generator system and method
US5761510A (en) * 1995-11-07 1998-06-02 Microsoft Corporation Method for error identification in a program interface
CA2175711A1 (en) * 1996-05-01 1997-11-02 Lee Richard Nackman Incremental compilation of c++ programs
US5907703A (en) * 1996-05-08 1999-05-25 Mijenix Corporation Device driver for accessing computer files
US20020049650A1 (en) * 1996-10-16 2002-04-25 Reff Albert A. Method and apparatus for providing inventory control of medical objects
US5999729A (en) * 1997-03-06 1999-12-07 Continuum Software, Inc. System and method for developing computer programs for execution on parallel processing systems
US6173317B1 (en) * 1997-03-14 2001-01-09 Microsoft Corporation Streaming and displaying a video stream with synchronized annotations over a computer network
US6097834A (en) * 1997-06-13 2000-08-01 Paystation America Inc. Financial transaction processing systems and methods
US6088747A (en) * 1998-02-20 2000-07-11 Unisys Corp System for reformatting and burning of data files having a first format onto a compact disk to be utilized in a network using different format
US6915271B1 (en) * 1998-03-11 2005-07-05 The Product Engine, Inc. Method and system for delivering redeeming dynamically and adaptively characterized promotional incentives on a computer network
US6311221B1 (en) * 1998-07-22 2001-10-30 Appstream Inc. Streaming modules
US6725260B1 (en) * 1998-09-11 2004-04-20 L.V. Partners, L.P. Method and apparatus for configuring configurable equipment with configuration information received from a remote location
US6298353B1 (en) * 1998-11-19 2001-10-02 International Business Machines Corporation Checking serialization compatibility between versions of java classes
US6510156B1 (en) * 1998-12-07 2003-01-21 Cisco Technology, Inc. Method and apparatus for data stream optimization
US6463352B1 (en) * 1999-01-21 2002-10-08 Amada Cutting Technologies, Inc. System for management of cutting machines
US6438559B1 (en) * 1999-04-02 2002-08-20 Sybase, Inc. System and method for improved serialization of Java objects
JP2000305796A (en) * 1999-04-22 2000-11-02 Hitachi Ltd Method for transferring job between electronic computers and its system
IL131282A (en) * 1999-08-05 2009-02-11 Orbotech Ltd Apparatus and methods for inspection of objects
US6339832B1 (en) * 1999-08-31 2002-01-15 Accenture Llp Exception response table in environment services patterns
US6427149B1 (en) * 1999-09-09 2002-07-30 Herman Rodriguez Remote access of archived compressed data files
US6353925B1 (en) * 1999-09-22 2002-03-05 Compaq Computer Corporation System and method for lexing and parsing program annotations
US6519603B1 (en) * 1999-10-28 2003-02-11 International Business Machine Corporation Method and system for organizing an annotation structure and for querying data and annotations
US7574351B2 (en) * 1999-12-14 2009-08-11 Texas Instruments Incorporated Arranging CELP information of one frame in a second packet
JP2001184187A (en) * 1999-12-24 2001-07-06 Minolta Co Ltd Information display device
US6502100B1 (en) * 1999-12-30 2002-12-31 Nokia Corporation Method and apparatus for acquiring and storing data in association with a mode annotation
GB2360609A (en) * 2000-03-22 2001-09-26 Ibm Dynamically generating expanded user messages in a computer system
US7055095B1 (en) * 2000-04-14 2006-05-30 Picsel Research Limited Systems and methods for digital document processing
US6675375B1 (en) * 2000-04-28 2004-01-06 Sun Microsystems, Inc. Method and apparatus for optimized multiprocessing in a safe language
GB2365554B (en) * 2000-05-31 2004-09-01 Ibm Virtual machine support for multiple aplications
US7487112B2 (en) * 2000-06-29 2009-02-03 Barnes Jr Melvin L System, method, and computer program product for providing location based services and mobile e-commerce
US6356815B1 (en) * 2000-08-25 2002-03-12 Hughes Electronics Corporation Stellar attitude-control systems and methods with weighted measurement-noise covariance matrices
US20020188597A1 (en) * 2000-09-01 2002-12-12 Jonathan Kern Methods and systems for linking tasks to workflow
US7165175B1 (en) * 2000-09-06 2007-01-16 Widevine Technologies, Inc. Apparatus, system and method for selectively encrypting different portions of data sent over a network
JP2002132556A (en) * 2000-10-30 2002-05-10 Minolta Co Ltd Apparatus of file control, method thereof and computer readable record medium recording program thereof
US20020059348A1 (en) * 2000-11-14 2002-05-16 Cypress Semiconductor Corp. Automatic documentation generation tool and associated method
EP1244310A1 (en) * 2001-03-21 2002-09-25 Canal+ Technologies Société Anonyme Data referencing system
US20020178439A1 (en) * 2001-04-02 2002-11-28 Rich L. Scott Method and system for providing a programming interface for loading and saving archives in enterprise applications
US6944619B2 (en) * 2001-04-12 2005-09-13 Primentia, Inc. System and method for organizing data
WO2002087235A1 (en) * 2001-04-19 2002-10-31 Vividon, Inc. System for applying metric to multimedia files over network
US7049995B2 (en) * 2001-06-01 2006-05-23 Thomson Licensing Method and apparatus for remote control transmission
US7171422B2 (en) * 2001-06-02 2007-01-30 Iona Technologies Caching system for nested archives
MXPA03011976A (en) * 2001-06-22 2005-07-01 Nervana Inc System and method for knowledge retrieval, management, delivery and presentation.
US6718338B2 (en) * 2001-06-26 2004-04-06 International Business Machines Corporation Storing data mining clustering results in a relational database for querying and reporting
US20030014529A1 (en) * 2001-07-12 2003-01-16 Simpson Shell Sterling Mediated access to production device options in a distributed environment
US20030035371A1 (en) * 2001-07-31 2003-02-20 Coke Reed Means and apparatus for a scaleable congestion free switching system with intelligent control
US6845373B2 (en) * 2001-08-14 2005-01-18 Wind River Systems, Inc. Text stream filter
US20030069948A1 (en) * 2001-10-05 2003-04-10 Donghai Ma Automated online subscription
US7386472B1 (en) * 2001-12-10 2008-06-10 Ncr Corporation Self-checkout terminal
US7225204B2 (en) * 2002-03-19 2007-05-29 Network Appliance, Inc. System and method for asynchronous mirroring of snapshots at a destination using a purgatory directory and inode mapping
US7039663B1 (en) * 2002-04-19 2006-05-02 Network Appliance, Inc. System and method for checkpointing and restarting an asynchronous transfer of data between a source and destination snapshot
US20050182824A1 (en) * 2002-04-30 2005-08-18 Pierre-Alain Cotte Communications web site
US8611919B2 (en) * 2002-05-23 2013-12-17 Wounder Gmbh., Llc System, method, and computer program product for providing location based services and mobile e-commerce
US7721202B2 (en) * 2002-08-16 2010-05-18 Open Invention Network, Llc XML streaming transformer
US7203631B2 (en) * 2002-09-09 2007-04-10 Intel Corporation System and method to analyze VLSI designs
DE10245530B4 (en) * 2002-09-30 2006-04-27 OCé PRINTING SYSTEMS GMBH Method, software product and computer for generating an IPDS data stream
JP3880504B2 (en) * 2002-10-28 2007-02-14 インターナショナル・ビジネス・マシーンズ・コーポレーション Structured / hierarchical content processing apparatus, structured / hierarchical content processing method, and program
US7503034B2 (en) * 2002-10-31 2009-03-10 International Business Machines Corporation Method and system for dynamically mapping archive files in an enterprise application
EP1570392A4 (en) * 2002-11-08 2006-09-27 Arbitration Forums Inc A system and process for electronic subrogation, inter-organization workflow management, inter-organization transaction processing and optimized web-baser user interaction
US7707544B2 (en) * 2002-12-05 2010-04-27 Bea Systems, Inc. System and method for generating and reusing software application code with source definition files
US20040117673A1 (en) * 2002-12-17 2004-06-17 Tawfik Arabi Method and apparatus to provide platform load lines
KR100490734B1 (en) * 2002-12-21 2005-05-24 한국전자통신연구원 Annotation-based automatic document generation apparatus and method
US7185071B2 (en) * 2002-12-24 2007-02-27 International Business Machines Corporation Self-healing version and configuration model for an application server
US8292811B2 (en) * 2003-03-20 2012-10-23 Siemens Medical Solutions Usa, Inc. Advanced application framework system and method for use with a diagnostic medical ultrasound streaming application
US7552384B2 (en) * 2003-03-27 2009-06-23 International Business Machines Corporation Systems and method for optimizing tag based protocol stream parsing
JP2005018734A (en) * 2003-04-30 2005-01-20 Seiko Epson Corp File management method and device, and annotation information generation method and device
US7523221B2 (en) * 2003-05-17 2009-04-21 Microsoft Corporation Mechanism for applying transforms to multi-part files
US7823139B2 (en) * 2003-07-19 2010-10-26 Bea Systems, Inc. Method and system for translating programming languages
WO2005013491A2 (en) * 2003-07-21 2005-02-10 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Audio file format conversion
KR20050019240A (en) * 2003-08-18 2005-03-03 삼성전자주식회사 Controlling Method of Network System
US7873645B2 (en) * 2003-09-05 2011-01-18 Oracle International Corporation Method and mechanism for handling arbitrarily-sized XML in SQL operator tree
US20050060692A1 (en) * 2003-09-16 2005-03-17 Nikolai Mansourov Method and apparatus for reducing time to generate a build for a software product from source-files
US7900133B2 (en) * 2003-12-09 2011-03-01 International Business Machines Corporation Annotation structure type determination
US20050160427A1 (en) * 2003-12-16 2005-07-21 Eric Ustaris System and method for managing log files
US8021301B2 (en) * 2003-12-26 2011-09-20 Fujifilm Corporation Ultrasonic image processing apparatus, ultrasonic image processing method and ultrasonic image processing program
JP4581404B2 (en) * 2004-01-06 2010-11-17 富士ゼロックス株式会社 Information processing apparatus and information processing program
US20050154679A1 (en) * 2004-01-08 2005-07-14 Stanley Bielak System for inserting interactive media within a presentation
US7243110B2 (en) * 2004-02-20 2007-07-10 Sand Technology Inc. Searchable archive
US7788657B2 (en) * 2004-02-27 2010-08-31 Tvworks, Llc Targeted runtime compilation
US7685327B1 (en) * 2004-03-19 2010-03-23 Xilinx, Inc. Identification of multi-device systems
SE0400998D0 (en) * 2004-04-16 2004-04-16 Cooding Technologies Sweden Ab Method for representing multi-channel audio signals
US20050238260A1 (en) * 2004-04-16 2005-10-27 Dave Coleman Image and optical mark scanner with encryption
JP4336613B2 (en) * 2004-04-28 2009-09-30 キヤノン株式会社 Image forming apparatus, data processing method, computer-readable storage medium storing program, and program
US20050254714A1 (en) * 2004-05-13 2005-11-17 Ramakrishna Anne Systems and methods for data transfer with camera-enabled devices
US20050262119A1 (en) * 2004-05-24 2005-11-24 Gary Mawdsley Data processing systems and methods
KR20050118567A (en) * 2004-06-14 2005-12-19 삼성전자주식회사 Display apparatus and display system using thereof
US20050289505A1 (en) * 2004-06-25 2005-12-29 Williams Stanley N Method and system for improving performance and scalability of applications that utilize a flow-based-programming methodology
US7379047B2 (en) * 2004-06-30 2008-05-27 Microsoft Corporation Using a physical object to control an attribute of an interactive display application
US7539975B2 (en) * 2004-06-30 2009-05-26 International Business Machines Corporation Method, system and product for determining standard Java objects
JP2006059319A (en) * 2004-07-21 2006-03-02 Ricoh Co Ltd Information processor, program, and recording medium
US7634092B2 (en) * 2004-10-14 2009-12-15 Dolby Laboratories Licensing Corporation Head related transfer functions for panned stereo audio content
US7882149B2 (en) * 2004-11-30 2011-02-01 Canon Kabushiki Kaisha System and method for future-proofing devices using metaschema
US7562342B2 (en) * 2004-12-02 2009-07-14 International Business Machines Corporation Method and apparatus for incrementally processing program annotations
MY135555A (en) * 2004-12-14 2008-05-30 Axiomatic Solutions Sdn Bhd Compile time linking via hashing technique
US20060143028A1 (en) * 2004-12-23 2006-06-29 Jorn Altmann Network analysis system and method using business value
US20060143027A1 (en) * 2004-12-23 2006-06-29 Srinivasan Jagannathan Network usage analysis system using subscriber and pricing information to minimize customer churn and method
US7831728B2 (en) * 2005-01-14 2010-11-09 Citrix Systems, Inc. Methods and systems for real-time seeking during real-time playback of a presentation layer protocol data stream
JP2006215954A (en) 2005-02-07 2006-08-17 Hitachi Ltd Storage system and archive management method for storage system
US7363317B2 (en) * 2005-02-15 2008-04-22 International Business Machines Corporation Memory efficient XML shredding with partial commit
US7650346B2 (en) * 2005-04-01 2010-01-19 Microsoft Corporation User-defined type consistency checker
US8438468B2 (en) * 2005-04-15 2013-05-07 International Business Machines Corporation Annotation management
JP4374548B2 (en) * 2005-04-15 2009-12-02 ソニー株式会社 Decoding device and method, recording medium, and program
US7672979B1 (en) * 2005-04-22 2010-03-02 Symantec Operating Corporation Backup and restore techniques using inconsistent state indicators
US7565364B1 (en) * 2005-05-24 2009-07-21 Sun Microsystems, Inc. Annotation processor discovery
US7499956B1 (en) * 2005-05-24 2009-03-03 Sun Microsystems, Inc. Annotation processing from source files and class files
US7941522B2 (en) * 2005-07-01 2011-05-10 Microsoft Corporation Application security in an interactive media environment
US8156500B2 (en) * 2005-07-01 2012-04-10 Microsoft Corporation Real-time self tuning of planned actions in a distributed environment
US8141036B2 (en) * 2005-07-07 2012-03-20 Oracle International Corporation Customized annotation editing
JP4285457B2 (en) * 2005-07-20 2009-06-24 ソニー株式会社 Sound field measuring apparatus and sound field measuring method
US7921138B2 (en) * 2005-09-12 2011-04-05 Microsoft Corporation Comment processing
US7814328B1 (en) * 2005-09-12 2010-10-12 Microsoft Corporation Digital signatures for embedded code
EP1961204A1 (en) * 2005-09-27 2008-08-27 Yamaha Corporation Feedback sound eliminating apparatus
US7716445B2 (en) * 2005-11-04 2010-05-11 Oracle America, Inc. Method and system for storing a sparse file using fill counts
US20070136492A1 (en) * 2005-12-08 2007-06-14 Good Technology, Inc. Method and system for compressing/decompressing data for communication with wireless devices
EP1960909B1 (en) * 2005-12-14 2011-09-28 International Business Machines Corporation A method, system, and computer program product for efficiently serializing navigational state in a portal
US20070153731A1 (en) * 2006-01-05 2007-07-05 Nadav Fine Varying size coefficients in a wireless local area network return channel
RU2453986C2 (en) * 2006-01-27 2012-06-20 Долби Интернэшнл Аб Efficient filtering with complex modulated filterbank
US20070183688A1 (en) * 2006-02-03 2007-08-09 Gary Hollfelder Data management system and method
JP5167589B2 (en) * 2006-02-13 2013-03-21 富士通株式会社 Application server device and virtual machine program
US20070214384A1 (en) * 2006-03-07 2007-09-13 Manabu Kitamura Method for backing up data in a clustered file system
US7552099B2 (en) * 2006-03-10 2009-06-23 International Business Machines Corporation System and method for indexing a data stream
JP2007251549A (en) * 2006-03-15 2007-09-27 Fujifilm Corp Network printing equipment
US7966602B1 (en) * 2006-03-16 2011-06-21 Oracle America, Inc. Incremental modification detector, and methods, systems, and apparatus for implementing the same
US8806012B2 (en) * 2006-03-31 2014-08-12 Intel Corporation Managing traffic flow on a network path
EP2011037A1 (en) * 2006-04-11 2009-01-07 ITI Scotland Limited Information extraction methods and apparatus including a computer-user interface
US20070253561A1 (en) * 2006-04-27 2007-11-01 Tsp Systems, Inc. Systems and methods for audio enhancement
US7962755B2 (en) * 2006-04-28 2011-06-14 Ceelox, Inc. System and method for biometrically secured, transparent encryption and decryption
US7668812B1 (en) * 2006-05-09 2010-02-23 Google Inc. Filtering search results using annotations
US9460064B2 (en) * 2006-05-18 2016-10-04 Oracle International Corporation Efficient piece-wise updates of binary encoded XML data
US7668721B2 (en) * 2006-05-22 2010-02-23 Microsoft Corporation Indexing and strong verbal content
US20080013540A1 (en) * 2006-07-11 2008-01-17 Matthew Stuart Gast System and method for selective delivery of media streams
US20080091451A1 (en) * 2006-07-12 2008-04-17 Crystal Jack C Methods and systems for compliance confirmation and incentives
US8495586B2 (en) * 2006-08-24 2013-07-23 Software Analysis and Forensic Engineering Software for filtering the results of a software source code comparison
US8589869B2 (en) * 2006-09-07 2013-11-19 Wolfram Alpha Llc Methods and systems for determining a formula
US20080112564A1 (en) * 2006-11-15 2008-05-15 Jeff Eric Vanderstraeten Image and optical mark scanner with encryption
US9367553B2 (en) * 2006-12-30 2016-06-14 Sap Se Computer file system traversal
US8468244B2 (en) * 2007-01-05 2013-06-18 Digital Doors, Inc. Digital information infrastructure and method for security designated data and with granular data stores
US8655939B2 (en) * 2007-01-05 2014-02-18 Digital Doors, Inc. Electromagnetic pulse (EMP) hardened information infrastructure with extractor, cloud dispersal, secure storage, content analysis and classification and method therefor
US7904529B2 (en) * 2007-02-23 2011-03-08 International Business Machines Corporation Method and system for transmitting and recording synchronized data streams
EP1970824A1 (en) * 2007-03-15 2008-09-17 Magix Ag System and method for creation of automated content dependent procedures in an online environment
US9471282B2 (en) * 2007-03-21 2016-10-18 Ca, Inc. System and method for using annotations to automatically generate a framework for a custom javaserver faces (JSF) component
US8667471B2 (en) * 2007-03-30 2014-03-04 Sap Ag Method and system for customizing profiling sessions
US20080307240A1 (en) * 2007-06-08 2008-12-11 Texas Instruments Incorporated Power management electronic circuits, systems, and methods and processes of manufacture
US9438860B2 (en) * 2007-06-26 2016-09-06 Verizon Patent And Licensing Inc. Method and system for filtering advertisements in a media stream
US7925645B2 (en) * 2007-07-19 2011-04-12 Microsoft Corporation Dynamic metadata filtering for classifier prediction
US8112388B2 (en) * 2007-08-03 2012-02-07 Sap Ag Dependency processing of computer files
US8214794B2 (en) * 2008-03-06 2012-07-03 International Business Machines Corporation Populating information contained in java annotations into existing EMF models
US8209665B2 (en) * 2008-04-08 2012-06-26 Infosys Limited Identification of topics in source code
US8239340B2 (en) * 2008-04-11 2012-08-07 Trevor Hanson Message conduit systems with algorithmic data stream control and methods for processing thereof
US8271942B2 (en) * 2008-05-06 2012-09-18 International Business Machines Corporation Defining a single annotation model

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275223B1 (en) * 1998-07-08 2001-08-14 Nortel Networks Limited Interactive on line code inspection process and tool
US6356946B1 (en) * 1998-09-02 2002-03-12 Sybase Inc. System and method for serializing Java objects in a tubular data stream
US6856993B1 (en) * 2000-03-30 2005-02-15 Microsoft Corporation Transactional file system
US20050033740A1 (en) * 2000-05-22 2005-02-10 Broadcom Corporation Method and apparatus for performing a binary search on an expanded tree
US6567815B1 (en) * 2000-08-01 2003-05-20 International Business Machines Corporation Technique of clustering and compaction of binary trees
US20040093329A1 (en) * 2001-02-01 2004-05-13 Axel Von Bergen Database system and query optimiser
US6694323B2 (en) * 2002-04-25 2004-02-17 Sybase, Inc. System and methodology for providing compact B-Tree
US20040267732A1 (en) * 2003-05-01 2004-12-30 Luk Robert Wing Pong Data structure and system for IP address lookup and IP address lookup system
US20040249805A1 (en) * 2003-06-04 2004-12-09 Alexey Chuvilskiy Method of sorting and indexing of complex data
US20050131867A1 (en) * 2003-12-10 2005-06-16 Alcatel Parallel asymmetric binary search on lengths
US20050216445A1 (en) * 2004-03-26 2005-09-29 Sumita Rao Binary search tree system and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037804A1 (en) * 2007-08-03 2009-02-05 Dietmar Theobald Annotation processing of computer files
US8954840B2 (en) 2007-08-03 2015-02-10 Sap Se Annotation processing of computer files
US10509854B2 (en) 2007-08-03 2019-12-17 Sap Se Annotation processing of computer files
US20110138264A1 (en) * 2009-12-07 2011-06-09 Graham Robert Cormode Verification Of Data Stream Computations Using Third-Party-Supplied Annotations
US8799754B2 (en) 2009-12-07 2014-08-05 At&T Intellectual Property I, L.P. Verification of data stream computations using third-party-supplied annotations
US20140325474A1 (en) * 2013-04-30 2014-10-30 Wal-Mart Stores, Inc. Annotation-Based Item Description
US9684491B2 (en) * 2013-04-30 2017-06-20 Wal-Mart Stores, Inc. Annotation-based item description
US20150301812A1 (en) * 2014-04-22 2015-10-22 Oracle International Corporation Metadata-driven Dynamic Specialization
US9785456B2 (en) * 2014-04-22 2017-10-10 Oracle International Corporation Metadata-driven dynamic specialization

Also Published As

Publication number Publication date
US20090037478A1 (en) 2009-02-05
US20090037357A1 (en) 2009-02-05
US8463724B2 (en) 2013-06-11
US8112388B2 (en) 2012-02-07
US9092408B2 (en) 2015-07-28
US20150154169A1 (en) 2015-06-04
US8954840B2 (en) 2015-02-10
US20090037804A1 (en) 2009-02-05
US20090037386A1 (en) 2009-02-05
US10509854B2 (en) 2019-12-17
US20090037805A1 (en) 2009-02-05
US20090037577A1 (en) 2009-02-05
US8806324B2 (en) 2014-08-12

Similar Documents

Publication Publication Date Title
US10509854B2 (en) Annotation processing of computer files
US7603658B2 (en) Application functionality for a test tool for application programming interfaces
US7174533B2 (en) Method, system, and program for translating a class schema in a source language to a target language
US20190129734A1 (en) Data collection workflow extension
US8997070B2 (en) Extension mechanism for scripting language compiler
US8005878B2 (en) Providing processing instructions for updating schema
US8924944B2 (en) Implementation of distributed methods that support generic functions
US9043757B2 (en) Identifying differences between source codes of different versions of a software when each source code is organized using incorporated files
US8806357B2 (en) Plug-ins for editing templates in a business management system
US20100162225A1 (en) Cross-product refactoring apparatus and method
US8645913B2 (en) Web-service based generation of business objects
Pagán et al. Querying large models efficiently
CA2412383A1 (en) Meta-model for associating multiple physical representations of logically equivalent entities in messaging and other applications
CA2759618A1 (en) System and method for processing xml documents
US20070050760A1 (en) Generation of application specific xml parsers using jar files with package paths that match the xml xpaths
US8131776B2 (en) Automated migration of translation maps for use in exchanging documents between entities
CN109284222B (en) Software unit, project testing method, device and equipment in data processing system
US10635416B2 (en) Property filtering
CN111475150B (en) Cross-language binding method, device, equipment and storage medium
Richard et al. PluginPlay: Enabling exascale scientific software one module at a time
US9720660B2 (en) Binary interface instrumentation
AU3899900A (en) Generating optimized computer data field conversion routines
Alonso et al. CS Adaptability Container
CN116301781A (en) Software development system and software development method
CN116340167A (en) Parameter injection application program method, system, computer and storage medium

Legal Events

Date Code Title Description
AS Assignment

Owner name: SAP AG, GERMANY

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:THEOBALD, DIETMAR;REEL/FRAME:021334/0433

Effective date: 20080801

AS Assignment

Owner name: SAP SE, GERMANY

Free format text: CHANGE OF NAME;ASSIGNOR:SAP AG;REEL/FRAME:033625/0223

Effective date: 20140707

STCB Information on status: application discontinuation

Free format text: ABANDONED -- AFTER EXAMINER'S ANSWER OR BOARD OF APPEALS DECISION