谷歌如何创建即时预览图像?

发布于 2024-12-06 11:48:22 字数 194 浏览 3 评论 0原文

我想知道谷歌如何捕获谷歌即时预览中包含的所有网站?我确信他们没有使用缩略图服务(例如 www.thumbalizr.com、websnapr.com、snapcasa.com、thumbshots.com),而是使用他们自己的软件。但是:鉴于谷歌捕获了大量网站,他们必须拥有一个非常复杂的系统。另外:这会生成大量数据(jpg?)。 有人更深入地了解谷歌是如何做到这一点的吗?

I was wondering how google is capturing all those websites that are featured in google's instant preview? I'm sure they are not using a thumbnail service (like www.thumbalizr.com, websnapr.com, snapcasa.com, thumbshots.com) but rather use their own software. BUT: given that google captures A LOT of websites, they must have a very sophisticated system. PLUS: this generates HUGE amounts of data (jpgs?).
Does somebody have more insight into how google does this?

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

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

发布评论

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

评论(2

红衣飘飘貌似仙 2024-12-13 11:48:22

是的,就是这样。他们的网站管理员页面暗示他们使用 Chrome 使用的相同引擎渲染页面,并且预览基于结果。

Yes, it's something like that. Their webmaster pages hint that they render the page with the same engine Chrome uses, and the preview is based on the result.

还不是爱你 2024-12-13 11:48:22

很难说,但这里有 Google 项目经理讨论它的一些信息:

http://googleblog.blogspot.com/2010/11/beyond-instant-results-instant-previews.html

它部分地说:

“我们将您的查询与整个网络的索引进行匹配,识别
每个网页的相关部分,将它们拼接在一起并服务于
结果预览完全根据您的搜索定制 - 通常在
不到十分之一秒”

再加上查看预览页面的源代码,表明他们正在使用自己的索引(与用于服务缓存页面的 webcache.googleusercontent.com 相同)来提供 JPEG Base64 图像字符串作为屏幕截图。

It's hard to say, but here's some info from a Google project manager discussing it:

http://googleblog.blogspot.com/2010/11/beyond-instant-results-instant-previews.html

It says in part:

"we match your query with an index of the entire web, identify the
relevant parts of each webpage, stitch them together and serve the
resulting preview completely customized to your search—usually in
under one-tenth of a second"

That plus looking at the source of a preview page suggests that they're using their own index (the same webcache.googleusercontent.com that is used to serve the Cached pages) to serve JPEG Base64 image strings as screenshots.

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