WO2009066924A2 - Method and system for handling framework shutdown in a network - Google Patents
Method and system for handling framework shutdown in a network Download PDFInfo
- Publication number
- WO2009066924A2 WO2009066924A2 PCT/KR2008/006801 KR2008006801W WO2009066924A2 WO 2009066924 A2 WO2009066924 A2 WO 2009066924A2 KR 2008006801 W KR2008006801 W KR 2008006801W WO 2009066924 A2 WO2009066924 A2 WO 2009066924A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- framework
- shutdown
- event
- network
- bundles
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000007246 mechanism Effects 0.000 description 6
- 230000001419 dependent effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/283—Processing of data at an internetworking point of a home automation network
- H04L12/2836—Protocol conversion between an external network and a home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
- H04L41/0809—Plug-and-play configuration
Definitions
- the present invention relates to the field of managing framework in a network. More specifically, the present invention relates to a method and system for handling shutdown of a framework in a network. Background Art
- a framework must be started before any services can be provided in a network.
- a framework can be started by some command line initiation or by reading startup information from a configuration file.
- Some events that take place when a framework is started are, handling of events, entering of system bundle in starting state, staring previously stalled bundles, wrapping up an exception that occur during startup, publishing the exception, entering of the system bundle in a start state, and broadcasting a framework event that indicates the framework has started.
- the framework implementation can select an appropriate ordering for stopping of bundles in the start- level. This may include stopping bundles in reverse dependency order such that all bundles which depend on a given bundle are shutdown before the given bundle. At any point of time when a framework shuts down, all controllers that are using the framework needs to be informed about the shutdown.
- a method for handling shutdown of a framework in a network includes generating an event related to a framework shutdown.
- the method also includes converting the event as a Universal Plug and Play (UPnP) event.
- the method includes delivering the converted event to one or more controllers present in the network.
- the method also includes decrementing the start- level of framework to zero during the framework shutdown.
- the method includes determining whether the shutdown is abrupt.
- the method also includes receiving by the framework a poll from an entity external to the framework at a regular interval of time and informing the controllers of the abrupt shutdown.
- the framework is an Open Service Gateway initiative framework and the event is of type Frame workEvent. SHUTDOWN.
- central server in another embodiment, includes a processor configured to generate an event related to a framework shutdown and to convert the event as a Universal Plug and Play (UPnP) event.
- the central server also includes a transmitter configured to deliver the converted event to one or more controllers present in the network.
- the central server also includes a receiver configured to receive a poll from an entity external to the framework at a regular interval of time. The one or more controllers in the network are informed about an abrupt shutdown based on the poll.
- the framework is an Open Service Gateway initiative framework and the event is of type Frame- workEventSHUTDOWN.
- FIG. 1 illustrates a network where various embodiments of the present invention can be practiced.
- FIG. 2 illustrates a central server, in accordance with one embodiment of the present invention.
- FIG. 3 illustrates a flow chart depicting a method for handling shutdown of a framework the network, in accordance with one embodiment of the present invention.
- FIG. 4 illustrates a flow chart depicting a method for handling shutdown of a framework the network, in accordance with another embodiment of the present invention.
- Mode for the Invention [13] The terms used to describe various embodiments are exemplary. It should be understood that these are provided to merely aid the understanding of the description, and that their use and definitions in no way limit the scope of the invention.
- FIG. 1 illustrates a network 100, where various embodiments of the present invention can be practiced.
- the network 100 can include a central server and one or more controllers.
- Examples of the network 100 include, but are not limited to, a Local Area Network (LAN) and Wireless Local Area Network (WLAN).
- the network 100 is shown to include a central server 102, a controller 104, and a controller 106.
- Examples of a central server and controllers include, but are not limited to, mobile phones, laptops, personal computers, personal digital assistants, printers, access points, televisions, media players, internet gateway devices. This embodiment will be explained with the help of the central server 102 and the controllers 104 and 106. However, it will be apparent to a person ordinarily skilled in the art that the present embodiment can be implemented by using any other central server and controllers in the network 100.
- the central server 102 is shown to include a framework 108.
- the framework 108 provides execution environment to application or services registered with the framework 108.
- the framework 108 provides these services to other devices, the controllers 104 and 106 in the network 100.
- the framework 108 can get shutdown or restarted once optional extension bundles for system bundles are refreshed or updated.
- the framework 108 must be re-launched when the extension bundles are updated.
- the framework 108 can also get shutdown abruptly due to some dependency failure.
- As the framework 108 provides services registered with it to other devices (controllers), devices in the network 100 must be informed about the shutdown of the framework 108.
- the central server 102 notifies the shutdown of the framework 108 to the controllers 104 and 106 connected to it.
- FIG. 2 illustrates the central server 102, in accordance with one embodiment of the present invention.
- the central server 102 is capable of informing a framework shutdown to other devices/controllers in the network 100.
- An example of the framework includes, but is not limited to, an Open Services Gateway initiative (OSGi) framework.
- the central server 102 includes a processor 202 and a transmitter 204.
- the processor 202 is configured to generate an event related to a framework shutdown.
- An example of the event includes, but is not limited to, Frame- workEvent.SHUTDOWN.
- the processor 202 also converts the event as a Universal Plug and Play (UPnP) event.
- the processor 202 then provides the converted event to the transmitter 204.
- UPF Universal Plug and Play
- the transmitter 204 delivers the converted event to one or more controllers present in the network 100.
- the transmitter 204 can deliver the converted event to the controllers 104 and 106 that are connected to the central server 102.
- the framework shutdown is abrupt.
- the central server 102 also includes a receiver 206 to receive poll from an entity external to the framework at regular interval of time. The external entity receives an acknowledgement from the framework in response to the poll. If the external entity does not receive the acknowledgement from the framework, the framework is determined to be shutdown. This helps the central server 102 to inform the controllers 104 and 106 in the network 100 about the abrupt shutdown of the framework.
- the transmitter 204 and the receiver 206 can be integrated as a transceiver.
- the processor 202 is also configured to stop a system bundle and a plurality of active bundles to prepare the framework 108 for a normal shutdown.
- the framework is shutdown when the system bundle and the plurality of active bundles are stopped.
- the central server 102 can also include a memory module 208.
- the memory module 208 stores state of each of the plurality of active bundles at the shutdown. The state indicates a state of the bundle from where each bundle must be restarted when the framework 108 is restarted. The process of handling shutdown of a framework is explained with the help of FIG. 3 and FIG. 4.
- FIG. 3 illustrates a flowchart depicting a method 300 for handling framework of a shutdown in the network 100, in accordance with an embodiment of the present invention.
- the method 300 can also include more number of steps as depicted in FIG. 3.
- the method 300 is initiated.
- an event related to a framework shutdown is generated by the processor 202. Examples of some mechanism for generating event are Call-Back mechanism and Listener- Notify mechanism.
- the framework can be an OSGi framework and the event can be a FrameEvent.
- the event is converted as a UPnP event by the processor 202.
- the event is converted to the UPnP event, as the controllers 104 and 106 present in the network 100 may be UPnP controllers. Conversion of the event enables the controllers (UPnP) in the network 100 to interpret the event.
- the converted event is delivered to one or more controllers, for example, the controllers 104 and 106 in the network 100.
- the event related to a framework shutdown enables the controllers 104 and 106 to have information about the framework shutdown.
- the controllers 104 and 106 can use this information and stop sending network messages to the framework, as the framework is shutdown and will not be able to respond to these network messages. Further, the controllers can start researching other devices for an alternative framework.
- the framework shutdown can either be normal shutdown or an abrupt shutdown. For the abrupt framework shutdown a poll is received from an entity external to the framework at a regular interval of time. The controllers are then informed about the abrupt shutdown based on the poll. Thereafter, the method 300 is terminated at step 310.
- the method for handling of a framework shutdown is explained in detail with the help of FIG. 4.
- FIG. 4 illustrates a flowchart depicting a method 400 for handling of a framework shutdown in the network 100, in accordance with another embodiment of the present invention.
- the method 400 is initiated.
- a state of each bundle of a plurality of active bundles is recorded at a framework shutdown. The state of each bundle indicates a point from where each bundle of the plurality of bundle must be restarted. This helps a bundle to re-start from the same state (a state at which the bundle was during the shutdown), when the framework is re-started.
- the framework 108 can be shutdown by decrementing a start- level of the framework 108 to zero.
- the plurality of active bundles are stopped.
- the plurality of active bundles can be stopped in a reverse dependency order.
- reverse dependency order consider an example in which a bundle A is dependent on a bundle B, and the bundle B is dependent on a bundle C.
- the bundle A is shutdown before the bundle B; and the bundles A and B are shutdown (A shuts down before B) before the bundle C.
- a system bundle is stopped.
- an event related to a framework shutdown is generated.
- the event is converted as a UPnP event.
- the converted event is delivered to one or more controllers in the network 100.
- the method 400 also includes wrapping an exception in a Bundle-
- Exception that occurs during the framework shutdown.
- Examples of exception include, but are not limited to, illegal arguments exception, out of memory exception, and input/output exception.
- the BundleException is published as a framework event of type FrameworkEvent.Error. Thereafter, the method 400 is terminated at step 416.
- the present invention provides a technique by which controllers get information about framework shutdown in a network. Further, the present invention provides proper handling of normal framework shutdown and abrupt framework shutdown. The present invention also provides ease of handling framework shutdown scenarios by using framework eventing mechanism, for example, a Call- Back mechanism and a Listener- Notify mechanism. The present invention also enables the controller to stop sending unnecessary messages to a framework, used by the controller, which is shutdown. Further, the present invention helps the controllers to research for an alternative framework when a framework the controller is using is shutdown.
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computing Systems (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
- Stored Programmes (AREA)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/743,750 US8429679B2 (en) | 2007-11-21 | 2008-11-19 | Method and system for handling framework shutdown in a network |
CN200880117223A CN101868942A (zh) | 2007-11-21 | 2008-11-19 | 用于处理网络中的框架关闭的方法和系统 |
EP08852676A EP2220817A4 (en) | 2007-11-21 | 2008-11-19 | METHOD AND SYSTEM FOR HANDLING FRAME SHUTDOWNS IN A NETWORK |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
IN2709CH2007 | 2007-11-21 | ||
IN2709/CHE/2007 | 2007-11-21 |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2009066924A2 true WO2009066924A2 (en) | 2009-05-28 |
WO2009066924A3 WO2009066924A3 (en) | 2009-08-27 |
Family
ID=40667984
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2008/006801 WO2009066924A2 (en) | 2007-11-21 | 2008-11-19 | Method and system for handling framework shutdown in a network |
Country Status (5)
Country | Link |
---|---|
US (1) | US8429679B2 (ko) |
EP (1) | EP2220817A4 (ko) |
KR (1) | KR101504363B1 (ko) |
CN (1) | CN101868942A (ko) |
WO (1) | WO2009066924A2 (ko) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094010B (zh) * | 2015-07-01 | 2018-04-27 | 国家电网公司 | 一种继电保护装置即插即用管理方法及系统 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW444165B (en) * | 1998-05-12 | 2001-07-01 | Primax Electronics Ltd | Hot plug and play universal serial bus switch device and control method |
JP2004505566A (ja) * | 2000-08-02 | 2004-02-19 | エイポナ・リミテッド | ネットワークリソースにアクセスするためのゲートウェイ |
US6798990B2 (en) * | 2001-02-09 | 2004-09-28 | International Business Machines Corporation | Laser safety method for DC coupled parallel optical link |
KR100389206B1 (ko) | 2001-04-25 | 2003-06-27 | 주식회사 성진씨앤씨 | 컴퓨터 운영 시스템 보호 방법 및 장치 |
US7987489B2 (en) * | 2003-01-07 | 2011-07-26 | Openpeak Inc. | Legacy device bridge for residential or non-residential networks |
US7680935B2 (en) * | 2004-09-30 | 2010-03-16 | Microsoft Corporation | Entity domains |
EP1793565A1 (en) * | 2005-12-02 | 2007-06-06 | Seiko Epson Corporation | Network plug-and-play compliant network relay control |
US9338028B2 (en) * | 2006-06-19 | 2016-05-10 | Nokia Technologies Oy | Utilizing information of a local network for determining presence state |
-
2008
- 2008-10-07 KR KR1020080098350A patent/KR101504363B1/ko not_active IP Right Cessation
- 2008-11-19 US US12/743,750 patent/US8429679B2/en active Active
- 2008-11-19 WO PCT/KR2008/006801 patent/WO2009066924A2/en active Application Filing
- 2008-11-19 EP EP08852676A patent/EP2220817A4/en not_active Withdrawn
- 2008-11-19 CN CN200880117223A patent/CN101868942A/zh active Pending
Non-Patent Citations (3)
Title |
---|
"E OPEN SERVICES GATEWAY INITIATIVE", vol. 10, 1 March 2003, IOS PRESS, article "OSGi Service Platform Release 3", pages: I - XIV |
COSTA-REQUENA J ET AL.: "UPnP Low Power Architecture", INTERNET CITATION, 27 August 2007 (2007-08-27), pages 1 - 44, Retrieved from the Internet <URL:http://www.upnp.org/specs/lp/UPnP-lp-Architecture-v1-SDCP-20070828.pdf> |
See also references of EP2220817A4 |
Also Published As
Publication number | Publication date |
---|---|
WO2009066924A3 (en) | 2009-08-27 |
CN101868942A (zh) | 2010-10-20 |
KR20090052797A (ko) | 2009-05-26 |
KR101504363B1 (ko) | 2015-03-20 |
EP2220817A4 (en) | 2012-03-14 |
EP2220817A2 (en) | 2010-08-25 |
US8429679B2 (en) | 2013-04-23 |
US20100257542A1 (en) | 2010-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8683273B2 (en) | Method and system for notifying error information in a network | |
US7668903B2 (en) | Method and apparatus for dynamically delivering service profiles to clients | |
CN106687975B (zh) | 可信执行环境可扩展计算装置接口 | |
JP2008112452A (ja) | メモリ・モジュールの熱管理 | |
US20070266120A1 (en) | System and method for handling instructions in a pre-boot execution environment | |
US20100146534A1 (en) | System and Method to Authenticate a Set-Top Box Device | |
CN107291510A (zh) | 一种Linux车载信息系统快速启动方法 | |
CN102455925A (zh) | 一种软件自动化部署方法、装置及终端 | |
WO2022056081A1 (en) | A wireless device and a method for automatic recovery from failures | |
CN110324193A (zh) | 一种终端升级管理方法及装置 | |
CN104303455A (zh) | 网络存在卸载 | |
JP5392553B2 (ja) | データ転送システムおよびデータ転送方法 | |
JP2013020297A (ja) | 集積回路装置及びその制御方法 | |
US8429679B2 (en) | Method and system for handling framework shutdown in a network | |
CN110012527A (zh) | 唤醒方法及电子设备 | |
JP2013016166A (ja) | 遠隔デバイスドライバの提供システム及び遠隔デバイスドライバの提供方法 | |
US20130324039A1 (en) | Power transmitter, power receiver and power transmission and reception system | |
US20100332687A1 (en) | METHOD AND APPARATUS FOR RESTRICTING THE EXECUTION OF OPEN SERVICES GATEWAY INITIATIVE (OSGi) LIFE CYCLE COMMANDS | |
KR101771573B1 (ko) | 단말 장치 간 자원 접근 제어 방법 및 이를 위한 서비스 시스템 | |
WO2015184902A1 (zh) | 一种智能分屏的并发处理方法及相应的智能终端 | |
US8413202B2 (en) | Content reception apparatus, content transmission apparatus, and content transmission and reception control apparatus | |
JP2008225745A (ja) | プロセス制御装置および方法およびプログラム | |
US8234487B2 (en) | Server apparatus and startup control method | |
US12039313B2 (en) | Data center infrastructure fungibility and bootstrapping | |
US8949306B2 (en) | Apparatus connected to network and method for requesting another apparatus to perform processing via network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 200880117223.9 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08852676 Country of ref document: EP Kind code of ref document: A2 |
|
REEP | Request for entry into the european phase |
Ref document number: 2008852676 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2008852676 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 12743750 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |