Portable Figuring Middleware - A Look into Jini, UPnP and OSGI.

Uploaded on:
Portable, processing implies that the registering gadget is not consistently joined with the base or focal system. ... A classification of five distinct sorts of cell phones: ...
Slide 1

Portable Computing Middleware - A Peek into Jini, UPnP and OSGI Saad Liaquat Kiani RTMM Lab Saad Liaquat Kiani

Slide 2

Mobile Computing Mobile, processing implies that the figuring gadget is not consistently associated with the base or focal system. Cell phones incorporate PDAs, smart phones, a significant number of today\'s PDAs (relevantly called "smart phones"). These items may speak with a base area with or without a remote association. A case of a remote versatile application is utilizing a modem-prepared PDA to get instant messages by means of satellite innovation. Saad Liaquat Kiani

Slide 3

Types of Mobile Devices An order of five unique sorts of cell phones: Laptop PCs PDAs and handheld PCs Pagers Smart telephones and PDAs Task gadgets, for example, standardized tag scanners Laptops are commonly utilized and bolstered as a part of the same path as desktop PCs. Numerous associations have supplanted desktops with their versatile cousins as the workforce has developed progressively portable. PDAs are the slightest got ready for and bolstered gadgets. They are experiencing fast development and are being acquired into associations the same way the soonest PCs were. Advanced cells that permit clients to get to telephone calls, two-way radio transmissions paging and information transmissions Pagers Task gadgets, for example, the bundle GPS beacons utilized by Federal Express (FedEx) and the United Parcel Service (UPS) Saad Liaquat Kiani

Slide 4

Types of Mobile clients Three sorts of portable clients: Telecommuters who work far from the workplace however interface straightforwardly to the workplace from a remote area. Easygoing remote workers and different laborers who work a couple days for every month outside the workplace. Overwhelmingly portable representatives Percentage of Workforce Mobility Saad Liaquat Kiani

Slide 5

Distributed Middleware is an empowering layer of programming that lives between the application program and the organized layer of heterogeneous stages and conventions. It decouples applications from any conditions on the pipes layer that comprises of heterogeneous working frameworks, equipment stages and correspondence conventions Most circulated applications and administrations were outlined with the suspicion that the terminals were intense, stationary and associated with settled systems. Routine middleware advancements in this way have concentrated on concealing out the issues of heterogeneity and circulation to encourage the improvement of disseminated frameworks. They permit the application designers to concentrate on application usefulness as opposed to on managing expressly with conveyance issues. Diverse middleware frameworks, for example, CORBA, DCOM and Java RMI have demonstrated their appropriateness for standard customer server applications. In any case, under the exceptionally variable figuring environment conditions that describe versatile stages, it is trusted that current conventional middleware frameworks are not equipped for giving sufficient backing to the portable remote processing environment. There is an awesome interest for outlining cutting edge middleware frameworks that can bolster new necessities forced by versatility. Saad Liaquat Kiani

Slide 6

Why separate middleware for portable registering ? There are no less than three basic variables that influence the outline of the middleware framework required for portable figuring: cell phones system association versatility Mobile gadgets differ starting with one then onto the next in term of asset accessibility Devices like tablets can offer quick CPUs and extensive measure of RAM and circle space while others like pocket PCs and telephones for the most part have rare assets. It is either outlandish or excessively costly, making it impossible to increase the asset accessibility Hence, middleware ought to be intended to accomplish ideal asset usage. System association in portable situations is portrayed by constrained data transfer capacity high mistake rate higher cost successive disengagements because of force impediments accessible range Mobility Saad Liaquat Kiani

Slide 7

Why separate middleware for versatile registering ? Physical host portability can incredibly influence system association Mobile customers may collaborate with various sorts of systems, administrations, and security arrangements as they move starting with one zone then onto the next. This obliges applications to carry on contrastingly to adapt to element changes of the earth parameters. Because of these impediments, customary middleware advancements intended for altered conveyed frameworks are not set up to bolster versatile frameworks. They focus on a static execution stage where the host area is settled, the system data transmission does not vary, and administrations are all around characterized Saad Liaquat Kiani

Slide 8

Mobile Computing: Reference Technologies The staying of the presentation will quickly depict 3 middleware advancements that can help cell phones in using existing system base and assets UPnP Jini (Java RMI) OSGI Saad Liaquat Kiani

Slide 9

