Title of Invention

"DISTRIBUTED COMPUTING SERVICES PLATFORM"

Abstract A method for fulfilling a request at a first services that facilitates communications within a server federation that includes a plurality of servers that communicate with a plurality of client devices, the method comprising the following: a first server of the plurality of servers receiving a network request for a service across a transport-independent messaging infrastructure, the network request structured in accordance with a schema accessible to the plurality of servers and the plurality of client devices, the meaning of the network request being implied by the schema; the first server recognizing the meaning of the network request implied by the schema; the first server determining that it can access some of the information needed in order to respond to the network request without having to contact other servers based on the recognized meaning of the network request; the first server determining that further information is needed from at least a second server in order to respond to the network request based on the recognized meaning of the network request; the first server structuring a further network request for the further information in response to determining that the further information is needed, the further network request structured in accordance with a second schema wherein the meaning of the request for further information is implied by the second schema; the first server dispatching the further network request to the second server using the transport-independent messaging infrastructure and which includes a messaging component communicating with a common Application Program Interface that supports a plurality of transports, the Application Program Interface providing common semantics to messaging applications regardless of the underlying transport associated with a network message; the first server receiving a network response from the second server across the transport-independent messaging infrastructure, the network response including the further information and the network response being structured in accordance with the second schema; and the first server using the further information to respond to the network request for the service.
Full Text FORM 2
THE PATENTS ACT 1970
[39 OF 1970]
COMPLETE SPECIFICATION
[See Section 10, Rule 13]
"DISTRIBUTED COMPUTING SERVICES PLATFORM"
MICROSOFT CORPORATION, a corporation of the State of Washington, which has a principal place of business at One Microsoft Way, Redmond, Washington 98052, United States of America,


The present invention relates to a method for fulfilling a request at a first server that facilitates communications within a server federation that includes a plurality of servers that communicate with a plurality of client devices.
1. The Field of the Invention
[0001] The present invention relates to the field of communications. More specifically, the present invention describes a distributed computing services platform tor facilitating improved communications and collaboration across computer networks (such as the Internet).
2. The Prior State of the Art
[0002] The Internet has revolutionized the way people communicate and has ushered in a new era in human history often termed the "information age." In essence, the Internet includes a large constellation of networked computers that are spread out over much of the world. Sophisticated computers, software, and networking technology have made communication over'the Internet fairly straight forward from the viewpoint of the end user.
[0003] For example, a user can compose an electronic mail or "e-mail" message using commonly available electronic mail software. After specifying the address of the recipient(s), the user simply transmits the message by, for example, using a mouse to activate a "send" icon on the computer display. The message is then routed over the Internet from one computer system to the next until the message arrives at the destination computing device.
[0004] In addition, conventional browser software allows the user to request information such as a Web page from remote computers. • After the user enters the address of the Web page, the browser then causes the user's computer to transmit the request using widely recognized communication protocols such as, for example, HyperText Transport Protocol (HTTP). The request is then routed using the destination address to the destination computer or Web site.
[0005] The remote Web site evaluates the request and returns an appropriate response often including the information requested. The requested Web page is returned in a format, such as HyperText Markup Language ('HTML') format, that is parsable by the

Web browser. The parsed Web page is then rendered and presented to the user on the
computer display. •
[0006] Web browser software is available for many types of widely available computers including general purpose personal computers (PCs), television set top boxes,
personal digital assiatants ceiiular telephones and the like In addiition there are millions
of Web sites that are publicly available to anyone with access to such conventional browser software and an Internet connection. These factors combine to allow more people more access to more information than ever before,
{0007] In sum, the Internet provides simple global connectivity for a large number of users. While the current use of the Internet provides many advantages to businesses and individuals alike in providing access to information, the Internet could be more efficiently used to access and use information in a more flexible manner. For example, one dominant use of the Intemet can generally be characterized as "read-only," After a publisher creates and publishes a Web page, the Internet essentially serves as a presentation tool that allows users to read the information on the page. The Internet itself provides little or no capabilities for the user to write, edit or otherwise interact with the Web Page.
[0008] Also, while the Internet allows individuals to directly access millions of Web sites, there are few, if any, standards that allow Web sites to communicate or share information with one another. Each Web site typically maintains different ID's, preferences, data formats and schemas, connectivity and so forth. For this reason, it can take significant time and expense to enable interaction between two Web sites, let alone numerous Web sites. Thus, Web sites typically do not harvest the vast and rich spectrum of information offered by other Web sites on the Internet. Instead, many Web sites are forced to independently collect and compile information into a somewhat static form, even though that is already available from different Web sites. Therefore, although there is widespread connectivity between a vast number of sites and computers via the Internet, little has been done to take advantage of such connectivity in the form of automated

interaction and the revolutionary advances that could be enabled remain largely unrealized.
[0009] The efficiency and flexibility of the Internet is also limited by other factors constraining users' access to information and services. For example, a user equipped with a personal computer may have access to a significantly larger set of Internet resources than the user of a cellular phone due, for example, to constraints associated with the underlying platform. When platform constraints are not an issue, other problems (such as security and storage) may still limit access to Internet resources by the same user and, even more so, by different users, across platforms. Even if the same information and services can be accessed, overall efficiency'and flexibility are impaired when, for example, the user must negotiate a significantly different user interface or follow different protocols to access those resources.
[0010] Further, Internet users are often confronted with too much information that is difficult to filter and organize. • For example, it is common for a web search engine to return thousands of possible "hits" to a simple query. The user must manually filter through these hits to find relevant information. Also, users' email in-boxes are often bombarded with junk e-mail or "spam" that are often irrelevant or low priority to the user. Although some in-box filters exist, the user must still scan through the remaining messages in order to find the high priority or important messages. [0011] Therefore, there is a need for systems and methods that facilitate greater and more consistent user interaction and collaboration, and inter-Web site communication over the Internet. There is also a need for more personalized, relevant information to be provided to users, without overwhelming users with too much information.
SUMMARY OF THE INVENTION [0012] The foregoing problems in the prior art are overcome by the present invention, which is a distributed computing services platform that facilitates more Internet-based collaboration and more inter-Web site communication. First, the general conceptual architecture of the platform is summarized. Then, the integrated technology components of the platform are summarized. These components include programming model,

schema, user interface, events, messaging, storage, directory, security, and code management Lastly, scenarios are described which illustrate how the present invention facilitates the improved collaboration and communication in people's everyday lives at work and at home.
[00131 .The distributed computing services platform of the present invention
facilitates communication between client devices and a server federation, and between servers within a server federation. The server federation may be comprised of, for example, servers and services on the Internet and/or a corporate intranet. The clients and servers, while mamtaining some degree of autonomy, are integrated through meaningful communication and information exchange. This meaningful exchange is enabled by exchanging information through common schema across a transport-independent messaging infrastructure,
[0014] The platform comprises a number of distributed yet integrated technology components and services, including programming model, schema, user interface, events, messaging, storage, directory, security, and code management. The programming model defines a structure for an application that can be flexibly distributed between the client and the server federation. An application that follows the programming model includes page, emissary, and fiefdom components. The page component hosts controls typically used to project a user interface for the specific client device in communication with the server federation. The emissary component generically represents the client to the server federation. The fiefdom component owns the data that constitutes the primary resource of the application. These components generally communicate with each other through asynchronous messaging. The messages may be generated by logic internal to a component, by events generated internal to the component, or in response to messages received from other components.
[0015] The platform relies on schema to make communication meaningful. Schema is a set of rules or standards that define how a particular type of data can be structured. Thus, the federation's computer systems use schema to recognize that data conforming to a particular structure represents an item of a particular type used throughout the

federation. Thus, the meaning of data, rather than just the data itself, may be communicated between computer systems. For example, a computer device may recognize that a data structure that follows a particular address schema represents an address, enabling the computer to "understand" the component part of an "address. The computer device may then perform intelligent actions based on the understanding that the data structure represents an address. Such actions may include, for example, the presentation of an action menu to the user that represents things to do with addresses. Schemas may be stored locally on a device and/or globally in the federation's "mega-store," A device can keep a locally stored schema updated by subscribing to an event notification service (in this case, a schema update service) that automatically passes messages to-the device when the schema is updated. Access to globally stored schemas is controlled by the security infrastructure.
[0016] User interaction with devices occurs mainly through a user interface. The user interface (Ul) of the present invention is multi-modal, intelligent and responsive. The user interface scales appropriately to the technical capabilities of various client and server devices. The user interface also remembers the state, session and preference status of a user across devices. Thus, a user may switch from one device to another mid-session with all state and preference information remaining consistent, or different users may share the same device and be presented with different interfaces based on their preferences. After a user properly authenticates themselves via the security infrastructure, user preference information can be accessed through directory services which store user-specific information (such as favorites, contacts, etc.)' specified by schema. The user interface is also multimodal, meaning that the user can interact with the XJI through multiple modes. For example, the user input may be through "traditional" methods such as keyboard entries or mouse clicks. The UJ also allows other input methods, such as audio/voice input for devices that are equipped with microphones or stylus/touch input for devices that are equipped with touch screens or pads. [0017] Events within the platform are used to synchronize, report or provide notification about certain activities. The platform's event component includes event

sources that generate events that are communicated to event sinks throughout the federation. The system includes an event composition mechanism that transforms atomic events into progressively higher-level events even including inferential machinery that transforms input events into higher level events through logical or probabilistic reasoning about the -input events,. The event composition mechanism adants the set of available atomic events into observations that are appropriately matched to the informational requirements of software components, providing the components with information at the right level of abstraction to make good decisions. Events are accessible to software components via several mechanisms including: 1) a subscription by the software components to events of certain classes provided by one or more event sources; 2) by intermittent polling of one or more sources; or 3) by'listening to wider broadcasts of events by event sources. For any of these methods of accessing events, the events are accessible to applications via the messaging infrastructure, although the message transfer type may be dependent on the type Of event. For example, events may be associated with different tolerances in latencies, so that the communication of events may be guided by the cost associated with the delay in transmission. For this reason, an event notification that a mission-critical server is down requires a guarantee of immediate delivery to its destination. Other events, such as an update on the general location of a user may be associated with lower costs of delay. Also, the user interface may notify users of particular events in a manner proportional to the urgency of the notification. For example, a network administrator might receive an urgent pop-up message that a server is down, or a teenager may receive notification that one of his friends is in the area through an instant messenger or chat interface. Event notification is also controlled by authentication and authorization security mechanisms.
[0018] The messaging component 160 is the mechanism by which events and other information may be exchanged across the platform. The messaging services provide efficient and reliable messaging over the Internet using any of a variety of transports, including HTTP. The messaging infrastructure establishes a standard interface fbr
t t
application developers to write applications that take advantage of the overall architecture

of the messaging services and' the other features associated with the invention. Messaging may occur asynchronously thus enabling the constant update of pages without requiring user-initiated page refreshing. {0019] The storage service allows for distributed storage throughout the server
federation As discussed above, user preferences and files may be stored in a :,mega-
store" in the federation and, after proper authentication, the user can access this information from any location using any device. The "mega-store" is not necessarily all on a single.server; storage may be distributed across servers in the federation based on efficiency, memory allocation, frequency of access, etc. The information stored in the •server federation can also be replicated locally to allow a user to work off-line. When the user goes back on-line, an event is generated that triggers automatic synchronization of the off-line and on-line data. The storage service includes a data engine that is built upon conventional file systems. Methods for prioritizing information for local caching and for allowing cached information to be removed based on changes in context and/or the age of the cached information may be employed to maximize the value of the cached information.
[0020] To support the concept that a user can be known or identified easily by various services, a directory component is provided. The directory service of the present invention supports the federation by including per-enterprise or per-Web site meta-directories with synchronization between the meta-directories. This synchronization is facilitated by standardized schema used to communicate between directories. These meta-directories provide references to specific adapted directories where more detailed information can be found. For example, directories can contain user identity information (name, address, etc.), security information (what information the user is authorized to access), etc.
[0021] The security infrastructure of the present invention provides improved security across server federations. To ensure user mobility and privacy, the security infrastructure provides for a single individual having multiple identities. For example, an individual mav have a professional identity and a personal identity. The present

invention facilitates authentication and authorization in which these multiple entities are
treated as a single entity. Furthermore, improved firewall technology is described in
which personal firewalls, perimeter firewalls, and security gateways operate
independently from each other. Security may be implemented by any combination of
technologies, such a passwords, smartcards. biometrics ffineerorints. retina scan. etc.').
I key exchange, encryption, etc.
[0022] One goal of the platform is to ensure that users transparently have access to
the most updated applications and code that they need. The code management system of
the present invention includes a manifest that describes the structure of an application
including code, resources, entry points and configuration information for the application
and its constituent components. The code management system allows applications
conforming to the programming model to be deployed and updated across the federation
in an efficient manner.
[0023] Additional features and advantages of the invention will be set forth in the
description which follows, and in part will be obvious from the description, or may be
learned by the practice of the invention. The features and advantages of the invention
may be realized and obtained by means of the instruments and combinations particularly
pointed out in the appended claims. These and other features of the present invention
will become more fully apparent from the following description and appended claims, or
may be learned by the practice of the invention as set forth hereinafter.
BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order that the manner in which the above-recited and other advantages and
features of the invention are obtained, a more particular description of the invention
briefly described above will be rendered by reference to specific embodiments thereof
which are illustrated in the appended drawings. Understanding that these drawings depict
only typical embodiments of the invention and are not therefore to be considered to be
limiting of its scope, the invention will be described and explained with additional
specificity and detail through the use of the accompanying drawings in which:

[0025] Figure. 1 illustrates an architecture that provides a suitable operating
;nvironment for the present invention.
0026] Figure 2 illustrates a programming model for an application that may be
mplemented in a distributed fashion across the architecture of Figure 1.
0027] Figure 3 illustrates a schema store and schema services in accordance with the
nresent invention.
[0028] Figure 4 schematically illustrates a user interface component in accordance
with the present invention.
[0029] Figure 5 schematically illustrates an event system that provides event
notifications between a plurality of event sources and a plurality of event sinks in
accordance with the present invention.
[0030] Figure 6 schematically illustrates a messaging architecture for use with the
present invention.
[0031] Figure 7 schematically illustrates a storage architecture for use with the
present invention.
[0032] Figure 8 schematically illustrates a directory architecture for use with the
present invention.
[0033] Figure 9 illustrates an example communication flow using the directory
architecture of Figure 8.
[0034] Figure 10 schematically illustrates a security service for use with the present
invention.
[0035] Figure 11 illustrates a data structure showing how global identifiers are used
to maintain profile information. ■
[0036] ' Figure 12 illustrates an improved firewall configuration for use with the
present invention.
[0037] Figure 13 illustrates a code management manifest for use in software
development.

ASCRIPTION OF THE INVENTION A, INTRODUCTION
,[0038] The present invention extends to methods, systems and computer program products comprising a distributed network services platform which facilitates more Internet based collaboration and inter-Web site cornmunication. The various architectural components of the present invention may be distributed across various special purpose or general purpose computing devices, including various hardware components, such as personal computers, servers, laptops, hand-held devices, cellphones .or the like, as discussed in greater detail below,
,, [0039] Embodiments within the scope of the present invention also include computer-readable media for carrying or having computer-executable instructions or data structures stored thereon. Such computer-readable media can be any available media which can be accessed by a general purpose or special purpose computing device. By way of example, and not limitation, such computer-readable media can be physical storage media such as RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computing device. When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computing device, the computing device properly views the connection as a computer-readable medium. Thus, any such a connection is properly termed a computer-readable medium. Combinations of the above should also be included within the scope of computer-readable media. Computer-executable instructions comprise, for example, instructions and data which cause any general or special purpose computing device to perform a certain function or group of functions.
[0040] In this description, the general architecture of the present invention may be implemented is first described under the ARCHITECTURE section. Then, sections are set forth describing each of several technology components of the architecture. These

