CN105224375A - The supervisory system of management system plug-in unit and method - Google Patents

The supervisory system of management system plug-in unit and method Download PDF

Info

Publication number
CN105224375A
CN105224375A CN201510768863.8A CN201510768863A CN105224375A CN 105224375 A CN105224375 A CN 105224375A CN 201510768863 A CN201510768863 A CN 201510768863A CN 105224375 A CN105224375 A CN 105224375A
Authority
CN
China
Prior art keywords
plug
unit
management
component operation
management system
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.)
Pending
Application number
CN201510768863.8A
Other languages
Chinese (zh)
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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network Technology Co Ltd
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 Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN201510768863.8A priority Critical patent/CN105224375A/en
Publication of CN105224375A publication Critical patent/CN105224375A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of supervisory system and method for management system plug-in unit, wherein, the supervisory system of management system plug-in unit, comprise plug-in unit proxy module and plug-in unit monitoring module, described plug-in unit proxy module: when system code operation needs to search plug-in unit place, carry out plugin lookup, and buffer memory loads the plug-in unit found, and call plug-in unit monitoring module; Described plug-in unit monitoring module: for user provides the interface checking plug-in component operation state and management plug-in unit, according to user, plug-in management scheme is formed to the management that plug-in unit carries out, plug-in management scheme is carried out storage and call for during system code initialization.User can directly be judged, and whether system problem has plug-in unit to cause, the situation that plug-in unit performs, and the efficiency of operation and the data of impact clearly can be drawn by interface.

Description

