CN102469033B - Message subscription system and message sending method - Google Patents

Message subscription system and message sending method Download PDF

Info

Publication number
CN102469033B
CN102469033B CN201010532567.5A CN201010532567A CN102469033B CN 102469033 B CN102469033 B CN 102469033B CN 201010532567 A CN201010532567 A CN 201010532567A CN 102469033 B CN102469033 B CN 102469033B
Authority
CN
China
Prior art keywords
message
oriented middleware
server
middleware server
classification logotype
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
Application number
CN201010532567.5A
Other languages
Chinese (zh)
Other versions
CN102469033A (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201010532567.5A priority Critical patent/CN102469033B/en
Publication of CN102469033A publication Critical patent/CN102469033A/en
Priority to HK12107181.0A priority patent/HK1166572A1/en
Application granted granted Critical
Publication of CN102469033B publication Critical patent/CN102469033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a message subscription system and a message sending method. A main technical scheme comprises: a first message middleware server receives a message that is sent by a message publishing server as well as carries class identification and corresponded message sending sequence information, and the received message is preserved to a set position; besides, a plurality of messages that are corresponded to one same class identification are corresponded to a same service flow and a same message receiving terminal, and the plurality of messages are sent according to a corresponded sending sequence in the message publishing server; and after a second message middleware server determines that a message that needs to be sent currently exists at the set position, the message is obtained; and after it is determined that the message meets a set sending condition, the message is sent to a message receiving terminal that is corresponded to class identification according to a sending sequence of the message. According to the technical scheme, a message receiving terminal can receive a message according to a sequence of all messages that are corresponded to class identification, wherein the sequence is sent by a message publishing server.

Description

A kind of message subscribing system and message method
Technical field
The application relates to technical field of data processing, relates in particular to a kind of message subscribing system and message method.
Background technology
In message subscribing system, the issue of message generally all based on message-oriented middleware server realize, data publish server sends a message to message-oriented middleware server, by this message-oriented middleware server by this data publish to each message message sink terminal.
In practical application, in order to meet the issue demand of numerous message, many message-oriented middleware servers of general deployment in message subscribing system, each message-oriented middleware server is born the task of delivering different messages to different messages receiving terminal.Conventional message ordering system as shown in Figure 1, this message subscribing system comprises that data publish server 101, message-oriented middleware server 102 (may be many, Fig. 1 only shows 2) and message sink terminal 103 (may be for multiple, Fig. 1 only shows 4).Message subscribing system based on shown in Fig. 1, realizes the process that message sends, and as shown in Figure 2, comprises the steps:
Step 201, data publish server 101 send a message to one of them message-oriented middleware server 102;
After step 202, message-oriented middleware server 102 receipt messages, preserve this message, and this message is added to message send queue;
Step 203, according to the address list of message sink terminal 103 corresponding to this message in message send queue, send the message of preserving to each message message sink terminal 103 successively;
Step 204, message-oriented middleware server 102 judge whether the message of current transmission sends successfully, if so, performs step 205, if not, performs step 206;
This message that step 205, deletion are preserved, so far, finishes the transmission flow of current message.
Step 206, this is sent to failure add message send queue, so far, finish the transmission flow of current message.
According to above flow process, in conventional message ordering system, message-oriented middleware server 102 is to send immediately after message arrives to the processing policy of message.Although this sending mode has improved system throughput, but in practical application scene, the possible corresponding different operation flow of message that data publish server 101 is issued and different message sink terminals, multiple message corresponding to operation flow need to send and arrive message sink terminal 103 according to setting order according to setting order, the success rate that guarantee business is carried out.For example, the user's order under an operation flow is processed based on message subscribing system in the website of a type of transaction, in the time that user's order changes to new state from current state, need to send a message by data publish server 101 and go out, this message is for the new state of identifying user order.For this type of application scenarios, the message that under this operation flow, the state transition situation according to user's order generates successively need to be sent to message sink terminal, normally carrying out of guarantee transaction like this, if message does not arrive message sink terminal according to genesis sequence, may cause the confusion of order status, thereby this operation flow cannot normally be completed.
And find in practice process, message subscribing system generally all comprises multiple message-oriented middleware servers, data publish server is in the time sending message, do not consider operation flow and message sink terminal that this message is corresponding, the message sending from data publish server may arrive different message-oriented middleware servers, and each message-oriented middleware server is being received after message, can as early as possible this message be sent, therefore, the message transmission flow of realizing based on conventional message ordering system, order and the data publish server that exists message sink terminal to receive multiple message of same operation flow sends the inconsistent problem of order of each message, thereby cause operation flow confusion even cannot normally carry out.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of message subscribing system and message method, and the order and the data publish server that receive multiple message of same operation flow for solving message sink terminal that prior art exists send the inconsistent problem of order of each message.
The embodiment of the present application is achieved through the following technical solutions:
According to the embodiment of the present application aspect, a kind of message method is provided, comprising:
What the first message-oriented middleware server receipt message publisher server sent carries the message of the message sending order information of classification logotype and correspondence, and the described message receiving is saved to desired location; Wherein, the corresponding same operation flow of multiple message and the same message sink terminal of corresponding same classification logotype, and send according to corresponding message sending order in described data publish server;
The second message-oriented middleware server determines that described desired location exists after the message that needs current transmission, obtain described message, and determining that described message meets after the message transmission condition of setting, the sending order information of carrying according to described message, is sent to the message sink terminal corresponding with described classification logotype by described message.
According to another aspect of the embodiment of the present application, a kind of message subscribing system is also provided, comprising:
Data publish server, be used to multiple message of corresponding same operation flow and same message sink terminal to distribute same classification logotype, and the described classification logotype distributing and message sending order information corresponding to this message are carried in described message according to corresponding message sending order transmission;
The first message-oriented middleware server, for the message of carrying classification logotype and corresponding message sending order information that receives that described data publish server sends, and is saved to desired location by the described message receiving;
The second message-oriented middleware server, for determining that described desired location exists after the message that needs current transmission, obtain described message, and determining that described message meets after the message transmission condition of setting, the sending order information of carrying according to described message, is sent to the message sink terminal corresponding with described classification logotype by described message.
Above-mentioned at least one technical scheme providing by the embodiment of the present application, what the first message-oriented middleware server receipt message publisher server sent carries the message of the message sending order information of classification logotype and correspondence, and the message of reception is saved to desired location; Wherein, the corresponding same operation flow of multiple message and the same message sink terminal of corresponding same classification logotype, and send according to corresponding message transmission sequence message in data publish server; The second message-oriented middleware server determines that this desired location exists after the message that needs current transmission, obtain this message, and determining that this message meets after the message transmission condition of setting, the sending order information of carrying according to this message, is sent to the message sink terminal corresponding with this classification logotype by this message.According to this technical scheme, data publish server is this message distribution classification logotype according to operation flow corresponding to this message and message sink terminal in the time sending message, the first message-oriented middleware server is preserved receiving after message, determining that by the second message-oriented middleware server this message meets after the message transmission condition of setting, and sends this message according to the sending order of this message.Thereby make message sink terminal can send according to data publish server the order of each message that this classification logotype is corresponding, receive each message of corresponding same operation flow.
The application's further feature and advantage will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the application.The application's object and other advantages can be realized and be obtained by specifically noted structure in write specification, claims and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used to provide further understanding of the present application, and forms a part for specification, is used from explanation the application with the embodiment of the present application one, does not form the restriction to the application.In the accompanying drawings:
Fig. 1 is message subscribing system schematic of the prior art;
Fig. 2 realizes the flow chart that subscribe message sends in prior art;
The message subscribing system schematic that Fig. 3 provides for the application's system embodiment;
The message transmission flow figure that Fig. 4 provides for the inventive method embodiment;
The message transmission flow figure that Fig. 5 provides for the inventive method embodiment mono-;
The message transmission flow figure that Fig. 6 provides for the inventive method embodiment bis-;
The another message transmission flow figure that Fig. 7 provides for the inventive method embodiment bis-;
The message transmission flow figure that Fig. 8 provides for the inventive method embodiment tri-.
Embodiment
Ensure that in order to provide order and data publish server that message sink terminal receives multiple message of same operation flow send the implementation of the sequence consensus of each message, the embodiment of the present application provides a kind of message subscribing system and message method, this technical scheme can be applied to the process that subscribe message sends, both can be implemented as a kind of system, also can be implemented as a kind of method.Below in conjunction with Figure of description, the application's preferred embodiment is described, should be appreciated that preferred embodiment described herein is only for description and interpretation the application, and be not used in restriction the application.And in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.
System embodiment
The application's system embodiment provides a kind of message subscribing system, and as shown in Figure 3, this message subscribing system comprises:
Data publish server 301, the first message-oriented middleware server 302 (may be many, shown in figure two as example), the second message-oriented middleware server 303 (may be many, shown in figure two as example).In this system, the first message-oriented middleware server 302 is mainly used in receipt message, and the second message-oriented middleware server 303 is mainly used in sending message.
Wherein:
Data publish server 301, send according to the genesis sequence of message for the message that same operation flow is produced, in the message of transmission, carry the address information of message sink terminal, classification logotype and sending order information corresponding to this message for this message generation;
The first message-oriented middleware server 302, the message of carrying classification logotype and sending order sending for receipt message publisher server 301, and the message of reception is saved to desired location;
The second message-oriented middleware server 303, for determining that desired location exists after the message that needs current transmission, obtain this message, and in the time determining that this message meets the message transmission condition of setting, send this message to corresponding message sink terminal according to sending order corresponding to this message.
Particularly, in the message that data publish server 301 sends, the sending order information of message is for identifying the sending order of this message in corresponding operation flow, also be the genesis sequence of message, the sending order information of message can be the order label corresponding according to the actual sending order of message, can be also message type information (in operation flow, the sending order of all types of message is normally fixing).
Particularly, the classification logotype that data publish server 301 generates is for operation flow corresponding to identification message, be that data publish server 301 is before sending message, for multiple message of the same operation flow of correspondence are distributed same classification logotype, in practical application, the form of classification logotype can be set flexibly, as long as ensure that the message of corresponding same operation flow has identical classification logotype, the message of corresponding different business flow process has different classification logotypes.In practical application, the classification logotype of message can be the cryptographic Hash obtaining according to the associated information calculation of the corresponding operation flow of message.
Particularly, the second message-oriented middleware server 303, determining that this message meets the message of setting and sends condition, and sends this message according to sending order corresponding to this message, can be in the following way:
Mode one:
Preserve this message, determining (message of setting sends condition) after obtaining with this message of obtaining all message that are same classification logotype, the sending order Information generation transmit queue carrying according to each message of corresponding this classification logotype, and send successively message.
Mode two:
In message transmitting process, safeguard that a message sends record, receive after this message, send record by searching this message, determining that the message before the sending order of sending order in this message all sends (message of setting sends condition), send this message, otherwise first preserve this message, after waiting for that the message of sending order before the sending order of this message is all sent, send this message.
In message subscribing system shown in Fig. 3, the quantity of the second message-oriented middleware server 303 can dynamically be adjusted according to the quantity of the message that in the unit interval, data publish server 301 sends, for example, when the quantity of the message that data publish server 301 sends within certain period exceedes the first setting threshold, can increase the quantity of this message subscribing system kind the second message-oriented middleware server 303, to improve the promptness that subscribe message is sent; The quantity of the subscribe message that data publish server 301 sends within certain period is during lower than the second setting threshold, can reduce the quantity of this message subscribing system kind the second message-oriented middleware server 303, to avoid the idle of server resource, improve the utilance of server resource.Preferably, the size of the first setting threshold and the second setting threshold can be determined according to the quantity N of treatable message within the unit interval of the quantity M of the second message-oriented middleware server 303 and each the second message-oriented middleware server 303.For example, this first setting threshold can equal M*N or be slightly larger than M*N or be slightly less than M*N; This second setting threshold can equal (M-1) * N or be slightly larger than (M-1) * N or be slightly less than (M-1) * N, if the quantity of the message that in the unit interval, data publish server 301 sends is greater than the sum (i.e. the first setting threshold) of 303 treatable message of all the second message-oriented middleware servers, can increase the quantity of the second message-oriented middleware server 303 in message subscribing system; If the quantity of the message that data publish server 301 sends in the unit interval is less than the sum (i.e. the second setting threshold) of 303 energy processing messages of all the second message-oriented middleware servers in the situation that reducing by a second message-oriented middleware server 303, can reduce the quantity of the second message-oriented middleware server 303 in message subscribing system.Should be understood that, be only to implement giving an example of the preferred embodiment of the present invention for the value of the first setting threshold and the second setting threshold herein, in practical application, this first setting threshold and the second setting threshold can arrange flexibly, as long as the subscribe message that in can guarantor unit's time, data publish server 301 sends can be processed in time, and can not cause subscribe message to overstock or the second message-oriented middleware server 303 resources by a large amount of wastes.
According to the difference that in the embodiment of the present application, the first message-oriented middleware server 302 is preserved the desired location of the message receiving, the processing procedure of the second message-oriented middleware server 303 correspondences is also different, particularly, the first message-oriented middleware server 302 is preserved the message receiving and can be adopted following either type:
Mode one
The message of reception is saved to local memory device, for example, local hard drive etc.
Mode two
The message of reception is saved to the message storage server for storing message of setting, this message storage server has higher configuration conventionally, and the reliability of preserving message is higher.
Mode three
Determine reliability requirement corresponding to message receiving, in the time that reliability requirement meets setting reliability requirement, this message is saved to message storage server, otherwise, this message is saved to local memory device.Wherein, setting reliability requirement can arrange according to practical business demand, for example, the message producing for important service flow process, can select to be stored to message storage server to ensure the reliability of message stores, the reliability requirement of setting can be classification logotype corresponding to this type of important service flow process.
Below in conjunction with different system embodiments, the detailed implementation procedure of message ordering system is described.
System embodiment one
In this system embodiment one, the first message-oriented middleware server 302 that the system shown in Fig. 3 comprises specifically for: the message of reception is saved to local memory device (the first message-oriented middleware server 302 is preserved the message receiving and adopted aforesaid way one).
In this system embodiment one, due to the first message-oriented middleware server 302 be by receive message stores in local memory device, based on this, the first message-oriented middleware server 302 is being preserved after the message receiving, also need to send message to the second message-oriented middleware server 303 and send notice, notify the second message-oriented middleware server 303 to have message to need to send.
This first message-oriented middleware server 302 sends when informing function realizing message, specifically for:
Corresponding relation according to each the second message-oriented middleware server 303 of preserving with classification logotype, send message to the second message-oriented middleware server 303 corresponding to the classification logotype carrying with this message receiving and send notice, this message sends the stored position information that notice comprises this message.
This first message-oriented middleware server 302 sends more detailed handling process related when informing function by describing in detail in the follow-up embodiment of the method corresponding with this system embodiment realizing message, wouldn't describe herein.
The second message-oriented middleware server 303 that system shown in Fig. 3 comprises, specifically for:
Send after notice receiving the message that the first message-oriented middleware server 302 sends, define message to be sent, and send according to this message the stored position information that notice comprises, obtain this message.
Based on above-mentioned processing mode, this the second message-oriented middleware server 303 adopts passive mode to obtain message, pass through which, the message that the second message-oriented middleware server 303 can send based on the first message-oriented middleware server 302 sends notice, obtain in time this message and process, thus processing messages in time.
According to the embodiment of the present application one, the second message-oriented middleware server 303 is getting after the message that needs to send, need in the time that meeting setting transmission condition, definite this message just send this message, particularly, the second message-oriented middleware server 303, set transmission condition adopting aforesaid way one to determine that this message meets, and while sending this message according to sending order corresponding to this message, specifically for:
According to the message number corresponding to mark difference of all categories of preserving, in the time that message number corresponding to definite current classification logotype the getting message number corresponding with the current classification logotype of preservation is consistent, determine after obtaining with this message of obtaining all message that are same classification logotype, this message meets the transmission condition of setting, and further sends each message according to the sending order information of carrying in each message corresponding to the current classification logotype obtaining.
More detailed handling process related when this second message-oriented middleware server 303 is stated arbitration functions in realization, by describing in detail in the follow-up embodiment of the method corresponding with this system embodiment, wouldn't be described herein.
In the time determining that the message receiving meets the transmission condition of message, further send all message of corresponding same classification logotype according to the embodiment of the present application one, the second message-oriented middleware server 303 according to setting order.Particularly, the second message-oriented middleware server 303, in the time realizing message sending function, specifically for:
Obtain the message sending order information of carrying in each message that this classification logotype is corresponding;
The message sending order information corresponding according to each message of obtaining, sends each message successively.Particularly, if the message sending order information of obtaining is the order label corresponding with the sending order of message, label sends each message successively in order, for example, the order label corresponding with the sending order of message is 1,2 ... 5, first sends the message that corresponding order label is 1, last transmission of message that corresponding order label is 5; If the message type information that the message sending order information of obtaining is message, the each message type information corresponding according to the mark of all categories of preserving, determines the sending order of type of message corresponding to the message obtained, and sends this message according to definite order.
More detailed handling process related when this second message-oriented middleware server 303 is stated message sending function in realization, by describing in detail in the follow-up embodiment of the method corresponding with this system embodiment, wouldn't be described herein.
The technical scheme providing based on this system embodiment one, the first message-oriented middleware server 302 is receiving after the message that data publish server 301 sends, this message is kept to local memory device, and preserving after message, notifies in time the second message-oriented middleware server 303 to process.This second message-oriented middleware server 303 sends after notice receiving the message that the first message-oriented middleware server 302 sends, obtain this message, and in the time that this message meets message transmission condition, send this message, thereby ensure that message sink terminal can receive each message by the sending order in data publish server 301 according to message.
System embodiment two
In this system embodiment two, the first message-oriented middleware server 302 that system shown in Fig. 3 comprises specifically for: the message of reception is saved to message storage server, this message storage server can be for being independent of the server of each the first message-oriented middleware server 302, for storing message (the first message-oriented middleware server 302 is preserved the message receiving and adopted aforesaid way two).
Alternatively, this first message-oriented middleware server 302 also for: to the second message-oriented middleware server 303 send message send notice, notify the second message-oriented middleware server 303 have message need send.The detailed process of this first message-oriented middleware server 302 in the time realizing message transmission informing function described in detail in said system embodiment mono-, repeats no more herein.
In the situation that the first message-oriented middleware server 302 sends message transmission notice, the second message-oriented middleware server 303 that the system shown in Fig. 3 comprises, specifically for:
Send after notice receiving the message that the first message-oriented middleware server 302 sends, define message to be sent, and send according to this message the stored position information that notice comprises, obtain this message.
Based on above-mentioned processing mode, this the second message-oriented middleware server 303 adopts passive mode to obtain message, pass through which, the message that the second message-oriented middleware server 303 can send based on the first message-oriented middleware server 302 sends notice, obtain in time this message and process, thereby having improved the promptness of Message Processing.
In this system embodiment two, because the first message-oriented middleware server 302 is that all message that receive are all sent in same message storage server, therefore, this the first message-oriented middleware server 302 is being preserved after the message receiving, can be not do not send notice for the every a piece of news receiving to the second message-oriented middleware server 303, but by the second message-oriented middleware server 303 periodic polls message storage server to determine whether to need the message of current transmission.Adopt which, can reduce the signaling consumption between the first message-oriented middleware server 302 and the second message-oriented middleware server 303, especially more in the quantity of the first message-oriented middleware server 302, and in the more situation of message receiving, be more suitable for adopting which.
Particularly, the second message-oriented middleware server 303, specifically in the following way one or mode two defining need current transmission message:
Mode one
This message storage server of periodic polls, if preserve the message not being sent out in message storage server, the message of preserving according to this message storage server sends record, determines whether this message not being sent out is the message that needs current transmission.Particularly, this message sends record, comprising: the classification logotype of the message being acquired and the corresponding relation of mark of the second message-oriented middleware server 303 that obtains this message.Correspondingly, the message of preserving according to this message storage server sends record, determines whether this message not being sent out is the message that needs current transmission, that is:
If message sends relative recording corresponding to classification logotype that has this message not being sent out in record, further determine according to this record whether the mark of the second message-oriented middleware server 303 corresponding with this classification logotype is self identification, if, determine that this message is need the message of current transmission and obtain, if not, determine that this message is not the message that needs current transmission;
If message sends relative recording corresponding to classification logotype that does not have this message not being sent out in record, determine that this message is need the message of current transmission and obtain.
In practical application, adopt which, if class indication classification logotype is that cryptographic Hash is (if not cryptographic Hash, can calculate a cryptographic Hash by hash algorithm), the gamut that can in advance all class indication classification logotypes be formed is divided into many sections, when the message of the second message-oriented middleware server 303 in each polling message storage server, in the current section not locked by other the second message-oriented middleware server 303, select at least one section, and lock the section of this selection, and the second message-oriented middleware server 303 afterwards just can not have been selected blocked these sections again.Which has ensured there will not be has message to repeat situation about sending.And, on this basis, each the second message-oriented middleware server 303 can the current cluster of regular check in the quantity of the second message-oriented middleware server 303, and the quantity of the own segmentation locking, if exceeded the quantity of average segmentation, the section of release portion locking, allow other the second message-oriented middleware server 303 process, to reach the equilibrium of load, on the one hand, also can check and oneself whether need to bear the task of more segmentation in addition.
Adopt aforesaid way one, the situation that processing messages class indication classification logotype increases or reduces more neatly, thus realize neatly the load balancing in message subscribing system.
Mode two
This message storage server of periodic polls, if the classification logotype that the message that this message storage server is preserved is carried belongs to the classification logotype distributing for this second message-oriented middleware server 303 in advance, defines the message that needs current transmission.
In practical application, adopt which, if class indication classification logotype is that cryptographic Hash is (if not cryptographic Hash, can calculate a cryptographic Hash by hash algorithm), the gamut that can in advance all class indication classification logotypes be formed is divided into many sections, and distribute segmentation to be processed for each the second message-oriented middleware server 303 in advance, realize simple, reliable.
According to the embodiment of the present application two, the second message-oriented middleware server 303 is getting after the message that needs to send, need to judge whether this message meets the transmission condition of setting, and in the time judging that this message meets the transmission condition of setting, send this message according to the sending order of this message, the related detailed process of this process is described in detail in said system embodiment mono-, repeats no more herein.
The technical scheme providing according to the application's system embodiment two, the first message-oriented middleware server 302, receiving after the message that data publish server 301 sends, is kept at this message in message storage server, with facilitate to the unified management of message with obtain.This first message-oriented middleware server 302 can be selected to send message to the second message-oriented middleware server 303 and send notice, with the promptness that ensures that message sends, also can not send message and send notice, to reduce the signaling consumption between the first message-oriented middleware server 302 and the second message-oriented middleware server 303.This second message-oriented middleware server 303 can obtain this message receiving after message that the first message-oriented middleware server 302 sends sends notice, or while determining the message of preserving the current transmission of needs in this message storage server by periodic polls message storage server, obtain this message, and meet when the message of setting sends condition and send this message in this message, thereby ensure that message sink terminal can receive each message by the sending order in data publish server 301 according to message.
System embodiment three
In this system embodiment three, the first message-oriented middleware server 302 that system shown in Fig. 3 comprises specifically for: determine receive reliability requirement corresponding to message, in the time meeting the reliability requirement of setting, this message is saved to message storage server, otherwise, this message is saved to local memory device (the first message-oriented middleware server 302 is preserved the message receiving and adopted aforesaid way three).
This first message-oriented middleware server 302 related more detailed handling process in the time determining the memory location of message, by describing in detail in the follow-up embodiment of the method corresponding with this system embodiment, wouldn't be described herein.
On this basis, this first message-oriented middleware server 302 also for:
Send message to the second message-oriented middleware server 303 and send notice, notify the second message-oriented middleware server 303 to have message to need to send.The detailed process of this first message-oriented middleware server 302 in the time realizing message transmission informing function described in detail in said system embodiment mono-, repeats no more herein.
In this embodiment tri-, the concrete function that the second message-oriented middleware server 303 that the system shown in Fig. 3 comprises is realized is consistent with the concrete function that the second message-oriented middleware server 303 described in above-described embodiment one is realized, and repeats no more herein.
The technical scheme providing based on this system embodiment three, reaching on the basis of the technique effect described in said system embodiment mono-, because the first message-oriented middleware server 302 in this embodiment is receiving after message, can, further for the reliability of this message requirement, select flexibly the memory location of message.Have relatively high expectations at message reliability, while meeting the reliability requirement of setting, can select this message to be saved to the message storage server that is specifically designed to storing message, to improve the fail safe of message; Lower in message reliability requirement, while not meeting the reliability requirement of setting, can select this message to be kept at local memory device, preserve the spent Internet resources of message to reduce, and the efficiency of preserving message can be provided.
In the said system embodiment that the application provides, by receipt message in message-oriented middleware server is separated with the responsibility that sends message, born the responsibility of receipt message by the first message-oriented middleware server 302, be responsible for receiving message and being saved to designated storage location.The first message-oriented middleware server 302 can receive the corresponding message of classification logotype arbitrarily, and such design can promote availability and the reliability of whole message subscribing system.And, be specifically designed to the main and data publish server 301 of the first message-oriented middleware server 302 of receipt message and carry out alternately, the second message-oriented middleware server 303 that is specifically designed to transmission message mainly and message sink terminal carry out alternately.Such mode, has also reduced the requirement of message subscribing system to the degree of coupling.
Embodiment of the method
Embodiment is corresponding with said system, the message method that the embodiment of the present invention also provides a kind of message subscribing system providing based on said system embodiment to realize.
As shown in Figure 4, the message method that the message subscribing system based on shown in Fig. 3 realizes, mainly comprises the steps:
Step 401, data publish server 301 send message to the first message-oriented middleware server 302 that carries classification logotype.
The message of carrying classification logotype that step 402, the first message-oriented middleware server 302 receipt message publisher servers 301 send, and the described message receiving is saved to desired location.
Step 403, the second message-oriented middleware server 303 determine that this desired location exists after message to be sent, obtain this message.
Step 404, the second message-oriented middleware server 303 are being determined after obtaining with the described message of obtaining all message that are same classification logotype, sending order according to each message of this classification logotype of correspondence of determining in data publish server 301 sides, is sent to the message sink terminal corresponding with this classification logotype by each message of corresponding this classification logotype.
Shown in Fig. 4, in the step 401 of flow process, data publish server 301, need to be for distributing classification logotype and this classification logotype being carried in message and being sent together in the time sending message in this message, and the distribution principle of this classification logotype is as follows:
The corresponding same operation flow of multiple message and the same message sink terminal of corresponding same classification logotype, being the multiple message that mail to same message sink terminal and produced by an operation flow distributes same classification to identify, multiple message of the same classification logotype of this correspondence send according to setting order in data publish server 301, and this setting order is the generation order of each message in corresponding operation flow.
Particularly, whether the classification logotype that data publish server 301 distributes for message is mainly used in identifying each message is the same group of message that need to send according to setting order, therefore, this classification logotype can exist with various forms, for example, can be flow process code (as transaction number) corresponding to one section of character string, corresponding operation flow etc., the optimal way that the application provides be as follows:
Carry out Hash operation according to the flow process code of the client code of the corresponding message sink terminal of this message, the corresponding operation flow of this message, obtain a cryptographic Hash, and classification logotype using this cryptographic Hash as this message.According to which, can increase the identifier space of classification logotype, avoid the message of corresponding different messages receiving terminal or operation flow to take same classification logotype.
Shown in Fig. 4 in the step 402 of flow process, the message of carrying classification logotype that the first message-oriented middleware server 302 receipt message publisher servers 301 send, and the described message receiving is saved to desired location, comprising:
The described message receiving is saved to local memory device by the first message-oriented middleware server 302, in each the first message-oriented middleware server 302, set up the storage file for storing message, the first message-oriented middleware server 302 is receiving after the message that data publish server 301 sends, by this message stores to this storage file of setting up.Particularly, the first message-oriented middleware server 302 is receiving after message, and the classification logotype that can carry according to this message is that index is stored, so that the second message-oriented middleware server 303 obtains.Or:
The described message receiving is saved to message storage server by the first message-oriented middleware server 302, the message storage server that is specifically designed to storing message is set, the first message-oriented middleware server 302 is receiving after the message that data publish server 301 sends, by this message stores in this message storage server, to improve the fail safe of message.Particularly, the first message-oriented middleware server 302 is receiving after message, and the classification logotype that can carry according to this message is that index is stored, so that the second message-oriented middleware server 303 obtains.Or:
The first message-oriented middleware server 302 is determined reliability requirement corresponding to message receiving, and in the time that reliability requirement meets setting reliability requirement, this message is saved to message storage server, otherwise, this message is saved to local memory device.
Below in conjunction with diverse ways embodiment, the detailed implementation procedure relating in said method embodiment is described.
Embodiment of the method one
The method embodiment mono-provides the sending method of message in a kind of message subscribing system, and the concrete handling process of the method is corresponding with the system that said system embodiment mono-provides.
As shown in Figure 5, the message subscribing system providing based on said system embodiment mono-, the message method that the method embodiment mono-provides, mainly comprises the steps:
Step 501, data publish server 301 send a message to the first message-oriented middleware server 302, and wherein, this message is carried classification logotype and sending order information corresponding to this message.
The message that step 502, the first message-oriented middleware server 302 receipt message publisher servers 301 send, and the described message receiving is saved to local memory device.
Step 503, the first message-oriented middleware server 302 send message to the second message-oriented middleware server 303 and send notice, and this message sends the stored position information that notice comprises this message.
Step 504, the second message-oriented middleware server 303 receipt messages send after notice, send the message repository location information of carrying in notice according to this message, from the first message-oriented middleware server 302, obtain this message.
Step 505, the second message-oriented middleware server 303 judge whether the message of current reception meets setup message and send condition, if so, performs step 506, otherwise continue to wait for.
Step 506, the sending order information of carrying according to this message, be sent to message sink terminal by this message.
So far the flow process that, sends this message according to the corresponding classification logotype of the message receiving and sending order information finishes.
Shown in Fig. 5, in the step 501 of flow process, according to the needs that send message, in the message that this data publish server 301 sends, also carry the address of message sink terminal etc.And particularly, this message carries classification logotype and sending order information corresponding to this message is described in detail in said system embodiment, repeats no more herein.
Shown in Fig. 5 in the step 503 of flow process, the first message-oriented middleware server 302 sends message to the second message-oriented middleware server 303 and sends notice, can be preferably in the following way:
Corresponding relation according to each the second message-oriented middleware server 303 of preserving with classification logotype, send message to the second message-oriented middleware server 303 corresponding to the classification logotype carrying with this message receiving and send notice, this message sends the stored position information that notice comprises this message.
Before stating process on the implementation, need to set up in advance the corresponding relation of each the second message-oriented middleware server 303 and classification logotype, this corresponding relation is responsible for for representing each the second message-oriented middleware server 303 the corresponding classification logotype of message of processing.Setting up after this corresponding relation, this corresponding relation is kept in each first message-oriented middleware server 302, when the first message-oriented middleware server 302 receives after message, first obtain the classification logotype of this message, and determine that according to the corresponding relation of preserving the classification logotype that this message carries is corresponding with which the second message-oriented middleware server 303, and the message of this message is sent to notify send to the second message-oriented middleware server 303 of determining.
Adopt above-mentioned processing procedure, distribute transmission task for each the second message-oriented middleware server 303 in advance, be each the second message-oriented middleware server 303 and distribute classification logotype corresponding to message that needs to be responsible for transmission, according to this process, load that can balanced each the second message-oriented middleware server 303, reaches the load balancing between each server in message subscribing system.
Shown in Fig. 5 in the step 505 of flow process, the second message-oriented middleware server 303 judges whether the message of current reception meets the transmission condition of setting, can be by following process:
Mode one:
Preserve this message, determining after obtaining with this message of obtaining all message that are same classification logotype, determine that this message meets the message of setting and sends condition.
Mode two:
In message transmitting process, safeguard that a message sends record, receive after this message, send record by searching this message, determining that the message before the sending order of sending order in this message all sends, determine that this message meets the message of setting and sends condition.
Shown in Fig. 5, in the step 506 of flow process, the sending order information of carrying according to this message, is sent to message sink terminal by this message, specifically can be by following process:
According to the sending order information of carrying in each message corresponding to the current classification logotype obtaining, send each message.
Particularly, if the sending order information that message is carried is for order label, directly determines the sending order of message according to the order label of this message, and send this message according to definite sending order.If the message type information that the sending order information that message is carried is message, for example, multiple message of corresponding same operation flow have its corresponding type of message, and each type of message has its specific sending order, as in transaction business flow process, may produce the message of multiple classifications: select, buy, pay the bill, the message of these three types is all to produce according to the order of selection, purchase, payment.Therefore, the second message-oriented middleware server 303 determines that the message of current reception meets after message transmission condition, can be according to each type of message producing under operation flow corresponding to current class categories the sending order in data publish server 301 sides, also be the genesis sequence of each message, determine the sending order of each message of same classification logotype.In concrete application, the sending order information of the each message type information comprising under each operation flow can be kept in each the second message-oriented middleware server 303.
The technical scheme providing based on this system embodiment one, the first message-oriented middleware server 302 is receiving after the message that data publish server 301 sends, this message is kept to local memory device, and preserving after message, notifies in time the second message-oriented middleware server 303 to process.This second message-oriented middleware server 303 sends after notice receiving the message that the first message-oriented middleware server 302 sends, obtain this message, and in the time that this message meets message transmission condition, send this message, thereby ensure that message sink terminal can receive each message by the sending order in data publish server 301 according to message.
Embodiment of the method two
The method embodiment bis-provides the sending method of message in a kind of message subscribing system, and the concrete handling process of the method is corresponding with the system that said system embodiment bis-provides.
As shown in Figure 6, the message subscribing system providing based on said system embodiment bis-, the message method that the method embodiment bis-provides, mainly comprises the steps:
Message to the first message-oriented middleware server 302 that step 601, data publish server 301 send, wherein, this message is carried classification logotype and sending order information corresponding to this message.
The message that step 602, the first message-oriented middleware server 302 receipt message publisher servers 301 send, and the message of reception is saved to message storage server.
Step 603, the first message-oriented middleware server 302 send message to the second message-oriented middleware server 303 and send notice, and this message sends the stored position information that notice comprises this message.
Step 604, the second message-oriented middleware server 303 receipt messages send after notice, send the message repository location information of carrying in notice according to this message, obtain this message from message storage server.
Step 605, the second message-oriented middleware server 303 judge whether the message of current reception meets the message of setting and send condition, if so, performs step 606, otherwise continues to wait for.
Step 606, the sending order information of carrying according to message, be sent to message sink terminal by this message.
So far, finish according to the transmission flow of all message of the corresponding classification logotype of the message receiving.
Shown in Fig. 6, in the step 601 of flow process, according to the needs that send message, in the message that this data publish server 301 sends, also carry the address of message sink terminal etc.And particularly, this message carries classification logotype and sending order information corresponding to this message is described in detail in said system embodiment, repeats no more herein.
The concrete implementation of the step 503 in concrete implementation and the said method embodiment mono-of the step 603 of flow process shown in Fig. 6 is basically identical, repeats no more herein.
The concrete implementation of the step 505 in concrete implementation and the said method embodiment mono-of the step 605 of flow process shown in Fig. 6 is basically identical, repeats no more herein.
The concrete implementation of the step 506 in concrete implementation and the said method embodiment mono-of the step 606 of flow process shown in Fig. 6 is basically identical, repeats no more herein.
The message transmission flow that the application's embodiment of the method two also provides the another kind of message subscribing system providing based on said system embodiment bis-to realize, as shown in Figure 7, this message transmitting process, mainly comprises the steps:
Step 701, data publish server 301 send a message to the first message-oriented middleware server 302.
The message that step 702, the first message-oriented middleware server 302 receipt message publisher servers 301 send, and the described message receiving is saved to message storage server.
Whether step 703, the second message-oriented middleware server 303 periodic polls message storage server, judge in this message storage server and preserve and need current transmission message, if so, perform step 704 to step 706, if not, wait for next polling cycle.
Step 704, the second message-oriented middleware server 303 obtain this message from message storage server.
Step 705, the second message-oriented middleware server 303 judge whether the message of current reception meets the message of setting and send condition, if so, performs step 706, otherwise continues to wait for.
Step 706, the sending order information of carrying according to this message, be sent to message sink terminal by this message.
So far, finish according to the transmission flow of all message of the corresponding classification logotype of the message receiving.
The step 701 of flow process, step 702 and step 704 shown in Fig. 7 are basically identical to the concrete implementation of step 606 with step 601, step 602 and the step 604 of above-mentioned flow process respectively to the concrete implementation of step 706, repeat no more herein.
Shown in Fig. 7 in the step 703 of flow process, the second message-oriented middleware server 303 periodic polls message storage server, judge that the process of whether preserving the message that needs current transmission in this message storage server describes in detail in said system embodiment, repeat no more herein.
The technical scheme providing according to the application's embodiment of the method two, the first message-oriented middleware server 302, receiving after the message that data publish server 301 sends, is kept at this message in message storage server, with facilitate to the unified management of message with obtain.This first message-oriented middleware server 302 can be selected to send message to the second message-oriented middleware server 303 and send notice, with the promptness that ensures that message sends, also can not send message and send notice, to reduce the signaling consumption between the first message-oriented middleware server 302 and the second message-oriented middleware server 303.This second message-oriented middleware server 303 can obtain this message receiving after message that the first message-oriented middleware server 302 sends sends notice, or while determining the message of preserving the current transmission of needs in this message storage server by periodic polls message storage server, obtain this message, and meet when the message of setting sends condition and send this message in this message, thereby ensure that message sink terminal can receive each message by the sending order in data publish server 301 according to message.
Embodiment of the method three
The method embodiment tri-provides the sending method of message in a kind of message subscribing system, and the concrete handling process of the method is corresponding with the system that said system embodiment tri-provides.
As shown in Figure 8, the message subscribing system providing based on said system embodiment tri-, the message method that the method embodiment tri-provides, mainly comprises the steps:
Step 801, data publish server 301 send a message to the first message-oriented middleware server 302, and wherein, this message is carried classification logotype and sending order information corresponding to this message.
The message that step 802, the first message-oriented middleware server 302 receipt message publisher servers 301 send, determines the memory location of this message.
Step 803, the first message-oriented middleware server 302 are kept at this message the memory location (local memory device or message stores database) of determining.
Step 804, the first message-oriented middleware server 302 send message to the second message-oriented middleware server 303 and send notice, and this message sends the stored position information that notice comprises this message.
Step 805, the second message-oriented middleware server 303 receipt messages send after notice, send the message repository location information of carrying in notice according to this message, obtain this message from corresponding message repository location.
Step 806, the second message-oriented middleware server 303 judge whether the message of current reception meets the message of setting and send condition, if so, performs step 807, otherwise continues to wait for.
Step 807, the sending order information of carrying according to this message, be sent to message sink terminal by this message.
The step 804 of flow process shown in Fig. 8 to the concrete implementation of step 807 respectively with said method embodiment mono-in step 503 basically identical to the concrete implementation of step 506, repeat no more herein.
Shown in Fig. 8 in the step 803 of flow process, the first message-oriented middleware server 302 is determined the memory location of these message, can be preferably in the following way:
The first message-oriented middleware server 302 is determined reliability requirement corresponding to message receiving, and in the time that reliability requirement meets setting reliability requirement, this message is saved to message storage server, otherwise, this message is saved to local memory device.Particularly, each operation flow has different requirements to the reliability of message, receiving after message, can determine that the operation flow at place is for the rank that requires of message reliability according to the classification logotype of message, and the satisfied reliability requirement message of setting reliability requirement is sent to message storage server.In a preferred implementation, be to improve processing speed, the classification logotype list that can set up in advance the message high to reliability requirement, in the time that the classification logotype that carries of message receiving is in this list, determines that this message need to be sent to message storage server.
The technical scheme providing based on the method embodiment tri-, reaching on the basis of the technique effect described in said method embodiment mono-, because the first message-oriented middleware server 302 in this embodiment is receiving after message, can, further for the reliability of this message requirement, select flexibly the memory location of message.In the time that message reliability is had relatively high expectations, can select this message to be saved to the message storage server that is specifically designed to storing message, to improve the fail safe of message; In the time that message reliability requirement is lower, can select this message to be kept at local memory device, in reducing the spent Internet resources of preservation message, improve the efficiency of preserving message.
Above-mentioned at least one technical scheme providing by the embodiment of the present application, the message of carrying classification logotype and sending order that the first message-oriented middleware server 302 receipt message publisher servers 301 send, and the message of reception is saved to desired location; Wherein, the corresponding same operation flow of multiple message and the same message sink terminal of corresponding same classification logotype, and send according to corresponding sending order in data publish server 301; The second message-oriented middleware server 303 determines that this desired location existence needs after current transmission message, obtain this message, and determining that this message meets after the transmission condition of setting, the sending order information of carrying according to this message, is sent to the message sink terminal corresponding with this classification logotype by this message.According to this technical scheme, data publish server 301 is this message distribution classification logotype according to operation flow corresponding to this message and message sink terminal in the time sending message, the first message-oriented middleware server 302 is preserved receiving after message, determining that by the second message-oriented middleware server 303 this message meets after the message transmission condition of setting, and sends this message.Thereby make message sink terminal according to the order of each message corresponding to data publish server 301 these classification logotypes of transmission, to receive each message of corresponding same operation flow.
The application is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present application, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and the spirit and scope that do not depart from the application to the application.Like this, if these amendments of the application and within modification belongs to the scope of the application's claim and equivalent technologies thereof, the application is also intended to comprise these changes and modification interior.

Claims (13)

1. a message method, is characterized in that, comprising:
What the first message-oriented middleware server receipt message publisher server sent carries the message of the message sending order information of classification logotype and correspondence, and the described message receiving is saved to desired location; Wherein, the corresponding same operation flow of multiple message and the same message sink terminal of corresponding same classification logotype, and send according to corresponding message sending order information in described data publish server;
The second message-oriented middleware server determines that described desired location exists after the message that needs current transmission, obtain described message, and determining that described message meets after the message transmission condition of setting, the sending order information of carrying according to described message, is sent to the message sink terminal corresponding with described classification logotype by described message.
2. the method for claim 1, is characterized in that, the described message receiving is saved to desired location by the first message-oriented middleware server, comprising:
The described message receiving is saved to local memory device by the first message-oriented middleware server; Or
The described message receiving is saved to message storage server by the first message-oriented middleware server; Or
The first message-oriented middleware server is determined reliability requirement corresponding to described message receiving, and in the time that reliability requirement requires higher than setting, described message is saved to message storage server, otherwise, described message is saved to local memory device.
3. the method for claim 1, is characterized in that, described the first message-oriented middleware server is saved to the described message receiving after desired location, also comprises:
According to each the second message-oriented middleware server of preserving and the corresponding relation of classification logotype, send message to the second message-oriented middleware server corresponding to the classification logotype carrying with the described message receiving and send notice, described message sends the stored position information that notice comprises described message.
4. method as claimed in claim 3, is characterized in that, the second message-oriented middleware server defines the message that needs current transmission, and obtains described message, comprising:
Send after notice in the message that receives described the first message-oriented middleware server transmission, define the message that needs current transmission;
Send according to described message the stored position information that notice comprises, obtain described message.
5. method as claimed in claim 2, it is characterized in that, if the position that described the first message-oriented middleware server is preserved all message that receive is described message storage server, described the second message-oriented middleware server defines the message that needs current transmission, comprising:
Message storage server described in the second message-oriented middleware server periodic polls, if the message of preserving according to described message storage server sends record, determine and in described message storage server, preserve message that the classification logotype that is not sent out is corresponding or the classification logotype corresponding message corresponding with self identification, define the message that needs current transmission; Wherein, described message sends the corresponding relation that record comprises the classification logotype of the message being sent out and obtains the mark of the second message-oriented middleware server of this message; Or
Message storage server described in the second message-oriented middleware server periodic polls, if it is the classification logotype of described the second message-oriented middleware server-assignment in advance that the classification logotype that the message that described message storage server is preserved is carried belongs to, define the message that needs current transmission.
6. method as claimed in claim 5, is characterized in that, described classification logotype is the numerical value definite by hash algorithm.
7. the method for claim 1, is characterized in that, determines that described message meets the mode of the message transmission condition of setting, and comprising:
Determining after obtaining with the described message of obtaining all message that are same classification logotype, determine that described message meets the message of setting and sends condition; Or
Send record according to the message of preserving, determine that the message of sending order before the sending order of the described message of obtaining is sent, determine that described message meets the message of setting and sends condition.
8. a message subscribing system, is characterized in that, comprising:
Data publish server, be used to multiple message of corresponding same operation flow and same message sink terminal to distribute same classification logotype, and the described classification logotype distributing and message sending order information corresponding to this message are carried in described message according to corresponding message sending order transmission;
The first message-oriented middleware server, for the message of carrying classification logotype and corresponding message sending order information that receives that described data publish server sends, and is saved to desired location by the described message receiving;
The second message-oriented middleware server, for determining that described desired location exists after the message that needs current transmission, obtain described message, and determining that described message meets after the message transmission condition of setting, the sending order information of carrying according to described message, is sent to the message sink terminal corresponding with described classification logotype by described message.
9. system as claimed in claim 8, is characterized in that, the first message-oriented middleware server, specifically for:
The described message receiving is saved to local memory device; Or
The described message receiving is saved to message storage server; Or
Determine reliability requirement corresponding to described message receiving, in the time that reliability requirement requires higher than setting, described message is saved to message storage server, otherwise, described message is saved to local memory device.
10. system as claimed in claim 8, is characterized in that, described the first message-oriented middleware server, also for:
The described message receiving is being saved to after desired location, according to each the second message-oriented middleware server of preserving and the corresponding relation of classification logotype, send message to the second message-oriented middleware server corresponding to the classification logotype carrying with the described message receiving and send notice, described message sends the stored position information that notice comprises described message.
11. systems as claimed in claim 10, is characterized in that, described the second message-oriented middleware server, specifically for:
Send after notice in the message that receives described the first message-oriented middleware server transmission, define the message that needs current transmission, and send and notify the stored position information comprising according to described message, obtain described message.
12. systems as claimed in claim 9, is characterized in that, described the second message-oriented middleware server, specifically for:
When the position of preserving all message that receive at described the first message-oriented middleware server is described message storage server, message storage server described in periodic polls, if the message of preserving according to described message storage server sends record, determine and in described message storage server, preserve message that the classification logotype that is not sent out is corresponding or the classification logotype corresponding message corresponding with self identification, define the message that needs current transmission; Wherein, described message sends the corresponding relation that record comprises the classification logotype of the message being sent out and obtains the mark of the second message-oriented middleware server of this message; Or
When the position of preserving all message that receive at described the first message-oriented middleware server is described message storage server, message storage server described in periodic polls, if it is the classification logotype of described the second message-oriented middleware server-assignment in advance that the classification logotype that the message that described message storage server is preserved is carried belongs to, define the message that needs current transmission.
13. systems as described in right 8, is characterized in that, described the second message-oriented middleware server, specifically for:
Determining after obtaining with the described message of obtaining all message that are same classification logotype, determine that described message meets the message of setting and sends condition; Or
Send record according to the message of preserving, determine that the message of sending order before the sending order of the described message of obtaining is sent, determine that described message meets the message of setting and sends condition.
CN201010532567.5A 2010-11-01 2010-11-01 Message subscription system and message sending method Active CN102469033B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010532567.5A CN102469033B (en) 2010-11-01 2010-11-01 Message subscription system and message sending method
HK12107181.0A HK1166572A1 (en) 2010-11-01 2012-07-23 System for subscribing a message and method for transmitting a message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010532567.5A CN102469033B (en) 2010-11-01 2010-11-01 Message subscription system and message sending method

Publications (2)

Publication Number Publication Date
CN102469033A CN102469033A (en) 2012-05-23
CN102469033B true CN102469033B (en) 2014-08-06

Family

ID=46072223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010532567.5A Active CN102469033B (en) 2010-11-01 2010-11-01 Message subscription system and message sending method

Country Status (2)

Country Link
CN (1) CN102469033B (en)
HK (1) HK1166572A1 (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932941B (en) * 2012-11-05 2019-05-31 北京奇虎科技有限公司 A kind of distributed message processing system and device and method therein
CN102955717B (en) * 2012-11-05 2015-05-20 北京奇虎科技有限公司 Message management equipment and method in distributed message processing system
CN103034541B (en) * 2012-11-16 2016-09-28 北京奇虎科技有限公司 A kind of distributed information system and equipment therein and method
CN103034540B (en) * 2012-11-16 2016-05-04 北京奇虎科技有限公司 Distributed information system and equipment thereof and coordination approach
CN104079614B (en) * 2013-03-29 2017-09-12 国际商业机器公司 The method and system obtained in order for distributed post ordering system message
CN103166975A (en) * 2013-04-03 2013-06-19 上海航天测控通信研究所 Data distribution service (DDS) communication system
CN104348573B (en) * 2013-07-25 2019-03-15 中兴通讯股份有限公司 A kind of method, system and device of Transmission system information
CN105447023B (en) * 2014-08-25 2019-02-05 阿里巴巴集团控股有限公司 Service identification generation method and device
CN105591877A (en) * 2014-10-23 2016-05-18 阿里巴巴集团控股有限公司 Method, device and system for service message transmission
CN104468330B (en) * 2014-12-03 2018-09-18 北京国双科技有限公司 The data processing method and device of Distributed Message Queue system
WO2016106606A1 (en) * 2014-12-30 2016-07-07 华为技术有限公司 Data sending and receiving apparatus and method, and terminal device
CN104899277B (en) * 2015-05-29 2018-08-10 北京京东尚科信息技术有限公司 A kind of message distributing method and device
CN106487569B (en) * 2015-09-02 2019-10-22 菜鸟智能物流控股有限公司 Service message processing method and device
CN106230922A (en) * 2016-07-28 2016-12-14 上海斐讯数据通信技术有限公司 A kind of news subscribing method, message production unit and message reception units
CN106911766A (en) * 2017-01-23 2017-06-30 北京思特奇信息技术股份有限公司 A kind of method for message transmission
CN107656825A (en) * 2017-09-01 2018-02-02 上海艾融软件股份有限公司 Message treatment method, apparatus and system
CN109922104B (en) * 2017-12-12 2022-02-25 菜鸟智能物流控股有限公司 Message sending method and related equipment
CN108228363A (en) * 2017-12-22 2018-06-29 中国银联股份有限公司 A kind of message method and device
CN108712501B (en) * 2018-05-28 2023-04-07 腾讯科技(北京)有限公司 Information sending method and device, computing equipment and storage medium
CN110968431B (en) * 2018-09-28 2023-06-20 阿里巴巴集团控股有限公司 Message processing method, device and equipment
CN109656984A (en) * 2018-12-21 2019-04-19 树根互联技术有限公司 Data rule management system, method and apparatus
CN109783258B (en) * 2019-02-21 2021-02-23 北京奇艺世纪科技有限公司 Message processing method and device and server
CN111200653B (en) * 2019-12-31 2022-08-12 深圳市科漫达智能管理科技有限公司 Multi-platform communication method, multi-platform communication device and intermediate server
CN111988391A (en) * 2020-08-14 2020-11-24 网联清算有限公司 Message sending method and device
CN112134965B (en) * 2020-11-24 2021-02-26 树根互联技术有限公司 Issuing method and device of Internet of things instruction and electronic equipment
CN113271337B (en) * 2021-04-22 2023-08-18 深圳蓝蛙网络技术有限公司 Method and device for subscribing computer message

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217558A (en) * 2007-12-26 2008-07-09 中国移动通信集团湖北有限公司 An operation middleware service load balancing method
CN101668031A (en) * 2008-09-02 2010-03-10 阿里巴巴集团控股有限公司 Message processing method and message processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050261923A1 (en) * 2004-05-21 2005-11-24 International Business Machines Corporation Method and apparatus for model based subscriptions for a publish/subscribe messaging system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217558A (en) * 2007-12-26 2008-07-09 中国移动通信集团湖北有限公司 An operation middleware service load balancing method
CN101668031A (en) * 2008-09-02 2010-03-10 阿里巴巴集团控股有限公司 Message processing method and message processing system

Also Published As

Publication number Publication date
HK1166572A1 (en) 2012-11-02
CN102469033A (en) 2012-05-23

Similar Documents

Publication Publication Date Title
CN102469033B (en) Message subscription system and message sending method
CN112513813B (en) Performing auxiliary functions in an on-demand network code execution system
US20200177572A1 (en) Sending cross-chain authenticatable messages
CN107729139B (en) Method and device for concurrently acquiring resources
CN101616083B (en) Message forwarding method and device
CN108769146B (en) Data transmission method and device based on block chain and block chain system
CN110019240A (en) A kind of service data interaction method, apparatus and system
CN111614761B (en) Block chain message transmission method, device, computer and readable storage medium
CN108063813B (en) Method and system for parallelizing password service network in cluster environment
CN104579905A (en) Message passing method and system, MOM (message oriented middleware) server and receiving terminal
US9900375B2 (en) Server-processor hybrid system for processing data
US11922059B2 (en) Method and device for distributed data storage
CN104486407A (en) Method and device for generating numbers
CN102904961A (en) Method and system for scheduling cloud computing resources
CN104618304A (en) Data processing method and data processing system
CN111460038A (en) Quasi-real-time data synchronization method and device
CN104484219B (en) The method and apparatus of distributing policy in virtual platform
US20090271466A1 (en) Data logging with network interfacing feature
CN114710571A (en) Data packet processing system
CN107005468B (en) Method and device for determining NSD (non-volatile memory) to be uploaded
CN105516265A (en) Short message transmission method and apparatus
CN105335362A (en) Real-time data processing method and system, and instant processing system
CN112380040A (en) Message processing method and device, electronic equipment and storage medium
CN110247808B (en) Information transmission method, device, equipment and readable storage medium
US20090307393A1 (en) Inbound message rate limit based on maximum queue times

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1166572

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1166572

Country of ref document: HK