Movatterモバイル変換


[0]ホーム

URL:


CN107465568A - A kind of monitoring method and monitoring system for terminal - Google Patents

A kind of monitoring method and monitoring system for terminal
Download PDF

Info

Publication number
CN107465568A
CN107465568ACN201710547025.7ACN201710547025ACN107465568ACN 107465568 ACN107465568 ACN 107465568ACN 201710547025 ACN201710547025 ACN 201710547025ACN 107465568 ACN107465568 ACN 107465568A
Authority
CN
China
Prior art keywords
monitored
monitoring
terminal
program
configuration information
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
CN201710547025.7A
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.)
Great Wall Computer Software & Systems Inc
Original Assignee
Great Wall Computer Software & Systems Inc
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 Great Wall Computer Software & Systems IncfiledCriticalGreat Wall Computer Software & Systems Inc
Priority to CN201710547025.7ApriorityCriticalpatent/CN107465568A/en
Publication of CN107465568ApublicationCriticalpatent/CN107465568A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The present invention relates to a kind of monitoring method and monitoring system for terminal, this method comprises the following steps:Obtain terminal to be monitored and operate in the configuration information of program to be monitored in the terminal to be monitored;The configuration information is stored in the file of preset path;The configuration information being stored in the preset path file is read by the supervisor engine program to prestore;The terminal to be monitored and the program to be monitored are monitored according to the configuration information.A kind of monitoring method and monitoring system for terminal provided by the invention, need not being customized coding exploitation, simplify development process, improve development efficiency, and when in face of different terminal to be monitored and program to be monitored, different terminals to be monitored and program to be monitored are monitored by changing the realization of configuration information can, the O&M monitoring difficulty and maintenance cost of IT system can be greatly reduced.

Description

