Presentation is loading. Please wait.

Presentation is loading. Please wait.

MARVIN 2003 AD MARVIN 2003 AD Planning meeting RCUR/T/D 1998-04.

Similar presentations


Presentation on theme: "MARVIN 2003 AD MARVIN 2003 AD Planning meeting RCUR/T/D 1998-04."— Presentation transcript:

1 MARVIN 2003 AD MARVIN 2003 AD Planning meeting RCUR/T/D 1998-04

2 The Times They are A-Changing

3 Bbox, remote access Wireless Home network Internet Marvin PTT/ISP Akhnaton, Philip Glass 2:20

4 Marvin Locking system FireWire connection Power 110+220 Internet ADSL Slider Way to insert a new unit Ideas partly Maarten Legene

5 Your private information manager Communication: –mail –faxes –phone calls What to do –calendar –tasks –projects Archive –documents (with multiple versions) –history –where you have been, where you served

6 Your private assistant Assist to execute complex tasks –maintain the time on your video recorder –remember to put the garbage out –prioritize and group incoming messages –handle the supplementary services on your mobile Act as a representative –answer the phone, forward messages –allow access to certain information (via web, phone,mail) Maintain focus (nagging mode) –action points –promises made to other people –goals

7 Key aspects Reliability, Robustness and Availability –backup –good software Security –encryption of all information –secure access, e.g. SSL –key management –access by third parties Open for third party applets –run inside Marvin for access to events –cooperate with central services

8 Package Overview ericsson.rcurericsson.marvin infobase applets web imap mail... services transaction log btestdialog switching javax mail servlet activation com odi (PSE) objectspace (Voyager)

9 transaction ericsson.rcurericsson.marvin infobase applets web imap mail... services transaction log btestdialog switching javax mail servlet activation com odi (PSE) objectspace (Voyager)

10 transaction Clean and simple resource handling model Simplifies exception handling Consistent with many external systems However, some problems remain difficult

11 transaction Transaction Coordinator Simple Transaction Manager Simple Transaction IParticipant LogEntry Thread Client code current 1* 1* 1* 1 0..1 replaceable Exclusive Manager Convenience

12 Transactions explained A resource gets a chance to reconsider …. ClientCoordinator Simple Transaction Manager Simple Transaction Resource 1: IParticipant Resource 2: IParticipant begin() new()...() join() commit() prepare() commit()...() join() joinTransaction() join()...() join() joinTransaction()

13 transaction implementation Bracketing of tasks –begin transaction –do something »failure:rollback EVERYTHING »success: commit EVERYTHING Two phase commit model for distributed systems Allows multiple implementations –Iparticipant, Transaction, Coordinator Logging facilities for undo/redo Comes with a SimpleTransactionManager

14 transaction, open points Interface to Voyagers transactions Implementation of undo/redo logs Get the department committed to it ;-)

15 infobase ericsson.rcurericsson.marvin infobase applets web imap mail... services transaction log btestdialog switching javax mail servlet activation com odi (PSE) objectspace (Voyager)

16 infobase A database for associations Separate storage for data and information about the data Query language Standard base vocabulary for associations Associations are (will be) time stamped Triggers services on changes Intended replacement for file system

17 InfoBase, communications All communications pass through the InfoBase –mail –notifications –phone calls –…. Incoming information Dispatched to listeners Stored Persistently

18 infobase, class overview InfoBaseAssociation Object String Context OIDPContextFileStore Term IStore IFilter StoreEvent StoreListener Top DocumentPerson XDate Project Identity... IAssociation PSE Mime IBObject InputStream * 1 1 *

19 infobase, indexing Example: name=xyz.jar class group bean mime version from to email id name related …..... Re: About the projector xyz.jar vcard.vcf peter.kriens Hi! anders.danne Abc.jar …. …..... Hashtable for index names... Hashtable for index name 123 4511 234, 12,3 234 543 120 41 …. …..... id class related …..... Vector for PContext a PContext a Context ericsson.marvin.mail.POP3Collector ericsson.marvin.mail.GetMail ericsson.marvin.imap.IMAP Association name=class De-serialize Association name=name xyz.jar