sections include the PROGRAMMING MODEL, SCHEMA, USER INTERFACE, EVENTS, MESSAGING, STORAGE, DIRECTORY, SECURITY, and CODE MANAGEMENT. Finally, various scenarios will be described in the SCENARIOS section that illustrates how the architecture and technology components facilitate improved Tntemetoommunication and collaboration.
B. ARCHITECTURE [0041] Figure 1 schematically illustrates an operating environment 100 in which the present invention may be implemented. Client devices 110 have a wide variety of processing and memory capabilities. For example, the client devices 110 include "rich" clients (e.g., rich client 112) that are capable of performing a high degree of data processing such as desk top Personal Computers (PCs) and "thin" clients 114 that are less capable of processing data such as cellular phones and pagers. It is understood that the distinction between a rich client and a thin client is a spectrum; there are many devices (hand-held or Tablet PCs) for example, that fall in the middle of the spectrum. [0042] Regardless of the device type or the processing capability of the client, most client devices may be operated by a user in either an online or offline state. While online, each client device may communicate with server federation 120 via the distributing computing services platform 115 of the present invention. Conceptually, server federation 120 comprises, for example, the world-wide network of computer systems commonly referred to as "the Internet" 125 as well as one or more private computer networks, such as corporate intranets 130. The servers within the federation (i.e., servers 140a, 140b in the Internet 125 and servers 140c, 140d in the corporate intranet 130) also communicate with each other via the platform 115.
[0043] Conceptually, platform 115 comprises several platform components comprising technology and services, including a programming model component 135, a user interface component 140, a storage component 145, a directory component 150, an event component 155, a messaging component 160, a security component 165, a schema component 170, and a code management component 175. Although conceptually illustrated as distinct in Fig". 1, it is understood that each of the platform components 135,

140, 145, 150, 155, 160, 165, 170 and 175 may be distributed throughout the server federation 120 and client devices 110. Further, many of the platform components provide services to the client devices 110 and server federation 120. Each platform . component is loosely-coupled to the other platform components, as indicated by arrows ISO, enabling the platform 115 to provide integrated technologies and services. The distributed nature of the platform 115, along with the supporting services and integration of the platform components contribute to and facilitate the advanced features and advantages of the present invention.
[0044] The clients 110 and servers 140 of the server federation 120, while .mamtaining some degree of autonomy, are integrated through meaningful communication and information exchange using common schema across a transport-independent messaging infrastructure, as provided by the schema platform component 170 and the messaging platform component 160 discussed in more detail below. Bi-directional arrows 190 represent this communication that occurs among the servers and clients. Bi¬directional communication allows a client device 110 to read from, write to, and otherwise interact with the server federation 120. The present invention may be implemented using any communication mechanism that is able to communicate data bi-directionally according to a schema. In one example, the communication occurs via an extensible Markup Language ("XML") format which enables communication of name/value pairs.
[0045] In some instances, communication between a client device 110 and the server federation 120 may also be one-way or "read-only". This one-way communication is the predominant form of communication on the Internet today. In this type of "read-only" .communication, after a publisher creates and publishes a web page, the Internet essentially serves as a presentation tool that allows users to read the information on the page. Technologies that permit this presentation include the Wireless Application Protocol ("WAP") which permits communication to wireless devices. Also, a Web page format called HyperText Markup Language ("HTML") allows for information to be downloaded from a network site. The information is then parsed, rendered, and presented

on a client display. The platform 115 of the present invention, however, extends the conventional web presentation model to allow for rich, interactive, bi-directional communication.
[0046] The platform 115 allows servers 140 within the federation 120 to cooperatively share information and/or perform functions. Rather than each server having to collect and compile information on their own, the servers can instead rely on the services of yet other servers where the information is readily available to implement an efficient division of labor. The user is then given rich information without the user having to worry about all the intricate inter-server communication that occurred in the server federation in order to produce the rich information. For example, the servers 140 in the server federation 120 may exchange information that allows for stock quotes from one server to be displayed in one portion of the user interface of a client device 110, news articles from another server to be displayed in another portion of the user interface of the client device, and instant messages from yet another server to be displayed in another portion of the user interface of the client device.
10047) The servers 140 within the server federation 120 communicate and otherwise share information using standardized data structures or schemas provided by the schema - platform component 170. Schemas allow for more meaningful interaction between servers and applications rather than just exchanging information between servers. This recognition of meaning allows the servers to perform functions based on the recognized meaning of the information. If an application recognizes information as meaning, for example, the address of a given entity, the application may perform certain functions based on that recognized meaning. For example, the application could automatically fill in an address field of a template corresponding to the given entity with the address information. The application could also detect that the zip code or state is missing within the address and thus automatically query other servers for the missing information so that all address fields may be filled in automatically without user intervention. Thus, the cooperation between the servers is even more productive since each of the servers is

)
intelligent in that they recognize meaning associated with data and can then act on that information without requiring human intervention.
C. PROGRAMMING MODEL
[0048] Figure 2 illustrates the multi-tier programming model component 135 of
.platform 115. The programming model describes how an application 200 may be
distributed to varying degrees among the client devices 110 and the server federation 120
of Figure 1. An "application" is defined as a body of software that performs a function
,and may include a Web site. In a distributed application, components of the application
may be stored on the client device while other components are part of the Web site. In
,?.general, the application 200 is composed of a number of application components
including page component 210, emissary component 220 and fiefdom component 230.
The page component 210 hosts controls to project a user interface or experience for the
appropriate client device 110, The emissary component 220 generically represents the
client to the server federation and, thus, acts as an emissary between the client and server
federation. The fiefdom component 230 most directly controls the live data that
constitutes the critical resource of the application 200. A single application may have a
varying number of these components (for example, more than one page component).
Also, some applications may not have all components.
[0049] Depending on the capabilities of the client, the page and emissary components may run on either the client or the server federation. Jn thin clients that have little or no processing capabilities, the page and emissary components would more likely run on the server federation, In rich clients that have greater processing capabilities, such as desktop Personal Computers (PCs), the page and emissary components may more likely run on the client.
[0050] Each of these application components, the page, emissary and fiefdom, contains a body of logic 240 (i.e., computer-executable instructions) that are used for sending and receiving asynchronous messages, via the messaging component 160, from one component to another. For example, page level logic 240a is used to asynchronously send messages from page component 210 through messaging queue 250a to emissary

component 220. Emissary level logic 240b is used to asynchronously send messages from emissary component 220 through messaging queue 250b to page component 210. Emissary level logic 240b is also used to asynchronously send messages from emissary component 220 through, messaging queue 250c to the fiefdom component 230. The fiefdom level logic 240c is used to asynchronously send messages from fiefdom component 230 through messaging queue 250d to emissary component 220. Thus, asynchronous information exchange occurs among the page, emissary, and fiefdom components of the application 200. m accordance with the messaging component 160, the message queues provide a reliable channel for sending messages between the components and support a variety of transmission semantics (i.e., guaranteed exactly once delivery, transactional delivery and no-guarantee delivery). The messages are defined via schema (for example, XML schema).
(0051] The body of logic 240 within each of the application components is also used to host controls 260. Generally, controls represent functionality that oan be accessed by, and may be part of, the functionality of the program component. For example, the page level logic 240a hosts controls 260a, the emissary level logic 240b hosts controls 260b, and the fiefdom level logic 240c hosts controls 260c. Each control 260 exposes callable methods, properties that may be synchronously read or written, and events that may fire asynchronously causing logic in the page, emissary, and/or fiefdom components to execute. Generally, the events triggered by the controls are low-level events, such as an invocation of a method on an object Thus, when a message is received by a component, it generates the events, which causes code in the components to execute. [0052] The page component 210 uses the page level logic 240a for directly and synchronously manipulating controls 260a so as to project a user interface or experience, i Depending on the user interface capabilities of the client, the page component may silently redirect invocations to particular versions of the page that are compatible with the client. For example, one page may be suitable for a rich client, other pages may be suitable for use with thin clients, such as phones or other such devices. The page component 210 may recognize the identity of the cKent by using the Uniform Resource

Locator or URL of the client and thus redirect to the appropriate version of the page.
Regardless of the page version, however, the user interface will appear consistent across
.,,. a wide range of client devices, though some features will be present or more fully
- developed in richer versions of the page, as discussed below in connection with the user
interface component 140.
[0053] The page component may also invoke different page versions depending on the processing capability of the device that is to implement the page component, r regardless of the user interface available to the client. For example, if the page component is to be implemented on a client personal computer or server that has high .processing power, the page component may redirect to a rich control page that allows extensive user interaction with the page, On the other hand, if the page component is to be implemented on a thin, less robust client, the page component may redirect to an HTML-only version of the page which typically contains little, if any, control features that allow the user to interact with the page.
(0054) The emissary component 220 encapsulates a body of logic 240b that can synchronously interact with controls 260b. The logic 240b is also designed to abstractly represent the client to the server in a standardized fashion no matter what the client device type. The emissary component may access read-only data published by the fiefdom component and stores such data in a replica data storage 271. The emissary component also contains per-user read/write (R/W) data such as shopping cart data that is stored in a R/W per user data storage 272. The body of logic 240b may be executed in response to mcorning message from the message queues 250a or 250d. [0055] The fiefdom component 230 encapsulates a body of logic 240c that logically .'■owns" the live data stored in live data storage 280. The body of logic 240c runs in response to messages received from emissary components such as emissary component 220 associated with the fiefdom component. The fiefdom component 230 performs security services on any emissary component that requests access to services. ; [0056] Each component in the application maintains state information regarding the explicit user and session states. Thus, each component supports objects used for the

replication of such user and session state information. This state information may be shared with the other components in the application through asynchronous messaging that supports the communication of such state information. Thus, each component may be made aware of the user interface state at any given point in the session. Furthermore, each component may be made aware of a user's preferences,
[0057] The benefits of the programming model component 135 will now be described. The components within the application are capable of asynchronous messaging. Accordingly, components are not required to explicitly request information in order to receive a message. Also, components are not required to receive an explicit request for information in order to send a message containing such information. Therefore, the programming model supports the sending of messages to the page component (and thus the updating of a user interface) without the user having to explicitly refresh the Web site. Thus, pages may represent asynchronous user interfaces in which the page is automatically updated as the page component receives messages from the emissary component. Also in such a situation, it may not be necessary for the emissary to access replica data, since the live data is available through the fiefdom. [0058] In addition, the programming model includes controls that may fire asynchronously upon the happening of defined events, thus causing logic in the component to execute. This logic may send an asynchronous message to other components in response to the event thus allowing any of the components in the application to execute in response to defined events. Thus, the application is highly event driven. These events may drive methods to be asynchronously executed in any of the components of the application.
[0059] For example, the fiefdom component may host a control that is configured to fire in the event any new articles containing predefined words are added to a database. The triggering of the event may cause the fiefdom to send an asynchronous message through the emissary component to the page component. In response to this asynchronous message, the page component may render a notification message for presentation on the client thereby notifying the user of the new article. For example, if

the client device is a thin client, the user interface may include a small notification window indicating the existence of such new articles. If the client device is a rich client, the user interface may display the new articles in their entirety on the screen. Any or all of the page, emissary, or fiefdom components may also undertake other action based on the same event such as the composing of an e-mail forwarding the article to an associate also interested in articles containing the predefined words. Thus, the programming model enables complex event driven applications.
[0060] Also the programming model facilitates the flexible positioning of these components between the client and the server federation, and permits for the online as well as offline use of the application. For example, the application maybe constructed so as to allow either offline or online execution. This may be done by allowing page components to be hosted directly on the client with those page components communicating directly with emissary components also hosted on the client. When offline, the application accesses, the replica data in the replica data storage 271 instead of the live data in the live data storage 280. Once online, access is restored, the emissary component sends queued updates to the fiefdom and the replica data is updated to reflect the current state of the live data managed by the fiefdom component. [0061] The application may also be constructed so that all components, page, emissary and fiefdom are hosted on the server federation, h. this case, the client must be online with the server federation in order to access the services of the page, emissary and/or fiefdom components,
[0062] In addition, some portions of an application may be available when offline (hereinafter, "offline portions") and other portions of the application may only be available when the client is online (hereinafter, "online portions"). The page and emissary components that enable the offline components of the application are hosted by the client, while the page and emissary components that enable the online portions of the application are hosted by the server federation.

[0063] Thus, many of the other technology components of the distributed computing 115 services platform of the present invention may be implemented in accordance with me programming model component 135.
D. SCHEMA. [0064] . _.One method for enabling more Internet based collaboration and inter-Web site communication is through more meaningful communication of data. This meaningful or intelligent communication provides more than just the data, but also supplies an inference of what and/or why the data is being communicated. This may be accomplished by structuring the data in a standard way or "schema" such as through standard data structures, protocols, communication transports, and other structured data exchanges. Information stored at client devices 110, in the servers 140, and/or according to the storage component 145 may be stored according to a schema. Schema are also used when communicating information between servers and in the server federation 120, between me server federation 120 and the clients 110, and between the platform components. In addition, asynchronous messages that are communicated between the various components 210, 220 and 230 of the application of Figure 2 may be communicated using schema.
[0065] In many situations, a user desires to use data from multiple applications and data sources to create reports, analyze progress, predict needs, or detect changes in operating conditions. Unfortunately this type of data, although often available, is presently found in completely different formats as each application typically uses its own set of schema. In other words, although applications describe similar data types such as contacts and time, these data types often use different vocabulary and have different attributes from application to application. Thus, specialized translation or. import/export . functionality are conventionally needed in order allow applications that follow different schema to communicate.
[0066] In order to foster communication and collaboration in the server federation 120, the schema and schema services component of the present invention provides a foundation for interaction and collaboration on the server federation 120 for a wide

as dates, addresses, prescriptions, show times, product descriptions, prices, receipts, preferences, medical records, movie reviews, or other related data types.
[0067] A universal schema is probably not realistic because different applications will have different needs and legacy and cross-platform applications will need to be supported. Instead, the schema component 170 of the present invention attempts to define "core schemas," which are a minimal common schema that defines only things that most applications will have in common. The core schemas are extendible, such that new schemas describing significant data entities useful for facilitating data interaction and collaboration may be defined and added to the core schemas described below. Additionally, schemas may function at several layers with the network including the operating systems or user interfaces of the client devices and server federation of Figure
1.
[0068] There are several types of core schemas, including: (i) base types, (if) social
types, (iii) business types, (iv) system types, and (v) application types.
[0069] (i) Base types are used as the basic building blocks for other types.
Exemplary base types include types such as objects, items, containers, databases, folders,
messages, texts, or other base data structures. Translation of the various schema used by
diverse applications into a base type schema may be accomplished by a translation filter,
described below.
[0070] (ii) Social Types represent or describe items used in daily tasks and
interactions, Exemplary social types include items such as contacts, profiles, calendar,
tasks,, times, locations, finances, and other socially exchanged information or
identification. Like base types, translation filters may be created to transfigure
incompatible data structures into social type schema.
[0071] (iii) Business types are used to describe common things in business
environments and business-to-business (B2B) transactions. Exemplary business types
include types such as products, accounts, customers, employees, distributors, retailers,
suppliers, and other business data,

