有关 Microsoft 软件质量指标 (.sqm) 文件格式的信息?

发布于 2025-01-03 13:46:59 字数 1664 浏览 0 评论 0原文

我正在使用 Microsoft 的 SqmApi.dll 库向应用程序添加遥测功能。例如:

ISQM sqm = new Sqm("ContosoGrobber");

sqm.Increment(FileOpen, 1);
sqm.SetIfMax(QueryTime, stopWatch.Interval);
...

sqm.CloseSession(System.IO.Path.GetTempPath());

现在我有一个 .sqm 文件可供我将 WebRequest 返回到我的网络服务器:

在此处输入图像描述

现在我需要的是一种打开文件内部内容的方法:

ContosoGrobber00.sqm

<小时> <前><代码>MSQMx šwD ¤¡æÌp¿Ÿ¤•æ̈ºXϔ|NÕï'CðÆÏ 克

有没有人弄清楚过去 8 年中创建的每个 Microsoft 产品所使用的未记录的内部格式?

它显然不是 Base64 编码的,因此可能是经过压缩的。

额外阅读

Bonus Chatter

Microsoft 客户体验改善计划–第 2 部分

<小时>

出于隐私原因,Microsoft 不会公开分享有关 SQM 文件格式的任何详细信息。 SQM 文件主要包含标题数据和数据点。

i'm using Microsoft's SqmApi.dll library to add telemetry to an application. e.g.:

ISQM sqm = new Sqm("ContosoGrobber");

sqm.Increment(FileOpen, 1);
sqm.SetIfMax(QueryTime, stopWatch.Interval);
...

sqm.CloseSession(System.IO.Path.GetTempPath());

And now i have a .sqm file ready for me to WebRequest back to my web-server:

enter image description here

Now all i need is a way to crack open the guts inside the file:

ContosoGrobber00.sqm:


MSQMx       šwD                                      
€Ÿ¨¡•æÌp¿Ÿ¤•æ̈ºX¦Ô|NÕï'CðÆÏ                                            
g  

Has anyone figured out the undocumented internal format used by every Microsoft product created in the last 8 years?

It's obviously not Base64 encoded, so presumably compressed.

Bonus Reading

Bonus Chatter

The Microsoft Customer Experience Improvement Program–Part 2


for privacy reasons Microsoft doesn’t share any details in public about the SQM file format. The SQM file basically contains header data and Datapoints.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

如梦亦如幻 2025-01-10 13:46:59

也许这是有线协议的某种 MS 标准序列化? MS-SQMCS 客户端-服务器协议文档指出标头以 0x4D51534D(MSQM 的十六进制)开头。

Perhaps it's some kind of MS standard serialization of the wire protocol? The MS-SQMCS client-server protocol doc notes that the header begins with 0x4D51534D (hex for MSQM).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文