CN106657212B - Self-service terminal state monitoring method and system - Google Patents
Self-service terminal state monitoring method and system Download PDFInfo
- Publication number
- CN106657212B CN106657212B CN201610812178.5A CN201610812178A CN106657212B CN 106657212 B CN106657212 B CN 106657212B CN 201610812178 A CN201610812178 A CN 201610812178A CN 106657212 B CN106657212 B CN 106657212B
- Authority
- CN
- China
- Prior art keywords
- monitoring
- state
- server
- atm
- monitoring agent
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F19/00—Complete banking systems; Coded card-freed arrangements adapted for dispensing or receiving monies or the like and posting such transactions to existing accounts, e.g. automatic teller machines
- G07F19/20—Automatic teller machines [ATMs]
- G07F19/209—Monitoring, auditing or diagnose of functioning of ATMs
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Signal Processing (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a self-service terminal state monitoring method and system, and relates to the technical field of equipment monitoring. The method comprises the following steps: detecting whether a monitoring server is in a busy state, if so, establishing a second-level monitoring agent, and assigning part of ATM to the second-level monitoring agent for direct monitoring so that the assigned ATM sends a subsequent state message to the second-level monitoring agent; and the secondary monitoring agent judges the received state message, and forwards the state message representing the abnormal state or the changed state message to the monitoring server for processing. The invention dynamically establishes the second-level monitoring agent, and sends the ATM monitoring task to the second-level monitoring agent for hosting and monitoring, thereby improving the performance of the monitoring server, realizing the dynamic capacity expansion of the monitoring server and avoiding the performance bottleneck of the monitoring server.
Description
Technical Field
The invention belongs to the technical field of equipment monitoring, and particularly relates to a self-service terminal state monitoring method and system.
Background
In the financial industry, it is extremely important to monitor self-service terminal (ATM), and this can let managers monitor self-service terminal's operating condition in real time, and discovery equipment trouble problem can in time be restoreed, and resources such as bank note and beat printing paper can in time be supplied to the problem such as discovery few paper money, are favorable to improving self-service terminal's turn-on rate, security, reliability and maintenance efficiency.
The self-service terminal monitoring method in the prior art comprises the following steps: software of the self-service terminal sends state messages of running states of various hardware devices and application software and residual situations of resources (banknotes, printing paper and the like) to the monitoring server at regular time (generally 2-5 minutes), and the state messages received by the monitoring server are main basis for judging the running states of the self-service device and determining whether the machine needs to be maintained. In addition, in order to ensure the safety of the self-service terminal, the monitoring server is not allowed to actively extract the message of the self-service terminal, but only passively receive the message, and meanwhile, in order to reduce the influence of the monitoring system on the transaction as much as possible, the self-service system does not send the state message to the monitoring server during the transaction.
In the self-service terminal monitoring technology in the prior art, generally, a provincial branch unit needs to monitor all ATMs in a unified way, and as many as tens of thousands of ATM in a provincial branch of a large bank, and in a few cases, the ATM can also transmit transaction messages to a monitoring server, the pressure of the monitoring server is large, the phenomenon of discarding ATM state packets can occur under many conditions, so that the monitoring of the ATM state is not accurate, especially a windows system which is connected with more than 5 thousands of monitoring servers, because the queue length of the received state packets is limited, the overhead of processing the messages by opening up threads is small, the phenomenon of inaccurate monitoring caused by packet loss is more prominent, and even system breakdown can occur occasionally. Especially, many ATM monitoring servers and remote upgrading servers are deployed on the same hardware platform, because the monitoring system can provide terminal monitoring information for the remote upgrading system to assist in terminal upgrading. When an ATM terminal program needs to be upgraded, the impact on a monitoring system is large, and the current ATM monitoring technology faces the impact, except for a mode of discarding a state packet which sacrifices monitoring precision, the problem that a server is busy is solved, self-regulation cannot be achieved, and self-adaptive monitoring regulation capability is not provided.
The above problems are urgently needed to be solved.
Disclosure of Invention
Aiming at the defects that the phenomenon of inaccurate monitoring caused by packet loss is very prominent and sometimes even system crash occurs in the prior art, the method and the system solve the problems that a server is busy, the system cannot be adjusted by itself and does not have self-adaptive monitoring and adjusting capacity by sacrificing monitoring precision.
The invention provides a self-service terminal state monitoring method, which comprises the following steps:
detecting whether a monitoring server is in a busy state, if so, establishing a second-level monitoring agent, and assigning part of ATM to the second-level monitoring agent for direct monitoring so that the assigned ATM sends a subsequent state message to the second-level monitoring agent;
and the secondary monitoring agent judges the received state message, and forwards the state message representing the abnormal state or the changed state message to the monitoring server for processing.
Preferably, the detecting whether the monitoring server is busy or not, if yes, establishing a secondary monitoring agent, and after the designated part of the ATM is handed to the secondary monitoring agent for direct monitoring, further comprising:
and when the monitoring server is detected to be in an idle state, the secondary monitoring agent is cancelled, and the ATM monitored by the secondary monitoring agent is returned to the monitoring server.
Preferably, the method for determining whether the monitoring server is in a busy state specifically includes:
acquiring four indexes of the monitoring server in a busy state: the number of monitored online ATMs, the length of a monitoring message queue, the receiving and processing rate of the monitoring message and system performance parameters;
and when the value of one index reaches a first preset value or the weighted sum of a plurality of indexes reaches a second preset value, judging that the monitoring server is in a busy state.
Preferably, the establishing of the second monitoring agent designates a part of the ATMs to be handed over to the second monitoring agent for direct monitoring, so that the designated ATM sends the subsequent status message to the second monitoring agent specifically includes:
appointing a terminal as the secondary monitoring agent;
grouping a number of ATMs having the same or similar characteristics into an ATM group;
and informing all ATMs in the ATM group to send the state message to the secondary monitoring agent.
Preferably, the judging, by the secondary monitoring agent, of the received status packet, and forwarding the status packet representing that the status packet is in an abnormal state or the status packet that changes to the monitoring server for processing further includes:
and if the secondary monitoring agent does not send any state message to the monitoring server within the preset time, the monitoring server cancels the secondary monitoring agent and directly monitors all the ATMs originally monitored by the secondary monitoring agent.
The invention also provides a self-service terminal state monitoring system, which comprises a monitoring server for monitoring ATM state messages, an ATM for sending the state messages to the monitoring server, a secondary monitoring agent for replacing the monitoring server to receive the state messages, and a decision system for judging whether the secondary monitoring agent replaces the monitoring server to work, wherein the decision system comprises:
the detection module is used for detecting whether the monitoring server is in a busy state or not, if so, a second-level monitoring agent is established, and a designated part of ATM is handed to the second-level monitoring agent for direct monitoring so that the designated ATM sends a subsequent state message to the second-level monitoring agent;
and the judging module is used for controlling the secondary monitoring agent to judge the received state message and forwarding the state message representing the abnormal state or the changed state message to the monitoring server for processing.
Preferably, the decision system further comprises:
and the cancellation module is used for canceling the secondary monitoring agent and returning the ATM monitored by the secondary monitoring agent to the monitoring server when the monitoring server is detected to be in an idle state.
Preferably, the detection module includes:
an obtaining unit, configured to obtain four indexes that the monitoring server is in a busy state: the number of monitored online ATMs, the length of a monitoring message queue, the receiving and processing rate of the monitoring message and system performance parameters;
and the judging unit is used for judging that the monitoring server is in a busy state when the value of one of the indexes reaches a first preset value or the weighted sum of a plurality of indexes reaches a second preset value.
Preferably, the detection module further comprises:
the appointing unit is used for appointing a terminal as the secondary monitoring agent;
a composing unit for composing a certain number of ATMs having the same or similar characteristics into an ATM group;
and the notification unit is used for notifying all ATMs in the ATM group to send the state message to the secondary monitoring agent.
Preferably, the decision system further comprises:
and the message sending monitoring module is used for canceling the secondary monitoring agent and directly monitoring all the originally monitored ATMs of the secondary monitoring agent if the secondary monitoring agent does not send any state message to the monitoring server within the preset time.
Has the advantages that: according to the invention, when the monitoring server is detected to be too busy and the system performance is reduced, the second-level monitoring agent is dynamically established, a certain amount of ATM monitoring tasks are delivered to the second-level monitoring agent for hosting and monitoring, the performance of the monitoring server is improved, the dynamic capacity expansion of the monitoring server is realized, the performance bottleneck of the server caused by the increase of the number of online ATM terminals is avoided, the server can be prevented from processing a large amount of normal state data, only a few fault state data need to be processed, the monitoring pressure of the monitoring server is greatly reduced, the monitoring accuracy of the ATM terminals at the busy time period of the monitoring server is improved, the second-level monitoring agent can be dynamically established and cancelled, the monitoring of self-service equipment is more flexible and effective, the resource allocation of the server is optimized to the greatest extent, and the overall monitoring effect is improved.
Drawings
Fig. 1 is a flowchart illustrating a specific implementation of a self-service terminal status monitoring method according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific implementation of a self-service terminal status monitoring method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a specific implementation of a self-service terminal status monitoring method according to a fourth embodiment of the present invention;
fig. 4 is a flowchart of a specific implementation of a self-service terminal status monitoring method according to a fifth embodiment of the present invention;
fig. 5 is a schematic block diagram of a self-service terminal status monitoring system according to a sixth embodiment of the present invention;
fig. 6 is a schematic block diagram of a self-service terminal status monitoring system according to a seventh embodiment of the present invention;
fig. 7 is a schematic block diagram of a self-service terminal status monitoring system provided in a tenth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a flowchart of a specific implementation of a self-service terminal status monitoring system method according to an embodiment of the present invention. Referring to fig. 1, a method for monitoring a status of a self-service terminal according to a first embodiment of the present invention may include the following steps:
s100, detecting whether a monitoring server is in a busy state, if so, establishing a secondary monitoring agent, and assigning part of ATMs to the secondary monitoring agent for direct monitoring so that the assigned ATMs send subsequent state messages to the secondary monitoring agent;
specifically, after the second monitoring agent is established, the second monitoring agent monitors the designated ATM. When the monitoring server is busy, the number of connected ATMs is too many, the processing pressure of the status messages is high, and the monitoring messages may be lost or even the monitoring server goes down under the condition that the monitoring message processing queue is full of load. Under the condition, a secondary monitoring agent is established, so that the working pressure of the monitoring server is relieved, the monitoring accuracy is improved, and the monitoring message is prevented from being lost. Wherein the types of self-service devices include: inquiry machine, deposit machine, single-taking machine and circulating machine.
The implementation process of establishing the second-level monitoring agent comprises the following steps:
a) and evaluating the working state of the monitoring server, and establishing a scheme of a secondary monitoring agent when the working pressure of the monitoring server is too high.
The number of ATMs established in connection with the monitoring server, i.e., the number of on-line ATMs, is acquired because the amount of status messages processed by the ATM is large when the number of on-line ATMs exceeds a certain value. This is the evaluation factor one.
Acquiring the length of a monitoring message queue, and when the number of messages in the monitoring message queue reaches a certain value (such as 3/4 queue) of the length of the message queue, or the message queue reaches a full load state, or the message queue continuously increases and reaches a certain value within a period of time. This is the evaluation factor two.
When the memory occupancy rate and the CPU utilization rate of the monitoring server averagely reach preset values (such as 75%) within a certain time, the monitoring server is considered to be in a busy state. This is the evaluation factor three.
And when the average speed of analyzing and processing the monitoring message by the monitoring server is lower than a preset value, acquiring the average speed of analyzing and processing the monitoring message by the monitoring server. This is the evaluation factor four.
One or more of the four factors are comprehensively considered, when the value obtained by weighted average calculation exceeds a preset value, the working pressure of the monitoring server is considered to be too high, and a secondary monitoring agent is required to be established to relieve the pressure of the monitoring server.
b) The monitoring server divides the monitored ATMs, divides a certain number of ATMs or ATMs with similar characteristics into a group, and assigns a secondary monitoring agent to directly monitor.
The monitored ATMs are divided, for example, the ATMs in a network segment or the ATMs with the same gateway are divided into a group, and the size of each group is within a preset value range, such as (100, 500). The number of the divided ATM groups is determined according to the working pressure of the monitoring server, and the determining method comprises the following steps:
because the size of the data volume transmitted to the monitoring server by the secondary monitoring agent can be determined according to the occurrence probability of the fault ATM, because the probability of the fault of the ATM in actual operation is x% (the value is generally between 2% and 15% in actual operation), if the secondary monitoring agent only transmits the state message of the modified state to the monitoring server, the data in normal operation adopts a default mode, and therefore, for n ATMs directly monitored by the secondary monitoring agent, the state message volume transmitted to the monitoring server is as follows: data is a × n × x% × v × left, where a >1 is a weighted value, v message sending rate, and the average length of the left message, which is also the amount of status messages that the monitoring server needs to process.
If no secondary part server exists, the n ATMs are directly composed of data which is n × v × Lenth and is far larger than data which is a × n × x% v × Lenth, so that the working pressure of the monitoring server can be greatly reduced by adopting the secondary monitoring agent, the data processing amount of the monitoring server is reduced, and the phenomenon that the monitoring message of the monitoring server is lost is relieved.
c) The monitoring server selects a machine with high operation reliability, high software and hardware configuration and high network bandwidth configuration as a secondary monitoring agent, preferably a gateway of the divided ATM group.
d) The monitoring server authorizes the second-level monitoring agent to be responsible for monitoring the ATMs of the ATM group divided by the second-level monitoring agent, and informs the ATMs to send the state messages to the second-level monitoring agent instead of directly sending the state messages to the monitoring server, so that the establishment of a second-level system of the monitoring system is completed.
e) The ATMs in the ATM group periodically send the device status data to the secondary monitoring agent.
f) The second-level monitoring agent analyzes the equipment state in the ATM group, the ATM state in a normal state is not required to be sent to the monitoring server, but only the information of ATM in a fault state, other abnormal states, or ATM in an off-line state which is classified to be managed by the ATM group is sent to the monitoring server at regular time, and at the moment, the second-level monitoring agent filters most of ATM data in the normal state, so that the data processing amount of the monitoring server is greatly reduced, and the working pressure of the monitoring server is reduced.
S200, the secondary monitoring agent judges the received state message, and forwards the state message representing the abnormal state or the changed state message to the monitoring server for processing.
Specifically, when the ATM state data received by the secondary monitoring agent is in an abnormal state or an off-line state, the ATM state is sent to the monitoring server in real time; when the state of the ATM state data received by the secondary monitoring agent is changed compared with the state received last time, the ATM state is instantly sent to the monitoring server when the state is changed from the online state to the offline state or from the offline state to the online state. The following state message content of the ATM which is characterized in the abnormal state comprises: when an ATM goes off-line, or is stopped, or is out of service, or is on-line, or is recovered to a normal state, or is converted to a fault state, or is converted from a sufficient resource state to a low resource state.
And further, the subsequent state message which represents that the designated ATM is in the normal state is not forwarded. The method adopts the mode of sending the message with the changed state, because the ATM state is not changed instantaneously, but each state lasts for a long time, the message representing the change of the ATM state can be sent to the monitoring server, and the message representing the unchanged ATM state does not need to be forwarded to the monitoring server, thereby greatly reducing the message transmission quantity. If the state change of each ATM occurs every 3 hours, each ATM sends a state message to the monitoring server every 4 minutes, then 45 state messages need to be sent in 3 hours, and only one message needs to be sent in every 3 hours, then the message transmission quantity of the monitoring server is reduced to 1/45 after the second-level monitoring agent is monitored, and the number of messages is greatly reduced.
In the embodiment, the monitoring server is busy and overweight through detection, when the system performance is reduced, a second-level monitoring agent is dynamically established, a certain amount of ATM monitoring tasks are delivered to the second-level monitoring agent for hosting and monitoring, the performance of the monitoring server is improved, dynamic capacity expansion of the monitoring server is realized, the performance bottleneck of the server caused by the increase of the number of online ATM terminals is avoided, the server can be prevented from processing a large amount of normal state data, only a very small amount of fault state data needs to be processed, the monitoring pressure of the monitoring server is greatly reduced, the monitoring accuracy of the ATM terminals in busy time periods of the monitoring server is improved, the second-level monitoring agent can be dynamically established and cancelled, the monitoring of self-service equipment is more flexible and effective, the resource allocation of the server is optimized to the greatest extent, and the overall monitoring effect is.
Fig. 2 is a flowchart of a specific implementation of the self-service terminal status monitoring system method according to the second embodiment of the present invention. Referring to fig. 2, in this embodiment, the detecting whether the monitoring server is in a busy state, if so, establishing a secondary monitoring agent, and after a designated part of the ATM is handed to the secondary monitoring agent for direct monitoring, further including:
s300, when the monitoring server is detected to be in an idle state, the secondary monitoring agent is cancelled, and the ATM monitored by the secondary monitoring agent is returned to the monitoring server.
Specifically, when the monitoring server is detected to be in an idle state, sending information to all ATMs directly monitored by the secondary monitoring agent, modifying server configuration information, informing all ATMs of directly sending status messages to the monitoring server, and receiving direct monitoring of the monitoring server. The monitoring server establishes network contact with all ATMs according to all the ATM information addresses in the ATM group monitored by the secondary monitoring server; after establishing network connection between each ATM and the monitoring server, the ATM directly sends the state information of the equipment to the monitoring server at preset time intervals according to the agreed protocol and rules.
The method provided by the embodiment can effectively utilize network resources, and the original monitoring work is recovered when the monitoring server is in an idle state, so that the working efficiency is improved.
The invention also provides an embodiment III, and the method for judging whether the monitoring server is in a busy state specifically comprises the following steps:
acquiring four indexes of the monitoring server in a busy state: the number of monitored online ATMs, the length of a monitoring message queue, the receiving and processing rate of the monitoring message and system performance parameters;
and when the value of one index reaches a first preset value or the weighted sum of a plurality of indexes reaches a second preset value, judging that the monitoring server is in a busy state.
Specifically, acquiring the monitored online ATM number includes: the monitored online ATM number refers to the number of ATM terminals which are directly connected with the monitoring server and transmit messages to the monitoring server at regular time, and if the number of online ATMs connected with the monitoring server reaches a certain value, if the number of online ATMs connected with the monitoring server exceeds 1500 online ATM terminals, and if the number of online ATMs in the windows system exceeds 4000 online ATM terminals, a bottleneck occurs when the monitoring server receives the messages. If the number of online ATMs connected with the monitoring server is larger, each ATM can send a state message to the monitoring server at regular time, the monitoring server is busy, the working pressure is higher, and otherwise, the monitoring server is idle.
The acquisition of the monitoring message queue in the length of the monitoring message queue refers to that a message receiving module of a monitoring server puts each ATM message transmitted by a network into the monitoring message queue so that a message processing module can perform unpacking analysis processing. The length of the monitoring message queue is limited to a certain extent, if the speed of processing the message by the message processing module is lower than the speed of receiving the message by the message receiving module, the length of the queue in the monitoring message queue is longer and longer, and once the queue is full, the phenomenon of packet loss is caused, so that the monitoring accuracy is seriously influenced. If the message processing queue is long, it indicates that the monitoring server is busy and many messages in the queue cannot be processed in time, otherwise, if the queue length is short, it indicates that the monitoring server is idle and the messages are processed in time as soon as the messages are received. If the monitoring queue can be used for placing 1024 messages, the number of the messages in the ordinary queue cannot exceed 100, and if the number of the messages in the queue exceeds 300 at a certain time, the server is busy.
The acquiring of the receiving and processing rate of the monitoring message comprises the following steps: the monitoring message receiving and processing rate refers to an average speed of the monitoring server processing a message after receiving the message, that is, an average time of the monitoring server processing a message after receiving the message, and the larger the average time value is, the lower the processing speed is, which indicates that the monitoring server is busy, otherwise, the monitoring server is idle.
The acquiring of the system performance parameters comprises: the system performance parameters refer to the memory occupancy rate and the CPU utilization rate of the monitoring server, wherein the larger the memory occupancy rate is, the more busy the monitoring server is, and the higher the CPU utilization rate is, the more busy the monitoring server is.
In the embodiment, one or more of the four indexes are considered comprehensively, and when the value of one index reaches a certain preset value or the weighted sum of the indexes reaches a certain preset value, the monitoring server is considered to reach a busy standard preset by the system, a secondary monitoring agent needs to be established to relieve the pressure of the monitoring server, and the working state of the monitoring server can be judged effectively.
Fig. 3 is a flowchart of a specific implementation of a self-service terminal status monitoring system method according to a fourth embodiment of the present invention. Referring to fig. 3, establishing a secondary monitoring agent, and assigning part of ATMs to the secondary monitoring agent for direct monitoring, so that the assigning of the ATMs to send subsequent status messages to the secondary monitoring agent specifically includes:
s101, a terminal is designated as the secondary monitoring agent;
specifically, the selected secondary monitoring agent may be a standby monitoring server that has deployed corresponding software and hardware devices, has installed a corresponding monitoring server program, has software and hardware conditions serving as a monitoring server function, and may be a network node machine or even an ATM. The remote automatic installation program of the monitoring system can also be used for realizing the installation and configuration of the monitoring server on a machine which is not provided with a corresponding monitoring server program when a standby monitoring server of corresponding software and hardware equipment is not arranged, and the deployment function of the monitoring server can be automatically and intelligently realized by the monitoring system, for example, the automatic installation and configuration of the card-entering server can be realized by a remote upgrading program.
And as the condition of the secondary monitoring agent, the hardware environment of the machine selected as the secondary monitoring agent should meet the minimum requirement of the monitoring system on the hardware configuration of the server. Preferably, the machine selected as the secondary monitoring agent should have as low a failure rate and power failure probability as possible, requiring stable operation.
S102, forming a certain number of ATMs with the same or similar characteristics into an ATM group;
specifically, the ATMs with the same or similar characteristics include that the ATMs belong to the same gateway control, a secondary monitoring agent can be conveniently established, the gateway is set as the secondary monitoring agent, the workload of changing the network configuration of the ATMs is reduced, or the ATMs have the characteristic of high stable operation due to low historical failure rate. If the ATM with low failure rate is in a normal operation state and the resources are sufficient, a large amount of messages representing normal operation of the ATM terminal can not be transmitted to the monitoring server, and only a small amount of ATM state messages representing fault of the ATM or lacking of the resources can be transmitted to the monitoring server, so that the data volume transmitted to the monitoring server network by the secondary monitoring agent is greatly reduced. On the contrary, if an ATM group is established for all the ATM terminals having a fault to be monitored by the secondary monitoring agent, the secondary monitoring agent still needs to transmit a message indicating the ATM fault to the monitoring server, which is not helpful to reduce the network transmission amount of the monitoring server. So the primary consideration is to construct a group of ATMs with low historical failure rate, running normally and sufficient resources for monitoring by the microcomputer monitoring proxy server).
S103, informing all ATMs in the ATM group to send the state message to the secondary monitoring agent.
Specifically, the method is realized by informing all ATM terminals in the ATM group by the monitoring server, changing the IP value of the monitoring server, automatically setting the IP of the server when the ATM terminal receives the new IP value of the server, and sending a state message to the server with the new IP value from the later time. The method can also be realized by the secondary monitoring agent notifying the ATM terminals according to the IP of the ATM terminals in the ATM group obtained from the monitoring server, wherein the IP value of the monitoring server is changed, when the ATM terminal receives the new IP value of the server, the IP of the server is automatically set, and the state message is sent to the server with the new IP value from the later time.
In the embodiment, the second-level monitoring agent is appointed in advance, so that the monitoring task which is temporarily assigned by the monitoring server can be responded in time.
Fig. 4 is a flowchart of a specific implementation of the self-service terminal status monitoring system method according to the fifth embodiment of the present invention. Referring to fig. 4, the step of judging the received status packet by the secondary monitoring agent, and forwarding the status packet representing the abnormal status or the changed status packet to the monitoring server for processing further includes:
s400, if the secondary monitoring agent does not send any state message to the monitoring server within the preset time, the monitoring server cancels the secondary monitoring agent and directly monitors all the ATMs originally monitored by the secondary monitoring agent.
Specifically, when the monitoring server does not receive any message from the secondary monitoring agent within a specified time, the secondary monitoring agent is considered to be abnormal and cannot perform the monitoring task any more, and the secondary monitoring agent is cancelled to directly monitor the ATMs, or the secondary monitoring agent is reset and the ATMs are handed to the machine for monitoring.
Further, when the data of the received second-level monitoring agent is detected to be overtime, and the second-level monitoring agent is judged to be offline, once the second-level monitoring agent has abnormal conditions such as system breakdown, network interruption and the like, when the ratio of the speed of the message sent to the monitoring server by the second-level monitoring agent to the total number of ATMs monitored by the second-level monitoring agent is often greater than a certain preset value in a long period, the decision of canceling the second-level monitoring agent is made, so that the monitoring server can adjust the monitoring strategy in time, determine whether to adopt a direct monitoring mode or not, and reselect a new proper machine to establish a new monitoring mode of second-level monitoring. The mode makes the monitoring agent no longer have a fixed monitoring mode, and if the two-building monitoring server is abnormal or is suddenly powered off, the two-building monitoring server will have a great influence on all the ATMs monitored by the two-building monitoring server. Meanwhile, the self-service equipment is monitored by the secondary server, the server processes the states of the self-service terminals, and the monitoring is accurate, reliable and timely. Under the condition that network and monitoring server resources allow, the self-service terminal monitoring accuracy and timeliness are the best choice, and only when the monitoring server performance sharply drops and is difficult to meet the needs of numerous ATM monitoring, performance bottlenecks occur, secondary monitoring is considered, so that the monitoring server reduces monitoring burden, reduces data processing amount of the monitoring server, and improves the number of monitored self-service terminals.
Meanwhile, the monitoring server can determine whether the monitored ATM is directly monitored by the monitoring server or monitored by other secondary monitoring agents according to the monitoring work requirement of the server and the management requirement of the ATM or the importance degree of the monitored ATM, and stops or quits the operation of the original secondary monitoring agent.
Still further, a time transmission policy of the status message is agreed between the ATM and the monitoring server. The agreed strategy includes, but is not limited to, the following time transmission strategies, and the state message transmission method for setting different interval durations for ATMs with different monitoring requirements:
the ATM with the service bottleneck characteristic of the network point of only one machine has high importance, the influence of the fault is large, the monitoring requirement is higher, the accurate monitoring is needed, the message sending time interval is required not to be too long, and the monitoring server is best to directly monitor;
the monitoring of the in-line ATM which is positioned at a bank branch with a plurality of ATMs is not a service bottleneck, compared with the off-line single self-service branch, the problem is easier to find, the fault can be eliminated in time, the monitoring accuracy and the machine service importance degree can be lower, so the message sending time interval is required to be slightly longer, and the monitoring can also be carried out by a secondary monitoring agent;
setting state message time sending strategies with different interval durations for ATMs with different historical failure rates, wherein the ATM message sending time interval with low historical failure rate is longer than that of ATMs with high historical failure rate;
an ATM that enters steady operation may have a longer time interval than a fault multicurrent period where maintenance is frequent.
When the monitoring server monitors and finds the message of a certain ATM, the frequency of forwarding the message to the monitoring server by the second-level monitoring proxy server is very high, the system overhead of directly handing the ATM to the monitoring server for monitoring is possibly smaller, the state monitoring of the ATM can be more timely and accurate, the ATM can be monitored by the second-level monitoring proxy server, and the monitoring server directly monitors the ATM:
a) when the forwarding frequency of the state message of a certain ATM, which is sent to the monitoring server by the second-level monitoring proxy server, exceeds a certain preset value, the decision that the ATM is monitored by the second-level proxy server and is converted into the ATM to be directly monitored by the monitoring server is made.
b) And informing the ATM to modify the configuration information of the network server and directly sending a message to the monitoring server.
c) The secondary monitoring proxy server is notified to stop or exit monitoring of the ATM.
Fig. 5 is a schematic block diagram of a self-service terminal status monitoring system according to a sixth embodiment of the present invention. Only the portions related to the present embodiment are shown for convenience of explanation. Referring to fig. 5, the present invention further provides a self-service terminal status monitoring system, including a monitoring server for monitoring ATM status messages, an ATM for sending status messages to the monitoring server, a secondary monitoring agent for receiving the status messages in place of the monitoring server, and a decision system for determining whether the secondary monitoring agent works in place of the monitoring server, where the decision system includes:
the system comprises a detection module 100, a second monitoring agent and a monitoring server, wherein the detection module is used for detecting whether the monitoring server is in a busy state or not, if so, the second monitoring agent is established, a designated part of ATM is handed to the second monitoring agent for direct monitoring, and the designated ATM sends a subsequent state message to the second monitoring agent;
the judging module 200 is configured to control the secondary monitoring agent to judge the received status packet, and forward the status packet indicating that the status packet is in an abnormal state or forward the changed status packet to the monitoring server for processing.
Fig. 6 is a schematic block diagram of a self-service terminal status monitoring system provided by a seventh embodiment of the present invention. As shown in fig. 6, the decision system provided in this embodiment further includes:
a canceling module 300, configured to cancel the secondary monitoring agent when the monitoring server is detected to be in an idle state, and return the ATM monitored by the secondary monitoring agent to the monitoring server.
The detection module provided by the eighth embodiment of the present invention further includes:
an obtaining unit, configured to obtain four indexes that the monitoring server is in a busy state: the number of monitored online ATMs, the length of a monitoring message queue, the receiving and processing rate of the monitoring message and system performance parameters;
and the judging unit is used for judging that the monitoring server is in a busy state when the value of one of the indexes reaches a first preset value or the weighted sum of a plurality of indexes reaches a second preset value.
With respect to the eighth embodiment, the detecting module provided by the ninth embodiment of the present invention further includes:
the appointing unit is used for appointing a terminal as the secondary monitoring agent;
a composing unit for composing a certain number of ATMs having the same or similar characteristics into an ATM group;
and the notification unit is used for notifying all ATMs in the ATM group to send the state message to the secondary monitoring agent.
Fig. 7 is a schematic block diagram of a self-service terminal status monitoring system provided in a tenth embodiment of the present invention. As shown in fig. 7, this embodiment provides that the decision system further includes:
a message sending and monitoring module 400, configured to, if the secondary monitoring agent does not send any status message to the monitoring server within a preset time, cancel the secondary monitoring agent and directly monitor all ATMs originally monitored by the secondary monitoring agent.
It should be noted that, since each module in the system provided in the embodiment of the present invention is based on the same concept as that of the embodiment of the method of the present invention, the technical effect brought by the embodiment of the method of the present invention is the same as that of the embodiment of the method of the present invention, and specific contents may be referred to the description in the embodiment of the method of the present invention, and are not described herein again.
The system provided by the embodiment of the invention can also detect that the busy of the monitoring server is too heavy and the system performance is reduced, dynamically establishing a secondary monitoring agent, delivering a certain amount of ATM monitoring tasks to the secondary monitoring agent for hosting and monitoring, improving the performance of the monitoring server, thereby realizing dynamic capacity expansion of the monitoring server, avoiding the performance bottleneck of the server caused by the increase of the number of the online ATM terminals, avoiding the server from processing a large amount of normal state data and only needing to process a very small amount of fault state data, this greatly reduces the monitoring pressure of the monitoring server, and improves the monitoring accuracy of the ATM terminal in busy time periods of the monitoring server, by dynamically establishing and revoking the secondary monitoring agent, the self-service equipment is more flexibly and effectively monitored, the resource allocation of the server is optimized to the greatest extent, and the overall monitoring effect is improved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (10)
1. A self-service terminal state monitoring method is characterized by comprising the following steps:
detecting whether a monitoring server is in a busy state, if so, establishing a second-level monitoring agent, and assigning part of ATM to the second-level monitoring agent for direct monitoring so that the assigned ATM sends a subsequent state message to the second-level monitoring agent;
the monitoring server divides the monitored ATMs, divides the ATMs with similar characteristics into a group, and classifies the group into a second-level monitoring agent for direct monitoring; the monitoring server selects a machine with software and hardware configuration and network bandwidth configuration as a secondary monitoring agent; the monitoring server authorizes the second-level monitoring agent to be responsible for monitoring the ATMs of the ATM groups divided by the second-level monitoring agent, and informs the ATMs of sending the state messages to the second-level monitoring agent to complete the establishment of a second-level system of the monitoring system;
and the secondary monitoring agent judges the received state message, and forwards the state message representing the abnormal state or the changed state message to the monitoring server for processing.
2. The method of claim 1, wherein said detecting whether the monitoring server is busy and if so, establishing a secondary monitoring agent, and wherein after the designated portion of the ATM is handed over to the secondary monitoring agent for direct monitoring, further comprises:
and when the monitoring server is detected to be in an idle state, the secondary monitoring agent is cancelled, and the ATM monitored by the secondary monitoring agent is returned to the monitoring server.
3. The method of claim 1, wherein the determining whether the monitoring server is in a busy state specifically comprises:
acquiring four indexes of the monitoring server in a busy state: the number of monitored online ATMs, the length of a monitoring message queue, the receiving and processing rate of the monitoring message and system performance parameters;
and when the value of one index reaches a first preset value or the weighted sum of a plurality of indexes reaches a second preset value, judging that the monitoring server is in a busy state.
4. The method according to any one of claims 1 to 3, wherein establishing a secondary monitoring agent, and assigning part of the ATMs to be directly monitored by the secondary monitoring agent, so that the assigning of the ATMs to send subsequent status messages to the secondary monitoring agent specifically comprises:
appointing a terminal as the secondary monitoring agent;
grouping a number of ATMs having the same or similar characteristics into an ATM group;
and informing all ATMs in the ATM group to send the state message to the secondary monitoring agent.
5. The method of claim 4, wherein the determining, by the secondary monitoring agent, the received status packet, and forwarding the status packet indicating the abnormal status or the changed status packet to the monitoring server for processing further comprises:
and if the secondary monitoring agent does not send any state message to the monitoring server within the preset time, the monitoring server cancels the secondary monitoring agent and directly monitors all the ATMs originally monitored by the secondary monitoring agent.
6. A self-service terminal state monitoring system is characterized by comprising a monitoring server for monitoring ATM state messages, an ATM for sending the state messages to the monitoring server, a secondary monitoring agent for replacing the monitoring server to receive the state messages, and a decision system for judging whether the secondary monitoring agent replaces the monitoring server to work, wherein the decision system comprises:
the detection module is used for detecting whether the monitoring server is in a busy state or not, if so, a second-level monitoring agent is established, and a designated part of ATM is handed to the second-level monitoring agent for direct monitoring so that the designated ATM sends a subsequent state message to the second-level monitoring agent; the monitoring server divides the monitored ATMs, divides the ATMs with similar characteristics into a group, and classifies the group into a second-level monitoring agent for direct monitoring; the monitoring server selects a machine with software and hardware configuration and network bandwidth configuration as a secondary monitoring agent; the monitoring server authorizes the second-level monitoring agent to be responsible for monitoring the ATMs of the ATM groups divided by the second-level monitoring agent, and informs the ATMs of sending the state messages to the second-level monitoring agent to complete the establishment of a second-level system of the monitoring system;
and the judging module is used for controlling the secondary monitoring agent to judge the received state message and forwarding the state message representing the abnormal state or the changed state message to the monitoring server for processing.
7. The system of claim 6, wherein the decision system further comprises:
and the cancellation module is used for canceling the secondary monitoring agent and returning the ATM monitored by the secondary monitoring agent to the monitoring server when the monitoring server is detected to be in an idle state.
8. The system of claim 6, wherein the detection module comprises:
an obtaining unit, configured to obtain four indexes that the monitoring server is in a busy state: the number of monitored online ATMs, the length of a monitoring message queue, the receiving and processing rate of the monitoring message and system performance parameters;
and the judging unit is used for judging that the monitoring server is in a busy state when the value of one of the indexes reaches a first preset value or the weighted sum of a plurality of indexes reaches a second preset value.
9. The system of any one of claims 6 to 8, wherein the detection module further comprises:
the appointing unit is used for appointing a terminal as the secondary monitoring agent;
a composing unit for composing a certain number of ATMs having the same or similar characteristics into an ATM group;
and the notification unit is used for notifying all ATMs in the ATM group to send the state message to the secondary monitoring agent.
10. The system of claim 9, wherein the decision system further comprises:
and the message sending monitoring module is used for controlling the monitoring server to cancel the secondary monitoring agent and directly monitor all the ATMs originally monitored by the secondary monitoring agent if the secondary monitoring agent does not send any state message to the monitoring server within the preset time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610812178.5A CN106657212B (en) | 2016-09-07 | 2016-09-07 | Self-service terminal state monitoring method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610812178.5A CN106657212B (en) | 2016-09-07 | 2016-09-07 | Self-service terminal state monitoring method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106657212A CN106657212A (en) | 2017-05-10 |
CN106657212B true CN106657212B (en) | 2020-05-15 |
Family
ID=58852909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610812178.5A Active CN106657212B (en) | 2016-09-07 | 2016-09-07 | Self-service terminal state monitoring method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106657212B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450720B (en) * | 2017-10-12 | 2022-10-25 | 贵阳朗玛信息技术股份有限公司 | Method and system for monitoring survival state of server |
CN108108238B (en) * | 2017-12-29 | 2022-01-11 | 长威信息科技发展股份有限公司 | ITM monitoring-based agent pointing automatic migration method and electronic equipment |
CN108810154A (en) * | 2018-05-22 | 2018-11-13 | 四川斐讯信息技术有限公司 | A kind of communication connecting system of intelligent terminal |
CN109474695A (en) * | 2018-12-05 | 2019-03-15 | 南京中孚信息技术有限公司 | A kind of data transmission method, apparatus and system |
CN110519393B (en) * | 2019-09-10 | 2022-02-11 | 中国建设银行股份有限公司 | Self-service equipment supervision method, device, equipment, server and medium |
CN111223250A (en) * | 2019-11-15 | 2020-06-02 | 安徽天勤盛创信息科技股份有限公司 | Self-service bank monitoring system |
CN113538808B (en) * | 2021-06-11 | 2023-03-03 | 深圳怡化电脑科技有限公司 | Self-service equipment self-adaptive adjustment method and device |
CN114596681B (en) * | 2022-03-29 | 2023-03-10 | 中国工商银行股份有限公司 | Method and device for processing exception of circulator |
CN115514624B (en) * | 2022-09-21 | 2024-04-30 | 中国农业银行股份有限公司 | Monitoring method, monitoring device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123179A (en) * | 2011-03-28 | 2011-07-13 | 中国人民解放军国防科学技术大学 | Load balancing method and system applied to distributed application system |
CN102708000A (en) * | 2012-04-19 | 2012-10-03 | 北京华胜天成科技股份有限公司 | System and method for realizing energy consumption control through virtual machine migration |
CN102833355A (en) * | 2012-09-22 | 2012-12-19 | 广东电子工业研究院有限公司 | Load balance system and cloud computing oriented mechanism |
CN104660522A (en) * | 2013-11-22 | 2015-05-27 | 英业达科技有限公司 | Automatic node configuration method and server system |
-
2016
- 2016-09-07 CN CN201610812178.5A patent/CN106657212B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123179A (en) * | 2011-03-28 | 2011-07-13 | 中国人民解放军国防科学技术大学 | Load balancing method and system applied to distributed application system |
CN102708000A (en) * | 2012-04-19 | 2012-10-03 | 北京华胜天成科技股份有限公司 | System and method for realizing energy consumption control through virtual machine migration |
CN102833355A (en) * | 2012-09-22 | 2012-12-19 | 广东电子工业研究院有限公司 | Load balance system and cloud computing oriented mechanism |
CN104660522A (en) * | 2013-11-22 | 2015-05-27 | 英业达科技有限公司 | Automatic node configuration method and server system |
Also Published As
Publication number | Publication date |
---|---|
CN106657212A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106657212B (en) | Self-service terminal state monitoring method and system | |
EP2883329B1 (en) | Computer information system and dynamic disaster recovery method therefor | |
US6993681B2 (en) | Remote administration in a distributed system | |
CN111786804B (en) | Link fault monitoring method and device | |
CN105007312A (en) | Method and system for controlling adaptive load-balancing of cloud computing server | |
CN110908872B (en) | Method and system for detecting server state | |
US20150103643A1 (en) | Transmission network and transmission network management system | |
CN113157440A (en) | Self-adaptive load balancing and high availability guaranteeing method applied to mobile terminal | |
KR20130083032A (en) | Management method of service level agreement for guarantee of quality of service in cloud environment | |
US7127484B2 (en) | Server decision method and device thereof | |
KR19990037569A (en) | Integrated Overload Control for Distributed Real-Time Systems | |
EP0892566A2 (en) | Congestion control | |
CN113268351A (en) | Load balancing method and device for gateway service | |
CN106936926B (en) | Method and system for accessing data node | |
US20030229817A1 (en) | Clone-managed session affinity | |
JP2005031736A (en) | Server load distribution device and method, and client/server system | |
CN114615337B (en) | Equipment scheduling method, system, server and storage medium | |
CN115333983A (en) | Heartbeat management method and node | |
CN112118275B (en) | Overload processing method, internet of things platform and computer readable storage medium | |
CN117149533B (en) | Comprehensive control computer system capable of automatically adapting redundancy configuration | |
CN106603334B (en) | A kind of IP address monitoring method and device | |
CN110505115B (en) | Method and device for monitoring switch running-up risk | |
JP5389591B2 (en) | Network control apparatus and method | |
JP3974155B2 (en) | Communication control device | |
CN112532450B (en) | Dynamic updating method and system for data stream distribution process configuration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |