DUSM 架构

数据使用情况订阅管理 (DUSM) 架构定义用于描述订阅者连接到按流量计费网络的成本信息的元素。 所有元素均在命名空间 中 http://www.microsoft.com/networking/CarrierControl/DUSM/v1。 并非所有元素都每个配置文件中,因为某些元素是可选的。

下表列出了此架构中按名称按字母顺序排序的所有元素。

元素 说明
BandwidthInKbps

定义一个值,该值表示以 Kbps 指定的订阅服务器连接的有效链接速度。 必须是 0 到 232nd 的值

BillingCycle

定义计划的开始日期和时间、持续时间,以及计费周期结束时发生的情况。

CarrierPolicy

定义此连接Windows的可选设置。

成本

定义一组计量成本信息,用于指定订阅者与移动网络运营商和 MNO (按流量计费) 。 成本 是 DUSM 成本信息的唯一根元素。

DataLimitInMegabytes

定义一个值,该值表示上限计划的数据限制(以 MB 为单位)。 必须是 0 到 232nd 的值

MaxDownloadFileSizeInMegabytes

定义一个值,该值表示订阅服务器连接的最大建议下载大小(以 MB 为单位)。 必须是 0 到 232nd 的值

SecurityUpdatesExempt

如果为 true,则 MNO Windows 更新 (WU) 在按流量计费的网络上时,安全更新不会计入订阅者计划的数据使用情况,WU 将下载所有安全修补程序。 否则,WU 将仅下载零日修补程序,而不是在 false 时下载所有 安全更新

UsageInMegabytes

定义一个值,该值表示当前计费周期中当前使用的数据(以 MB 为单位)。 必须是 0 到 232nd 的值

UserSMSEnabled

指示订阅者的服务是否包括必须以近实时方式传递的用户到用户短信。 如果为 true,Windows在移动宽带接口上采用不太主动的电源管理,以允许短信更快到达。 如果 为 false,则当电脑下一次处于活动状态时,将发送短信。

 

完整的 DUSM 架构如下所示:

<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://www.microsoft.com/networking/CarrierControl/DUSM/v1"
    elementFormDefault="qualified"
    xmlns="http://www.microsoft.com/networking/CarrierControl/DUSM/v1"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:simpleType name="PlanType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unrestricted"/>
      <xs:enumeration value="Fixed"/>
      <xs:enumeration value="Variable"/>
    </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="Subscription">
    <xs:sequence>
      <xs:element name="UsageInMegabytes" minOccurs="0">
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:nonNegativeInteger">
              <xs:attribute name="Timestamp" type="xs:dateTime" use="required"/>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="DataLimitInMegabytes" type="xs:positiveInteger" minOccurs="0"/>

      <xs:element name="BillingCycle" minOccurs="0">
        <xs:complexType>
          <xs:attribute name="StartDate" type="xs:dateTime" use="required"/>
          <xs:attribute name="Duration" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:duration">
                <xs:minExclusive value="PT0S"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="Resets" type="xs:boolean" default="true"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="BandwidthInKbps" type="xs:nonNegativeInteger" minOccurs="0"/>

      <xs:element name="MaxDownloadFileSizeInMegabytes" type="xs:positiveInteger" default="25" minOccurs="0"/>
      
      <xs:element name="CarrierPolicy" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="SecurityUpdatesExempt" type="xs:boolean" default="false" minOccurs="0"/>
            <xs:element name="UserSMSEnabled" type="xs:boolean" default="true" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="OverDataLimit" type="xs:boolean"/>
    <xs:attribute name="Congested" type="xs:boolean"/>
    <xs:attribute name="PlanType" use="required" type="PlanType"/>
  </xs:complexType>
  <xs:element name="Cost" type="Subscription"/>
</xs:schema>