The supervisory system of management system plug-in unit and method
Technical field
The plug-in unit that the present invention relates to management software controls and management domain, particularly, relates to a kind of supervisory system and method for management system plug-in unit.
Background technology
At present, in the implementation process of management software system, when particularly large-scale management software being implemented, unavoidably some developing plugs will be carried out, different specific demand for user is carried out expanding the function of original software systems and is carried out the change of original business function, comprises and the docking of Third party system.
Because these plug-in units can have self, client, the different personnel such as third party or partner develop, the quality of plug-in unit itself is caused to have very different.And the plug-in component operation system of routine, bad plug-in unit can have an impact to original system, and causes original system may occur the problems such as performance or data are destroyed.
In existing management system, plug-in unit executive mode is as Fig. 1: the plug-in unit point found in the system code that system code 001 process is corresponding, judge to search whether have registered plug-in unit whether in registered plug-ins 002 process, it is the plug-in code just first performing plug-in code 003, then continue according to previous system code logic executive system code 004 process, otherwise continue to perform original system code 004 process.
The problem brought is as follows:
1: in system code 001 process, whether uncontrollable plug-in component operation;
2: plug-in code 003 procedures system clearly cannot know the practice condition of plug-in unit.
3: plug-in code 003 process cannot assess the performance impact of plug-in unit to system.
4: system code 004 process cannot know whether it is the system mistake caused because of plug-in unit.
Therefore prior art exists how to carry out monitoring management to plug-in unit, and whether the reason of locating these product problems is caused by plug-in unit, and plug-in unit result in how many performance impacts, how to prevent the problem that some data can not be distorted by plug-in unit.
Summary of the invention
The object of the invention is to, for the problems referred to above, propose a kind of supervisory system and method for management system plug-in unit, to realize the advantage managing plug-in unit accurately.
For achieving the above object, the technical solution used in the present invention is:
A supervisory system for management system plug-in unit, comprises plug-in unit proxy module and plug-in unit monitoring module,
Described plug-in unit proxy module: when system code operation needs to search plug-in unit place, carry out plugin lookup, and buffer memory loads the plug-in unit found, and call plug-in unit monitoring module;
Described plug-in unit monitoring module: for user provides the interface checking plug-in component operation state and management plug-in unit, according to user, plug-in management scheme is formed to the management that plug-in unit carries out, plug-in management scheme is carried out storage and call for during system code initialization.
Preferably, described plug-in unit monitoring module management plug-in unit is specially: within the system code runtime, to plug-in unit executable operations, described executable operations at least comprise plug-in unit reprinting, unload, enable or stop using.
Preferably, described plug-in unit monitoring module comprises, operation display unit and storage unit;
Described operation display unit: for user provides the interface checking plug-in component operation state and management plug-in unit, and show the parameter of plug-in component operation;
Described storage unit: carry out managing the plug-in management scheme formed to plug-in unit for storing user.
Preferably, described plug-in management scheme is stored in xml file.
Preferably, the plug-in component operation state that user checks comprises, plugin name, plug-in registration carrier, the full name of package types, plug-in component operation state, plug-in unit on average consuming time, plug-in component operation number of times, plug-in unit load information, plug-in unit load time, execution time, plug-in unit last execution time, plug-in card program set name claim and plug-in registration configuration file plug-in unit first.
Technical solution of the present invention also discloses a kind of method for supervising of management system plug-in unit simultaneously, comprising:
When system code operation needs to search plug-in unit place, carry out plugin lookup, and buffer memory loads the step of the plug-in unit found;
Check the running status of above-mentioned plug-in unit, and plug-in unit is managed, and form plug-in management scheme according to the result of plug-in management, and plug-in management scheme is carried out store the step for calling during system code initialization.
Preferably, described management plug-in unit is specially: within the system code runtime, to plug-in unit executable operations, described executable operations at least comprise plug-in unit reprinting, unload, enable or stop using.
Preferably, described plug-in management scheme is stored in xml file.
Preferably, the plug-in component operation state that user checks comprises, plugin name, plug-in registration carrier, the full name of package types, plug-in component operation state, plug-in unit on average consuming time, plug-in component operation number of times, plug-in unit load information, plug-in unit load time, execution time, plug-in unit last execution time, plug-in card program set name claim and plug-in registration configuration file plug-in unit first.
Preferably, also comprise: the plug-in unit run for needs, arranges plug-in component operation control point, by the step that the operation initial time of plug-in unit, execution number of times, end time, operation conditions and performance statistics store.
Technical scheme of the present invention has following beneficial effect:
Technical scheme of the present invention by running plug-in unit monitoring in system, and user can directly be judged, and whether system problem has plug-in unit to cause, the situation that plug-in unit performs, and the efficiency of operation, the data of impact clearly can be drawn by interface.Product systems self are obtained perfect, the trouble not locking into external plug-in and bring.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Fig. 1 is plug-in unit executive mode schematic diagram in existing management system;
Fig. 2 is the theory diagram of the supervisory system of the management system plug-in unit described in the embodiment of the present invention;
Fig. 3 is plug-in unit executive mode schematic diagram in the supervisory system described in the embodiment of the present invention;
Fig. 4 is the monitoring schematic diagram for needing the plug-in unit run.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
As shown in Figure 2, a kind of supervisory system of management system plug-in unit, comprises plug-in unit proxy module and plug-in unit monitoring module,
Plug-in unit proxy module: when system code operation needs to search plug-in unit place, carry out plugin lookup, and buffer memory loads the plug-in unit found, and call plug-in unit monitoring module;
Plug-in unit monitoring module: for user provides the interface checking plug-in component operation state and management plug-in unit, according to user, plug-in management scheme is formed to the management that plug-in unit carries out, plug-in management scheme is carried out storage and call for during system code initialization.
Wherein, plug-in unit monitoring module management plug-in unit be specially: within the system code runtime, to plug-in unit executable operations, executable operations at least comprise plug-in unit reprinting, unload, enable or stop using.
Plug-in unit monitoring module comprises, operation display unit and storage unit;
Operation display unit: for user provides the interface checking plug-in component operation state and management plug-in unit, and show the parameter of plug-in component operation;
Storage unit: carry out managing the plug-in management scheme formed to plug-in unit for storing user.
Plug-in management scheme is stored in xml file.
The plug-in component operation state that user checks comprises, plugin name, plug-in registration carrier, the full name of package types, plug-in component operation state, plug-in unit on average consuming time, plug-in component operation number of times, plug-in unit load information, plug-in unit load time, execution time, plug-in unit last execution time, plug-in card program set name claim and plug-in registration configuration file plug-in unit first.
Technical solution of the present invention also discloses a kind of method for supervising of management system plug-in unit simultaneously, comprising:
When system code operation needs to search plug-in unit place, carry out plugin lookup, and buffer memory loads the step of the plug-in unit found;
Check the running status of above-mentioned plug-in unit, and plug-in unit is managed, and form plug-in management scheme according to the result of plug-in management, and plug-in management scheme is carried out store the step for calling during system code initialization.
Also comprise: the plug-in unit run for needs, arranges plug-in component operation control point, by the step that the operation initial time of plug-in unit, execution number of times, end time, operation conditions and performance statistics store.
The monitoring of management system plug-in unit is concrete as shown in Figure 3,
1, in the part of searching plug-in unit of routine as between the system code 005 of Fig. 3 and system code 011, realize a plug-in unit proxy module, concrete function comprises the searching of conventional plug-in unit, buffer memory value-added tax function, carries out calling of plug-in unit supervisory system simultaneously.
2: its key data structure of plug-in unit supervisory system is as table 1:
Data structure table is wanted in the monitoring of table 1, plug-in unit.
User can check the operation conditions of each system plugin by the user UI page module that plug-in unit supervisory system is corresponding, and can carry out corresponding management: the information that user can see as table 1, the operation that can carry out has loading, unloads, enables, stops using,
Be stored as plug-in unit monitoring scheme.Should be noted that it is that the executable operations (reprint, unload, enable, stop using) of user to plug-in unit, all in runtime behavior, just can work after only saving as monitoring scheme after system reboot.
Loading refers to that system plugin cache set holds this plug-in unit; Enable and refer to that this plug-in unit can perform according to plug-in registration mode in advance; Unloading refers to that plug-in unit is removed from system plugin buffer memory; Stop using: system code performs can not perform plug-in unit according to plug-in registration mode.
A, by plug-in unit monitoring scheme when system code 005 performs for the first time, control plug-in unit whether load, run; If user does not also have configuration plug-in monitoring scheme, then all load and all run!
Plug-in unit monitoring scheme can persistent storage in media as well in such as xml file, and it configures similar following structure:
<plugin>
<pluginNamename=' plug-in unit 1isload=1isrun=1/>
</plugin>
<plugin>
<pluginNamename=' plug-in unit 2'isload=1isrun=1/>
</plugin>
According to the configuration of plug-in unit monitoring scheme, as whether loaded according to the concrete plug-in unit of isload, can determine whether plug-in unit runs according to isrun in the logic of A.
B, acquisition plug-in management interface user operation result, process plug-in unit controls board state in real time: operation, stopping, loading or unloading.
C, as shown in Figure 4: for the plug-in unit needing to run, can arrange plug-in component operation control point, the time of carrying out current operation carries out record.After performing plug-in code, again record operating time, by the operation initial time of plug-in unit, perform number of times, the end time carries out situation and performance statistics stores, the field of its store data structure in table 1: on average consuming time, number of run, first in execution time, last execution time field, and by being represented by monitoring management interface.
Last it is noted that the foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment to invention has been detailed description, for a person skilled in the art, it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a supervisory system for management system plug-in unit, is characterized in that, comprises plug-in unit proxy module and plug-in unit monitoring module,
Described plug-in unit proxy module: when system code operation needs to search plug-in unit place, carry out plugin lookup, and buffer memory loads the plug-in unit found, and call plug-in unit monitoring module;
Described plug-in unit monitoring module: for user provides the interface checking plug-in component operation state and management plug-in unit, according to user, plug-in management scheme is formed to the management that plug-in unit carries out, plug-in management scheme is carried out storage and call for during system code initialization.
2. the supervisory system of management system plug-in unit according to claim 1, it is characterized in that, described plug-in unit monitoring module management plug-in unit is specially: within the system code runtime, to plug-in unit executable operations, described executable operations at least comprise plug-in unit reprinting, unload, enable or stop using.
3. the supervisory system of management system plug-in unit according to claim 2, is characterized in that, described plug-in unit monitoring module comprises, operation display unit and storage unit;
Described operation display unit: for user provides the interface checking plug-in component operation state and management plug-in unit, and show the parameter of plug-in component operation;
Described storage unit: carry out managing the plug-in management scheme formed to plug-in unit for storing user.
4. the supervisory system of management system plug-in unit according to claim 3, is characterized in that, described plug-in management scheme is stored in xml file.
5. the supervisory system of the management system plug-in unit according to claim 3 or 4, it is characterized in that, the plug-in component operation state that user checks comprises, plugin name, plug-in registration carrier, the full name of package types, plug-in component operation state, plug-in unit on average consuming time, plug-in component operation number of times, plug-in unit load information, plug-in unit load time, execution time, plug-in unit last execution time, plug-in card program set name claim and plug-in registration configuration file plug-in unit first.
6. a method for supervising for management system plug-in unit, is characterized in that, comprising:
When system code operation needs to search plug-in unit place, carry out plugin lookup, and buffer memory loads the step of the plug-in unit found;
Check the running status of above-mentioned plug-in unit, and plug-in unit is managed, and form plug-in management scheme according to the result of plug-in management, and plug-in management scheme is carried out store the step for calling during system code initialization.
7. the method for supervising of management system plug-in unit according to claim 6, is characterized in that, described management plug-in unit is specially: within the system code runtime, to plug-in unit executable operations, described executable operations at least comprise plug-in unit reprinting, unload, enable or stop using.
8. the method for supervising of management system plug-in unit according to claim 7, is characterized in that, described plug-in management scheme is stored in xml file.
9. the method for supervising of management system plug-in unit according to claim 8, it is characterized in that, the plug-in component operation state that user checks comprises, plugin name, plug-in registration carrier, the full name of package types, plug-in component operation state, plug-in unit on average consuming time, plug-in component operation number of times, plug-in unit load information, plug-in unit load time, execution time, plug-in unit last execution time, plug-in card program set name claim and plug-in registration configuration file plug-in unit first.
10. the method for supervising of management system plug-in unit according to claim 8, it is characterized in that, also comprise: the plug-in unit that needs are run, plug-in component operation control point is once set, by the step that the operation initial time of plug-in unit, execution number of times, end time, operation conditions and performance statistics store.
CN201510768863.8A 2015-11-12 2015-11-12 The supervisory system of management system plug-in unit and method Pending CN105224375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510768863.8A CN105224375A (en) 2015-11-12 2015-11-12 The supervisory system of management system plug-in unit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510768863.8A CN105224375A (en) 2015-11-12 2015-11-12 The supervisory system of management system plug-in unit and method

Publications (1)

Publication Number Publication Date
CN105224375A true CN105224375A (en) 2016-01-06

Family

ID=54993367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510768863.8A Pending CN105224375A (en) 2015-11-12 2015-11-12 The supervisory system of management system plug-in unit and method

Country Status (1)

Country Link
CN (1) CN105224375A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698914A (en) * 2020-12-30 2021-04-23 北京理工大学 Workflow task container generation system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050251809A1 (en) * 2001-05-30 2005-11-10 Bea Systems, Inc. System and method for software component plug-in framework
CN101895851A (en) * 2010-06-30 2010-11-24 卓望数码技术(深圳)有限公司 Plug-in wireless value-added service platform and management method thereof
CN103927244A (en) * 2014-04-15 2014-07-16 南威软件股份有限公司 Plug-in scheduling process monitoring method implemented based on dynamic proxy

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050251809A1 (en) * 2001-05-30 2005-11-10 Bea Systems, Inc. System and method for software component plug-in framework
CN101895851A (en) * 2010-06-30 2010-11-24 卓望数码技术(深圳)有限公司 Plug-in wireless value-added service platform and management method thereof
CN103927244A (en) * 2014-04-15 2014-07-16 南威软件股份有限公司 Plug-in scheduling process monitoring method implemented based on dynamic proxy

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698914A (en) * 2020-12-30 2021-04-23 北京理工大学 Workflow task container generation system and method
CN112698914B (en) * 2020-12-30 2022-12-27 北京理工大学 Workflow task container generation system and method