20 infobase, open points Listen to filtered events instead of all Top object Better memory usage Performance profiling Better locking Robustness improvement

21 services ericsson.rcurericsson.marvin infobase applets web imap mail... services transaction log btestdialog switching javax mail servlet activation com odi (PSE) objectspace (Voyager)

22 services, features Services are beans, stored inside the InfoBase Each service runs in its own class loader: allows reload of service Automatic recognition of jar files Life cycle management: install, initialize, start, stop, shutdown, uninstall.

23 services, features II Marvin naming interface (through System properties) Shell interface (through Telnet) –lifecyle –inspection –service properties access (a la Beans) –interface to file system Services are automatically started at startup

24 services, overview Service Manager Service Entry JarHandler` infobase IService IBClass Loader Listener Shell Jar Resource IResourceAccess * 1 1 * 1 * Service

25 services, open points Trader service to find other services (a la Corba) GUI for maintaining existing services Better JAR file manifest support –package version –beans –dependencies Speech interface for IService objects (Speech Agent!) Scheduler Thread pool

26 web ericsson.rcurericsson.marvin infobase applets web imap mail... services transaction log btestdialog switching javax mail servlet activation com odi (PSE) objectspace (Voyager)

27 web, features Http server on the infobase –access by OID –access by selection Acts as proxy –proxy to internet, proxy to proxy Runtime Configurable Extendable by servlets Implements GET, POST and PUT (from make!)

28 web, overview HttpdHandler` infobase HttpServer Reply ThreadRequest services IService Service *1

29 web, open points Pluggable Filtering (a la Muffin) of retrieved information –fill in forms –filter first image –report statistics –remember where you surfed Associative access to information in InfoBase Http DELETE & INDEX commands Secure Socket Layer interface (SSL) Standard javax.servlet interface

30 imap interface ericsson.rcurericsson.marvin infobase applets web imap mail... services transaction log btestdialog switching javax mail servlet activation com odi (PSE) objectspace (Voyager)

31 imap interface features Partial implementation of IMAP based on javax.mail Supports notifications (unfortunately Netscape seems to be deaf … ) Supported commands: –nooplogoutselectexamine –createliststatusclose –fetchcopyuid InfoBase & IMAP: a marriage made in Kista –notifications & listeners –mime types –attachments through web interface

32 imap, handling of attachments Incoming information e.g. mail, schedule Stored Persistently imap web messages attachments group=inbox

33 imap, overview IMAP Session` infobase IMAP Thread services IService Service javax mail *1 javax activation

34 imap, open points Full implementation GUI based on javax.mail imap interface to replace Netscape (in open phone???) More robust (Netscape seems too easy to confuse) Performance, it is slower than standard pop now

35 mail ericsson.rcurericsson.marvin infobase applets web imap mail... services transaction log btestdialog switching javax mail servlet activation com odi (PSE) objectspace (Voyager)

36 mail, features Retrieves mails from POP3 accounts Fully configurable Unpacks messages and stores the attachments as separate, but linked, Contexts. Automatically create Person Contexts of all recipients and senders Optionally forwards mail to other account It works, I use it daily!

37 mail, overview POP3 Collector` infobase GetMail services IService Service javax mail *1 Thread javax activation

38 mail, open points Robustness, javax.mail has some bugs that are hard to circumvent Support for IMAP mail boxes (easy because of javax.mail) Better logging (and error reporting) Should be based on central scheduler instead of thread based delay

39 Other applets ericsson.rcurericsson.marvin infobase applets web imap mail... services transaction log btestdialog switching javax mail servlet activation com odi (PSE) objectspace (Voyager)

40 Other applets Telephony interface (Voice modem? ISDN? PANG?) –Answering machine –voice/fax mail SMTP interface Keyword indexer HTML pre-fetcher (learns from your surf habits!) DNS proxy with cache Synchronizer to other Marvin Hans Thorsens EEE interface (home appliances)

41 Other possible applets Backup, data compressor/decompressor Associator (find associations between context objects) Activity manager (reads you mails!) Mobile (Open?) phone interface vCard sniffer (I do have the parser already) Calendar manager (based on vCalendar)

42 Used libraries ericsson.rcurericsson.marvin infobase applets web imap mail... services transaction log btestdialog switching javax mail servlet activation com odi (PSE) objectspace (Voyager)

43 javax.mail Supports MIME messages and an IMAP like folder structure Comes with standard interfaces: –to IMAP server –to SMTP server Abstract, but very close to IMAP semantics Many convenient utilities for handling of MIME

44 javax.activation Standard library to connect MIME typed objects to handlers DataSource interface is VERY useful Belongs to beans

45 javax.servlet Standard interface for request/reply interactions like HTTP Will adapt the web server to use servlets

46 com.odi (PSE + PSE Pro) Free object oriented database Reliable and fast Smart access algorithm for persistent data Single user Transactions Pro version supports recovery and access tools but costs a couple of hundred dollars Same interface as ObjectStore

47 com.objectspace (Voyager) Distributed objects framework Makes distributed objects largely transparent Considerably simplified from an already simple system Version 1 or version 2? License issues are unclear?

48 Surfboard Speakers Dockable Camera and microphone 1600x1200 120 dpi screen XSRW SurfBoard

49 Surfboard Not much done on Surfboard yet Possible solution is to buy a flat screen and connect it over a video link over IR from Sony Would require hardware handling Who picks it up??

50 BBox GSM over CDMA + XSRW 480x640 full color touch sensitive screen Lens for laser projector Battery life 180 hours Speaker behind display. Camera lens Microphone behind display

51 Earth to BBox We need something a bit more realistic than the BBox The SIM application toolkit (GSM 11.11) offers good possibilities on modern mobiles (GSM Phase 2+) In contact with Schlumberger and G&D for development support Obtaining an authorized card looks not easy Seems like the right stuff for our department

52 SIM application toolkit (GSM 11.11) Mobile SIM card SMS download Cell Broadcast download Menu selection Command result Call control Display text Get key Get Input Play tone Select item Send SMS Send Supplementary Service Send USSD Setup call Setup menu Provide local information

53 SIM application toolkit interface Marvin can ask the mobile to: –setup a call from the mobile to a number –forward the phone to another number –add document summaries to the menu –display a message –changes to the phonebook –request input from the user –set any supplementary services

54 SIM application toolkit interface II The mobile must report –Location change (Cell Identification + LAC + NMC) –Cell broadcast info –Selection of a document summary –Incoming numbers + duration (might be hard) –Incoming SMS –Send input –Battery

55 Other projects eBox –Linux based –Many overlapping concepts –Carlstedt, CSLab, Hans Thorsen, Malte Lillestralen –First goal is to use it for metering water, later through ISPs in the home –Seems very Java oriented –Good spirit, high ambition –Have access to a factory (Linkoping) Win 95 home server (made in Karlstad) –WinFax like product –Win 95 does not seem to be right OS to me –Have no update of their status lately

56 Next phase Introducing class for the following concepts: –Marvin personality –The channels to the end user and their capabilities –Task management Easy Speech support for the services (Speech agent) Mobile interface Cooperation with others Robustness, Reliability

57 Next next phase Connections in the house Switching of video Security Surfboard ???

58 Software MARVIN ? MARVIN ?


Download ppt "MARVIN 2003 AD MARVIN 2003 AD Planning meeting RCUR/T/D 1998-04."

Similar presentations


Ads by Google