dounine/clouddisk

I've been researching the download process behind 360 cloud disk...I like to ask a question.

Opened this issue · 1 comments

Ello, I'm creating this issue because I've been doing research about the downloading
behind 360 cloud disk since it's closure on Nov. 1st and want to you a question as
the dev behind the SDK clouddisk.

To explain, many days before the closure of 360 Cloud Disk, I was rushing to download
the last of my files I haven't backup yet. Dealing with the slow download speeds as everyone
else was, I began a series of research behind the DL process to learn why it's so slow.

I've learned why the files take so long to download and it's because they're fragmented
thus each file fragment is downloaded at a time.

So I almost stopped researching until my curiosity peaked at learning about
how downloads are requested! (Since the closure was so close and I didn't get
the last of my files downloaded before then).

Below is an example "Sync.getDownloadInfo" xml response when requesting a file to download:

<?xml version="1.0" encoding="utf-8"?><response errno="0" errmsg="" count="1" k="" u="" d="MzUw" t="MjAw"><file_info fpath="/Ese-Lolifox v0.3.8.9a.exe" ver="1" ctime="1433084529" mtime="1433084674" fsize="19068928" fhash="05347706c635dab7aaa09a54c6b0ac9de446c596" dt="79.75df0a0f6a706298a81010c53da5ff30_用户令牌遗漏了" nid="14715458879408627" compress="0" http="tb-dl3.yunpan.360.cn" addr_1="180.163.237.192,cnc,d"/></response>

I've been studying the attributes within these responses and learned quite a lot besides the obvious.
The "fhash" attribute is not just a mere "sha1" hash calculation but actually an hash calculation of all the bhash (file fragment block hashes) sha1 hashes in a single string, all in order.

Here's a link on where I learned it: (And yes, I tested it myself and can confirm it's true)
http://blog.csdn.net/gnicky/article/details/49247579

Nid and the other attributes, I already know or are obvious in itself...
But there's one, no, 5 attributes that I don't know what they are.

k, u, d, t: These are attributes I have no idea about and if you have any info about them, I would love to hear what they are and what they do.

Okay, here's why I'm making this issue...
The "DT" attribute...is an attribute that starts with a number then an MD5 hash.
This MD5 is unknown as I have looked everywhere and found no info on how it's calculated.
I tested one of my files that's on my cloud disk, hashing it for an MD5 value but found it's not
related. I looked online to see if any similar MD5 hash exists to no avail...

I've made a thread on the official BBS 360 forum but no one has or knows about it:
http://bbs.360.cn/forum.php?mod=viewthread&tid=15235597

So I'm asking you for help on this...
I know that 360 cloud disk (personal) is gone but still, this has been bugging me for a while.
Please, do you know what the "DT" attribute means? Please answer and thanks!

Oh and I emailed you but you haven't replied...
Hope I'm not a bother! ^-^

Translation to Chinese with Google Translate:
注意:这是我上面发布的文章的谷歌翻译。
很抱歉,如果有些部分听起来很奇怪或关闭!


你好,我正在创建这个问题,因为我一直在研究下载
自从11月1日关闭360云盘之后,希望给你一个问题
SDK云端硬盘背后的开发者。

为了解释,在360云端硬盘关闭之前的很多天,我正急着下载
我还没有备份的最后一个文件。处理每个人都慢的下载速度
否则,我开始了DL流程背后的一系列研究,以了解为什么这么慢。

我已经知道为什么这些文件需要很长时间才能下载,这是因为它们是分散的
从而一次下载每个文件片段。

所以我几乎停止了研究,直到我的好奇心达到了顶峰
如何请求下载! (由于封闭如此密切,我没有得到
我之前下载的最后一个文件)。

下面是请求文件下载时的“Sync.getDownloadInfo”xml响应示例:

<?xml version="1.0" encoding="utf-8"?><response errno="0" errmsg="" count="1" k="" u="" d="MzUw" t="MjAw"><file_info fpath="/Ese-Lolifox v0.3.8.9a.exe" ver="1" ctime="1433084529" mtime="1433084674" fsize="19068928" fhash="05347706c635dab7aaa09a54c6b0ac9de446c596" dt="79.75df0a0f6a706298a81010c53da5ff30_用户令牌遗漏了" nid="14715458879408627" compress="0" http="tb-dl3.yunpan.360.cn" addr_1="180.163.237.192,cnc,d"/></response>

我一直在研究这些反应的属性,除了这些显而易见的东西外,还学到了很多东西。
“fhash”属性不仅仅是一个“sha1”散列计算,实际上是所有bhash(文件碎片块散列)sha1散列计算在一个字符串中散列,全部按顺序排列。

这里有一个关于我在哪里学习的链接:(是的,我自己测试,可以确认它是真实的)
http://blog.csdn.net/gnicky/article/details/49247579

Nid和其他属性,我已经知道或明显的本身...
但是,有一个,不,5个属性,我不知道他们是什么。

k,u,d,t:这些是我不知道的属性,如果你有任何关于它们的信息,我很想听听他们是什么,他们做了什么。

好的,这就是我为什么要这个问题...
“DT”属性...是一个以数字开始,然后是MD5散列的属性。
这个MD5是未知的,因为我到处找,没有发现它是如何计算的信息。
我测试了我的云盘上的一个文件,将其散列为MD5值,但发现它不是
有关。我在网上查找是否有任何相似的MD5哈希存在无济于事...

我已经在官方论坛360论坛上发了一个帖子,但是没有人知道或者知道:
http://bbs.360.cn/forum.php?mod=viewthread&tid=15235597

所以我要求你帮忙
我知道360云盘(个人)已经不在了,但是这一直在困扰着我。
请问,你知道“DT”属性是什么意思吗?请回答并致谢!

哦,我发了电子邮件给你,但你还没有回复...
希望我不是一个麻烦! ^-^