Patent ID: 8112764

Claim:
In a networked system, a device that is a computer subsystem, the device comprising: one or more services executing in the device, each service including: an information service, the information service being configured to produce a customizable tag-based document that holds a summary of device properties that a device service represents, the information service being further configured to store the customizable tag-based document until requested by an application service; a data service, the data service being configured to produce a customizable tag-based document that holds events which have been generated by the one or more services but not yet consumed by the application service, the customizable tag-based document holding a state of the one or more services, the data service being further configured to store the customizable tag-based document until requested by the application service; wherein each service including: a port identifiable by an identifier that includes a unique designation of an operating system service or another service, the port of the service endued with behavioral types specified by a unilateral contract; and the unilateral contract for describing one or more behaviors of the service, wherein the one or more behaviors are described by behavior sentences, and further wherein the unilateral contract specifies: regulation of the service by specifying attaching behavioral conditions to files to govern access control; an order of messages that flow in or out of the service; creation of an instance of communication, after being accepted by an external second service, between the service and the external second service, the external second service agreeing to perform the unilateral contract according to the order of messages specified in the unilateral contract.