[0072] (iv) System types define the structure of information used for managing systems, Exemplary system types include types such as policies, schedules, services, devices, and other system related information.
[0073] (v) Application types define the structure of applications and services. Exemplary application types include types such asapplicatioh manifests, assembly manifests, and COM+ type descriptions. System and application types are based on information specific to the system and hardware configurations. [0074] The schema component 170 also provides several schema services 292 that are used to store, find, query, publish and share schema information and data. Referring to Fig, 3, a schema store 290 is a location where schema information is collected and shared. For example, the schema store 290 may contain descriptions of core schema types and mappings between known schema and core schema types. In one embodiment of the invention, the schemas are XML schemas and are described in the schema store 290 by a schema description language. (One example of a schema description language is XSD, which may be extended for use with the present invention). The schema store 290 is an instance of a storage component 145 of the present invention (which is described in more detail below). Thus, the schema store 290 may be distributed throughout the server federation 120. Although the schema store 290 is not the only place where applications may store schema, by storing schema in this location, an application can guarantee that schema services 292, and applications that use them, will be able to discover and work with that schema. Applications may also replicate and store schemas locally and update them using the schema store 290 and schema services 292, as described in more detail below. Access to the schema store 290 and schema services 292 could be controlled by the various security authentication, authorization and firewall services provided by the security component 165.
[0075] Schema services 292 generally include schema registration services, which are mechanisms for applications to store, find, query and publish schema information, For example, schema store 290 may collect and reference various schemas via, for example, schema registration service that may include, for example, a schema registration API

(application programming interface). The schema registration service allows applications to add or remove schema-information from the schema store,
[0076] Schema services 292 may also include schema update services which allow administrators, operating systems, or other background schema moderators to update
scheraas,, Schema services 292 may also include a distributed schema service to fetch
schemas that are not persisted in the store by following references in the instance data. To facilitate this services, schemas may be stored throughout the server federation 120 in accordance with the storage component 145 and the eventing component 155 can be used to notify applications when new schemas are published, thus allowing global distribution of schema, The schema services 292 may further include a schema validation service to maintain integrity and consistency of the schema and mappings in the store. This service provides structural validation of the schema description language, checks for redundant and conflicting entries, and consistency verification of associations between schemas. The schema store 290 will also rely on the eventing component 155 of the present invention to provide notifications of changes to schemas. The schema store 290 may also rely on the messaging component 160 of the present invention as a transport to distribute updates, events, subscriptions, and notifications.
[0077] For example, a local schema store can subscribe to a schema update service to update core types and schemas. One configuration uses ah object manager to support registration for schema events allowing an interested user to detect when some relevant schema change occurs. The local schema store can subscribe to one or more sources for updates. The .update service(s) pre-populates the schema store with core types, such as people and time, and mappings of common schemas, such as MAPI, vCard, LDAP, and WMI to these core types. Enterprises can host a similar update service to maintain the schema stores within their organization network.
[0078] Schema transformation services (also part of schema services 292) enable applications that use different schemas to share meaning. Example schema transformation services include schema adaptor service, schema recognizer service, and schema mapping service, Schema transformation services allow applications to

dynamically support new schemas by providing shared mechanisms to recognize data and by transforming data in one schema to another schema. The schema transformation services make it easier for applications to understand a wide range of schemas, increase robustness and consistency across applications, and allow applications to dynamically support new schemas by providing shared mechamsms to recttgm^edata and to transform data in one schema into data in another schema.
[0079] For example, a schema adaptor service makes it possible to work with data that is not structured in a standardized language such as XML. The schema adaptor service receives non-XML data and converts it into XML data or any other type of data that is used to communicate with schemas.
[0080] A schema recognizer service identifies the schema type of a data instance so that an application knows what to do with the data. The schema recognizer service receives as input XML data or plain text. For XML, the schema recognizer service queries the schema store 290 using a standard storage query service 294 to determine the schema type, using the XML namespaces to narrow the list of possibilities. To infer the schema type from plain text, the schema recognizer service relies on natural language services, which may in turn use the schema store 290. Once the schema type is known, an application may use this information to provide its own user interface or enable a system-wide user interface,
[00S1] A schema mapping service takes XML data in one schema, transforms the data based on mappings defined in the schema store 290, and returns the data in an XML representation of another schema. In one configuration the schema mapping service is used by applications with writing import or export functionality, often in conjunction with the schema adaptor service.
[0082] Schema persisted m the schema store 290 may describe the applications, scripts, components, method bindings or data sources that can be used to act on or represent a specific schema type. For example, an application may provide a standard user interface to display data of a specific schema type, while another application may have business logic to operate on that data. Which action is appropriate for a given

scenario is dependent on the users preferences of context. These schema services cooperate with the user interface component 140 to enable several end user features, such as action menus, auto-complete, and smart clipboard drag-n-drop (described below) [0083] The action menu feature presents a choice of available actions on a piece of data in anv.a"T»lic-ation, In one nnn-fjgiirptinn. these available actions are presented in a "factoid" fashion allowing the user to choose or ignore them. An application queries the schema store 290 using storage query service 294 for registered actions related to a specific data type. The retrieved actions are used to generate the action menu, For example, when a user clicks on an address, the application queries for type "address" and the schema store 290 returns actions as "Print an Envelope" or "Map this Address" that are populated in a context menu. An action menu API allows developers to expose this menu and other application-specific actions in their applications. Pre-populated action menus for each core type in the schema store may be exposed in the operating systems, Internet browsers, and various active applications.
[0084] The schema services could also enhance existing "auto-complete" features, which make it easier for a user to fill out data fields in web forms and documents by presenting choices from a data source listing possible values. The list of possible values presented to the user could be based on registration in the schema store 290. For example, when filling out an "Evite" or "electronic invitation" to invite friends to a party, the email address field would provide a list of addresses from a user Contact list, which was bound to the email address property through the registration in the schema store 290. This same functionality could be exposed through other applications to offer auto-complete in letters, invoices, spreadsheets, mailing lists, databases, or other documents. The same list of values would be displayed in any application that choose to expose this functionality.
[0085] Smart clipboard drag-n-drop uses schema transformation services to allow data to be exchanged between applications that use different schemas. Thus, schema transformation service enhances existing drag-n-drop and clipboard routines to move data

between applications that support different schemas, while preserving a shared
understanding of what the data represents. •
[0086] Thus, the schema component, working in cooperation with other technology
components of the platform 115, such as events, messaging, storage, schema, security,
etc., provides a mechanism to share meaningful information across the client and server
devices.
E. USER INTERFACE [0087] The user interface component 140 of the platform 115 of Figure 1 provides a multi-modal, responsive, and intelligent user interface across a variety of client devices. Figure 4 schematically illustrates the user interface component 140. [0088] The user interface component 140 provides a multi-modal user interface (UI), meaning that the user can interact with the UI through multiple modes and the modes can be seamlessly changed on-the-fly. The user interface component 140 includes an advanced input/output component 400 to allow multi-modal input and output. The input/output component 400 may receive user-entered input using "traditional" methods such as keyboard entries or mouse clicks. For example, the input/output component receives text 402. In addition, however, the UI also allows other input methods, such as audio/speech input (e.g., audio/speech 404) for devices that are equipped with microphones, stylus/touch input for devices that are equipped with touch screens or pads, . and handwriting input (e.g., handwriting 406) for devices that have handwriting input capability. As represented by the bi-directional arrows 408, the input/output component 400 is also capable of providing traditional output such as text 402, as well as unconventional computerized output such as audio/speech 404 and handwriting 406. [0089] The input/output component 400 also incorporates various conversion technology especially useful in inputting information to a device. Such conversions include speech-to-text technology which converts the users' audio/speech input to text. This conversion is helpful when the user is unable or it is inconvenient to enter text using traditionally typing such as when the user is driving a vehicle or otherwise lacks the ability to type. Another conversion useful to input includes handwriting-to-text

technology which converts the users' handwritten stylus/touch input to text. This conversion, allows for text to be entered when a text entering device such as a keyboard is not included with the device,
[0090] For example, a personal computer in the form of a tablet (i.e., "Tablet PC") is ..a device which allows handwriting input by writing directly on the screen using, for example, a stylus. The Tablet PC may then use the input/output component 400 to convert the handwriting into text so that the text may be edited in a way not possible with , handwriting on paper. For example, spaces could be inserted between paragraphs to allow for comments to be inserted. The Tablet PC may display either the handwriting itself or the text of the handwriting as desired.
[0091] The input/output component 400 may also present data to the user in multiple modes beyond the "traditional" text and graphical display. For example, the UI may incorporate text-to-speech technology, which converts text (such as a typed email message) to audio breads" the message through speakers on the device). Also, voice mail may be incorporated into a unified messaging shell along with text-based e-mail messages. Speech to text conversion allows this voice mail to be converted into text if desired.
[0092] The multi-modal user interface allows the user to interact with various devices based on the user's state and proximity. For example, while using a rich client such as a PC, a user may choose to have her messages displayed through video/audio and reply by text However, while in her car, the user may choose to have her messages played only by audio and also reply by audio.
[0093] This natural language communication is enabled based upon user specific unified user interface portal concepts. Exemplary unified user interface portal concepts include the analysis of an input string, the concept of matching via logical form matching, the generation of an appropriate language-like sentence along with the results, helpful feedback based upon customized search parameters for the user, and search infrastructure capable of smart execution over multiple disparate database stores, with a priority set to the user's traditional storage locations.

{0094] In addition to being multi-modal, the user interface component 140 is responsive in that it adapts and/or changes based on the user's state and context across a number of client devices 110. For example, the user interface will be configured and rendered according to the user's preferences and session status so that if the user switches mid-session-n-om one client device to another, the user may"continue the session using the other client device with the user interface appearing consistent (although possibly modified, as discussed below) across client devices.
[0095J Referring to Figure 4, the preference information may be stored in the MyState adapted dixectoiy 905 in the server federation 120. As a user works on a client device, the session status information is regularly updated in the MyState directory 905. When the user switches to another client device, after proper authentication using security component 165, the preference and session information are provided to the new client device. The preference information allows the display of the new client to appear consistent with the old client Furthermore, the session state information allows the new client device to continue in the session where the old client device left off. [0096] The user interface also scales appropriately and smoothly to the technical capabilities of the client device. For example, mobile telephones have obvious technical limitations in their user interface due to space limitations for input keys and display area. The user interface for these mobile telephones would be scaled down so as to emphasize only the more important features of the user interface. Thus, a user may migrate mid-session from a rich client personal computer to a thin client mobile telephone, although the user interface of the mobile telephone will provide a more restricted user experience of the session. This smooth scaling between client devices maybe accomplished through the use of the manifest supplied by the code management component 175 and described in detail below. For example, the manifest may describe the minimum user interface features required to be displayed on the client device and men describe a priority of user interface features to be displayed when all components cannot be displayed on the client. [0097] Referring to Figure 4, there is a whole spectrum 412 of user interfaces available for a client device depending on the capabilities of the client device. The

spectrum includes very rich interactive UI page components (e.g., page component R) for client devices with well developed multi-modal capability, and available processing power. The library also includes thin page components (e.g. page component T) for clients having less developed user interfaces and lower processing power. The user mtsrfaoeXJI-shown in Figure 4 is drawn from, a page component 414 somewhere in this spectrum 412.
[0098] Also, the user interface responds intelligently to user activity. For example, as described above, the user interface component 140 cooperates with schema component 170 (and schema services 292) to provide action menus of "smart tags" to the user. If the user types on an address (either in a Web page, document, or a contacts list), schema services 292 allows the address to be recognized as an address and thus provide a hot tag. The smart tag may be represented by, for example, marking the recognized item with a distinguishing mark such as a blue dashed underlining.
[0099] The user may then select the marked address by, for example, right clicking on a mouse to obtain an action menu that is appropriate for the type of item recognized. For example, an action menu for an item recognized as an address may offer the ability to see a map, print an address label, add to a contacts list and so forth, One of the appropriate actions might include using the address to find more information such as, for example, maps encompassing the address. In so doing, the user interface may consult a mapping service made available through the directory services component 150. [00100] Also, the user interface may detect that the user is typing and thus focus user interface features on word processing activity. For example, the typing may trigger events that result in the user interface deterrnining that the user is likely intended to perform word processing. • Such event triggering and inference building is provided by the events component 155
[00101] The user interface may also have a unified command line, which may be used to perform a search, navigate to a Web site, access a file in a file system, or perform a natural language query or command, hi a preferred embodiment, the unified command line would be provided in some form on every type of device, m performing a query, the

user interface component 140 uses an intelligent feedback process to provoke clarification or seek confirmation for execution of commands, controls or logical processes. For example, the user may type "How's the market doing today?" into the unified command Hne. There is some ambiguity and/or vagueness in this question. The user interface component 140 may then respond by"speakmg "What index are you interested in?" The user may then type in the command box "Dow Jones." The user interface component 140 then has enough information to speak a reply. In order to return the information requested in the command line, the user interface component 140 must cooperate with the storage and messaging components to retrieve the information. [00102] The unified command line may also be used to perform natural language command, For example, a user may type "schedule a meeting with Joe Doe for 3:00," After the user interface component 140 clarifies the date, duration, and place of the meeting, the user interface then consults the calendar of Joe Doe if such access has been granted by John Doe. If the rules and preference established by John Doe allow for the meeting to be schedule at the requested time, place and for the requested duration, the meeting is scheduled in both John Doe's calendar and the requester's calendar. [00103] The umfied command/search line parses and brokers out the query, or command to services provided both locally and on the network. It exists in one place in the user interface, accessed the same way, no matter where they are, and all forms of input - typed (keyboard), spoken, handwritten may be received by the user interface. All levels of intelligence - keyword, Boolean, and natural language (fragments, noun phrases, and/or well formed sentences) may also be received and processed by the user interface.
[00104] The user interface component 140 may provide a single unified shell that recognizes that an end user is one person with many role3 such as, for example, student, employee, manager, financier, patient, parent, consumer, and pianist, The user interface via the single unified shell brings all these roles together creating a rich, seamless experience.

[00105] The unified portal of the user interface component 140 allows the end user to customize and control the settings of the unified portal, including the establishment of project priorities, thereby minimizing the visual separation between the operating system, documents, and applications used for various activities.
[00106] ^Through this customization, the user interface component 140 intelligently
populates and lays out the page. This customization is stored in the MyState directory 905 in the form of preferences. Once a user logs onto the client device and authenticates to the security component 165, the federation of server 120 cooperatively obtains personalized information (possibly stored in the mega-store of tibe storage component 145) following these preference and provides the information to the user interface over thelink410.
100107] The user is also permitted to customize and control the settings of the user interface component 140 to include an awareness of the user's working state and adjust the appearance of the user interface accordingly. Exemplary working states that might require different user interfaces include: when the user is at the PC working, when the user has gone from the office, when the user is accessing data via a PDA or wireless telephone, when the user is working from home, or oilier location or electronic device attached to server federation 120.
[00108] The user interface also enables the end user to instruct a device to collect data relative to the user's prioritization, including the ascertaining of messages and prioritization. For example, the user may set a preference that messages from their boss should always be given high priority and they should be interrupted to receive them. Thus, notifications from the event component 155 that messages are received may be filtered based on these preferences. The unified shell also enables web-based communities to contribute data from individual PCs into the community project. This is particularly useful in work communities as it allows a manager to have the ability to control the content from his PC portal.
[00109] Window sharing and document sharing are also enabled, such that when a user is in communication with someone on a communication list, either party may

