A kind of distributed application services monitoring system and method with simulated operation function
Technical field
The present invention relates to application service function monitoring technical field, specially a kind of distribution with simulated operation function
Application service monitors system and method.
Background technique
The level-one application service system disposed on large-scale Metropolitan Area Network (MAN) or Internet is more and more common, such as power grid enterprises
95598 customer service systems, after being connected to the emergency tasks such as power failure, troublshooting, service request, 95598 customer services are special
Member can formulate task work order in application service system, and task work order is distributed to 95598 client of failure possession in systems
Server workstation services assistant director's order by 95598 customer service station client of possession and is distributed to task treatment people.It is this
The reliability and dependent request of task processor corresponding with service system are very high, for effective monitoring systematic difference feelings
Condition, first time notice computer lab management personnel or information system operation maintenance personnel after the failure occurred carry out malfunction elimination, ensure
System safe and stable operation needs to carry out using the monitoring system for having simulated operation system analog access, special in customer service
System application service failure is found before member's application system and is solved the problems, such as, avoiding the occurrence of influences visitor because work order can not distribute in time
The case where urgent electricity consumption business handling in family, occurs.
Currently used computer room and application monitoring system have some limitations, in terms of being mainly included in following two,
First is that common monitoring system is only capable of being monitored the dynamic environment of computer room, lacks and monitoring is logged in the mode of application system,
Can neither find the problem of application system can not access in time, can not quick positioning failure reason, very to malfunction elimination band
Big difficulty;Two are the absence of integrated host and distributed terminal in the monitor supervision platform of one, and common monitoring system is only able to achieve
Host monitor can not achieve the synchronization monitoring of server-side and remote work station, cause in malfunction elimination, can not combine a variety of prisons
The quick positioning failure place of measured data and content, have some limitations in use.
Summary of the invention
In view of the deficiencies of the prior art, the purpose of the present invention is to provide a kind of distributions with analog manual operation's function
Formula application service monitors system and method, the main mode for using host and distributed clients synchronization monitoring, monitoring it is interior
Hold include rotating ring data, simulation log in access whether pass through, simulate log in access successful time, simulation is inquired, network performance
Deng the difficult problem proposed in, very good solution background technique.
Technical solution of the present invention:
A kind of distributed application services monitoring system with simulated operation function, including monitoring host computer, simulated operation master
Machine, monitor terminal, data analysis host, alarm system and data backup cloud.
The simulated operation host is connected with monitoring host computer, to need the data of simulation monitoring to monitoring host computer setting
Index;
The monitor terminal is connected with monitoring host computer using distributed setting, the monitor terminal of all distributed settings
And the data of acquisition are transferred to monitoring host computer, monitor terminal and monitoring host computer and are visited using cable network and wireless private network binary channels
Ask application service system.
The data analysis host is connected to monitoring host computer, and the data that monitoring host computer acquires the monitor terminal received are sent out
Data analysis host is given to be analyzed;
The alarm system is connected with data analysis host, and alarm system is used in data analysis host in data exception
Shi Jinhang alarm;Data backup cloud is connect with data analysis host, to the data and data point for acquiring monitor terminal
The abnormal data for analysing host analysis carries out cloud storage.Data are completed by monitoring host computer between monitor terminal and data analysis host
Communication.
The simulated operation host includes analog functuion setting module, and the monitoring host computer includes monitored object search mould
Block and monitoring deployment unit, the monitor terminal include data collector and data converter, and the data analysis host includes
Data exception judgment module, data preparation analyzed pattern Reports module and abnormal data memory module.The analog functuion setting
Module is for setting monitoring data index in monitored object search module;Monitored object search module is according to analog functuion
The Standard of Monitoring value set in setting module scans for monitoring;The monitored object search module is defeated by the data value after search
Enter into monitoring deployment unit to be monitored the deployment of terminal;The data collector is used for the data monitored to monitor terminal
It is acquired, the data after acquisition, which are input in data converter, to be converted, and the data of conversion are input to Data Management Analysis
Data analysis is carried out in host, the data value after analysis, which is input in data exception judgment module, carries out abnormal judgement;The number
After being abnormal according to the judgement of abnormal judgment module combination monitoring data, it is input in data preparation analyzed pattern Reports module all the way
Carry out figure, report form processing.One circuit-switched data is stored by network transmission to abnormal data memory module, and a circuit-switched data passes through
Wireless transport module is input in alarm system, and abnormal data memory module passes through Wi-Fi in number after receiving abnormal data
Data backup is completed according to backup cloud.
The alarm system includes data reception module, single-chip microcontroller and alarm modules;Data reception module is used for rotating ring
Data, simulation log in whether access passes through, simulate and log in the data progress such as access successful time, simulation inquiry, network performance
It receives, the data value after reception can be transported in single-chip microcontroller, and single-chip microcontroller controls alarm modules operation.
The alarm modules include buzzer, warning light, phone precaution device and short message warning device, and buzzer, warning light,
Telephone alerts device and short message alarm device are connect with single-chip microcontroller.
A kind of distributed application services monitoring method with simulated operation function, comprising the following specific steps
S1. deployment facility, and monitoring host computer, simulated operation host, monitor terminal, data are analyzed into host, alarm system
And data backup cloud is communicatively coupled;
S2. customized setting is carried out to monitor control index by the analog functuion setting module of simulated operation host, wherein supervising
Control index include rotating ring data, simulation log in, analog access, network performance etc.;
S3. monitoring data is obtained by monitor terminal and data converter is passed through by data collector data acquisition
Complete data conversion;
S4. the monitoring data after conversion is transmitted to data analysis host, by data analysis host to the monitoring number of acquisition
According to being analyzed;
S5. data analysis host analysis monitor terminal and monitoring host computer data carry out comprehensive analysis, if occur rotating ring it is abnormal,
Network is obstructed, network is overtime, when application server performance exception, then issues alarm command to alarm system.
S6. after alarm system receives alarm command, (buzzer, warning light, phone, short message) etc. is more in several ways
Kind of mode is to administrator's alert;
S7. after exception information generates, data are transferred to data preparation analyzed pattern Reports module in data simultaneously and unite
Meter analysis, completes diagrammatic representation;
S8. after exception information generates, data are stored in abnormal data memory module simultaneously, complete in data backup cloud
At data backup.
In the step S2, the specific steps of simulation login and access in analog functuion setting module are as follows:
A. page login/access request is sent by Libcurl technology;
B. login/access request FromData parameter is obtained by Fiddler tool;
C. encryption rule is analyzed, the key point for logging in and accessing to system is analyzed;
D. it obtains and logs in/access successful verification information, guarantee system is normally logged in and accessed;
E. coded treatment is carried out, verification information is cured to simulated operation host.
In the step S3, specific step is as follows for the operation of simulation sign-on access:
1) monitor terminal regularly sends login/access request, simulates artificial access system operatio;
2) monitor terminal receives the data that login/access request returns;
3) parses data and judges whether there is request Success Flag;
4) if monitor terminal successful log/access business application system in step 3) returns to login/access time-consuming number
According to;
If 5) in step 3) monitor terminal fail log in/access business application system, to system return log in/
Access failure signal.
In the step S4, the decision logic of data exception judgment module is as follows:
(1) obtains monitor terminal N monitoring data, the data including multiple monitor terminals;
(2) is if it is that rotating ring is abnormal first, it is determined that whether rotating ring parameter exceeds threshold values;
(3) is secondly, judge whether monitor terminal N interrupts with the network connection of examined application service system, if being then prison
Control terminal N network and server network are obstructed, and obstructed all monitor terminals are server-side network problem, part monitor terminal network
Obstructed is monitoring client network problem.
(4) again, judge monitor terminal N and examined application service system network connection whether super threshold values, if being then
Monitor terminal N network connect time-out with server network, and all monitor terminal time-out are server-side network timeout, and part monitors eventually
End time-out is monitoring client network timeout;
(5) is finally, judge that monitor terminal N simulation is logged in, whether extremely to be accessed, if then different for application server performance
Often, when above situation does not all occur, every monitor control index is normal.
Compared with prior art, the beneficial effects of the present invention are: the present invention provides a kind of with simulated operation function
Distributed application services monitor system.Have it is following the utility model has the advantages that
(1) distributed monitoring terminal and server network connection status, network connection speed and channel performance are judged automatically;
(2) by analog access program, judge whether application system is normal;(3) access speed of application system is judged automatically, and in real time
Monitoring;(4) judge whether application system can normally access;(5) judge monitor terminal and local dynamic environment (power supply, environment,
Interchanger) whether normal operation.
The distributed application services with simulated operation function monitor system, are provided with data preparation in monitoring system
Analyzed pattern, Reports module, data preparation analyzed pattern, Reports module can be divided the abnormal data monitored in monitoring system
Figure, report form processing are analysed, checking and managing convenient for staff, alarm modules include buzzer, warning light, phone precaution device
It is abnormal accurately to be understood convenient for staff by the setting of a variety of warning devices at the first time for monitoring with short message warning device
Situation;By the setting of analog functuion setting module, facilitates staff that can carry out customized setting to monitor control index, facilitate work
Make management of the personnel to monitoring device, practical, use easy to spread.
Detailed description of the invention
Fig. 1 is present system block diagram;
Fig. 2 is system work block diagram of the invention;
Fig. 3 is alarm system working principle block diagram of the invention;
Fig. 4 is simulation sign-on access working principle diagram of the invention;
Fig. 5 is simulation sign-on access operational flowchart of the invention;
Fig. 6 is data exception judgment module working principle block diagram of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, the present invention provides a kind of technical solution:
A kind of distributed application services monitoring system with simulated operation function, including monitoring host computer 100, simulated operation
Host 200, monitor terminal 300, data analysis host 400, data backup cloud 500 and alarm system 600.
The simulated operation host 200 is connected with monitoring host computer 100, to need to simulate to the setting of monitoring host computer 100
Monitor login page and accession page parameter.;
The monitor terminal 300 is using distributed setting, including multiple monitor terminals, using wired network and Wi-Fi
Binary channels carries out data communication, and the monitor terminals 300 of all distributed settings are connected with monitoring host computer 100 and by acquisition
Data are transferred to monitoring host computer 100;
The data analysis host 400 is connected to monitoring host computer 100, the monitor terminal 300 that monitoring host computer 100 will receive
The data of acquisition are first sent to monitoring host computer, then are sent to data analysis host 400 by monitoring host computer and are analyzed;
The alarm system 600 and data backup cloud 500 are connected with data analysis host, and alarm system 500 is used for
It alarms when data analysis host 400 is in data exception,;Data backup cloud 500 is also connected with monitoring host computer 100 and data
It analyzes host 400 to connect, the abnormal data that data and data the analysis host 400 to acquire monitor terminal 300 are analyzed
Carry out cloud storage.Data communication is completed by 100 channel of monitoring host computer between monitor terminal 300 and data analysis host 400.
The simulated operation host 200 includes analog functuion setting module 1, and the monitoring host computer 100 includes monitoring pair
As search module 2 and monitoring deployment unit 3, the monitor terminal 300 includes data collector 4 and data converter 5, the number
It include that data exception judgment module 66, data preparation analyzed pattern Reports module 7 and abnormal data store mould according to analysis host 400
Block 8.The analog functuion setting module 1 is for setting monitoring data index in monitored object search module 2;Monitoring pair
As search module 2 scans for monitoring according to the Standard of Monitoring value set in analog functuion setting module 1;The monitored object is searched
Data value after search is input to the deployment that terminal 300 is monitored in monitoring deployment unit 3 by rope module 2;The data are adopted
Storage 4 is used for the data that are monitored to monitor terminal 300 and is acquired, the data after acquisition be input in data converter 5 into
Row conversion, the data of conversion are input to progress data analysis, the data value after analysis in Data Management Analysis host 400 and are input to
Abnormal judgement is carried out in data exception judgment module 6;The data exception judgment module 6 passes through all the way according to judgment value wirelessly to be passed
Defeated module 6 is input in alarm system 600, and another way, which is input in data preparation analyzed pattern Reports module 8, carries out figure, report
List processing.The data exception judges that 6 agllutination of mould closes monitoring data and judges after being abnormal, and is input to data preparation analysis all the way
Figure, report form processing are carried out in pictorial statement module 7.One circuit-switched data is carried out by network transmission to abnormal data memory module 8
Storage, a circuit-switched data are input in alarm system 600 by wireless transport module, and abnormal data memory module 6 receives exception
Data backup is completed in data backup cloud 500 by Wi-Fi after data.
Data after 5 turns of the data converter are transferred to data backup cloud 500 with mobile data network and carry out data
Backup.
The alarm system 600 includes data reception module 601, single-chip microcontroller 602 and alarm modules 603;Data reception
Block 601 is used for data transmit to data exception judgment module 6: rotating ring data, simulation log in access whether pass through, simulate and log in
It accesses the data such as successful time, simulation inquiry, network performance to be received, the data value after reception can be transported to single-chip microcontroller
In 602, single-chip microcontroller controls alarm modules 603 and runs.
The alarm modules 603 include buzzer 604, warning light 605, phone precaution device 606 and short message warning device 607,
Buzzer 604, warning light 605, telephone alerts device 606 and short message alarm device 607 are connect with single-chip microcontroller.One kind having simulation behaviour
Make the distributed application services monitoring method of function, comprising the following specific steps
S1. deployment facility, and monitoring host computer 100, simulated operation host 200, monitor terminal 300, data are analyzed into host
400, data backup cloud 500 and alarm system 600 are communicatively coupled;
S2. customized setting is carried out to monitor control index by the analog functuion setting module 1 of simulated operation host 200,
Middle monitor control index include rotating ring data, simulation log in, analog access, network performance etc.;
S3. monitoring data is obtained by monitor terminal 300, by 4 data acquisition of data collector, is turned by data
Parallel operation 5 completes data conversion;
S4. the monitoring data after conversion is transmitted to data analysis host 400, analyzes 400 pairs of host acquisitions by data
Monitoring data parameter is analyzed, and it is abnormal to judge whether monitoring host computer simulates login;
S5. data analysis host 400 analyzes monitor terminal and monitoring host computer data carry out comprehensive analysis, if it is different rotating ring occur
Often, network is obstructed, network is overtime, when application server performance exception, then issues and instruct to alarm system 600.
S6. after alarm system 600 receives alarm command, in several ways (buzzer, warning light, phone, short message)
Wait various ways to administrator's alert.
S7. after exception information generates, data are transferred to data preparation analyzed pattern Reports module 7 in data simultaneously and unite
Meter analysis, completes diagrammatic representation.
S8. after exception information generates, data are stored in abnormal data memory module 8 simultaneously, while in data backup
Complete abnormal data backup in cloud 600;
In the step S2, simulation is logged in analog functuion setting module and the flow chart of inquiry request access is detailed in attached drawing
4, the specific steps are as follows:
A. page login/access request is sent by Libcurl technology;
B. login/access request FromData parameter is obtained by Fiddler tool;
C. encryption rule is analyzed, the key point for logging in and accessing to system is analyzed;
D. it obtains and logs in/access successful verification information, guarantee system is normally logged in and accessed;
E. coded treatment is carried out, verification information is cured to simulated operation host.
In the step S3, simulation sign-on access operational flowchart is detailed in shown in attached drawing 5, the specific steps are as follows:
1) monitor terminal regularly sends login/access request, simulates artificial access system operatio;
2) monitor terminal receives the data that login/access request returns;
3) parses data and judges whether there is request Success Flag;
4) if monitor terminal successful log/access business application system in step c returns to login/access time-consuming number
According to;
If 5) in step c monitor terminal fail log in/access business application system, to system return login/visit
Ask failure signal.
In the step S4, the decision logic of data exception judgment module is detailed in shown in attached drawing 6, the specific steps are as follows:
(1) obtains monitor terminal N monitoring data, the data including multiple monitor terminals;
(2) is if it is that rotating ring is abnormal first, it is determined that whether rotating ring parameter exceeds threshold values;
(3) is secondly, judge whether monitor terminal N interrupts with the network connection of examined application service system, if being then prison
Control terminal N network and server network are obstructed, and obstructed all monitor terminals are server-side network problem, part monitor terminal network
Obstructed is monitoring client network problem.
(4) again, judge monitor terminal N and examined application service system network connection whether super threshold values, if being then
Monitor terminal N network connect time-out with server network, and all monitor terminal time-out are server-side network timeout, and part monitors eventually
End time-out is monitoring client network timeout.
(5) is finally, judge that monitor terminal N simulation is logged in, whether extremely to be accessed, if then different for application server performance
Often, when above situation does not all occur, every monitor control index is normal.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding
And modification, the scope of the present invention is defined by the appended.