CN102354282A - Grading OSGi (Open Service Gateway Initiative) based monitoring system for running of RFID (Radio Frequency Identification Device) middleware constructional component - Google Patents

Grading OSGi (Open Service Gateway Initiative) based monitoring system for running of RFID (Radio Frequency Identification Device) middleware constructional component Download PDF

Info

Publication number
CN102354282A
CN102354282A CN2011102304351A CN201110230435A CN102354282A CN 102354282 A CN102354282 A CN 102354282A CN 2011102304351 A CN2011102304351 A CN 2011102304351A CN 201110230435 A CN201110230435 A CN 201110230435A CN 102354282 A CN102354282 A CN 102354282A
Authority
CN
China
Prior art keywords
service
configuration
module
osgi
rfid
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.)
Granted
Application number
CN2011102304351A
Other languages
Chinese (zh)
Other versions
CN102354282B (en
Inventor
刘发贵
杨平安
申维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201110230435.1A priority Critical patent/CN102354282B/en
Publication of CN102354282A publication Critical patent/CN102354282A/en
Application granted granted Critical
Publication of CN102354282B publication Critical patent/CN102354282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention belongs to the field of application management of an RFID (Radio Frequency Identification Device) middleware constructional component, and particularly relates to a grading OSGi (Open Service Gateway Initiative) based monitoring system for the running of the RFID middleware constructional component. The system comprises a component, a service entity, a component running monitoring module, a component running control module and a component running configuring module, wherein the component running monitoring module comprises a component monitoring module and a service monitoring module which are respectively connected to the component and the service entity; the component running control module comprises a component control module and a control graphical interface which are connected to each other; and the component running configuring module comprises a component configuring module and a configuring graphical interface which are connected to each other. The grading OSGi based monitoring system can be used for real-time monitoring on the running of the RFID middleware constructional component and dynamically modifying and configuring the component.

Description

Supervisory system during based on the operation of the RFID middleware member product of classification OSGi
Technical field
The invention belongs to RFID middleware member product application management field, supervisory system when particularly relating to a kind of RFID middleware member product operation based on classification OSGi.
Background technology
According to the workflow of restructural RFID middle unit development environment, the user accomplishes after the selection of member, and development environment is copied to the address that the user formulates with the member of choosing according to the specific directory structure, but is deployed to the RFID middleware product of independent operating.Because after the RFID middleware product is disposed and is accomplished; Development environment has promptly lost the control to the RFID middleware product; So when the RFID middleware product of disposing occurs when unusual, development environment can not be dealt with abnormal conditions; Can only reselect member, the RFID middleware product is redeployed once again.Can reduce the efficient of exploitation so undoubtedly.
And; Fast development along with RFID; In the process of RFID application integration; Relate to the integration of RFID middleware and isomery application system more and more, the RFID application product must be adjusted wherein member, service and configuration repeatedly and optimize and could do last deployment to the RFID application product.
Summary of the invention
To the shortcoming of prior art, the purpose of this invention is to provide and a kind ofly when RFID middleware member product moves, monitor in real time, and can on-the-fly modify with layout structure based on the RFID middleware member product operation of classification OSGi the time supervisory system.
For realizing above-mentioned purpose, technical scheme of the present invention is:
Supervisory system when a kind of RFID middleware member product based on classification OSGi moves comprises member and service entities, configuration module when control module and member move when also comprising monitor module when member moves, member operation;
Monitor module when said member moves comprises member monitoring module, service monitoring module, and the member monitoring module is connected with service entities with member respectively with the service monitoring module, is respectively applied for member and service entities are kept watch on;
Control module comprised interconnected member control module and control graphical interfaces when said member moved, and the user controls associated components through control graphical interfaces component invoking control module;
Configuration module comprises interconnected member configuration module and configuration graphical interfaces during the operation of said member, and the user is through configuration graphical interfaces component invoking configuration module, and the configuration information of member is configured.The present invention uses the method for the OSGi bus of clone's RFID application program IDE itself, creates the OSGi runtime environment of a new classification, manages in the time of can realizing the operation to member based on this environment.
As a kind of preferred version; Said member monitoring module comprises interface when the member monitor, member storer and the member that connect successively move; The member monitor is connected with member, and it is used for keeping watch on the parameter of OSGi bus member, and the member storer is used for the parameter of means of storage; The content at interface is loaded by the content in the member storer during member operation, is used for carrying out alternately with the user.
As further preferred version; Interface when interface and RFID operation when said service monitoring module comprises successively the service monitor that connects, service memory, service operation; Service monitor is connected with service entities, and it is used for keeping watch on the parameter of OSGi bus service entities, and service memory is used for the parameter of stores service; The content at interface was loaded by the content in the service memory when interface and RFID moved during service operation, was used for carrying out alternately with the user.
As further preferred version again; Monitor module also comprised the JFace controller when said member moved; The interface was connected when the interface was moved with RFID when interface, service operation when JFace controller one end moved with member; The other end is connected with member storer, service memory, when the content in member storer, the service memory is filled into member when operation interface, service operation respectively through the JFace controller when interface and RFID operation in the interface.
As further preferred version again, said member storer is the HashMap container, and service memory is the HashSet container.The reason that adopts the Hash container is because in the process that system is kept watch on, relate to the operation of align member and service entities in container in a large number, selects the Hash container can guarantee the efficient of locating.
As another kind of preferred version; Control module comprises the Loading Control of member, the solution control that member relies on to the control of member during the member operation; The start-up control of member, member stop control, the renewal control of the Unloading Control of member, member, the diagnosis control of member.
As another kind of preferred version; Configuration module also was provided with Configuration Admin service entities and ManagedService service entities when said member moved; Configuration Admin service entities is provided with configuration object; Configuration Admin service entities obtains the configuration information that need when moving, change through the ManagedService service entities, the corresponding configuration information that need when operation, change of each configuration object.
As further preferred version; Comprise that the member configuration module comprises service tracks device, LinkedList container and configuration monitoring device; Service tracks device, configuration monitoring device are connected with Configuration Admin service entities; The service tracks device also is connected with the LinkedList container, and the LinkedList container is connected with the configuration graphical interfaces.Through said parts, can be implemented in and show all configuration informations and deletion configuration information in the configuration graphical interfaces, during the state of configuration monitoring device real-time listening configuration object.
As further preferred version again, configuration module also is provided with the JFace editing machine during said member operation, the JFace editing machine with dispose graphical interfaces and be connected.The user utilizes this JFace editing machine to edit and third party's configuration information configuration record in the configuration graphical interfaces; Third party's configuration information refers to not corresponding with any member, only has the configuration information in this RFID product runtime environment of operation.
As another kind of preferred version, said member is the primary Bundle model encapsulation of OSGi, and service entities is the primary ServiceReference model encapsulation of OSGi.When service entities is kept watch on, only need export the parameters of service entities in real time, and need not use service entities to carry out any operation, can save internal memory so use the ServiceReference model of handle level to encapsulate.
Compared with prior art, the present invention has following beneficial effect:
Monitoring and control when the present invention provides RFID middleware member product moved; Make the user to check all members, service and configuration information in the member product in real time with the mode of graphical interfaces; And can in the member product, increase, revise, delete member in real time newly; And can dynamically revise layout structure, to adapt to the requirement of RFID application integration.
Description of drawings
Fig. 1 is the component deployment flow process in the traditional restructural RFID middle unit development environment;
Fig. 2 is a system chart of the present invention;
The structural representation of monitor module when Fig. 3 moves for the member among the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is carried out detailed description.
As shown in Figure 2; The present invention uses the method for the OSGi bus of clone RFID application program IDE itself; Obtain a new OSGi runtime environment; Supervisory system when a kind of RFID middleware member product operation based on classification OSGi is provided, configuration module when control module and member operation when monitor module, member operation when comprising member, service entities, member operation;
Member is the primary Bundle model encapsulation of OSGi, and service entities is the primary ServiceReference model encapsulation of OSGi.
Monitor module during the member operation comprises member monitoring module, service monitoring module and JFace controller;
The member monitoring module comprises the member monitor, interface during for the operation of the member storer of HashMap container and member; The interface connects successively when member monitor, member storer, JFace controller, member operation; The member monitor is connected with member, is used for keeping watch on the parameter of OSGi bus member, and the member storer is used for the parameter of means of storage; The interface when content in the service memory is filled into the member operation through the JFace controller, the interface is used for carrying out alternately with the user during member operation.The BundleContext object A of member monitor maintenance component product OSGi bus.When the member monitor started, the member monitor at first added all members among its BundleContext object A in the member storer to.When the build list table among the BundleContext object A changes; State value in the member monitor check Component and B undleEvent object; And interface during according to the operation of the state value real-time update member storer in the BundleEvent object and member, be specially:
If A1. the state in the BundleEvent object is not install, the member in then the BundleEvent object being comprised adds in the member storer, and refreshes member when operation interface;
If A2. the state in the BundleEvent object is unloading, the member in then the BundleEvent object being comprised is deleted from the member storer, and refreshes member when operation interface.
Because the user can be through member when operation effect of the interface member storer, thus utilizing before the member monitor carries out any operation to the member storer, all needs first with the synchronized key word with the member memory lock.
The service monitoring module comprises service monitor, interface when interface and RFID operation during for the service memory of HashSet container, service operation; Service monitor, service memory, JFace controller connect successively; The JFace controller is connected at the interface when interface is moved with RFID during also with service operation; Service monitor is connected with service entities, and it is used for keeping watch on the parameter of OSGi bus service entities, and service memory is used for the parameter of stores service; Interface when interface and RFID moved when the content in the service memory was filled into service operation respectively through the JFace controller, the interface was used for carrying out alternately with the user when interface and RFID moved during service operation.The BundleContext object B of service monitor maintenance component product OSGi bus.When service monitor started, service monitor was at first added ServiceReference objects all in its BundleContext object B in the service memory to.When the tabulation of the ServiceReference in the BundleContext object B changes; State value in the ServiceEvent object of service monitor inspection ServiceReference; And interface when interface and RFID operation during according to the real-time update service memory in the ServiceEvent object, service operation, be specially:
If B1. the state of ServiceEvent object is registration, the ServiceReference in then the ServiceEvent object being comprised adds in the service memory, and refreshing service when operation interface; If the ID of ServiceReference is Configuration; Obtain the Configuration service entities; The RFID middleware configuration view at interface when using the content of this Configuration service entities to fill the RFID operation, and interface when refreshing the RFID operation; If the ID of ServiceReference is Management, obtain the Management service entities, the RFID middleware Status view at interface when using the content of this Management service entities to fill the RFID operation, and interface when refreshing the RFID operation;
If B2. the state of ServiceEvent object is to remove registration, the ServiceReference in then the ServiceEvent object being comprised deletes from service memory, and interface when moving with RFID, refreshing service when operation interface;
If B3. the state of ServiceEvent object is to revise, interface when directly refreshing service is moved.If the ID of ServiceReference is Configuration or Management, interface in the time of also need refreshing the RFID operation.
Since the user can be when the service operation effect of the interface service memory, so utilizing before service monitor carries out any operation to service memory, all needs service memory to be locked earlier with the synchronized key word.
Control module comprises interconnected member control module and control graphical interfaces during the member operation; The user is through control graphical interfaces component invoking control module; Associated components is controlled, and control module comprises the Loading Control of member, the solution control that member relies on, the start-up control of member to the control of member during the member operation; Member stop control, the renewal control of the Unloading Control of member, member, the diagnosis control of member.The user is when carrying out above-mentioned control to member, and the operation that needn't stop entire RF ID middleware member product just can be adjusted optimization to the member in original RFID middleware member product.
Configuration module comprises member configuration module, configuration graphical interfaces and JFace editing machine during the member operation; The member configuration module comprises service tracks device, LinkedList container and configuration monitoring device; The service tracks device is connected with the LinkedList container, and LinkedList container, JFace editing machine are connected with the configuration graphical interfaces.
Configuration module also is provided with Configuration Admin service entities and ManagedService service entities during the member operation; Service tracks device, configuration monitoring device are connected with Configuration Admin service entities; Configuration Admin service entities is provided with configuration object; Configuration Admin service entities obtains the configuration information that need when moving, change through the ManagedService service entities, the corresponding configuration information that need when operation, change of each configuration object.It is specially; At first; From traditional configuration store medium such as XML file or Prop file, read configuration; With the realization class encapsulation of the information that need change in when operation in numerous configuration informations through a ManagedService Java interface, again this encapsulation class is issued as the ManagedService service entities then, each ManagedService service entities uses the service.pid item among its Properties to distinguish.Configuration Admin service entities is collected the configuration information in all ManagedService services, sets up corresponding configuration object for every configuration information, manages all configuration objects then.Through Configuration Admin service request any configuration object is carried out dynamic-configuration at last.
During work; The user gets access to the corresponding configuration object of any member through the mode of configuration graphical interfaces; And configuration object editor or deletion to obtaining; In addition, the user can also add third party's configuration information in RFID middleware member product, during need not stop the operation of RFID middleware member product.Its concrete workflow is:
1) shows all configuration informations
The configuration graphical interfaces is safeguarded the LinkedList container that element is a configuration object.When initial, use the service tracks device to monitor Configuration Admin service, take out all configuration objects from Configuration Admin service and put into LinkedList containers, in the configuration graphical interfaces, show with the form of tree list control.For guaranteeing that the configuration graphical interfaces dynamically updates, and uses the configuration monitoring device to monitor the state of all configuration objects:
D1. when the ConfigurationEvent of configuration object is CM_DELETED, from the corresponding configuration object of LinkedList container deletion, refresh configuration graphical interfaces again.
D2. when the ConfigurationEvent of configuration object is CM_ADD, add corresponding configuration object, refresh configuration graphical interfaces again to the LinkedList container.
D3. when the ConfigurationEvent of configuration object is not above two kinds of situation, direct refresh configuration graphical interfaces.
2) editor and the original configuration information of deletion
E1. edit original configuration information
When the user need edit configuration record in the configuration graphical interfaces; At first with Properties object of content creating of the configuration object chosen; Re-use this Properties object is tied to an original text string, use this original text string initialization at last and open a JFace editing machine.The user uses the form edit configuration information of this JFace editing machine with " key=value ".When the user preserves this JFace editing machine; The text string that the JFace editing machine is current is tied to a Properties object, uses this Properties object to upgrade corresponding configuration information in the Configuration Admin service through Configuration Admin service again.
E2. delete original configuration information
The selected configuration object of deletion from the LinkedList container of configuration graphical interfaces, the delet method that calls this configuration object gets final product.
3) add third party's configuration information
At first, receive third party's configuration information service.pid of user's input, open a JFace editing machine, the user can the style with Properties add third party's configuration information in editing machine afterwards.After the user disposes completion, configuration object of content creating and additional third party's configuration information service.pid of JFace editing machine text string is last, through this configuration object of Configuration Admin service registry.

Claims (10)

1. supervisory system when the RFID middleware member product based on classification OSGi moves comprises member and service entities, it is characterized in that, configuration module when control module and member move when also comprising monitor module when member moves, member operation;
Monitor module when said member moves comprises member monitoring module, service monitoring module, and the member monitoring module is connected with service entities with member respectively with the service monitoring module;
Control module comprised interconnected member control module and control graphical interfaces when said member moved;
Configuration module comprised interconnected member configuration module and configuration graphical interfaces when said member moved.
2. supervisory system when the RFID middleware member product based on classification OSGi according to claim 1 moves; It is characterized in that; Said member monitoring module comprises interface when the member monitor, member storer and the member that connect successively move, and the member monitor is connected with member.
3. supervisory system when the RFID middleware member product based on classification OSGi according to claim 2 moves; It is characterized in that; Interface when interface and RFID operation when said service monitoring module comprises successively the service monitor that connects, service memory, service operation, service monitor is connected with service entities.
4. supervisory system when the RFID middleware member product based on classification OSGi according to claim 3 moves; It is characterized in that; Monitor module also comprised the JFace controller when said member moved; The interface was connected when the interface was moved with RFID when interface, service operation when JFace controller one end moved with member, and the other end is connected with member storer, service memory.
5. supervisory system when the RFID middleware member product based on classification OSGi according to claim 4 moves is characterized in that said member storer is the HashMap container, and service memory is the HashSet container.
6. supervisory system when the RFID middleware member product based on classification OSGi according to claim 1 moves; It is characterized in that; Control module comprises the Loading Control of member, the solution control that member relies on to the control of member during the member operation; The start-up control of member, member stop control, the renewal control of the Unloading Control of member, member, the diagnosis control of member.
7. supervisory system when the RFID middleware member product based on classification OSGi according to claim 1 moves; It is characterized in that; Configuration module also was provided with Configuration Admin service entities and ManagedService service entities when said member moved; Configuration Admin service entities is provided with configuration object; Configuration Admin service entities obtains the configuration information that need when moving, change through the ManagedService service entities, the corresponding configuration information that need when operation, change of each configuration object.
8. supervisory system when the RFID middleware member product based on classification OSGi according to claim 7 moves; It is characterized in that; Comprise that the member configuration module comprises service tracks device, LinkedList container and configuration monitoring device; Service tracks device, configuration monitoring device are connected with Configuration Admin service entities, and the service tracks device also is connected with the LinkedList container, and the LinkedList container is connected with the configuration graphical interfaces.
9. supervisory system when the RFID middleware member product based on classification OSGi according to claim 8 moves is characterized in that configuration module also was provided with the JFace editing machine when said member moved, and the JFace editing machine is connected with the configuration graphical interfaces.
10. supervisory system when the RFID middleware member product based on classification OSGi according to claim 1 moves; It is characterized in that; Said member is the primary Bundle model encapsulation of OSGi, and service entities is the primary ServiceReference model encapsulation of OSGi.
CN201110230435.1A 2011-08-12 2011-08-12 Grading OSGi (Open Service Gateway Initiative) based monitoring system for running of RFID (Radio Frequency Identification Device) middleware constructional component Active CN102354282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110230435.1A CN102354282B (en) 2011-08-12 2011-08-12 Grading OSGi (Open Service Gateway Initiative) based monitoring system for running of RFID (Radio Frequency Identification Device) middleware constructional component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110230435.1A CN102354282B (en) 2011-08-12 2011-08-12 Grading OSGi (Open Service Gateway Initiative) based monitoring system for running of RFID (Radio Frequency Identification Device) middleware constructional component

Publications (2)

Publication Number Publication Date
CN102354282A true CN102354282A (en) 2012-02-15
CN102354282B CN102354282B (en) 2014-07-30

Family

ID=45577849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110230435.1A Active CN102354282B (en) 2011-08-12 2011-08-12 Grading OSGi (Open Service Gateway Initiative) based monitoring system for running of RFID (Radio Frequency Identification Device) middleware constructional component

Country Status (1)

Country Link
CN (1) CN102354282B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501314A (en) * 2013-09-09 2014-01-08 中国船舶重工集团公司第七0九研究所 Extensible remote management method oriented to OSGI platform
CN104407904A (en) * 2014-12-15 2015-03-11 深圳市科漫达智能管理科技有限公司 Module information allocation method and system
CN111200508A (en) * 2018-11-19 2020-05-26 中移(杭州)信息技术有限公司 Message sending method and gateway

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
FAGUI LIU,PING"AN YANG,WEI SHEN,YUEDONG LIN,YANG ZHANG: "Modulization Approach&Application of OSGI-based RFID Middleware Persistence Layer", 《ANTI-COUNTERFEITING SECURITY AND IDENTIFICATION IN COMMUNICATION 2010》 *
FAGUI LIU,WEI SHEN,KAI LIN,YANG ZHANG: "Modulization Approach&Application of OSGI-based RFID Middleware Web Presentation Layer", 《ANTI-COUNTERFEITING SECURITY AND IDENTIFICATION IN COMMUNICATION 2009,ASID2009》 *
LIU FAGUI,HAN LIU,LIN KAI,RUAN YONGXIONG: "OSGI-based Reconfigurable RFID Middleware", 《ANTI-COUNTERFEITING SECURITY AND IDENTIFICATION IN COMMUNICATION 2008》 *
吴巾帅: "《可重构RFID中间件设备管理监控技术研究与开发》", 《中国优秀硕士学位论文全文数据库》 *
李霞: "RFID应用集成中间件技术研究与开发", 《科技成果管理与研究》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501314A (en) * 2013-09-09 2014-01-08 中国船舶重工集团公司第七0九研究所 Extensible remote management method oriented to OSGI platform
CN103501314B (en) * 2013-09-09 2017-04-12 中国船舶重工集团公司第七0九研究所 Extensible remote management method oriented to OSGI platform
CN104407904A (en) * 2014-12-15 2015-03-11 深圳市科漫达智能管理科技有限公司 Module information allocation method and system
CN104407904B (en) * 2014-12-15 2018-01-02 深圳市科漫达智能管理科技有限公司 A kind of method and system of module information configuration
CN111200508A (en) * 2018-11-19 2020-05-26 中移(杭州)信息技术有限公司 Message sending method and gateway
CN111200508B (en) * 2018-11-19 2022-07-01 中移(杭州)信息技术有限公司 Message sending method and gateway