A kind of monitoring method and monitoring system for terminal
Technical field
The present invention relates to data monitoring field, more particularly to a kind of monitoring method and monitoring system for terminal.
Background technology
At present, the monitoring for different application systems usually requires the monitoring module or subsystem that customized development is fixed respectivelySystem, developed, the monitoring data for the system that is monitored is collected, and show the fortune of each monitored system by the coding of customizationMarket condition.
Existing monitoring scheme generally has the disadvantages that:
1. the composition of existing monitoring system usually requires substantial amounts of h coding to realize, shortcoming is opening for monitoring systemThe hair cycle is long, dynamic response capability is poor.
2. for existing monitoring system generally both for the particular system of Project settings exploitation, scalability, reusability are poor,, it is necessary to be modified to monitoring system especially when monitored system changes or increased, exploitation maintenance cost is higher.
3. existing monitoring system can not generally accomplish to contact with the direct of user, user is typically only capable to log in monitoring systemThe mode of system just will appreciate that the running situation of monitored system, often relatively passive when breaking down, failure can not obtain andWhen concern and processing.
The content of the invention
The technical problems to be solved by the invention are in view of the shortcomings of the prior art, there is provided a kind of monitoring side for terminalMethod and monitoring system.
The technical scheme that the present invention solves above-mentioned technical problem is as follows:
A kind of monitoring method for terminal, comprise the following steps:
Step 1, obtain terminal to be monitored and operate in the configuration information of program to be monitored in the terminal to be monitored;
Step 2, the configuration information is stored in the file of preset path;
Step 3, the configuration being stored in the preset path file is read by the supervisor engine program to prestoreInformation;
Step 4, the terminal to be monitored and the program to be monitored are monitored according to the configuration information.
The beneficial effects of the invention are as follows:A kind of monitoring method for terminal provided by the invention, by by end to be monitoredThe configuration information of end and program to be monitored is configured as metadata, it is not necessary to being customized coding exploitation, is simplified outHair process, development efficiency is improved, and when in face of different terminal to be monitored and program to be monitored, confidence is matched somebody with somebody by changeBreath can is realized to be monitored to different terminals to be monitored and program to be monitored, can greatly reduce the O&M of IT systemMonitor difficulty and maintenance cost.
On the basis of above-mentioned technical proposal, the present invention can also do following improvement.
Further, the configuration information includes:The network information of the terminal to be monitored, and to the end to be monitoredHold the first monitoring parameter being monitored, and the monitoring method being monitored to the program to be monitored and the second monitoring ginsengNumber, and receive the user terminal information of monitored results.
Further, in step 4, specifically include:
Step 4.1, the network information, first monitoring parameter, the monitoring side are read from the configuration informationMethod and second monitoring parameter;
Step 4.2, the communication connection established according to the network information between monitoring system and the terminal to be monitored;
Step 4.3, the terminal to be monitored is monitored according to first monitoring parameter;
Step 4.4, the program to be monitored is monitored according to the monitoring method and second monitoring parameter.
Further, the monitoring method also includes:
Step 5, the user terminal information is read from the configuration information;
Step 6, according to the user terminal information, the monitored results are sent to the user terminal.
It is using the above-mentioned further beneficial effect of scheme:It is whole to user in real time by the user terminal information configuredEnd sends monitored results, can notify user monitoring situation in time, is easy to user to grasp in time and handling failure.
Further, the monitoring method also includes:
Step 7, obtain developer according to the monitored results develop for the terminal to be monitored and described treatingThe monitoring script plug-in unit that monitoring programme is monitored;
Step 8, the terminal to be monitored and the program to be monitored are monitored according to the monitoring script plug-in unit.
It is using the above-mentioned further beneficial effect of scheme:This plug-in unit is supervised by developing customized monitoring, is avoided speciallyThe developer of door carries out program coding to develop, and realizes and treats the personalized, flexible of monitor terminal and program to be monitoredMonitoring.
The another technical solution that the present invention solves above-mentioned technical problem is as follows:
A kind of monitoring system for terminal, including:
Acquiring unit, for obtaining terminal to be monitored and operate in program to be monitored in the terminal to be monitored matches somebody with somebody confidenceBreath, and the configuration information is stored in the file of preset path;
Reading unit, the institute being stored in the preset path file is read for the supervisor engine program by prestoringState configuration information;
Monitoring unit, for being supervised according to the configuration information to the terminal to be monitored and the program to be monitoredControl.
Further, the configuration information includes:The network information of the terminal to be monitored, and to the end to be monitoredHold the first monitoring parameter being monitored, and the monitoring method being monitored to the program to be monitored and the second monitoring ginsengNumber, and receive the user terminal information of monitored results.
Further, the monitoring unit is specifically used for reading the network information, described the from the configuration informationOne monitoring parameter, the monitoring method and second monitoring parameter, and monitoring system and institute are established according to the network informationThe communication connection between terminal to be monitored is stated, and the terminal to be monitored is monitored according to first monitoring parameter, andThe program to be monitored is monitored according to the monitoring method and second monitoring parameter.
Further, the monitoring system also includes communication unit;
The monitoring unit is additionally operable to read the user terminal information from the configuration information;
The communication unit is used for according to the user terminal information, and the monitored results are sent to the user terminal.
Further, the acquiring unit be additionally operable to obtain developer according to the monitored results develop for instituteState the monitoring script plug-in unit that terminal to be monitored and the program to be monitored are monitored;
The monitoring unit is additionally operable to according to the monitoring script plug-in unit to the terminal to be monitored and the journey to be monitoredSequence is monitored.
The advantages of aspect that the present invention adds, will be set forth in part in the description, and will partly become from the following descriptionObtain substantially, or recognized by present invention practice.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of monitoring method for terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart for monitoring method for terminal that another embodiment of the present invention provides;
Fig. 3 is a kind of structure chart for monitoring system for terminal that another embodiment of the present invention provides.
Embodiment
The principle and feature of the present invention are described below in conjunction with accompanying drawing, the given examples are served only to explain the present invention, andIt is non-to be used to limit the scope of the present invention.
As shown in figure 1, be a kind of schematic flow sheet of monitoring method for terminal provided in an embodiment of the present invention, the prisonProsecutor method comprises the following steps:
S101, obtain terminal to be monitored and operate in the configuration information of program to be monitored in terminal to be monitored.
It should be noted that terminal to be monitored refers to the equipment such as computer to be monitored, mobile phone, tablet personal computer, wait to superviseControl program refers to operating in application in the said equipment, software, the program such as code for performing certain function, what configuration information referred toIt is to treat during the monitoring of monitor terminal and program to be monitored, it is necessary to the information used, for example, the network of terminal to be monitoredThe information such as location, monitoring frequency, configuration here can be inputted by user according to the monitoring demand of oneself.
S102, configuration information is stored in the file of preset path.
S103, the configuration information being stored in preset path file is read by the supervisor engine program to prestore.
Supervisor engine program automatically periodically reads configuration information from the file of preset path, according to configuration informationIn data, treat monitor terminal and program to be monitored be monitored.
S104, monitor terminal is treated according to configuration information and program to be monitored is monitored.
It should be noted that above-mentioned steps are carried out all in monitoring system, a monitoring system can pass through localThe networking mode of net, while hundreds and thousands of terminals to be monitored are monitored simultaneously.
A kind of monitoring method for terminal that the present embodiment provides, pass through matching somebody with somebody terminal to be monitored and program to be monitoredConfidence breath is configured as metadata, it is not necessary to being customized coding exploitation, is simplified development process, is improved exploitation effectRate, and when in face of different terminal to be monitored and program to be monitored, realized by changing configuration information can to differenceTerminal to be monitored and program to be monitored be monitored, can greatly reduce IT system O&M monitoring difficulty and safeguard intoThis.
In another embodiment, as shown in Fig. 2 a kind of monitoring side for terminal provided for another embodiment of the present inventionThe flow chart of method, this method is described in detail below, and the monitoring method comprises the following steps:
S101, obtain terminal to be monitored and operate in the configuration information of program to be monitored in terminal to be monitored.
The parameter included below to configuration information is described in detail.Configuration information can include:Terminal to be monitoredThe network information, and the first monitoring parameter that monitor terminal is monitored is treated, and treat the prison that monitoring programme is monitoredProsecutor method and the second monitoring parameter, and receive the user terminal information of monitored results.
Wherein, the network information of terminal to be monitored can include:Hostname, ip addresses, the main frame point of terminal to be monitoredGroup information (for example, host groups title, name list of group membership etc.) etc..
Treating the first monitoring parameter that monitor terminal is monitored can include:The time range of monitoring, supervision interval, mistakeLose number of retries, unsuccessfully retry time interval, monitoring content, the time range for initiating notice, failure notification interval, notification type(for example, network is obstructed, warning, failure etc.) etc..
Treating the monitoring method that monitoring programme is monitored can include:Network is realized with call operation system ping ordersAvailability inspection, with the orders such as call operation system telnet check ftp serve port availability confirmed services it is whether normal, according toIt is whether normal etc. according to http service request state return codes inspection service.
Treating the second monitoring parameter that monitoring programme is monitored can include:The master of the corresponding terminal to be monitored of monitoringMachine name, monitoring period scope, supervision interval, failure number of retries, unsuccessfully retry time interval, monitoring content, send noticeTime range, failure notification interval, notification type (for example, network is obstructed, warning, failure etc.), service ip, port, service pointGroup information (for example, service group name, service group membership's list etc.) etc..
Receiving the user terminal information of monitored results can include:User profile is (for example, contact name, addresses of items of mailDeng), subscriber group information (for example, group of contacts title, members list etc.) etc..
S102, configuration information is stored in the file of preset path, it is, for example, possible to use the form of tables of data, is depositedStore up configuration information.
S103, the configuration information being stored in preset path file is read by the supervisor engine program to prestore.
S104, monitor terminal is treated according to configuration information and program to be monitored is monitored.Specifically, step S104 can be withIt is refined as following steps:
S1041, the network information, the first monitoring parameter, monitoring method and the second monitoring parameter are read from configuration information;
S1042, the communication connection established according to the network information between monitoring system and terminal to be monitored, treated for example, readingAfter the Hostname and IP address of monitor terminal, it is possible to set up monitoring system and end to be monitored by existing networking modeCommunication connection between end;
S1043, monitor terminal is treated according to the first monitoring parameter and is monitored, for example, reading monitoring period scope and being7*24 hours, then just to the terminal monitoring 7*24 hours to be monitored;
S1044, monitoring programme is treated according to monitoring method and the second monitoring parameter and is monitored.
S105, user terminal information is read from configuration information.
S106, according to user terminal information, monitored results are sent to user terminal, for example, read contact name andAfter addresses of items of mail, when monitoring failure, user can be notified in the method for mail, it will be understood that Notification Method here is alsoCan be the means of communication such as short message, phone, corresponding user terminal information can is also including telephone number etc..
S107, obtain developer according to monitored results develop for treating monitor terminal and program to be monitored is supervisedThe monitoring script plug-in unit of control, for example, need to only grasp decision rule of the monitoring interface for event of failure of monitored program, you canMonitoring objective is realized using simple shell scripts, it is fixed to develop to carry out program coding without special developerThe monitoring system of inhibition and generation.
S108, monitor terminal is treated according to monitoring script plug-in unit and program to be monitored is monitored, the same step of detailed processS1041~S1044, it will not be repeated here.
In another embodiment, as shown in figure 3, a kind of monitoring system for terminal provided for another embodiment of the present inventionThe structure chart of system, the monitoring system mainly include:Acquiring unit 1, reading unit 2, monitoring unit 3 and communication unit 4, below fromData flow to angle, and the monitoring system provided this implementation illustrates.
Acquiring unit 1 is used to obtain terminal to be monitored and operates in the configuration information of program to be monitored in terminal to be monitored,Configuration information includes:The network information of terminal to be monitored, and the first monitoring parameter that monitor terminal is monitored is treated, andMonitoring method and the second monitoring parameter that monitoring programme is monitored are treated, and receives the user terminal information of monitored results,And configuration information is stored in the file of preset path.
Reading unit 2 is used to read to be stored in preset path file by the supervisor engine program to prestore to match somebody with somebody confidenceBreath.
Monitoring unit 3 is used to treating monitor terminal according to configuration information and program to be monitored is monitored, it is necessary to illustrateIt is that multiple terminals to be monitored and multiple programs to be monitored can be monitored simultaneously by way of local area network building here.
Preferably, monitoring unit 3 is specifically used for reading the network information, the first monitoring parameter, monitoring side from configuration informationMethod and the second monitoring parameter, and the communication connection established according to the network information between monitoring system and terminal to be monitored, and according toFirst monitoring parameter is treated monitor terminal and is monitored, and treats monitoring programme according to monitoring method and the second monitoring parameter and carry outMonitoring.
Preferably, monitoring unit 3 is additionally operable to read user terminal information from configuration information;
Communication unit 4 is used for according to user terminal information, and monitored results are sent to user terminal.
Preferably, acquiring unit 1 be additionally operable to obtain developer according to monitored results develop for treating monitor terminalThe monitoring script plug-in unit being monitored with program to be monitored;
Monitoring unit 3 is additionally operable to treat monitor terminal according to monitoring script plug-in unit and program to be monitored is monitored.
Reader should be understood that in the description of this specification, reference term " one embodiment ", " some embodiments ", " showThe description of example ", " specific example " or " some examples " etc. mean to combine the specific features of the embodiment or example description, structure,Material or feature are contained at least one embodiment or example of the present invention.In this manual, above-mentioned term is shownThe statement of meaning property need not be directed to identical embodiment or example.Moreover, specific features, structure, material or the feature of descriptionIt can be combined in an appropriate manner in any one or more embodiments or example.In addition, in the case of not conflicting, thisThe technical staff in field can be by the different embodiments or example described in this specification and the spy of different embodiments or exampleSign is combined and combined.
It is apparent to those skilled in the art that for convenience of description and succinctly, the dress of foregoing descriptionThe specific work process with unit is put, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed throughIts mode is realized.For example, device embodiment described above is only schematical, for example, the division of unit, is onlyA kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine orPerson is desirably integrated into another system, or some features can be ignored, or does not perform.
The unit illustrated as separating component can be or may not be physically separate, be shown as unitPart can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networksOn unit.Some or all of unit therein can be selected to realize the mesh of scheme of the embodiment of the present invention according to the actual needs's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can alsoIt is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integratedUnit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or in use, canTo be stored in a terminal read/write memory medium.Based on such understanding, technical scheme is substantially in other wordsThe part to be contributed to prior art, or all or part of the technical scheme can be embodied in the form of software productCome, the terminal software product is stored in a storage medium, including some instructions are causing a station terminal equipment (can bePersonal terminal, server, or network equipment etc.) perform all or part of step of each embodiment method of the present invention.It is and precedingThe storage medium stated includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-OnlyMemory), random access memory(RAM, RandomAccessMemory), magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, it is only embodiment of the invention, but protection scope of the present invention is not limited thereto, and it is any to be familiar withThose skilled in the art the invention discloses technical scope in, various equivalent modifications or substitutions can be readily occurred in,These modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be wanted with rightThe protection domain asked is defined.

Claims (10)

CN201710547025.7A2017-07-062017-07-06A kind of monitoring method and monitoring system for terminalPendingCN107465568A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710547025.7ACN107465568A (en)2017-07-062017-07-06A kind of monitoring method and monitoring system for terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710547025.7ACN107465568A (en)2017-07-062017-07-06A kind of monitoring method and monitoring system for terminal

Publications (1)

Publication NumberPublication Date
CN107465568Atrue CN107465568A (en)2017-12-12

Family

ID=60544231

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710547025.7APendingCN107465568A (en)2017-07-062017-07-06A kind of monitoring method and monitoring system for terminal

Country Status (1)

CountryLink
CN (1)CN107465568A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108111343A (en)*2017-12-152018-06-01北京奇虎科技有限公司Method, equipment and the computer storage media of terminal monitoring are realized based on cloud platform
CN108965390A (en)*2018-06-142018-12-07深圳华龙讯达信息技术股份有限公司A kind of equipment running status monitoring method and device
WO2020000657A1 (en)*2018-06-272020-01-02平安科技(深圳)有限公司Method and apparatus for establishing operation and maintenance monitoring connection, terminal device, and medium
CN112367224A (en)*2020-11-112021-02-12全球能源互联网研究院有限公司Terminal monitoring device, system and method
CN112650656A (en)*2019-10-092021-04-13北京京东尚科信息技术有限公司Performance monitoring method, device, equipment, server and storage medium
CN112866193A (en)*2020-12-302021-05-28北京天融信网络安全技术有限公司Equipment deployment method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20110191477A1 (en)*2010-02-032011-08-04Vmware, Inc.System and Method for Automatically Optimizing Capacity Between Server Clusters
CN102567182A (en)*2010-12-272012-07-11无锡华润上华科技有限公司Monitoring method of remote hosts
CN106557395A (en)*2015-09-252017-04-05云智慧(北京)科技有限公司 Application performance monitoring management method, system and application method of the system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20110191477A1 (en)*2010-02-032011-08-04Vmware, Inc.System and Method for Automatically Optimizing Capacity Between Server Clusters
CN102567182A (en)*2010-12-272012-07-11无锡华润上华科技有限公司Monitoring method of remote hosts
CN106557395A (en)*2015-09-252017-04-05云智慧(北京)科技有限公司 Application performance monitoring management method, system and application method of the system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108111343A (en)*2017-12-152018-06-01北京奇虎科技有限公司Method, equipment and the computer storage media of terminal monitoring are realized based on cloud platform
CN108111343B (en)*2017-12-152022-03-11北京奇虎科技有限公司 Method, device and computer storage medium for realizing terminal monitoring based on cloud platform
CN108965390A (en)*2018-06-142018-12-07深圳华龙讯达信息技术股份有限公司A kind of equipment running status monitoring method and device
WO2020000657A1 (en)*2018-06-272020-01-02平安科技(深圳)有限公司Method and apparatus for establishing operation and maintenance monitoring connection, terminal device, and medium
CN112650656A (en)*2019-10-092021-04-13北京京东尚科信息技术有限公司Performance monitoring method, device, equipment, server and storage medium
CN112367224A (en)*2020-11-112021-02-12全球能源互联网研究院有限公司Terminal monitoring device, system and method
CN112866193A (en)*2020-12-302021-05-28北京天融信网络安全技术有限公司Equipment deployment method, device, equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN107465568A (en)A kind of monitoring method and monitoring system for terminal
US11469939B2 (en)Method and apparatus for providing trouble isolation via a network
CN108847989B (en) Log processing method, business service system and electronic device based on microservice architecture
CN106326219B (en)Method, device and system for checking business system data
US10855514B2 (en)Fixed line resource management
CN107508722B (en)Service monitoring method and device
CN106713487A (en)Data synchronization method and device
EP2800024A1 (en)System and methods for identifying applications in mobile networks
CN107071524A (en)Intelligent terminal management method
CN108337315B (en)Dispositions method, device, computer equipment and the storage medium of monitoring system
CN102404254A (en)Multi-network integrated intelligent home gateway device and system
CN104270417A (en) A system and method for providing comprehensive services based on cloud computing
CN113794597A (en) Alarm information processing method, system, electronic device and storage medium
CN104580140A (en)Scheduling A Service Event In A Network
CN108363653A (en)Dispositions method, device, computer equipment and the storage medium of monitoring system
CN110532096B (en)System and method for multi-node grouping parallel deployment
CN113852506A (en)Fault processing method and device, electronic equipment and storage medium
WO2017140710A1 (en)Detection of malware in communications
CN114172807A (en) A complete machine system and a firmware upgrade method for an intelligent network card
KR102341418B1 (en)System and Method for Real-Time Trouble Cause Analysis based on Network Quality Data
CN107634852B (en)The method and apparatus for supervising big data cluster
CN110245020A (en)Handset content evidence collecting method and system based on multiple evidence taking equipments
WO2016062346A1 (en)Distributed trace of network procedures for network elements in cloud deployment
CN109858637A (en)A kind of unattended carwash fault handling method, device and system
US10764237B2 (en)System and method for maintaining coherence of association across a network address change or reassignment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20171212

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp