移动代理和网络爬虫之间的区别

发布于 2024-10-11 07:57:21 字数 46 浏览 9 评论 0原文

有人可以告诉我移动代理和网络爬虫之间的确切区别吗?

提前致谢。

Can someone tell me the exact difference between mobile agents and web crawlers?

Thanks in advance.

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

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

发布评论

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

评论(3

定格我的天空 2024-10-18 07:57:21

虽然这个问题很老了,但我想澄清一下 purushottam 所说的内容。

移动代理是一个正在运行的程序(代码和数据)
在网络中从一台计算机跳跃(迁移)到另一台计算机,代表某人执行任务并最终返回结果。例如,它们可用于在组织内的计算机上安装和维护软件,或比较多个供应商的产品价格
通过访问每个供应商的站点并执行一系列数据库操作。

移动代理对资源的潜在安全威胁
他们访问的计算机。所以接收代理的环境应该决定
应该允许使用哪些本地资源,例如,基于代理所代表的用户的身份。此外,移动代理本身也很容易受到攻击,因为如果他们无法访问所需的信息,他们可能无法完成任务。

另一方面,网络爬虫不会从一台计算机跳到另一台计算机。相反,它会悄悄地“浏览”(扫描)网络,“读取”它找到的所有内容,并以一种能够更快地响应搜索请求的方式对其“读取”的所有内容进行索引。

Although this question is old, I'd like to elucidate on what purushottam has said.

A mobile agent is a running program (both code and data) that
hops (migrates) from one computer to another in a network carrying out a task on someone’s behalf and eventually returning with the results. They might be used, for instance, to install and maintain software on the computers within an organization or to compare the prices of products from a number of vendors
by visiting each vendor’s site and performing a series of database operations.

Mobile agents are a potential security threat to the resources in
computers that they visit. So the environment receiving an agent should decide
which of the local resources it should be allowed to use, based, say, on the identity of the user on whose behalf the agent is acting. In addition, mobile agents can themselves be vulnerable as they may not be able to complete their task if they are refused access to the information they need.

A web crawler on the other hand does not hop from one computer to another. Rather it quietly "browses" (scans) the web, "reading" everything it finds and indexing all it has "read" in a way that that enables it respond to search requests faster.

夕嗳→ 2024-10-18 07:57:21

移动代理是针对移动设备的代理字符串类别,请参阅

http://en.wikipedia .org/wiki/List_of_user_agents_for_mobile_phones

网络爬虫是由不同程序(例如搜索引擎)用于索引页面的机器人程序...

http://en.wikipedia.org/wiki/WebCrawler

就像谷歌的爬虫代理字符串之一是 "DoCoMo/1.0/P502i/c10 (Google CHTML Proxy/1.0) ”
属于 “Google (216.239.39.x) 代理服务器”

这是代理字符串的完整列表,包括爬虫、蜘蛛...

http://www.user-agents.org/

编辑
按照您的要求...

查看是否有人访问您的网站并检查他的用户代理。如果他使用的是 Firefox,您将获得一个字符串,如果他使用的是 iPhone 等移动设备,那么您将获得安装在移动设备上的浏览器的用户代理。如果访问者是爬虫,那么您将获得用户代理字符串,同样......

Mobile Agent is a category of Agent Strings that are ment for Mobile Devices have a lok at

http://en.wikipedia.org/wiki/List_of_user_agents_for_mobile_phones

Where as web crawlers are Robot programs that are used by different programs like Search engines for indexing pages...

http://en.wikipedia.org/wiki/WebCrawler

Like one of google's crawler Agent String is "DoCoMo/1.0/P502i/c10 (Google CHTML Proxy/1.0)"
which belong to "Google (216.239.39.x) proxy server "

Here is a complete list of Agent strings Including Crawlers,Spiders...

http://www.user-agents.org/

Edit
As u requested...

See if someone visits your site and you check his User-Agent. If he is using a Firefox, you will get a string for that, if he is using A mobile Device like an iPhone then u get the user-Agent of the Browser installed on the Mobile. If the visitor is a Crawler then u get the user-Agent String For the same...

帝王念 2024-10-18 07:57:21

如果我没记错的话,移动代理必然意味着他们必须使用移动设备做一些事情。移动代理是一种特殊类型的代理代码,其设计方式本质上是移动的。

  1. 它们被称为移动并不是因为它们在移动设备上工作,而是因为代码是移动的,即代码能够从一个地方移动到另一个地方。移动代理提供代码移动性。
  2. 举个例子,如果我编写一个用于搜索任何项目的代码(以此示例将其与网络爬虫进行比较),移动代理代码将从您的服务器端移动到搜索的各个服务器是在他们这边进行搜索,然后将结果返回给您。
  3. 然而,爬虫在您这边工作,它的代码不会移动,而是您从服务器端访问数据。这是一个完全不同的范式。

我认为 Shekhar 已经为您提供了移动设备用户代理的答案,从技术上讲,这不是移动代理,而是移动代理。
您可以此处进行澄清

If I am not wrong, Mobile Agents DONOT necessarily mean that they have to do something with Mobile Devices. Mobile Agents are a special type of agent-codes, that are designed in such a way that they are Mobile in nature.

  1. They are called MOBILE not because they work on Mobile Devices, but because the code is mobile i.e. the code has a capability to Move from one place to the other. Mobile Agents provide Code Mobility.
  2. To give you an example, if i write a code for searching any item (took this example to compare it with web crawler thing), a mobile agent code will move from your server side to various servers where searching is to take place, process the searching at their side, and then return to you the result.
  3. However a crawler works from your side, its code does not travel rather you access data sitting from your server side. This is a different paradigm all together.

I think Shekhar has given you an answer for User Agents for Mobile devices, which technically are not Mobile Agents, but Agents for Mobiles.
You can clarify here

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