index.html 16.5 KB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Device Description Repository Requirements 1.0</title><style type="text/css">
code           { font-family: monospace; }

div.constraint,
div.issue,
div.note,
div.notice     { margin-left: 2em; }

ol.enumar      { list-style-type: decimal; }
ol.enumla      { list-style-type: lower-alpha; }
ol.enumlr      { list-style-type: lower-roman; }
ol.enumua      { list-style-type: upper-alpha; }
ol.enumur      { list-style-type: upper-roman; }


div.exampleInner pre { margin-left: 1em;
                       margin-top: 0em; margin-bottom: 0em}
div.exampleOuter {border: 4px double gray;
                  margin: 0em; padding: 0em}
div.exampleInner { background-color: #d5dee3;
                   border-top-width: 4px;
                   border-top-style: double;
                   border-top-color: #d3d3d3;
                   border-bottom-width: 4px;
                   border-bottom-style: double;
                   border-bottom-color: #d3d3d3;
                   padding: 4px; margin: 0em }
div.exampleWrapper { margin: 4px }
div.exampleHeader { font-weight: bold;
                    margin: 4px}
</style>
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-WG-NOTE"/>

</head><body><div class="head"><p><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72" /></a></p>
<h1><a name="title" id="title"></a>Device Description Repository Requirements 1.0</h1>
<h2><a name="w3c-doctype" id="w3c-doctype"></a>W3C Working Group Note 17 December 2007</h2>

<dl>
	<dt>This version:</dt>
	<dd><a href="http://www.w3.org/TR/2007/NOTE-DDR-requirements-20071217/">http://www.w3.org/TR/2007/NOTE-DDR-requirements-20071217/</a></dd>
	<dt>Latest version:</dt>
	<dd><a href="http://www.w3.org/TR/DDR-requirements/">http://www.w3.org/TR/DDR-requirements/</a></dd>
	<dt>Previous version:</dt>
	<dd><a href="http://www.w3.org/TR/2006/WD-DDR-requirements-20060410/">http://www.w3.org/TR/2006/WD-DDR-requirements-20060410/</a></dd>
	<dt>Editors:</dt>
	<dd>Kevin Smith (editor of this draft), Vodafone</dd>
	<dd>David Sanders (editor of first draft), Vodafone</dd>
</dl>

<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2007 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p></div>

<hr />

<div>
<h2><a name="abstract" id="abstract"></a>Abstract</h2>
<p>This document details use cases for a Device Descriptions Repository (DDR). In order to realize these use cases, certain behaviors will be expected of a DDR: these behaviors are determined and listed as requirements.</p>
<p>This Working Group Note forms one of the deliverables of the W3C Mobile Web Initiative Device Description Working Group. The requirements in this document are derived from the listed use-cases as well as information in the Device Description Landscape <a href="#ref-DDLAND">[DDLAND]</a> and Device Description Ecosystem <a href="#ref-DDECO">[DDECO]</a> documents.</p></div><div>


<h2><a name="status" id="status"></a>Status of this Document</h2>

<p>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at <a href="http://www.w3.org/TR/">http://www.w3.org/TR/</a>.</p>

<p>Publication as a Working Group Note does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.</p>

<p>This document is a Working Group Note. It has been produced as part of the W3C Mobile Web Initiative Device Description Working Group [DDWG], following the procedures set out for the W3C Process. This Working Group is part of the Mobile Web Initiative. The authors of this document are members of the W3C Mobile Web Initiative,  <a href="http://www.w3.org/2005/MWI/DDWG">Device Description Working Group</a>. Feedback can be directed to the  <a href="mailto:public-ddwg@w3.org">public-ddwg@w3.org</a>, which is a <a href="http://lists.w3.org/Archives/Public/public-ddwg/">publicly archived mailing list</a> .</p>


<p> This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/37583/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>. </p>

<!--<p>The Device Description Working Group does not intend this document to become a W3C Recommendation. Therefore the document has no associated W3C Patent Policy licensing obligations.</p>-->

</div>
	
	<div class="toc">
<h2><a name="contents" id="contents"></a>Table of Contents</h2><p class="toc">1 <a href="#sec-introduction">Introduction</a><br />
    1.1 <a href="#sec-intro-general">General</a><br />
    1.2 <a href="#sec-conventions">Conventions used in this document</a><br />
    1.3 <a href="#sec-scope">Scope of Requirements</a><br />
    1.4 <a href="#sec-conformance">Conformance</a><br />
2 <a href="#sec-high-level-func-reqs">High-level DDR functional requirements</a><br />
    2.1 <a href="#sec-fundamentals">Fundamentals</a><br />
    2.2 <a href="#sec-requirements">Requirements</a><br />
3 <a href="#sec-use-cases">Use Cases</a><br />
    3.1 <a href="#sec-uc-optimal-content">Use Case 1: Optimized Web content for mobile devices</a><br />
    3.2 <a href="#sec-uc-query-range">Use Case 2: Querying a Value range</a><br />
    3.3 <a href="#sec-uc-ambiguity">Use Case 3: Context ambiguity</a><br />
    3.4 <a href="#sec-uc-insufficient-context">Use Case 4: Insufficient context available</a><br />
