CN104731580A - Automation operation and maintenance system based on Karaf and ActiveMQ and implement method thereof - Google Patents

Automation operation and maintenance system based on Karaf and ActiveMQ and implement method thereof Download PDF

Info

Publication number
CN104731580A
CN104731580A CN201510014388.5A CN201510014388A CN104731580A CN 104731580 A CN104731580 A CN 104731580A CN 201510014388 A CN201510014388 A CN 201510014388A CN 104731580 A CN104731580 A CN 104731580A
Authority
CN
China
Prior art keywords
file
plug
robotization
activemq
server
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
CN201510014388.5A
Other languages
Chinese (zh)
Other versions
CN104731580B (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.)
SHANGHAI XINJU NETWORK INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI XINJU NETWORK INFORMATION 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 SHANGHAI XINJU NETWORK INFORMATION TECHNOLOGY Co Ltd filed Critical SHANGHAI XINJU NETWORK INFORMATION TECHNOLOGY Co Ltd
Priority to CN201510014388.5A priority Critical patent/CN104731580B/en
Publication of CN104731580A publication Critical patent/CN104731580A/en
Application granted granted Critical
Publication of CN104731580B publication Critical patent/CN104731580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an automation operation and maintenance system based on Karaf and ActiveMQ and an implement method thereof. The automation operation and maintenance system comprises an application server, a monitored host, a database server and a Web server, wherein the application server is constructed through the Karaf and provides a server terminal module; the monitored host constructs a client terminal plug-in through the Karaf and obtains monitoring data; monitoring allocation information and monitored data are stored in the database server; the Web server provides a user allocation interface and a monitoring interface; the application server is connected with the monitored host through a proxy server, and calls a proxy server plug-in and the client terminal plug-in on the monitored host through the ActiveMQ so as to obtain the monitoring data. By means of the automation operation and maintenance system based on the Karaf and the ActiveMQ and the implement method of the automation operation and maintenance system, the capacity of self refreshing, heat deployment and distributed rapid function extension is achieved, automation of the daily operation and maintenance scene of a maintainer is achieved, only a small amount of script compiling is needed, and even no script compiling is needed.

Description

Based on robotization operational system and its implementation of Karaf and ActiveMQ
Technical field
The present invention relates to a kind of robotization operational system and its implementation, particularly relate to a kind of robotization operational system based on Karaf and ActiveMQ and its implementation.
Background technology
In the face of the business become increasingly complex; in the face of more and more diversified user's request; no matter the IT application of continuous expansion is that scale or quantity is not all with in the past at an order of magnitude; to depend merely on artificial O&M and cannot meet requirement in technology, business, management etc. current IT operation management pattern often allows IT department dog-tired, is mainly manifested in following two aspects:
(1) operation maintenance personnel is passive, efficiency is low
In IT O&M process, only have and could find and set about process when event has occurred and caused service impact, this passive " fire fighting " not only makes IT operation maintenance personnel be busy all day long, and also makes the quality of IT O&M own be difficult to improve, causes the service satisfaction of IT O&M not high.IT operation maintenance personnel daily most of the time and energy are some problems simply repeated of process; and due to fault pre-alarming mechanism imperfection; just can process after fault occurs often or after reporting to the police; make the work of IT operation maintenance personnel be often the state being in passive " fire fighting ", not only get half the result with twice the effort but also usually there will be pernicious chain reaction.
(2) automatic O&M technical tool is efficiently lacked
Along with going deep into of informatization; IT system is increasingly sophisticated; the numerous network equipment, server, middleware, database, operation system etc. allow operation maintenance personnel be difficult to calm reply; even if safeguard with working extra shifts or extra hours, dispose, manage the interruption that also often can cause business because equipment breaks down, have a strong impact on the normal operation of business.Occur that these problematic portion reasons lack the robotization such as event-monitoring and diagnostic tool O&M technical tool, because under the support not having efficient technical tool, be difficult to find basic reason quickly and accurately after making problem occur, be also difficult to obtain active, fast processing.
For improving the automatization level of system O&M, the O&M software of main flow provides the comparatively comprehensively function such as monitoring of tools and comparatively perfect configuration management in the market, introduces some functional characteristics of existing robotization O&M software for current internet industry popular open source software Zabbix, Puppet.
Zabbix is a solution of increasing income providing the enterprise-level of distributed system supervision and network monitoring function based on WEB interface, and zabbix server can pass through SNMP, zabbix agent, ping, the functions such as the methods such as port-monitoring provide the supervision to remote server/network state, Data Collection, it may operate in Linux, Solaris, HP-UX, AIX, Free BSD, Open BSD, on the platforms such as OS X.Zabbix installs with configuration simple, and learning cost is low; Support multilingual (comprising Chinese); Freely increase income; Automatic discovery server and the network equipment; Distributed monitoring and WEB manage function concentratedly; Can monitor without agent; User safety authentication and soft authorization; Arranged by WEB interface or check monitoring result; Informing functions such as email etc.Zabbix can monitor various network parameter, the safe operation of Deterministic service device system; And provide informing mechanism flexibly with the various problems allowing system manager's quick position/solution exist.
Puppet is a kind of centralized configuration management system of Linux, Unix, windows platform, uses own puppet descriptive language, ALARA Principle configuration file, user, cron task, software package, system service etc.Puppet is referred to as resource these system entitys, and the design object of puppet simplifies the management of these resources and the dependence dealt carefully with between resource.
Therefore there are the following problems for prior art: 1, system client self does not possess the ability of self refresh, the renewal at substantial manpower of program after disposing.2, system client does not possess hot deployment ability, needs to stop client carrying out program updates.3, systemic-function is fixed, and extended capability is weak, or Function Extension complex steps, such as, need to log in client etc.4, O&M scenarios less that support of function, mainly concentrates on the change of monitoring alarm, system configuration information, and cannot expand fast.5, the automated procedures of O&M scenarios are inadequate, need to carry out a large amount of script configurations, and efficiency is not high.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of robotization operational system based on Karaf and ActiveMQ and its implementation, possess self refresh, heat is disposed, distributed quick function extended capability, realize the robotization of the daily O&M scenarios of maintainer, and only need a small amount of even without the need to script edit.
The present invention solves the problems of the technologies described above the technical scheme adopted to be to provide a kind of robotization operational system based on Karaf and ActiveMQ, comprising:
Application server, is built by Karaf and provides server module;
Monitored main frame, builds client plug-in by Karaf and obtains monitor data;
Database server, stores monitoring configuration information and monitor data;
Web server: user's configuration interface and monitoring interface are provided;
Be connected by proxy server between described application server and monitored main frame, described proxy server builds proxy server plug-in unit by Karaf, server module on described application server is by the proxy server plug-in unit in ActiveMQ invokes proxy server, and the client plug-in that described proxy server plug-in unit is called on monitored main frame by ActiveMQ obtains monitor data.
The above-mentioned robotization operational system based on Karaf and ActiveMQ, wherein, the client plug-in on described monitored main frame comprises monitoring alarm plug-in unit, robotization O&M feature card and infrastructure service feature card.
The present invention also provides a kind of above-mentioned robotization operational system implementation method based on Karaf and ActiveMQ for solving the problems of the technologies described above, and comprises the steps: a) to build monitoring alarm module, operation management module and access configuration module by Karaf on the application server; B) on monitored main frame, monitoring alarm plug-in unit, robotization O&M feature card and infrastructure service feature card is built by Karaf; C) user interface that monitoring alarm process interface, robotization operation management function interface and access configure is provided on Web server; D) described proxy server calls client plug-in by ActiveMQ and obtains monitor data, and timing sends obtained monitor data to application server realizing robotization O&M and monitoring.
The above-mentioned robotization operational system implementation method based on Karaf and ActiveMQ, wherein, monitoring alarm plug-in unit on described monitored main frame adopts Agent, SNMP, IPMI, JDBC, JMX and/or SSH mode provides storage, network, main frame, database, middleware, the monitoring of Web testing and alarm, robotization O&M feature card on described monitored main frame comprises remote command plug-in unit, file issues plug-in unit, file captures plug-in unit, catalogue captures plug-in unit and configuration change plug-in unit, described infrastructure service feature card comprises message status plug-in unit, Container Management plug-in unit and heat dispose plug-in unit.
The above-mentioned robotization operational system implementation method based on Karaf and ActiveMQ, wherein, on described application server, operation management module comprises that robotization is patrolled and examined, fault diagnosis, remote command, file issue/capture, robotization is restarted and robotization deployment module.
The above-mentioned robotization operational system implementation method based on Karaf and ActiveMQ, wherein, it is as follows that described file issues process: S11: the user interface on Web server is sent in the ActiveMQ of application server end by needing the file issued; S12: the file of described application server end issues plug-in unit and listened to file and need to issue, and is issued to by file in the ActiveMQ of proxy server; S13: the client file on described monitored main frame issues the message that corresponding queue that plug-in unit detects the ActiveMQ of proxy server has self, then receive this message; S14: the ActiveMQ that all corresponding message can be sent it back application server end in each stage received by base insert message status plug-in unit, and be written to database server; User interface on S15:Web server reads message status, and feedback issues result to user.
The above-mentioned robotization operational system implementation method based on Karaf and ActiveMQ, wherein, described file captures process and comprises file crawl service end flow process, the section of agency flow process and client flow process three parts;
It is as follows that described file captures service end flow process: S21: described application server end file captures plug-in unit monitoring service device end MQ message; S22: after listening to message, feedback " preparation download file " state is to database server, and in Web user operation interface display download state; S23: start download file, receives document flow, and the feedback of status that " will receive file " is to database server; S24: finish receiving, " will finish receiving " feedback of status to database server; S25: the temporary file received is deleted by described application server end;
It is as follows that described file captures agent side flow process: S31: described proxy server end file captures plug-in unit monitoring service device end MQ message; S32: after listening to message, feedback " preparation download file " state is to database server, and in Web user operation interface display download state; S33: start download file, receives document flow, and the feedback of status that " will receive file " is to database server; S34: finish receiving, " will finish receiving " feedback of status to database server; S35: the temporary file received is deleted by described proxy server end;
It is as follows that described file captures client flow process: S41: the parameter that file captures by described Web user operation interface is forwarded in the MQ of proxy server by MQ; S42: the client plug-in on described monitored main frame listens to the task that the queue of proxy server has file to capture, receipt message; S43: judge whether file stores, and does not exist, stops gathering; S44: if file exist, then newly-built, delete or amendment task scheduling; S45: if capture configuration file, judge whether configuration file changes, change does not then capture, and change then captures configuration file; If journal file then returns by crawl log file.
The above-mentioned robotization operational system implementation method based on Karaf and ActiveMQ, wherein, described robotization is patrolled and examined provides day to patrol and examine to storage, network, main frame, database, middleware and application software, week patrols and examines, the moon patrols and examines and/or season patrols and examines report.
The above-mentioned robotization operational system implementation method based on Karaf and ActiveMQ, wherein, described robotization is restarted to be provided periodically, regularly, manual mode restarts database, middleware, main frame, and to compare verification and state verification to data afterwards before restarting.
The above-mentioned robotization operational system implementation method based on Karaf and ActiveMQ, wherein, described access configuration feature adopts go-ahead mode to provide the monitoring of Agent to access, and provides batch or single monitoring access way simultaneously.
The present invention contrasts prior art following beneficial effect: the robotization operational system based on Karaf and ActiveMQ provided by the invention and its implementation, the distributed robotization O&M software that one possesses heat deployment, self refresh, strong extended capability is built with Karaf, ActiveMQ is utilized to make robotization O&M software possess the ability of distributed deployment, the daily O&M scenarios of combing, provides support the feature card realizing daily O&M robotization.
Accompanying drawing explanation
Fig. 1 is the robotization operational system network connection diagram that the present invention is based on Karaf and ActiveMQ;
Fig. 2 is the robotization operational system configuration diagram that the present invention is based on Karaf and ActiveMQ;
Fig. 3 is the robotization operational system realization flow schematic diagram that the present invention is based on Karaf and ActiveMQ;
Fig. 4 is the client plug-in dynamic-configuration schematic diagram on the monitored main frame of robotization operational system of the present invention;
Fig. 5 is that the file of robotization operational system of the present invention issues schematic flow sheet;
Fig. 6 is that the file of robotization operational system of the present invention captures service end schematic flow sheet;
Fig. 7 is that the file of robotization operational system of the present invention captures agent side schematic flow sheet;
Fig. 8 is that the file of robotization operational system of the present invention captures client schematic flow sheet.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
Fig. 1 is the robotization operational system network connection diagram that the present invention is based on Karaf and ActiveMQ.
Refer to Fig. 1, the robotization operational system based on Karaf and ActiveMQ provided by the invention, comprising:
Application server, is built by Karaf and provides server module;
Monitored main frame, builds client plug-in by Karaf and obtains monitor data;
Database server, stores monitoring configuration information and monitor data;
Web server: user's configuration interface and monitoring interface are provided;
Be connected by proxy server between described application server and monitored main frame, described proxy server builds proxy server plug-in unit by Karaf, server module on described application server is by the proxy server plug-in unit in ActiveMQ invokes proxy server, and the client plug-in that described proxy server plug-in unit is called on monitored main frame by ActiveMQ obtains monitor data.
The Karaf that the present invention uses is the running environment based on OSGi, and OSGi (Open Service GatewayInitiative) technology is the dynamic modeling system towards Java.OSGi service platform provides service to Java, and these services make Java become the first-selected environment of Integrated Simulation and software development.Java is provided in the portability that product supported by multiple platform.OSGi technology provides and allows application program to use refining, the reusable and standardization primitive of component construction that can cooperate.
OSGi is a standard, and it is devoted to be supplied to Java project modular BOTTOM LAYER ENVIRONMENT, and a series of general service (Service).Compare with common JVM program, the program of OSGi innately has the feature of dynamic module, different modules (being referred to as Bundle in OSGi) has independently life cycle, independently can carry out the operation of installing, starting, stopping, unloading, the dependence management of intermodule is also provided by OSGi.Can find out, OSGi is applicable to the project that needs carry out Plugin management very much, and a typical successful case is exactly Eclipse and its numerous Plugin.OSGi standard also specification a series of we normal between operation, daily record, configuration file, event queue, Web exploitation, JPA & JDBC etc., the framework that major part disposes OSGi standard both provides these services, such one side specification structure of our codes, has saved the time of our exploitation on the one hand.
Karaf is an open source projects under Apache; Karaf is also the running environment based on OSGi simultaneously, and Karaf provides the OSGi container of a lightweight, may be used for disposing various assembly, application program.Karaf provides a lot of characteristic for helping developer and user application deployment more flexibly, such as: heat is disposed, dynamic-configuration, several log processing system, local system is integrated, expansion control desk able to programme, ssh remote access, built-in installation authentication mechanism etc.Simultaneously Karaf as a maturation and outstanding OSGi running environment and container by container based on many Apache projects, such as: Apache Geronimo, ApacheServiceMix, FuseESB, Karaf is in performance as can be seen here, and function and stability are all good selections.
Apache Felix is an OSGi framework under Apache, project itself is very ripe, has been used in other project a lot, such as Apache Servicemix.The service that itself provides also is the most complete, almost covers the standard of whole OSGi 4.2.In addition some off-gauge function, such as iPOJO are additionally provided.Framework itself closely, only needs 3 Bao Jiayi shell just can run, and is that exploitation or Debug are very easy.
Apache Felix Karaf itself is a sub-project of Felix, but he encapsulates the Runtime that Felix provides higher level, a large amount of utilities built-in under default situations.
Karaf is intended in conjunction with the outstanding OSGi function of Equinox or Felix two frameworks, and ensures its out-of-the-box.Such as, the remote access that it contains a configurable log system (based on Log4J, but packing for numerous general log system), realized by SSH, to be supported by the configuration of ConfigAdmin (source code is arranged in etc catalogue) and built-in JAAS.Moreover, Karaf there is also mounted the MVN agreement of Pax URL, so just can be installed bundle from Maven central repository (automatically can be packaged as bundle in the case of necessary).
In addition, Karaf also proposed the concept of characteristic, and so-called characteristic is exactly the set of bundle, can be installed to when running OSGi runs central with the form of group.Characteristic contains the support to obr, jetty and spring, has accomplished out-of-the-box.Like this, if need to install multiple bundle, but runtime dependence strict between these bundle, so this support just can simplify this situation greatly.
ActiveMQ is that Apache produces, most popular, what ability was powerful increase income messaging bus.ActiveMQ is one and supports that the JMS Provider of JMS1.1 and J2EE 1.4 specification realizes completely, although it has been thing for a long time that JMS specification is put into effect, JMS still plays special status in the middle of current J2EE applies.Principal feature is as follows: (1) multilingual and agreement write client.Language: Java, C, C++, C#, Ruby, Perl, Python, PHP.Application protocol: OpenWire, Stomp REST, WS Notification, XMPP, AMQP; (2) JMS1.1 and J2EE 1.4 specification (persistence, XA message, affairs) is supported completely; (3) to the support of Spring, ActiveMQ can be easy to be embedded into use inside the system of Spring and go, and supports the characteristic of Spring2.0; (4) have passed common J2EE server (as Geronimo, JBoss 4, GlassFish, WebLogic) test, wherein by the configuration of JCA 1.5 resource adaptors, ActiveMQ can be allowed can be deployed in any compatible J2EE 1.4 commerce server automatically; (5) multiple transportation protocol is supported: in-VM, TCP, SSL, NIO, UDP, JGroups, JXTA; (6) support to provide message duration at a high speed by JDBC and journal; (7) ensure that high performance cluster, client-server from design, point-to-point; (8) Ajax is supported; (9) integration with Axis is supported; (10) can be easy to call embedded JMS provider, test.
Therefore, robotization operational system framework provided by the invention adopts server+proxy server+ad hoc mode to dispose, have and support distributed monitoring ability, support the monitor mode of agency, not because local problem affects whole system, possess powerful ability extending transversely, deployment can be carried out fast and promote.Described system comprises user interface, monitoring alarm module, operation management module, assets management module and access configuration module.And operation management module comprises automation functions such as robotization is patrolled and examined, fault diagnosis, remote command, file issue/capture, robotization is restarted, robotization deployment, can greatly improve work efficiency and the O&M standardization of operation maintenance personnel.
Robotization operation platform provided by the invention comprises user interface, monitoring alarm module, operation management module, assets management module and access configuration module, as shown in Figure 2.
Described user interface comprise homepage, monitoring alarm process interface, robotization operation management function interface, asset management interface and access configuration user interface.
Described monitoring alarm module provides storage, network, main frame, database, middleware, the monitoring of web testing and alarm.Support the monitor modes such as Agent, SNMP, IPMI, JDBC, JMX, SSH, support the mode alarm notification modes such as abundant warning strategies and note, sound, mail.
Described operation management module comprises the automation functions such as robotization is patrolled and examined, fault diagnosis, remote command, file issue/capture, robotization is restarted, robotization deployment.
Described robotization is patrolled and examined can be provided patrolling and examining the day of storage, network, main frame, database, middleware, application software, week patrols and examines, the moon patrols and examines, season patrol and examine report.Fault diagnosis functions can provide the fault diagnosis for application software aggregated structure rank.By remote command function to database, middleware, main frame fill order row, SHELL and sql command.
Described file issues/handling module function provides functipnal capability to file, possess file issued, cover, replace, the ability such as part replacement, increment crawl, full dose crawl.
Described robotization restart function support periodically, regularly, manual mode restarts database, middleware, main frame, is supported in the comparing verification before and after restarting and state verification.
The management of administration of described robotization deployment support sector template, deployment scheme and deployment statistical function.Adopt the function that go-ahead mode realizes automatic deployment or manually disposes.
Described assets management module comprises the assets information management of storage, network, main frame, database, middleware, application, supports baseline comparison and changes alarm function.
Described access configuration feature adopts go-ahead mode to provide the monitoring of Agent to access, and provides batch, single monitoring access way simultaneously.
Fig. 3 is the robotization operational system realization flow schematic diagram that the present invention is based on Karaf and ActiveMQ.
Please continue see Fig. 3, the present invention also provides a kind of robotization operational system implementation method based on Karaf and ActiveMQ, wherein, comprises the steps:
Step S1: build monitoring alarm module, operation management module and access configuration module by Karaf on the application server;
Step S2: build monitoring alarm plug-in unit, robotization O&M feature card and infrastructure service feature card by Karaf on monitored main frame;
Step S3: the user interface that monitoring alarm process interface, robotization operation management function interface and access configure is provided on Web server;
Step S4: described proxy server calls client plug-in by ActiveMQ and obtains monitor data, and timing sends obtained monitor data to application server realizing robotization O&M and monitoring.
Robotization operational system based on Karaf and ActiveMQ provided by the invention, the client plug-in on described monitored main frame comprises monitoring alarm plug-in unit, robotization O&M feature card and infrastructure service feature card.Client plug-in realizes based on Karaf, and the plug-in unit simultaneously having opened hot renewal makes client possess the ability of heat deployment, client plug-in can dynamically be added, as shown in Figure 4.Monitoring alarm plug-in unit comprises Linux, Solaris, AIX, HP-UX, Windows, Oracle, DB2, Informix, SQL Server, Mysql, Weblogic, Websphere, IIS, Tomcat, Apache, VMWare, Hyper V, HDS storage, SUN stores, IBM stores 20 and monitors plug-in unit greatly, relates to operating system, middleware, database, storage, cloud resource etc.
Robotization O&M feature card comprises: remote command plug-in unit, file issue plug-in unit, file captures plug-in unit, catalogue captures plug-in unit, configuration change plug-in unit etc.
Infrastructure service feature card comprises: plug-in unit etc. disposed by message status plug-in unit, Container Management plug-in unit, heat.
The alarm of IT infrastructure conduct monitoring at all levels can be realized by the combination of above-mentioned plug-in unit, the robotization of daily maintenance work can be realized, as robotization patrol and examine, file issues, file captures, perform remote command, robotization is restarted, robotization deployment, robotization defence, fault diagnosis functions, data base optimization subsidiary function etc.
Issue for file below and capture illustrative system and realize the common method of work of robotization O&M, principle and flow process.It is relatively simple that file issues flow process, and file crawl is divided into file to capture service end flow process, the section of agency flow process and client flow process three parts.
Fig. 5 is that the file of robotization operational system of the present invention issues schematic flow sheet.
Please continue see Fig. 5, it is as follows that the file of robotization operational system of the present invention issues process:
S11: the user interface on Web server is sent in the ActiveMQ of application server end by needing the file issued;
S12: the file of described application server end issues plug-in unit and listened to file and need to issue, and is issued to by file in the ActiveMQ of proxy server;
S13: the client file on described monitored main frame issues the message that corresponding queue that plug-in unit detects the ActiveMQ of proxy server has self, then receive this message;
S14: the ActiveMQ that all corresponding message can be sent it back application server end in each stage received by base insert message status plug-in unit, and be written to database server;
User interface on S15:Web server reads message status, and feedback issues result to user.
Robotization operational system implementation method of the present invention, described file captures process and comprises file crawl service end flow process, the section of agency flow process and client flow process three parts;
Described file captures service end flow process as shown in Figure 6, comprises following process:
S21: described application server end file captures plug-in unit monitoring service device end MQ message;
S22: after listening to message, feedback " preparation download file " state is to database server, and in Web user operation interface display download state;
S23: start download file, receives document flow, and the feedback of status that " will receive file " is to database server;
S24: finish receiving, " will finish receiving " feedback of status to database server;
S25: the temporary file received is deleted by described application server end.
Described file captures agent side flow process as shown in Figure 7, comprises following process:
S31: described proxy server end file captures plug-in unit monitoring service device end MQ message;
S32: after listening to message, feedback " preparation download file " state is to database server, and in Web user operation interface display download state;
S33: start download file, receives document flow, and the feedback of status that " will receive file " is to database server;
S34: finish receiving, for preventing network traffics excessive, is saved in secondary agent by file, " will finish receiving " feedback of status to database server;
S35: the temporary file received is deleted by described proxy server end;
S36: if agent side is company of province (can arrange), then by files passe to server end.
Described file captures client flow process as shown in Figure 8, comprises following process:
S41: the parameter that file captures by described Web user operation interface is forwarded in the MQ of proxy server by MQ;
S42: the client plug-in on described monitored main frame listens to the task that the queue of proxy server has file to capture, receipt message;
S43: judge whether file stores, and does not exist, stops gathering;
S44: if file exist, then newly-built, delete or amendment task scheduling;
S45: if capture configuration file, judge whether configuration file changes, change does not then capture, and change then captures configuration file; If journal file then returns by crawl log file.
Although the present invention discloses as above with preferred embodiment; so itself and be not used to limit the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; when doing a little amendment and perfect, therefore protection scope of the present invention is when being as the criterion of defining with claims.

Claims (10)

1., based on a robotization operational system of Karaf and ActiveMQ, it is characterized in that, comprising:
Application server, is built by Karaf and provides server module;
Monitored main frame, builds client plug-in by Karaf and obtains monitor data;
Database server, stores monitoring configuration information and monitor data;
Web server: user's configuration interface and monitoring interface are provided;
Be connected by proxy server between described application server and monitored main frame, described proxy server builds proxy server plug-in unit by Karaf, server module on described application server is by the proxy server plug-in unit in ActiveMQ invokes proxy server, and the client plug-in that described proxy server plug-in unit is called on monitored main frame by ActiveMQ obtains monitor data.
2., as claimed in claim 1 based on the robotization operational system of Karaf and ActiveMQ, it is characterized in that, the client plug-in on described monitored main frame comprises monitoring alarm plug-in unit, robotization O&M feature card and infrastructure service feature card.
3., based on a robotization operational system implementation method of Karaf and ActiveMQ, adopt robotization operational system as claimed in claim 1, it is characterized in that, comprise the steps:
A) monitoring alarm module, operation management module and access configuration module is built by Karaf on the application server;
B) on monitored main frame, monitoring alarm plug-in unit, robotization O&M feature card and infrastructure service feature card is built by Karaf;
C) user interface that monitoring alarm process interface, robotization operation management function interface and access configure is provided on Web server;
D) described proxy server calls client plug-in by ActiveMQ and obtains monitor data, and timing sends obtained monitor data to application server realizing robotization O&M and monitoring.
4. as claimed in claim 3 based on the robotization operational system implementation method of Karaf and ActiveMQ, it is characterized in that, monitoring alarm plug-in unit on described monitored main frame adopts Agent, SNMP, IPMI, JDBC, JMX and/or SSH mode provides storage, network, main frame, database, middleware, the monitoring of Web testing and alarm, robotization O&M feature card on described monitored main frame comprises remote command plug-in unit, file issues plug-in unit, file captures plug-in unit, catalogue captures plug-in unit and configuration change plug-in unit, described infrastructure service feature card comprises message status plug-in unit, Container Management plug-in unit and heat dispose plug-in unit.
5. as claimed in claim 4 based on the robotization operational system implementation method of Karaf and ActiveMQ, it is characterized in that, on described application server, operation management module comprises that robotization is patrolled and examined, fault diagnosis, remote command, file issue/capture, robotization is restarted and robotization deployment module.
6., as claimed in claim 5 based on the robotization operational system implementation method of Karaf and ActiveMQ, it is characterized in that, it is as follows that described file issues process:
S11: the user interface on Web server is sent in the ActiveMQ of application server end by needing the file issued;
S12: the file of described application server end issues plug-in unit and listened to file and need to issue, and is issued to by file in the ActiveMQ of proxy server;
S13: the client file on described monitored main frame issues the message that corresponding queue that plug-in unit detects the ActiveMQ of proxy server has self, then receive this message;
S14: the ActiveMQ that all corresponding message can be sent it back application server end in each stage received by base insert message status plug-in unit, and be written to database server;
User interface on S15:Web server reads message status, and feedback issues result to user.
7. as claimed in claim 5 based on the robotization operational system implementation method of Karaf and ActiveMQ, it is characterized in that, described file captures process and comprises file crawl service end flow process, the section of agency flow process and client flow process three parts;
It is as follows that described file captures service end flow process:
S21: described application server end file captures plug-in unit monitoring service device end MQ message;
S22: after listening to message, feedback " preparation download file " state is to database server, and in Web user operation interface display download state;
S23: start download file, receives document flow, and the feedback of status that " will receive file " is to database server;
S24: finish receiving, " will finish receiving " feedback of status to database server;
S25: the temporary file received is deleted by described application server end;
It is as follows that described file captures agent side flow process:
S31: described proxy server end file captures plug-in unit monitoring service device end MQ message;
S32: after listening to message, feedback " preparation download file " state is to database server, and in Web user operation interface display download state;
S33: start download file, receives document flow, and the feedback of status that " will receive file " is to database server;
S34: finish receiving, " will finish receiving " feedback of status to database server;
S35: the temporary file received is deleted by described proxy server end;
It is as follows that described file captures client flow process:
S41: the parameter that file captures by described Web user operation interface is forwarded in the MQ of proxy server by MQ;
S42: the client plug-in on described monitored main frame listens to the task that the queue of proxy server has file to capture, receipt message;
S43: judge whether file stores, and does not exist, stops gathering;
S44: if file exist, then newly-built, delete or amendment task scheduling;
S45: if capture configuration file, judge whether configuration file changes, change does not then capture, and change then captures configuration file; If journal file then returns by crawl log file.
8. as claimed in claim 4 based on the robotization operational system implementation method of Karaf and ActiveMQ, it is characterized in that, described robotization is patrolled and examined provides day to patrol and examine to storage, network, main frame, database, middleware and application software, week patrols and examines, the moon patrols and examines and/or season patrols and examines report.
9. as claimed in claim 4 based on the robotization operational system implementation method of Karaf and ActiveMQ, it is characterized in that, described robotization is restarted to be provided periodically, regularly, manual mode restarts database, middleware, main frame, and to compare verification and state verification to data afterwards before restarting.
10. as claimed in claim 3 based on the robotization operational system implementation method of Karaf and ActiveMQ, it is characterized in that, described access configuration feature adopts go-ahead mode to provide the monitoring of Agent to access, and provides batch or single monitoring access way simultaneously.
CN201510014388.5A 2015-01-12 2015-01-12 Automation operational system and its implementation based on Karaf and ActiveMQ Active CN104731580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510014388.5A CN104731580B (en) 2015-01-12 2015-01-12 Automation operational system and its implementation based on Karaf and ActiveMQ

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510014388.5A CN104731580B (en) 2015-01-12 2015-01-12 Automation operational system and its implementation based on Karaf and ActiveMQ

Publications (2)

Publication Number Publication Date
CN104731580A true CN104731580A (en) 2015-06-24
CN104731580B CN104731580B (en) 2018-02-06

Family

ID=53455498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510014388.5A Active CN104731580B (en) 2015-01-12 2015-01-12 Automation operational system and its implementation based on Karaf and ActiveMQ

Country Status (1)

Country Link
CN (1) CN104731580B (en)

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245371A (en) * 2015-10-12 2016-01-13 浪潮软件集团有限公司 Automatic deployment system and method based on ansable
CN105391583A (en) * 2015-11-30 2016-03-09 上海斐讯数据通信技术有限公司 Configuration method for remote authentication dial-in user server, system and electronic device
CN105785973A (en) * 2016-03-31 2016-07-20 苏州绿豆豆软件科技有限公司 Self-maintenance control system
CN105843725A (en) * 2016-03-17 2016-08-10 广州杰赛科技股份有限公司 Monitoring method and device of IaaS platform
CN106713281A (en) * 2016-11-30 2017-05-24 国网北京市电力公司 Monitoring system
CN106888256A (en) * 2017-02-21 2017-06-23 广州神马移动信息科技有限公司 Distributed monitoring system and its monitoring and dispatching method and device
CN106951357A (en) * 2017-05-10 2017-07-14 焦点科技股份有限公司 A kind of server end application issue monitoring method and device based on finger daemon
CN106959924A (en) * 2017-04-14 2017-07-18 上海新炬网络技术有限公司 A kind of one-touch Physical Examination System of oracle database based on oracheck
CN106990987A (en) * 2017-04-05 2017-07-28 上海新炬网络信息技术有限公司 Plug-in unit based on karaf_agent ends/Service Component automatic managing device and method
CN106992903A (en) * 2017-03-30 2017-07-28 国网福建省电力有限公司 A kind of data collecting system and method based on the network equipment
CN107145570A (en) * 2017-05-05 2017-09-08 上海携程商务有限公司 The method and system of server are safeguarded based on database service framework
CN107239380A (en) * 2017-05-10 2017-10-10 杭州铭师堂教育科技发展有限公司 A kind of message queue monitoring method based on zabbix
CN107291595A (en) * 2017-07-06 2017-10-24 成都睿胜科技有限公司 Distribution application system method for managing and monitoring
CN107395651A (en) * 2017-09-07 2017-11-24 赛尔网络有限公司 Service system and information processing method
CN107483245A (en) * 2017-08-14 2017-12-15 上海新炬网络信息技术股份有限公司 It is a kind of that realization device is actively gathered based on karaf_agent
CN107682201A (en) * 2017-10-26 2018-02-09 苏州市伏泰信息科技股份有限公司 Environmental sanitation platform O&M monitoring system
CN108599988A (en) * 2018-03-20 2018-09-28 徐州独角兽信息科技有限公司 A kind of automation operation platform
CN108810124A (en) * 2018-06-02 2018-11-13 上海清鹤科技股份有限公司 The remote access control system of a large amount of multimedia terminals under a kind of environment to public network
CN108989396A (en) * 2018-06-26 2018-12-11 成都晶博电气科技有限公司 A kind of supervisory layers, monitoring system and monitoring system control method
WO2019071926A1 (en) * 2017-10-10 2019-04-18 武汉斗鱼网络科技有限公司 Method for automatically monitoring database services, storage medium, electronic device and system
CN109840103A (en) * 2017-11-27 2019-06-04 西门子(中国)有限公司 Update method, device and the storage medium of Application Container
CN109901887A (en) * 2019-01-24 2019-06-18 平安科技(深圳)有限公司 Plug-in unit model dispositions method, electronic device and computer readable storage medium
CN110109686A (en) * 2019-04-25 2019-08-09 中电科嘉兴新型智慧城市科技发展有限公司 It is a kind of that O&M method and system is applied based on Container Management engine
CN110275729A (en) * 2018-03-14 2019-09-24 上海圣一信息技术有限公司 A kind of application delivery system and method
CN110290185A (en) * 2019-06-10 2019-09-27 广东工业大学 A kind of internet of things equipment integrated system and its application method based on Agent
CN110460476A (en) * 2019-08-23 2019-11-15 福建广电网络集团股份有限公司 A kind of network O&M management method
CN110673858A (en) * 2019-08-30 2020-01-10 四川新网银行股份有限公司 Lightweight deployment method based on ssh secret-free login protocol
CN110825395A (en) * 2019-10-23 2020-02-21 中冶赛迪重庆信息技术有限公司 Multi-plug-in layered deployment system, device and medium
CN111193602A (en) * 2018-11-15 2020-05-22 顺丰科技有限公司 Automatic operation and maintenance management system and method
CN111245915A (en) * 2020-01-06 2020-06-05 南京鼎震信息技术有限公司 Compatible portable remote monitoring system and monitoring method thereof
CN111275845A (en) * 2020-02-21 2020-06-12 中国科学院声学研究所东海研究站 Intelligent inspection method, system and storage medium
CN112835591A (en) * 2021-02-19 2021-05-25 南京莱斯网信技术研究院有限公司 Operation and maintenance configuration management method and system supporting cross-language and cross-platform
CN112948117A (en) * 2021-03-05 2021-06-11 多彩贵州印象网络传媒股份有限公司 Intelligent management system and control method based on telecommunication-level data security
CN113542409A (en) * 2021-07-14 2021-10-22 中国—东盟信息港股份有限公司 Management system and processing method for instances of RocktMQ message queues
CN115426281A (en) * 2022-07-22 2022-12-02 中银金融科技有限公司 Application state monitoring method and device, electronic equipment and storage medium
CN116450464A (en) * 2023-06-13 2023-07-18 浙江睿数云联科技有限公司 Operation and maintenance management method, system and equipment
CN116647434A (en) * 2023-07-24 2023-08-25 国网瑞嘉(天津)智能机器人有限公司 Operation and maintenance service deployment method and device and operation and maintenance system
CN116974857A (en) * 2023-09-21 2023-10-31 中国西安卫星测控中心 Automatic deployment and update method and system for monitoring agent
CN117742783A (en) * 2024-02-19 2024-03-22 成都九洲电子信息系统股份有限公司 Cross-language automatic log data recording method for software system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847116A (en) * 2010-05-05 2010-09-29 中兴通讯股份有限公司 Monitoring system based on J2EE framework and method
CN101854269A (en) * 2010-04-06 2010-10-06 珠海市鸿瑞信息技术有限公司 Information safety operation and maintenance supervising platform of electric power secondary system
CN102739802A (en) * 2012-07-06 2012-10-17 广东电网公司汕头供电局 Service application-oriented IT contralized operation and maintenance analyzing system
CN103001806A (en) * 2012-12-18 2013-03-27 北京华胜天成科技股份有限公司 Distributed operation and maintenance monitoring system used for information technology (IT) system
US20130297973A1 (en) * 2012-05-04 2013-11-07 Aegis.Net, Inc. Automated Conformance and Interoperability Test Lab

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854269A (en) * 2010-04-06 2010-10-06 珠海市鸿瑞信息技术有限公司 Information safety operation and maintenance supervising platform of electric power secondary system
CN101847116A (en) * 2010-05-05 2010-09-29 中兴通讯股份有限公司 Monitoring system based on J2EE framework and method
US20130297973A1 (en) * 2012-05-04 2013-11-07 Aegis.Net, Inc. Automated Conformance and Interoperability Test Lab
CN102739802A (en) * 2012-07-06 2012-10-17 广东电网公司汕头供电局 Service application-oriented IT contralized operation and maintenance analyzing system
CN103001806A (en) * 2012-12-18 2013-03-27 北京华胜天成科技股份有限公司 Distributed operation and maintenance monitoring system used for information technology (IT) system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
匿名: "使用OSGI+MQ的方式解决集中化运维问题", 《OSCHINA网站》 *

Cited By (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245371A (en) * 2015-10-12 2016-01-13 浪潮软件集团有限公司 Automatic deployment system and method based on ansable
CN105391583A (en) * 2015-11-30 2016-03-09 上海斐讯数据通信技术有限公司 Configuration method for remote authentication dial-in user server, system and electronic device
CN105843725A (en) * 2016-03-17 2016-08-10 广州杰赛科技股份有限公司 Monitoring method and device of IaaS platform
CN105785973A (en) * 2016-03-31 2016-07-20 苏州绿豆豆软件科技有限公司 Self-maintenance control system
CN105785973B (en) * 2016-03-31 2018-07-27 苏州绿豆豆软件科技有限公司 One kind is from maintenance control system
CN106713281A (en) * 2016-11-30 2017-05-24 国网北京市电力公司 Monitoring system
CN106888256A (en) * 2017-02-21 2017-06-23 广州神马移动信息科技有限公司 Distributed monitoring system and its monitoring and dispatching method and device
CN106992903A (en) * 2017-03-30 2017-07-28 国网福建省电力有限公司 A kind of data collecting system and method based on the network equipment
CN106992903B (en) * 2017-03-30 2020-07-10 国网福建省电力有限公司 Data acquisition system and method based on network equipment
CN106990987A (en) * 2017-04-05 2017-07-28 上海新炬网络信息技术有限公司 Plug-in unit based on karaf_agent ends/Service Component automatic managing device and method
CN106959924A (en) * 2017-04-14 2017-07-18 上海新炬网络技术有限公司 A kind of one-touch Physical Examination System of oracle database based on oracheck
CN107145570A (en) * 2017-05-05 2017-09-08 上海携程商务有限公司 The method and system of server are safeguarded based on database service framework
CN107145570B (en) * 2017-05-05 2020-09-22 上海携程商务有限公司 Method and system for maintaining server based on database service architecture
CN107239380A (en) * 2017-05-10 2017-10-10 杭州铭师堂教育科技发展有限公司 A kind of message queue monitoring method based on zabbix
CN106951357A (en) * 2017-05-10 2017-07-14 焦点科技股份有限公司 A kind of server end application issue monitoring method and device based on finger daemon
CN106951357B (en) * 2017-05-10 2018-06-15 焦点科技股份有限公司 A kind of server end application publication monitoring method and device based on finger daemon
CN107291595A (en) * 2017-07-06 2017-10-24 成都睿胜科技有限公司 Distribution application system method for managing and monitoring
CN107483245A (en) * 2017-08-14 2017-12-15 上海新炬网络信息技术股份有限公司 It is a kind of that realization device is actively gathered based on karaf_agent
CN107395651A (en) * 2017-09-07 2017-11-24 赛尔网络有限公司 Service system and information processing method
WO2019071926A1 (en) * 2017-10-10 2019-04-18 武汉斗鱼网络科技有限公司 Method for automatically monitoring database services, storage medium, electronic device and system
CN107682201A (en) * 2017-10-26 2018-02-09 苏州市伏泰信息科技股份有限公司 Environmental sanitation platform O&M monitoring system
CN109840103A (en) * 2017-11-27 2019-06-04 西门子(中国)有限公司 Update method, device and the storage medium of Application Container
CN110275729A (en) * 2018-03-14 2019-09-24 上海圣一信息技术有限公司 A kind of application delivery system and method
CN108599988A (en) * 2018-03-20 2018-09-28 徐州独角兽信息科技有限公司 A kind of automation operation platform
CN108810124A (en) * 2018-06-02 2018-11-13 上海清鹤科技股份有限公司 The remote access control system of a large amount of multimedia terminals under a kind of environment to public network
CN108810124B (en) * 2018-06-02 2020-07-31 北京清鹤科技有限公司 Remote access control system for large number of multimedia terminals in public network environment
CN108989396A (en) * 2018-06-26 2018-12-11 成都晶博电气科技有限公司 A kind of supervisory layers, monitoring system and monitoring system control method
CN111193602A (en) * 2018-11-15 2020-05-22 顺丰科技有限公司 Automatic operation and maintenance management system and method
CN109901887A (en) * 2019-01-24 2019-06-18 平安科技(深圳)有限公司 Plug-in unit model dispositions method, electronic device and computer readable storage medium
CN110109686A (en) * 2019-04-25 2019-08-09 中电科嘉兴新型智慧城市科技发展有限公司 It is a kind of that O&M method and system is applied based on Container Management engine
CN110109686B (en) * 2019-04-25 2023-03-24 中电科嘉兴新型智慧城市科技发展有限公司 Application operation and maintenance method and system based on container management engine
CN110290185B (en) * 2019-06-10 2022-03-25 广东工业大学 Internet of things equipment integration system based on Agent and application method thereof
CN110290185A (en) * 2019-06-10 2019-09-27 广东工业大学 A kind of internet of things equipment integrated system and its application method based on Agent
CN110460476A (en) * 2019-08-23 2019-11-15 福建广电网络集团股份有限公司 A kind of network O&M management method
CN110673858B (en) * 2019-08-30 2023-04-11 四川新网银行股份有限公司 Lightweight deployment method based on ssh password-free login protocol
CN110673858A (en) * 2019-08-30 2020-01-10 四川新网银行股份有限公司 Lightweight deployment method based on ssh secret-free login protocol
CN110825395A (en) * 2019-10-23 2020-02-21 中冶赛迪重庆信息技术有限公司 Multi-plug-in layered deployment system, device and medium
CN111245915A (en) * 2020-01-06 2020-06-05 南京鼎震信息技术有限公司 Compatible portable remote monitoring system and monitoring method thereof
CN111275845A (en) * 2020-02-21 2020-06-12 中国科学院声学研究所东海研究站 Intelligent inspection method, system and storage medium
CN112835591B (en) * 2021-02-19 2023-07-28 南京莱斯网信技术研究院有限公司 Operation and maintenance configuration management method and system supporting cross-language and cross-platform
CN112835591A (en) * 2021-02-19 2021-05-25 南京莱斯网信技术研究院有限公司 Operation and maintenance configuration management method and system supporting cross-language and cross-platform
CN112948117A (en) * 2021-03-05 2021-06-11 多彩贵州印象网络传媒股份有限公司 Intelligent management system and control method based on telecommunication-level data security
CN113542409A (en) * 2021-07-14 2021-10-22 中国—东盟信息港股份有限公司 Management system and processing method for instances of RocktMQ message queues
CN115426281A (en) * 2022-07-22 2022-12-02 中银金融科技有限公司 Application state monitoring method and device, electronic equipment and storage medium
CN116450464A (en) * 2023-06-13 2023-07-18 浙江睿数云联科技有限公司 Operation and maintenance management method, system and equipment
CN116450464B (en) * 2023-06-13 2023-08-25 浙江睿数云联科技有限公司 Operation and maintenance management method, system and equipment
CN116647434A (en) * 2023-07-24 2023-08-25 国网瑞嘉(天津)智能机器人有限公司 Operation and maintenance service deployment method and device and operation and maintenance system
CN116647434B (en) * 2023-07-24 2023-10-20 国网瑞嘉(天津)智能机器人有限公司 Operation and maintenance service deployment method and device and operation and maintenance system
CN116974857A (en) * 2023-09-21 2023-10-31 中国西安卫星测控中心 Automatic deployment and update method and system for monitoring agent
CN116974857B (en) * 2023-09-21 2024-01-23 中国西安卫星测控中心 Automatic deployment and update method and system for monitoring agent
CN117742783A (en) * 2024-02-19 2024-03-22 成都九洲电子信息系统股份有限公司 Cross-language automatic log data recording method for software system

Also Published As

Publication number Publication date
CN104731580B (en) 2018-02-06

Similar Documents

Publication Publication Date Title
CN104731580A (en) Automation operation and maintenance system based on Karaf and ActiveMQ and implement method thereof
CN109714192B (en) Monitoring method and system for monitoring cloud platform
CN109857613B (en) Automatic operation and maintenance system based on collection cluster
CN102880503B (en) Data analysis system and data analysis method
CN109495308B (en) Automatic operation and maintenance system based on management information system
US10735522B1 (en) System and method for operation management and monitoring of bots
CN101707399B (en) Method and system for acquiring electric energy information
CN111552556B (en) GPU cluster service management system and method
CN104021078B (en) Software supervision device and method
CN105653425B (en) Monitoring system based on complex event processing engine
CN107483245A (en) It is a kind of that realization device is actively gathered based on karaf_agent
CN102652410A (en) Cloud computing monitoring and management system
CN104022902A (en) Method and system of monitoring server cluster
CN109660426B (en) Monitoring method and system, computer readable medium and electronic device
CN114356499A (en) Kubernetes cluster alarm root cause analysis method and device
CN115812298A (en) Block chain management of supply failure
CN107943665A (en) A kind of system host monitoring method and device
CN113434323A (en) Task flow control method of data center station and related device
KR100496958B1 (en) System hindrance integration management method
CN109324892B (en) Distributed management method, distributed management system and device
CN114422386B (en) Monitoring method and device for micro-service gateway
CN112882892B (en) Data processing method and device, electronic equipment and storage medium
CN113824801B (en) Intelligent integration terminal unified access management component system
CN113672452A (en) Method and system for monitoring operation of data acquisition task
CN115543491A (en) Microservice processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 201701 room 1, zone 113, zone 1, building 588, No. 7548, Lane R, outer Pine Road, Qingpu District, Shanghai

Applicant after: Shanghai new torch network information technology Limited by Share Ltd

Address before: 200063 Shanghai, Zhongshan North Road, No. 2000, building, building No. 3, B

Applicant before: SHANGHAI XINJU NETWORK INFORMATION TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant