# US 2005/0097503 A1 · XML-based template language for devices and services

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2005/0097503 A1
- Document ID: US20050097503A1
- Status: Published application
- Kind: A1
- Application number: 10/981,057
- Filed: 2004-11-04
- Published: 2005-05-05
- Earliest claimed: 1999-06-11
- Assignees: Microsoft Corporation
- Inventors: William Zintel; Amar Gandhi; Ye Gu; Shyamalan Pather; Jeffrey Schlimmer; Christopher Rude; Daniel Weisman; Donald Ryan; Paul Leach; Ting Cai; Holly Knight; Peter Ford
- Web page: https://patentgrep.com/patent/US20050097503A1

## CPC

- H04L 12/2803: {Home automation networks}
- H04L 12/2805: {Home Audio Video Interoperability [HAVI] networks}
- H04L 12/2807: {Exchanging configuration information on appliance services in a home automation network (arrangements for maintenance or administration involving network analysis for automatically determining the actual topology of a network H04L41/12; hardware or software tools for network management using graphical user interfaces H04L41/22; address allocation H04L61/50)}
- H04L 12/2818: {from a device located outside both the home and the home network (access arrangements H04L12/2856; for remote control or remote monitoring of applications H04L67/025; arrangements for transmitting signals characterised by the use of a wireless eletrical link G08C17/00; telephonic communication systems adapted for combination with remote control systems H04M11/007)}
- H04L 12/2856: {Access arrangements, e.g. Internet access (asynchronous transfer mode networks H04L12/5601; broadband local area networks H04L12/2801; optical access or distribution networks H04Q11/0067; access to open networks H04L12/5691; digital subscriber line end-user equipment and bit-level processing of data on a PSTN-based network H04M11/00; home network gateways H04L12/2834; wireless access networks H04W)}
- H04L 12/2898: {Subscriber equipments (DSL modems H04M11/062; cable modems H04L12/2801)}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 47/2408: for supporting different services, e.g. a differentiated services [DiffServ] type of service
- H04L 61/30: Managing network names, e.g. use of aliases or nicknames (name-to-address mapping H04L61/45)
- H04L 61/5014: using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
- H04L 61/5092: by self-assignment, e.g. picking addresses at random and testing if they are already in use
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/125: involving control of end-device applications over a network
- H04L 67/14: Session management (for real-time applications in data packet communications networks H04L65/1066)
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L 67/00: Network arrangements or protocols for supporting network services or applications (user-to-user messaging H04L51/00; network arrangements, protocols or services for supporting real-time applications in data packet communications networks H04L65/00)
- H04L 67/025: for remote control or remote monitoring of applications
- H04L 69/329: in the application layer [OSI layer 7]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A universal plug and play (UPnP) device makes itself known through a set of processes—discovery, description, control, eventing, and presentation. Following discovery of a UPnP device, an entity can learn more about the device and its capabilities by retrieving the device's description. The description includes vendor-specific manufacturer information like the model name and number, serial number, manufacturer name, URLs to vendor-specific Web sites, etc. The description also includes a list of any embedded devices or services, as well as URLs for control, eventing, and presentation. The description is written by a vendor, and is usually based on a device template produced by a UPnP forum working committee. The template is derived from a template language that is used to define elements to describe the device and any services supported by the device. The template language is written using an XML-based syntax that organizes and structures the elements.

## Claims

### Claim 1

A method comprising:
creating a device template using a template language written in XML syntax; and
defining, from the device template, a device description for a self-describing network device.

### Claim 2 (depends on 1)

A method as recited in claim 1, wherein the template language is derived from XML schema.

### Claim 3 (depends on 1)

A method as recited in claim 1, wherein the self-describing network device comprises a universal plug and play device.

### Claim 4 (depends on 1)

A method as recited in claim 1, further comprising storing the device description on a computer-readable medium.

### Claim 5 (depends on 1)

A method as recited in claim 1, further comprising:
creating a service template from a template language written in XML syntax; and
defining, from the service template, a service description for a service supported by the self-describing network device.

### Claim 6

A method comprising:
creating a service template from a template language written in XML syntax; and
defining, from the service template, a service description for a service supported by a self-describing network device.

### Claim 7 (depends on 6)

A method as recited in claim 6, wherein the template language is derived from XML schema.

### Claim 8 (depends on 6)

A method as recited in claim 6, wherein the self-describing network device comprises a universal plug and play device.

### Claim 9 (depends on 6)

A method as recited in claim 6, further comprising storing the service description on a computer-readable medium.

### Claim 10

A method comprising:
creating a device template for a universal plug and play device, the device template being written in an XML-based language; and
instantiating the device template with vendor-specific information to form a device description of the universal plug and play device.

### Claim 11

A method of describing a self-describing network device, comprising:
storing a description of the self-describing network device, the description comprising a set of elements to describe the self-describing network device and an XML-based syntax that structures the set of elements such that, when the data structure is read by a computing device, the computing device can learn about the self-describing network device; and
making the description available to the computing device.

### Claim 12 (depends on 11)

A method as recited in claim 11, wherein the storing comprises storing the description at the self-describing network device.

### Claim 13 (depends on 11)

A method as recited in claim 11, wherein the self-describing network device comprises a universal plug and play device.

### Claim 14 (depends on 11)

A method as recited in claim 11, further comprising storing a set of elements to describe at least one service supported by the self-describing network device.

### Claim 15 (depends on 11)

A method as recited in claim 11, wherein the storing comprises storing the description at the self-describing network device, the method further comprising storing a set of elements to describe at least one service supported by the self-describing network device at a location remote from the self-describing network device.

### Claim 16

A data structure stored on a computer-readable medium, the data structure being constructed according to an XML-based template language, the data structure comprising:
a set of elements to describe a universal plug and play device; and
an XML-based syntax that organizes and structures the set of elements such that, when the data structure is read by a computing device, the computing device can learn about the universal plug and play device.

### Claim 17 (depends on 16)

A data structure stored as recited in claim 16, wherein the set of elements requires:
a first element to identify one or more versions of the template language; and
a second element to identify the universal plug and play device.

### Claim 18 (depends on 16)

A data structure stored as recited in claim 16, wherein the set of elements includes at least one of:
a first element to identify one or more versions of the template language;
a second element to identify the universal plug and play device; and
a third element to specify a base universal resource locator (URL).

### Claim 19 (depends on 18)

A data structure stored as recited in claim 18, wherein the second element includes at least one of:
a first subelement to specify a type of universal plug and play device;
a second subelement to identify a user;
a third subelement to identify a manufacturer;
a fourth subelement to specify a URL of a website for the manufacturer;
a fifth subelement to provide a word description of the universal plug and play device for the user;
a sixth subelement to specify a model name of the universal plug and play device;
a seventh subelement to specify a model number of the universal plug and play device;
an eighth subelement to specify a URL of a website for the universal plug and play device;
a ninth subelement to specify a URL of a website for a presentation hosted by the universal plug and play device;
a tenth subelement to specify a serial number of the universal plug and play device;
an eleventh subelement to specify a universal device name of the universal plug and play device;
a twelfth subelement to specify a universal product code of the universal plug and play device;
a thirteenth subelement to specify any icons associated with the universal plug and play device;
a fourteenth subelement to identify any of one or more services supported by the universal plug and play device; and
a fifteenth subelement to identify any of one or more devices embedded within the universal plug and play device.

### Claim 20

A data structure stored on a computer-readable medium, the data structure being constructed according to an XML-based template language, the data structure comprising:
a set of elements to describe a service supported by a universal plug and play device; and
an XML-based syntax that organizes and structures the set of elements such that, when the data structure is read by a computing device, the computing device can learn about the service supported by the universal plug and play device.

### Claim 21 (depends on 20)

A data structure stored as recited in claim 20, wherein the set of elements includes at least one of:
a first element to identify any of one or more actions performed by the service; and
a second element to identify any of one or more state variables in the service.

### Claim 22 (depends on 21)

A data structure stored as recited in claim 21, wherein the first element includes at least one subelement for each corresponding action, the subelement containing at least one of a name string to hold a name of the action, an argument list to hold parameters of the action, and a data type of the parameters.

### Claim 23 (depends on 21)

A data structure stored as recited in claim 21, wherein the second element includes at least one of:
a first subelement to identify a name of a state variable;
a second subelement to specify a data type of the state variable;
a third subelement to specify a default value of the state variable;
a fourth subelement to enumerate legal string values; and
a fifth subelement to define bounds of legal numeric values.

### Claim 24

A universal plug and play device comprising:
a memory;
a description of the universal plug and play device stored in the memory, the description comprising a set of elements written in an XML syntax to describe the universal plug and play device; and
a processor coupled to the memory to submit the description to a remote entity on a network.

### Claim 25 (depends on 24)

A universal plug and play device as recited in claim 24, wherein the description data comprises a first set of elements a first set of elements to describe the universal plug and play device and a second set of elements to describe a service supported by the universal plug and play device.

### Claim 26 (depends on 24)

A universal plug and play device as recited in claim 24, wherein the set of elements comprises at least one of:
a first element to identify one or more versions of the template language;
a second element to identify the universal plug and play device; and
a third element to specify a base universal resource locator (URL).

### Claim 27 (depends on 26)

A universal plug and play device as recited in claim 26, wherein the second element includes at least one of:
a first subelement to specify a type of universal plug and play device;
a second subelement to identify a user;
a third subelement to identify a manufacturer;
a fourth subelement to specify a URL of a website for the manufacturer;
a fifth subelement to provide a word description of the universal plug and play device for the user;
a sixth subelement to specify a model name of the universal plug and play device;
a seventh subelement to specify a model number of the universal plug and play device;
an eighth subelement to specify a URL of a website for the universal plug and play device;
a ninth subelement to specify a URL of a website for a presentation hosted by the universal plug and play device;
a tenth subelement to specify a serial number of the universal plug and play device;
an eleventh subelement to specify a universal device name of the universal plug and play device;
a twelfth subelement to specify a universal product code of the universal plug and play device;
a thirteenth subelement to specify any icons associated with the universal plug and play device;
a fourteenth subelement to identify any of one or more services supported by the universal plug and play device; and
a fifteenth subelement to identify any of one or more devices embedded within the universal plug and play device.

### Claim 28 (depends on 24)

A universal plug and play device as recited in claim 24, wherein the set of elements includes at least one of:
a first element to identify any of one or more actions performed by a service supported by the universal plug and play device; and
a second element to identify any of one or more state variables in the service.

### Claim 29 (depends on 28)

A universal plug and play device as recited in claim 28, wherein the first element includes at least one subelement for each corresponding action, the subelement containing a name string to hold a name of the action and an argument list to hold parameters of the action.

### Claim 30 (depends on 28)

A universal plug and play device as recited in claim 28, wherein the second element includes at least one of:
a first subelement to identify a name of a state variable;
a second subelement to specify a data type of the state variable;
a third subelement to specify a default value of the state variable;
a fourth subelement to enumerate legal string values; and
a fifth subelement to define bounds of legal numeric values.

### Claim 31

A universal plug and play device comprising:
storage means for storing a description of the universal plug and play device, the description comprising a set of elements to describe the universal plug and play device and an XML-based syntax that structures the set of elements such that, when the data structure is read by another computing device, the computing device can learn about the universal plug and play device; and
responsive means for making the description available to another computing device.
