Bot と Wiki を使った試験的な並列プログラミング環境およびプログラム例を示す。情報セキュリティ担当者が頭を悩ませていた悪性Botの耐障害性と超並列性を、科学技術計算や一般的な計算を行うために有益な方向に利用することを目指す。例として動的計画法を用いて最小経路問題を解く並列プログラムを示す。ここで、必要な計算資源(BotとWebページの数)はノード数に比例し、最小経路を計算するのに必要な時間は、求まる最小経路の弧の数に比例する。
HTML5 技術を利用してデスクトップ画面を、実時間で、数十台の端末に配信するシステムと、その管理システムを試作したことについて述べる。インターネットとプライベートネットワークのどちらにもサーバを配置することにより、授業や会議が遠隔地で分散して実施される場合にも対応できる。大量の端末に効率よくデータを配信するため、複数のサーバを利用するが、Web クライアントを自動的に適切なサーバに割り当てる機能も持っている。負荷分散機能も持っている。サーバを管理するため、Web 画面上でサーバを制御することができる。管理者が適切にサーバを加えたり減らしたりするため、端末数、Web クライアントで表示される単位時間あたりの表示画面枚数、Web クライアントにおけるネットワーク利用バンド幅などの変化も表示可能で、ログも採取できる。
Experimental Implementation of
a Real-time PC Screen Distribution System for Classes and Meetings using HTML5 Technology
Experimental implementation of a real-time PC screen distribution system for classes and meetings is discussed. This system uses HTML5 technology. So users of this system can use this system just using their own common Web browsers. Several tens web clients can share the screen of a PC. This system is a kind of CDN which unifies servers at the Internet and hierarchical private networks. An appropriate server of the CDN is selected automatically when a Web client is connected to the CDN. This system is also equipped with administration functions for managers of this system.
Optimizing Data Partitioning at Broadcasting the DataTakashi Yamanoue
The document presents a theoretical equation to optimize the number of data partitions when broadcasting data on a balanced n-ary tree peer-to-peer system. The author applies this equation to improve the performance of image broadcasting in SOLAR-CATS, a computer-assisted teaching system that uses P2P technology. Experimental results show partitioning the data according to the theoretical optimization reduces image broadcast times. The author concludes the equation and experiments are consistent with textbook guidance on network programming.
Portable Cloud Computing System – A System which Makes Everywhere an ICT Enh...Takashi Yamanoue
A "Portable Cloud Computing System (Portable Cloud)" is discussed. This system is a portable system that can turn any room into an ICT-enhanced classroom or an ICT-enhanced meeting-room. The Portable Cloud is a carrying case, which contains Wi-Fi access points, a network switch, and a server cluster. The server cluster includes a NAPT (Network Address Port Translation) router, a DHCP server, a captive portal, and application servers. The Wi-Fi access points, the NAPT router, the captive portal and the DHCP server make the space where the Portable Cloud is located, Internet accessible. The application servers contains applications such like "Distributed Web Screen Share (DWSS)", "Slide Plus", and "OwnCloud". The DWSS is a web application which transmits a live screen image of a PC to a large number of Web clients. Slide Plus is an interactive live slide presentation tool for a large audience with Web clients. OwnCloud is open source software by owncloud.com. This software enables file sharing among students and teachers similar to that found in Dropbox. We are using the Portable Cloud for our seminar class, meetings of grass-root groups, and academic conferences. We can't imagine holding our seminar class without the Portable Cloud.
Monitoring Servers, With a Little Help from my BotsTakashi Yamanoue
This paper discusses a method of employing bots instead of people to monitor servers or server rooms. A bot is a remote controlled computer or a remote controlled program. A bot is usually a malicious program which is an element of a botnet. A botnet is used for doing malicious things such as spreading spam mails or doing DDoS Attacks. We have made bots and we are using bots for doing beneficial things such as monitoring a server instead of doing malicious things. We are monitoring a web server in our campus using a bot. This bot is tweeting whether the server is running or not periodically on the twitter. We are also monitoring a server room in our campus using another bot. This bot shows managers transition of the room temperature and others.
A Wearable LED Matrix Sign System@ACM SIGUCCS2015Takashi Yamanoue
A Wearable LED Matrix Sign System Which Shows a Tweet of Twitter and Its Application to Campus Guiding and Emergency Evacuation @ ACM SIGUCCS 2015, Lightning talks.
A Technique to Assign an Appropriate Server to a Client, for a CDN Consists ...Takashi Yamanoue
This paper discusses a technique to assign an appropriate server to a client for a content delivery network (CDN). We assume that the CDN consists of not only servers in the global Internet but also servers in hierarchical private networks. To use a common web browser as the client, this technique does not use broadcasting or multicasting. When a client is placed in a private network and a server of the CDN is also placed in the same private network, the client is connected to the server automatically by using this technique. When a client is placed in a private network and no CDN server is in the private network, or when the client is placed in the global network, the client is connected to a server in the global network automatically. This technique could improve the bandwidth between a server and a client when they are placed in the same private network because the TCP bandwidth heavily depends on latency. The CDN user does not need to know the location of a server. This technique does not use DNS because a CDN server in a private network is not always registered in the DNS.
Wiki に書いたスクリプトに従って, 自動的に Twitter で tweet する情報提示システムと, その開発と利用例について述べる. ここで, 実際にtweet するホストと スクリプトが書かれている Wiki のサーバのホストとは独立している. このシステムを使って着る電光掲示板を拡張し, それを使って, フルマラソンのスタートからゴールまで, 周りの参加者や沿道の観衆にメッセージを送り続けることができた. このシステムを拡張し, インターネット上の応用システムの障害対策や, ハードウェアやソフトウェアの更新等によるダウンタイムの低減に役立てることについても検討を行う.
A system which tweets messages automatically, is shown. The system is a kind of bot networks, bots of which are controlled by commands on a wiki page, according to the script in the wiki page. We have constructed a wearable LED matrix sign which tweets automatically, using this system, and we have applied this to a public relations in a full marathon race. We also consider to use the structure of this system to enhance the resilience of application systems.
An Inter-Wiki Page Data Processor for a M2M System @Matsue, 1sep., Eskm2013Takashi Yamanoue
The document describes an inter-wiki page data processor for a machine-to-machine (M2M) system. The data processor reads data from sensors or wiki pages, processes the data, and outputs the results to wiki pages or controls actuators. It is controlled by programs written on wiki pages and has functions for communicating with mobile terminals, sensors, actuators, and web pages. An example application involves monitoring temperature, light, and human activity data in a room and controlling LEDs based on the results.
The document describes a usability study comparing a video projector and an inter-PC screen broadcasting system for use in a computer laboratory. Subjects were shown text samples of varying difficulty levels using each tool, and their typing speed and accuracy were recorded. Results showed the projector was better for smaller amounts of text on one screen, while the screen broadcasting system was better for larger amounts of text. The study aimed to provide benchmarks for choosing presentation tools for computer labs.
HTML5 技術を利用してデスクトップ画面を、実時間で、数十台の端末に配信するシステムと、その管理システムを試作したことについて述べる。インターネットとプライベートネットワークのどちらにもサーバを配置することにより、授業や会議が遠隔地で分散して実施される場合にも対応できる。大量の端末に効率よくデータを配信するため、複数のサーバを利用するが、Web クライアントを自動的に適切なサーバに割り当てる機能も持っている。負荷分散機能も持っている。サーバを管理するため、Web 画面上でサーバを制御することができる。管理者が適切にサーバを加えたり減らしたりするため、端末数、Web クライアントで表示される単位時間あたりの表示画面枚数、Web クライアントにおけるネットワーク利用バンド幅などの変化も表示可能で、ログも採取できる。
Experimental Implementation of
a Real-time PC Screen Distribution System for Classes and Meetings using HTML5 Technology
Experimental implementation of a real-time PC screen distribution system for classes and meetings is discussed. This system uses HTML5 technology. So users of this system can use this system just using their own common Web browsers. Several tens web clients can share the screen of a PC. This system is a kind of CDN which unifies servers at the Internet and hierarchical private networks. An appropriate server of the CDN is selected automatically when a Web client is connected to the CDN. This system is also equipped with administration functions for managers of this system.
Optimizing Data Partitioning at Broadcasting the DataTakashi Yamanoue
The document presents a theoretical equation to optimize the number of data partitions when broadcasting data on a balanced n-ary tree peer-to-peer system. The author applies this equation to improve the performance of image broadcasting in SOLAR-CATS, a computer-assisted teaching system that uses P2P technology. Experimental results show partitioning the data according to the theoretical optimization reduces image broadcast times. The author concludes the equation and experiments are consistent with textbook guidance on network programming.
Portable Cloud Computing System – A System which Makes Everywhere an ICT Enh...Takashi Yamanoue
A "Portable Cloud Computing System (Portable Cloud)" is discussed. This system is a portable system that can turn any room into an ICT-enhanced classroom or an ICT-enhanced meeting-room. The Portable Cloud is a carrying case, which contains Wi-Fi access points, a network switch, and a server cluster. The server cluster includes a NAPT (Network Address Port Translation) router, a DHCP server, a captive portal, and application servers. The Wi-Fi access points, the NAPT router, the captive portal and the DHCP server make the space where the Portable Cloud is located, Internet accessible. The application servers contains applications such like "Distributed Web Screen Share (DWSS)", "Slide Plus", and "OwnCloud". The DWSS is a web application which transmits a live screen image of a PC to a large number of Web clients. Slide Plus is an interactive live slide presentation tool for a large audience with Web clients. OwnCloud is open source software by owncloud.com. This software enables file sharing among students and teachers similar to that found in Dropbox. We are using the Portable Cloud for our seminar class, meetings of grass-root groups, and academic conferences. We can't imagine holding our seminar class without the Portable Cloud.
Monitoring Servers, With a Little Help from my BotsTakashi Yamanoue
This paper discusses a method of employing bots instead of people to monitor servers or server rooms. A bot is a remote controlled computer or a remote controlled program. A bot is usually a malicious program which is an element of a botnet. A botnet is used for doing malicious things such as spreading spam mails or doing DDoS Attacks. We have made bots and we are using bots for doing beneficial things such as monitoring a server instead of doing malicious things. We are monitoring a web server in our campus using a bot. This bot is tweeting whether the server is running or not periodically on the twitter. We are also monitoring a server room in our campus using another bot. This bot shows managers transition of the room temperature and others.
A Wearable LED Matrix Sign System@ACM SIGUCCS2015Takashi Yamanoue
A Wearable LED Matrix Sign System Which Shows a Tweet of Twitter and Its Application to Campus Guiding and Emergency Evacuation @ ACM SIGUCCS 2015, Lightning talks.
A Technique to Assign an Appropriate Server to a Client, for a CDN Consists ...Takashi Yamanoue
This paper discusses a technique to assign an appropriate server to a client for a content delivery network (CDN). We assume that the CDN consists of not only servers in the global Internet but also servers in hierarchical private networks. To use a common web browser as the client, this technique does not use broadcasting or multicasting. When a client is placed in a private network and a server of the CDN is also placed in the same private network, the client is connected to the server automatically by using this technique. When a client is placed in a private network and no CDN server is in the private network, or when the client is placed in the global network, the client is connected to a server in the global network automatically. This technique could improve the bandwidth between a server and a client when they are placed in the same private network because the TCP bandwidth heavily depends on latency. The CDN user does not need to know the location of a server. This technique does not use DNS because a CDN server in a private network is not always registered in the DNS.
Wiki に書いたスクリプトに従って, 自動的に Twitter で tweet する情報提示システムと, その開発と利用例について述べる. ここで, 実際にtweet するホストと スクリプトが書かれている Wiki のサーバのホストとは独立している. このシステムを使って着る電光掲示板を拡張し, それを使って, フルマラソンのスタートからゴールまで, 周りの参加者や沿道の観衆にメッセージを送り続けることができた. このシステムを拡張し, インターネット上の応用システムの障害対策や, ハードウェアやソフトウェアの更新等によるダウンタイムの低減に役立てることについても検討を行う.
A system which tweets messages automatically, is shown. The system is a kind of bot networks, bots of which are controlled by commands on a wiki page, according to the script in the wiki page. We have constructed a wearable LED matrix sign which tweets automatically, using this system, and we have applied this to a public relations in a full marathon race. We also consider to use the structure of this system to enhance the resilience of application systems.
An Inter-Wiki Page Data Processor for a M2M System @Matsue, 1sep., Eskm2013Takashi Yamanoue
The document describes an inter-wiki page data processor for a machine-to-machine (M2M) system. The data processor reads data from sensors or wiki pages, processes the data, and outputs the results to wiki pages or controls actuators. It is controlled by programs written on wiki pages and has functions for communicating with mobile terminals, sensors, actuators, and web pages. An example application involves monitoring temperature, light, and human activity data in a room and controlling LEDs based on the results.
The document describes a usability study comparing a video projector and an inter-PC screen broadcasting system for use in a computer laboratory. Subjects were shown text samples of varying difficulty levels using each tool, and their typing speed and accuracy were recorded. Results showed the projector was better for smaller amounts of text on one screen, while the screen broadcasting system was better for larger amounts of text. The study aimed to provide benchmarks for choosing presentation tools for computer labs.
Bot Computing using the Power of Wiki CollaborationTakashi Yamanoue
This document proposes and outlines bot computing, which uses bots controlled by wiki pages to perform massively parallel computing. Bots read from and write to dynamic wiki pages to collaborate on tasks. The author describes how wiki pages function as the architecture for bot computing programs and data. An experimental implementation is shown using PukiWiki and Java bots. As a proof of concept, bots collaborate via wiki pages to solve a parallel dynamic programming problem to find a minimal path. While high availability and security need improvement, bot computing has potential for beneficial large-scale collaborative computing applications.
22. 4. 動的計画法のプログラム
objectPage <url1> or <url2>
device <device1> or <device2> start after no write for 10 min.
include <class1> or <class2>
result:
kind="nodeInfo",nodeName=<node name>, startNode=<start-node>,
selectedNode=<number>, val=<val>, path=<path>
kind="preNode",No=1,url=<previous-node-1-1>,url2=<previous-node-1-2>,
arcVal=<arcVal-1>,val=<val-1>,path=<path-1>
…
kind="preNode",No=n,url=<previous-node-n-1>,url2=<previous-node-n-2>,
arcVal=<arcVal-n>, val=<val-n>,path=<path-n>
currentDevice=<device>, Date=<date>
26. • Class page
– command: set readInterval=30000 //30秒
command: program dp
program: dim thisTable // 自ノードの表
program: dim thisRowLabel
program: dim thisColumnLabel
program: dim prevTable // 前ノードの表
program: dim prevRowLabel
program: dim prevColumnLabel
–
4. 動的計画法のプログラム