AndroBOINC

来自中国分布式计算总站
50px 该页面正在被编辑
用户 Arthur200000 正在编辑该页面,尚未完工。请其他Wiki用户不要同时编辑,以避免冲突。
该用户的说明:大家到翻译区申请翻译喵~官方WIKI:http://code.google.com/p/androboinc/wiki/
如果该页面长期无人编辑,请去除该模板并添加上合适的页面状态模板
欢迎无wiki账号的用户到论坛Wiki系统讨论区注册)参与讨论,有账号用户请到讨论:AndroBOINC发表见解。

AndroBOINC是一个适用于安卓系统的BOINC管理端。其主要功能近似于电脑的BOINC,但是已经为小屏幕优化。

安装方法

下载

  1. 使用Google Play搜索安装。
  2. 在“程序下载”页面安装

安装

对于Apk文件:请确保设置——软件中未知来源已经打开。 对于Google Play:直接下载。

用法

电脑的网络访问

今天,在家里有几个网络设备很常见,而使用一个路由器访问Internet。通常情况下,路由器进行网络地址转换(NAT)。在这种情况下,家庭网络上的设备直通过端口转发访问互联网(80TCP和15000UDP),所以也无法从互联网上的PC运行、连接BOINC客户端核心。

在某些情况下,用户可能希望互联网上有BOINC客户端,并使用在家庭WiFi网络使用AndroBOINC。

但是,在大多数情况下,用户从互联网控制BOINC。

BOINC在互联网上运行,必须启用路由器上的端口转发,所以当端口31416访问互联网,连接被转发到BOINC客户端的PC上安装和侦听端口31416。由于有各种路由器如何对它们进行设置,因此有不同的方式,它不可能在本文档中被提到。

BOINC客户端在互联网上时,我们必须知道它的地址才可以连接到它。静态IP地址不会改变,在这种情况下,路由器的外部IP地址,可直接用于BOINC客户端连接到互联网。静态地址,或者是正常的域名系统(DNS)通过域名和访问客户端也很容易使用。

使用动态分配的IP地址,它是比较困难的,因为地址随时间变化。它仍然是可能的,在这种情况下,需要建立动态DNS(DDNS)。

在最坏的情况下,可以使用一个小窍门,找到当前的BOINC客户端的动态IP地址:BOINC客户接触的项目服务器定期得到新的工作和报告完成的工作。项目服务器存储的客户端的IP地址,该地址可以通过用户的帐户上项目的页面中显示。用户必须登录该项目页面,在这个帐户,导航到“计算机”,选择“详细信息”的计算机,并在计算机信息页面上单击“显示IP地址”。 “外部IP地址”字段中显示的IP地址使用BOINC客户端接触最新的动态IP地址,因此,如果不改变过于频繁,有一个很好的机会,这个最新的IP地址仍然是有效的。

AndroBOINC设置

当BOINC已经安装完毕并且可以访问网络时,来简单的了:

  1. 在安卓上安装程序。
  2. 启动 AndroBOINC。
  3. 按下菜单【menu】,选择连接【connect】。
  4. 第一次安装后这里是空的,但是会有提示。按菜单,选择“添加新主机【Add New Host】”
  5. 填表格时间到!
  • 主机昵称就是主机的显示名,它可以是任意的(不要怕和谐),但是必须(对于你的手机来说)独一无二。
  • 地址就是你的BOINC客户端的地址。
  • 端口就是BOINC的端口。
  • 密码就是……好吧……那个密码。(开发者你叫我情何以堪!)

填表格完了之后,选择主机并且连接。连接后即可控制主机。主机参数会在手机数据库保存,所以下次可以直接从AndroBOINC列表找到主机并且连接。如果需要修改或者删除,长按列表中的项目。

FAQ

Q: Could the feature XY be added to AndroBOINC?

A: You are welcome to request for enhancement can be submitted via Issue tracker. The issue 6 or issue 12 are examples of such enhancement requests.

Q: The AndroBOINC always force closes on my xxxxxx phone. Why?

A: If it is older Android phone or just cheaper one, it is possible that phone does not have enough memory. The BOINC client can send quite a lot of data to AndroBOINC (depending also on number of projects, applications, tasks and messages). Although memory usage was considered in AndroBOINC design and memory is not wasted, there is some minimum usage and it is possible that phones with too little free emory just cannot handle it.

Q: I can't get this to work. The networking setup is too complicated and needs to be simplified some.

A: The setup of AndroBOINC itself is easy. The setup of BOINC client is more complex, but that is a feature of BOINC client itself (and cannot be changed by AndroBOINC). The procedure described in this wiki now covers all 3 major PC platforms and should work for most of cases. Some scripts could possibly make setup of BOINC client easier, but due to the nature of BOINC (multiple platforms, different options of installation, etc) there would be risk of breaking things (but everybody is welcome to provide working solution for this). The setup related to networking (e.g. port forwarding, firewall setting) depends on environment and can vary a lot - no universal solution exists.

Q: Can I compile AndroBOINC myself?

A: Yes, you can! AndroBOINC is open source project, published under GPLv3. The description of exact compilation steps is not published in the wiki yet (it is planned), but if you are familiar with building for Android, you don't need it anyway.

Q: Can we get also BOINC CLIENT on Android?

A: BOINC client is not part of AndroBOINC project. There are several reasons for that:

Battery. Android devices are mainly mobile devices and running computation on them would consume battery extremely fast. Processor architecture. Android devices mostly run on ARM processors. So some adaptation of BOINC client code and compilation for ARM should be done first. But what should be computed then? It would need also project applications compiled for ARM... Android system restrictions. BOINC client downloads applications from project page and runs them - while this is simple on operating systems for PC, in Android the applications must be installed into special area by special procedure. Several functional changes of client would be necessary to be able to run scientific applications on Android system. With the continuous development of Android platform the making of BOINC client could become more and more reasonable (e.g. for tablets with multicore CPUs) so it is possible that somebody will start another project for client someday, but for AndroBOINC it is currently not planned.