CN102571933A - Reliable message transmission method - Google Patents

Reliable message transmission method Download PDF

Info

Publication number
CN102571933A
CN102571933A CN2011104363674A CN201110436367A CN102571933A CN 102571933 A CN102571933 A CN 102571933A CN 2011104363674 A CN2011104363674 A CN 2011104363674A CN 201110436367 A CN201110436367 A CN 201110436367A CN 102571933 A CN102571933 A CN 102571933A
Authority
CN
China
Prior art keywords
queue manager
branch
message
message queue
general headquarters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011104363674A
Other languages
Chinese (zh)
Inventor
吴卫荣
刘玉龙
孟增辉
徐华
徐乃松
史劲
宋永华
赵伟
郑扬飞
郭红钰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 15 Research Institute
Original Assignee
CETC 15 Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CETC 15 Research Institute filed Critical CETC 15 Research Institute
Priority to CN2011104363674A priority Critical patent/CN102571933A/en
Publication of CN102571933A publication Critical patent/CN102571933A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a reliable message transmission method for a distributed message system. The reliable message transmission method is mainly used for message transmission from the head quarter end to branch ends under a two-stage distributive deployment mode, message transmission from the branch ends to the head quarter end, and message transmission among different branch ends. The procedures of message transmission from the branch ends to the head quarter end are as follows: a message is sent to the service buses of branches by business servers of the branches; the service buses of branches send the message to message queue managers of the branches; the message queue managers of the branches send the message to the message queue manager of the head quarter; the message queue manager of the head quarter sends the message to the service bus of the head quarter; and the service bus of the head quarter sends the message to the business server of the head quarter. Through information transmission based on a message queue mechanism, data can not be lost or repeat during data transmission on an unstable date line.

Description

The reliable news transmission method
Technical field
The present invention relates to computer network field, particularly a kind of reliable news transmission method under distributed environment.
Background technology
Along with the development and the hardware device performance of computer networking technology are become stronger day by day, network application becomes increasingly complex.The architecture of network from centralized, to two layers model, to three layer models, until multilayered schema.Distributed network application all provides best solution in a lot of fields, so distributed network becomes a very popular research direction.
In large-scale distributed network is used; Different application operates in different processes, is distributed on the different computers, even interdepartmental system, across a network; How that these application are integrated effectively; Make different application can keep excellent communications, give full play to the huge superiority of Distributed Application, become an important problem.
In distributed network was used, the communication between the application realized through message.Message is exactly an information unit, and this information unit can be a request (Request message), and also can be one and reply (Reply message), or a report (Report message) or a message (Datagram message).A message comprises two factors---message semantic definition (being used for definition such as transmission of messages target etc.) and data-message (like application data or data base querying etc.).Communication between the program is passed through pass-along message but not direct caller.
In addition, in distributed network was used, the communication between the increasing application program not only requirement can receive by synchronized transmission, but also requirement can realize asynchronous communication.
For instance, the asynchronous message transmission mode that has a kind of two-stage distributed deployment in the prior art.As shown in Figure 1, this distributed network is divided into two-stage, and the higher level is general headquarters' end, and subordinate is a plurality of branches ends, and the application program on each node communicates through service bus.Service bus mainly comprises 8 big modules such as transmission of messages, station location marker, communication coupling, interface conversion, traffic model, the management of state property, transmission access monitoring, Service Management, mainly realizes the management functions such as unified registration, route, monitoring, safety of Web service.Data such as official document, basic data, report data all need the transmission of vertical two-stage.
Actual conditions are that application program is always simultaneously not online; The hardware fault of network is often inevitable; The flow of data has sudden, possibly cause the congestion information of network; Certain application need obtains handling immediately, and another one is used and can be delayed, and they should be treated with a certain discrimination.Therefore, because the unsteadiness of network environment and the complexity of actual conditions, carry out loss of data to occur in the message transmitting procedure striding level, thereby cause business datum exchange interruption, the accuracy of lost data and authority.Thus, the asynchronous communication problem between the application becomes very outstanding.
Summary of the invention
In order to solve the technical problem that exists in the prior art, main purpose of the present invention is to provide a kind of reliable news transmission method, and it guarantees can not to lose or repeat when data transmit on unsettled data circuit based on the message queue mechanism message transfer.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of reliable news transmission method; Be used for the transmission of messages of distributed information system branch to general headquarters; Wherein each branch and general headquarters include service server, service bus and message queue manager, and this method comprises: the service server of branch sends a message to the service bus of branch; The service bus of branch sends to said message the message queue manager of branch; The message queue manager of branch sends to said message the message queue manager of general headquarters; The message queue manager of general headquarters sends to said message the service bus of general headquarters; The service bus of general headquarters sends to said message the service server of general headquarters.
Preferably, this method further comprises: before the message queue manager of branch sent to the message queue manager of general headquarters with said message, the message queue manager of branch was set up with the long of message queue manager of general headquarters and is connected.
Preferably, this method further comprises: regularly send out heartbeat packet between the message queue manager of branch and the message queue manager of general headquarters mutually.
Preferably, this method further comprises: when the message queue manager of branch did not receive the heartbeat packet from the message queue manager of general headquarters on time, the message queue manager of branch was rebuild with the growing of message queue manager of general headquarters and is connected.
Preferably, this method further comprises: when the message queue manager of general headquarters received said message, the message queue manager of general headquarters was returned affirmation to the message queue manager of branch; And the message queue manager of branch is not receiving under the situation of affirmation, and the message queue manager to general headquarters after a period is retransmitted this message.
Preferably, the said period is 10 minutes.
The present invention also provides a kind of reliable news transmission method; Be used for the transmission of messages of distributed information system general headquarters to branch; Wherein each branch and general headquarters include service server, service bus and message queue manager, and this method comprises: the service server of general headquarters sends a message to the service bus of general headquarters; The service bus of general headquarters sends to said message the message queue manager of general headquarters; The service bus of general headquarters sends to said message the message queue manager of branch; The message queue manager of branch sends to said message the service bus of branch; The service bus of branch sends to said message the service server of branch.
Preferably, this method further comprises: before the message queue manager of general headquarters sent to the message queue manager of branch with said message, the message queue manager of general headquarters was set up with the long of message queue manager of branch and is connected.
Preferably, this method further comprises: regularly send out heartbeat packet between the message queue manager of general headquarters and the message queue manager of branch mutually.
Preferably; This method further comprises: when the message queue manager of general headquarters does not receive the heartbeat packet from the message queue manager of branch on time or when having message to send, the message queue manager of general headquarters is rebuild with the growing of message queue manager of branch and is connected.
Preferably, this method further comprises: when the message queue manager of branch received said message, the message queue manager of branch was returned affirmation to the message queue manager of general headquarters; And the message queue manager of general headquarters is not receiving under the situation of affirmation, and the message queue manager to branch after a period is retransmitted this message.
Preferably, the said period is 10 minutes.
The present invention also provides a kind of reliable news transmission method; Be used for distributed information system first branch through general headquarters the transmission of messages to second branch; Wherein general headquarters, first branch and second branch include service server, service bus and message queue manager, and this method comprises: the service server of first branch sends a message to the service bus of first branch; The service bus of first branch sends to said message the message queue manager of first branch; The message queue manager of first branch sends to said message the message queue manager of general headquarters; The message queue manager of general headquarters sends to said message the message queue manager of second branch; The message queue manager of second branch sends to said message the service bus of second branch; The service bus of second branch sends to said message the service server of second branch.
Preferably, this method further comprises: before the message queue manager of first branch sent to the message queue manager of general headquarters with said message, the message queue manager of first branch was set up with the long of message queue manager of general headquarters and is connected.
Preferably, this method further comprises: regularly send out heartbeat packet between the message queue manager of the message queue manager of first branch and second branch mutually.
Preferably; This method further comprises: when the message queue manager of first branch does not receive the heartbeat packet from the message queue manager of general headquarters on time or when having message to send, the message queue manager of first branch is rebuild with the growing of message queue manager of general headquarters and is connected.
Preferably, this method further comprises: before the message queue manager of general headquarters sent to the message queue manager of second branch with said message, the message queue manager of general headquarters was set up with the long of message queue manager of second branch and is connected.
Preferably, this method further comprises: regularly send out heartbeat packet between the message queue manager of the message queue manager of general headquarters and second branch mutually.
Preferably; This method further comprises: when the message queue manager of general headquarters does not receive the heartbeat packet from the message queue manager of second branch on time or when having message to send, the message queue manager of general headquarters is rebuild with the growing of message queue manager of second branch and is connected.
Preferably, this method further comprises: when the message queue manager of general headquarters received said message, the message queue manager of general headquarters was returned affirmation to the message queue manager of first branch; And the message queue manager of first branch is not receiving under the situation of affirmation, and the message queue manager to general headquarters after a period is retransmitted this message.
Preferably, this method further comprises: when the message queue manager of second branch received said message, the message queue manager of second branch was returned affirmation to the message queue manager of general headquarters; And the message queue manager of general headquarters is not receiving under the situation of affirmation, and the message queue manager to second branch after a period is retransmitted this message.
Preferably, the said period is 10 minutes.
Technique scheme provided by the invention is mainly used in transmission of messages, branch that the general headquarters under the two-stage distributed deployment mode hold branch to hold and holds the transmission of messages between transmission of messages that general headquarters hold and the different branch's end.In transmission of messages; Transmit leg and recipient can carry out addressing and format conversion through service bus; Owing to adopted message queue mechanism, transmit leg need not to be connected simultaneously with the recipient, even and the communication between transmit leg and the recipient be not simultaneous; Also have extremely strong request and answer to transmit and ensure; Guarantee the validity of transfer of data between information system, avoid causing the loss of data of transmission course, guarantee the accurate and effective, authoritative of business datum owing to reasons such as unstable networks.
Description of drawings
The preferred embodiments of the present invention are described with reference to the accompanying drawings, in the accompanying drawings:
Fig. 1 is a transmission of messages flow process of the prior art.
Fig. 2 is the transmission of messages flow process that branch provided by the invention holds general headquarters to hold.
Fig. 3 is the concrete steps that cross-node sends message in the transmission of messages flow process provided by the invention.
Fig. 4 is the transmission of messages flow process that general headquarters provided by the invention hold branch to hold.
Fig. 5 is the transmission of messages flow process between the different branches provided by the invention end.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, below with reference to accompanying drawing and enumerate preferred embodiment, to further explain of the present invention.Yet, need to prove that many details of listing in the specification only are in order to make the reader to one or more aspects of the present invention a thorough understanding arranged, even if there are not these specific details also can realize these aspects of the present invention.
Terms such as " module " that the application uses, " system " are intended to comprise the entity relevant with computer, such as but not limited to hardware, firmware, combination thereof, software or executory software.For example, module can be, but be not limited in: the thread of the process of moving on the processor, processor, object, executable program, execution, program and/or computer.For instance, the application program of moving on the computing equipment can be a module with this computing equipment.One or more modules can be positioned at an executory process and/or thread, and module also can be on the computer and/or be distributed between two or more the computers.In addition, can carry out these modules through the multiple computer-readable medium of having stored plurality of data structures.These modules can communicate through signal utilization this locality and/or remote process.
Concretism of the present invention is: adopt the transmission of messages framework based on message queue, can not lose or repeat when guaranteeing that data are transmitted on unsettled data circuit.
The distributed information system that the present invention adopted is divided into general headquarters' end and a plurality of branch end, is the superior and the subordinate's network topology structure between the two ends.The consideration that receives the restriction of actual application environment network topology structure and the deployment configuration aspect is installed is striden the message circulation of branch and is adopted hub-and-spoke configuration through service bus.
At first describe below from the flow process of branch's 1 end to general headquarters' message transfer.As shown in Figure 2, the general headquarters of distributed information system and branch include service server, service bus and message queue manager, and general headquarters also comprise center machine daily record storehouse, are used to write down the critical message of transmission between the superior and the subordinate.Branch's 1 end to the transfer process of general headquarters is: the service server of branch's 1 end sends a message to the service bus of branch's 1 end; The service bus of branch's 1 end sends to said message the message queue manager of branch's 1 end; The message queue manager of branch's 1 end sends to said message the message queue manager of general headquarters; The message queue manager of general headquarters sends to the service bus of general headquarters with said message, and the service bus of general headquarters sends to said message the service server of general headquarters.
Can find out,, guarantee the reliability of data transmission of branch's 1 end to general headquarters through adopting message queue mechanism.
The concrete steps of in above-mentioned transmission of messages flow process, sending message are described below.
Preparing from branch's 1 end before general headquarters' message transfer, the message queue manager of branch's 1 end can be in real time with the general headquarters message queue manager between grow and be connected the unlatching of maintenance interface channel, timed sending heartbeat packet.
As shown in Figure 3, the concrete steps of sending message are following:
Step 301: the service bus of branch's 1 end is monitored the service server of branch's 1 end.
Step 302: the service bus of branch's 1 end judges whether the service server of branch's 1 end has data to send; If judging has data to send, then turn to step 303; To send if judge free of data, then turn to step 301, continue to monitor.
Step 303: the message that the service bus of branch's 1 end will send the service server of branch's 1 end sends to the message queue manager of branch's 1 end.
Step 304: the message queue manager of branch's 1 end is waited for the affirmation of the message queue manager of reception general headquarters about above-mentioned message; If receive affirmation (ACK), then turn to step 302, judge whether the service server of branch's 1 end also has new data to send; If do not receive affirmation, then turn to step 305.
Step 305: the message queue manager of branch's 1 end judges whether network connects normal, and this judgement is that the heartbeat packet whether the message queue manager inspection through branch's 1 end oneself receives from the message queue manager of general headquarters on time realizes.That is, if the message queue manager of branch's 1 end receives heartbeat packet on time, it is normal to judge that then network connects, and then turns to step 306; If the message queue manager of branch's 1 end does not receive heartbeat packet on time, judge that then interface channel or general headquarters break down, turn to step 307.
Step 306: the message queue manager of branch's 1 end is retransmitted this message.For example, this step can be carried out at step 305 execution certain hour (for example, 10 minutes) afterwards.And after carrying out this step 306, turn to step 304 automatically.
Step 307: the message queue manager of branch's 1 end rebulids with the long of message queue manager of general headquarters and is connected.And after carrying out this step 307, turn to step 306 automatically.
Wherein, in step 307, under the situation of rebuilding long connection failure, show that network failure do not get rid of yet, can whenever attempt once more rebuilding long the connection, also can when having new information to send again, attempt rebuilding the length connection at a distance from ten minutes.Be not communicated with like passage, then message can be waited for always, after the passage successful connection, sends, and guarantees the promptness of the unimpeded and message of network with this always.
The flow process to branch's 1 end message transfer from general headquarters is described below.As shown in Figure 4, the general headquarters of distributed information system and branch include service server, service bus and message queue manager, and general headquarters also comprise center machine daily record storehouse, are used to write down the critical message of transmission between the superior and the subordinate.General headquarters to the transfer process of branch's 1 end are: the service server of general headquarters sends a message to the service bus of general headquarters; The service bus of general headquarters sends to said message the message queue manager of general headquarters; The message queue manager of general headquarters sends to said message the message queue manager of branch's 1 end; The message queue manager of branch's 1 end sends to said message the service bus of branch's 1 end; The service bus of branch's 1 end sends to said message the service server of branch's 1 end.
As stated, through adopting message queue mechanism, guaranteed the reliability of data transmission of general headquarters to branch's 1 end.
Aforesaid branch 1 end is similar to the transmission of messages of general headquarters; Preparing from general headquarters before branch's 1 end message transfer; The message queue manager of general headquarters can be in real time with the message queue manager of branch between grow and be connected, keep interface channel to open the timed sending heartbeat packet.
The concrete steps (it is with above similar with reference to the described step of Fig. 3, and distinguishing only is that the object of main body and execution in step of execution in step is different) of sending message in general headquarters in the transmission of messages flow process of branch's 1 end are described below:
Step 301: the service bus of general headquarters is monitored the service server of general headquarters.
Step 302: the service bus of general headquarters judges whether the service server of general headquarters has data to send; If judging has data to send, then turn to step 303; To send if judge free of data, then turn to step 301, continue to monitor.
Step 303: the message that the service bus of general headquarters will send the service server of general headquarters sends to the message queue manager of general headquarters.
Step 304: the message queue manager of general headquarters is waited for the affirmation of the message queue manager of reception branch 1 end about above-mentioned message; If receive affirmation (ACK), then turn to step 302, judge whether the service server of general headquarters also has new data to send; If do not receive affirmation, then turn to step 305.
Step 305: the message queue manager of general headquarters judges whether network connects normal, and this judgement is that the heartbeat packet whether the message queue manager inspection through general headquarters oneself receives from the message queue manager of branch's 1 end on time realizes.That is, if the message queue manager of general headquarters receives heartbeat packet on time, it is normal to judge that then network connects, and then turns to step 6); If the message queue manager of general headquarters does not receive heartbeat packet on time, judge that then interface channel or general headquarters break down, turn to step 7).
Step 306: the message queue manager of general headquarters is retransmitted this message.For example, this step can be carried out at step 305 execution certain hour (for example, 10 minutes) afterwards.And after carrying out this step 306, turn to step 304 automatically.
Step 307: the message queue manager of general headquarters rebulids with the long of message queue manager of branch 1 end and is connected.And after carrying out this step 307, turn to step 306 automatically.
Wherein, in step 307, under the situation of rebuilding long connection failure, show that network failure do not get rid of yet, can whenever attempt once more rebuilding long the connection, also can when having new information to send again, attempt rebuilding the length connection at a distance from ten minutes.Be not communicated with like passage, then message can be waited for always, after the passage successful connection, sends, and guarantees the promptness of the unimpeded and message of network with this always.
Describe below from the flow process of branch's 1 end to branch's 2 end message transfers.As shown in Figure 5, the general headquarters of distributed information system and branch include service server, service bus and message queue manager, and general headquarters also comprise center machine daily record storehouse, are used to write down the critical message of transmission between the superior and the subordinate.Branch's 1 end of distributed information system to the transmission of messages flow process of branch's 2 ends is: the service server of branch's 1 end sends a message to the service bus of branch's 1 end; The service bus of branch's 1 end sends to said message the message queue manager of general headquarters; The message queue manager of general headquarters sends to said message the message queue manager of branch's 2 ends; The message queue manager of branch's 2 ends sends to said message the service bus of branch's 2 ends; The service bus of branch's 2 ends sends to said message the service server of branch's 2 ends.
As stated, through adopting message queue mechanism, guaranteed the reliability of data transmission between two branches.
Aforesaid branch is similar to the transmission of messages of branch to general headquarters and general headquarters; Preparing from branch's 1 end before branch's 2 end message transfers; The message queue manager of branch's 1 end can be in real time with the message queue manager of general headquarters between grow and be connected; Keep interface channel to open the timed sending heartbeat packet; The message queue manager of general headquarters can be in real time with the message queue manager of branch's 2 ends between grow and be connected, keep interface channel to open the timed sending heartbeat packet.
The concrete steps (it is with above consistent with reference to the described step of Fig. 5) of sending message at branch's 1 end in the transmission of messages flow process of branch's 2 ends are described below:
Step 301: the service bus of branch's 1 end is monitored the service server of branch's 1 end.
Step 302: the service bus of branch's 1 end judges whether the service server of branch's 1 end has data to send; If judging has data to send, then turn to step 303; To send if judge free of data, then turn to step 301, continue to monitor.
Step 303: the message that the service bus of branch's 1 end will send the service server of branch's 1 end sends to the message queue manager of branch's 1 end.
Step 304: the message queue manager of branch's 1 end is waited for the affirmation of the message queue manager of reception general headquarters about above-mentioned message; If receive affirmation (ACK), then turn to step 302, judge whether the service server of branch's 1 end also has new data to send; If do not receive affirmation, then turn to step 305.
Step 305: the message queue manager of branch's 1 end judges whether network connects normal, and this judgement is that the heartbeat packet whether the message queue manager inspection through branch's 1 end oneself receives from the message queue manager of general headquarters on time realizes.That is, if the message queue manager of branch's 1 end receives heartbeat packet on time, it is normal to judge that then network connects, and then turns to step 306; If the message queue manager of branch's 1 end does not receive heartbeat packet on time, judge that then interface channel or general headquarters bring out existing fault, turn to step 307.
Step 306: the message queue manager of branch's 1 end is retransmitted this message.For example, this step can be carried out at step 305 execution certain hour (for example, 10 minutes) afterwards.And after carrying out this step 306, turn to step 304 automatically.
Step 307: the message queue manager of branch's 1 end rebulids the long of message queue manager of holding with general headquarters and is connected.And after carrying out this step 307, turn to step 306 automatically.
Wherein, in step 307, under the situation of rebuilding long connection failure, show that network failure do not get rid of yet, can whenever attempt once more rebuilding long the connection, also can when having new information to send again, attempt rebuilding the length connection at a distance from ten minutes.Be not communicated with like passage, then message can be waited for always, after the passage successful connection, sends, and guarantees the promptness of the unimpeded and message of network with this always.
General headquarters ends sends a message to branch's 2 ends with similar above-mentioned general headquarters to the said message forwarding step of branch's 1 end again, thereby realizes the transmission of messages of said branch 1 end to branch's 2 ends.
Though described the present invention with reference to certain embodiments here, need should be appreciated that these embodiment are exemplary, and scope of the present invention is not limited to these embodiment.A lot of distortion, modification, increase and improvement to top described embodiment all are possible.Can reckon with, these distortion, revise, increase and improve the protection range that all falls into claim and limited.

Claims (12)

1. a reliable news transmission method is used for the transmission of messages of distributed information system branch to general headquarters, and wherein each branch and general headquarters include service server, service bus and message queue manager, and this method comprises:
The service server of branch sends a message to the service bus of branch;
The service bus of branch sends a message to the message queue manager of branch;
The message queue manager of branch sends to said message the message queue manager of general headquarters;
The message queue manager of general headquarters sends to said message the service bus of general headquarters;
The service bus of general headquarters sends to said message the service server of general headquarters.
2. the method for claim 1 further comprises:
Before the message queue manager of branch sent to the message queue manager of general headquarters with said message, the message queue manager of branch was set up with the long of message queue manager of general headquarters and is connected;
Regularly send out heartbeat packet between the message queue manager of branch and the message queue manager of general headquarters mutually;
When the message queue manager of branch did not receive the heartbeat packet from the message queue manager of general headquarters on time, the message queue manager of branch was rebuild with the growing of message queue manager of general headquarters and is connected.
3. the method for claim 1 further comprises:
When the message queue manager of general headquarters received said message, the message queue manager of general headquarters was returned affirmation to the message queue manager of branch; And
The message queue manager of branch is not receiving under the situation of affirmation, and the message queue manager to general headquarters after a period is retransmitted this message.
4. method as claimed in claim 3, wherein, the said period is 10 minutes.
5. a reliable news transmission method is used for the transmission of messages of distributed information system general headquarters to branch, and wherein each branch and general headquarters include service server, service bus and message queue manager, and this method comprises:
The service server of general headquarters sends a message to the service bus of general headquarters;
The service bus of general headquarters sends to said message the message queue manager of general headquarters;
The message queue manager of general headquarters is responsible for said message is sent to the message queue manager of branch;
The message queue manager of branch sends to said message the service bus of branch;
The service bus of branch sends to said message the service server of branch.
6. method as claimed in claim 5 further comprises:
Before the message queue manager of general headquarters sent to the message queue manager of branch with said message, the message queue manager of general headquarters was set up with the long of message queue manager of branch and is connected;
Regularly send out heartbeat packet between the message queue manager of general headquarters and the message queue manager of branch mutually;
When the message queue manager of general headquarters does not receive the heartbeat packet from the message queue manager of branch on time or when having message to send, the message queue manager of general headquarters is rebuild with the growing of message queue manager of branch and is connected.
7. method as claimed in claim 5 further comprises:
When the message queue manager of branch received said message, the message queue manager of branch was returned affirmation to the message queue manager of general headquarters; And
The message queue manager of general headquarters is not receiving under the situation of affirmation, and the message queue manager to branch after a period is retransmitted this message.
8. method as claimed in claim 7, wherein, the said period is 10 minutes.
9. reliable news transmission method; Be used for distributed information system first branch through general headquarters the transmission of messages to second branch; Wherein general headquarters, first branch and second branch include service server, service bus and message queue manager, and this method comprises:
The service server of first branch sends a message to the service bus of first branch;
The service bus of first branch sends to said message the message queue manager of first branch;
The message queue manager of first branch sends to said message the message queue manager of general headquarters;
The message queue manager of general headquarters sends to said message the message queue manager of second branch;
The message queue manager of second branch sends to said message the service bus of second branch;
The service bus of second branch sends to said message the service server of second branch.
10. method as claimed in claim 9 further comprises:
Before the message queue manager of first branch sent to the message queue manager of general headquarters with said message, the message queue manager of first branch was set up with the long of message queue manager of general headquarters and is connected;
Regularly send out heartbeat packet between the message queue manager of first branch and the message queue manager of general headquarters mutually;
When the message queue manager of first branch does not receive the heartbeat packet from the message queue manager of general headquarters on time or when having message to send, the message queue manager of first branch is rebuild with the growing of message queue manager of general headquarters and is connected;
Before the message queue manager of general headquarters sent to the message queue manager of second branch with said message, the message queue manager of general headquarters was set up with the long of message queue manager of second branch and is connected;
Regularly send out heartbeat packet between the message queue manager of the message queue manager of general headquarters and second branch mutually;
When the message queue manager of general headquarters does not receive the heartbeat packet from the message queue manager of second branch on time or when having message to send, the message queue manager of general headquarters is rebuild with the growing of message queue manager of second branch and is connected.
11. method as claimed in claim 9 further comprises:
When the message queue manager of general headquarters received said message, the message queue manager of general headquarters was returned affirmation to the message queue manager of first branch;
The message queue manager of first branch is not receiving under the situation of affirmation, and the message queue manager to general headquarters after a period is retransmitted this message;
When the message queue manager of second branch received said message, the message queue manager of second branch was returned affirmation to the message queue manager of general headquarters; And
The message queue manager of general headquarters is not receiving under the situation of affirmation, and the message queue manager to second branch after a period is retransmitted this message.
12. method as claimed in claim 11, wherein, the said period is 10 minutes.
CN2011104363674A 2011-12-22 2011-12-22 Reliable message transmission method Pending CN102571933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104363674A CN102571933A (en) 2011-12-22 2011-12-22 Reliable message transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104363674A CN102571933A (en) 2011-12-22 2011-12-22 Reliable message transmission method

Publications (1)

Publication Number Publication Date
CN102571933A true CN102571933A (en) 2012-07-11

Family

ID=46416394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104363674A Pending CN102571933A (en) 2011-12-22 2011-12-22 Reliable message transmission method

Country Status (1)

Country Link
CN (1) CN102571933A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078775A (en) * 2012-12-31 2013-05-01 新奥特(北京)视频技术有限公司 Method and system on basis of information interaction among multiple stages of ESB (Enterprise Service Buses)
CN103501237A (en) * 2013-09-03 2014-01-08 小米科技有限责任公司 Device management method, management platform, device and system
CN105991306A (en) * 2015-01-29 2016-10-05 北京神州泰岳信息安全技术有限公司 Two-level architecture business system safety inspection method and device
CN106713328A (en) * 2016-12-29 2017-05-24 北京奇虎科技有限公司 Information processing method and apparatus based on long connection
CN110808874A (en) * 2019-10-25 2020-02-18 北京大米科技有限公司 Cross-machine-room service monitoring method and device, storage medium and server
CN113568936A (en) * 2021-07-30 2021-10-29 多点生活(成都)科技有限公司 Real-time streaming data storage method and device and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005099193A2 (en) * 2004-04-05 2005-10-20 Ammasso, Inc. System and method for work request queuing for intelligent adapter
CN101184056A (en) * 2007-12-04 2008-05-21 浙江大学 Distributed enterprise service bus message switching method
CN101977165A (en) * 2010-11-08 2011-02-16 北京中科院软件中心有限公司 Message transmission method and message bus system in cloud mode

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005099193A2 (en) * 2004-04-05 2005-10-20 Ammasso, Inc. System and method for work request queuing for intelligent adapter
CN101184056A (en) * 2007-12-04 2008-05-21 浙江大学 Distributed enterprise service bus message switching method
CN101977165A (en) * 2010-11-08 2011-02-16 北京中科院软件中心有限公司 Message transmission method and message bus system in cloud mode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙丕石等: "国家电网公司数据交换平台研发与应用", 《电网技术》, vol. 32, no. 22, 30 November 2008 (2008-11-30) *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078775A (en) * 2012-12-31 2013-05-01 新奥特(北京)视频技术有限公司 Method and system on basis of information interaction among multiple stages of ESB (Enterprise Service Buses)
CN103078775B (en) * 2012-12-31 2018-05-04 新奥特(北京)视频技术有限公司 A kind of method and system based on the interaction of multistage ESB messages between buses
CN103501237A (en) * 2013-09-03 2014-01-08 小米科技有限责任公司 Device management method, management platform, device and system
CN103501237B (en) * 2013-09-03 2017-03-15 小米科技有限责任公司 Device management method, management platform, equipment and system
CN105991306A (en) * 2015-01-29 2016-10-05 北京神州泰岳信息安全技术有限公司 Two-level architecture business system safety inspection method and device
CN105991306B (en) * 2015-01-29 2019-02-15 北京神州泰岳信息安全技术有限公司 Two level framework operation system safety detection methods and device
CN106713328A (en) * 2016-12-29 2017-05-24 北京奇虎科技有限公司 Information processing method and apparatus based on long connection
CN110808874A (en) * 2019-10-25 2020-02-18 北京大米科技有限公司 Cross-machine-room service monitoring method and device, storage medium and server
CN113568936A (en) * 2021-07-30 2021-10-29 多点生活(成都)科技有限公司 Real-time streaming data storage method and device and terminal equipment
CN113568936B (en) * 2021-07-30 2023-06-13 多点生活(成都)科技有限公司 Real-time stream data storage method, device and terminal equipment

Similar Documents

Publication Publication Date Title
CN102571933A (en) Reliable message transmission method
US8806007B2 (en) Inter-node communication scheme for node status sharing
CN102035688B (en) Design method for rapidly controlling network link access
AU2012318747B2 (en) System and method for intersystem device exchange
US8565095B2 (en) Context controlled data tap utilizing parallel logic for integrated link monitoring
WO2021056793A1 (en) Power transmission line distributed fault diagnosis system and method
CN102412990B (en) Remote sensing satellite raw data recording system with centralized management and real-time transmission functions
CN103220292A (en) Cross-safe-area data transmission method and system
CN101136943A (en) System and method for implementing extended Diameter protocol application
CN105357147A (en) High-speed and high-reliability network-on-chip adapter unit
CN102263651A (en) Method for detecting connection state of local end equipment in SNMP (simple network management protocol) network management system (NMS)
CN109547875A (en) A kind of FC exchange network arbitrary port access design method
CN108737169A (en) A kind of isomery industrial network central fusion management method based on SDN
CN101466109A (en) Communication system and method for WiMAX network management
CN102769544A (en) Equipment service adaptation layer architecture in communication system and service adaptation layer realization method
CN101567861A (en) Data synchronization method and application system between heterogeneous application systems
CN104243536A (en) Semi-physical simulation system of high-speed train control network
CN107332689B (en) Embedded PON terminal device TR069 protocol interconnection simulation system and method
CN113194550A (en) Data channel construction method, server and data cluster system
CN113098747A (en) Real-time soft bus implementation method for intelligent rail transit system
CN201387555Y (en) Comprehensive remote control monitoring system
CN108011795B (en) A kind of method and system for realizing more boards and multiple data channel management in communication equipment
JP5352502B2 (en) Packet communication system and packet communication apparatus control method
CN113452732A (en) Power Internet of things network management system and method
CN103327643B (en) Information transferring method, device between microwave network element and microwave network element

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120711