activate window sharing or document sharing so that the other individual may view the window or document in question. Such window sharing may be accomplished by accessing a document in the mega-store in the server federation, and configuring the security settings so that others may have appropriate access through the security component! 65 to the document
100110] The user interface also creates ad hoc templates that allow a user to quickly make reuse of existing reports and other data structures. The templates may be published, distributed, or shared through the unified portal with other members of the work community or published on the Intranet or Internet. Template generation can be a. useful feature when working in an electronic work community permitting each participant to contribute to the final product. Certain templates will request specific information from each work community participant to finish the report. [00111] The user interface also enables the use of "buddy fists" with predetermined settings for how listed individuals may be connected or reached. Exemplary connections include electronic mail, telephone, facsimile, address information, video conferencing requirements, wireless communication portal, or other communication mechanism. These "buddy lists" are generated by the event component 155, which triggers an event when an individual logs onto a particular device. The user interface component 140 receives these events and presents them to the user. Finally, the user interface allows for standard personal and calendaring schema to be utilized such that disparate systems may communicate seamlessly.
{00112] The user interface supports the use of personal devices, conference awareness of user object in associated security settings, documents sharing with both local and distributed participants, the ability to move documents on a local device for instant access across a web, the response to handwriting annotations made at the unified user interface portal, and, finally, the triggering of notices as a result of event calendaring. [00113] The user interface is a central place for users to move seamlessly between applications and communications. Single, unified edit/control or edit and control, allows for the same place to host a query over a specific structured database. The system is

given an awareness of application state and the ability to access appropriate application models.
. [00114] The system provide8 a "personal portal" for providing access to applications and services on the PC. For example, it uses knowledge of user schema to intelligently mrt«vjia+s ori/i \a\i nyt #m r»oug. It provides the key linkages users need for navigating personal, shared, and global information, and for running their computer.
i
[00115] Thus, the user interface is multi-modal allowing flexibility in receiving input ..from a user and providing output to the user. The user interface is also responsive in that ■ it scaled appropriately to the capabilities of the client device and allows for user to switch I ..client devices mid-session, The user interface is intelligent in that it infers intent behind user action and takes appropriate actions such as providing a smart tag with an associated action menu suitable for a particular item when the user interface recognizes the particular item.
F. EVENTS [00116] The event component 155 of the present invention transparently facilitates the distributed communication of events between any software component that publishes or generates events ("event sour«?e") and any software component that subscribes to or receives event notifications ("event sink"). In this description and in the claims, an event is an observation about one of more states such as, for example, the status of system components, the activity of a user a measurement of the environment, and so form. The event system enables software components and architectures to have access to continually updated information about their context.
[00117] Figure 5 illustrates generally the event component 155 that provides an exemplary communication of events between one or more event sources and one or more event sinks. An event is generated at an event source 602 in a variety of manners. An event may be generated by an event source 6Q2 as a broadcast or a directed communication to an event sinK 604. An event sink 604 may listen or actively poll an .event source 602 in order to Receive an event Furthermore, an event sink 604 may

subscribe to an event source 602 or alternatively listen to events that are forwarded from intermediate points in the server federation 120.
{00118] The event component 155 transforms fundamental or atomic events 606 provided by event sources 602 into progressively higher-level events through an event composition mechanism 608. The process of event composition is the construction of new events or actions from a set of observed events and/or stored event data. Event composition may be driven by rules, filters, and by more advanced pattern recognizers spanning a spectrum of sophistication all the way up to rich inferential machinery. Thus, event composition adapts the set of available atomic events 606 into observations 610 that are appropriately matched to the informational requirements of software components, providing them with information at the right level of abstraction to make good decisions. [00119] Event composition 608 aggregates, filters, and transforms lower-level events (atomic events 606) into higher-level events 612 and, at times, maps the events directly into actions, such as world action 614. The actions include real-world actions 614 and information-gathering actions 616 that serve to gather new events via actively polling or listening. Event composition 608 provides methods for combining events and data, whether the events are observed in close temporal proximity or at widely different times. Event-specific language 618 and composition compiler 620 may be used for building composition components. Event composition 608 may employ a variety of methods, ranging across a spectrum of sophistication from simple rules and filters to richer temporal pattern matching and frank logical and probabilistic inference in order to combine the events and data.
[00120] Consumers of events, such as, by Way of example, event store 622, perform inferences 624 from sets of low-level (atomic events 606) or higher level events 612 and take actions based on these inferences. The inferences 624 can range from the simple re¬transmission of the information to logical, Bayesian, and decision-theoretic inferences. For example, a stream of events about a user's location, activity, and active devices can be analyzed by a Bayesian model to provide a set of probabilities about a user's goals that can be used in turn to make ideal decisions about the most important services and


notifications to provide to the user. While Figure 5 illustrates event composition 608 as being separated from event-based inferences 624, sophisticated composition mechanisms for composing high-level events from lower-level events merges conceptually with inference for decision-making.
{00121] The event component 155 provides that events can be distributed, registered and accessed across the server federation 120 and client devices 100 and for "metareasoning" to occur about different aspects of the overall event system and subsystems that endow the system with the ability to do self-monitoring, control, and throttling of event communication and reception. Metareasoning refers to methods and inferential machinery that ensure the health and maintenance of the event system. [00122] The event component 155 allows any event source or sink to publish, subscribe, or listen to events being broadcast widely or within scoped domains, This requires intelligent distribution of the subscriptions, decomposition and placement of the compositions at intermediate nodes in the network, and routing. The event component uses the security services of security component 165 to allow event sources, event sinks, and intermediate nodes to be able to delegate capabilities.
[00123] The event component 155 is designed to facilitate interoperable communications and prioritization among otherwise incompatible event sources and event sinks, while maintaining the highest degree of individual sink/source privacy and overall system security. The event component 155 includes, but is not limited to, publication and subscription systems, an event composition mechanism, an event routing mechanism, event storage and logging mechanisms, and event system metareasoning*. The event component 155 also uses schema and schema services provided.by schema component 170 and communicatibn protocols and quality of service provided by messaging component 160.
[00124] Event schema is a collection of class descriptions and the relationships among these classes that define the physical event structure. The relationships among classes include an event class, source, target, semantics, ontological content information,


observational reliability, and the quality of service attributes known by the event source. In a preferred embodiment, the class descriptions are XML based schema classes. [00125] Event descriptions use a schema description language for expressing their structure and constraints and a declarative pattern language for expressing scheduled behavior and compositional characteristics. Within the schema language, the event structure is simple. Events have a public envelope that is used in pattern matching and routing, and a private body that is used to privately convey end-to-end data. Given this structure, the pattern language is able to use both instance data and schema information in order to capture higher-level semantics and rules with which to create derivative events. [00126] ■ The use of a schema language allows for a greater range of expressions than simple name-based conventions. Individual events are filtered and transformed and multiple events are composed together into higher-level events. The pattern language includes operators for composition and encapsulation, temporal relationships, logical relationships, string manipulation and XML operations, endpoint naming and topology description, and mathematical relationships. The language facilitates the reuse of . composition specifications via parameterization.
[00127] The event schema is extensible. A strong relationship model based on inheritance allows backward compatible versioning. Event types have well-defined characteristics based on a strong extensible type system. The model is protocol independent described using standard XML vocabulary. In addition to event schema, various services-are modeled comprising Distributed Event System (e.g. publisher capabilities schema, subscriber capabilities schema, event forwarding schema, topology, event store schema, composition and filtering, etc.).
[00128] Schematizing the services/components of the event service allows for the achievement of interoperability, discover}', and the ability to browse all of the components of the event service, Schematizing also enables the ability to statically ' analyze/optimize composition scenarios, examine/save the state of long-running composition scenarios, monitor the operations of the event service, and serves as the main foundation for metareasoning.





[00129] The event system includes a highly optimized publication and subscription service driven by model-based subscription registrations. The events system allows for flexibility and choice of the service to publish events, such as, by way of example, kernel events (e.g. WDM drivers events) that utilize a kernel driver programming model, non-COM APIs-fcr publishing events (e.g. security audit events, a directory, a service control manager) that utilize a low-level operating system service programming model, classic COM interfaces for normal applications, and high-level COM+ classes that utilize native COM+ programming model.
[00130] An "event subscription" is a request that the event infrastructure notify the subscribing component when a certain condition occurs. Examples of such conditions may be "CPU utilization exceeds 90%," "Process A has stopped" etc. These instructions are stored as configuration objects in the schema repository.
[00131] Each instruction consists of two parts. A first part specifies the event of interest (filter). The second part specifies action to be performed in response to the event. The filter includes a statement defining the event of interest. A single filter can trigger multiple actions. The action may be driven by a set of user-defined rules. For example, a user may specify that interruptions in a telephone conversation may only occur if she receives email from a certain high priority sender. This allows the user to continue a telephone conversation without interruption, unless the user wants to be interrupted. Thus, a user may balance work and personal time by specifying rules in which work time is to intrude into personal time, and vice versa. In case an interruption is appropriate, the email message would then be provided from the mega-store. In this manner, the user maintains control over her information and time.
[00132] The subscriptions may have a configurable lifetime, based on the concept of a lease. Subscriptions that need to outlive a system reboot are stored in the schema repository. However, cheap, short-lived event subscriptions should also be supported. They can be configured with a simple callback and a filter, without requiring the subscriber to implement persistable bindings.

[00133] Subscriptions may be point-to-point or are point-to-group. The distributed services are interested in the scenarios of ,ftell me when any servers in domain X fails over" or "log all security break-ins on all machines in domain X which have application Y installed." So instead of events that occur on an individual machine the distributed application is interested in events that occur hi a group of machuiesthat are part of server federation 120. These scenarios require that the subscription be defined once and automatically distributed to all or some of the machines in the group, and that as new machines enter the group, the subscription is automatically applied to them. [00134] Distributed subscriptions to the events in the group are represented by objects in the distributed namespace provided by the directory component 150, Those objects can also include routing configuration that instructs the forwarding service where the events should be sent, When a new machine enters the cloud, the availability of the distributed namespace ensures that all the subscriptions are deployed and events start flowing to the subscribers.
[00135] Subscription builders should be able to specify the quality of service ("QoS") required for their subscription. The event component 155 cooperates with the messaging component 160 to ensure that the QoS is satisfied by using appropriate transport parameters and conducting the rest of its business accordingly (for instance, all internal queues must be persistent of QoS if guaranteed delivery is specified). [00136] The number of events generated in the environment can be quite large. Therefore, the cost of event delivery can cause significant operational overhead, In order for the publication service to scale the system, the events nobody is expecting must be discarded as early in the event lifecycle as possible. To accomplish this, an efficient filtering service does a quick validation of the event against the outstanding subscriptions. However, the number of existing subscriptions may also be very large. The filtering service therefore uses an efficient inverse query engine based on mechanisms such as a decision tree.
[00137] In addition to filtering events, the event filtering engine provides subscription analysis services to the publishers. The service notifies publishers when a subscriber is

interested in their events and when nobody is interested any longer. Provisions are made for publishers to perform any filtering that they are capable of performing, instead of supplying useless events,
[00138] Distributed event-driven services include scenarios where individual events are of little significance unless they occur in a certain sequence or coincide with certain data states. Exampies of such scenarios are 'notify wnen all backup controifers are down," "notify if a server washes 5 times while the load is low," or "identify the situation when a user visits more than 5 menus without selection within a horizon of 5 seconds." To detect these combinations the system composes events and data. . [00139] The event composition service 608 may be a state machine, driven by events and data conditions, Ja one embodiment, each composition service is internally configured as a combination of objects that describe the state transitions. Because some of the services can be quite complex, a composition language or template may be provided to simplify the task of setting up composition services. The following are exemplary scenarios: Aggregation of similar events (e.g., "Page me on all transaction-failure events occurring on my SQL server in my enterprise, except for those occurring less than 5 minutes after server shutdown"); composition of events and data (e.g., "If an e-mail arrives while I am reading another one, do not bring it up"); calculating state from events over time, (e.g., "What was the trend of my e-mail queue size over the last day?"); and counting and heartbeat monitoring (e.g., "Notify me if there is no mouse movement and no key is pressed in 5 minutes").
G. MESSAGING [00140] The messaging component 160 of the invention enables client devices 110 and servers 140 .to communicate. The term "message" extends to structured data exchanged between applications or other components of the operating environment 100. Examples of messaging include application-to-application messaging, person-to-person messaging (e-mail) and collaborative applications. In accordance with a preferred embodiment, the messaging component 160 is HTTP-enabled, and is compatible with firewall configurations including DMZ, load balancing servers, and NAT services.

[00141] In order to facilitate interoperability, the messaging component 160 provides a common messaging application program interface (API) and set of services that layers on top of HTTP, SMTP and/or other transports to provide common semantics to messaging applications regardless of the underlying transport. In this manner, the Internet and other wide area-networks are leveraged to provide efficient and ubiquitous messaging, substantially regardless of the transport protocol associated with particular devices, so long as the transports are compatible with the common messaging API, [00142] Moreover, the messaging component 160 is highly scalable both in number of users and connected devices that it can support, and also in the types of devices or networks with which it can be used. In other words, the messaging component .160 readily adapts for use with devices and systems ranging ftom small wireless devices to "mega-scale" networks and messaging systems. This scalability feature is characterized by the ability to build messaging applications on the messaging platform that allow small devices to participate in high quality of service (QOS) message exchanges as well as sophisticated distributed services. In other words, the messaging component 160 is both highly scalable on the server and can be scaled down to small devices, meaning that it is possible to build appropriate "small footprint" subsets.
[00143] In contrast to conventional messaging systems, the messaging component 160 of the invention utilizes a platform messaging architecture. Rather than being a layered product, the messaging services exist as a base platform substrate to which new applications and message-based services, one example being distributed eventing as provided by the events component 155, can be written by the entity that operates the messaging services of the invention or third parties. The messaging component 160 is defined in a manner so as to recognize and embrace Internet-based protocols and to exploit new and existing protocols' in a common fashion. Moreover, the messaging component 160 provides asynchronous, connectionless, store-and-forward reliable messaging with exactly-once, in-order message delivery.
[00144] The messaging component 160 is targeted at reliably delivering application-or service-defined message "blobs", in contrast to the messaging system being aware or

dependent on particular message types, message content, or service protocols. The messaging component 160 does not directly implement data dependent routing schemes, topic or subject-based publish/subscribe infrastructure, or other messaging transformation services.
[00145] The messaging component 160 provides a suitable basisfor the transport layer of distributed event support. While the messaging services can be further supplemented with additional functionality, the present invention can be practiced without the messaging services defining a full, integrated event system. Moreover, the messaging services need not define integrated high-level discovery message endpoint discovery
.services. [00146] One embodiment of the messaging component 160 is now described in greater detail in reference to Figure 6, hi order to meet the needs for reliable and flexible messaging for applications, users, hardware, etc., the messaging component includes a common API 702 for all messaging activities, API 702 exposes a common developer interface and provides common implementations of shared capabilities, such as authentication, access control, and quality of service guarantees. Messaging component 160 also preferably includes messaging applications 704, gateways 706, routing 708, HTTP communication services 710, and transports 712, which will be described in greater detail below.
[00147] The layer designated in Figure 6 as Queue-Based API & Services 702 (hereinafter API 702 or layer 702) provides a common interface across the different transports and common services. API 702 establishes a simple programming model that - enables developers to deliver messages to destinations that can be identified by URLs in one of several URL namespaces. In a preferred embodiment, the fundamental destination construct of API 702 can be a queue, similar to that of the existing MICROSOFT® Message Queue (MSMQ) queue-based API, developed by Microsoft Corporation of Redmond, Washington. [00148] Since the different transports 712 do not inherently have the same level of
. services built in, many of the services are implemented in layer 702. Because different

