CN105591877A - Method, device and system for service message transmission - Google Patents

Method, device and system for service message transmission Download PDF

Info

Publication number
CN105591877A
CN105591877A CN201410573543.2A CN201410573543A CN105591877A CN 105591877 A CN105591877 A CN 105591877A CN 201410573543 A CN201410573543 A CN 201410573543A CN 105591877 A CN105591877 A CN 105591877A
Authority
CN
China
Prior art keywords
message
service message
information
service
consumption side
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
CN201410573543.2A
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.)
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 CN201410573543.2A priority Critical patent/CN105591877A/en
Publication of CN105591877A publication Critical patent/CN105591877A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of computers, and particularly relates to a method, a device and a system for service message transmission so as to solve the problems that conflicts exist between optimization of service execution efficiency and reduction of system bandwidth consumption and the two can not be considered. The service message transmission method provided by the embodiment of the invention comprises steps: a message receiver receives a service message sent by a message provider; according to stored subscription information, message consumers and the number N of the message consumers for subscribing for the service message are determined, wherein N is a natural number; according to the N message consumers for subscribing for the service message, the service message is copied into N copies and the copied N service messages are sent to a message server; and the message server is used for storing each received copy of the service message to a message storage queue corresponding to the message consumers to which the copy of service message belongs.

Description

A kind of business message transmission method, Apparatus and system
Technical field
The application relates to field of computer technology, relates in particular to a kind of business message transmission method, installs and beSystem.
Background technology
Message often can be used as the medium of transmit mode and data between system and transmit. Message providerThe needed data content in relevant information consumption side, this information consumption side have been carried in the message body the inside sendingNeed to consume this message, also go to carry out relevant business according to this message.
In same operation system, may exist multiple information consumption sides to subscribe to certain message. In this feelingsUnder condition, this operation system can be adopted and be subscribed in two ways this message: a kind of mode is that operation system is subscribed to oneMessage, then sends to each information consumption side successively by this message, also, and in certain information consumption sideSuccess is consumed after this message, then this message is sent to next information consumption side. Obviously, thisUnder consumption pattern, if identical a piece of news is all subscribed to by multiple information consumption side, this different message soBetween consumer, must consume this message in serialization ground, cause first information consumption side and last to disappearThe time interval of consuming this message between breath consumer is very large, and if there is a message to disappear in operation systemThe side's of expense message failure, so all information consumption sides all need to carry out message rollback, obviously, in this modeUnder business execution efficiency lower. It is identical that another kind of mode is that operation system is that each business consumer subscribes toMessage, is also that operation system need to be subscribed to many identical message, and each information consumption side consumes to one's nameMessage. In this manner, need operation system to receive more external message, a large amount of preciousnesses of consumptionExternally bandwidth, the in the situation that of high access, the interface between this operation system and message provider has very much canCan cause because beared information amount is excessive transmission information between system to block, thereby affect the smooth of system businessCarry out, obviously, the system bandwidth amount of expending under this mode is larger.
To sum up, in the time that multiple information consumption sides need to consume identical message, be this multiple disappearing in operation systemBreath consumer subscribes to a piece of news, and these multiple information consumption sides consume under the mode of this message successively, businessExecution efficiency is lower; And be that the mode that many identical message are subscribed to by these multiple information consumption sides can expendMany system bandwidths. Obviously, optimize between business execution efficiency and the minimizing system bandwidth amount of expending and have contradiction,Both cannot take into account.
Summary of the invention
The embodiment of the present application provides a kind of business message transmission method and device, excellent in order to solve in prior artBetween change business execution efficiency and the minimizing system bandwidth amount of expending, there is contradiction, the problem that both cannot take into account.
A kind of business message transmission method that the embodiment of the present application provides, comprising:
The service message that message receiver receipt message provider sends;
Described message receiver, according to the subscription information of storage, is determined the information consumption of subscribing to described service messageSide and subscribe to the number N of the information consumption side of described service message; N is natural number;
Described message receiver, according to a N information consumption side of subscribing to described service message, disappears described businessBreath is copied into N part, and the N part service message copying is sent to message server; Described message serverFor the every a service message receiving is stored to corresponding the disappearing in information consumption side under this part of service messageIn breath storage queue.
Alternatively, after the service message that described message receiver receipt message provider sends, according to storageSubscription information, determine and subscribe to the information consumption side of described service message and the message of subscribing to described service messageBefore consumer's number N, also comprise:
Described message receiver, according to the consumer record of the described service message obtaining, is determined described message sinkDevice is unsuccessful received this service message, or described message receiver successfully received this service message, butDuplication service message failure, or arbitrary information consumption side of subscribing to this service message is from message serverAfter extracting this service message, this service message of unsuccessful consumption.
Alternatively, described method also comprises:
If described message receiver receives service message failure or duplication service message failure, to described messageProvider's feedback message is processed failure information, and described Message Processing failure information is used for pointing out described message to provideSide resends described service message.
Alternatively, if described message receiver duplication service message failure, described message receiver is to describedMessage provider's feedback message also comprises after processing failure information:
Described message receiver is receiving after the service message that described message provider resends, according to multipleMake the umber M of failed service message, this service message again receiving is copied into M part, will copyM part service message send to message server; M is natural number, and M is less than or equal to N.
A kind of business message transmission method that another embodiment of the application provides, comprising:
In message stores queue corresponding to this information consumption side from message server of information consumption side, extractThe service message of described information consumption side;
Described information consumption side consumes described service message.
Alternatively, described information consumption side consumes described service message, comprising:
Described information consumption side obtains the consumer record of described service message, is determining self unsuccessful post-consumerAfter described service message, consume described service message.
Alternatively, described method also comprises:
If described information consumption side consumes described service message failure, according to the described information consumption side of storageCorresponding retry mode, extracts described service message again from message server, or according to described messageConsumer's requirement of real-time information, determines the retry mode that described information consumption side is corresponding, according to what determineRetry mode, extracts described service message again from message server;
Described retry mode comprises: in the time determining the described service message failure of consumption, start from message serverPlace extracts described service message again; Or, in the time determining the described service message failure of consumption, start timingTime is the timer at setting-up time interval, in the time that the timing of this timer reaches, from message serverPlace extracts described service message again.
A kind of business message transmission method that another embodiment of the application provides, comprising:
The service message that message server receipt message receiver sends;
Every a service message is stored in information consumption side under this part of service message by described message serverIn corresponding message stores queue.
Alternatively, described message server is stored in every a service message to subscribe to disappearing of this part of service messageAfter ceasing in message stores queue corresponding to consumer, also comprise:
Described message server is receiving the service message consumption successful information of described information consumption side feedbackAfter, record described service message and consumed the successful time, and the described service message of record is consumed intoThe time of merit sends to business monitoring device, and described business monitoring device is for by the each service message of monitoringConsumption time, the time of implementation of monitoring business.
A kind of business message transmission method that another embodiment of the application provides, comprising:
The service message of generation is sent to message receiver by message provider;
If described message provider receives the service message of described message receiver feedback and processes failure information,, according to the retry mode of the information consumption side of the described service message of subscription, resend described service message,Or according to the requirement of real-time information of the information consumption side of the described service message of subscription, determine that described message disappearsThe retry mode that the side of expense is corresponding, according to definite retry mode, resends described service message; Described heavyExamination mode comprises: in the time receiving described service message processing failure information, start the described business that resendsMessage; Or, in the time receiving described service message processing failure information, while starting timing for settingBetween the timer at interval, in the time that the timing of this timer reaches, resend described service message.
A kind of service message transmitting device that the embodiment of the present application provides, comprising:
Receiver module, the service message sending for receipt message provider;
Determination module, for according to the subscription information of storage, determines the information consumption of subscribing to described service messageSide and subscribe to the number N of the information consumption side of described service message; N is natural number;
Sending module, for according to a N information consumption side of subscribing to described service message, disappears described businessBreath is copied into N part, and the N part service message copying is sent to message server; Described message serverFor the every a service message receiving is stored to corresponding the disappearing in information consumption side under this part of service messageIn breath storage queue.
A kind of service message transmitting device that another embodiment of the application provides, comprising:
Extraction module, for extracting from message stores queue corresponding to this information consumption side of message serverGo out the service message of described information consumption side;
Consumption module, for consuming described service message.
A kind of service message transmitting device that another embodiment of the application provides, comprising:
Receiver module, the every a service message sending for receipt message receiver;
Memory module, for being stored in every a service message the information consumption side pair of subscribing to this service messageIn the message stores queue of answering.
A kind of service message transmitting device that another embodiment of the application provides, comprising:
Sending module, for sending to message receiver by the service message of generation;
Retry module, if process failure information for the service message that receives described message receiver feedback,, according to the retry mode corresponding to information consumption side of subscribing to described service message, resend described business and disappearBreath, or according to the requirement of real-time information of the information consumption side of the described service message of subscription, described in determining, disappearRetry mode corresponding to breath consumer, according to definite retry mode, resends described service message.
A kind of service message transmission system that the embodiment of the present application provides, comprising:
Message receiver, the service message sending for receipt message provider; According to the subscription information of storage,Determine subscribe to described service message information consumption side and subscribe to described service message information consumption sideNumber N; According to a N information consumption side of subscribing to described service message, described service message is copied into NPart, the N part service message copying is sent to message server; N is natural number;
Message server, the every a service message sending for receipt message receiver; By every a businessIn message stores queue corresponding to message stores information consumption side under this part of service message.
In the embodiment of the present application, message receiver is receiving after the service message of message provider transmission, andDirectly this service message is not sent to message server, but according to N the message of subscribing to this service messageConsumer, is copied into N part by described service message, and the N part service message copying is sent to message clothesBusiness device. Adopt this service message transmission means, receive each in the operation system of service message differentInformation consumption side is in the time need to subscribing to identical service message, and business provider only need to send out to message receiverSend this service message, message receiver, receiving after this service message, is copied into this service messageAfter many parts, offer each business consumer, thereby not only can reduce the external consumption of broadband amount of operation system,Can also make each business consumer immediately get one's own service message, improve business execution efficiency.In addition,, in the embodiment of the present application, message server is receiving the service message of message receiver distributionAfter, do not need this service message to be pushed to each information consumption side, but by each information consumption side masterMove the extraction of message server place, thereby reduced the pressure of message server, and ensured each messageConsumer gets the real-time of the service message needing.
Brief description of the drawings
The service message transmission schematic diagram that Fig. 1 provides for the embodiment of the present application;
The message receiver side business method for message transmission flow chart that Fig. 2 provides for the embodiment of the present application one;
Information consumption side's side business method for message transmission flow chart that Fig. 3 provides for the embodiment of the present application two;
The message server side business method for message transmission flow chart that Fig. 4 provides for the embodiment of the present application three;
Message provider's side business method for message transmission flow chart that Fig. 5 provides for the embodiment of the present application four;
The business message transmission method flow chart that Fig. 6 provides for the embodiment of the present application five;
The business message transmission method flow chart that Fig. 7 provides for the embodiment of the present application six;
The business message transmission method flow chart that Fig. 8 provides for the embodiment of the present application seven;
The business message transmission method flow chart that Fig. 9 provides for the embodiment of the present application eight;
The service message transmitting device structural representation that Figure 10 provides for the embodiment of the present application nine;
The service message transmitting device structural representation that Figure 11 provides for the embodiment of the present application ten;
The service message transmitting device structural representation that Figure 12 provides for the embodiment of the present application 11;
The service message transmitting device structural representation that Figure 13 provides for the embodiment of the present application 12;
The service message transmission system structural representation that Figure 14 provides for the embodiment of the present application 13.
Detailed description of the invention
The business message transmission method that the embodiment of the present application provides and application of installation business between operation systemThe transmission of message. As shown in Figure 1, be the service message transmission schematic diagram that the embodiment of the present application provides, businessSystem obtains by message-oriented middleware 11 service message that message provider 12 transmits, and by the middle of messagePart is distributed to each information consumption side 13 (being also each business side); This message-oriented middleware 11 comprises that message connectsReceive device 111, message server 112 and carry out between message receiver 111 and message server 112Each transmission equipment 113 of transmission of messages etc.
The basic thought of the embodiment of the present application is: message receiver is receiving the business of message provider transmissionAfter message, directly this service message is not sent to message server, but according to subscribing to this service messageA N information consumption side, described service message is copied into N part, the N part service message copying is sent outGive message server. Adopt this service message transmission means, in the operation system of reception service messageEach different information consumption side is in the time need to subscribing to identical service message, and business provider only need to be to disappearingBreath receiver sends this service message, and message receiver is receiving after this service message, by this businessAfter message copy becomes many parts, offer each business consumer, thereby not only can reduce operation system to tyreThe wide amount of expending, can also make each business consumer immediately get one's own service message, has improved industryBusiness execution efficiency. In addition,, in the embodiment of the present application, message server divides receiving message receiverAfter the service message of sending out, initiatively extracted to message server place by each information consumption side, disappear thereby reducedThe pressure of breath middleware, and ensured that each information consumption side gets the real-time of the service message needing.
Below in conjunction with Figure of description, the embodiment of the present application is carried out to the method for service message transmission and do furtherIntroduce;
As shown in Figure 2, the message receiver side business method for message transmission stream providing for the embodiment of the present application oneCheng Tu, comprising:
S201: the service message that message receiver receipt message provider sends.
Here, message provider generates after service message, send it to need to this service message business systemMessage receiver in the message-oriented middleware of system.
S202: message receiver, according to the subscription information of storage, determines that the message of subscribing to described service message disappearsExpense side and subscribe to the number N of the information consumption side of described service message; N is natural number.
Here, information consumption side refers to the executor of specific transactions, and one of each information consumption side correspondence is specificBusiness. Message receiver obtains the subscription information of each information consumption side of storage, and this subscription information can be storedIn special information query module, this information query module can be deployed in the existing hardware of message-oriented middlewareIn equipment, can be to be also deployed in separately in new hardware device.
Alternatively, after the service message that message receiver receipt message provider sends, described message receiverCan also, according to the consumer record of the described service message obtaining, determine that described service message is not successfully consumed.The situation that described service message is not consumed comprises: unsuccessful this service message that received of described message receiver,Or described message receiver has successfully received this service message, but duplication service message failure, or subscribe toArbitrary information consumption side of this service message, extract this service message from message server after, does not becomeMerit is consumed this service message.
In specific implementation process, in order to ensure that message can successfully arrive destination, may be by sameMessage sends repeatedly. In this case, message receiver, receiving after a service message, first entersWhether row " duplicate removal " judgement, also, by the consumer record of this service message of inquiry, judge this service messageSuccessfully consumed. Particularly, can in information query module, store the consumer record of each service message,The consumer record of arbitrary service message comprises external message consumer record and inside story consumer record; Wherein,External message consumer record is recorded the service message that the whether successful receipt message provider of message receiver sends,Inside story consumer record is recorded message receiver and whether this service message is successfully copied into N part, and disappearBreath receiver will copy successful N part service message send to message server in after, every a businessWhether message is successfully consumed by its information consumption side. If according to external message consumer record and inside story consumptionRecord, determines that the described service message that message receiver obtains is not successfully consumed, and this service message is heldThe handling process (be copied into N part and send in message server by this service message) that row is follow-up. LogicalCross this " duplicate removal " mechanism, can reduce message receiver and follow-up treatment facility and (comprise message clothesBusiness device, information consumption side) reprocessing to service message.
S203: message receiver is according to a N information consumption side of subscribing to described service message, by described businessMessage copy becomes N part, and the N part service message copying is sent to message server; Described messenger serviceDevice is corresponding for information consumption side under the every a service message receiving is stored to this part of service messageIn message stores queue.
In this step, message receiver is according to a N information consumption side of subscribing to this service message, by this businessMessage copy becomes N part, and the N part service message copying is sent to message server, wherein, and every portionIn the service message copying, can comprise the identification information of the affiliated information consumption side of this part of service message, particularly,Can in message header, add service identification (being also the identification information of information consumption side). Like this, message clothesBusiness device is receiving after every a service message, can be according to the mark of information consumption side in this part of service messageInformation, determines the information consumption side that this part of service message is affiliated, and this part of service message is distributed to this messageIn message stores queue corresponding to consumer. Here message stores queue corresponding to this N information consumption side,Can be arranged in one or more message servers, in the embodiment of the present application, not limit.
In order to ensure that external message consumes successful promptness, in the embodiment of the present application, introduce service message" retry " mechanism, that is: when message receiver receipt message provider send service message failure or copyWhen service message failure, can process failure information to message provider feedback message, provide with prompting messageSide resends this service message. Message provider, receiving after this Message Processing failure information, can disappearIn breath enquiry module, corresponding retry mode or the inquiry in the information consumption side of this service message of query subscription shouldSubscribe to the requirement of real-time information of the information consumption side of this service message, determine when that resending this business disappearsBreath. Here, requirement of real-time information can comprise needs the real-time of transmission of messages and does not need transmission of messagesTwo kinds of real-times. This retry mode comprises: business provider processes unsuccessfully receiving described service messageWhen information, start and resend described service message (also immediately retry); Or, described in receivingWhen service message is processed failure information, starting timing is the timer at setting-up time interval, in this timingWhen the timing of device arrives, resend described service message (being also retry after the setting-up time of interval).Here, the retry mode that different business is corresponding is relevant with the requirement of real-time of this business, for requirement of real-timeHigh business, retry mode that can the required service message of this business is set to retry immediately, in real timeProperty require lower business, retry mode that can the required service message of this business is set to interval while settingBetween after retry.
In specific implementation process, message provider can disappear in definite at least one of subscribing to this service messageWhen breath consumer needs " retry immediately " this retry mode, adopt the mode of retry immediately to resendThis service message. If partial replication failure is (below to this losing side when message receiver duplication service messageFormula has been done further introduction), information consumption square tube under copying the service message of failure can be known to messageProvider, message provider is according to copying the required retry mode in information consumption side under the service message of failure,Resend this service message, or message receiver, can be according to copying failure after copy unsuccessfullyUnder service message, the required retry mode in information consumption side is directly notified to message provider.
Alternatively, if described message receiver duplication service message failure, described message receiver is to describedMessage provider's feedback message also comprises after processing failure information:
Described message receiver is receiving after the service message that described message provider resends, according to multipleMake the umber M of failed service message, this service message again receiving is copied into M part, will copyM part service message send to message server; M is natural number, and M is less than or equal to N.
In specific implementation process, described message receiver likely copies described service message failure, hereThe failure that copies refer to that in the N part service message copying at needs, all or part of service message is replicated mistakeLose, also in N part service message that all need to send, have M (M≤N) part of service message to copyFailure, can first be sent to message server by all the other N-M part service messages, and record M part businessMessage copy failure copy failure information. Processing failure information to message provider feedback message, lay equal stress onNewly receive after this service message, according to the failure information that copies of storage, this service message is copied into MAfter part, be sent to message server.
As shown in Figure 3, the information consumption side's side business method for message transmission stream providing for the embodiment of the present application twoCheng Tu, comprising:
S301: carry in message stores queue corresponding to this information consumption side from message server of information consumption sideTake out the service message of described information consumption side.
In specific implementation process, the industry of self paying close attention to can be subscribed to message provider in information consumption side firstBusiness message, and subscription information can be stored in information query module. Message receiver is receiving messageAfter the service message that provider sends, by querying information of subscription in information query module, inquire subscriptionThe number N of the information consumption side of this service message, is copied into this service message after N part, by every a industryBusiness message sends to this part of message stores team corresponding to the affiliated information consumption side of service message in message serverIn row. This information consumption side can periodically sign in on message server, from the message stores of correspondence selfIn queue, extract service message.
S302: described information consumption side consumes described service message.
In specific implementation process, when storing this information consumption side in message server, (also this message disappearsFei Fang carry out specific transactions) need consumption many service messages time, this information consumption side can start manyBar consumption thread parallel extracts and consumes these many service messages from message server. Adopt this parallel carryingThe mode of getting and consuming, can greatly improve business execution efficiency.
Alternatively, described information consumption side consumes described service message, specifically comprises:
Described information consumption side obtains the consumer record of described service message, if determine self unsuccessful post-consumerDescribed service message, consumes described service message.
Similar with above-described embodiment one, information consumption side is receiving after service message, first judges that self isThis service message of no post-consumer. In specific implementation process, can adopt the message body mark that service message is correspondingKnow (Identity, ID) and service identification corresponding to information consumption side, generate this information consumption side of unique identificationNeed the keyword (being denoted as below Key) of the service message of consumption. Information consumption side is from message serverAfter this service message of middle extraction, according to the Key of this service message, from information query module, whether inquiryHave that information consumption that should Key is successfully recorded (is also that described in embodiment mono-, inside story is consumed successfullyRecord), if exist, return to consumption successful information to message server, otherwise, consume this service message.
Similar with above-described embodiment one, in order to ensure that inside story consumes successful promptness, the application implementsIn example two, also introduce service message " retry " mechanism, if that is: described information consumption side consumes described businessMessage failure is according to the retry mode corresponding to described information consumption side of storage, heavy from message serverThe described service message of new extraction; Or, according to the requirement of real-time information of described information consumption side, determine instituteState retry mode corresponding to information consumption side, according to definite retry mode, again carry from message serverGet described service message; Described retry mode comprises: in the time determining the described service message failure of consumption, startAgain extract described service message (also immediately retry) from message server; Or, determining consumptionWhen the failure of described service message, starting timing is the timer at setting-up time interval, at this timerWhen timing reaches, again extracting described service message from message server (is also interval setting-up timeRear retry). Here, requirement of real-time information can comprise needs the real-time of transmission of messages and does not need to disappearTwo kinds of the real-times of breath transmission. Described retry mode or requirement of real-time information can be stored in information queryIn module. In specific implementation process, information consumption side again extracts described business from message server and disappearsThe process of breath is specifically: information consumption direction message server feedback message consumption failure information, this message disappearsExpense failure information specifically comprises the service message relevant information that consumption is failed, and message server disappears based on this businessBreath relevant information regenerates service message, and is stored in message stores team corresponding to this information consumption sideIn row, afterwards, information consumption side again extracts this service message from this message stores queue.
Alternatively, described information consumption side also comprises after consuming described service message:
If described information consumption side has successfully consumed described service message, to described message server feedback industryBusiness information consumption successful information.
In specific implementation process, information consumption side, can be to stating message clothes after successful consumption service messageBusiness device feedback service message consumption successful information. Message server is receiving the industry of this information consumption side's feedbackAfter business information consumption successful information, record described service message and consumed the successful time, and can be by this timeBetween offer business monitoring device, business monitoring device by monitoring each service message consumption time, comeRealize the monitoring of the time of implementation to described information consumption side. This business monitoring device can be deployed in messageBetween in the existing hardware device of part, can be to be also deployed in separately in new hardware device.
As shown in Figure 4, the message server side business method for message transmission stream providing for the embodiment of the present application threeCheng Tu, comprising:
S401: the every a service message that message server receipt message receiver sends.
S402: every a service message is stored in information consumption side under this part of service message by message serverIn corresponding message stores queue.
In this step, message server every a service message is stored in to this part of service message under message disappearIn the message stores queue of the side's of expense correspondence, to wait for that described information consumption side extracts from its message stores queueGo out described service message.
Alternatively, corresponding above-described embodiment two, in S402, described message server is by every a service messageAfter being stored in and subscribing in message stores queue corresponding to the information consumption side of this part of service message, also comprise:
Described message server is receiving the service message consumption successful information of described information consumption side feedbackAfter, record described service message and consumed the successful time, and the described service message of record is consumed intoThe time of merit sends to business monitoring device, and described business monitoring device is for by the each service message of monitoringConsumption time, the time of implementation of monitoring business.
In specific implementation process, the embodiment of the present application can arrange special business monitoring device and monitor industryThe health degree of business system, comprises the number of times of monitoring business message transmission, number of times, the business that service message receivesNumber of times, the monitoring of service message consumer record etc. of message retry. Wherein, consumed by monitoring business messageSuccessfully the time, can realize the monitoring of the time of implementation to described information consumption side, also each by monitoringIndividual service message is consumed the successful time, can know the implementation progress of this business, thereby realizes this industryThe real time monitoring of business, this monitor mode can improve the real-time of business monitoring, and no longer needs holdingThe business record of having gone deals with, and can minimizing system process complexity.
As shown in Figure 5, the message provider's side business method for message transmission stream providing for the embodiment of the present application fourCheng Tu, comprising:
S501: the service message of generation is sent to message receiver by message provider;
S502: process unsuccessfully if described message provider receives the service message of described message receiver feedbackInformation,, according to the retry mode of the information consumption side of this service message of subscription, resends described business and disappearsBreath; Or, according to the requirement of real-time information of the information consumption side of this service message of subscription, described in determining, disappearRetry mode corresponding to breath consumer, according to definite retry mode, resends described service message; InstituteStating retry mode comprises: in the time receiving described service message processing failure information, described in startup resendsService message; Or, in the time receiving described service message processing failure information, start timing for establishingThe fix time timer at interval, in the time that the timing of this timer reaches, resends described service message.
Come the business message transmission method in the application to do further below by several specific embodimentsExplanation.
As shown in Figure 6, be the business message transmission method flow chart that the embodiment of the present application five provides, comprising:
S601: the service message of generation is sent to message receiver by message provider.
S602: message receiver, according to the subscription information of storage, determines that the message of subscribing to described service message disappearsExpense side and subscribe to the number N of the information consumption side of described service message, N is natural number; Described in subscribing toA N information consumption side of service message, is copied into N part by described service message, by the N part industry copyingBusiness message sends to message server, comprises this part of service message institute in the every a service message wherein copyingBelong to the identification information of information consumption side.
S603: message server is according to the identification information of information consumption side in the every a service message receiving,This part of service message is stored in message stores queue corresponding to information consumption side under this part of service message.
S604: carry in message stores queue corresponding to this information consumption side from message server of information consumption sideTake out the service message of described information consumption side.
S605: information consumption side consumes described service message.
On the basis of above-described embodiment five, following examples six have further been introduced service message " duplicate removal "Mechanism.
As shown in Figure 7, be the business message transmission method flow chart that the embodiment of the present application six provides, comprising:
S701: the service message of generation is sent to message receiver by message provider.
S702: message receiver, according to the consumer record of the described service message obtaining, determines that described message connectsReceive that device is unsuccessful received this service message, or described message receiver successfully receives this service message,But duplication service message failure, or arbitrary information consumption side of subscribing to this service message is from message serverIn extract this service message after, this service message of unsuccessful consumption.
S703: message receiver, according to the subscription information of storage, determines that the message of subscribing to described service message disappearsExpense side and subscribe to the number N of the information consumption side of described service message, N is natural number; Described in subscribing toA N information consumption side of service message, is copied into N part by described service message, by the N part industry copyingBusiness message sends to message server, comprises this part of service message institute in the every a service message wherein copyingBelong to the identification information of information consumption side.
S704: message server is according to the identification information of information consumption side in the every a service message receiving,This part of service message is stored in message stores queue corresponding to information consumption side under this part of service message.
S705: carry in message stores queue corresponding to this information consumption side from message server of information consumption sideTake out the service message of described information consumption side.
S706: information consumption side obtains the consumer record of described service message, is determining self unsuccessful consumptionCross after described service message, consume described service message.
On the basis of above-described embodiment five, following examples seven have further been introduced service message " retry "Mechanism.
As shown in Figure 8, be the business message transmission method flow chart that the embodiment of the present application seven provides, comprising:
S801: the service message of generation is sent to message receiver by message provider.
S802: if message receiver receives service message failure or duplication service message failure, disappear to describedBreath provider feedback message is processed failure information.
In this step, message receiver likely receives described service message failure, is also likely successfully connecingReceive after described service message, copy described service message failure, here, the situation that copies failure comprises needsIn the N part service message copying, have M part service message to copy failure, message receiver is first by all the otherN-M part service message is sent to message server, and records M part service message and copy copying of failureFailure information, M and N are natural number, and M is less than or equal to N.
S803: message provider processes after failure information at the service message that receives message receiver feedback,According to the retry mode corresponding to information consumption side of subscribing to this service message, resend described service message,Or according to the requirement of real-time information of the information consumption side of this service message of subscription, determine described information consumptionThe retry mode that side is corresponding, according to definite retry mode, resends described service message.
S804: if receive described service message failure before message receiver, message receiver is successfully connecingReceive after described service message, according to the subscription information of storage, determine that the message of subscribing to described service message disappearsExpense side and subscribe to the number N of the information consumption side of described service message; According to the N that subscribes to described service messageIndividual information consumption side, is copied into N part by described service message, and the N part service message copying is sent toMessage server; If copy described service message failure before message receiver, message receiver is receivingAfter the service message resending to described message provider, according to the umber M of service message that copies failure,Again this service message receiving is copied into M part, the M part service message copying is sent to message clothesBusiness device.
S805: message server is according to the identification information of information consumption side in the every a service message receiving,This part of service message is stored in message stores queue corresponding to information consumption side under this part of service message.
S806: carry in message stores queue corresponding to this information consumption side from message server of information consumption sideTake out the service message of described information consumption side.
S807: if described information consumption side consumes described service message failure, according to the described message of storageThe retry mode that consumer is corresponding, extracts described service message again from message server, or according to instituteState the requirement of real-time information of information consumption side, determine the retry mode that described information consumption side is corresponding, according toDefinite retry mode, extracts described service message again from message server; Described retry mode comprises:In the time determining the described service message failure of consumption, start and again extract described service message from message server;Or in the time determining the described service message failure of consumption, starting timing is the timing at setting-up time intervalDevice, in the time that the timing of this timer reaches, extracts described service message again from message server.
S808: described information consumption side is successfully consuming after described service message, anti-to described message serverFeedback service message consumption successful information.
S809: described message server is consumed successfully at the service message that receives described information consumption side feedbackAfter information, record described service message and consumed the successful time, and the described service message of record is disappearedTaking the successful time sends to business monitoring device, and described business monitoring device is for disappearing by monitoring each businessThe consumption time of breath, the time of implementation of monitoring business.
On the basis of above-described embodiment five, following examples eight have further been introduced service message " duplicate removal "And " retry " mechanism.
As shown in Figure 9, be the business message transmission method flow chart that the embodiment of the present application eight provides, comprising:
S901: the service message of generation is sent to message receiver by message provider.
S902: if message receiver receives service message failure or duplication service message failure, disappear to describedBreath provider feedback message is processed failure information.
S903: message provider processes after failure information at the service message that receives message receiver feedback,According to the retry mode corresponding to information consumption side of subscribing to this service message, resend described service message,Or according to the requirement of real-time information of the information consumption side of this service message of subscription, determine described information consumptionThe retry mode that side is corresponding, according to definite retry mode, resends described service message; Described retryMode comprises: in the time receiving described service message processing failure information, startup resends described business and disappearsBreath; Or in the time receiving described service message processing failure information, startup timing is setting-up timeThe timer at interval, in the time that the timing of this timer reaches, resends described service message.
S904: message receiver successfully receives after described service message, according to the described service message obtainingConsumer record, determine that described message receiver is unsuccessful to receive this service message, or described message connectsReceive device and successfully received this service message, but duplication service message failure, or subscribe to appointing of this service messageOne information consumption side after extracting this service message from message server, and this business of unsuccessful consumption disappearsBreath.
S905: if receive described service message failure before message receiver, message receiver is successfully connecingReceive after described service message, according to the subscription information of storage, determine that the message of subscribing to described service message disappearsExpense side and subscribe to the number N of the information consumption side of described service message; According to the N that subscribes to described service messageIndividual information consumption side, is copied into N part by described service message, and the N part service message copying is sent toMessage server; If copy described service message failure before message receiver, message receiver is receivingAfter the service message resending to described message provider, according to the umber M of service message that copies failure,Again this service message receiving is copied into M part, the M part service message copying is sent to message clothesBusiness device; M and N are natural number, and M is less than or equal to N.
S906: message server is according to the identification information of information consumption side in the every a service message receiving,This part of service message is stored in message stores queue corresponding to information consumption side under this part of service message.
S907: carry in message stores queue corresponding to this information consumption side from message server of information consumption sideTake out the service message of described information consumption side.
S908: information consumption side obtains the consumer record of described service message, is determining self unsuccessful consumptionCross after described service message, consume described service message.
S909: if described information consumption side consumes described service message failure, according to the described message of storageThe retry mode that consumer is corresponding, extracts described service message again from message server, or according to instituteState the requirement of real-time information of information consumption side, determine the retry mode that described information consumption side is corresponding, according toDefinite retry mode, extracts described service message again from message server; Described retry mode comprises:In the time determining the described service message failure of consumption, start and again extract described service message from message server;Or in the time determining the described service message failure of consumption, starting timing is the timing at setting-up time intervalDevice, in the time that the timing of this timer reaches, extracts described service message again from message server.
S910: described information consumption side is successfully consuming after described service message, anti-to described message serverFeedback service message consumption successful information.
S911: described message server is consumed successfully at the service message that receives described information consumption side feedbackAfter information, record described service message and consumed the successful time, and the described service message of record is disappearedTaking the successful time sends to business monitoring device, and described business monitoring device is for disappearing by monitoring each businessThe consumption time of breath, the time of implementation of monitoring business.
As shown in figure 10, the service message transmitting device structural representation providing for the embodiment of the present application nine,Comprise:
Receiver module 101, the service message sending for receipt message provider;
Determination module 102, for according to the subscription information of storage, determines the message of subscribing to described service messageConsumer and subscribe to the number N of the information consumption side of described service message; N is natural number;
Sending module 103, for according to subscribing to the N information consumption side of described service message, by described industryBusiness message copy becomes N part, and the N part service message copying is sent to message server; Described message clothesBusiness device is for being stored to information consumption side's correspondence under this part of service message by the every a service message receivingMessage stores queue in.
Alternatively, described determination module 102 also for, described receiver module 101 receipt message providersAfter the service message sending, described determination module 102 is determined the information consumption side of subscribing to described service messageAnd before subscribing to the number N of information consumption side of described service message, according to the consumption note of described service messageRecord, determines that described message receiver is unsuccessful to receive this service message, or the success of described message receiverReceived this service message, but duplication service message failure, or arbitrary message of subscribing to this service message disappearsFei Fang extract this service message from message server after, this service message of unsuccessful consumption.
Alternatively, described sending module 103 also for:
If described receiver module 101 receives service message failure or described sending module duplication service message failure,Process failure information to described message provider's feedback message, described Message Processing failure information is for promptingDescribed message provider resends described service message.
Alternatively, if described sending module 103 duplication service message failures, described sending module also for,After described message provider's feedback message is processed failure information, described in described receiver module receivesAfter the service message that message provider resends, according to the umber M of service message that copies failure, will weighNew this service message receiving is copied into M part, and the M part service message copying is sent to message server;M is natural number, and M is less than or equal to N.
As shown in figure 11, the service message transmitting device structural representation providing for the embodiment of the present application ten,Comprise:
Extraction module 111, for from message stores queue corresponding to this information consumption side of message serverExtract the service message of described information consumption side;
Consumption module 112, for consuming described service message.
Alternatively, described consumption module 112 specifically for:
Obtain the consumer record of described service message, determining described in self unsuccessful post-consumer after service message,Consume described service message.
Alternatively, described extraction module 111 also for:
If described consumption module 112 is consumed described service message failure, according to described information consumption side correspondenceRetry mode, again extract described service message from message server, or according to described information consumptionThe requirement of real-time information of side, determines the retry mode that described information consumption side is corresponding, according to definite retryMode, extracts described service message again from message server;
Described retry mode comprises: in the time determining the described service message failure of consumption, start from message serverPlace extracts described service message again; Or, in the time determining the described service message failure of consumption, start timingTime is the timer at setting-up time interval, in the time that the timing of this timer reaches, from message serverPlace extracts described service message again.
Alternatively, described device also comprises:
Sending module 113, if successfully consumed described service message for described consumption module 112, toDescribed message server feedback service message consumption successful information.
As shown in figure 12, the service message transmitting device structural representation providing for the embodiment of the present application 11,Comprise:
Receiver module 121, the every a service message sending for receipt message receiver;
Memory module 122, for being stored in every a service message information consumption under this part of service messageIn the message stores queue of side's correspondence.
Alternatively, described receiver module 121 also for:
Receiving after the service message consumption successful information of described information consumption side feedback, record described businessMessage is consumed the successful time, and the described service message of record is consumed to the successful time sends to industryBusiness supervising device, described business monitoring device, for by the consumption time of the each service message of monitoring, is monitored industryThe time of implementation of business.
As shown in figure 13, the service message transmitting device structural representation providing for the embodiment of the present application 12,Comprise:
Sending module 131, for sending to message receiver by the service message of generation;
Retry module 132, if process unsuccessfully letter for receiving the service message of described message receiver feedbackAfter breath, according to the retry mode corresponding to information consumption side of subscribing to described service message, described in resendingService message, or according to the requirement of real-time information of the information consumption side of the described service message of subscription, determineThe retry mode that described information consumption side is corresponding, according to definite retry mode, resends described business and disappearsBreath; Described retry mode comprises: in the time receiving described service message processing failure information, start and again send outSend described service message; Or, in the time receiving described service message processing failure information, while starting timingBetween be the timer at setting-up time interval, in the time that the timing of this timer reaches, resend described industryBusiness message.
As shown in figure 14, the service message transmission system structural representation providing for the embodiment of the present application 13,This system is the system of the function that realizes the message-oriented middleware of describing in said method embodiment, comprising:
Message receiver 141, the service message sending for receipt message provider; According to the subscription of storageInformation, determines and subscribes to the information consumption side of described service message and the information consumption side of subscribing to described service messageNumber N; According to a N information consumption side of subscribing to described service message, described service message is copied intoN part, sends to message server 142 by the N part service message copying; N is natural number;
Message server 142, the every a service message sending for receipt message receiver 141; Will be everyA service message is stored in message stores queue corresponding to the affiliated information consumption side of this part of service message.
Those skilled in the art should understand, the application's embodiment can be provided as method, system or meterCalculation machine program product. Therefore, the application can adopt complete hardware implementation example, completely implement software example or knotClose the form of the embodiment of software and hardware aspect. And the application can adopt at one or more wherein bagsThe computer-usable storage medium that contains computer usable program code (include but not limited to magnetic disc store,CD-ROM, optical memory etc.) form of the upper computer program of implementing.
The application is that reference is according to the method for the embodiment of the present application, device (system) and computer program productThe flow chart of product and/or block diagram are described. Should understand can be by computer program instructions realization flow figure and/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/Or the combination of square frame. Can provide these computer program instructions to all-purpose computer, special-purpose computer, embeddingThe processor of formula processor or other programmable data processing device, to produce a machine, makes by calculatingThe instruction that the processor of machine or other programmable data processing device is carried out produces for realizing at flow chart oneThe device of the function of specifying in square frame of individual flow process or multiple flow process and/or block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or other programmable data processing are establishedIn the standby computer-readable memory with ad hoc fashion work, make to be stored in this computer-readable memoryInstruction produce and comprise the manufacture of command device, this command device is realized in flow process or multiple of flow chartThe function of specifying in square frame of flow process and/or block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makeMust on computer or other programmable devices, carry out sequence of operations step to produce computer implemented placeReason, thus the instruction of carrying out on computer or other programmable devices is provided for realizing one of flow chartThe step of the function of specifying in square frame of flow process or multiple flow process and/or block diagram or multiple square frame.
Although described the application's preferred embodiment, once those skilled in the art obtain cicada baseThis creative concept, can make other change and amendment to these embodiment. So appended right is wantedAsk and be intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the application's scope.
Obviously, those skilled in the art can carry out various changes and modification and not depart from this Shen the applicationSpirit and scope please. Like this, if the application these amendment and modification belong to the application's claim andWithin the scope of its equivalent technologies, the application be also intended to comprise these change and modification interior.

Claims (23)

1. a business message transmission method, is characterized in that, the method comprises:
The service message that message receiver receipt message provider sends;
Described message receiver, according to the subscription information of storage, is determined the information consumption of subscribing to described service messageSide and subscribe to the number N of the information consumption side of described service message; N is natural number;
Described message receiver, according to a N information consumption side of subscribing to described service message, disappears described businessBreath is copied into N part, and the N part service message copying is sent to message server; Described message serverFor the every a service message receiving is stored to corresponding the disappearing in information consumption side under this part of service messageIn breath storage queue.
2. the method for claim 1, is characterized in that, described message receiver receipt message is carriedAfter the service message that supplier sends, according to the subscription information of storage, determine and subscribe to disappearing of described service messageBefore ceasing consumer and subscribing to the number N of information consumption side of described service message, also comprise:
Described message receiver, according to the consumer record of the described service message obtaining, is determined described message sinkDevice is unsuccessful received this service message, or described message receiver successfully received this service message, butDuplication service message failure, or arbitrary information consumption side of subscribing to this service message is from message serverAfter extracting this service message, this service message of unsuccessful consumption.
3. the method for claim 1, is characterized in that, described method also comprises:
If described message receiver receives service message failure or duplication service message failure, to described messageProvider's feedback message is processed failure information, and described Message Processing failure information is used for pointing out described message to provideSide resends described service message.
4. method as claimed in claim 3, is characterized in that, if described message receiver duplication serviceMessage failure, described message receiver after described message provider's feedback message is processed failure information,Also comprise:
Described message receiver is receiving after the service message that described message provider resends, according to multipleMake the umber M of failed service message, this service message again receiving is copied into M part, will copyM part service message send to message server; M is natural number, and M is less than or equal to N.
5. a business message transmission method, is characterized in that, the method comprises:
In message stores queue corresponding to this information consumption side from message server of information consumption side, extractThe service message of described information consumption side;
Described information consumption side consumes described service message.
6. method as claimed in claim 5, is characterized in that, described information consumption side consumes described industryBusiness message, comprising:
Described information consumption side obtains the consumer record of described service message, is determining self unsuccessful post-consumerAfter described service message, consume described service message.
7. method as claimed in claim 5, is characterized in that, described method also comprises:
If described information consumption side consumes described service message failure, according to the described information consumption side of storageCorresponding retry mode, extracts described service message again from message server, or according to described messageConsumer's requirement of real-time information, determines the retry mode that described information consumption side is corresponding, according to what determineRetry mode, extracts described service message again from message server;
Described retry mode comprises: in the time determining the described service message failure of consumption, start from message serverPlace extracts described service message again; Or, in the time determining the described service message failure of consumption, start timingTime is the timer at setting-up time interval, in the time that the timing of this timer reaches, from message serverPlace extracts described service message again.
8. method as claimed in claim 5, is characterized in that, described information consumption side consumes described industryAfter business message, also comprise:
If described information consumption side has successfully consumed described service message, to described message server feedback industryBusiness information consumption successful information.
9. a business message transmission method, is characterized in that, the method comprises:
The every a service message that message server receipt message receiver sends;
Every a service message is stored in information consumption side under this part of service message by described message serverIn corresponding message stores queue.
10. method as claimed in claim 9, is characterized in that, described message server is by every a industryBusiness message stores is after subscribing in message stores queue corresponding to the information consumption side of this part of service message, alsoComprise:
Described message server is receiving the service message consumption successful information of described information consumption side feedbackAfter, record described service message and consumed the successful time, and the described service message of record is consumed intoThe time of merit sends to business monitoring device, and described business monitoring device is for by the each service message of monitoringConsumption time, the time of implementation of monitoring business.
11. 1 kinds of business message transmission methods, is characterized in that, the method comprises:
The service message of generation is sent to message receiver by message provider;
If described message provider receives the service message of described message receiver feedback and processes failure information,, according to the retry mode corresponding to information consumption side of subscribing to described service message, resend described business and disappearBreath, or according to the requirement of real-time information of the information consumption side of the described service message of subscription, described in determining, disappearRetry mode corresponding to breath consumer, according to definite retry mode, resends described service message; InstituteStating retry mode comprises: in the time receiving described service message processing failure information, described in startup resendsService message; Or, in the time receiving described service message processing failure information, start timing for establishingThe fix time timer at interval, in the time that the timing of this timer reaches, resends described service message.
12. 1 kinds of service message transmitting devices, is characterized in that, this device comprises:
Receiver module, the service message sending for receipt message provider;
Determination module, for according to the subscription information of storage, determines the information consumption of subscribing to described service messageSide and subscribe to the number N of the information consumption side of described service message; N is natural number;
Sending module, for according to a N information consumption side of subscribing to described service message, disappears described businessBreath is copied into N part, and the N part service message copying is sent to message server; Described message serverFor the every a service message receiving is stored to corresponding the disappearing in information consumption side under this part of service messageIn breath storage queue.
13. devices as claimed in claim 12, is characterized in that, described determination module also for,After the service message that described receiver module receipt message provider sends, described determination module is determined subscription instituteBefore stating the information consumption side of service message and subscribing to the number N of information consumption side of described service message, rootAccording to the consumer record of the described service message obtaining, determine unsuccessful this business that received of described message receiverMessage, or described message receiver successfully received this service message, but duplication service message failure, orArbitrary information consumption side that person subscribes to this service message from message server, extract this service message itAfter, this service message of unsuccessful consumption.
14. devices as claimed in claim 12, is characterized in that, described sending module also for:
If described receiver module receives service message failure or described sending module duplication service message failure,Process failure information to described message provider's feedback message, described Message Processing failure information is used for pointing out instituteState message provider and resend described service message.
15. devices as claimed in claim 14, is characterized in that, if described sending module duplication serviceMessage failure, described sending module also for, processing unsuccessfully letter to described message provider's feedback messageAfter breath, receive after the service message that described message provider resends at described receiver module, according toCopy the umber M of the service message of failure, this service message again receiving is copied into M part, will answerM part service message of system sends to message server; M is natural number, and M is less than or equal to N.
16. 1 kinds of service message transmitting devices, is characterized in that, this device comprises:
Extraction module, for extracting from message stores queue corresponding to this information consumption side of message serverGo out the service message of described information consumption side;
Consumption module, for consuming described service message.
17. devices as claimed in claim 16, is characterized in that, described consumption module specifically for:
Obtain the consumer record of described service message, determining described in self unsuccessful post-consumer after service message,Consume described service message.
18. devices as claimed in claim 16, is characterized in that, described extraction module also for:
If described consumption module is consumed described service message failure, the weight corresponding according to described information consumption sideExamination mode, extracts described service message again from message server, or according to described information consumption sideRequirement of real-time information, determines the retry mode that described information consumption side is corresponding, according to definite retry mode,Again extract described service message from message server;
Described retry mode comprises: in the time determining the described service message failure of consumption, start from message serverPlace extracts described service message again; Or, in the time determining the described service message failure of consumption, start timingTime is the timer at setting-up time interval, in the time that the timing of this timer reaches, from message serverPlace extracts described service message again.
19. devices as claimed in claim 16, is characterized in that, described device also comprises:
Sending module, if successfully consumed described service message for described consumption module, to described messageServer feedback service message consumption successful information.
20. 1 kinds of service message transmitting devices, is characterized in that, this device comprises:
Receiver module, the every a service message sending for receipt message receiver;
Memory module, for being stored in every a service message information consumption side pair under this part of service messageIn the message stores queue of answering.
21. devices as claimed in claim 20, is characterized in that, described receiver module also for:
Receiving after the service message consumption successful information of described information consumption side feedback, record described businessMessage is consumed the successful time, and the described service message of record is consumed to the successful time sends to industryBusiness supervising device, described business monitoring device, for by the consumption time of the each service message of monitoring, is monitored industryThe time of implementation of business.
22. 1 kinds of service message transmitting devices, is characterized in that, this device comprises:
Sending module, for sending to message receiver by the service message of generation;
Retry module, if process after failure information for receiving the service message of described message receiver feedback,, according to the retry mode corresponding to information consumption side of subscribing to described service message, resend described business and disappearBreath, or according to the requirement of real-time information of the information consumption side of the described service message of subscription, described in determining, disappearRetry mode corresponding to breath consumer, according to definite retry mode, resends described service message;
Described retry mode comprises: in the time receiving described service message processing failure information, start and again send outSend described service message; Or, in the time receiving described service message processing failure information, while starting timingBetween be the timer at setting-up time interval, in the time that the timing of this timer reaches, resend described industryBusiness message.
23. 1 kinds of service message transmission systems, is characterized in that, this system comprises:
Message receiver, the service message sending for receipt message provider; According to the subscription information of storage,Determine subscribe to described service message information consumption side and subscribe to described service message information consumption sideNumber N; According to a N information consumption side of subscribing to described service message, described service message is copied into NPart, the N part service message copying is sent to message server; N is natural number;
Message server, the every a service message sending for receipt message receiver; By every a businessIn message stores queue corresponding to message stores information consumption side under this part of service message.
CN201410573543.2A 2014-10-23 2014-10-23 Method, device and system for service message transmission Pending CN105591877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410573543.2A CN105591877A (en) 2014-10-23 2014-10-23 Method, device and system for service message transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410573543.2A CN105591877A (en) 2014-10-23 2014-10-23 Method, device and system for service message transmission

Publications (1)

Publication Number Publication Date
CN105591877A true CN105591877A (en) 2016-05-18

Family

ID=55931124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410573543.2A Pending CN105591877A (en) 2014-10-23 2014-10-23 Method, device and system for service message transmission

Country Status (1)

Country Link
CN (1) CN105591877A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302647A (en) * 2016-07-29 2017-01-04 深圳前海微众银行股份有限公司 Message distribution method and server
CN106713497A (en) * 2017-01-24 2017-05-24 郑州云海信息技术有限公司 Server-side message push device and method and message push system
CN108965164A (en) * 2017-05-17 2018-12-07 北京京东尚科信息技术有限公司 Service request repeating method, device and readable storage medium storing program for executing based on message queue
CN111464621A (en) * 2020-03-30 2020-07-28 四川新网银行股份有限公司 Method for detecting message sending and receiving quantity in asynchronous communication of distributed system
CN113315689A (en) * 2020-02-27 2021-08-27 美的集团股份有限公司 Information processing method, system, electronic device and readable storage medium
CN114363407A (en) * 2021-12-24 2022-04-15 上海软素科技有限公司 Message service method and device, readable storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668031A (en) * 2008-09-02 2010-03-10 阿里巴巴集团控股有限公司 Message processing method and message processing system
US20110110267A1 (en) * 2009-11-09 2011-05-12 Verisign, Inc. Method and system for application level load balancing in a publish/subscribe message architecture
CN102469033A (en) * 2010-11-01 2012-05-23 阿里巴巴集团控股有限公司 Message subscription system and message sending method
CN102947799A (en) * 2010-06-23 2013-02-27 微软公司 Delivering messages from message sources to subscribing recipients
CN103714169A (en) * 2013-12-31 2014-04-09 曙光云计算技术有限公司 Message obtaining method based on cascading theme
CN104065540A (en) * 2014-07-11 2014-09-24 网之易信息技术(北京)有限公司 Data monitoring system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668031A (en) * 2008-09-02 2010-03-10 阿里巴巴集团控股有限公司 Message processing method and message processing system
US20110110267A1 (en) * 2009-11-09 2011-05-12 Verisign, Inc. Method and system for application level load balancing in a publish/subscribe message architecture
CN102947799A (en) * 2010-06-23 2013-02-27 微软公司 Delivering messages from message sources to subscribing recipients
CN102469033A (en) * 2010-11-01 2012-05-23 阿里巴巴集团控股有限公司 Message subscription system and message sending method
CN103714169A (en) * 2013-12-31 2014-04-09 曙光云计算技术有限公司 Message obtaining method based on cascading theme
CN104065540A (en) * 2014-07-11 2014-09-24 网之易信息技术(北京)有限公司 Data monitoring system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CMGINE: "ActiveMQ——activemq的详细说明,queue、topic的区别(精选)", 《HTTPS://WWW.CMGINE.COM/ARCHIVES/20154.HTML》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302647A (en) * 2016-07-29 2017-01-04 深圳前海微众银行股份有限公司 Message distribution method and server
CN106302647B (en) * 2016-07-29 2019-06-25 深圳前海微众银行股份有限公司 Message distribution method and server
CN106713497A (en) * 2017-01-24 2017-05-24 郑州云海信息技术有限公司 Server-side message push device and method and message push system
CN108965164A (en) * 2017-05-17 2018-12-07 北京京东尚科信息技术有限公司 Service request repeating method, device and readable storage medium storing program for executing based on message queue
CN113315689A (en) * 2020-02-27 2021-08-27 美的集团股份有限公司 Information processing method, system, electronic device and readable storage medium
CN111464621A (en) * 2020-03-30 2020-07-28 四川新网银行股份有限公司 Method for detecting message sending and receiving quantity in asynchronous communication of distributed system
CN111464621B (en) * 2020-03-30 2022-06-24 四川新网银行股份有限公司 Method for detecting message sending and receiving quantity in asynchronous communication of distributed system
CN114363407A (en) * 2021-12-24 2022-04-15 上海软素科技有限公司 Message service method and device, readable storage medium and electronic equipment
CN114363407B (en) * 2021-12-24 2024-03-19 上海软素科技有限公司 Message service method and device, readable storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN105591877A (en) Method, device and system for service message transmission
CN103460203B (en) cluster unique identifier
CN102591741B (en) Scalable virtual capacity is used to realize the method and system of disaster recovery
CN106874334B (en) Data processing method and device and information processing system
CN104092719B (en) Document transmission method, device and distributed cluster file system
WO2015187400A1 (en) Computer system to support failover in an event stream processing system
CN102946405A (en) SMB2 Scaleout
CN110795503A (en) Multi-cluster data synchronization method and related device of distributed storage system
CN107040563B (en) Asynchronous service processing method and server
CN110287151B (en) Distributed storage system, data writing method, device and storage medium
CN111818117A (en) Data updating method and device, storage medium and electronic equipment
US11367009B2 (en) Parsing unlabeled computer security data logs
CN111669315B (en) Message pushing method, device and system, electronic equipment and readable storage medium
US9723480B2 (en) Information processing device, server device, data communication system, data communication method, and computer-readable storage medium storing data communication program
CN103281356A (en) File distribution method and system
CN106970845A (en) Remote application connection is shared
US10652081B1 (en) Facilitating resilient and fault tolerant asynchronous messaging
CN109684128B (en) Cluster overall fault recovery method of message middleware, server and storage medium
CN110740064A (en) Distributed cluster node fault processing method, device, equipment and storage medium
US20140068048A1 (en) Managing remote devices
JP6364727B2 (en) Information processing system, distributed processing method, and program
CN112825525B (en) Method and apparatus for processing transactions
CN105049463A (en) Distributed database, method of sharing data, and apparatus for a distributed database
CN110233791B (en) Data deduplication method and device
CN109561120B (en) Small file backup method, system and management server

Legal Events

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

Application publication date: 20160518