您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

针对按流量计费的异常情况检测服务Anomaly detection service for metered billing

Marketplace 计量服务使你可以在基于非标准单位收费的商业市场计划中创建产品/服务。The Marketplace metering service lets you create offers in the commercial marketplace program that are charged according to non-standard units. 通过计费计费,你可以将客户使用情况事件发送到 Microsoft,并根据该使用情况准备计费。With metered billing, you send usage events for your customer’s usage to Microsoft and we prepare the billing based on that usage.

错误的使用情况数据可能来自多种原因,例如 bug、消耗跟踪中的错误配置或欺诈行为。Incorrect usage data could come from a variety of causes, such as bugs, misconfigurations in your consumption tracking, or fraud. 使用情况数据不正确会导致客户费用和计费争议不正确。Incorrect usage data would result in incorrect customer charges and billing disputes.

为了缓解此风险,我们的异常情况检测服务会应用机器学习算法来确定正常的按流量计费行为,分析按流量计费的使用情况,并使用最少的用户干预发现异常。To mitigate the risk, our anomaly detection service applies machine learning algorithms to determine normal metered billing behavior, analyze the metered billing usage, and discover anomalies with minimal user intervention.

如果在按流量计费的使用情况中检测到异常,则会通知你。You are notified if there is anomaly detected in your metered billing usage. 这使您有机会调查并通知我们是否已确认异常是一个真正的问题,在这种情况下,可以采取相应措施来提前解决客户的计费问题。This gives you an opportunity to investigate and notify us if an anomaly is confirmed to be a real issue, at which point actions can be taken to address the customer billing issue proactively.

除了突然出现的峰值、dip 和趋势变化的计费使用情况外,我们的模型还会使季节性效应。In addition to sudden spikes, dips, and trend changes of metered billing usage, our model also accounts for seasonal effects. 由于计量计费通过超额数据进行通信,因此,模型还能够正常处理丢失数据的长时间。Because metered billing is communicated via overage data, our model is also able to gracefully handle long periods of missing data.

下面是异常检测结果的示例。Following are examples of anomaly detection results. 预期范围显示为黄色带区。The expected range shows as a yellow band. 可接受的按流量计费使用情况在带区显示为绿色星。Acceptable metered billing usage shows as green stars in the band. 带区外的计费使用情况以红点显示。Billing usage outside the band displays as a red dot.

检测到可预测趋势以外的异常:Anomalies detected outside a predictable trend:

说明在可预测趋势以外检测到的异常。

在重复循环趋势以外检测到的异常:Anomalies detected outside a recurring cyclic trend:

说明在重复循环趋势以外检测到的异常。

在向上趋势中检测到异常:Anomalies detected in an upward trend:

说明在向上趋势中检测到的异常。

异常情况检测服务的工作原理How anomaly detection service works

自动为所有按流量计费使用启用异常情况检测。Anomaly detection is enabled automatically for all metered billing usage. 向 Microsoft 提交使用情况事件时,异常情况检测服务会根据过去的使用情况数据创建预期值的模型。When you submit the usage events to Microsoft, anomaly detection service creates a model of expected values based on past usage data. 此模型每周运行一次。This model runs weekly.

异常情况检测功能针对每个计量和每个客户的级别。Anomaly detection functions on a per-meter and per-customer level. 这意味着每个客户的每个计量器都有一个基于此指标的客户过去使用模式训练的模型。This means each meter with each customer will have a model trained based on this customer’s past usage pattern of this meter.

此模型的工作原理是生成追溯置信区间。The model works by generating retrospective confidence intervals. 时序预测是一种通用化的附加模型,由趋势预测部分和季节性部分组成。The time series forecast is a generalized additive model consisting of a trend prediction part and a seasonality part. 由于模型被表述为回归任务,因此它可以合理地处理丢失数据的长时间。Because the model is formulated as a regression task, it can gracefully handle long periods of missing data. 如果观察范围超出了预测的置信区间,则表示无法根据按流量计费的历史模式来说明观察,因此可能是异常情况。If an observation falls outside of the predicted confidence intervals, it means that observation cannot be explained based on historical patterns of the metered billing and therefore may be an anomaly.

异常情况检测通知Anomaly detection notification

你可以评估、管理和确认合作伙伴中心的异常情况。You can evaluate, manage, and acknowledge anomalies in Partner Center. 若要了解如何操作,请参阅 在合作伙伴中心管理按流量计费的异常To learn how, see Manage metered billing anomalies in Partner Center.

若要确保你的客户不会额外收取按流量计费,应调查检测到的异常是否为实际问题。To ensure that your customers are not overcharged for metered usage, you should investigate if detected anomalies are real issues. 如果是这样,则可以在合作伙伴中心确认错误的用法。If so, you can acknowledge the incorrect usage in Partner Center.

建议确认检测到的异常是否正常使用。We recommended that you confirm if detected anomalies are normal usage. 这样做将改进我们提供给你的异常数据。Doing so will improve the anomaly data we provide to you. 如果异常表示潜在的高财务风险,我们可能会与你联系以确认使用情况。If an anomaly represents a potentially high financial risk, we may contact you to confirm the usage.

何时以及如何获取支持When and how to get support

如果向我们发送不正确的按流量计费,或将导致客户 undercharge,我们将不会向客户发送按报告的使用情况,也不会为该使用付费。If you sent us an incorrect metered usage that did or will result in an undercharge to the customer, we will not initiate a bill to the customer for under-reported usage or pay you for that usage. 你必须自行承担由于少报而导致的收入损失。You will have to bear the loss of revenue due to under-reporting.

如果出现以下情况之一,你可以调整合作伙伴中心的使用金额,这将导致客户的退款或计费调整:If one of the following cases applies, you can adjust the usage amount in Partner Center which will result in a refund or billing adjustment for your customers:

  • 您已确认我们发现的异常之一是真正的问题,不正确的用法会导致客户 overcharging。You confirmed that one of the anomalies we found is a real issue and the incorrect usage would result in overcharging the customer.
  • 你发现你向我们发送了错误的使用情况,但使用不当会导致客户 overcharging。You discover that you sent incorrect usage to us and the incorrect usage would result in overcharging the customer.

提交与按流量计费异常相关的支持票证:To submit a support ticket related to metered billing anomalies:

  1. 使用工作帐户登录到 合作伙伴中心Sign in to Partner Center with your work account.
  2. 在页面右上角的菜单中,选择 " 支持 " 图标。In the menu on the upper-right of the page, select the Support icon. " 帮助和支持 " 窗格出现在页面的右侧。The Help and support pane appears on the right side of the page.
  3. 若要获得商业应用商店帮助,请选择 " 商用 marketplace"。For help with the commercial marketplace, select Commercial Marketplace. 说明 "支持" 窗格。Illustrates the support pane.
  4. 在 " 问题摘要 " 框中,输入 商用 marketplace > 按流量计费In the Problem summary box, enter commercial marketplace > metered billing.
  5. 在 " 问题类型 " 框中,选择下列项之一:In the Problem type box, select one of the following:
    • 商业市场 > 为 Azure 应用程序提供的错误使用情况计费 >Commercial Marketplace > Metered Billing > Wrong usage sent for Azure Applications offer
    • 商业市场 > 针对 SaaS 产品/服务发送的错误使用情况计费 >Commercial Marketplace > Metered Billing > Wrong usage sent for SaaS offer
  6. 下一步 中,选择 " 查看解决方案"。Under Next step, select Review solutions.
  7. 查看建议的文档(如果有),或选择 " 提供问题详细信息 " 以提交支持票证。Review the recommended documents, if any or select Provide issue details to submit a support ticket.

有关发布者支持选项的详细信息,请参阅 合作伙伴中心的商业市场计划支持For more publisher support options, see Support for the commercial marketplace program in Partner Center.

后续步骤Next steps