</p>
<h3><a name="appendices" id="appendices"></a>Appendices</h3><p class="toc">A <a href="#sec-references">References</a><br />
B <a href="#sec-acknowledgements">Acknowledgments</a><br />
</p></div><hr /><div class="body"><div class="div1">
<h2><a name="sec-introduction" id="sec-introduction"></a>1 Introduction</h2><p><em>This section is informative</em></p><div class="div2">
<h3><a name="sec-intro-general" id="sec-intro-general"></a>1.1 General</h3><p>This document describes the use cases for a Device Description Repository (DDR). Each use case is analyzed in order to determine the behavior expected of a DDR in order to realize it. These expected behaviors are captured as high-level requirements, which when normalized across all use cases, lead to a discrete set of DDR requirements.</p><p>A DDR forms part of the <a href="http://www.w3.org/2006/09/mwi-ddwg2-charter#Scope">Scope and Deliverables</a> of the MWI Device Descriptions Working Group (DDWG) Charter, based on the <a href="http://www.w3.org/TR/2006/WD-dd-landscape-20060210/#sec-theneedfordevicedescriptions">motivations</a> described in the Device Description Landscape document.</p></div><div class="div2">
<h3><a name="sec-conventions" id="sec-conventions"></a>1.2 Conventions used in this document</h3><p>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in <a href="http://www.ietf.org/rfc/rfc2119.txt">RFC 2119</a>.</p></div><div class="div2">
<h3><a name="sec-scope" id="sec-scope"></a>1.3 Scope of Requirements</h3><p>The requirements in this document cover the behaviors expected of a Device Descriptions Repository. The requirements are at a high-level and, with the exception of [DDR-TECHNOLOGY], do not prescribe or recommend a particular technology solution. For the same reason the implementation, data provisioning, security and operation of a DDR are not in scope of this document.</p><p>The Scope of the requirements is bound by the scope of the <a href="http://www.w3.org/2006/09/mwi-ddwg2-charter">DDWG Charter</a>, specifically <em>Identification of device characteristics ... that enhance the user experience of Web browsing, while mobile.</em></p></div><div class="div2">
<h3><a name="sec-conformance" id="sec-conformance"></a>1.4 Conformance</h3><p>A Device Description Repository will be DDWG DDR conformant if it meets all the mandatory requirements stated in the High level requirements section of this document. Any other optional DDWG DDR requirements, and non-DDWG functions, may also be implemented.</p></div></div><div class="div1">
<h2><a name="sec-high-level-func-reqs" id="sec-high-level-func-reqs"></a>2 High-level DDR functional requirements</h2><div class="div2">
<h3><a name="sec-fundamentals" id="sec-fundamentals"></a>2.1 Fundamentals</h3><p>The DDR must, at a minimum, support:</p><ol class="enumar"><li><p>identification of components of the delivery context</p></li><li><p>the retrieval of device descriptions</p></li></ol></div><div class="div2">
<h3><a name="sec-requirements" id="sec-requirements"></a>2.2 Requirements</h3><p>The following are motivated by the use cases:</p><dl><dt class="label">[DDR API]</dt><dd><p>The DDR MUST expose an API through which device descriptions can be retrieved.</p></dd><dt class="label">[DDR-MEASUREMENT]</dt><dd><p>If a value returned by the DDR is an indication of measurement (such as width or resolution) then the units of measurement are expected to be unambiguous to the requesting party: i.e. either the vlaue returned explicitly declares the measurement unit, or the requesting party specifically asked for the value in a particular unit ('screen width in cm').</p></dd><dt class="label">[DDR-CONTEXT-KEY]</dt><dd><p>The DDR is expected to attempt to return a device description (or element thereof) based on identification of the hardware and/or software that the description relates to (the 'context key').</p></dd><dt class="label">[DDR-INSUFFICIENT-CONTEXT-EXCEPTION]</dt><dd><p>The DDR is expected to follow exception handling requirements as detailed in the DDRAPI document.</p></dd><dt class="label">[DDR-VALUE-RANGE]</dt><dd><p>The DDR is expected to return a range of all known values of a particular device capability for a given context key if requested to do so.</p></dd><dt class="label">[DDR-CONTEXT-AMBIGUITY]</dt><dd><p>Should the DDR not receive enough information to accurately determine the context key, then it is expected to either (a) make a 'best effort' guess based on the evidence available, (b) return all possible values for the aspects of the description queried, or (c) return an exception as detailed in the DDR API document.</p></dd></dl><p>The following requirement is a goal of the DDWG:</p><dl><dt class="label">[DDR-TECHNOLOGY]</dt><dd><p>It MUST be possible to realize the DDR and its exposed interfaces through different technologies including but not limited to Web services.</p></dd></dl></div></div><div class="div1">
<h2><a name="sec-use-cases" id="sec-use-cases"></a>3 Use Cases</h2><p><em>This section is informative.</em></p><div class="div2">
<h3><a name="sec-uc-optimal-content" id="sec-uc-optimal-content"></a>3.1 Use Case 1: Optimized Web content for mobile devices</h3><p>Bruce is a Web content author who wishes to provide an optimized user experience for those users accessing his site via a mobile device. Using standard HTTP request headers, he is able to recognise the mobile handset and browser software making the request. He queries a DDR using the handset and browser as query criteria, and asks for the width of the handset screen in pixels. The DDR uses the query criteria to identify the device used, and returns the screen width in pixels, accordingly.</p><p><em>Motivates: [DDR-API], [DDR-CONTEXT-KEY], [DDR-MEASUREMENT]</em></p></div><div class="div2">
<h3><a name="sec-uc-query-range" id="sec-uc-query-range"></a>3.2 Use Case 2: Querying a Value range</h3><p>Hal is also a Web content author who queries a DDR for information that will improve mobile users' browsing experience. He wishes to know all the image formats supported by a particular device/browser combination. As such he queries the DDR, passing in a device/browser identifier. The DDR uses this information to return all the image formats supported in this case.</p><p><em>Motivates: [DDR API], [DDR-CONTEXT-KEY], [DDR-VALUE-RANGE]</em></p></div><div class="div2">
<h3><a name="sec-uc-ambiguity" id="sec-uc-ambiguity"></a>3.3 Use Case 3: Context ambiguity</h3><p>Carter wishes to determine the markup formats supported by a mobile device that has requested his Web page. He queries a DDR for this information, but only passes in a device hardware identifier, without an indication of the browser used. As such the DDR makes a 'best effort' guess that the browser is the one that comes pre-installed on that device, and returns a range of supported markups for that browser accordingly. Note: where context is ambiguous, the DDR may instead choose to throw an exception, or return all possible values based on the available evidence: it is likely that different aspects will determine different behaviour.</p><p><em>Motivates: [DDR-CONTEXT-AMBIGUITY]</em></p></div><div class="div2">
<h3><a name="sec-uc-insufficient-context" id="sec-uc-insufficient-context"></a>3.4 Use Case 4: Insufficient context available</h3><p>Diana wishes to determine the screen resolution in pixels of the device querying her Web page. However she is only able to determine the browser, but not the device hardware, making the request. When queried, the DDR is unble to resolve the context key of the request and throws an exception.</p><p><em>Motivates: [DDR-INSUFFICIENT-CONTEXT-EXCEPTION]</em></p></div></div></div><div class="back"><div class="div1">
<h2><a name="sec-references" id="sec-references"></a>A References</h2><dl><dt class="label"><a name="ref-DDECO" id="ref-DDECO"></a>DDECO</dt><dd>
					Device Description Ecosystem, World Wide Web Consortium, 21 November 2005. Editor: R Hanrahan (MobileAware). The latest version is at <a href="http://www.w3.org/TR/2005/WD-dd-ecosystem/">http://www.w3.org/TR/2005/WD-dd-ecosystem/</a>. (See <a href="http://www.w3.org/TR/2005/WD-dd-ecosystem-20051121/">http://www.w3.org/TR/2005/WD-dd-ecosystem-20051121/</a>.
				  (See http://www.w3.org/TR/dd-ecosystem/.)</dd><dt class="label"><a name="ref-DDLAND" id="ref-DDLAND"></a>DDLAND</dt><dd>
					Device Description Landscape, World Wide Web Consortium, 10 February 2006. Editors: J Pearce (Argogroup), M Womer (France Telecom). The latest version is at <a href="http://www.w3.org/TR/dd-landscape/">http://www.w3.org/TR/dd-landscape/</a>. (See <a href="http://www.w3.org/TR/2006/WD-dd-landscape-20060210/">http://www.w3.org/TR/2006/WD-dd-landscape-20060210/</a>.)
				  (See http://www.w3.org/TR/dd-landscape/.)</dd><dt class="label"><a name="ref-DIG" id="ref-DIG"></a>DIG</dt><dd>
					Glossary of Terms for Device Independence, World Wide Web Consortium, 18 January 2006. Editor: Rhys Lewis (Volantis Systems). The latest version is at <a href="http://www.w3.org/TR/di-gloss/">http://www.w3.org/TR/di-gloss/</a>. (See <a href="http://www.w3.org/TR/2005/WD-di-gloss-20050118/">http://www.w3.org/TR/2005/WD-di-gloss-20050118/</a>.)
				  (See http://www.w3.org/TR/di-gloss/.)</dd></dl></div><div class="div1">
<h2><a name="sec-acknowledgements" id="sec-acknowledgements"></a>B Acknowledgments</h2><p>In addition to acknowledging the contributors to the previous draft, the editor also acknowledges the support of the active DDWG members during the group's second charter.</p></div></div></body></html>