EP2069960A1 - Apparatus and method for lightweighting application through duplicated application management in osgi middleware environment of embedded terminal - Google Patents
Apparatus and method for lightweighting application through duplicated application management in osgi middleware environment of embedded terminalInfo
- Publication number
- EP2069960A1 EP2069960A1 EP07768545A EP07768545A EP2069960A1 EP 2069960 A1 EP2069960 A1 EP 2069960A1 EP 07768545 A EP07768545 A EP 07768545A EP 07768545 A EP07768545 A EP 07768545A EP 2069960 A1 EP2069960 A1 EP 2069960A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- application
- osgi
- message
- native module
- service bundle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
Definitions
- the present invention relates to an apparatus and method for lightweighting an application through duplicated application management in an Open Service Gateway Initiative (OSGi) middleware environment of an embedded terminal.
- OSGi Open Service Gateway Initiative
- OSGi stands for Open Service Gateway Initiative and is a noncommercial standardization organization established in March 1999. Over 40 members of home appliances/electronics, motors, communication, and Information & Technology (IT) fields are briskly working.
- the role of OSGi is to make open standards for transferring a service to a local network or device and operating the transferred service.
- An OSGi service platform is largely interested in three fields: connection and control between services; connection and control between a service and an OSGi middleware, and connection and control between an OSGi middleware and an external service management system.
- OSGi is a standard based on a Java virtual machine. The Java virtual machine acts as a buffer on differences between heterogeneous embedded Operating System (OS) and Central Processing Unit (CPU).
- OS embedded Operating System
- CPU Central Processing Unit
- An OSGi service is contained in a physical package called a bundle.
- OSGi services may be contained in a single bundle, and the bundle is a basic unit of distribution and management.
- OSGi middleware manages bundle(s).
- the OSGi middleware performs registration/inquiry/execution/uninstall on a service with a service registry.
- the OSGi middleware also searches for and responds to an event.
- the event is a logical event based on three event creators, such as a service, a bundle, and a framework without association with a physical event created by a device.
- OSGi Since OSGi is based on Java, OSGi has the easiness in management and development, and thus, an OSGi service platform is one of competitive service platforms suitable for an advanced service environment.
- OSGi is Java-oriented. That is, the selection of a Java virtual machine causes a performance decrease due to an overhead of a dynamic execution environment when an application is executed in an embedded terminal environment.
- UI user interface
- the execution load is too heavy to execute an application in the embedded terminal environment.
- restrictions of embedded Java virtual machines limit implementation of applications. For some commercialized embedded Java virtual machines, since a memory address space is physically limited, the number of executable OSGi bundles is limited.
- the present invention provides an apparatus and method for lightweighting an application in an embedded terminal by separately implementing the application so as to be optimized to each environment through duplicated application management and in- teroperating the separated applications through communication in an Open Service Gateway Initiative (OSGi) middleware environment of the embedded terminal.
- OSGi Open Service Gateway Initiative
- the present invention also provides an apparatus and method for separately implementing and lightweighting an application as modules optimized to each environment and removing restrictions of an embedded Java environment by performing duplicated application management using an OSGi-to-native linker and a native integrated manager unlike conventional OSGi middleware.
- an apparatus for lightweighting an application through duplicated application management in an OSGi middleware environment of an embedded terminal comprising at least one OSGi service bundle and native module operating based on an OSGi framework
- the apparatus comprising: a linker providing an interface to the OSGI service bundle for implement duplication of the application when executing the application and exchanging a message, which is required to execute the application, with an integrated manager connecting to the native module; the integrated manager providing the interface to implement duplication of the application and exchanging the message with the linker; and a determiner determining whether a native module related to the OSGi service bundle exists and executes an application according to the OSGi service bundle and removes the application if it is determined that the native module exists or determining application execution through the message exchange between the linker and the integrated manager if it is determined that the native module does not exist.
- a method of lightweighting an application through duplicated application management in an OSGi middleware environment of an embedded terminal comprising: determining whether a native module is included in a received OSGi service bundle; if it is determined that the native module is not included in the received OSGi service bundle, installing, executing, and removing the OSGi service bundle; and if it is determined that the native module is included in the received OSGi service bundle, executing an application in association with the native module.
- an application can be lightweighted by being separately implemented as modules optimized to each environment.
- the duplicated application can remove restrictions of a Java environment.
- the linker and the integrated manager allow the duplication of the application to be easily implemented by providing interfaces for an OSGi bundle and a native module.
- the duplicated application has compatibility with applications executed on the conventional OSGi middleware. Description of Drawings
- FlG. 1 is a block diagram of an apparatus for lightweighting an application through duplicated application management in an Open Service Gateway Initiative (OSGi) middleware environment of an embedded terminal according to an embodiment of the present invention
- OSGi Open Service Gateway Initiative
- FlG. 2 is a system configuration for exchanging a message between a linker and an integrated manager illustrated in FlG. 1, according to an embodiment of the present invention
- FlG. 3 is a structure of a message for communication between a linker and an integrated manager illustrated in FlG. 2, according to an embodiment of the present invention.
- FlG. 4 is a flowchart illustrating a process of processing a lifecycle of an application lightweighted through duplicated application management
- an apparatus for lightweighting an application through duplicated application management in an OSGi middleware environment of an embedded terminal comprising at least one OSGi service bundle and native module operating based on an OSGi framework
- the apparatus comprising: a linker providing an interface to the OSGI service bundle for implement duplication of the application when executing the application and exchanging a message, which is required to execute the application, with an integrated manager connecting to the native module; the integrated manager providing the interface to implement duplication of the application and exchanging the message with the linker; and a determiner determining whether a native module related to the OSGi service bundle exists and executes an application according to the OSGi service bundle and removes the application if it is determined that the native module exists or determining application execution through the message exchange between the linker and the integrated manager if it is determined that the native module does not exist.
- a method of lightweighting an application through duplicated application management in an OSGi middleware environment of an embedded terminal comprising: determining whether a native module is included in a received OSGi service bundle; if it is determined that the native module is not included in the received OSGi service bundle, installing, executing, and removing the OSGi service bundle; and if it is determined that the native module is included in the received OSGi service bundle, executing an application in association with the native module.
- FlG. 1 is a configuration of an entire system for lightweighting an application through duplicated application management in an Open Service Gateway Initiative (OSGi) middleware environment of an embedded terminal according to an embodiment of the present invention.
- the system includes a basement terminal hardware 100, an Operating System (OS) 101, a Java virtual machine 110, an OSGi framework 111, an OSGi-to-native linker 112, a plurality of OSGi bundles 113, a native integrated manager 120, and a plurality of native modules 121.
- the basement terminal hardware 100 denotes an embedded terminal of a cellular phone, a Personal Digital Assistant (PDA), a Digital Multimedia Broadcasting (DMB) terminal, or a telemetics terminal.
- PDA Personal Digital Assistant
- DMB Digital Multimedia Broadcasting
- the OS 101 provides the least environment for executing a program in an embedded terminal and operates the OSGi framework 111 independent to a frame through the Java virtual machine 110.
- An application can be implemented in two types: a singular type of an OSGi bundle 113; and a duplicated type of an OSGi bundle 113 and a native module 121.
- the application can be lightweighted by implementing a portion requiring much memory space, such as a User Interface (UI) using a native module 121 or separately implementing application modules so as to be optimized to each environment, and thereby, restrictions of the Java virtual machine 110 can be overcome.
- UI User Interface
- FlG. 2 is a system configuration for exchanging a message between application modules using an OSGi-to-native linker 200 and a native integrated manager 210 in order to execute the lightweighted application illustrated in FlG. 1, according to an embodiment of the present invention. Referring to FlG.
- the system includes the OSGi-to-native linker (hereinafter, linker) 200, the native integrated manager (hereinafter, integrated manager) 210, an OSGi bundle 205, and a native module 215 related to the integrated manager 210, wherein the native module 215 is classified into a stand-alone native module and a passive Dynamic Link Library (DLL) native module.
- the linker 200 includes a socket server 201, a first message broker 202, a first application manager 203, and a first table 204
- the integrated manager 210 includes a socket client 211, a second message broker 212, a second application manager 213, and a second table 214.
- the socket server 201 and the socket client 211 take in charge of communication by forming a communication channel between the linker 200 and the integrated manager 210.
- Each of the first message broker 202 and the second message broker 212 creates a message to be transmitted and transmits the message through a socket, or analyzes a received message and performs an operation according to the analysis result.
- Each of the first application manager 203 and the second application manager 213 manages a lifecycle of an application and records a state of the application in the first table 204 or the second table 214.
- the first application manager 203 and the second application manager 213 exchange a message for managing the lifecycle of the application through the first message broker 202 and the second message broker 212.
- the OSGi bundle 205 and the native module 215 constituting the application interoperate by exchanging a message. That is, when the message is created and transmitted to the first message broker 202 or the second message broker 212, the first message broker 202 or the second message broker 212 transmits the message to the other party through the socket. The first message broker 202 or the second message broker 212, which has received the message, analyzes the message, determines which module the message is transmitted, and transmits the message to the determined module.
- FlG. 3 is a structure of a message for communication between thelinker 200 and the integrated manager 210 illustrated in FlG. 2, according to an embodiment of the present invention
- FlG. 4 is a flowchart illustrating a process of processing a lifecycle of an application lightweighted through duplicated application management according to an embodiment of the present invention.
- the message has a binary, extensible Markup Language (XML), or Hypertext Markup Language (HTML) format.
- a message start field 301 and a message end field 304 are located in both ends of the message, and a head field 302 and a body field 303 exist between the message start field 301 and the message end field 304.
- the head field 302 includes a target field 311, a message type field 312, and a message related parameters field 313.
- the body field 303 includes a plurality of target related parameters fields 321.
- a name of the OSGi bundle 205 or the native module 215 to which the message is transmitted is recorded.
- a message type i.e., a type of a message for managing a lifecycle or a message exchanged between application modules
- parameters according to the message type field 312 are recorded. If the first message broker 202 or the second message broker 212 analyzes the head field 302 and determines that a target of the message is an application module, the first message broker 202 or the second message broker 212 transmits the body field 303 to the target application module. Since the body field 303 follows an application-related specification, only the application can analyze the body field 303.
- a lifecycle of an application begins when the application is received to a terminal in a bundle type in which a native module is compressed.
- An OSGi service bundle is received and decompressed in operation 401. It is determined in operation 402 whether a service- related native module is included in the service bundle. If it is determined in operation 402 that the native module is not included, as well as the prior art, the OSGi service bundle is installed in operation 421, started in operation 422, stopped in operation 423, and uninstalled in operation 424.
- a name of the native module is detected when the OSGi service bundle is installed in operation 411.
- the name of the native module is registered in the first table 204 in operation 412.
- the native module is loaded in operation 413 and registered in the second table 214 in operation 414.
- the OSGi service bundle is started in operation 415, and the application is executed through communication between the OSGi service bundle and the native module in operation 416.
- the OSGi service bundle is stopped in operation 417, the interoperation between the OSGi service bundle and the native module is terminated, and when the OSGi service bundle is uninstalled in operation 418, the native module is released in operation 419.
- the invention can also be embodied as computer readable codes on a computer readable recording medium.
- the computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (such as data transmission through the Internet).
- ROM read-only memory
- RAM random-access memory
- CD-ROMs compact discs
- magnetic tapes magnetic tapes
- floppy disks optical data storage devices
- carrier waves such as data transmission through the Internet
- an application can be lightweighted by being separately implemented as modules optimized to each environment.
- the duplicated application can remove restrictions of a Java environment.
- the linker and the integrated manager allow the duplication of the application to be easily implemented by providing interfaces for an OSGi bundle and a native module.
- the duplicated application has compatibility with applications executed on the conventional OSGi middleware.
- the present invention relates to an apparatus and method for lightweighting an application through duplicated application management in an Open Service Gateway Initiative (OSGi) middleware environment of an embedded terminal.
- OSGi Open Service Gateway Initiative
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Mathematical Physics (AREA)
- Stored Programmes (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020060089261A KR100833494B1 (en) | 2006-09-14 | 2006-09-14 | Apparatus and method for weight reduction of application through dual application management in OS middleware of embedded terminal |
| PCT/KR2007/003174 WO2008032922A1 (en) | 2006-09-14 | 2007-06-29 | Apparatus and method for lightweighting application through duplicated application management in osgi middleware environment of embedded terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| EP2069960A1 true EP2069960A1 (en) | 2009-06-17 |
| EP2069960A4 EP2069960A4 (en) | 2011-01-19 |
Family
ID=39183947
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP07768545A Withdrawn EP2069960A4 (en) | 2006-09-14 | 2007-06-29 | APPARATUS AND METHOD FOR APPLICATION ENHANCEMENT BY APPLICATION MANAGEMENT DEDRIBUTED INTO OSGI MEDIATOR SOFTWARE ENVIRONMENT ENVIRONMENT OF IMBRIATED TERMINAL |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP2069960A4 (en) |
| KR (1) | KR100833494B1 (en) |
| WO (1) | WO2008032922A1 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5206257B2 (en) * | 2008-09-09 | 2013-06-12 | 株式会社リコー | Information processing apparatus, program start method, start program |
| EP2184904B1 (en) | 2008-11-06 | 2017-09-13 | Alcatel Lucent | Method for automatically installing and configuring application and services on devices which comprise lifecycle management functionalities and corresponding client premises equipments, auto configuration server and module |
| KR100943126B1 (en) * | 2009-02-10 | 2010-02-18 | 주식회사 아레오네트웍스 | Update method for application, modular wireless application framework and recording medium |
| CN102291438A (en) * | 2011-07-27 | 2011-12-21 | 东莞中山大学研究院 | A Digital Media Intelligent Gateway Support Platform |
| JP5882436B1 (en) * | 2014-11-07 | 2016-03-09 | 西日本電信電話株式会社 | Communication device |
| US9389929B1 (en) | 2015-03-24 | 2016-07-12 | International Business Machines Corporation | Granular event management for service platforms |
| CN114443132B (en) * | 2021-12-29 | 2025-07-04 | 中国航空工业集团公司西安航空计算技术研究所 | An OSGi-based embedded service governance method |
Family Cites Families (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100370548B1 (en) * | 2000-09-14 | 2003-02-05 | (주)마하넷 | Realtime Middleware apparatus providing an integrated software development frameworks of embedded system and its service method |
| KR100486853B1 (en) * | 2002-10-11 | 2005-05-03 | 한국전자통신연구원 | Emergency messaging service system using home server built in OSGi service platform and method thereof |
| US20040194059A1 (en) * | 2003-03-27 | 2004-09-30 | International Business Machines Corporation | Method to deploy software using an open service gateway initiative (OSGi) framework |
| KR100584712B1 (en) * | 2003-12-26 | 2006-05-30 | 한국전자통신연구원 | Interoperable service device between home network middleware using home gateway and OSG platform and its method |
| KR101008977B1 (en) * | 2004-02-25 | 2011-01-17 | 삼성전자주식회사 | OSSI service platform test method and test tool using the same |
| US7716663B2 (en) * | 2004-02-26 | 2010-05-11 | International Business Machines Corporation | Method, system and program product for controlling native applications using open service gateway initiative (OSGi) bundles |
| US20050223101A1 (en) * | 2004-03-22 | 2005-10-06 | International Business Machines Corporation | Computer-implemented method, system and program product for resolving prerequisites for native applications utilizing an open service gateway initiative ( OSGi) framework |
| KR100636380B1 (en) * | 2004-12-17 | 2006-10-19 | 한국전자통신연구원 | Home network general purpose middleware bridge system and its method for interworking between home devices connected on heterogeneous home network middleware |
| US20060252406A1 (en) * | 2005-04-25 | 2006-11-09 | Nokia Corporation | System and method for providing bundle group termination in an OSGi service platform |
| KR20060135339A (en) * | 2005-06-24 | 2006-12-29 | 엘지전자 주식회사 | Communication device and method between heterogeneous language processes in embedded system |
| WO2007066843A1 (en) * | 2005-12-08 | 2007-06-14 | Electronics And Telecommunications Research Institute | Osgi-based dynamic service management method for context-aware systems |
| KR100751456B1 (en) * | 2006-03-24 | 2007-08-23 | 한국정보통신대학교 산학협력단 | OSSI service platform and service providing method using the same |
| KR100751449B1 (en) * | 2006-03-24 | 2007-08-23 | 한국정보통신대학교 산학협력단 | How to create stub bundle based on OS service |
| KR20080016161A (en) * | 2006-08-17 | 2008-02-21 | 주식회사 렉터슨 | Home gateway device for integrated control of heterogeneous products in home network system using power line communication |
-
2006
- 2006-09-14 KR KR1020060089261A patent/KR100833494B1/en not_active Expired - Fee Related
-
2007
- 2007-06-29 EP EP07768545A patent/EP2069960A4/en not_active Withdrawn
- 2007-06-29 WO PCT/KR2007/003174 patent/WO2008032922A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| WO2008032922A1 (en) | 2008-03-20 |
| EP2069960A4 (en) | 2011-01-19 |
| KR100833494B1 (en) | 2008-05-29 |
| KR20080024751A (en) | 2008-03-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7900214B2 (en) | System and method for adaptable provisioning of generic application content | |
| US8010973B2 (en) | Class loader for managing a network | |
| EP2069960A1 (en) | Apparatus and method for lightweighting application through duplicated application management in osgi middleware environment of embedded terminal | |
| US8286194B2 (en) | Coupling state aware systems | |
| US20080288622A1 (en) | Managing Server Farms | |
| US6865732B1 (en) | Providing an embedded application specific web server | |
| US8387039B2 (en) | System and method for customized provisioning of application content | |
| KR100586866B1 (en) | Apparatus and method for sharing services on a network | |
| EP2341692B1 (en) | Communication between integrated device and mobile application client on mobile personal communication device | |
| US6842905B2 (en) | Method and system for implementing collection program interface for accessing a collection of data associated with a legacy enumeration application interface | |
| US7043726B2 (en) | Binding of processes in network systems | |
| JP3986721B2 (en) | Software module dynamic exchange method and software module dynamic exchange program recording medium | |
| CN112035270A (en) | Interface adaptation method, system, apparatus, computer readable medium and electronic device | |
| US7784064B2 (en) | Method for collecting monitor information | |
| CN101819524A (en) | Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof | |
| Wu et al. | Design an OSGi extension service for mobile RFID applications | |
| US7860987B2 (en) | Apparatus for providing service in response to user request and method therefor | |
| JP4536292B2 (en) | Network system, server, client, inter-object communication method, profile object registration method, program, and storage medium | |
| CN101324900B (en) | Method, device and system for opening graphical user interface | |
| Kadowaki et al. | Design and implementation of adaptive jini system to support undefined services | |
| Handorean et al. | Automated code management for service oriented computing in ad hoc networks | |
| EP1560114A1 (en) | Computer system and method for customized provisioning of application content | |
| CN116795488A (en) | Processing device for application program and electronic equipment | |
| CN119690400A (en) | A solution for SOME/IP to DDS conversion | |
| KR100599193B1 (en) | The base station system, Recording medium for Device Configuration Descriptor having XML DTD and parsing method for Device Configuration Descriptor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| 17P | Request for examination filed |
Effective date: 20090414 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC MT NL PL PT RO SE SI SK TR |
|
| AX | Request for extension of the european patent |
Extension state: AL BA HR MK RS |
|
| A4 | Supplementary search report drawn up and despatched |
Effective date: 20101220 |
|
| RIC1 | Information provided on ipc code assigned before grant |
Ipc: G06F 9/445 20060101ALI20101214BHEP Ipc: G06F 17/00 20060101AFI20080414BHEP |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |
|
| 18D | Application deemed to be withdrawn |
Effective date: 20110318 |