Similar Documents

Publication Publication Date Title
US10169483B2 (en) Validation of schema and schema conformance verification
US11221838B2 (en) Hot update method, operating system, terminal device, system, and computer-readable storage medium for a system process
CN101964725B (en) Method and system for realizing upgrading without interrupting service
CN105468717A (en) Database operation method and device
CN110225078B (en) Application service updating method, system and terminal equipment
CN107516547A (en) The processing method and processing device of internal memory hard error
CN110333876A (en) A kind of data clearing method and control equipment
US20220129458A1 (en) Method for generating identification id, and apparatus implementing the same method
CN108845916B (en) Platform monitoring and alarming method, device, equipment and computer readable storage medium
CN111666088A (en) Pod replacement method and device, electronic equipment and computer-readable storage medium
CN112231403A (en) Consistency checking method, device, equipment and storage medium for data synchronization
CN105224416B (en) Restorative procedure and related electronic device
CN114327484A (en) Multi-architecture supporting K8S integration and deployment method, system and storage medium
CN112835639B (en) Hook realization method, device, equipment, medium and product
CN103309696B (en) Method and device for updating Java card extended library, and Java card
CN107870777A (en) A kind of hot patch implementation method and device, terminal
CN109992492A (en) Log recording method, device, equipment and the readable storage medium storing program for executing of functional module
CN105224375A (en) The supervisory system of management system plug-in unit and method
CN110908644B (en) Configuration method and device of state node, computer equipment and storage medium
CN104407808A (en) Method and device for writing in data
US10761940B2 (en) Method, device and program product for reducing data recovery time of storage system
CN110968456B (en) Method and device for processing fault disk in distributed storage system
CN105763371A (en) Alarm processing method and apparatus
CN105760283A (en) Log output method and device
CN115310096A (en) Security vulnerability processing method, device, equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160106