System and method for integrated management of components of a resource
Exemplary techniques are provided for defining a binding or relationship between the content of a document managed by an application and a service entity managed by an application service. The binding may enable the user to retrieve the service entity by selecting the document content within the application. The binding may comprise application metadata associated with the document content which provides a reference to the service entity, and context metadata which specifies a transformation performed on the application metadata to retrieve the service entity.
Latest Microsoft Patents:
- SEQUENCE LABELING TASK EXTRACTION FROM INKED CONTENT
- AUTO-GENERATED COLLABORATIVE COMPONENTS FOR COLLABORATION OBJECT
- RULES FOR INTRA-PICTURE PREDICTION MODES WHEN WAVEFRONT PARALLEL PROCESSING IS ENABLED
- SYSTEMS AND METHODS OF GENERATING NEW CONTENT FOR A PRESENTATION BEING PREPARED IN A PRESENTATION APPLICATION
- INFRARED-RESPONSIVE SENSOR ELEMENT
This application is a continuation-in-part claiming benefit under 35 U.S.C. §120 of commonly assigned U.S. patent application Ser. No. 10/648,506, filed Aug. 25, 2003.
FIELD OF THE INVENTIONThe present invention relates to the field of resource management and, more specifically, to integrating resource management between application services and applications.
BACKGROUND OF THE INVENTIONIn conventional resource management systems, application services typically function in connection with applications. Such application services may each manage different components of a resource. For example, two application services may manage different components of a loan approval process. Specifically, a first application service may manage a credit history component of the loan approval process, while a second application service may manage a down payment component of the loan approval process. Each of the application services may manage related service entities associated with the loan approval process. For example, the first application service may mange “applicant” service entities, while the second application service may manage related “loan” service entities.
Applications functioning in connection with the application services may be, for example, electronic mail applications, word processing applications, or spreadsheet applications that enable the production of documents. Such documents may often refer to service entities and influence the management of the service entities at the application services. For example, a document may include the text, “John Smith has missed a credit card payment.” “John Smith” may be an instance of both the applicant entity managed by the first application service and the loan entity managed by the second application service. Thus, the document may influence the management of the applicant entity “John Smith” and the loan entity “John Smith”. Specifically, the document may influence a user to change the state of the applicant entity “John Smith” at the first application service to a “deny loan” state. The document may also cause the state of the loan entity “John Smith” at the second application service to be changed to a “refund down payment” state.
Although documents may often influence the management of service entities at the application services, there is generally limited ability to access, query, and manage service entities from within an application. For example, if the document influences a user to change the state of applicant entity “John Smith” at the first application service, then, to change the state, the user must access the first application service and identify the applicant service entity at the first application service. It may often be difficult, however, to identify a service entity at a application service because a document often does not provide sufficient semantics about attributes by which the service entity is defined. For example, while the document refers to the loan applicant “John Smith” by his full name, the first application service may define the applicant service entity by separate “first name” and “last name” attributes.
The limited ability to access, query, and manage service entities from within an application is particularly cumbersome when a document influences the management of related entities from different application services. For example, if the document causes a user to change the state of applicant entity “John Smith” at the first application service and to change the state of loan entity “John Smith” at the second application service, then the user must separately access each application service and separately identify each service entity at each application service. Separately identifying of service entities at different application services is cumbersome because, even if the different service entities are related, the service entities may be defined at each application service by different sets of attributes. For example, while the first application service may define the applicant service entity by separate “first name” and “last name” attributes, the second application service may define the loan entity by an “applicant” attribute rather than by a name attribute.
Another difficulty relating to the management of service entities in conventional resource management systems is that an application typically provides limited information about the availability of actions which can be performed on service entities at the application services. Specifically, each application service may have specific rules and conditions related to the performance of actions on service entities. For example, such rules and conditions may include a maximum number of times which an action may be performed, a period in which an action must be performed, a limited user or class of users which may perform an action, or a condition which must occur before or after the performance of an action. An application generally cannot determine what such rules and conditions are and whether they are satisfied. Thus, a user must access each component process to determine if an action is available within the process.
Additionally, an application typically has limited abilities to coordinate the management of resources among multiple users according to such rules and conditions. Specifically, an application has limited ability to track the performance of actions and to prevent or advise against the performance of actions that are invalid or likely to generate conflicts. Furthermore, applications typically have limited ability to provide users with information about relationships between entities and processes managed by different application services and the performance of actions on such related entities by other users. Such information may be used to determine the availability of an action and to protect against conflicts related to the performance of the action.
Thus, there is a need in the art for systems and methods for integrating resource management between application services and applications. It is desired that such systems and methods enable, for example, matching of related service entities from different application services, association of service entities with documents, and management of service entities from within an application.
SUMMARY OF THE INVENTIONIn accordance with one embodiment of the present invention, a method is provided for use in a system which includes an application executing on a first computer and an application service executing on a second computer, the first and second computers being coupled via a network, the application being operable to manage a document and receive input from a user comprising document content, the document content corresponding to a service entity managed by the application service. The method is for defining a binding between the document content and the service entity. The binding enables the user to retrieve the service entity by selecting the document content within the application. The method comprises: (A) defining application metadata for the document content, the application metadata being associated with the document content, the application metadata including information which provides a reference to the service entity; and (B) defining context metadata which specifies a transformation performed on at least a portion of the information included in the application metadata to retrieve the service entity.
Another embodiment of the present invention provides at least one computer-readable medium for use in a system which includes an application executing on a first computer and an application service executing on a second computer, the first and second computers being coupled via a network, the application being operable to manage a document and receive input from a user comprising document content, the document content corresponding to a service entity managed by the application service. The at least one computer-readable medium includes information which defines a binding between the document content and the service entity. The binding enables the user to retrieve the service entity by selecting the document content within the application. The at least one computer-readable medium comprises: application metadata for the document content, the application metadata being associated with the document content, the application metadata including information which provides a reference to the service entity; and context metadata which specifies a transformation performed on at least a portion of the information included in the application metadata to retrieve the service entity.
BRIEF DESCRIPTION OF THE DRAWINGSThe illustrative embodiments will be better understood after reading the following detailed description with reference to the appended drawings, in which:
I. Illustrative Computer Environment
As shown in
The personal computer 120 may further include a hard disk drive 127 for reading from and writing to a hard disk (not shown), a magnetic disk drive 128 for reading from or writing to a removable magnetic disk 129, and an optical disk drive 130 for reading from or writing to a removable optical disk 131 such as a CD-ROM or other optical media. The hard disk drive 127, magnetic disk drive 128, and optical disk drive 130 are connected to the system bus 123 by a hard disk drive interface 132, a magnetic disk drive interface 133, and an optical drive interface 134, respectively. The drives and their associated computer-readable media provide non-volatile storage of computer readable instructions, data structures, program modules and other data for the personal computer 120.
Although the exemplary environment described herein employs a hard disk, a removable magnetic disk 129, and a removable optical disk 131, it should be appreciated that other types of computer readable media which can store data that is accessible by a computer may also be used in the exemplary operating environment. Such other types of media include a magnetic cassette, a flash memory card, a digital video disk, a Bernoulli cartridge, a random access memory (RAM), a read-only memory (ROM), and the like.
A number of program modules may be stored on the hard disk, magnetic disk 129, optical disk 131, ROM 124 or RAM 125, including an operating system 135, one or more application 212 programs 136, other program modules 137 and program data 138. A user may enter commands and information into the personal computer 120 through input devices such as a keyboard 140 and pointing device 142 such as a mouse. Other input devices (not shown) may include a microphone, joystick, game pad, satellite disk, scanner, or the like. These and other input devices are often connected to the processing unit 121 through a serial port interface 146 that is coupled to the system bus, but may be connected by other interfaces, such as a parallel port, game port, or universal serial bus (USB). A monitor 147 or other type of display device is also connected to the system bus 123 via an interface, such as a video adapter 148. In addition to the monitor 147, a personal computer typically includes other peripheral output devices (not shown), such as speakers and printers. The exemplary system of
The personal computer 120 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 149. The remote computer 149 may be another personal computer, a application service, 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 the personal computer 120, although only a memory storage device 150 has been illustrated in
When used in a LAN networking environment, the personal computer 120 is connected to the LAN 151 through a network interface or adapter 153. When used in a WAN networking environment, the personal computer 120 typically includes a modem 154 or other means for establishing communications over the wide area network 152, such as the Internet. The modem 154, which may be internal or external, is connected to the system bus 123 via the serial port interface 146. In a networked environment, program modules depicted relative to the personal computer 120, or portions thereof, may be stored in the remote memory storage device. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
II Illustrative Resource Management Environment
An exemplary conventional resource management system 200 is shown in
Application services 210 may be application services such as, for example, line of business (LOB) application services, database application services, network application services, print application services, and file application services. Specifically, application service 210a may be an LOB application service that manages a credit history component of a loan approval process, while application service 210b may be an LOB application service that manages a down payment component of a loan approval process.
An exemplary credit history component process 300a managed by application service 210a is shown in
An exemplary down payment component process 300b managed by application service 210b is shown in
Application services 210 manage service entities 215 associated with component processes 300. Application service 210a manages service entities 215a and 215a′, while application service 210b manages service entities 215b and 215b′. Specifically, service entity 215a may be an “applicant” entity associated with credit history component process 300a, while service entity 215b may be a related “loan” entity 215b associated with loan approval process 300b. Service entities 215a′ and 215b′ may be non-related service entities that are specific to each component process 300a and 300b, respectively.
Application services 210 may maintain service metadata 205 corresponding to such service entities 215. Service metadata 205 may be defined in a language such as, for example, extensible markup language (XML). Service metadata 205 may include attributes of the service entities 215 and may also include unique keys of the service entities 215. Exemplary attributes of the applicant entity 215a and the loan entity 215b are shown below:
Service metadata 205 may also include actions available on service entities 215. Such actions may be static actions, which are available irrespective of the process state of service entities 215, or dynamic actions, which are dependent on the process state of service entities 215.
Static actions may be actions such as, for example, actions for viewing and changing the attributes of service entities 215, actions for following or drilling down a relationship to see related instances, and always available actions for changing the process state. Metadata for viewing and changing attributes may include, for example, mechanisms rendering a view such as launching a dialog.
Metadata for dynamic actions may include methods for changing the process state, functions of the process state in which such methods are available, and restrictions on protecting the process from multiple or conflicting use of such methods by the same or different users.
Service metadata 205 may also include information about access to service entities 215. Such metadata may include, for example, access limitations or restrictions for a particular user or group of users to an instance or class of service entities 215, static action, or relationship. Authorization such as, for example, a valid password or identifier may be required to gain access to each such instance or class of an entity, static action, or relationship.
Service metadata 205 may also include descriptions of methods to obtain information about entity instances. Such metadata may also include descriptions of methods to derive actual or possible relationships between entity instances, views, and static actions.
Application services 210 communicate with client 230 via network 220. Network 220 may be a local area network (LAN) or a wide area network (WAN) such as, for example, the Internet. Client 230 may be a computing device such as computing device 120 of
Document 234 may refer to and influence the management of service entities. Referring now to
Importantly, in a conventional system 200 as shown in
III Exemplary Systems and Methods of the Present Invention
Unlike conventional system 200 of
An exemplary resource management system 500 in accordance with the present invention is shown in
Application services 210 expose service metadata 505 to context service 510 via network 220. Unlike conventional service metadata 205 of
An action that is universally available is an action that may be always be performed. Such actions are not subject to any rules or conditions.
An action that is optimistically available is available subject to specified rules and conditions. For example, such rules may include a maximum number of times which an action may be performed, a time period in which an action must be performed, a user or class of users which must perform an action, a condition which must occur before performance of an action, a condition which must occur after performance of an action. Classifying an action as optimistically available enables application services 210 to make an action available without specifying all possible rules and conditions which must be satisfied for the rule to be available.
An action that is available according to a rule is available only in compliance with specified rules and conditions. Classifying an action as available according to a rule enables application services 210 to deny the availability of action unless specified rules and conditions are satisfied.
Context service 510 may be an application running on a computing device such as, for example, computing device 120 of
Context service 510 consolidates service entities 215 into context entities 515. To consolidate service entities 215, context service matches related service entities 215 and consolidates such related service entities 215 into a single context entity 515. For example, context service 510 may match related service entities 215a and 215b and consolidate them into context entity 515a. Context service 510 may also determine that service entities 210a′ and 210b′ are not related and may thus consolidate each of service entities 210a′ and 210b′ into a separate context entity 515b and 515c, respectively.
Context service 510 matches related service entities 215 based on service metadata 505. Specifically, context service 510 cross references attributes of service entities 215 to identify actual and potential relationships. Context service 510 may identify such relationships based on a nomenclature of the attributes. For example, context service 510 may match the applicant service entity 215a to the loan service entity 215b because the loan service entity 215b includes an “applicant” attribute. Context service 510 may fragment and compose attributes. Furthermore, context service 510 may perform transformations on attributes. For example, context service 510 may perform a transformation to match the “first name” and “last name” attributes of the applicant service entity 215a to the “name” attribute of the loan service entity 215b.
In addition to consolidating the service entities 215 into context entities 515, context service 510 consolidates service metadata 505 into context metadata 525. Specifically, in addition to consolidating the attributes of service entities 215, context service 510 consolidates dynamic actions available on service entities 215. For example, context service 510 may fragment and compose static actions available on service entities 215. Furthermore, context service 510 may perform transformations on static actions of service entities 215.
Context service 510 may also consolidate service metadata 505 about access to service entities 215. For example, context service 510 may persist context metadata 525 specifying that a particular class of users has access to the context entity 215a but does not have access to the context entity 215b.
Context service 510 may also consolidate metadata about entity instances and the derivation of actual or possible relationships between such instances, views, and static actions. Context service 510 may also maintain rendering information for service metadata 505. Context service 510 may also pre-fetch service metadata 505 from application services 210 to increase the availability of service metadata 505. Context service 510 may also store procedures for restoring service metadata 505 when application services 210 go offline such as, for example, in the event of a power failure.
Action service 520 may be an application running on a computing device such as, for example, computing device 120 of
Alternatively, action service 520 may query the identified application services 210 to obtain status information for an entity. Action service 520 may then retrieve service metadata 505 corresponding to the entity to determine the available actions for the service entity 215.
Action service 520 includes tracking mechanism 522, which tracks the performance of actions on service entities 215 at application services 210. Tracking mechanism 522 determines when a user invokes a state change method on a process and tracks the success, failure, or pending completion of the method.
Action service 520 also includes conflict protection mechanism 524, which prevents and advises against the performance of dynamic actions at application services 210 that are invalid or likely to generate conflicts. Conflict protection mechanism 524 evaluates the classification of the availability of actions to be performed on service entities 215. Specifically, as described above, such actions may be classified as universally available, optimistically available, or available according to a rule. Conflict protection mechanism 524 uses and interprets such classifications along with the actions tracked by tracking mechanism 522 to determine whether actions are available and to detect dynamic actions that may cause actual and potential conflicts.
Application 532 may be an application such as, for example, a word processor, a spreadsheet, or an email system that enables the creation, production, and exchange of a document 534. However, unlike conventional application 232 of
In one embodiment, an application entity 535 in the system of
In one embodiment, by defining a binding between document content and a service entity via an abstract reference like metadata, rather than via a physical pointer (e.g., a URL), actions which a user may take with regard to the service entity may be defined at run time (e.g., by the metadata). For example, actions which a user may take with regard to a service entity may be defined by characteristics of the service entity, the user, the application, the application service, or any other suitable information. Further, these actions may be modified without modifying the application, application service or the service entity.
One embodiment of the invention provides a method for defining a binding, or relationship, between an application entity 535 and one or more service entities 215. An exemplary process for defining such a binding is depicted in
Upon the start of process 600, application metadata 545 is defined in act 610. Application metadata may be defined in any suitable manner, as the invention is not limited in this respect. Although three exemplary techniques for defining application metadata are described below, it should be appreciated that any suitable mechanism may be employed, as the invention is not limited in this respect.
A first exemplary technique for defining application metadata 545 employs a mechanism referred to herein as a “smart tag.” Conventionally, a smart tag comprises a data structure which is embedded in a document (e.g., document 534) and which is associated with certain content (e.g., one or more words) of the document. Smart tag mechanisms are well-known to those skilled in the art. As an example, several of the Microsoft Office suite of applications, offered by Microsoft Corporation of Redmond, Wash., employ smart tags to create an association between document content and a data structure. A smart tag may be automatically associated with document content. Conventionally, the data structure of a smart tag may include various data provided in XML schema format.
In one embodiment of the invention, the data structure is modified to include information, also provided in XML schema format, which execution service 536 is configured to recognize as a reference to context metadata 525 maintained by context service 510. For example, in one embodiment, the XML schema includes a tag which signifies a reference to context information. In one embodiment, the tag may include one or more attributes which indicate specific context information which is referenced. A sample XML schema indicating a reference to context information is shown below.
As can be seen in the sample above, the XML schema includes a <ContextInformation> tag. In one embodiment, execution service 536 is configured to recognize this tag as a reference to context data. The <ContextInformation> tag includes attributes such as “MetadataScopeName,” “EntityName,” “ViewName,” and “ReferenceSchemaName,” as well as a “Reference” attribute block which identifies specific information to display. Each of these items is discussed below.
The exemplary XML schema above includes an attribute which specifies a “MetadataScopeName” of “http://InformationBridge/Sample.” In one embodiment, a metadata scope name may specify a namespace for context metadata 525. This reference to the metadata scope name identifies the context metadata which provides the transformation information that allows the desired one or more service entities to be accessed. In general, a metadata scope name defines content and operation information which can be logically grouped. As can be seen by this exemplary attribute, a metadata scope name may be defined using a Uniform Resource Locator (URL). Of course, a metadata scope name may be identified in any suitable manner.
The exemplary schema above also includes an attribute which defines an “EntityName” of “Account.” An entity name attribute may specify a conceptual data object, such as a service entity. A service entity may represent, for example, an item such as a customer, order, or invoice. Of course, the exemplary attribute provided represents an account.
The exemplary schema above also includes an attribute which defines a ViewName of “AccountDefault.” In one embodiment, a view name specifies a specific manner of visually representing data comprising an entity to a user. For example, for the “Account” entity, there may be there may be an “AccountDefault” view, a “AccountFinancial” view, and/or an “AccountSales” view. Each view may include different service entity information which may be presented to the user in a particular manner.
Thus, as can be seen from the foregoing description, an XML schema provided in the data structure of a smart tag may contain application metadata 545 which may be employed by execution service 536 as input to context service 510 to access one or more service entities 215 according to transformations defined by context metadata 525.
A second exemplary technique for defining application metadata 545 employs a URL. In one embodiment, the URL includes attributes encoded according to a specific syntax which execution service 536 is configured to recognize as constituting application metadata 545.
In one embodiment, rather than employing a conventional protocol handler (e.g., “http” or “ftp”), a URL may specify a particular protocol handler (e.g., “ibf”) which execution service 536 is configured to recognize as signifying a reference to context metadata. As a result, when the URL is invoked (e.g., clicked on), execution service 536 will receive the resulting instruction and process attributes encoded within the URL as input.
In one embodiment, attributes are encoded according to a syntax (e.g., provided in a particular order within the URL) so that execution service 536 may process each attribute accordingly. In one embodiment, these attributes are similar to the attributes described above with reference to the XML schema provided in the data structure of a smart tag. For example, the URL may include attributes provided according to the exemplary syntax that follows:
-
- ibf:v1/YourMetadataScopeName/YourEntityName/YourViewName/YourReferenceSch emaName/SyntaxType?YourQueryString
In this exemplary URL, “ibf” is a URL moniker which specifies a particular protocol that execution service 536 is configured to recognize as a reference to context metadata, “v1” specifies a version of URL syntax (thereby defining the syntax for the remainder of the URL), “YourMetadataScopeName” specifies a metadata scope, “YourEntityName” specifies an entity within the metadata scope, “YourViewName” specifies a view of the entity, “YourReferenceSchemaName” specifies a schema element which may be accessed, “SyntaxType” specifies a format of a subsequent query string in the URL, and “YourQueryString” specifies a query string, having a syntax defined according to the preceding syntax type, for retrieving context data. In one embodiment, a query string may be provided in encoded format, XML format or simple syntax format. For example, an exemplary URL having a query string in simple syntax format is as follows:
-
- ibf:v1/Microsoft. Solutions.SampleSolution.SR/ServiceRequest/ServiceRequestDetails/Xsd.TicketNumber(urn-SampleSolution-Data)/ref?root=TicketNumber&xmlns=μurn-SampleSolution-Data&Id=SR245797
The URL above includes a first attribute which defines “YourMetadataScopeName” as “Microsoft.Solutions.SampleSolution.SR”, a second attribute which defines “YourEntityName” as “ServiceRequest”, a third attribute which defines “YourViewName” as “ServiceRequestDetails”, a fourth attribute which defines “YourReferenceSchemaName” as “Xsd.TicketNumber (urn-SampleSolution-Data)”, a fifth attribute which defines “SyntaxType” as “ref”, and an attribute defining “YourQueryString” as “root=TicketNumber&xmlns=urn-SampleSolution-Data&Id=SR245797”.
Of course, a URL which provides a reference to context information need not be encoded according to the syntax described above, as the invention is not limited in this respect. For example, a URL need not specify a protocol handler of “ibf,” and may provide any suitable attributes, in any suitable manner.
A third exemplary technique for specifying application metadata 545 employs an attached schema. Conventionally, applications (e.g., application 532) may allow a user to create and attach a schema (e.g., an XML schema) to a document (e.g., document 534) to define content which is added to specific areas within the document. For example, a purchase order document template may have a number of fields which a user may fill in to complete a purchase order, and the purchase order template may have an attached schema which defines information which the user may provide for each field. For example, a particular field may be defined by the document's attached schema as containing the name of an approving entity for the purchase order.
In one embodiment, an attached schema may be used to define application metadata for specific content in the document. This may be accomplished in numerous ways, as the invention is not limited to a particular implementation. In one example, the schema may simply be modified to include one or more attributes which define a reference to context information, such as any of the attributes described above with reference to the smart tag and URL techniques. However, because it may not always be practical to modify a schema attached to a document (e.g., because the user does not have authority to do so), in another exemplary embodiment, execution service 536 may be configured to recognize content in a particular document portion as a reference to specific context data. As an example, execution service 536 may be configured to recognize a particular document element, as defined by an element in its attached schema, as referencing particular context data. For example, the attached schema element may indicate that an approver name is contained in the field, and execution service 536 may be configured to associate the approver name with, for example, context metadata 525 having a particular metadata scope name, entity name, view name, reference schema name, and/or other of the attributes described above. In this respect, execution service 536 may maintain multiple levels of application metadata for the application entity, including a first level which includes an element in an attached schema and a second level which associates the schema element with attributes that may be provided as input to context service 510.
In one embodiment, application metadata 545 may be defined manually by a user. For example, the user may provide input via a keyboard which defines application metadata 545.
User interface 705 also includes application metadata window 720, which may be opened by the user by selecting (e.g., clicking on) application entity 535. Application metadata window 720 displays application metadata 545, including attributes of application entity 535. In one embodiment, a user may edit application metadata 545 for application entity 535 by providing input by means of a keyboard and/or mouse within application metadata window 720. Of course, any suitable interface for defining application metadata 545 may be employed, as the invention is not limited in this respect.
Upon the completion of act 610 (
A transformation may be defined in any of numerous ways, as the invention is not limited to a particular implementation. In one embodiment, context metadata 525 defines a transformation via an XSL transformation (XSLT), which is an XML-based tool for mapping a source XML schema (e.g., application metadata 545) to a result XML schema (service metadata 505), as is well-known to those skilled in the art. However, any suitable technique may employed, as the invention is not limited in this respect.
Upon the completion of act 620, process 620 completes. Once an application entity is defined, it may be employed to retrieve and manage one or more service entities. An exemplary process for employing an application entity to access one or more service entities is described below with reference to
Referring first to
At step 812, execution service 536 on client 230 retrieves application metadata 545 corresponding to the selected application entity 535 from application 532. For example, if the applicant application entity 535a is selected, then execution service 536 may retrieve corresponding application metadata 545a. At step 814, execution service 536 passes the retrieved application metadata 545a to context service 510.
At step 816, context service 510 matches the selected application entity 535 to associated context entities 515. The matching of entities is discussed in detail above with reference to
At step 818, context service 510 identifies associated service entities 215 from which the associated context entities 515 are derived. For example, context service 510 may identify that context entity 515a is derived from the applicant service entity 215a and the loan service entity 215b.
At step 820, context service 510 examines context metadata 525 to determine static actions available on the associated service entities 215. Context service 510 may generate a graph of the associated service entities 215, the relationships to those entities, and the static actions available on those entities and relationships.
At step 822, context service 510 queries action service 520 to determine dynamic actions available on the associated service entities 215. Action service 520 provides the available actions on service entities 215 as well as any actions which may result in a conflict. Action service 520 may also provide limitations on multiple use of the same or multiple dynamic actions from the same process.
At step 824, context service 510 provides the available actions to execution service 536. Context service 510 may also provide other service metadata 505 for the associated service entities 215. If access to one of the associated service entities 215 is restricted, then the user may be required to provide authorization to receive metadata for that entity. For example, the user may be required to log in with an identifier or password.
At step 826, execution service 536 generates a display of the actions available on the associated service entities 215. Execution service 536 includes state and relationship view mechanism 538 to provide views of relationships between related service entities 215. Such relationships may be filtered to provide only those that are relevant to determine functions of state involved in conflict protection. State and relationship view mechanism 512 may provide information about the state of taking, success, failure, and current status of state change methods for related service entities 215.
Referring now to
Alternatively, the available actions may be displayed as a cascading menu set or as sets of categorized actions and options. Furthermore, the available actions may be displayed in a dialog box within document window 610. Execution service 536 may also invoke dialogs and rendering mechanisms specified by context service 510.
At step 828, a user may request an action from the display 815. The user may request the action by, for example, clicking on the action with the attached mouse. If, for example, the user selects “View Attributes” or “Change Attributes”, then the attributes of the associated service entities 215a and 215b may appear in a new window or dialog box within user interface 805. The user may then view and change the attributes.
In an alternative embodiment, execution service 536 may perform available actions automatically without displaying such actions to the user.
At step 830, the requested action is forwarded to the appropriate application service 210. If a requested action is a static action, then it may be forwarded to the appropriate application services 210 via context service 510. If the requested action is a dynamic action, then it may be forwarded to the appropriate application services 210 via action service 520.
At step 832, the action may be performed at the appropriate application service 210. The performance of the action may be logged by tracking mechanism 522.
Upon the completion of step 832, process 800 completes.
In accordance with one embodiment of the invention, information which is used to retrieve a service entity may also be used to define an application entity automatically. An exemplary technique for defining application entities automatically which employs aspects of the smart tag technique described above, is described below with reference to
The following is provided to assist the reader in understanding both smart tag technology and aspects of the invention. Generally, the relationship between an item of content in document 534 and the data structure of a smart tag is established using recognizer 540, which is a module that typically runs in the background on client 230 as the user works with document 534. Typically, as a user enters text into document 534, the text is passed to recognizer 540 at the same time that it appears on the screen of client 230. If recognizer 540 identifies the input as related to the recognizer's purpose, it may create a smart tag for the text and associates a data structure thereto.
In accordance with one embodiment of the invention, context metadata 525 and/or service metadata 505 may be exposed to recognizer 540 by context service 510 and/or application service 210 via network 220, such that as the user enters input to document 534, the input may be compared with attributes of context metadata 525 and/or service metadata 505, or derivations thereof, to determine whether the input should define an application entity. Thus, upon the start of the process of
The determination of whether user input is recognized as defining an application entity may be accomplished in any of numerous ways. In one embodiment, text which comprises user input may be compared to elements of context metadata 525 and/or service metadata 505, or derivations thereof. For example, user input of the text “Contoso, Ltd.” to a spreadsheet may be compared with context metadata 525 and/or service metadata 505, or a derivation thereof, to determine whether the input is recognized as an application entity.
If the input is not recognized as an application entity in act 1020, the process returns to act 1010, and user input continues to be monitored.
If the input is recognized as an application entity in act 1020, in one embodiment an application entity 535 is created which corresponds to the input in a manner which is transparent to the user. Alternatively, the user may be prompted upon the recognition to confirm that application entity 535 should be created. In one example, an indication that the user's input has been recognized as a potential application entity may be presented via a GUI to the user, along with a prompt to confirm that an application entity should be created. Upon the user's providing a confirmation, an application entity may be created. Any suitable technique for creating an application entity may be employed, as the invention is not limited in this respect.
Upon the completion of act 1020, application metadata 545 is implemented for the application entity 535 in act 1030. The application metadata may, for example, define a reference to the context metadata 525 and/or service metadata 505 which caused the application entity 535 to be defined in act 1020. As discussed above with reference to the smart tag technique of
Upon the completion of act 1030, process 1000 completes.
It should be appreciated that although the process of
A recognition engine may also be configured to automatically, or semi-automatically, define application metadata 545 for an application entity 535 which enables the application entity to be employed to access and/or manage service entities. Application metadata 545 may take any suitable form, such as an XML schema, a URL which provides attributes as described above, or any other desired format. The invention is not limited in this respect.
While the present invention has been described in connection with the preferred embodiments, it is to be understood that other similar embodiments may be used or modifications and additions may be made to the described embodiment for performing the same function of the present invention without deviating therefrom. Therefore, the present invention should not be limited to any single embodiment, but rather should be construed in breadth and scope in accordance with the appended claims.
Claims
1. In a system which includes an application executing on a first computer and an application service executing on a second computer, the first and second computers being coupled via a network, the application being operable to manage a document and receive input from a user comprising document content, the document content corresponding to a service entity managed by the application service, a method for defining a binding between the document content and the service entity, the binding enabling the user to access the service entity by selecting the document content within the application, the method comprising:
- (A) defining application metadata for the document content, the application metadata being associated with the document content, the application metadata including information which provides a reference to the service entity; and
- (B) defining context metadata which specifies a transformation performed on at least a portion of the information included in the application metadata to access the service entity.
2. The method of claim 1, wherein the application metadata is provided via an XML schema which is associated with the document content.
3. The method of claim 2, wherein the XML schema is provided in a data structure employed by a smart tag.
4. The method of claim 2, wherein the XML schema is attached to the document.
5. The method of claim 1, wherein the application metadata is provided via a URL.
6. The method of claim 1, wherein the application metadata includes references to the context metadata, the service entity, and a view of the service entity.
7. The method of claim 1, further including an act, performed before the act (A), comprising automatically recognizing that the document content provided by the user corresponds to the service entity.
8. The method of claim 7, wherein the acts (A) and (B) are performed transparently to the user.
9. The method of claim 7, wherein the act of automatically recognizing further comprises comparing the document content to at least one of the context metadata and a derivation of the context metadata.
10. The method of claim 1, wherein the document comprises one of a word processing document, a spreadsheet, a presentation, a drawing and a web page.
11. At least one computer-readable medium for use in a system which includes an application executing on a first computer and an application service executing on a second computer, the first and second computers being coupled via a network, the application being operable to manage a document and receive input from a user comprising document content, the document content corresponding to a service entity managed by the application service, the at least one computer-readable medium including information which defines a binding between the document content and the service entity, the binding enabling the user to access the service entity by selecting the document content within the application, the binding comprising:
- application metadata for the document content, the application metadata being associated with the document content, the application metadata including information which provides a reference to the service entity; and
- context metadata which specifies a transformation performed on at least a portion of the information included in the application metadata to access the service entity.
12. The at least one computer-readable medium of claim 11, wherein the application metadata is provided via an XML schema which is associated with the document content.
13. The at least one computer-readable medium of claim 12, wherein the XML schema is provided in a data structure employed by a smart tag.
14. The at least one computer-readable medium of claim 12, wherein the XML schema is attached to the document.
15. The at least one computer-readable medium of claim 11, wherein the application metadata is provided via a URL.
16. The at least one computer-readable medium of claim 11, wherein the application metadata includes references to the context metadata, the service entity, and a view of the service entity.
17. The at least one computer-readable medium of claim 11, further including an act, performed before the act (A), comprising automatically recognizing that the document content provided by the user corresponds to the service entity.
18. The at least one computer-readable medium of claim 17, wherein the acts (A) and (B) are performed transparently to the user.
19. The at least one computer-readable medium of claim 17, wherein the act of automatically recognizing further comprises comparing the document content to at least one of the context metadata and a derivation of the context metadata.
20. The at least one computer-readable medium of claim 11, wherein the document comprises one of a word processing document, a spreadsheet, a presentation, a drawing and a web page.
Type: Application
Filed: May 23, 2005
Publication Date: Nov 17, 2005
Applicant: Microsoft Corporation (Redmond, WA)
Inventors: Alexandru Burst (Redmond, WA), Alisson Sol (Redmond, WA), David Koronthaly (Issaquah, WA), David Law (Seattle, WA), Ricard Dalfo (Redmond, WA), Todd Abel (Redmond, WA), Maarten Mullender (Duvall, WA)
Application Number: 11/135,007