transports 712 have different levels of integrated services, the interface between layer 702 and the specific transports 712 is fairly sophisticated, since when a transport has inherent mechanisms for features such as authentication or higher quality of service, it is desirable to use them. However, all of the basic capabilities are also provided on top of any transport 712 that supports simpiy best-effort delivery of arbitrary messages. [00149] According to one embodiment of the invention, layer 702 preferably has associated therewith a range of qualities of service to message deliveries. For instance, express QOS is defined as high-performance in-memory based messaging that is not resilient to message host reboot. Persistent QOS is disk-based messaging that provides at-least-once delivery guarantees. Exactly-once/in-order QOS relates to persistent messaging that provides exactly-once ordered delivery (duplicates are identified and removed, out of order arrivals are rejected).
[00150] The security services of layer 702 can enable authentication, access control and/or secrecy services according to the security component 165. For example, authentication may be based on certificates according to an end-to-end model, which can be user-based or machine-based, or can be provided according to other models, including XMIDSIG, MSMQ, Secure Multipurpose Internet Mail Extensions (S/MME), or other suitable authentication systems, Access control (i.e., who is allowed to deliver to and manipulate queues) may be controlled in a user-oriented fashion based on credentials established in message authentication. Secrecy services (i.e., encryption and decryption) may be established using hop-to-hop secrecy enabled through HTTPS, which implies that intermediate servers are trusted. End-to-end secrecy can be enabled though key exchange protocol.
[00151] The messaging component 160 of the invention can be adapted to operate with a variety of both existing and future transports. Indeed, the ability to intemperate with different transports is a primary purpose of the design and existence of API. Although other transports may be used, Figure 7 specifically illustrates API 702 being used in conjunction /with four transports 712, which are examples of transport protocols that rriaximize reach and functionality. HTTP/HTTPS 712a is a transport protocol that uses a

SOAP-based message representation. MSMQ binary transport 712b supports a rich set of
QOS. For instance, MSMQ provides a highly optimized binary format that is
-compressed and enables structured access to message contents. Multicast transport 712c
supports applications that need simple messaging with large scalability of recipients,
, HSMTF transport 712d is provided for applications that fit well with the traditional SMTP model. Larger message sizes, and other scenarios typical of email traffic are well suited to SMTP. In addition SMTP has characteristics (both in the protocol and in deployment reality) that make it useful for business to-business ("B2B") applications where use of the existing infrastructure is desired. SMTP has good performance but fairly low level of ■ additional capabilities, although it supports basic "at-least-once" quality of service and simple authentication.
[001521 Gateways 706 are treated somewhat differently from, built-in. transports 712. Transports 712 generally do not support a fully pluggable model where third parties can add new components. Instead, a gateway 706 receives message traffic for a portion of the URL namespace. Gateway 706 can then connect to other types of communications systems, such as MQSERIES® or the GROUPWISE® email connector. [00153] The messaging component 160 enables message exchange between multiple parties in an interoperable, secure and transparent manner. To do so, a common self-descriptive language encapsulates messaging metadata and payload. In a preferred embodiment, XML is used as description language that addresses these requirements. [00154] Extensibility is important for allowing messaging applications 704 to add value to the underlying messaging component 160 in a seamless manner. For instance, the protocol should have a general-purpose mechanism to introduce application-specific
, modules. Examples are message tracing, logging and data transformations. This should be exposed as'a standard for inserting app-specific elements into an XML document that encapsulates a message,
[00155] In a preferred embodiment, the messaging component 160 uses HTTP as a transport, which "provides that local -HTTP proxy" services are available. Likewise, the standard HTTP security mechanism (SSL) can be used by the messaging component 160.

[00156] In order to scale, the messaging component 160 can take advantage of available load balancing services. For lower qualities of service, messaging is essentially stateless and thus the underlying load-balancing mechanism being used is transparent. However, since higher QOS are inherently stateful, the messaging services provide mechanisms-for state preservation, across mcBsagc exchanges, including both external mechanisms (application-specific) and internal mechanisms (generated by the messaging infrastructure). To do so, the messaging component 160 may use a single back-end message store with respect to which end-to-end delivery semantics are preserved and a mapping facility from external addresses to the internal message store address. It is noted that the mapping facility can be provided by the "incoming messaging proxy" service which can be deployed with an Intranet as well as providing an Internet presenoe. [00157] In general, a messaging host using HTTP as its transport needs the ability to send and receive messages. This implies that it has both HTTP "listening" and "talking" services. In a preferred embodiment, a universal listener provides the basic server-side ! HTTP protocol support. The universal listener, which is a system component shared by all HTTP servers on a machine, manages port 80 on behalf of all server applications and surfaces incoming requests to them via a universal listener API (UL API), Services and applications, can use the UL API to receive requests directly into their process environment. An optional process management facility is provided for server applications. (e.g., Active Server Pages) that want requests to be serviced within system-managed processes.
[00158] The universal listener provides a kernel-mode listener shared by all HTTP-
based server applications on a machine. All applications can efficiently share port 80.
The universal listener can also request parsing and provide a response cache for high
performance delivery of static content and "stable" dynamic content. Applications can
control caching via configuration and the UL API. Cached responses can be delivered
without entering user mode. ■
[00159] The universal listener can further dispatch requests to user-mode "worker processes" based on the longest match URL prefix. These user-mode applications have

complete isolation from the core listener component. The worker process can receive and respond to requests using a "UL API." Moreover, worker processes services multiple parts of the URL name space. More than one worker process ("a garden") can service the same set of applications for increased scalability, availability and intra-application
■ isolation
[00160] The HTTP-server process manager is a system component that can optionally be used in conjunction with UL to manage worker process. The process manager provides on-demand launch of worker processes (e.g., triggered by incoming requests). The process manager also can establish worker process "health monitoring" and worker process "cycling" (shutdown/restart) to recover fiom leaks, hung servers, etc. Cycling can be triggered by time, number of requests received or as a result of health monitoring. Furthermore, the process manager can provide management interfaces for configuration and control and persistent configuration.
[00161] hi one embodiment, the HTTP client is implemented in kernel mode. Reasons for implementation in kernel mode include 1) performance; 2) communication with kernel components; and 3) listener/talker integration. The benefits of listener/talker integration include performance optimizations and shared implementation. [00162] The messaging systems can optionally implement HTTP protocol extensions, support for which is established in both the listener and talker implementations. One extension relates to a "web mux", which enhances the HTTP connection management to support more efficient connection multiplexing, which can be particularly valuable in high volume B2B scenarios.
[00163] As described above, the messaging component 160 provides efficient and reliable messaging using any of a variety of transports, including HTTP. The messaging component 160 is used by the other technology platform components to pass information, The messaging component 160 establishes a standard interface to which developers pan write applications and take advantage of the overall architecture of the messaging services and me other features associated with me invention.