Also Published As

Publication number Publication date
CN102354282B (en) 2014-07-30

Similar Documents

Publication Publication Date Title
CN104142847B (en) Stateless virtual machine and its application under cloud computing environment
CN110389766B (en) HBase container cluster deployment method, system, equipment and computer readable storage medium
CN104517181B (en) Enterprise content management system and method for nuclear power station
CN105389186A (en) Hot deployment method and system for Java application
CN103218220A (en) Dynamic pluggable component based-Internet of things middleware system
CN105847088A (en) Virtual machine performance test system based on cloud service
CN103729450A (en) Function authority centralized management method and device
CN103744647A (en) Java workflow development system and method based on workflow GPD
CN108037937A (en) A kind of method of dynamic more new resources
CN104317595A (en) Background-push component-based graphical monitoring device based on SVG (scalable vector graphics) and operating method thereof
CN112068845A (en) Multi-architecture-adaptive containerized CICD service deployment method and device
CN104216751A (en) Loading method and system of functional unit interface resource of application program
CN109857489A (en) Development system, decoupling method and device based on android system
CN110532058B (en) Management method, device and equipment of container cluster service and readable storage medium
CN104318091A (en) Moonlet ground testing method based on virtualization computer system
CN102354282B (en) Grading OSGi (Open Service Gateway Initiative) based monitoring system for running of RFID (Radio Frequency Identification Device) middleware constructional component
CN105573774A (en) Application parameter managing and configuring method
CN104424317A (en) Method and system for providing application for user terminal
CN102999371B (en) Interface Development method and system based on Lua script
CN106802805B (en) Application service management method and device suitable for server management
CN104462605B (en) A kind of configuration of data base persistence layer frame, amending method and system
CN105704250A (en) Cloud manufacture-oriented resource integration management method
CN103810258A (en) Data aggregation scheduling method based on data warehouse
CN110427366A (en) Index synchronous method, apparatus and system based on the phoenix transformation old system of hbase
CN108196912B (en) Data integration method based on hot plug assembly

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant