High Availabitity message transmission channel and the method for system is processed for distributed warning
Technical field
The present invention relates to mobile network management alarm monitoring system technical field, concrete offer processes High Availabitity message transmission channel and the method for system for distributed warning.
Background technology
Tuxedo(TransactionforUnixhasbeenExtendedforDistributedOp eration) it is the Unix transaction system after distributed operation extension.C, C++ and the COBOL solution of OracleTuxedo has a wide range of applications at bank, field of telecommunications.Traditional telecommunications warning system uses Tuxedo multimachine pattern to carry out application and disposes.Tuxedo multimachine pattern is by application deployment on multiple servers, and fast construction can utilize the distributed system of many hardware superiorities.Alarming processing system utilizes Tuxedo multimachine pattern to carry out alarm business process, is then sent to client by point-to-point communication mode by alarm information.Owing to client-side program can be connected on different Tuxedo nodes, therefore the application message on a certain node is sent to the client on other nodes, it is necessary to send application message by BRIDGE message channel.And BRIDGE message channel also carries the task of each node administration message communicating simultaneously.
If accompanying drawing 1 is the message transmission channel schematic diagram that under tradition Tuxedo multimachine pattern, distributed warning processes system.Client 1 is connected on node 1, and client 2 is connected on node 2.Node 1 and node 2 are managed the forwarding of message and application message by BRIDGE message channel.The application program of node 1 passes through point-to-point communication, is pushed to by alarm information in the process of client 1 and client 2, because client 1 is connected directly between on node 1, therefore node 1 sends application message either directly through the connection created to client 1.But client 2 is not connected directly between on node 1, therefore node 1 is transmitted to node 2 firstly the need of by BRIDGE message channel application message, and node 2 is sent to client 2 this application message again.If node 2 to send application message to client 1, need also exist for, first with BRIDGE message channel, application message is transmitted to node 1, then by node 1, application message is sent to client 1.Simultaneously, BRIDGE message channel also needs to undertake the task of forwarding each node administration message communicating.
In recent years, along with the development of Mobile Communication Service, network size expands rapidly, the complicated network structure is continuously increased, alarming processing system needs to process substantial amounts of Real-time Alarm every day, sends substantial amounts of real-time messages, and the quantity of client is also in continuous growth.Each node needs to utilize the quantity that BRIDGE message channel sends real-time application message to the client on other nodes to reach more than ten million, and BRIDGE message channel is one process pattern, even multithread mode also cannot meet the needs of each node messages communication.Tuxedo distributed warning processes the BRIDGE message channel of system and is often blocked by substantial amounts of alarm information, cause Tuxedo distributed management message cannot pass through BRIDGE message channel be normally forwarded to each some on, can cause that node separates, ultimately result in the ossified of whole Tuxedo distributed system.
Summary of the invention
The technical assignment of the present invention is for above-mentioned Problems existing, alarm management message can be separated by offer with alarm application message, thus improving Tuxedo distributed warning to process the stability of system, promote the High Availabitity message transmission channel of the system that processes for distributed warning of the disposal ability of system message.
The further technical assignment of the present invention is to provide simple to operation, and can effectively alarm management message be separated with alarm application message, thus improve the High Availabitity method for message transmission that Tuxedo distributed warning processes the system that processes for distributed warning of system message disposal ability.
For achieving the above object, the technical scheme is that
The High Availabitity message transmission channel of system is processed for distributed warning, including some nodes, some clients, described node is for sending alarm information to client, BRIDGE message channel it is provided with between described node, for sending alarm information between node, being respectively created the queue equal with node total number on each node, different queues sends the alarm information to different clients for storing;
Creating the collection process equal with node total number, described collection process, for the alarm information that will need to send to same client but be stored in different queue, is forwarded to be joined directly together in logical queue with this client and stores, and is ultimately routed to this client;
Described client is when logging in, it is necessary to the nodename that record logs in.
Each queue storage is all to send to corresponding node the alarm information of client.Client have recorded the nodename of login when logging in, so the application program on node is when sending alarm information to different clients, just can store needing the alarm information sending certain client to be forwarded in corresponding queue according to record.When alarm information is forwarded to after corresponding queue stores, alarm information store by different queue again through the process of collection sends extremely corresponding client.The transmission process of alarm information need not utilize BRIDGE message channel to forward message, it is to avoid the obstruction of BRIDGE message channel, keeps the normal operation of Tuxedo distributed warning system.
As preferably, the alarm information forwarded by BRIDGE message channel between described node is alarm management message.The alarm application message sent to different clients by the application program of node does not forward again through BRIDGE message channel, decreases the workload of BRIDGE message channel.
As preferably, described collection procedure deployment is on multiple servers, multiple collection processes forward message from the queue of a node to the corresponding queue of another node simultaneously, are possible not only to improve the speed that message forwards, and ensure that the high availability that message forwards.
Process the High Availabitity method for message transmission of system for distributed warning, comprise the following steps:
(1) alarm management message is forwarded by BRIDGE message channel between node;
(2) node forwards alarm application message to being attached thereto in logical queue, and is stored in individual queue by alarm application message;
(3) the alarm application message of queue storage on node is forwarded on another node and stores in corresponding queue by collection process;
(4) the alarm application message of storage is sent to corresponding client by queue.
nullCompared with prior art,The present invention has beneficial effect highlighted below: the High Availabitity message transmission channel for distributed warning process system of the present invention is based on highly reliable queue and collection process,The transmission of alarm management message and alarm application message is separated,The forwarding that BRIDGE message channel is served only between node alarm management message,Avoid tradition Tuxedo multimachine pattern under BRIDGE message channel namely for the forwarding of alarm management message,Again for alerting the forwarding of application message,Solve BRIDGE message channel and hold susceptible to plugging problem under forwarding a large amount of alarm informations,Improve Tuxedo distributed warning and process the message transmitting capacity of system and the stability of system,Can also need to carry out the increase of server node according to what business increased,And described High Availabitity message channel can also dynamically increase.
Accompanying drawing explanation
Fig. 1 is the message transmission channel schematic diagram that under tradition Tuxedo multimachine pattern, distributed warning processes system;
Fig. 2 is the High Availabitity message transmission channel schematic diagram processing system for Tuxedo distributed warning of the present invention.
Detailed description of the invention
Below in conjunction with embodiment, the High Availabitity message transmission channel for distributed warning process system and method to the present invention are described in further detail.
Embodiment
As in figure 2 it is shown, the High Availabitity message transmission channel of the system that processes for distributed warning of the present invention, including node 1, node 2, client 1, client 2.Node 1 is connected with client 1, and node 2 is connected with client 2.Alarm management message is forwarded by BRIDGE message channel between node 1 and node 2.Node 1 creates queue 11, queue 12, corresponding establishment queue 21, queue 22 on node 2.Queue 11 on node 1 is connected with client 1, and the queue 22 on node 2 is connected with client 2.Queue 11, queue 21 store all alarm informations sent to client 1.Queue 12, queue 22 store all alarm informations sent to client 2.Dispose collection process 1 on the server respectively, gather process 2.The alarm information of storage in queue 12 on node 1 is forwarded on node 2 in queue 22 by collection process 1, and the alarm information of storage in queue 21 on node 2 is forwarded on node 1 in queue 11 by collection process 2.All alarm informations sent to client 1 are stored in queue 11, and all alarm informations sent to client 2 are stored in queue 22.Alarm information is sent directly to client 1 by queue 11, and alarm information is sent directly to client 2 by queue 22.
The High Availabitity method for message transmission of the system that processes for distributed warning of the present invention, comprises the following steps:
(1) node 1 and node 2 forward alarm management message by BRIDGE message channel;
(2) application program of node 1 will need to be sent to the alarm application message of client 1, is forwarded in queue 11 and stores, it would be desirable to the alarm application message being sent to client 2 is forwarded in queue 12 and stores;The application program of node 2 will need to be sent to the alarm application message of client 2, is forwarded in queue 22 and stores, it would be desirable to the alarm application message being sent to client 1 is forwarded in queue 21 and stores;
(3) the alarm application message of storage in queue 12 on node 1 is forwarded on node 2 in queue 22 by collection process 1, and the alarm application message of storage in queue 21 on node 2 is forwarded on node 1 in queue 11 by collection process 2;
(4) the alarm application message of storage is sent to client 1 by queue 11, and the alarm application message of storage is sent to client 2 by queue 22.
Embodiment described above, the simply present invention more preferably detailed description of the invention, the usual variations and alternatives that those skilled in the art carries out within the scope of technical solution of the present invention all should be included in protection scope of the present invention.