H. STORAGE
[00164] In describing the storage component 145 of the distributing computing services platform 155, reference is made to the term "data engine," which refers to any medium that may be used to carry or store desired program code means in the form of computer-executable instructions or data structures, which'may'be accessed by a general purpose or special purpose computing device.
100165] A data engine may be associated with many types of devices. By way of example, a data engine maybe associated with any client devices 110 (desktop PC, a lap top computer, a Personal Digital Assistant ('TDA"), a cellular telephone, a pager client, and so forth discussed above in connection with as Figure I). A data engine may also be associated with server devices 140 as, byway of example, application, audio, database, a fax, fie, intranet, mail, merchant, modem, network access, print, proxy, remote access, telephone, terminal, video, or Web server, or the like. These servers may be located in the server federation 120.
[00166] Figure 7 illustrates an exemplary architecture for storage component 145, which addresses the use of a data engine, the accessibility of data, and the execution of one or more applications. Storage component 145 may be separated into three areas generally characterized according to the type of entity that utilizes each particular area. The areas are illustrated in Figure 7 as areas 802, 804 and 806. By way of example, a user generally utilizes area 802, a developer generally utilizes area 804, and an administrator generally utilizes area 806.
[00167] The foundation of storage component 145 is a file system of an operating system, such as, by way of example, the MICROSOFT® WINDOWS® operating system. In Figure 8, the file system is illustrated as file system 808. [00168] The data engine 810 is the heart of the storage component. In a preferred embodiment, the data engine 810 may be a SQL Server Storage Engine based on SQL Server from Microsoft Corporation. Built on top of the data engine 810 are various data models such as, by way of example, an XML Data Model, a Relational Data Model, a Messaging Data Model (e-mail, calendar, group productivity), such as, by way of

example, an Exchange Data Model (not shown) based on Exchange Server from Microsoft Corporation. The data engine stores data in the most efficient format. The data models or engines layered on top of the data engine understand how to access the stored data and present the correct view to the developer. The data may be presented in a number of "formats, such as, by way of example, in tables, ahierarchy, or a series of name/value pairs. The data models may include one or more engines. By way of example, the XML Data Model includes XML Engine 812. Similarly, Relational Data Model includes Relational Engine 814.
[00169] Developers communicate with the various data models through a common query system using a database programming language ('TDBPL") technology. The DBPL technology includes Data Access Application Program Interface ("APT') 816, which is a format that is used by an application program for communicating with a system. The format employs function calls that provide a link to a required subroutine for execution. In a preferred embodiment, the DBPL technology is based on XML (XML 818), may employ a relational model (Relational 820), and utilizes object technology (Objects 822). [00170] The top layer, illustrated as area 802, includes various applications 840a, 840b, etc. that are used by a user/consumer. The applications cause the integration of, for example, documents, mail, calendaring items, contacts, stock portfolios, customers, orders, media based product catalogs, etc.; The applications sit on top of the various data models and talk to the system using a specific protocol 824. In a preferred embodiment, me protocol 824 in is the Simple Object Access Protocol (SOAP) 824. [00171] In a preferred embodiment, the components of storage component 145 are based on XML as the unifying technology such that all types of data are handled as XML documents. The server federation 120 and communications associated with the distributed computing services platform 115 of the present invention are built upon an XML foundation. Messages, method invocation, object description, and the data engine all use XML. Query language works on hierarchies and returns hierarchical XML. Because storage component 145 is based on XML, storage and query operation are the same across the entire data spectrum, from tabular formats to documents.

[00172] The storage component 145 is a key component that enables a storage mechanism termed herein "mega-store." In mega-store, the server federation 120 of Figure 1 acts as a unified storage mechamsm from the end-user viewpoint. The mega-store is illustrated by the following scenario. A user walks up to a PC and logs on. This log oh authenticates the user with the Internet authenhcation service provided by the security component 165. After the user is authenticated, the directory component 150 may be used to determine where the user's information is stored. The storage component 145 then retrieves the data and provides it to the user interface component 140. Thus, the personalized information appears in the user interface such as history lists, favorite lists, the inbox, and so forth without requiring further user intervention. Thus, as a user moves from device to device, their data and applications follow them, [00173] The mega-store includes an end-user component and a developer component. The end user simply understands that when they log on to a site, their personal data and information is automatically accessible stored for them. As such, there is no need for a user to be concerned with or understand whether their personal data and information is stored, for example in a cookie or on some server in server federation 120. Rather, a user need only understand that wherever they go, whether it be home, work or elsewhere, their personal data and information is easily accessible.
I, DIRECTORY [00174] Directories are conventionally enterprise-wide naming authorities that create the illusion that data is compartmentalized in an organized structure when, in fact, the data is often scattered throughout the enterprise. Examples of data that directories contain include address book data such as contact information regarding entities (e.g., users, computers and groups of users), authentication data used to authenticate entities, and authorization data used to control access to objects on a per entity basis, Two kinds of directories include adapted directories and meta-directories. [00175] An adapted directory is a data store that is often adapted to one or more specific purposes. Often the directory functionality is specific to an application. The information stored in an adapted directory is aumoritative data or "truth" data (i.e„ data

not synchronized from other sources), but an adapted directory may also store redundant data (i.e., data synchronized from other sources). Examples of adapted directories will be set forth further below.
[00176] A meta-directory is a data store that contains or holds a subset of the objects found in adapted Or othermeta-directories. For each object,the meta-directory holds a subset of the attributes of that object. The meta-directory also contains references to directories that contain more complete information about the objects. Examples of meta-directories will also be set forth below,
[00177] Adapted and meta-rdirectories mat have well defined schemas are more easily , synchronized than those directories that do not have well defined schemas. Synchronizing adapted and meta-directories is useful because the information stored in meta-directories is often related to the association between related entries in various adapted directories. Often, the data stored in the meta-directory is available or readable by everyone. In some instances, however, more security is required and access to the meta-directory is more controlled.
[00178] In order to enable collaboration and communication throughout the server federation 120, the directory component 150 preferably provides aper-portal or per-Web site meta-directories with synchronization between the meta-directories. The directory component 150 includes the use of both adapted directories and meta-directories. [00179] Figure 8 illustrates the directory component 150 in accordance with the present invention. The directory component 150 includes an adapted directory 905 that is specific to a person or entity and is referred to herein as a "MyState" directory. The MyState adapted directory 90S is used to store information, such as the name, address, phone and the like, about the person or entity.
[001S0] Since a person may have more than one identity (e.g., a home/personal identity and a work/professional identity), the MyState directory may contain information for more than just one identity for any given user. For instance, a user may have an adapted directory that is specific to a home or personal identity and an adapted directory that is specific to a work or professional identify of the user. An example of an adapted

directory that is specific to a home identify is illustrated as home presence directory 910 inFigureS.
[00181] These adapted directories 905 and 910 are structured according to a schema. Through use of the services provided by the schema component 170, external services and applications can access and extend these adapted directories. The schema, in combination with the security component 165, also allows the user to permit different entities to access particular or specific portions of the adapted directory. Through use of the event component 155 and messaging component 160, the MyState directories are also capable of notifying other entities of changes and updates to the MyState directory as well as terminating a relationship between an entity and the MyState directory. {00182] The directory component 150 also contains portals having meta-directories such as, for example, enterprise portal 915 and portal 920. Portals maybe viewed, in one example, as industry wide websites. Thus, there are healthcare portals, shopping portals, music portals and the like. Each portal implements one or more meta-directories to maintain information from related businesses and entities. For example, some of the meta-directories of healthcare portals will contain information about related entities or persons including, but not limited to, doctors, clinics, pharmacies, and patients. The portal meta-directories will maintain or store an object for each authenticated user, Each object may contain, for example, authorization information provided by the user because users that access these meta-directories are often authenticated. The portals also synchronize relationships between other portals and the adapted directories. For example, the adapted directories of a doctor may be synchronized with the adapted directories of a patient through their respective metardirectories or by the healthcare portal.
[00183] The directory component 150 preferably encompasses various enterprises. For clarity, only one of these enterprises (i.e., enterprise 925) is shown in Figure 9. The enterprise 925 includes an internal meta-directory 930 and internal adapted directories 935 such as those conventionally contained by current enterprises. Thus, enterprises need just migrate to using a portal such as enterprise portal 925 in order to tap into the vast

directory services offered by the directory component 150, By allowing an internal enterprise to migrate to become an enterprise portal, third parties will be able to more easily access the entity's information.
[00184] The directory component 150 also includes an Internet meta-directory service 940. The Internet meta-directory service is capable of searehffig the Internet for data or documents that have a particular schema. This directory could include information such as products a company sells, services a company provides, and so forth. Each document (or subset thereof) is incorporated into a meta-directory, along with the document's 13RL, Thus the Internet meta-directory 940 may be accessed by applications and services to point them to the information or services they need,
[00185] The directory component 150 may use an Internet authentication service 945 (provided by the security component 165) mat provides authentication services for the portals as desired. An example of an Internet authentication service 945 is referred to as Passport, provided by Microsoft Corporation. I [00186] Figure 9 exemplifies the interaction between the various adapted and meta-directories. This example is not to be construed as limiting the scope of the invention, but is an example of a portion of the functionality enabled by the present invention. This example illustrates a new employee beginning work with a new employer. The employer has an enterprise portal 1022 that contains an employer meta directory 1024. When the i employee begins work, the employee record directory 1002 is added to the adapted directories 1000, which are also maintained by the employer in this example. Thus the employee record directory 1002 is an adapted directory that contains authoritative data . about the employee according to a schema. [00187] The employee record directory 1002 adds the employee to the employer meta directory 1024 and promotes a number of attributes to the employer meta directory 1024. Mormatipn between these directories are synchronized by an Automated Attribute Agreement (AAA). Thus, the employer meta- directory 1024 has an employee object 1018 with associated attributes 1020, which contain redundant data related to the authoritative data stored in the employee record directory 1002. The employer meta

directory 1024 sets up a mail directory (not shown), a work calendar directory 1010 and a work presence directoiy 1004, which are also adapted directories. [00188] Next, the new employes visits a security office to obtain a security badge. He uses a personal digital assistant (PDA) or other device to register the preexisting authentication directory 1008, which is another adapted directory having, for example, passport keys. The authentication directory 1008 is then linked to the employee's identity or object 1018 in the employer meta directory 1024.
[00189] The employee instructs the PDA device to keep the employer updated with personal information such as address, phone, and the like. This is accomplished by establishing an AAA between the MyState directory 1006 and the employer meta directory 1024. The MyState directory 1006 is an adapted directory as well. Because of this connection, the employee's PDA can use the employer meta-directory 1024 to find the work presence directory 1004 presence server and interfaces with that presence server or registers to have access to the employee's universal inbox.
[00190] Once these associations and connections have been made, the employee may receive an email from the employee record directory 1002 asking the employee to select a health provider. The employee's selection is stored in the employer meta-directory 1024. Next, the employer meta directory 1024 connects with the health provider portal 1016 and the health provider meta directory 1026 to create an entry for the employee. Thus, the health provider meta-directory has an object 1012 and attributes 1014 for the employee. The AAA agreement between the employer meta-directory 1024 and the health provider meta-directory 1026 can contain different items. For instance, the agreement may include periodic auditing as well as an agreement by the employer meta-directory to forward changes to the health provider meta directory. [00191] The health provider meta directory 1026 sends the employee a Web page asking the employee to select a primary car provider, hi return, the employee asks the health provider meta-directory 1026 to supply a list of doctors. After the doctor is selected, the health provider meta-directory 1026 will contact the clinic or doctor portal and create an entry for the employee in the clinic meta directory 1028. The clinic meta

directory 1028 sends an email to the employee requesting the employee's medical records. The employee is able to release only the medical information portion of the MyState directory 1006 to the clinic meta directory 1028. This enables both the employee and the clinic to both maintain a complete set of records. Simultaneously, the employee may approve sharing their calendar with the doctor, who may reciprocate. Finally, the clinic meta-directory 1028 may signal a workflow service to schedule a first appointment with the employee using their mutually accessible calendars. [00192J Again, the authoritative information stored by the adapted directories is therefore linked by the meta-directories in mis example. It is understood that the clinic, • the employer and the health provider also have various adapted directories. Those directories and their interaction with the meta-directories has not been illustrated in Figure 10. The meta directories can store redundant information or hint information that relates to the authoritative information. The schemes of the adapted directories can allow other meta directories to access particular portions of the adapted directories. The authoritative and redundant information is synchronized to ensure that the data is up to date.
[00193] In Figure 9, each of the adapted directories in the adapted directories 1000 has a certain purpose or set of purposes. The employee record directory 1002 represents a work identity while the MyState directory 1006 represents a personal or home identify.( The authentication directory 1008 adapted directory may contain information such as passwords and the like that is used to authenticate a person. The work calendar directory 1010 is a calendar or a contact list. Using adapted and meta directories as shown in this example enables improved communications between entities. Communication is enhanced in this example because the employee is not required to interact with each separate portal. The directory component 150 allows the communication to occur automatically because they are all connected and linked via the messaging component 160,
J. SECURITY

[00194] As discussed'previously herein, over the past few years there has been rapid adoption of the Internet by consumers and businesses alike, with an associated dramatic increase in the use of Internet-based services. The present invention allows greater Internet connectivity and collaboration, with increased inter-Web site communication. Unfortunately, as the number of users of the Internet and the Internet-based services increase, consumers and businesses grow more concerned about security and privacy issues, For example, many consumers and businesses rely on various Internet Service Providers (ISPs) who may track consumer and business on-line activity in considerable detail. Many consumers also use multiple service providers with whom they have widely varying business relationships and implicit trust (subscription, transient transactions, none). Furthermore, with the increasing use of 'always on' Internet connections (digital subscriber lines (DSLs), Cable Modem), multiple Internet capable devices (personal computers (PCs), Cell Phones, personal digital assistants (PDAs)), and multiple home networked devices that may interact with each other in quite distinct ways from the Internet interaction, consumers and business achieve greater connectivity, while increasing the number of access point for unscrupulous individuals or business to "obtain" personal and/or confidential information.
[Q0195J To minimize the above described limitations, the present invention optionally includes a security component 165 that provides a number of security protection tools such as, for example, authentication, privacy, and firewall security boundaries. Figure 10 is a schematic representation of one embodiment of the security component 165 of the present invention, The schematic representation of Figure 10 is illustrative of the optional functionality of security component 165 and does not limit the applicability of other functionality that would be appreciated by one skilled in the art in view of the teaching contained herein,
[00196] According to one aspect of the present invention, security component 165 includes an authentication module 1102 that includes various hardware and/or software components used to perform an authentication process of entities accessing information and data within server federation 120 and client devices 110 (Figure 1). The entities may

access the stored information and data, for example, when the entities are involved in multi-party interactions, whether consumer-to-business or business-business, including a wide range of configurations and transaction participants.
[00197] More specifically, in one embodiment, authentication module 1102 includes
.hardware and/or software modules that controls entity'3 access to page component 210,
emissary component 220, and/or fiefdom component 230 (Figure 2), while preventing
"repudiation" of or hiding of the entities identity from other users or entities of system
100. The terms "entity" or "entities" used herein includes not only users (individually or
in groups) but also machines, authorized software arbiters, servers and proxy services,
,, various other hardware and/or software modules and components, and the like.
[00198J In order to determine whether an entity is the entity that they are portraying
themselves to be, whether it be a consumer, business, hardware module, or software
module, each entity is to have an identifier, termed a "Global ID," Each Global ED
corresponds to one of the various "identities" that a person, or other entity may choose to
assume. Most people (including other entities) will have a minimum of two identities: an
identity that is affiliated with their occupation (student, employee of some organization,
etc.), which will be used when conducting business-related activities, and a personal
identity to be used for other interactions. Additional identities are available for users in
order to maintain privacy or to account for the needs for higher levels of assurance
associated with some of their interactions.
[00199] The security component 165, in combination with system 100 and/or application 200 will manage these identities and associated authentication credentials, insuring that the identities are kept separate, while providing a user experience that allows end users full control over how their identity is used and the level of privacy and confidentiality associated wife each identity.
[00200] Referring now to Figure 11, a schematic representation of the interaction between the user's Global ID and various other illustrative services and information is depicted. Generally, security component 165 may communicate with various Global ID's 1220a-1220n owned by various individuals, businesses, machines and the like.

Each Global ID 1220a-1220n is used for authentication of the entity accessing a part of system 100. The Global ID'S 1220a-1220n are hot intended to include profile properties of the entities that they represent, Rather, in one embodiment, profiles are stored using the "MyState" adapted directory 905, discussed above and provided by the directory component 150. The f?MvState" adapted directory 905 may optionally"include various portions represented by reference number 905a»905n. The MyState adapted directory 905 provides a place to store user profiles containing user data according to an agreed-upon schema. Generally, each Global ID 1220a-1220n provides an index to profile information stored in the individual portions of MyState service, in an application, or in site-specific data stores. An entity, therefore, may have multiple Global IDs 1220a-1220n each one having a different profile associated therewith. [00201] Alternatively, in one embodiment of security component 165, each Global ID 1220a-1220n may be associated with another architecturally distinct service called herein the "Group Membership" service 1224, that may optionally include various sub-portions, only one portion of Group Membership service 1224 being illustrated and designated by reference numeral 1224c, The sub-portion 1224c allows one Global ID; say Global ID 1220b, to have one or more profiles within a profile list for each category 1226a-1226ri of users. Alternatively, each category 1226a-1226n may include one or more pointers to the requested or defined profiles. For example, in a business-to-business scenario, the Group Membership service 1224 might be used to contain a list of authorized purchasers that many suppliers could examine. In a collaboration scenario, the Group Membership service could contain the project members of another corporation who are allowed to access project confidential documents. In still yet another illustrative example, each Global ID 1220a-1220n may include one or more digital signatures, X,509 certificates, extensible Markup Language (XML) certificates or "licenses" or other certificate formats that bind a key to an identity and prevent repudiation of identity. In such a case, various certificate authorities (CAs) may issue such certificates, such as but not limited to Microsoft® Passport, Microsoft® Hotmail and/or various other third party businesses.

[00202] Referring again to Figure 10, according to another aspect of the present invention, security component 165 includes an authorization module 1104. Authorization module 1104 includes various hardware and/or software modules and components to determine what actions an authenticated entity may perform in a dynamic environment in .which group membership, roles and delegation of rights of each entity may be changed. As such, authorization module 1104 of security component 165 may control enforcement of an entities usage restrictions on regulated materials, such as but not limited to private :, data and "licensed content" such as copyrighted books, songs and movies in ways that are more complicated than the traditional "user-based" permission models. Additionally,
, ,; broader and more flexible delegation and control mechanisms of authorization module 1104 expand the traditional role of authorization.
[00203] One mariner by which authorization module 1104, optionally in combination with other modules of security component 165, accomplishes advancement in the authorization field and technology is through digital rights management. Digital Rights
! Management (DRM) involves the automated enforcement of rules and conditions on the . use and distribution of information and content. At the heart of DRM is a premise that runs against traditional system security intuition, m typical system security, the source of authority to access data or information is a user. Once a user is authenticated, access to services is authorized based on user identity. As such, software is authorized to the extent rights are granted to the underlying user. Typically, an authenticated super-user (or administrator) is .granted essentially infinite access to any and all resources. DRM changes these assumptions in a few ways. In DRM, the source of authority is the owner of the content or information. The rights of the owner (and the permissions granted to the user) are named in a standard language. The rights are enforced by a "device," such as but not limited to various hardware and/or software modules and components, that insures that only trusted software, software that has previously been authenticated and obligated to enforce the rights and limitations specified by the owner, is granted access to .the information. This allows a content owner to delegate rights, not to a user, but to a

performing the digital signature functionality and services. A time-stamping service, like a digital signature, provides strong evidence that a document (in the most general sense) existed at some point in time. Similarly, a digital notary service provides evidence that someone digitally signed a given document at a point in time. Examples of tixese types of services that may be incorporated within security service 300 include,Tout are not limited to Surety, Entropic, e-TimeStamp, with both X.509-based and PGP-based trust models being used. Additionally, draft standard time-stamping protocols covering interfaces to such a service are proposed. Security services of the present invention allow interoperability of existing services, while providing hardware and/or software flexibility to comply with currently evolving related services.
[00221] Generally, security component 165 may incorporated within the platform core operating system (OS) of a device, thereby affecting all other modules and functions of the OS, services, applications, and tools of the platform. Alternatively, security component 165; modules 1102, 1104, 1106, and 1108, and the functionality provided therein may be disposed at various locations within server federation 120, client devices 110 and/or application 200 or may be distributed throughout. In still another configuration, security component 165 may be positioned between emissary component 220 and flefdom component 230 of application 200, Additionally, as illustrated in Figure 10, each module of security component 165 may or may not communicate with one or more of the other modules 1102, 1104,1106, and 1108 contained therein, as shown by dotted Knes.
[00222] The security component 165 may be utilized in a variety of communication scenarios that assist in allowing consumers, businesses, governments, and the like greater Internet connectivity and collaboration, with increased inter-Web site communication. For example, a first scenario is in a consumer-to-service or business environment The security component 165 of the present invention allows greater communication, notification, streaming media, gaming, and collaboration services, whether for home computer security with "always on" digital subscriber lines (DSL) and/or Cable Modem systems and other home networking scenarios. Security component 165 protects the


consumer in the consumer-to-service environment from (i) abuse of Internet signaling messages such as instant messages or Internet telephony, for the equivalent of random ringing on the front door, (11) activity tracking of user's activities, thereby reducing "precision targeting" of users by advertisers and others; (iii) abuse of personal resources
through the Trojan process of using a person's computer as part of an attack mounted towards third parties; (iv) denial of Internet service; and (v) criminal activities, such as illegal access of an individual computer resulting in money transfers, unwanted purchases
that literally steal from the consumer, and the like, [00223] Another scenario is the small business oriented service platform for application service provider (ASP) hosting. The security component 165 of the present invention provides increased protection for messaging, file and print services, hosting of enterprise resource planning (ERP) applications, on-line business activities, such as integrated electronic document management and online business services, employee personal web storage, and the like. Additionally, security component 165 allows various businesses to have a hosted web presence, delegated, role-based administration, and vanity domains, As such, the present invention, and more specifically security component 165, allows small business to have the capability of having secure access to multiple ASPs in order to get all of their business application needs addressed. [00224] * Yet another scenario is the consumer-to-business-to-business environment. This scenario includes many of the requirements previously described above with respect to the consumer-to-services scenario, while including the problems and requirements of a business-to-business relationship. As such, security component 165 provides security for multiple entities in a heterogeneous environment. Security component 165 provides on-
^ wire, persistent information protection, while supplying non-repudiation of customer information functionality, Furthermore, security component 165 may authenticate and authorize middle tier transactions, client-server activities, and negotiate peer-to-peer trust. [00225] A final illustrative scenario is the business-to-business environment. Security component 165 may be configured to support supply chain applications, business-to-business collaboration, etc. Furthermore, management of cross-enterprise trust

relationships independent of specific authentication mechanisms is supplied.
Additionally, secmity component 165 reduces the possibility of: (i) unauthorized
transactions lead to financial losses; (ii) a fraudulent claim by a business partner that a
t ' request for a transaction was not authentic, because credentials were accidentally
i - diselosed(iii) unauthorized access id servers ,140 or clients 110 by unauthorized
personnel; (iv) information leaks to competitors that observe data access requests and
responses and obtain confidential data; (v) an attacker pretends to be a business partner in
a data retrieval requests and returns incorrect data; causing incorrect decisions to be
made; (vi) untrustworthy system operators at the site where the data is stored to leak
i valuable data to confederates by sending it over the net; (vii) an insider using the Internet
to send inappropriate information to outsiders; and (viii) creation of misunderstood or
misapplied policies that result in leaked information, unauthorized transactions, or
interference with authorized transactions.
K. CODE MANAGEMENT [00226] The code management component 175 ensures that users transparently have access to the most updated applications and code that they need. Figure 13 illustrates the use of manifests in various aspects of code management. Code management primarily concerns formalizing the abstractions and interactions between interqperating components, services, and applications. This formalization provides a layer of isolation at each level for managing the software mat is composed of these underlying building blocks. A manifest is essentially a database that describes a component, service, or application m some detail. By describing the code components/the relationship between the code components, and the applications that are composed from them, manifests allow for a system to understand what an application is and thus effectively manage that application. An application or service is defined by a root manifest that is similar to a code component manifest, except that the root manifest includes a starting point for executing the application or service.
100227] Manifest 1400 includes various categories of information for describing the software associated with the manifest. It should be understood that the identified

categories are exemplary only and do not necessarily limit the present invention in any way. Likewise, the descriptions of information within each category are also exemplary. Any description of information in the context of a particular category should not be interpreted as a requirement for that information to appear only in that category or to appear at all Note that where the term "software" is used in conjunction with Figure 13, the term should be interpreted broadly to include components, servers, applications, and the like. . [00228] Manifest 1400 is a superset of information for making its associated software usable in ono or more computing environments. For example, manifest 1400 identifies the executable code 1410 and resources 1420 that are part of the software. Depending on the operational needs and requirements of the associated software, executable code 1410 and resources 1420 may reference either private (local) or external dependencies. Because a manifest 1400 is associated with all software and all manifests describe any external dependencies, software objects can be garbage collected without managing reference counts for shared DLLs as is the practice in the prior art. [00229] Dependent manifests 1430 identify the external dependencies of manifest 1400. That is references to software and manifests that are not local to manifest 1400, For example, manifests may cascade, where one software object is simply an extension of some other software object. This allows for straightforward construction of simple customized applications. The customized applications may override some settings or resources used by the base application to change the appearance of the applications and their behavior. The base application may provide restrictions on what parts of itself are open to this kind of modification to properly limit the scope of customization to intended areas. These references to other software and manifests that are external to manifest 1400 are stored in dependent manifests 1430, Dependent manifests 1430 also may identify manifests that are local to manifest 1400, but individually defined. Alternatively, dependent manifests 1430 may include separately stored manifests that are logically ; included or linked with manifest 1400. Such an arrangement may be beneficial where

information is relevant only for only a limited purpose, such as development of the software, and is not needed during normal operation,
[00230] Entry points 1440 expose public names for software objects (such as entry-points, resources, and services) that manifest 1400 and its associated software make available to- external software.Software object names local to manifest 1400 may also be present in entry points 1440. Names and metadata are used to identify a particular software object and all other software objects used by that software object. (Metadata includes information such as version, locale, and platform.) Binding is the process by which a name dependency is resolved. Once a name has been resolved to its resulting object, that object can be used in an application. All binding between software objects goes through the manifest and can be influenced by policy applied to the manifest by the computing- environment itself, an administrator, or an independent software developer. Thus, name resolution provides the opportunity to insert policy and security decisions. Because names do not actually provide code or data but are an indirection that is resolved to access code and data, it is possible to redirect or restrict access as necessary during the binding process.
[00231] For example, the manifest 1400 of an application may request to use a particular runtime software object with metadata requesting version 1. However, the administrator may have set policy such that newer versions of the particular runtime software object will be used for all requests. Note that because of the metadata information, if the application breaks using the newer version the administrator can change the policy to let the application use the version of the runtime that was known to work with the application. Name resolution also provides an opportunity to insert security into the process by not allowing resolution of certain names depending on a security policy in the system.
[00232] Configuration information 1450 identifies data tables and platform services that are needed by the software. Configuration information 1450 may also describe how the software associated with manifest 1400 can be used or should behave. For example, the software may provide a credit card clearing service. There are two options for

managing the credit card transactions: (1) the service provider maintains control over the processing, or (2) the service provider allows the developer incorporating the service to manage the developer's own credit card transactions. If the' service provider only implements one of these options, that information may be captured in the configuration information 1450 used io run the service. Monitors may also be included within configuration information 1450 to provide developers with performance and debugging information.
[00233) As noted above, manifest 1400 facilitates maintaining various versions of software. This feature may be highly useful when deploying new software, The nature of manifests 1400 allows for the diverse state and configuration information of various components, services, and applications to be isolated from each other. This isolation means that different versions of components, services and applications may run side by side, permitting other software objects access to the specific version of the software for which they were designed and tested. As a result, multi-tier deployments (from front end servers to back servers), isolated and shared deployments, and phased deployments with old versions finishing work while new versions startup are possible. [00234] Manifests, such as manifest 1400, provide significant benefits to code management. For example, manifests (1) allow for self-description of components, services, and applications; (2) enable application composition from components, services, or other applications by developers and administrators; (3) facilitate component/service/application naming, discovery, and binding at runtime; (4) enable development/design time scenarios with the added issues of licensing, versioning, distribution, and documenting; (5) enable interoperability of legacy systems; (6) easy distribution/installation of components, services, and applications; (7) enable ongoing management of application/service/oomponent health.
[00235] The above-described code management uses the manifest to allow developers, administrators, and end users to write, consume, deploy, update, name, and locate application across the client and server tiers illustrated in Figures 1 and 2. The following

example describes, with reference to Figures 1 and 2, how the manifest may be used to install and run an application from a client.
[00236J fa this example, the user, via a search engine or other shell, uses one of the clients 110 of Figure 1 to navigate to a Uniform Resource Locator (URL) for a particular word processing applicatiou, the URL being located within the server federation 120. If this application is already "installed" (i.e., has been previously run) on the client, the application runs from the local cache when the URL is navigated to. If the application is not "installed" on the client (i.e., has not been previous run on the client), the application will be downloaded and run using a process that is now described. [00237] An installer module downloads the manifest associated with the application. The installer then compares the manifest with the configuration of the ejignijfor both platform requirements and known incompatible assemblies. In the event that the application cannot run on the client, error messages appear on (he client. If the application can run on the client, the installer connects to the site in the server federation 120 using the URL. The client then displays some user interface such as purchase/leasing/authentication decisions as well as the End User Licensing Agreement (EULA). The application is then downloaded on demand or as a package of typical runctionality. Automatic servicing of the application will be driven via regular updates of the manifest from the install URL using asynchronous messaging in accordance with the present invention.
L. SCENABIOS [00238] The following scenarios illustrate how the distributed computing services platform 115 of the'present invention empowers users by enabling easier collaboration and communication. The scenarios are divided into three categories of users: (1) knowledge workers: (2) consumers; and (3) developers.
Knowledge Worker/ Business Scenario [00239] A small business bike manufocturer, called 7Cycles, is owned by Alex. 7Cycles has just designed a new high-end bike and needs to market the new bike to sporting goods distributors. This scenario illustrates several business themes (e,g.,

integration and access to information anytime/anyplace) and technology themes (e.g., schema based integration, next generation productivity tools, federation across devices). [00240] Alex's personal computer (PC) displays her personalized user interface, including her "start page" or 'home page" which shows messages, calendar, contacts/'buddy list", and so forth, The user interface is multi-modal in that it includes voice messages and e-mail messages in a single unified interface. The voice messages may be converted into text messages and the e-mail messages may be converted into voice messages as desired. Also, the user interface is not application-based, but is content-based. For example, the start page includes information (i.e., voice mail messages, calendar, contacts, and so forth) that is conventionally provided by a variety of applications.
[00241] Alex uses her PC to log onto a service designed to help manage businesses (for example, bCentral™, provided by Microsoft Corporation) and uses the service to add the new bike to 7Cycles' on-line catalog. The service brings up a template for a catalog entry. She then searches 7Cycles' corporate intranet (including both her personal data store and .other sources) for information on the new bike (pictures, marketing quotes, product specs, etc.) and drags-n-drops the appropriate information to the catalog template, The product specs for the bike are provided in a common description language (i.e., XML) and conform to a schema (see SCHEMA section above) such that catalog template service understands the information in the spec and populates the template with the appropriate information. Alex previews and publishes the updated catalog page, The new buce is then listed on 7CycIes'website,
[00242] Alex then uses the service to query a directory for a listing of other sites/companies that could feature the new bike. Since the directory services (see DIRECTORY section above) offers Internet-wide directory services through schema-facilitated synchronization of enterprise level meta-direotories, these kinds of robust, Internet-wide directory listings are greatly facilitated. Alex then shares the information about the new bike to these other companies.

[00243] Alex also uses the service to automatically generate a list of keywords about the new bike and share these to several search engines, so that people can immediately find the information about the new bike,
[00244] Alex gets an email from Sandra, an employee at a sporting goods distributor who saw-7Cycles' new bike on the Web. 3andra"suggestsrthat Alex meet her at the tradeshow. Alex receives the message on a portable client device, such as a cell phone. Although the user interface of this client device is smaller than mat of the PC, the features offered by the user interface are consistent with those offered by the user interface of the PC. For example, the phone displays a scaled down version of Alex's start page having customized highlights page, showing, for example, contacts and urgent messages.
[00245] Alex navigates to a contact management page, which enables Alex to link to Sandra's schedule and provides a map to her booth at the tradeshow. Sandra's schedule may be accessible through an adapted directory that is linked to Alex's MyState directory (see DIRECTORY section) to enabling such schedule publishing. Alex uses a speech-to-text conversion to reply to Sandra's message, allowing Alex to dictate an e-mail message. She checks Sandra's calendar and suggests they meet around 2:00. [00246] Alex arrives at the trade show and uses a proximity/location awareness service to bring up a map on her cell phone showing her personal location and the location of Sandra's booth. The map tracks her location as she approaches the booth. [00247] When she meets Sandra, Sandra asks if she can see the specs on the new bike. Alex says all the information is located on 7Cycle,s corporate intranet. She borrows Sandra's Tablet PC and logs in as a guest user - her start page (just like the one on her work PC) is displayed, with geo-relevant information at the bottom (e.g„ local things of interest to Alex). Thus, me storage/directory and security components described above allow Alex to authenticate herself on a new client device and have all of her personalized information available to her through the client device. Alex finds the bike specs and requests that the information be shared to Sandra, from her recent contact list. After

Sandra logs in, the bike spec is available on her Table tPC, in a secure manner through federated security domains.
100248] After Sandra returns from the tradeshow, Sandra uses her work PC to access both voice, and e-mail messages, Sandra's start page displays a mix of personal, professionaI, and web information. Sandra sends a message to her co-worker that they need to prepare a proposal to a sporting goods chain retailer about the new bike. As she types, the system recognizes certain content as appropriate for action menus, e.g,, another co-worker's name and the date the proposal is due. The system recognizes the relevance of the data types enabling them to be automatically and appropriately linked to contact & calendar information. This meaningful communication is described in the SCHEMA section,
[00249] Sandra then creates a "Project Page" for the proposal, which automatically includes all the names of the e-mail using the auto-complete feature described in the SCHEMA section and sets up a web page for sharing information/collaboration and suggests documents to be included in the project, Alex (from a different company/security domain) is also included on the Project. Sandra then begins to write the proposal, which, is shared in real-time with other team members. This may be accomplished using the asynchronous messaging described in the MESSAGING section. They use Instant Messaging /Chat to discuss changes as they are being made. The proposal is a multimedia document which includes test, graphics, video, etc. Third party content (e.g,, photos from an image house) can be directly integrated into the shell. Video content can be annotated.
[00250] Driving home from work, Sandra is talking to her husband from her car phone when her AutoPC notifies her that she has a message relating to the Proposal (which she has specified she should be interrupted for). These notifications issue in response to predefined events as described in the EVENTS section. Part of these predefined events include user-defined rules. For example, Sandra specified the conditions under which she was to be interrupted on her car phone. The emal is a message from the retailer that they want additional demographic information included in the proprosal. Upon arriving home,

[00253] This scenario illustrates the improved messaging, the simplification of daily tasks, and the improved entertainment provided by the present invention. Some of the key features include a common persona for a given person that exists everywhere, a consistent set of interactions across device spaces, consistent data capture, access to all resources of the digital era (privacy, natural 'two wey communications across device spaces, consistent user experience, personalized entertainment, web a natural part of people's lives),
[00254J The family father ("Dad") uses a home PC to plan a family vacation to Los Angeles and the San Diego zoo. Using one service. Dad gives the PC a few key pieces of data and the system suggests and books flights, hotel, car and gets zoo tickets by entering info only once. Since the servers enjoy the ability to meaningfully exchange information under the schema based messaging, the servers were able to communicate as a server federation in acquiring diverse data such as flight, hotel, and car reservation data and zoo ticket availability using a single user request. Thus, Dad did not have to connect to each server to acquire this information independently.
[00255] The system also indicates that they could save money by leaving a day early and checks everyone's calendar to see if they are available. Because calendar information is stored in XML format, the system can synchronizing everyone's calendars to see what times are available. The system further saves money by suggesting information relevant to discounts (e.g., Prime Card, AAA membership). Based on saved personal preferences, the service also stops the paper, sends email to the .neighbor to feed the cat, and so forth while the family is on vacation. This illustrates the systems ability to automate daily tasks based on profiles and rules. The eventing described in the EVENTS section may be used to detect the event and perform a task based on that event. [00256] Mom and Dad then get a reminder on the PC that its Grandparents anniversary. They use videoconferencing to make reservations and order a special cake at a restaurant. ; This demonstrates the multi-modal nature of the user interface. Grandparents receive an invite and accept (via their WebTV unit or PC).

[00257] The children, riding the bus to school, get a notification of the planned trip.
This notification may occur via the asynchronous messaging described in the
MESSAGING section. A link to the zoo application/service enables kids to check out
zoo map, show times, and so forth.
[00258] -When the family picks up the rental car at the airport, it is equipped with downloaded music/video preferences for each family member (Dad specified and paid for this option at the time the car was booked). The preference information for each individual was access from a mega-store as described in the STORAGE section. Thus, the preference available was readily available to the rental car. [00259] While in car, the daughter is hungry and uses a proximity/location awareness service to locate one of her favorite fast food restaurants within certain radius of car, get directions and pre-order food for the family. The proximity/location awareness application accesses an adapted directory through the directory architecture described in the DIRECTORY section. The family has option of going through shorter, pre-order line to pick Up food, They pay with a smart card.
[00260] At the entrance to the zoo, the son downloads a copy of the zoo's application to his FDA. The zoo's application includes maps, events (animal feedings), data about individual displays in the zoo (e.g., chimpanzee details), shopping promotions, and the like. He receives notification that one of his buddies from School is also at the zoo and they exchange messages and make plans to meet later. In order to facilitate this notification, a location sensor associated with the PDA may provide data to the location awareness application program. This application provides the location to the Internet-wide directory architecture described in the DIRECTORY section. The buddy also has an application which forwards the buddies' location to the Internet-wide directory service. An event hosted by the location awareness program is triggered when the buddy is within a certain distance of the son, or is in a common region (e.g., the zoo) with the son. This event is communicated from the fiefdom component of the application to the page component of the application through asynchronous messaging. The event then triggers the notification to be communicated through the PDA's user interface to the son.

[00261] Mom takes digital pictures of the family at the zoo that fbey post to th community website. The grandparents receive notification on their television Ihten browser while they are watching TV that there are new pictures. They like the piotui and download them to electronic frames throughout the house. The grandparents « running an application that has a fiefdom layer that hosts an event that monitors t Website for new pictures. The event is triggered when the new pictures are post resulting in a messaging being transmitted to the grandparents. The message may, J example, be generated by the body of code within the fiefdom component in response the event (see PROGRAMMING MODEL section).
[00262]. Upon returning from vacation, the teenage daughter, Jenna, uses her PC in t room and retrieves messages from when she was away, Jenna has a "teenage girl" sis on her UI A friend left her a message about going to a concert but said it was sold 01 While listening to the messages, she receives notification that she has a related messaj She opens that message and it notifies her that 2 tickets have been reserved for h (Fortunately, Jenna subscribes to a music service the automatically purchases tickets f her when her favorite bands are in town). The service also provides new music cli] from her favorite bands. Jenna was able to automatically purchase the tickets and obta these new music clips to due the eventing described in the EVENTS section. [00263] Jenna videoconferences her friend about the concert tickets thi demonstrating the multi-modal features of the UI. They then collaborate on ahomewo; assignment (making a video report about rain forest issue). They both link to the proje site and do real-time editing of video/text during the videoconference. Jenna contributi video that she made while at the zoo. When they are finished, they submit their report i the school website.
[00264] Jenna'use her school's website to download a video of classes that she miss* and upload any homework assignments, She learns she has to report on a curre environmental issue. She instructs an intelligent news agent to find recent environment news clips from selected sources and have them available when she wakes up. Ti

search for the environmental news clips is facilitated by the Internet-wide synchronization of adapted directories described in the DIRECTORY section. [00265] When Jenna gets up, she receives notification that her news clips are available. This notification was generated by an event triggered when the news clips are available She starts to scanthrough them, but is runming late and has the audio transferred to her AutoPG so she can finish listening on her way to school. While in the car, she selects her clip and has it downloaded to her TabletPC. This demonstrates that Jenna used the mega-store described in the STORAGB section to stored the audio in the server federation and men reacquire the audio from the server federation while on a different client device, Upon arrival at school, Jenna checks the school website on her TabletPC to read the school paper and check out the lunch menu, [00266] After school, Jenna uses her PC to remote play a video game with her friend. The game includes face mapping/scanning technology where Jenna's face appears on the video game character. During the game, Jenna receives an instant message from her teacher commended her on her report. Jenna also receives notification that one of her favorite movies is now available for download. This notification was generated in response to an event triggered when the favorite movie was available.
Developer [00267] This scenario describes an accident-prone man (i.e., Steve) on a business trip. The key points of this scenario are the universal secure access to personal info in the mega-store or "cloud'*, tiered user access to information, and easy exchange of information.
[00268] Steve is at a rental phone place in the airport and is very distraught because he left his Smart Phone at home and needs access to his information. Fortunately, Steve has his smart card with him and he is able to rent a phone and download all his personal information from the mega-store in the server federation using the. smart card. This illustrates using schema as a single way to access information and using the Internet Authentication described in the SECURITY section and to access information from the "mega-store" from anywhere. The smart card authenticates Steve and tells the rental

phone where Steve's information is located (i.e., calendar information is stored at X, contact information is stored at Y, etc.) The phone then retrieves this information and downloads it for Steve.
[00269] On his way out of the airport, Steve collides with a bike messenger, injuring his ankie7 He is in estrange city and doesn't know where to" go for medical attention. Steve calls his home doctor and asks for a nearby clinic that accepts his insurance. Reception uses a clinic referral service for more efficient aggregation of information, to locate clinics near Steve and percent coverage under his and his wife's existing health plans. She also uses calendaring sharing to find Steve an immediate appomtment and interacts directly with that clinic. This illustrates the automatic mapping of business and personal schemas. Also, the listing or clinics and the clinic calendar may be made available through the directory architecture described in the DIRECTORY section [00270] Reception asks Steve to approve sharing his medical records with the new clinic. Steve authenticates himself and receives a list of his medical records (on his Smart Phone), He then checks which records he wants to make available to the clinic. This illustrates "tiered access" - rules-based validation and rejection of access to information by any application, with security built in at the system level and supported by rich schema and data storage/access. The new clinic says Steve has a sprained ankle. They send notification to Steve's regular Doctor. They also send X-rays so the Doctor can confirm the diagnosis.
M. CONCLUSION [00271] The distributing computing services platform, comprising programming model, schema, user interface, events, messaging, storage, directory, seourity, and code management component, facilitates more Internet based collaboration, and more inter-Web site communication.
[00272] The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing

description, All changes which come within the meaning and range of equivalency of the
claims are to be embraced within their scope.
[00273] What is claimed and desired to he secured is:

We claim :
1. A method for fulfilling a request at a first services that facilitates communications within a server federation that includes a plurality of servers that communicate with a plurality of client devices, the method comprising the following:
a first server of the plurality of servers receiving a network request for a service across a transport-independent messaging infrastructure, the network request structured in accordance with a schema accessible to the plurality of servers and the plurality of client devices, the meaning of the network request being implied by the schema;
the first server recognizing the meaning of the network request implied by the schema;
the first server determining that it can access some of the information needed in order to respond to the network request without having to contact other servers based on the recognized meaning of the network request;
the first server determining that further information is needed from at least a second server in order to respond to the network request based on the recognized meaning of the network request;
the first server structuring a further network request for the further information in response to determining that the further

information is needed, the further network request structured in accordance with a second schema wherein the meaning of the request for further information is implied by the second schema;
the first server dispatching the further network request to the second server using the transport-independent messaging infrastructure and which includes a messaging component communicating with a common Application Program Interface that supports a plurality of transports, the Application Program Interface providing common semantics to messaging applications regardless of the underlying transport associated with a network message;
the first server receiving a network response from the second
server across the transport-independent messaging infrastructure, the
network response including the further information
and the network response being structured in accordance with the second schema; and
the first server using the further information to respond to the network request for the service.
2. The method as claimed in claim 1, wherein the first server structuring a further network request for further information comprises the following:

the first server structuring the further network request in accordance with an extensible Markup Language (XML).
3. The method as claimed in claim 1, wherein the first server
receiving a network response from the second server comprises the
following:
the first server receiving the network response from the second server in the form of a data structure structured in accordance with an extensible Markup Language (XML).
4. The method as claimed in claim 1, wherein the first server
dispatching the further network request for the further information to
the second server using a transport-independent messaging
infrastructure comprises the following:
the first server dispatching the further network request for the further information using a Simple Object Access Protocol (SOAP).
5. The method as claimed in claim 4, wherein the first server
structuring a further network request for the further information
comprises the following:
the first server structuring the further network request in accordance with an extensible Markup Language (XML).
6. The method as claimed in claim 1, wherein the first server
receiving a network response from the second server comprises the
following:

the first server receiving the network response from the second server using a Simple Object Access Protocol (SOAP).
7. The method as claimed in claim 6, wherein the first server
receiving a network response from the second server further comprises
the following:
the first server receiving the network response from the second server in the form of a data structure structured in accordance with an extensible Markup Language (XML).
8. The method as claimed in claim 1, wherein the first server
dispatching the further network request for the further information to
the second server using a transport-independent messaging
infrastructure comprises the following:
the common Application Program Interface communicating with an appropriate one of the plurality of transports in response to the messaging component communicating with the common Application Program Interface.
9. The method as claimed in claim 8, wherein the common
Application Program Interface communicating with an appropriate one of
the plurality of transports comprises the following:

the common Application Program Interface communicating with a HyperText Transport Protocol (HTTP) transport.
10. The method as claimed in claim 8, wherein the common
Application Program Interface communicating with an appropriate one of
the plurality of transports comprises the following:
the common Application Program Interface communicating with an MSMQ binary transport.
11. The method as claimed in claim 1, wherein the common
Application Program Interface communicating with an appropriate one of
the plurality of transports comprises the following:
the common Application Program Interface communicating with a multicast transport.
12. The method as claimed in claim 1, wherein the common
Application Program interface communicating with an appropriate one of
the plurality of transports comprises the following:
the common Application Program Interface communicating with an SMTP transport.
13. The method as claimed in claim 1, wherein the first server receiving a
network request for service comprises the following:

the first server receiving the network request for service from a third server in the server federation.
14. The method as claimed in claim 1, wherein the first server of the
plurality of servers receiving a network request for service comprises the
following:
the first server receiving the network request for service from a client of the plurality of clients.
15. The method as claimed in claim 1, wherein a first server of the plurality of servers receiving a network request structured in accordance with a schema comprises the first server receiving a network request structured in accordance with a schema stored in schema store, the schema store accessible to servers in the server federation and clients in the one or more clients, the schema store providing schema services to servers and clients to facilitate meaningful communication and information exchange across the servers and clients.
16. The method as claimed in claim 15, wherein the schema services include storing, finding, querying, publishing, and sharing schema information.
17. The method as claimed in claim 15, wherein the schema store is distributed throughout servers in the server federation.

18. The method as claimed in claim 15, wherein the schema store stores core schemas.
19. The method as claimed in claim 1, wherein a messaging component communicating with a common Application Program Interface that supports a plurality of transports comprises an act of a messaging component communicating with a common Application Program Interface that provides one or more services for transports that do not inherently implement the one or more services so as to increase the compatibility of transports that do not support the one or more services with transports that do support the one or more services.
20. The method as claimed in claim 1, wherein the first server determining that further information is needed from at least a second server in order to respond to the network request comprises the first server determining that is has some but not all of the information that is needed in order to respond to the network request.
21. The method as claimed in claim 1, wherein the schema and the second schema are the same schema.
22. A computing first server of a server federation, the server federation including a plurality of servers that communicate with a plurality of client devices, the computer first server comprising :

means for detecting the receipt of a network request for a service across a transport-independent messaging infrastructure, the network request structured in accordance with a schema accessible to the plurality of servers and the plurality of client devices, the meaning of the network request being implied by the schema;
means for recognizing the meaning of the network request implied by the schema;
means for determining that the first server can access some of the information needed in order to respond to the network request without having to contact other servers based on the recognized meaning of the network request;
means for determining that further information is needed from at least a second server in order to respond to the network request based on the recognized meaning of the network request;
means for structuring a further network request for the further information in response to determining that the further information is needed, the further network request structured in accordance with a second schema;
means for causing the further network request to be dispatched to the second server using the transport—independent messaging infrastructure and which includes a messaging component

communicating with a common Application Program Interface that supports a plurality of transports, the Application Program Interface providing common semantics to messaging applications regardless of the underlying transport associated with a network message;
means for detecting the receipt of a network response from the second server across the transport-independent messaging infrastructure, the network response including the further information and the network response being structured in accordance with the second schema; and
means for using the further information to respond to the network request for the service.
23. The computing first server as claimed in claim 22, wherein the
computer-readable medium is a physical storage medium.
24. The computing first server as claimed in claim 22, wherein the
computer-executable instructions for structuring a further network
request for the further information utilizing a second schema comprise
the following:
computer-executable instructions for structuring the request in accordance with an extensible Markup Language (XML).

25. The computing first server as claimed in claim 22, wherein the
computer-executable instructions for causing the further network
request for the further information to be dispatched to the second server
using a transport-independent messaging infrastructure comprise the
following:
means for communicating with a common Application Program Interface that supports a plurality of transports.
26. The computing first server as claimed in claim 25, wherein the
computer-executable instructions for causing the further network
request for the further information to be dispatched to the second server
using a transport-independent messaging infrastructure further
comprise the following:
means for implementing the common Application Program Interface such that the common Application Program Interface communicates with an appropriate one of the plurality of transports in response to the execution of the computer-executable instructions for communicating with the common Application Program Interface.
Dated this 28th day of November, 2002
[ RITUSHKA NEGI ]
OF REMFRY & SAGAR
ATTORNEY FOR THE APPLICANTS

Documents:

abstract1.jpg

in-pct-2002-01699-mum-cancelled pages-(07-06-2007).pdf

in-pct-2002-01699-mum-claims(granted)-(07-06-2007).pdf

in-pct-2002-01699-mum-claims(granted)-(7-6-2007).doc

in-pct-2002-01699-mum-correspondence(07-06-2007).pdf

in-pct-2002-01699-mum-correspondence(ipo)(12-09-2007).pdf

in-pct-2002-01699-mum-drawing(19-10-2006).pdf

in-pct-2002-01699-mum-form 18(10-06-2005).pdf

in-pct-2002-01699-mum-form 1a(28-11-2002).pdf

in-pct-2002-01699-mum-form 2(granted)-(07-06-2007).pdf

in-pct-2002-01699-mum-form 2(granted)-(7-6-2007).doc

in-pct-2002-01699-mum-form 3(19-10-2006).pdf

in-pct-2002-01699-mum-form 3(27-11-2002).pdf

in-pct-2002-01699-mum-form 5(19-10-2006).pdf

in-pct-2002-01699-mum-form-pct-isa-210(07-06-2007).pdf

in-pct-2002-01699-mum-power of authority(08-01-2003).pdf

in-pct-2002-01699-mum-power of authority(19-10-2006).pdf


Patent Number 209970
Indian Patent Application Number IN/PCT/2002/01699/MUM
PG Journal Number 38/2007
Publication Date 21-Sep-2007
Grant Date 12-Sep-2007
Date of Filing 28-Nov-2002
Name of Patentee MICROSOFT CORPORATION
Applicant Address ONE MICROSOFT WAY, REDMOND, WASHINGTON 98052, UNITED STATES OF AMERICA.
Inventors:
# Inventor's Name Inventor's Address
1 JOSEPH D. BELFIORE 1048 WASHINGTON PI E, SEATTLE, WA 98112, USA
2 DAVID G. CAMPBELL 22414 NE 30TH CT, SAMMAMISH, WA 98074, USA.
3 STEVE CAPPS 657 KNOLL DRIVE, SAN CARLOS, CA 94070, USA.
4 DAVID VASKEVITCH 13425 NE 50TH, BELLEVUE, WA 98005, USA.
5 CHARLES T. FITZGERALD 2110 8TH AVE NORTH, SEATTLE, WA 98109, USA.
6 STEVEN M. CELLINI 2712 WEST BERTONA STREET, SEATTLE, WA 98199, USA.
7 VIVEK GUNDOTRA 20 VIA LUCCA AVENUE BLD C #230, IRVINE, CA 92612, USA.
8 PAUL A. MARITZ 14000 SE 50TH ST. BELLEVUE, WA 98006, USA.
9 AMIT MITAL 13114 NE 111TH PI, KIRKLAND, WA 98033, USA.
10 ERIC D. RUDDER 8219 AVALON DR, MERCER ISLAND, WA 98040, USA.
11 KEITH W. SHORT 20431 NE 71ST STREET, REDMOND, WA 98053, USA.
12 KAVIRAJ SINGH 8530 213 PI N. E. REDMOND, WA 98053, USA.
13 PETER M. SPIRO 7320 W MERCER WAY, MERCER ISLAND, WA 98040, USA.
14 TANDY W. TROWER 13951 224TH CT NE, WOODINVILLE, WA 98072, USA.
15 MARK H. LUCOVSKY 811 WINDSOR DRIVE SE, SAMMAMISH, WA 98074, USA.
PCT International Classification Number G06F 9/44
PCT International Application Number PCT/US01/19935
PCT International Filing date 2001-06-22
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 60/213.562 2000-06-22 U.S.A.
2 N/A 2001-06-22 U.S.A.