CN109995801A - A kind of method for message transmission and device - Google Patents
A kind of method for message transmission and device Download PDFInfo
- Publication number
- CN109995801A CN109995801A CN201711472720.8A CN201711472720A CN109995801A CN 109995801 A CN109995801 A CN 109995801A CN 201711472720 A CN201711472720 A CN 201711472720A CN 109995801 A CN109995801 A CN 109995801A
- Authority
- CN
- China
- Prior art keywords
- message
- queue
- storage queue
- consumer
- consumption
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/544—Buffers; Shared memory; Pipes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Abstract
The invention discloses a kind of method for message transmission and devices, are related to field of computer technology.One specific embodiment of this method includes: to receive at least one consumption mark;When confirmation is existed with consumption mark corresponding storage queue, message identical with the type of message is obtained, then the message is stored in the storage queue;Export the message in the storage queue.The embodiment is by sending consumption mark to message queue, message is stored in the storage queue according to consumption mark building by message queue, message transmission is carried out by the storage queue and consumer, it solves the technical issues of must predefining massage pattern in the prior art, increases the flexibility that user uses.
Description
Technical field
The present invention relates to computer field more particularly to a kind of method for message transmission and device.
Background technique
Java Message Service (Java Message Service, JMS) is Java EE (Java Platform
Enterprise Edition) in message-oriented middleware (message-oriented middleware) technical specification,
Middleware is message queue.JMS is used between two application programs, or sends and receives disappear in a distributed system
Breath, to realize asynchronous message communicating.
JMS supports two kinds of massage patterns at present, and one is ad hoc mode, another kind is Publish-subscribe mode.It is point-to-point
The realization process of mode are as follows: user creates a queue (Queue) in message queue;The producer (Producer) connection message
Then the Queue of queue sends message to Queue;The Queue of consumer (Consumer) connection message queue, then from
Queue receives message.The realization process of Publish-subscribe mode are as follows: user creates a theme (Topic) in message queue;
Then the Topic of the producer (Producer) connection message queue sends message to Topic;Consumer (Consumer) connection
Then the Topic of message queue receives message from Topic.In ad hoc mode, the message of any one producer production is only
It can be by one of consumption in several consumers;And in Publish-subscribe mode, the message of any one producer production is all
It can be by all consumer spendings.
When carrying out message transmission in the prior art, after massage pattern need to being predefined by user, disappeared according to massage pattern
It ceases and creates Queue (ad hoc mode) or Topic (Publish-subscribe mode) in queue;Then the producer, message queue and disappear
The person of expense carries out message transmission according to above-mentioned realization process.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery:
(1) massage pattern must be predefined by user just in the prior art can be carried out message transmission, and actually use
Middle user possibly can not determine massage pattern;
(2) message queue in use, can not dynamically change massage pattern, such as can not be from point pair in the prior art
Dot pattern is changed to Publish-subscribe mode.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method for message transmission and device, consumer sends to message queue
Message is stored in the storage queue according to consumption mark building by one consumption mark, message queue, passes through the storage queue
Message transmission is carried out with consumer.It solves the technical issues of must predefining massage pattern in the prior art, increases use
The flexibility that family uses.
To achieve the above object, according to an aspect of an embodiment of the present invention, a kind of method for message transmission is provided.
A kind of method for message transmission of the embodiment of the present invention, comprising: receive at least one consumption mark;Wherein, described to disappear
Taking mark includes type of message;When confirmation is existed with consumption mark corresponding storage queue, obtain and the message class
Then the message is stored in the storage queue by the identical message of type;Export the message in the storage queue.
Optionally, the consumption is identified as multiple;There is storage queue corresponding with the consumption mark in the confirmation
When, message identical with the type of message is obtained, then the message is stored in the storage queue, comprising: confirmation is each
Consumption mark is all the same and exists when identifying corresponding storage queue with the consumption, from memory acquisition with it is described
Then the message is stored in the storage queue by the identical message of type of message;Confirm that each consumption mark exists not
With and in the presence of when identifying corresponding storage queue with each consumption, obtained respectively from memory and each type of message
Then the message is stored in each storage queue by identical message respectively.
Optionally, the message when each consumption identifies all the same, in the output storage queue, comprising: will
One in the message random output to consumer corresponding with the storage queue;When each consumption mark exists not
Meanwhile the message in the output storage queue, comprising: by the message in each storage queue export respectively extremely with it is each
The corresponding consumer of the storage queue.
Optionally, after the step of message exported in the storage queue, further includes: confirmation is marked with the consumption
When sensible corresponding storage queue does not have consumer's connection, the storage queue is destroyed.
To achieve the above object, according to an aspect of an embodiment of the present invention, a kind of massage transmission device is provided.
A kind of massage transmission device of the embodiment of the present invention, comprising: receiving module, for receiving at least one consumption mark
Know;Wherein, the consumption mark includes type of message;Memory module, for confirming in the presence of corresponding with the consumption mark
When storage queue, message identical with the type of message is obtained, then the message is stored in the storage queue;Output
Module, for exporting the message in the storage queue.
Optionally, the consumption is identified as multiple;The memory module, is also used to: each consumption mark of confirmation is homogeneous
With and in the presence of when identifying corresponding storage queue with the consumption, disappear identical with the type of message is obtained from memory
Then the message is stored in the storage queue by breath;And each consumption mark of confirmation exist it is different and in the presence of with
When each consumption identifies corresponding storage queue, message identical with each type of message is obtained respectively from memory,
Then the message is stored in respectively in each storage queue.
Optionally, the output module, is also used to: the message random output is extremely corresponding with the storage queue
One in consumer;And the message in each storage queue is exported respectively to corresponding with each storage queue
Consumer.
Optionally, described device further include: module is destroyed, for confirming storage queue corresponding with the consumption mark
When there is no consumer's connection, the storage queue is destroyed.
To achieve the above object, according to an embodiment of the present invention in another aspect, providing a kind of electronic equipment.
The a kind of electronic equipment of the embodiment of the present invention, comprising: one or more processors;Storage device, for storing one
A or multiple programs, when one or more of programs are executed by one or more of processors, so that one or more
A processor realizes a kind of method for message transmission of the embodiment of the present invention.
To achieve the above object, according to an embodiment of the present invention in another aspect, providing a kind of computer-readable medium.
A kind of computer-readable medium of the embodiment of the present invention, is stored thereon with computer program, and described program is processed
A kind of method for message transmission of the embodiment of the present invention is realized when device executes.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that by being sent out from consumer to message queue
It send consumption to identify, by storage queue of the message deposit according to consumption mark building, realizes the producer, message queue and disappear
The message of the person of expense is transmitted, and without predefining massage pattern, increases the flexibility that user uses;Pass through confirmation consumption mark
Message is stored in each consumption and identifies corresponding storage queue by the similarities and differences, then exports the message of each storage queue to consumer, with
This realize message queue in use massage pattern dynamic change;Consumer, can if necessary to change consumption mark
First to disconnect the connection with message queue, establishes connection with message queue again later and send new consumption mark to message queue
Know, which increases the robustness and reliability of message queue in Practical Project practice.
Further effect possessed by above-mentioned non-usual optional way adds hereinafter in conjunction with specific embodiment
With explanation.
Detailed description of the invention
Attached drawing for a better understanding of the present invention, does not constitute an undue limitation on the present invention.Wherein:
Fig. 1 is the message transmission schematic diagram of ad hoc mode in the prior art;
Fig. 2 is the message transmission schematic diagram of Publish-subscribe mode in the prior art;
Fig. 3 is the schematic diagram of the key step of method for message transmission according to an embodiment of the present invention;
Fig. 4 is the main flow schematic diagram of method for message transmission according to an embodiment of the present invention;
Fig. 5 is the information exchange schematic diagram of method for message transmission according to an embodiment of the present invention;
Fig. 6 is the realization schematic diagram of the ad hoc mode of method for message transmission according to an embodiment of the present invention;
Fig. 7 is the realization schematic diagram of the Publish-subscribe mode of method for message transmission according to an embodiment of the present invention;
Fig. 8 is that method for message transmission according to an embodiment of the present invention by ad hoc mode is changed to Publish-subscribe mode
Information exchange schematic diagram;
Fig. 9 be method for message transmission according to an embodiment of the present invention by Publish-subscribe mode altering be ad hoc mode
Information exchange schematic diagram;
Figure 10 is the schematic diagram of the main modular of massage transmission device according to an embodiment of the present invention;
Figure 11 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Figure 12 is the structural schematic diagram for being suitable for the computer installation of the electronic equipment to realize the embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present invention
Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize
It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.Together
Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
Below to the present embodiments relate to term be explained.
The producer: the application program of creation information and sending to message queue.
Consumer: the application program of message is received.
Message: the data transmitted among a producer and a consumer.
Message queue: referring to the application program that message is saved in the transmission process of message, and a message queue can wrap
Include multiple Queue and Topic.
Queue: Queue, a temporary container for waiting the message consumed are supported a piece of news being sent to multiple disappear
One of Fei Zhezhong.
Theme: Topic, a temporary container for waiting the message consumed are supported a piece of news being sent to multiple disappear
Fei Zhe.
Fig. 1 is the message transmission schematic diagram of ad hoc mode in the prior art.As shown in Figure 1, the producer is 3
(Producer_1, Producer_2 and Producer_3), consumer are two (Consumer_1 and Consumer_2), message
A Queue has been pre-created in queue.Producer_1, Producer_2 and Producer_3 produce message 1 respectively, disappear
Breath 2 and message 3, each producer establish connection with Queue respectively, and the message respectively produced is respectively sent to Queue later;Respectively
Consumer establishes connection with Queue respectively, and Consumer_1 takes out message 2 from Queue and consumes the message later,
Consumer_2 takes out message 1 and message 3 from Queue, and consumes the two message.In the massage pattern, message 1 only by
Consumer_2 consumption, message 2 are only consumed by Consumer_1, and message 3 is only consumed by Consumer_2.
Fig. 2 is the message transmission schematic diagram of Publish-subscribe mode in the prior art.As shown in Fig. 2, the producer is 3
(Producer_1, Producer_2 and Producer_3), consumer are two (Consumer_1 and Consumer_2), message
A Topic has been pre-created in queue.Producer_1, Producer_2 and Producer_3 produce message 1 respectively, disappear
Breath 2 and message 3, each producer establish connection with Topic respectively, and the message respectively produced is respectively sent to Topic later;Respectively
Consumer establishes connection with Topic respectively, later by Topic by this 3 message be respectively sent to Consumer_1 and
Consumer_2.The massage pattern consumes message 1 by Consumer_1 and Consumer_2 simultaneously, message 2 while quilt
Consumer_1 and Consumer_2 consumption, message 3 are consumed by Consumer_1 and Consumer_2 simultaneously.
Fig. 3 is the schematic diagram of the key step of method for message transmission according to an embodiment of the present invention.As shown in figure 3, this hair
The method for message transmission of bright embodiment, mainly includes the following steps:
Step S301: at least one consumption mark is received.Consumer's connection message queue, it is rear to message queue send one
A consumption mark.Consumption mark is generated by consumer, including type of message and mark, specific structure can be message-
Collection_1#ID_1, message-collection_1#ID_2, message-collection_1#ID_3 etc.;Wherein
Message-collection_1 is that consumer wants to obtain the type of message of message, and ID_1 is mark.Message queue receives
After consumption mark, the deposit for executing step S302 and step S303 exports operation.
Step S302: it when confirmation is existed with consumption mark corresponding storage queue, obtains and the type of message
Then the message is stored in the storage queue by identical message.The producer produces message, sends a message to message team
Column.Message queue checks after receiving consumption mark and currently whether there is storage queue corresponding with the consumption mark, such as
Fruit exists, then the message identical with the type of message sent the producer is stored in the storage queue;If it does not,
Storage queue corresponding with the consumption mark is then created, later send the producer is identical with the type of message
Message is stored in the storage queue.Wherein, the storage queue, which is used to temporarily storage, will be sent to the message of consumer.
Step S303: the message in the storage queue is exported.Message queue corresponding with the consumption mark will be deposited
Message in storage queue is exported to consumer.The technical solution of the embodiment of the present invention passes through storage corresponding with consumption mark
Queue carries out message transmission, before carrying out message transmission, does not need to predefine massage pattern.
Fig. 4 is the main flow schematic diagram of method for message transmission according to an embodiment of the present invention.As shown in figure 4, of the invention
The method for message transmission of embodiment is needed to create the message for buffered message in the console of message queue by user and be received
Collect queue (message-collection), which both may be implemented the function of Queue in the prior art
Can, the function of Topic also may be implemented, which may include multiple storage queues.This method mainly include with
Lower step:
Step S401: the message of production is sent to message queue later by producer's connection message queue.Producer's production
Each message in have type of message, which corresponds to the message collection queue that message queue is created in console
Title.The type of message, for example may is that message-collection_1, message-collection_2.Embodiment
Based on TCP (Transmission Control Protocol, transmission control protocol) long company between the middle producer and message queue
It connects and is attached.In a preferred embodiment, type of message is by producer Producer_1, Producer_1
The message of message-collection_1 is sent to message queue.
Step S402: message duration is stored in memory (such as disk) by message queue.Message queue foundation disappears
The message received is stored in each massage set of memory by breath type respectively.For example, type of message is message-
Collection_1 is then put in the massage set of entitled message-collection_1 in memory;Type of message is
Message-collection_2 is then put in the massage set of entitled message-collection_2 in memory.Separately
Outside, if the quantity of message is few, the step can be skipped, is directly stored into storage queue corresponding with consumption mark;But
If message number is excessive, the consumption rate of consumer is slow, and storage queue can be filled with, when there is new message to arrive again, just
It cannot be stored again, the message can only be abandoned.Therefore, message queue can deposit all message received in practical engineering application
It is placed in disk.
Step S403: consumer's connection message queue, it is rear to message queue send consumption mark.Consumer in embodiment
It is attached between message queue based on TCP long connection.In one embodiment, consumer Consumer_1, consumption mark
Message-collection_1#ID_ is sent to message queue for message-collection_1#ID_1, Consumer_1
1。
Step S404: it after message queue receives consumption mark, judges whether there is corresponding with the consumption mark
Storage queue, if it does not exist, then executing step S405;If it is present executing step S406.In a preferred embodiment
In, the storage queue of entitled message-collection_1#ID_1 is judged whether there is, if it does not exist, then creation name
The referred to as storage queue of message-collection_1#ID_1.
Step S405: message queue creates storage queue corresponding with the consumption mark, executes step S406.
Step S406: message queue reads message according to the type of message in consumption mark from memory, later disappearing
Breath is put into the storage queue.In a preferred embodiment, type of message is message- in the consumption mark received
The massage set of collection_1, message queue entitled message-collection_1 from memory read message,
It is placed the message in the storage queue of entitled message-collection_1#ID_1 later.If the consumption mark received
Middle type of message message-collection_2, then from memory entitled message-collection_2 message set
It closes and reads message, placed the message in the storage queue of entitled message-collection_2#ID_1 later.
Step S407: the message in the storage queue is sent to consumer by message queue.In a preferred embodiment
In, the message in the storage queue of entitled message-collection_1#ID_1 is sent to Consumer_ by message queue
1.In above-mentioned steps, step S401 and step S403 are preparation, and the realization that the present invention does not limit the two steps is suitable
Sequence.But step S401 needs to execute step S402 after being finished;After step S403 is finished, step S404 need to be executed;Step
After rapid S402 and step S404 is performed both by, step S405- step S407 is executed.
Fig. 5 is the information exchange schematic diagram of method for message transmission according to an embodiment of the present invention.As shown in figure 5,
Producer_1 establishes connection by P1 and message queue, sends a message to message queue by P2;Consumer_1 passes through
C1 and message queue establish connection, and send message-collection_1#ID_1 to message queue;Message queue passes through
P3 stores the message from Producer_1 to disk, creates entitled message-collection_1#ID_1 by C2
Storage queue, by C3 from disk read message, the message read is put by entitled message- by C4
The storage queue of collection_1#ID_1 sends a message to Consumer_1 by C5.
Above-described embodiment is illustrated message transmitting procedure by taking a consumer as an example.It can be seen from the above, entitled
Each message in the storage queue of message-collection_1#ID_1 only can be sent to consumption and be identified as
One in all consumers of message-collection_1#ID_1, it is now in ad hoc mode.Assuming that next another
One consumer (Consumer_2) connection message queue, then to message queue send consumption mark (consumption identify disappear
It is identical as the type of message that Consumer_1 is sent to message queue to cease type), the present invention is implemented by taking two consumers as an example
The method for message transmission of example is described further, and is specifically shown in one He of embodiment
Embodiment two.Consumption mark is respectively message-collection_1#ID_1 in embodiment one and embodiment two
And message-collection_1#ID_2, since the treatment process of message queue and Consumer_1 and step S403 extremely walk
Rapid S407 is identical, therefore message queue and the treatment process of Consumer_2 are only described in the two embodiments.
Fig. 6 is the realization schematic diagram of the ad hoc mode of method for message transmission according to an embodiment of the present invention.Such as Fig. 6 institute
Show, it is assumed that following Consumer_2 connection message queue simultaneously has sent a consumption mark identical with Consumer_1
(message-collection_1#ID_1), the treatment process of message queue and Consumer_2 are as follows at this time:
Embodiment one:
(1) Consumer_2 connection message queue, it is rear to message queue send message-collection_1#ID_
1;
(2) after message queue receives message-collection_1#ID_1, compared two consumption mark phases of confirmation
The storage queue of same and entitled message-collection_1#ID_1 still exists;
(3) message queue reads all message that type of message is message-collection_1 from memory, it
Message is put into afterwards in the storage queue of entitled message-collection_1#ID_1.Assuming that entitled message-
It is put into three message in the storage queue of collection_1#ID_1, is message 1,2 and 3 respectively.
(4) message queue sends out the message in the storage queue of entitled message-collection_1#ID_1 at random
Send a consumer into consumer corresponding with the storage queue.Wherein, corresponding with the storage queue to disappear
Expense person refers to that consumption identifies consumer identical with the title of storage queue.For example, message 1 and message 2 are sent to
Message 3 is sent to Consumer_2 by Consumer_1.
It can be seen from the above, each message can be only sent in all consumers between the consumer of identical consumption mark
One of them, this process is exactly point-to-point massage pattern.
Fig. 7 is the realization schematic diagram of the Publish-subscribe mode of method for message transmission according to an embodiment of the present invention.Such as Fig. 7
It is shown, it is assumed that following Consumer_2 connection message queue simultaneously has sent a consumption mark different from Consumer_1
(message-collection_1#ID_2), the treatment process of message queue and Consumer_2 are as follows at this time:
Embodiment two:
(1) Consumer_2 connection message queue, it is rear to message queue send message-collection_1#ID_
2;
(2) it after message queue receives message-collection_1#ID_2, judges whether there is entitled
The storage queue of message-collection_1#ID_2 executes (3) if it does not exist, then creating the storage queue;Such as
Fruit exists, then directly executes (3);
(3) message queue reads all message that type of message is message-collection_1 from memory, it
Message is put into afterwards in the storage queue of entitled message-collection_1#ID_2;
(4) message in the storage queue of entitled message-collection_1#ID_2 is sent to by message queue
Consumer_2。
It can be seen from the above, each consumption sent for consumer identifies, message queue can all create one with disappear
Take the corresponding storage queue of mark;Each type of message of producer's production is identical with the type of message of consumption mark to disappear
Breath can be respectively put into the storage queue of the entitled type of message of prefix.By aforesaid operations it is ensured that for each
Belong to the message of some type of message, is Publish-subscribe mode between the consumer of difference consumption mark.For example, due to consumption
Mark is different, and a piece of news can be added to the storage queue and name of entitled message-collection_1#ID_1 respectively
Referred to as in the storage queue of message-collection_1#ID_2, then entitled message-collection_1#ID_1
Storage queue in message be sent to Consumer_1, the storage team of entitled message-collection_1#ID_2
Message in column is sent to Consumer_2, this process is exactly the massage pattern of Publish-subscribe.
In another preferred embodiment of the invention, it is assumed that there are 4 consumers (consumer 1- consumer 4) to be all connected with
Message queue, consumer 1 and consumer 2 to the consumption that message queue is sent are identified as message-collection_1#ID_
1, consumer 3 and consumer 4 are identified as message-collection_1#ID_2 to the consumption that message queue is sent.Work as production
After person produces a piece of news and sends the message to message queue, which can be respectively stored in entitled message-
The storage queue of collection_1#ID_1 and message-collection_1#ID_2.Message queue will be entitled
Message in the storage queue of message-collection_1#ID_1 is sent in consumer 1 and consumer 2 wherein at random
One is consumed;Message queue is random by the message in the storage queue of entitled message-collection_1#ID_2
One of them being sent in consumer 3 and consumer 4 is consumed.
Message queue is in use, if it is desired to ad hoc mode be changed to Publish-subscribe mode, allow consumer
It uses different consumption marks (allowing type of message in the consumption mark of each consumer identical, mark is different).When message team
After the consumption mark of column discovery consumer is different, it is changed to Publish-subscribe mode automatically.It is illustrated how below with embodiment three
The ad hoc mode of embodiment one is changed to Publish-subscribe mode.Due to the connection relationship of message queue and Consumer_1
It does not change, so the treatment process of message queue and Consumer_1 are constant, therefore only describes message team in embodiment three
The treatment process of column and Consumer_2.
Embodiment three: assuming that next Consumer_2 close with the connection of message queue, later again with message queue
It establishes connection and sends the consumption mark (message-collection_1#ID_2) different from Consumer_1, at this time message
The treatment process of queue and Consumer_2 are as follows:
(1) Consumer_2 closes the connection with message queue.By the closing application program of Consumer_2,
Consumer_2 will disconnect the connection with message queue automatically.
(2) message queue discovery Consumer_2 close connection after, check there is currently all storage queues,
It was found that there is still consumers to use for the storage queue of entitled message-collection_1#ID_1, not to the storage team
Column carry out any processing.
(3) Consumer_2 reconnects message queue, rear sent to message queue different from Consumer_1 disappear
Take mark, for example the consumption sent is identified as message-collection_1#ID_2.Consumer_2 is not closed and message team
It is also possible directly to send message-collection_1#ID_2 to message queue for the connection of column, but Practical Project is real
In trampling, the problem of having robustness, reliability and complexity is handled in this way.
(4) it after message queue receives message-collection_1#ID_2, judges whether there is entitled
The storage queue of message-collection_1#ID_2 executes (5) if it does not exist, then creating the storage queue;Such as
Fruit exists, then directly executes (5).
(5) message queue reads all message that type of message is message-collection_1 from memory, it
Message is put into afterwards in the storage queue of entitled message-collection_1#ID_2.
(6) message in the storage queue of entitled message-collection_1#ID_2 is sent to by message queue
Consumer_2。
Fig. 8 is that method for message transmission according to an embodiment of the present invention by ad hoc mode is changed to Publish-subscribe mode
Information exchange schematic diagram.As shown in figure 8, Consumer_1 passes through C1_1 first and builds with message queue in ad hoc mode
Vertical connection, and message-collection_1#ID_1 is sent to message queue;Message queue creates name by C2-1 later
The referred to as storage queue of message-collection_1#ID_1, reading type of message from disk secondly by C1_3 is
Then the message read by C1_3 is put into entitled by all message of message-collection_1 by C1-4
The storage queue of message-collection_1#ID_1 sends a message to Consumer_1 finally by C1_5.
When being changed to Publish-subscribe mode by dot pattern, Consumer_2 first is closed and message queue by C2_0
Connection;Consumer_2 establishes connection by C2_1 with message queue again later, and sends message-collection_
1#ID_2 is to message queue;Message queue creates depositing for entitled message-collection_1#ID_2 by C2-2 later
Store up queue;Secondly it is that all of message-collection_1 disappear that message queue, which reads type of message from disk by C2_3,
The message read by C2_3, is then put into the storage of entitled message-collection_1#ID_2 by breath by C2-4
Queue;Stop press queue sends a message to Consumer_2 by C2_5.
Message queue is in use, if it is desired to Publish-subscribe mode altering be ad hoc mode, allow all disappear
The person of expense is identified using identical consumption.After the consumption mark of message queue discovery consumer is identical, it is changed to automatically a little
To dot pattern.Illustrate how that by the Publish-subscribe mode altering of embodiment two be ad hoc mode with example IV below.Due to
The connection relationship of message queue and Consumer_1 do not change, so the treatment process of message queue and Consumer_1 are not
Become, therefore only describes message queue and the treatment process of Consumer_2 in example IV.
Example IV: assuming that next Consumer_2 close with the connection of message queue, later again with message queue
It establishes connection and sends consumption mark (message-collection_1#ID_1) identical with Consumer_1, at this time message
The treatment process of queue and Consumer_2 are as follows:
(1) Consumer_2 closes the connection with message queue.
(2) message queue discovery Consumer_2 close connection after, check there is currently all storage queues,
It was found that the storage queue of entitled message-collection_1#ID_2 does not have any consumer using, then title is destroyed
For the storage queue of message-collection_1#ID_2.In embodiment by by the title of storage queue with currently connect
The consumption mark of each consumer compare, if the consumption of the title of the storage queue and all consumers identify not phase
Together, then the storage queue is not used by any consumer.
(3) Consumer_2 reconnect message queue, it is rear to message queue send message-collection_1#
ID_1。
(4) after message queue receives message-collection_1#ID_1, compared two consumption mark phases of confirmation
The storage queue of same and entitled message-collection_1#ID_1 still exists.
(5) message queue reads all message that type of message is message-collection_1 from memory, it
Message is put into afterwards in the storage queue of entitled message-collection_1#ID_1.Assuming that entitled message-
It is put into three message in the storage queue of collection_1#ID_1, is message 1,2 and 3 respectively.
(6) message queue sends out the message in the storage queue of entitled message-collection_1#ID_1 at random
Send a consumer into each consumer.For example, message 1 and message 2 are sent to Consumer_1, message 3 is sent to
Consumer_2。
Fig. 9 be method for message transmission according to an embodiment of the present invention by Publish-subscribe mode altering be ad hoc mode
Information exchange schematic diagram.As shown in figure 9, Consumer_2 first is logical when being changed to Publish-subscribe mode by ad hoc mode
Cross the connection of D1 closing and message queue;Message queue finds entitled message-collection_1#ID_ by D2 later
2 storage queue does not have consumer's use, destroys the storage queue;Consumer_2 is built with message queue again by D3 later
Vertical connection, and message-collection_1#ID_1 is sent to message queue;Message queue is read by D4 from disk later
Taking type of message is all message of message-collection_1, is then put into the message of reading by D5 entitled
The storage queue of message-collection_1#ID_1;Message 1 is sent to Consumer_ by D6 by stop press queue
1, message 1 is sent to by Consumer_1 by D7, message 3 is sent to by Consumer_2 by D8.
Method for message transmission through the embodiment of the present invention can be seen that be consumed by sending from consumer to message queue
Mark realizes the producer, message queue and consumer in storage queue of the message deposit according to consumption mark building
Message transmission increases the flexibility that user uses without predefining massage pattern;It will by the similarities and differences of confirmation consumption mark
Message is stored in each consumption and identifies corresponding storage queue, then exports the message of each storage queue to consumer, is realized with this
The dynamic change of message queue massage pattern in use;Consumer can first break if necessary to change consumption mark
The connection with message queue is opened, establish connection with message queue again later and sends new consumption mark to message queue, it should
Operate the robustness and reliability that message queue is increased in Practical Project practice.
Figure 10 is the schematic diagram of the main modular of massage transmission device according to an embodiment of the present invention.As shown in Figure 10, originally
The massage transmission device 100 of inventive embodiments, specifically includes that
Receiving module 101, for receiving at least one consumption mark.Consumer's connection message queue, backward message team
Column send a consumption mark.Consumption mark is generated by consumer, and specific structure can be message-collection_1#
ID_1, message-collection_1#ID_2, message-collection_1#ID_3 etc..
Memory module 102, when existing for confirming with the consumption corresponding storage queue of mark, acquisition disappears with described
The identical message of type is ceased, then the message is stored in the storage queue.The producer produces message, sends a message to
Message queue.Message queue checks after receiving consumption mark and currently whether there is storage corresponding with the consumption mark
Queue, if it is present the message identical with the type of message that the producer is sent is stored in the storage queue;If
It is not present, then creates corresponding with consumption mark storage queue, it is that the producer is sent later with the message class
The identical message of type is stored in the storage queue.
Output module 103, for exporting the message in the storage queue.Phase is identified with the consumption in message queue
Corresponding storage queue exports message to consumer.The technical solution of the embodiment of the present invention, by corresponding with consumption mark
Storage queue carry out message transmission, before carrying out message transmission, do not need predetermined massage pattern.
In addition, the massage transmission device 100 of the embodiment of the present invention can also include: to destroy module (not shown), it should
When module is for confirming that storage queue corresponding with the consumption mark does not have consumer's connection, the storage queue is destroyed.
From the above, it can be seen that message is stored in foundation by sending consumption mark from consumer to message queue
In the storage queue of consumption mark building, the message transmission of the producer, message queue and consumer are realized, is not necessarily in advance really
Determine massage pattern, increases the flexibility that user uses;Message each consumption is stored in by the similarities and differences of confirmation consumption mark to identify
Then corresponding storage queue exports the message of each storage queue to consumer, realize message queue with this and using
The dynamic change of massage pattern in journey;Consumer can first disconnect the connection with message queue if necessary to change consumption mark,
It establishes connection with message queue again later and sends new consumption mark to message queue, the operation is in Practical Project practice
Increase the robustness and reliability of message queue.
Figure 11 is shown can be using the method for message transmission of the embodiment of the present invention or the exemplary system of massage transmission device
System framework 110.
As shown in figure 11, system architecture 110 may include terminal device 111,112,113, network 114 and server 115.
Network 114 between terminal device 111,112,113 and server 115 to provide the medium of communication link.Network 114 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 111,112,113 and be interacted by network 114 with server 115, to receive or send out
Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 111,112,113
(merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 111,112,113 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 115 can be to provide the server of various services, such as utilize terminal device 111,112,113 to user
Generated click event provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to receiving
The data such as click data, content of text analyze etc. processing, and (such as target push information, product are believed by processing result
Breath -- merely illustrative) feed back to terminal device.
It should be noted that method for message transmission provided by the embodiment of the present application is generally executed by server 115, accordingly
Ground, massage transmission device are generally positioned in server 115.
It should be understood that the number of terminal device, network and server in Figure 11 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
According to an embodiment of the invention, the present invention also provides a kind of electronic equipment and a kind of computer-readable medium.
Electronic equipment of the invention includes: one or more processors;Storage device, for storing one or more journeys
Sequence, when one or more of programs are executed by one or more of processors, so that one or more of processors are real
A kind of method for message transmission of the existing embodiment of the present invention.
Computer-readable medium of the invention is stored thereon with computer program, real when described program is executed by processor
A kind of method for message transmission of the existing embodiment of the present invention.
Below with reference to Figure 12, it illustrates the computer systems being suitable for realize the electronic equipment of the embodiment of the present invention
120 structural schematic diagram.Electronic equipment shown in Figure 12 is only an example, function to the embodiment of the present invention and should not be made
With range band come any restrictions.
As shown in figure 12, computer system 120 includes central processing unit (CPU) 121, can be read-only according to being stored in
Program in memory (ROM) 122 or be loaded into the program in random access storage device (RAM) 123 from storage section 128 and
Execute various movements appropriate and processing.In RAM 123, also it is stored with computer system 120 and operates required various programs
And data.CPU 121, ROM 122 and RAM 123 are connected with each other by bus 124.Input/output (I/O) interface 125
It is connected to bus 124.
I/O interface 125 is connected to lower component: the importation 126 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 127 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 128 including hard disk etc.;
And the communications portion 129 of the network interface card including LAN card, modem etc..Communications portion 129 via such as because
The network of spy's net executes communication process.Driver 130 is also connected to I/O interface 125 as needed.Detachable media 131, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 130, in order to read from thereon
Computer program be mounted into storage section 128 as needed.
Particularly, disclosed embodiment, the process of key step figure description above may be implemented as counting according to the present invention
Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product comprising be carried on computer
Computer program on readable medium, the computer program include the program generation for executing method shown in key step figure
Code.In such embodiments, which can be downloaded and installed from network by communications portion 129, and/or
It is mounted from detachable media 131.When the computer program is executed by central processing unit (CPU) 121, execute of the invention
The above-mentioned function of being limited in system.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part is realized.Described module also can be set in the processor, for example, can be described as: a kind of processor packet
Include receiving module, memory module and output module.Wherein, the title of these modules is not constituted under certain conditions to the module
The restriction of itself, for example, receiving module is also described as " receiving the module of at least one consumption mark ".
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can be
Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes
Obtaining the equipment includes: to receive at least one consumption mark;Wherein, the consumption mark includes type of message;Confirmation exists and institute
When stating the consumption corresponding storage queue of mark, message identical with the type of message is obtained, is then stored in the message
In the storage queue;Export the message in the storage queue.
From the above, it can be seen that message is stored in foundation by sending consumption mark from consumer to message queue
In the storage queue of consumption mark building, the message transmission of the producer, message queue and consumer are realized, is not necessarily in advance really
Determine massage pattern, increases the flexibility that user uses;Message each consumption is stored in by the similarities and differences of confirmation consumption mark to identify
Then corresponding storage queue exports the message of each storage queue to consumer, realize message queue with this and using
The dynamic change of massage pattern in journey;Consumer can first disconnect the connection with message queue if necessary to change consumption mark,
It establishes connection with message queue again later and sends new consumption mark to message queue, the operation is in Practical Project practice
Increase the robustness and reliability of message queue.
Method provided by the embodiment of the present invention can be performed in the said goods, has the corresponding functional module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present invention.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be bright
It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is any
Made modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present invention
Within.
Claims (10)
1. a kind of method for message transmission characterized by comprising
Receive at least one consumption mark;Wherein, the consumption mark includes type of message;
When confirmation is existed with consumption mark corresponding storage queue, message identical with the type of message is obtained, so
The message is stored in the storage queue afterwards;
Export the message in the storage queue.
2. the method according to claim 1, wherein it is described consumption be identified as it is multiple;
When the confirmation is existed with consumption mark corresponding storage queue, disappears identical with the type of message is obtained
Then the message is stored in the storage queue by breath, comprising:
When confirming that each consumption mark is all the same and presence identifies corresponding storage queue with the consumption, from memory
Message identical with the type of message is obtained, then the message is stored in the storage queue;
It is different and when existing with each corresponding storage queue of consumption mark to confirm that each consumption mark exists, from depositing
Reservoir obtains message identical with each type of message respectively, and the message is then stored in each storage queue respectively
In.
3. according to the method described in claim 2, it is characterized in that, when each consumption mark is all the same, the output institute
State the message in storage queue, comprising: will be in the message random output to consumer corresponding with the storage queue
One;
When each consumption mark there are it is different when, message in the output storage queue, comprising: by each storage
Message in queue is exported respectively to consumer corresponding with each storage queue.
4. method according to claim 1 or 3, which is characterized in that the step of the message in the output storage queue
After rapid, further includes: when confirmation storage queue corresponding with the consumption mark does not have consumer's connection, destroy the storage
Queue.
5. a kind of massage transmission device characterized by comprising
Receiving module, for receiving at least one consumption mark;Wherein, the consumption mark includes type of message;
Memory module obtains and the type of message when existing for confirming with the consumption corresponding storage queue of mark
Then the message is stored in the storage queue by identical message;
Output module, for exporting the message in the storage queue.
6. device according to claim 5, which is characterized in that the consumption is identified as multiple;The memory module, is also used
In:
When confirming that each consumption mark is all the same and presence identifies corresponding storage queue with the consumption, from memory
Message identical with the type of message is obtained, then the message is stored in the storage queue;And
It is different and when existing with each corresponding storage queue of consumption mark to confirm that each consumption mark exists, from depositing
Reservoir obtains message identical with each type of message respectively, and the message is then stored in each storage queue respectively
In.
7. device according to claim 6, which is characterized in that the output module is also used to:
By one in the message random output to consumer corresponding with the storage queue;And
Message in each storage queue is exported respectively to consumer corresponding with each storage queue.
8. the device according to claim 5 or 7, which is characterized in that described device further include: module is destroyed, for confirming
When storage queue corresponding with the consumption mark does not have consumer's connection, the storage queue is destroyed.
9. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now method as described in any in claim 1-4.
10. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor
The method as described in any in claim 1-4 is realized when row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711472720.8A CN109995801B (en) | 2017-12-29 | 2017-12-29 | Message transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711472720.8A CN109995801B (en) | 2017-12-29 | 2017-12-29 | Message transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109995801A true CN109995801A (en) | 2019-07-09 |
CN109995801B CN109995801B (en) | 2022-11-08 |
Family
ID=67108946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711472720.8A Active CN109995801B (en) | 2017-12-29 | 2017-12-29 | Message transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109995801B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110365802A (en) * | 2019-08-26 | 2019-10-22 | 北京奇艺世纪科技有限公司 | A kind of method for message transmission, message forwarding device and storage medium |
CN110505162A (en) * | 2019-08-08 | 2019-11-26 | 腾讯科技(深圳)有限公司 | Method for message transmission, device and electronic equipment |
CN110674004A (en) * | 2019-08-28 | 2020-01-10 | 北京奇艺世纪科技有限公司 | Queue message recording method, system, electronic equipment and storage medium |
CN111401819A (en) * | 2020-04-08 | 2020-07-10 | 上海东普信息科技有限公司 | Intersystem data pushing method and system |
CN112711485A (en) * | 2019-10-25 | 2021-04-27 | 北京沃东天骏信息技术有限公司 | Message processing method and device |
CN113296977A (en) * | 2021-02-24 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Message processing method and device |
CN113961379A (en) * | 2021-12-22 | 2022-01-21 | 零犀(北京)科技有限公司 | Message processing method and device based on man-machine conversation |
CN115379012A (en) * | 2022-10-25 | 2022-11-22 | 航天云网数据研究院(广东)有限公司 | Industrial interconnection platform message queue deployment method and device based on identification analysis |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064619A (en) * | 2007-05-25 | 2007-10-31 | 上海众恒信息产业有限公司 | Resource management platform having topics distribution function and its method |
CN101466109A (en) * | 2009-01-14 | 2009-06-24 | 北京邮电大学 | Communication system and method for WiMAX network management |
CN101510857A (en) * | 2009-03-27 | 2009-08-19 | 腾讯科技(深圳)有限公司 | Method and apparatus for processing IM message |
CN102215177A (en) * | 2011-05-31 | 2011-10-12 | 广州华多网络科技有限公司 | Method and device for processing system message of instant communication software |
CN103051521A (en) * | 2013-01-09 | 2013-04-17 | 浪潮电子信息产业股份有限公司 | Retransmitting method of message in cloud environment |
CN106021315A (en) * | 2016-05-05 | 2016-10-12 | 智者四海(北京)技术有限公司 | Log management method and system for application program |
-
2017
- 2017-12-29 CN CN201711472720.8A patent/CN109995801B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064619A (en) * | 2007-05-25 | 2007-10-31 | 上海众恒信息产业有限公司 | Resource management platform having topics distribution function and its method |
CN101466109A (en) * | 2009-01-14 | 2009-06-24 | 北京邮电大学 | Communication system and method for WiMAX network management |
CN101510857A (en) * | 2009-03-27 | 2009-08-19 | 腾讯科技(深圳)有限公司 | Method and apparatus for processing IM message |
CN102215177A (en) * | 2011-05-31 | 2011-10-12 | 广州华多网络科技有限公司 | Method and device for processing system message of instant communication software |
CN103051521A (en) * | 2013-01-09 | 2013-04-17 | 浪潮电子信息产业股份有限公司 | Retransmitting method of message in cloud environment |
CN106021315A (en) * | 2016-05-05 | 2016-10-12 | 智者四海(北京)技术有限公司 | Log management method and system for application program |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110505162A (en) * | 2019-08-08 | 2019-11-26 | 腾讯科技(深圳)有限公司 | Method for message transmission, device and electronic equipment |
CN110505162B (en) * | 2019-08-08 | 2022-07-26 | 腾讯科技(深圳)有限公司 | Message transmission method and device and electronic equipment |
CN110365802A (en) * | 2019-08-26 | 2019-10-22 | 北京奇艺世纪科技有限公司 | A kind of method for message transmission, message forwarding device and storage medium |
CN110365802B (en) * | 2019-08-26 | 2022-11-15 | 北京奇艺世纪科技有限公司 | Message transmission method, message forwarding equipment and storage medium |
CN110674004A (en) * | 2019-08-28 | 2020-01-10 | 北京奇艺世纪科技有限公司 | Queue message recording method, system, electronic equipment and storage medium |
CN112711485A (en) * | 2019-10-25 | 2021-04-27 | 北京沃东天骏信息技术有限公司 | Message processing method and device |
CN111401819A (en) * | 2020-04-08 | 2020-07-10 | 上海东普信息科技有限公司 | Intersystem data pushing method and system |
CN113296977A (en) * | 2021-02-24 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Message processing method and device |
CN113296977B (en) * | 2021-02-24 | 2023-04-07 | 阿里巴巴集团控股有限公司 | Message processing method and device |
CN113961379A (en) * | 2021-12-22 | 2022-01-21 | 零犀(北京)科技有限公司 | Message processing method and device based on man-machine conversation |
CN113961379B (en) * | 2021-12-22 | 2022-04-12 | 零犀(北京)科技有限公司 | Message processing method and device based on man-machine conversation |
CN115379012A (en) * | 2022-10-25 | 2022-11-22 | 航天云网数据研究院(广东)有限公司 | Industrial interconnection platform message queue deployment method and device based on identification analysis |
Also Published As
Publication number | Publication date |
---|---|
CN109995801B (en) | 2022-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109995801A (en) | A kind of method for message transmission and device | |
CN109257320A (en) | Message storage method and device | |
CN110245011A (en) | A kind of method for scheduling task and device | |
CN110019125A (en) | The method and apparatus of data base administration | |
CN108897854A (en) | A kind of monitoring method and device of overtime task | |
CN110351323A (en) | A kind of parameter management method and device of application system | |
CN109981322A (en) | The method and apparatus of cloud resource management based on label | |
CN110427304A (en) | O&M method, apparatus, electronic equipment and medium for banking system | |
CN109032796A (en) | A kind of data processing method and device | |
CN110019539A (en) | A kind of method and apparatus that the data of data warehouse are synchronous | |
CN108965098A (en) | Based on information push method, device, medium and the electronic equipment being broadcast live online | |
CN110473036A (en) | A kind of method and apparatus generating order number | |
CN110471848A (en) | A kind of method and apparatus of dynamic returned packet | |
CN110515741A (en) | A kind of degradation processing method and device based on local task queue | |
CN110505074A (en) | A kind of application module integrated approach and device | |
CN110070394A (en) | Data processing method, system, medium and calculating equipment | |
CN108805379A (en) | Support that multi-mode is honoured an agreement the system and method for flow | |
CN109976919A (en) | A kind of transmission method and device of message request | |
CN108875355A (en) | A kind of control method and device of access authority | |
CN108989157A (en) | Method, apparatus for smart machine control | |
CN110245014A (en) | Data processing method and device | |
CN110324384A (en) | The method and apparatus of data-pushing | |
CN109981546A (en) | The method and apparatus for obtaining the far call relationship between application module | |
CN109413212A (en) | Method and apparatus for handling request | |
CN109788010A (en) | A kind of method and apparatus of data localization access |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |