(CC/PP)结构和词汇 1.0[17]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 ljp19820721 的 blog

t>设置文件

描述一个具体设备或网络的能力的schema的实例。一个设置文件并不一定要有词汇表/schema中标明的所有属性。
代理
可以接收http请求并使用http将其转发给源服务器(有可能经由向上游代理)的软件。代理收到源服务器的响应并转发给发出请求的客户端。在它的转发功能中,代理可能会更改请求或响应或供应其他增值功能。在本规范标准中,“代理”指的是请求/响应转发这个功能,其可能存在于独立http代理或同时也存在于网关或源服务器。
rdf资源
由rdf表达式描述的一个对象就是一种资源。rdf资源通常是由一个uri来识别。
接收方
一个接受消息的系统组件(设备或程序)。
schema,rdf schema
rdf schema表示了组成一个不变更的rdf词汇表的那些资源。它是用来提供有关解释rdf数据模型中的语句的信息(例如组织和关系)。它不包括价与属性相关的值。
安全
描述了应用于数据通信的一组程序,以保障所传送的信息正是发送方和接受方想要的,而没有其他的方法。安全一般细分为完整性、授权、机密性和隐私。
发送方
一个发送消息的系统组件(设备或程序)。
用户
作为一个单一实体的个人或个人组织。用户可以进一步限定为使用设备发出请求并从服务器获得内容和/或资源。
用户代理
a为用户服务,在设备上运行的程序,例如浏览器。在不同时间用户可以使用不同的用户代理。
用户代理设置文件
适合设备能力、操作和网络环境和用户个人偏好的能力和偏好信息,可用于接收内容和/或资源。
变体
一个数据资源的几个可能的表达方式中的一个。
差异内容
指的是一个被发送的内容的形式/格式依赖于的接收方的能力和/或偏好。
词汇表
充分地描述cc/pp的属性的汇集。词汇表是于一个schema相关联的。

a.2 缩写

cc/pp复合能力/偏好设置文件(composite capabilities/preferences profile)
cc/ppexcc/pp交换协议(cc/pp exchange protocol)
connegietf内容协商工作组(content negotiation working group in the ietf)
er实体关系(entity-relationship)
html超文本标记语言(hypertext markup language)
http超文本传输协议(hypertext transfer protocol)
httpexhttp扩展框架(http extension framework)
iana互联网地址分配委员会(internet assigned numbers authority)
ietfinternet工程任务组(internet engineering task force)
iotpinternet开放贸易协议(internet open trading protocol)
ldap简易目录访问协议(lightweight directory access protocol)
otaover the air,如无线电网络
rdf资源描述构架(resource description framework)
rfc征求意见,internet标准(草案) (request for comments)
tbd待定(to be determined)
tcp/ip传输控制协议/网际协议(transmission control protocol/internet protocol)
uaprofwap用户代理设置文件(wap user agent profile)
w3c万维网联盟(world wide web consortium)
wap无线应用协议(wireless application protocol)
wbxmlwap二进制xml(wap binary xml)
wml无线标记语言(wireless markup language)
wsp无线会话协议(wireless session protocol)
xhtml可扩展超文本标记语言(extensible hypertext markup language)
xsl可扩展样式表语言(extensible stylesheet language)
xml可扩展标记语言(extensible markup language)

附录b:结构的rdf schema

本附录是标准的,但是cc/pp处理器的对此支持却是可选择的

b.1 cc/pp类层次结构摘要

图 b-1:cc/pp类层次
rdfs:resource
    ccpp:profile            {profile deliverable to origin server}
    ccpp:component

rdfs:literal
  ccpp:string               {a text value of a cc/pp attribute}
  ccpp:integer              {an integer value of a cc/pp attribute}
  ccpp:rational             {a rational number cc/pp attribute value}

rdf:bag                     {a set value for a cc/pp attribute}
rdf:seq                     {a sequence value for a cc/pp attribute}
   
rdf:property
  ccpp:property             {a property applied to a ccpp:resource}
    ccpp:structure          {a structural property in a cc/pp profile}
    ccpp:attribute          {a property denoting a cc/pp attribute}

b.2 cc/pp参数摘要

结构的参数(ccpp:structure的实体)

图 b-2:cc/pp结构化参数
ccpp:component      domain=ccpp:profile,         range=ccpp:component
ccpp:defaults       domain=ccpp:component,       range=ccpp:component

b.3 rdf schema

cc/pp核心和类结构:

(schema uri: http://www.w3.org/2002/11/08-ccpp-schema)

图 b-3:cc/pp类和核心参数的rdf schema
<?xml version='1.0'?>

<!doctype rdf:rdf [
  <!entity ns-rdf  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
  <!entity ns-rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
  <!entity ns-ccpp 'http://www.w3.org/2002/11/08-ccpp-schema#'>
]>

<rdf:rdf
  xmlns:rdf  = '&ns-rdf;'
  xmlns:rdfs = '&ns-rdfs;'
  xmlns:ccpp = '&ns-ccpp;'>

<!--  cc/pp class definitions -->

  <rdfs:class rdf:about='&ns-ccpp;profile'>
    <rdfs:label xml:lang="en">cc/pp profile</rdfs:label>
    <rdfs:subclassof rdf:resource='&ns-rdfs;resource'/>
    <rdfs:comment xml:lang="en">
      this class is any complete profile that can be delivered to an
      origin server or other system that generates content for a client.
    </rdfs:comment>
  </rdfs:class>

  <rdfs:class rdf:about='&ns-ccpp;component'>
    <rdfs:label xml:lang="en">cc/pp profile component</rdfs:label>
    <rdfs:subclassof rdf:resource='&ns-rdfs;resource'/>
    <rdfs:comment xml:lang="en">
      a base class for any collection of cc/pp attribute values.
      a cc/pp client profile consists of one or more components,
      typically using a derived class that indicates the use of the
      component (e.g. prf:hardwareplatform, prf:softwareplatform).
    </rdfs:comment>
  </rdfs:class>

  <rdfs:class rdf:about='&ns-ccpp;string'>
    <rdfs:label xml:lang="en">text value</rdfs:label>
    <rdfs:subclassof rdf:resource='&ns-rdfs;literal'/>
    <rdfs:comment xml:lang="en">
      this is the class of rdf literals that represent cc/pp
      attribute string values.
    </rdfs:comment>
    <rdfs:seealso rdf:resource=
      'http://www.w3.org/tr/xmlschema-2/#string'/>
  </rdfs:class>

  <rdfs:class rdf:about='&ns-ccpp;integer'>
    <rdfs:label xml:lang="en">integer value</rdfs:label>
    <rdfs:subclassof rdf:resource='&ns-rdfs;literal'/>
    <rdfs:comment xml:lang="en">
      this is the class of rdf literals that represent cc/pp
      attribute integer number values.
    </rdfs:comment>
    <rdfs:seealso rdf:resource=
      'http://www.w3.org/tr/xmlschema-2/#integer'/>
  </rdfs:class>

  <rdfs:class rdf:about='&ns-ccpp;rational'>
    <rdfs:label xml:lang="en">rational value</rdfs:label>
    <rdfs:subclassof rdf:resource='&ns-rdfs;literal'/>
    <rdfs:comment xml:lang="en">
      this is the class of rdf literals that represent cc/pp
      attribute rational number values.
    </rdfs:comment>
  </rdfs:class>

  <rdfs:class rdf:about='&ns-ccpp;property'>
    <rdfs:label xml:lang="en">cc/pp property</rdfs:label>
    <rdfs:subclassof rdf:resource='&ns-rdf;property'/>
    <rdfs:comment xml:lang="en">
      ccpp:property is the super-class for ccpp:structure and
      ccpp:attribute. therefore all property arcs that are not part
      of the core rdf namespace and constitute parts of a cc/pp
      profile are defined as subclasses of ccpp:property. this
      allows schema-validating environments with language mixing to
      isolate the cc/pp elements of an rdf graph rooted in some
      given resource from other attributes of that resource.
    </rdfs:comment>
  </rdfs:class>

  <rdfs:class rdf:about='&ns-ccpp;structure'>
    <rdfs:label xml:lang="en">cc/pp structural property</rdfs:label>
    <rdfs:subclassof rdf:resource='&ns-ccpp;property'/>
    <rdfs:comment xml:lang="en">
      all properties that are structural elements of a cc/pp profile
      are defined as instances of ccpp:structure. this allows
      structural combining elements of a profile to be distinguished
      from attributes in a schema-aware environment.
    </rdfs:comment>
  </rdfs:class>

  <rdfs:class rdf:about='&ns-ccpp;attribute'>
    <rdfs:label xml:lang="en">cc/pp attribute</rdfs:label>
    <rdfs:subclassof rdf:resource='&ns-ccpp;property'/>
    <rdfs:comment xml:lang="en">
      all properties that describe client capabilities or preferences
      in a cc/pp profile should be defined as instances of
      ccpp:attribute. this allows structural combining elements
      of a profile to be distinguished from client features in a
      schema-validating environment.
    </rdfs:comment>
  </rdfs:class>


<!--  cc/pp structural property definitions -->
<!--  basic client profile description      -->

  <ccpp:structure rdf:about='&ns-ccpp;component'>
    <rdfs:label xml:lang="en">cc/pp component property</rdfs:label>
    <rdfs:domain rdf:resource='&ns-ccpp;client-profile'/>
    <rdfs:range  rdf:resource='&ns-ccpp;component'/>
    <rdfs:comment xml:lang="en">
      indicates a component of a top-l

本文关键:(CC/PP)结构和词汇 1.0
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top