XML PAYLOAD SPECIFICATION FOR MODELING EDI SCHEMAS
BACKGROUND [0001] Electronic data interchange (EDI) is one of the ways businesses use for exchanging computer-to-computer business information based on approved formatting standards and schemas. For example, millions of companies around the world transmit data associated with business transactions (e.g., purchase orders, shipping/air bills, invoices, or the like) using EDI to conduct commerce. [0002] In a typical EDI transaction model, a large business entity or an EDI integration broker trades with numerous partners and has the technical capability to handle numerous EDI transaction data in various EDI formats and schemas. These entities, also known as "hubs," transact with one or more suppliers, also known as "spokes". Each of the spokes typically is a relatively small business entity that is only capable of dealing with one hub. [0003] Before the spokes attempt to initiate transactions via EDI with the hub, the hub typically transmits various EDI schemas to the spokes so that the spokes may properly format the EDI transactions according to the EDI schemas. Currently, EDI schemas are large in size and the file size for each EDI schema typically ranges from 1 MB to 3 MB. In addition, the hub or large trading partners customarily transmit a large amount of schemas to the spokes, without taking into considerations of the spokes' lack of hardware capability. As such, thousands of such schemas, which may occupy several Gigabytes in bandwidth during transmission, are transmitted from the hub to the spokes. [0004] In addition to transmitting a large amount of schemas which consume the spokes' transmission bandwidth, related systems or techniques define EDI schemas using a linear or flat file-based to represent EDI schemas. These types or models of
representation, while having a simple composition, do not have the full capability to represent additional and sometimes have critical information associated with EDI schemas. As such, the spokes and the hub alike may not maximize the full benefit of the convenience of EDI transactions.
SUMMARY
[0005] Embodiments of the invention enhance the previous approaches and practices of representing EDI schemas by describing a structured EDI documents using extensible Markup Language (XML) configurations. By modeling an EDI payload as XML payload during runtime, embodiments of the invention reduce the time in developing schemas and transformation maps. In addition, alternative embodiments generate annotations in the XML EDI schemas including information associated with a plurality of validation rules that exists in the EDI data. [0006] This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter. [0007] Other features will be in part apparent and in part pointed out hereinafter.
BRIEF DESCRIPTION OF THE DRAWINGS
[0008] FIG. 1 is a block diagram illustrating a system for conducting electronic data interchange (EDI) transactions according to an embodiment of the invention. [0009] FIG. 2 is a block diagram illustrating a structured EDI schema using XML according to an embodiment of the invention.
[0010] FIG. 3 is a diagram illustrating a XML schema embodying aspects of the invention.
[0011] FIG. 4 is a block diagram illustrating an exemplary computer-readable medium on which aspects of the invention may be stored. [0012] FIG. 5 is an exemplary flow chart illustrating operations of modeling an EDI document using extensible Markup Language (XML) at runtime. [0013] FIG. 6 is a block diagram illustrating one example of a suitable computing system environment in which the invention may be implemented.
[0014] Corresponding reference characters indicate corresponding parts throughout the drawings.
DETAILED DESCRIPTION
[0015] Referring first to FIG. 1, a block diagram illustrates a system 100 for conducting electronic data interchange (EDI) transactions according to an embodiment of the invention. The system 100 includes a hub 102 linked to and communicating with one or more spokes 104. In one embodiment, the hub 102 includes a server computer or a computing device serving one or more processors (e.g., processor 106) or processing units for executing computer-executable instructions for serving the spokes 104. In one example, the spokes 104 include a computing device having one or more components included in or coupled with a computer 130, as shown in FIG. 6.
[0016] In one example, the hub 102 also includes a memory area 108 for storing one or more EDI schemas, such as an EDI schema 110. Initially, the hub 102 and the spokes 104 establish agreements as to the EDI formats or standards to be used for transmitting transaction data therebetween. Once the parties determine the particular EDI formats or standards to use, the hub 102 selects the appropriate EDI schemas to be transmitted to the
spokes 104. In another example, the hub 102 may choose to select all EDI schemas for all types of transactions, such as purchase orders, bills of lading, invoices, payrolls, or the like, to the spokes 104. Although the communications between the hub 102 and the spokes 104 can be a private or public communications network, a wired or wireless network;, the spokes 104 typically lack the hardware resources to handle large amount of EDI schemas sent from the hub 102. In addition, the type and bandwidth of computing network communications for the spokes 104 are not equipped to handle such demand imposed by the thousands of EDI schemas, which can reach several Gigabytes in data size. [0017] Referring now to FIG. 2, a block diagram illustrates a structured EDI schema using XML according to an embodiment of the invention. As discussed above, related practices would represent EDI schema using a simplified, linear, or flat configuration. Table 1 illustrates three EDI transactions in a structured EDI schema embodying aspects of the invention in the left column and the corresponding three transactions in the traditional EDI representation:
Table 1 : Three EDI transactions in a structure (left column) and in three EDI documents (right column)
[0018] As illustrated, the flat EDI schema uses more characters and thus occupies more data size than a structured EDI schema in the left column. In one embodiment, the structure of EDI schemas is represented using XML which enables faster processing during runtime and easy configuring, editing, and modifying by users using known XML editing tools.
[0019] In one example, an EDI schema is identified by a DocType, which may include a combination of namespace and root node name. In one example, DocType is defined as
TargetNamespace '#' RootNodeName. In the example where X 12 standard is used, Xl 2 schemas use the following format:
X12 Schemas = X12_{Version}_{TsId}, which indicates that: 1). all Xl 2 schemas have a root node name that starts with X12;
2). "Version" represents the version information of the document, and it is a dynamic piece of information which is configuration or instance driven; and
3). "TsId" stands for "transaction ED" of the document being processed and is always read from the input instance. [0020] As another example, another well-known standard, EDEFACT, includes the following format for representing the EDEFACT schemas:
EDEFACT Schemas = Efact_{Version}_{Tsid}, which indicates that:
1). all EDEFACT schemas have root node name that starts with Efact; 2). " Version" represents the version information of the document, and it is a dynamic piece of information which is configuration or instance driven; and
3). "TsId" stands for "transaction ID" of the document being processed and is always read from the input instance.
[0021] As shown in FIG. 2, an EDI schema 202 in a structural overview may include one or more root nodes 204. Each root node 204 includes a sequence of loops 206 and segments 208 as children. Loops 206 may include one or more nested sub-loops 210 or sub-segments 212.
[0022] Similarly, the segment 208 may include one or more component data elements 214 and data elements 216. In one embodiment, an XML payload schema representing an EDI schema may possess the following structure: 1. Schema -> RootNode
2. RootNode -> (Block)+
3. Block -> Segment | Loop
4. Loop -> (Block)+
5. Segment -> (DataElement)+, RuleSet 6. DataElement -> SimpleField I CompositeField
7. SimpleField -> data
8. CompositeField -> (data)+
9. RuleSet -> (RuIe)+ | BlankRuleSet
10. Rule -> PairedRule | RequiredRule | ExclusionRule | ConditionalRule | ListRule. [0023] In one embodiment, in modeling the EDI schemas using XML, a plurality of schema rules are applied to onfigure the XML schema. For example, the plurality of rules may include:
1. One or more elements (e.g., loop, segment, or the like) are at each level with no attributes.
W 2
2. Every ComplexType would use 'sequence' compositor. In one example, the ComplexType is a construct for modeling hierarchical data entities. Each ComplexType ' may use "sequence", "choice" or "any" compositor to group its children, and each compositor may be used according to the following: a) Sequence - the children should occur in a specific order within an XML instance b) Choice - only one of the children can appear in an XML instance c) Any — children can appear in any order in an XML instance
In one embodiment, an EDI schema uses only the sequence compositor. In an alternative embodiment, "choice" and "any" compositor would not be used. The ComplexType may only be included elements as children.
3. Starting from the root node of the document, any element that includes substring "Loop" would be considered a Loop element. Otherwise, it would be considered a segment (see additional discussion below).
4. Once a segment has been identified, substrings of the segment will not be identified. 5. Segments can have children and grand-children in the structured XML schema. For example, only descendants at distance 1 and 2 from the segment node would be permitted as part of the structure.
6. One or more annotations are generated to represent the rules in the EDI schemas. For example, the annotations may be used to represent one or more of the following: a) Cross field validation rules; b) Trigger field information, to be used with schemas associated with compliance with Health Insurance Portability and Accountability Act (HEP AA); c) Reference designator;
d) Split point information rules. For example, the split point information indicates information when the EDI schema or EDI transactions satisfying requirements of EDI schemas have split into multiple sub-documents.
[0024] In one embodiment, the XML schema is structured using one or more two- or three-character tags. FIG. 3 is a diagram illustrating a XML schema embodying aspects of the invention. For example, a panel 302 illustrates one or more two- or three-character tags. For example, tags include "ST", "BEG", "CUR".
[0025] In one embodiment, based on the name of the segment element, the first three characters may be considered as a tagld. In an alternative embodiment, if the third character of the three-character tag is a "_" character, the segment ID would only be the first two characters. In addition, if one of the two characters includes a "-" character, a compilation error would occur. For instance: a) "BEG_BeginTransaction" means the Segment ID is BEG; b) "Nl_850Segment" means the Segment ID is Nl; c) "N_abc" means a invalid segment; d) "Nl__Loop" means this is a loop and not a segment; and e) "N_Loop" means this is not an invalid segment but a loop.
[0026] In another embodiment, one or more special rules may apply to a set of segment tags. For example, tags such as "ISA", "IEA", etc. have special significance and they are called control segments. Similarly, tags such as "ST" and "SE" are both control and data segments. The list below provides an exemplary set of control segment tags: ISA GS ST SE
GE IEA UNOA UNB UNG UNH UNT UNE UNZ [0027] In another example, embodiments of the invention enhance the functionality of EDI schemas by accounting for one or more rules using annotations. For example, in handling one or more cross field validation rules, rules are expressed as annotations at segment level nodes. Every segment includes an optional list of rules, which are also known as RuleSet. For example, a panel 304 illustrates one or more annotation tags in a structured XML schema. As an illustration, a set of exemplary rules are described in the following paragraphs:
[0028] Paired/Multiple - (all, absent) - Either all subject names are present or absent. For example:
<b:Rule subjects="X12ConditionDesignatorX_P aired "> <b:Subject name="@CURl 1 " />
<b:Subject name="@CUR12" /> </b:Rule> [0029] Required - (grouped, absent) — At least one of the subjects is required:
<b:Rule subjects="X12ConditionDesignatorX_Required "> <b:Subject name="@CURl 1" />
<b:Subject name="@CUR12" /> </b:Rule>
[0030] Exclusion - (any, absent) - Only one subject can be present: <b:Rule subjects="X12ConditionDesignatorX_Exclusion "> <b:Subject name="@CURl l" />
<b:Subject name="@CUR12" /> </b:Rule> [0031] Conditional - (all, value) - If qualifier present, all subjects are required:
<b:Rule subjects="X12ConditionDesignatorX_Conditional" qualifϊer="@CUR05">
<b: Subject name="@CURl 1" /> <b:Subject name="@CUR12" /> </b:Rule>
[0032] List - (any, value) - If qualifier present, at least one subject is required: <b:Rule subjects="X12ConditionDesignatorX_ListConditional" qualifier="@CUR05">
<b:Subject name="@CURl 1" /> <b:Subject name="@CUR12" /> </b:Rule> [0033] Unlike previous representation or model of EDI schemas, embodiments of the invention provide a rich set of information for describing rules associated with EDI schemas using XML.
[0034] As illustrated above, each rule has a "subject" attribute, an optional qualifier attribute, and a list of subject elements. For example, each of the rules is defined based on values of (subjects, qualifier) pairs:
[0035] In one embodiment,' the operands of a rule are data elements found within a segment. In this embodiment, during the rule evaluation, a specific value of an operand is not needed. Rather, what is needed is the information whether the data element was valued or not. Using the system 100 in FIG. 1 as an example, during parsing or serialization by a parser/serializer 112, on encountering a segment, the parser/serializer 112 may keep track of the data elements that had a non-blank value. After segment processing is over, the parser/serializer 112 may be able to evaluate all rule operands and hence execute the RuleSet. In the situation where errors occurred in processing the rule operands, one or more error codes are issued. As an example, an exemplary set of suitable error codes is described below corresponding to particular rule violations:
Error code 2 - Conditional required data element missing - This would be reported when a Conditional rule is violated. The reported field number would be the one that is the first one (in the order defined in rule) which is absent. Error code 10 — Exclusion condition violated - This would be reported when an Exclusion rule is violated. The reported field number would be the first one (in the order defined in rule) that makes at least 2 fields valued.
Error code 14 - (BTS-EDI specific) - Cross field validation rule violated - This error would be raised for all other kinds of rules and would be raised under the following circumstances: a) Paired rule — The reported field number would be the one that is the first one which is absent; b) Required rule - This can be violated only if all subjects are absent. In this type of scenario, the first field mentioned in the rule would be reported as having caused the violation;
c) List rule - This can be violated when qualifier is present and all subjects are absent. In such case, the first field mentioned in the rule would be reported as having caused the violation.
[0036] Also, in modeling the EDI schemas, embodiments of the invention proper consider the various data types include in EDI schemas. As an example, one or more data types in X12 format are described below: [0037] A. X12 data types:
[0038] X12 defines a number of data types. Such types would be recognized by parser/serializer. They would have the capability to validate such types and perform any necessary transformation. However, a document schema can have any kind of simple type associated with it. If it is not an Edi data type, it would be validated codes, routings, computer-executable instructions, such as XmlValidatingReader, depending on schema validation flag being turned on or not.
1. "N" — This is an integer data type with an optional length restriction. A simple element of this type, should have a simple type that is a restriction on a type with local name "N".
And "N" is essentially an xs:string. <xs:element minOccurs="0" name="ITD07"> <xs : simpleType>
<x s : restriction base="N"/> <xs:minLength value=" 1 " />
<xs:maxLength value="5" /> </xs:simpleType> </xs:element>
2. "Nn" - This is an integer type with an implied decimal point, specified by n > 0. So if Type is N2 - then parser would convert 1234 to 12.34. Likewise, 12.34 would be
converted to 1234 by the serializer. If the decimal point is not encountered or length restriction is not followed, an appropriate Edi error code would be raised. A simple element of this type, should have a simple type that is a restriction on a type with local name "N2", for instance. And "N2" is essentially an xs:string. <xs:element minOccurs="0" name- 'ITD08"> <xs:simpleType>
<xs:restriction base="N2"/>
<xs:minLength value="4" /> <xs:maxLength value="8" /> </xs:simpleType>
</xs:element>
3. "ED" - This is an enumeration data type with optional length restrictions. A simple element of this type, should have a simple type that is a restriction on a type with local name "ID". And "ID" is essentially an xs:string. If the list of enumeration is empty, any data value would be allowed.
<xs:element minOccurs='O" name- 'ITD09"> <xs:simpleType>
<xs:restriction base="ID'7>
<xs:enumeration value="00" /> <xs:enumeration value="10" />
</xs:simpleType> </xs:element>
4. "AN" - This is an alphanumeric data type with length restrictions. A simple element of this type, should have a simple type that is a restriction on a type with local name "AN". And "AN" is essentially an xs:string.
<xs:element minOccurs="0" name="ITD09"> <xs:simρleTyρe>
<xs:restriction base="AN'7>
<xs:minLength value="l " /> <xs:maxLength value="5" />
</xs:simpleType> </xs:element>
5. "R" - This is a real number. A simple element of this type, should have a simple type that is with local name "R". And "R" has the format [sign]integral-digits[.[fractional- digits]] where
[0039] Sign — can only be -, + would not be accepted <xs:element minOccurs="0" name="ITD09"> <xs:simpleType>
<xs:restriction base="R'7> <xs:minLength value=" 1 " />
<xs:maxLength value="5" /> </xs:simpleType> </xs:element>
6. "Date" — This is a date data type. A simple element of this type should have a simple type with local name "date". The format is CCYItTVIMDD.
7. "Time" - A simple element of this type should have a simple type with local name "time". The format is HHMM[[SS][d[d]]].
[0040] B. EDIFACT Data Type:
[0041] Similarly, in describing schemas in EDIFACT format, an EDIFACT schema defines a number of data types such as one of the following:
W 2
1. "a" — This is an alphabetic data type with a length restriction. A simple element of this type, should have a simple type that is a restriction on a type with local name "a". And "a" is essentially an xs:string. <xs:element minOccurs="0" name="ITD07"> <xs : simpleType> <xs:restriction base="a"/>
<xs:minLength value="l" /> <xs:maxLength value="5" /> </xs:simpleType> </xs:element> 2. "n" —This is a numeπc data type with length restriction. A simple element of this type, should have a simple type that is a restriction on a type with local name "n", for instance. And "n" is essentially an xs:string. <xs:element minOccurs="0" name="ITD08"> <xs:simpleType> <xs:restriction base="n"/>
<xs:minLength value="4" /> <xs:maxLength value="8" /> </xs:simpleType> </xs:element> 3. "ID" — This is an enumeration data type with optional length restrictions. A simple element of this type, should have a simple type that is a restriction on a type with local name "ID". And "ID'* is essentially an xs:string. If the list of enumeration is empty, any data value would be allowed. For EDEFACT data which comes in 949 code page, Enum values in the schema would be their Unicode equivalent. <xs:element minOccurs="0" name="ITD09">
<xs:simpleType>
<xs:restriction base="ID"/>
<xs:enumeration value="00" /> <xs:enumeration value="10" /> </xs:simpleType>
</xs:element>
4. "AN" — This is an alphanumeric data type with length restrictions. A simple element of this type, should have a simple type that is a restriction on a type with local name "AN". And "AN" is essentially an xs:string. <xs:element minOccurs="0" name="ITD09"> <xs:simpleType>
<xs:restriction base="AN"/>
<xs:minLength value="l" /> <xs:maxLength value="5" /> </xs:simpleType>
</xs:element>
[0042] As discussed previously, one of the rules annotated by the XML schema embodying aspects of the invention is reference designators. The reference designators exist at field level and they refer to a number in 'metadata-dictionary' which can be used during error debugging. Engine would report this information during parsing at AK502 level. For example, it would report the designator value if present in the schema. The following annotation is used at field level. AK502 is an optional field, if annotation is not present, it would not be valued. The following exemplary XML statements illustrate an example of reference designator: <xs:annotation>
<xs:appinfo>
<b:fieldinfo edi_reference_designator="725" xmlns:b="http://schemas.company.com/software/2003" /> </xs:appinfo> </xs:annotation>
[0043] Similarly, one of the rules, the trigger field information, is annotated according to an embodiment of the invention. This annotation may exist at a loop or segment level to identify the field inside a segment that serves as a trigger field. And also the value that should result in a trigger transition. This information is used in HIPAA schemas to generate more user friendly XmI. The annotation is as shown below: In this example, the TS270Al_2100A_Loop is a trigger loop. The trigger segment may be written in XML as: NMl_InformationSourceName_TS270Al_2100A and the trigger field is NM101_EntityIdentifierCode. The trigger value could be any of: 2B; 36; GP; P5; or PR. The following illustrates the exemplary XML statement or code: - <xs:element name="TS270Al_2100A_Loop"> - <xs:annotation>
<xs:appinfo> <b:recordlnfo trigger_field=MNMl_mfonτiationSourceName_TS270Al_2100A/NM101 Entityldentifie rCode" trigger_value="2B 36 GP P5 PR/>
</xs:appinfo> </xs:annotation>
[0044] FIG. 4 is a block diagram illustrating an exemplary computer-readable medium 502 on which aspects of the invention may be stored. For example, the computer-readable medium 402 includes one or more computer-executable components for performing
W
operations illustrated in FIG. 5, which is a flow chart describing operations of modeling an electronic data interchange (EDI) document using extensible Markup Language (XML) at runtime according to an embodiment of the invention.
[0045] For example, an element component 404 identifies a plurality of structural elements in the EDI document at 502. At 504, a data component 406 determines a plurality of corresponding data values from the identified plurality of structural elements in the EDI document. At 506, an annotation component 408 generates annotations for a plurality of rules included in the EDI document. The plurality of rules defines operations associated with the plurality of corresponding data values. A transformation component 410 modifies or transforms the determined data values and the generated annotated into an XML schema corresponding to the EDI document at 508. At 510, a payload component 512 processes the XML schema at runtime.
[0046] FIG. 6 shows one example of a general purpose computing device in the form of a computer 130. In one embodiment of the invention, a computer such as the computer 130 is suitable for use in the other figures illustrated and described herein. Computer 130 has one or more processors or processing units 132 and a system memory 134. In the illustrated embodiment, a system bus 136 couples various system components including the system memory 134 to the processors 132. The bus 136 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus also known as Mezzanine bus.
IS
[0047] The computer 130 typically has at least some form of computer readable media. Computer readable media, which include both volatile and nonvolatile media, removable and non-removable media, may be any available medium that may be accessed by computer 130. By way of example and not limitation, computer readable media comprise computer storage media and communication media. Computer storage media include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. For example, computer storage media include RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that may be used to store the desired information and that may be accessed by computer 130. Communication media typically embody computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism and include any information delivery media. Those skilled in the art are familiar with the modulated data signal, which has one or more of its characteristics set or changed in such a manner as to encode information in the signal. Wired media, such as a wired network or direct-wired connection, and wireless media, such as acoustic, RF, infrared, and other wireless media, are examples of communication media. Combinations of any of the above are also included within the scope of computer readable media. [0048] The system memory 134 includes computer storage media in the form of removable and/or non-removable, volatile and/or nonvolatile memory. In the illustrated embodiment, system memory 134 includes read only memory (ROM) 138 and random access memory (RAM) 140. A basic input/output system 142 (BIOS), containing the basic routines that help to transfer information between elements within computer 130,
such as during start-up, is typically stored in ROM 138. RAM 140 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 132. By way of example, and not limitation, FIG. 6 illustrates operating system 144, application programs 146, other program modules 148, and program data 150.
[0049] The computer 130 may also include other removable/non-removable, volatile/nonvolatile computer storage media. For example, FIG. 6 illustrates a hard disk drive 154 that reads from or writes to non-removable, nonvolatile magnetic media. FIG. 6 also shows a magnetic disk drive 156 that reads from or writes to a removable, nonvolatile magnetic disk 158, and an optical disk drive 160 that reads from or writes to a removable, nonvolatile optical disk 162 such as a CD-ROM or other optical media. Other removable/non-removable, volatile/nonvolatile computer storage media that may be used in the exemplary operating environment include, but are not limited to, magnetic tape cassettes, flash memory cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like. The hard disk drive 154, and magnetic disk drive 156 and optical disk drive 160 are typically connected to the system bus 136 by a non-volatile memory interface, such as interface 166.
[0050] The drives or other mass storage devices and their associated computer storage media discussed above and illustrated in FIG. 6, provide storage of computer readable instructions, data structures, program modules and other data for the computer 130. In FIG. 6, for example, hard disk drive 154 is illustrated as storing operating system 170, application programs 172, other program modules 174, and program data 176. Note that these components may either be the same as or different from operating system 144, application programs 146, other program modules 148, and program data 150. Operating
W
system 170, application programs 172, other program modules 174, and program data 176 are given different numbers here to illustrate that, at a minimum, they are different copies. [0051] A user may enter commands and information into computer 130 through input devices or user interface selection devices such as a keyboard 180 and a pointing device 182 (e.g., a mouse, trackball, pen, or touch pad). Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are connected to processing unit 132 through a user input interface 1S4 that is coupled to system bus 136, but may be connected by other interface and bus structures, such as a parallel port, game port, or a Universal Serial Bus (USB). A monitor 188 or other type of display device is also connected to system bus 136 via an interface, such as a video interface 190. In addition to the monitor 188, computers often include other peripheral output devices (not shown) such as a printer and speakers, which may be connected through an output peripheral interface (not shown). [0052] The computer 130 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 194. The remote computer 194 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to computer 130. The logical connections depicted in FIG. 6 include a local area network (LAN) 196 and a wide area network (WAN) 198, but may also include other networks. LAN 136 and/or WAN 138 may be a wired network, a wireless network, a combination thereof, and so on. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets, and global computer networks (e.g., the Internet). [0053] When used in a local area networking environment, computer 130 is connected to the LAN 196 through a network interface or adapter 186. When used in a wide area
networking environment, computer 130 typically includes a modem 178 or other means for establishing communications over the WAN 198, such as the Internet. The modem 178, which may be internal or external, is connected to system bus 136 via the user input interface 184, or other appropriate mechanism. In a networked environment, program modules depicted relative to computer 130, or portions thereof, may be stored in a remote memory storage device (not shown). By way of example, and not limitation, FIG. 6 illustrates remote application programs 192 as residing on the memory device. The network connections shown are exemplary and other means of establishing a communications link between the computers may be used. [0054] Generally, the data processors of computer 130 are programmed by means of instructions stored at different times in the various computer-readable storage media of the computer. Programs and operating systems are typically distributed, for example, on floppy disks or CD-ROMs. From there, they are installed or loaded into the secondary memory of a computer. At execution, they are loaded at least partially into the computer's primary electronic memory. Aspects of the invention described herein includes these and other various types of computer-readable storage media when such media contain instructions or programs for implementing the steps described below in conjunction with a microprocessor or other data processor. Further, aspects of the invention include the computer itself when programmed according to the methods and techniques described herein.
[0055] For purposes of illustration, programs and other executable program components, such as the operating system, are illustrated herein as discrete blocks. It is recognized, however, that such programs and components reside at various times in different storage components of the computer, and are executed by the data processor(s) of the computer.
[0056] Although described in connection with an exemplary computing system environment, including computer 130, embodiments of the invention are operational with numerous other general purpose or special purpose computing system environments or configurations. The computing system environment is not intended to suggest any limitation as to the scope of use or functionality of any aspect of the invention. Moreover, the computing system environment should not be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary operating environment. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with aspects of the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, mobile telephones, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. [0057] Embodiments of the invention may be described in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices. Generally, program modules include, but are not limited to, routines, programs, objects, components, and data structures that perform particular tasks or implement particular abstract data types. Aspects of the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices. [0058] An interface in the context of a software architecture includes a software module, component, code portion, or other sequence of computer-executable instructions.
The interface includes, for example, a first module accessing a second module to perform computing tasks on behalf of the first module. The first and second modules include, in one example, application programming interfaces (APIs) such as provided by operating systems, component object model (COM) interfaces (e.g., for peer-to-peer application communication), and extensible markup language metadata interchange format (XMI) interfaces (e.g., for communication between web services).
[0059] The interface may be a tightly coupled, synchronous implementation such as in Java 2 Platform Enterprise Edition (J2EE), COM, or distributed COM (DCOM) examples. Alternatively or in addition, the interface may be a loosely coupled, asynchronous implementation such as in a web service (e.g., using the simple object access protocol). In general, the interface includes any combination of the following characteristics: tightly coupled, loosely coupled, synchronous, and asynchronous. Further, the interface may conform to a standard protocol, a proprietary protocol, or any combination of standard and proprietary protocols. [0060] The interfaces described herein may all be part of a single interface or may be implemented as separate interfaces or any combination therein. The interfaces may execute locally or remotely to provide functionality. Further, the interfaces may include additional or less functionality than illustrated or described herein. [0061] In operation, computer 130 executes computer-executable instructions such as those illustrated in the figures, such as FIG. 5, to implement aspects of the invention.
[0062] The order of execution or performance of the operations in embodiments of the invention illustrated and described herein is not essential, unless otherwise specified. That is, the operations may be performed in any order, unless otherwise specified, and embodiments of the invention may include additional or fewer operations than those disclosed herein. For example, it is contemplated that executing or performing a particular
operation before, contemporaneously with, or after another operation is within the scope of aspects of the invention.
[0063] Embodiments of the invention may be implemented with computer-executable instructions. The computer-executable instructions may be organized into one or more computer-executable components or modules. Aspects of the invention may be implemented with any number and organization of such components or modules. For example, aspects of the invention are not limited to the specific computer-executable instructions or the specific components or modules illustrated in the figures and described herein. Other embodiments of the invention may include different computer-executable instructions or components having more or less functionality than illustrated and described herein.
[0064] When introducing elements of aspects of the invention or the embodiments thereof, the articles "a," "an," "the," and "said" are intended to mean that there are one or more of the elements. The terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements other than the listed elements. [0065] As various changes could be made in the above constructions, products, and methods without departing from the scope of aspects of the invention, it is intended that all matter contained in the above description and shown in the accompanying drawings shall be interpreted as illustrative and not in a limiting sense.