2010年4月3日 星期六

Remote webcam player

this is our Remote WebCam exercise. each references and design methodologies you can find out below. WebCam Reference http://ltu164.ltu.edu/itseng/version.htm Socket && Display Reference http://funningboy.blogspot.com/2010/04/remote-web-player-pt1.html In WebCam part. we use it to capture our images from "Logitech WebCam" based on (1 frame)/100ms , and then put each frame to our communication interface(Socket). In Socket && Display part. we use it to receive our frame from Remote communication and display at the same time. hardware environment CPU : Intel Core 2 T2330(1.66G) RAM: 2G DDR2 simulation environment eclipse + java sdk 1.6 + jmf(java media frame) execution result in left hand side is our locate side and in the right hand side is our remote side. you can see a little delay between it.

2010年4月2日 星期五

Bluetooth case study

Pic Ref: http://en.wikipedia.org/wiki/Bluetooth
usage :
Bluetooth is a standard communications protocol primarily designed for low power consumption, with a short range (power-class-dependent: 100 m, 10 m and 1 m, but ranges vary in practice; see table below) based on low-cost transceiver microchips in each device.[5] Because the devices use a radio (broadcast) communications system, they do not have to be in line of sight of each other.[4]
Ref: http://en.wikipedia.org/wiki/Bluetooth
communication :
  • HCI is the Host Controller Interface. This layer is the interface between the radio and the host computer.
  • L2CAP stands for Logical Link Controller Adaptation Protocol. This layer is the multiplexer of all data passing through the unit. Audio signals, however, have direct access to the HCI.
  • SDP is the Service Discovery Protocol. The SDP layer is used to find services on remote Bluetooth devices.
  • RFCOMM is widely known as the virtual serial port protocol.
  • OBEX is the object exchange protocol.
The Bluetooth protocol is already define, so we only to take our software base on this, like data transfer or bluetooth voice communication ...
Refs:
eclipse + j2me install and path setting
bluez
bluecover
bluetooth api
http://www.jsr82.com/
jeme手機電腦連線程式

2010年4月1日 星期四

Remote Player

Pic Ref: http://www.freesharewaredepot.com/productpages/moyea-web-download-039249.asp Remote Web Player. Language : java Library : java -> socket (one 2 one) no application multi login java -> applet (display layout) Design flow : we separate two major parts for our "Server" and "Client". 1.Server part : we try to emulation the "webcam captured frames". (constrain : frame/2(s) ) if you would to know how to control the webcam in java, you can reference in http://www.javaworld.com.tw/jute/post/view?bid=5&id=266811 http://ltu164.ltu.edu/itseng/version.htm PS: In current case, we define our captured frames are already exist. and we use the "thread delay" function to emulate it - ("webcam captured"). you can use the "YouTube converter" to capture slide frames, that can convert "media stream" into "frames". http://benderconverter.com/ 2.Client part : Display 3.Queue : synchronous, lock ... that can handle multi clock domain and latency.

execution result :

download : http://sites.google.com/site/funningboy/java-1/monitor.rar?attredirects=0&d=1