Universal Plug and Play Universal Plug and Play (UPnP) is a standard programming engineering for distributed system network of wise machines, remote gadgets, and PCs. A gadget can progressively join a system get an IP address pass on its capacities find different gadgets take in the abilities of different gadgets. An UPnP empowered gadget can control remote gadgets, and exchange information to and from remote gadgets. Gadgets can subscribe to occasions that may happen as state variables change. Membership to occasions permits a dispersed gadget to respond to remote occasions e.g., when a track quits playing, begin playing the following track. A gadget can leave a system easily and naturally without deserting any undesirable state. Saad Liaquat Kiani

Slide 10

UPnP influences Internet advancements Internet Protocol (IP) [TCP, UDP] HTTP XML. Like the Internet, UPnP depends on wire conventions that are communicated in XML, and conveyed through HTTP IP internetworking is a solid decision for UPnP in light of the fact that its demonstrated capacity to traverse diverse physical media to empower certifiable different seller interoperation to accomplish cooperative energy with the Internet and numerous home and office intranets. Saad Liaquat Kiani

Slide 11

UPnP gadgets can be actualized utilizing any programming dialect, and on any working framework. UPnP does not determine or oblige the configuration of an API for applications running on control focuses; OS sellers may make APIs that suit their clients\' needs. Saad Liaquat Kiani

Slide 12

UPnP Coordination in a NutShell Announcing nearness Use SSDP and Directory administration intermediaries (discretionary) Discovering different gadgets Listen to SSDP multicast channel straightforwardly or contact an index administration intermediary. Portraying capacities XML depiction of the gadget is made accessible at a predetermined URL Self design This is essentially DHCP or AutoIP, and multicast DNS. Auto arrangement is by all accounts the most grounded highlight of UPnP so far. Summoning Services Transports: TCP/IP and intermediaries to different transports Saad Liaquat Kiani

Slide 13

UPnP Example You wake at 6 a.m. to a perspective of the mountains and a present ski report: snow is falling and the powder is heaping up. You send a caution by means of your wake up timer to your youngsters\' wake up timers and the coffeepot. The espresso begins fermenting, you hear the patter of steps upstairs as the children get up, and soon you\'re all off to an ambitious start to the mountains for a day of skiing. Saad Liaquat Kiani

Slide 14

Jini Motivation Enable gadgets/administrations enter and leave the system without requiring express reconfiguration Jini is a Java based dispersed registering environment, that offers " system attachment and play " Allows gadgets to progressively build up correspondence to share and trade administrations over a system Simplifies collaborations with a system and associations between gadgets at whatever time anyplace. Empowers gadgets to plug together to shape an offhand group a group set up together with no arranging, establishment or human mediation. Saad Liaquat Kiani

Slide 15

Service Registry (Lookup Service) Service Provider Service User Jini operations Lookup administration  The Service Registry bolsters scanning for administrations that meet certain criteria, e.g. those that have a specific Java sort Services  Devices or Software Service Object  Contains the Java programming dialect interface for the administration. Contains techniques that clients and customers will conjure to execute the administration A Device facilitating an administration registers with the Lookup administration to report its nearness A Client wishing to utilize a specific administration, approaches the Lookup administration for contact data about the administration to be utilized The way toward finding a Lookup administration, either by customer or gadget/administration is called Discovery The way toward enrolling a gadget/administration with a Lookup administration is called Join The procedure by which a customer finds an administration/gadget of enthusiasm from a Lookup administrations is called Lookup The way toward utilizing an administration by the customer is called Service Invocation register query Saad Liaquat Kiani

Slide 16

Java Spaces Other Services Solaris Mac Jini Architecture Network Services ••• Lookup Jini Discovery/Join RMI Java Windows x86 Saad Liaquat Kiani

Slide 17

Jini Benefits Self Healing Networks through Leasing gives a strategy for overseeing assets in a domain where system disappointments can happen An administration is accommodated a specific measure of time unless the supplier re-registers it (restores the lease) Similarly, asset is not conceded to a buyer for inconclusive period, but rather "rented" for a limited time Keeps dead administrations from collecting in the query servers after some time Distributed Events Extends Java occasion model to permit it to work in a circulated system Register premium, get notice Event Mailboxes (Asynchronous occasion instrument) get occasion notices in the interest of their customers and convey them later upon solicitation underpins separated operations, sudden

View more...